{ "type": "File", "start": 0, "end": 2307, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 59, "column": 1 } }, "program": { "type": "Program", "start": 0, "end": 2307, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 59, "column": 1 } }, "sourceType": "module", "body": [ { "type": "ImportDeclaration", "start": 0, "end": 66, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 66 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 9, "end": 29, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 29 } }, "imported": { "type": "Identifier", "start": 9, "end": 29, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 29 }, "identifierName": "GameSystemWithFilter" }, "name": "GameSystemWithFilter" }, "local": { "type": "Identifier", "start": 9, "end": 29, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 29 }, "identifierName": "GameSystemWithFilter" }, "name": "GameSystemWithFilter" } } ], "source": { "type": "StringLiteral", "start": 37, "end": 65, "loc": { "start": { "line": 1, "column": 37 }, "end": { "line": 1, "column": 65 } }, "extra": { "rawValue": "../game_system_with_filter", "raw": "\"../game_system_with_filter\"" }, "value": "../game_system_with_filter" } }, { "type": "ImportDeclaration", "start": 68, "end": 132, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 64 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 77, "end": 96, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 28 } }, "imported": { "type": "Identifier", "start": 77, "end": 96, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 28 }, "identifierName": "BeltReaderComponent" }, "name": "BeltReaderComponent" }, "local": { "type": "Identifier", "start": 77, "end": 96, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 28 }, "identifierName": "BeltReaderComponent" }, "name": "BeltReaderComponent" } } ], "source": { "type": "StringLiteral", "start": 104, "end": 131, "loc": { "start": { "line": 2, "column": 36 }, "end": { "line": 2, "column": 63 } }, "extra": { "rawValue": "../components/belt_reader", "raw": "\"../components/belt_reader\"" }, "value": "../components/belt_reader" } }, { "type": "ImportDeclaration", "start": 134, "end": 183, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 49 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 143, "end": 155, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 21 } }, "imported": { "type": "Identifier", "start": 143, "end": 155, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 21 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "local": { "type": "Identifier", "start": 143, "end": 155, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 21 }, "identifierName": "globalConfig" }, "name": "globalConfig" } } ], "source": { "type": "StringLiteral", "start": 163, "end": 182, "loc": { "start": { "line": 3, "column": 29 }, "end": { "line": 3, "column": 48 } }, "extra": { "rawValue": "../../core/config", "raw": "\"../../core/config\"" }, "value": "../../core/config" } }, { "type": "ImportDeclaration", "start": 185, "end": 267, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 82 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 194, "end": 213, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 28 } }, "imported": { "type": "Identifier", "start": 194, "end": 213, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 28 }, "identifierName": "BOOL_TRUE_SINGLETON" }, "name": "BOOL_TRUE_SINGLETON" }, "local": { "type": "Identifier", "start": 194, "end": 213, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 28 }, "identifierName": "BOOL_TRUE_SINGLETON" }, "name": "BOOL_TRUE_SINGLETON" } }, { "type": "ImportSpecifier", "start": 215, "end": 235, "loc": { "start": { "line": 4, "column": 30 }, "end": { "line": 4, "column": 50 } }, "imported": { "type": "Identifier", "start": 215, "end": 235, "loc": { "start": { "line": 4, "column": 30 }, "end": { "line": 4, "column": 50 }, "identifierName": "BOOL_FALSE_SINGLETON" }, "name": "BOOL_FALSE_SINGLETON" }, "local": { "type": "Identifier", "start": 215, "end": 235, "loc": { "start": { "line": 4, "column": 30 }, "end": { "line": 4, "column": 50 }, "identifierName": "BOOL_FALSE_SINGLETON" }, "name": "BOOL_FALSE_SINGLETON" } } ], "source": { "type": "StringLiteral", "start": 243, "end": 266, "loc": { "start": { "line": 4, "column": 58 }, "end": { "line": 4, "column": 81 } }, "extra": { "rawValue": "../items/boolean_item", "raw": "\"../items/boolean_item\"" }, "value": "../items/boolean_item" } }, { "type": "ExportNamedDeclaration", "start": 271, "end": 2307, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 59, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "ClassDeclaration", "start": 278, "end": 2307, "loc": { "start": { "line": 6, "column": 7 }, "end": { "line": 59, "column": 1 } }, "id": { "type": "Identifier", "start": 284, "end": 300, "loc": { "start": { "line": 6, "column": 13 }, "end": { "line": 6, "column": 29 }, "identifierName": "BeltReaderSystem" }, "name": "BeltReaderSystem" }, "superClass": { "type": "Identifier", "start": 309, "end": 329, "loc": { "start": { "line": 6, "column": 38 }, "end": { "line": 6, "column": 58 }, "identifierName": "GameSystemWithFilter" }, "name": "GameSystemWithFilter" }, "body": { "type": "ClassBody", "start": 330, "end": 2307, "loc": { "start": { "line": 6, "column": 59 }, "end": { "line": 59, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 337, "end": 408, "loc": { "start": { "line": 7, "column": 4 }, "end": { "line": 9, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 337, "end": 348, "loc": { "start": { "line": 7, "column": 4 }, "end": { "line": 7, "column": 15 }, "identifierName": "constructor" }, "name": "constructor" }, "kind": "constructor", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 349, "end": 353, "loc": { "start": { "line": 7, "column": 16 }, "end": { "line": 7, "column": 20 }, "identifierName": "root" }, "name": "root" } ], "body": { "type": "BlockStatement", "start": 355, "end": 408, "loc": { "start": { "line": 7, "column": 22 }, "end": { "line": 9, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 366, "end": 401, "loc": { "start": { "line": 8, "column": 8 }, "end": { "line": 8, "column": 43 } }, "expression": { "type": "CallExpression", "start": 366, "end": 400, "loc": { "start": { "line": 8, "column": 8 }, "end": { "line": 8, "column": 42 } }, "callee": { "type": "Super", "start": 366, "end": 371, "loc": { "start": { "line": 8, "column": 8 }, "end": { "line": 8, "column": 13 } } }, "arguments": [ { "type": "Identifier", "start": 372, "end": 376, "loc": { "start": { "line": 8, "column": 14 }, "end": { "line": 8, "column": 18 }, "identifierName": "root" }, "name": "root" }, { "type": "ArrayExpression", "start": 378, "end": 399, "loc": { "start": { "line": 8, "column": 20 }, "end": { "line": 8, "column": 41 } }, "elements": [ { "type": "Identifier", "start": 379, "end": 398, "loc": { "start": { "line": 8, "column": 21 }, "end": { "line": 8, "column": 40 }, "identifierName": "BeltReaderComponent" }, "name": "BeltReaderComponent" } ] } ] } } ], "directives": [] } }, { "type": "ClassMethod", "start": 416, "end": 469, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 13, "column": 5 } }, "static": true, "computed": false, "key": { "type": "Identifier", "start": 423, "end": 428, "loc": { "start": { "line": 11, "column": 11 }, "end": { "line": 11, "column": 16 }, "identifierName": "getId" }, "name": "getId" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 431, "end": 469, "loc": { "start": { "line": 11, "column": 19 }, "end": { "line": 13, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 442, "end": 462, "loc": { "start": { "line": 12, "column": 8 }, "end": { "line": 12, "column": 28 } }, "argument": { "type": "StringLiteral", "start": 449, "end": 461, "loc": { "start": { "line": 12, "column": 15 }, "end": { "line": 12, "column": 27 } }, "extra": { "rawValue": "beltReader", "raw": "\"beltReader\"" }, "value": "beltReader" } } ], "directives": [] } }, { "type": "ClassMethod", "start": 477, "end": 2304, "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 58, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 477, "end": 483, "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 15, "column": 10 }, "identifierName": "update" }, "name": "update" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 486, "end": 2304, "loc": { "start": { "line": 15, "column": 13 }, "end": { "line": 58, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 497, "end": 530, "loc": { "start": { "line": 16, "column": 8 }, "end": { "line": 16, "column": 41 } }, "declarations": [ { "type": "VariableDeclarator", "start": 503, "end": 529, "loc": { "start": { "line": 16, "column": 14 }, "end": { "line": 16, "column": 40 } }, "id": { "type": "Identifier", "start": 503, "end": 506, "loc": { "start": { "line": 16, "column": 14 }, "end": { "line": 16, "column": 17 }, "identifierName": "now" }, "name": "now" }, "init": { "type": "CallExpression", "start": 509, "end": 529, "loc": { "start": { "line": 16, "column": 20 }, "end": { "line": 16, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 509, "end": 527, "loc": { "start": { "line": 16, "column": 20 }, "end": { "line": 16, "column": 38 } }, "object": { "type": "MemberExpression", "start": 509, "end": 523, "loc": { "start": { "line": 16, "column": 20 }, "end": { "line": 16, "column": 34 } }, "object": { "type": "MemberExpression", "start": 509, "end": 518, "loc": { "start": { "line": 16, "column": 20 }, "end": { "line": 16, "column": 29 } }, "object": { "type": "ThisExpression", "start": 509, "end": 513, "loc": { "start": { "line": 16, "column": 20 }, "end": { "line": 16, "column": 24 } } }, "property": { "type": "Identifier", "start": 514, "end": 518, "loc": { "start": { "line": 16, "column": 25 }, "end": { "line": 16, "column": 29 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 519, "end": 523, "loc": { "start": { "line": 16, "column": 30 }, "end": { "line": 16, "column": 34 }, "identifierName": "time" }, "name": "time" }, "computed": false }, "property": { "type": "Identifier", "start": 524, "end": 527, "loc": { "start": { "line": 16, "column": 35 }, "end": { "line": 16, "column": 38 }, "identifierName": "now" }, "name": "now" }, "computed": false }, "arguments": [] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 540, "end": 608, "loc": { "start": { "line": 17, "column": 8 }, "end": { "line": 17, "column": 76 } }, "declarations": [ { "type": "VariableDeclarator", "start": 546, "end": 607, "loc": { "start": { "line": 17, "column": 14 }, "end": { "line": 17, "column": 75 } }, "id": { "type": "Identifier", "start": 546, "end": 557, "loc": { "start": { "line": 17, "column": 14 }, "end": { "line": 17, "column": 25 }, "identifierName": "minimumTime" }, "name": "minimumTime" }, "init": { "type": "BinaryExpression", "start": 560, "end": 607, "loc": { "start": { "line": 17, "column": 28 }, "end": { "line": 17, "column": 75 } }, "left": { "type": "Identifier", "start": 560, "end": 563, "loc": { "start": { "line": 17, "column": 28 }, "end": { "line": 17, "column": 31 }, "identifierName": "now" }, "name": "now" }, "operator": "-", "right": { "type": "MemberExpression", "start": 566, "end": 607, "loc": { "start": { "line": 17, "column": 34 }, "end": { "line": 17, "column": 75 } }, "object": { "type": "Identifier", "start": 566, "end": 578, "loc": { "start": { "line": 17, "column": 34 }, "end": { "line": 17, "column": 46 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 579, "end": 607, "loc": { "start": { "line": 17, "column": 47 }, "end": { "line": 17, "column": 75 }, "identifierName": "readerAnalyzeIntervalSeconds" }, "name": "readerAnalyzeIntervalSeconds" }, "computed": false } } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 618, "end": 659, "loc": { "start": { "line": 18, "column": 8 }, "end": { "line": 18, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", "start": 624, "end": 658, "loc": { "start": { "line": 18, "column": 14 }, "end": { "line": 18, "column": 48 } }, "id": { "type": "Identifier", "start": 624, "end": 648, "loc": { "start": { "line": 18, "column": 14 }, "end": { "line": 18, "column": 38 }, "identifierName": "minimumTimeForThroughput" }, "name": "minimumTimeForThroughput" }, "init": { "type": "BinaryExpression", "start": 651, "end": 658, "loc": { "start": { "line": 18, "column": 41 }, "end": { "line": 18, "column": 48 } }, "left": { "type": "Identifier", "start": 651, "end": 654, "loc": { "start": { "line": 18, "column": 41 }, "end": { "line": 18, "column": 44 }, "identifierName": "now" }, "name": "now" }, "operator": "-", "right": { "type": "NumericLiteral", "start": 657, "end": 658, "loc": { "start": { "line": 18, "column": 47 }, "end": { "line": 18, "column": 48 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } } ], "kind": "const" }, { "type": "ForStatement", "start": 669, "end": 2297, "loc": { "start": { "line": 19, "column": 8 }, "end": { "line": 57, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 674, "end": 683, "loc": { "start": { "line": 19, "column": 13 }, "end": { "line": 19, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 678, "end": 683, "loc": { "start": { "line": 19, "column": 17 }, "end": { "line": 19, "column": 22 } }, "id": { "type": "Identifier", "start": 678, "end": 679, "loc": { "start": { "line": 19, "column": 17 }, "end": { "line": 19, "column": 18 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 682, "end": 683, "loc": { "start": { "line": 19, "column": 21 }, "end": { "line": 19, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 685, "end": 712, "loc": { "start": { "line": 19, "column": 24 }, "end": { "line": 19, "column": 51 } }, "left": { "type": "Identifier", "start": 685, "end": 686, "loc": { "start": { "line": 19, "column": 24 }, "end": { "line": 19, "column": 25 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 689, "end": 712, "loc": { "start": { "line": 19, "column": 28 }, "end": { "line": 19, "column": 51 } }, "object": { "type": "MemberExpression", "start": 689, "end": 705, "loc": { "start": { "line": 19, "column": 28 }, "end": { "line": 19, "column": 44 } }, "object": { "type": "ThisExpression", "start": 689, "end": 693, "loc": { "start": { "line": 19, "column": 28 }, "end": { "line": 19, "column": 32 } } }, "property": { "type": "Identifier", "start": 694, "end": 705, "loc": { "start": { "line": 19, "column": 33 }, "end": { "line": 19, "column": 44 }, "identifierName": "allEntities" }, "name": "allEntities" }, "computed": false }, "property": { "type": "Identifier", "start": 706, "end": 712, "loc": { "start": { "line": 19, "column": 45 }, "end": { "line": 19, "column": 51 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 714, "end": 717, "loc": { "start": { "line": 19, "column": 53 }, "end": { "line": 19, "column": 56 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 716, "end": 717, "loc": { "start": { "line": 19, "column": 55 }, "end": { "line": 19, "column": 56 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 719, "end": 2297, "loc": { "start": { "line": 19, "column": 58 }, "end": { "line": 57, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 734, "end": 769, "loc": { "start": { "line": 20, "column": 12 }, "end": { "line": 20, "column": 47 } }, "declarations": [ { "type": "VariableDeclarator", "start": 740, "end": 768, "loc": { "start": { "line": 20, "column": 18 }, "end": { "line": 20, "column": 46 } }, "id": { "type": "Identifier", "start": 740, "end": 746, "loc": { "start": { "line": 20, "column": 18 }, "end": { "line": 20, "column": 24 }, "identifierName": "entity" }, "name": "entity" }, "init": { "type": "MemberExpression", "start": 749, "end": 768, "loc": { "start": { "line": 20, "column": 27 }, "end": { "line": 20, "column": 46 } }, "object": { "type": "MemberExpression", "start": 749, "end": 765, "loc": { "start": { "line": 20, "column": 27 }, "end": { "line": 20, "column": 43 } }, "object": { "type": "ThisExpression", "start": 749, "end": 753, "loc": { "start": { "line": 20, "column": 27 }, "end": { "line": 20, "column": 31 } } }, "property": { "type": "Identifier", "start": 754, "end": 765, "loc": { "start": { "line": 20, "column": 32 }, "end": { "line": 20, "column": 43 }, "identifierName": "allEntities" }, "name": "allEntities" }, "computed": false }, "property": { "type": "Identifier", "start": 766, "end": 767, "loc": { "start": { "line": 20, "column": 44 }, "end": { "line": 20, "column": 45 }, "identifierName": "i" }, "name": "i" }, "computed": true } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 785, "end": 833, "loc": { "start": { "line": 22, "column": 12 }, "end": { "line": 22, "column": 60 } }, "declarations": [ { "type": "VariableDeclarator", "start": 791, "end": 832, "loc": { "start": { "line": 22, "column": 18 }, "end": { "line": 22, "column": 59 } }, "id": { "type": "Identifier", "start": 791, "end": 801, "loc": { "start": { "line": 22, "column": 18 }, "end": { "line": 22, "column": 28 }, "identifierName": "readerComp" }, "name": "readerComp" }, "init": { "type": "MemberExpression", "start": 804, "end": 832, "loc": { "start": { "line": 22, "column": 31 }, "end": { "line": 22, "column": 59 } }, "object": { "type": "MemberExpression", "start": 804, "end": 821, "loc": { "start": { "line": 22, "column": 31 }, "end": { "line": 22, "column": 48 } }, "object": { "type": "Identifier", "start": 804, "end": 810, "loc": { "start": { "line": 22, "column": 31 }, "end": { "line": 22, "column": 37 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 811, "end": 821, "loc": { "start": { "line": 22, "column": 38 }, "end": { "line": 22, "column": 48 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 822, "end": 832, "loc": { "start": { "line": 22, "column": 49 }, "end": { "line": 22, "column": 59 }, "identifierName": "BeltReader" }, "name": "BeltReader" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 847, "end": 892, "loc": { "start": { "line": 23, "column": 12 }, "end": { "line": 23, "column": 57 } }, "declarations": [ { "type": "VariableDeclarator", "start": 853, "end": 891, "loc": { "start": { "line": 23, "column": 18 }, "end": { "line": 23, "column": 56 } }, "id": { "type": "Identifier", "start": 853, "end": 861, "loc": { "start": { "line": 23, "column": 18 }, "end": { "line": 23, "column": 26 }, "identifierName": "pinsComp" }, "name": "pinsComp" }, "init": { "type": "MemberExpression", "start": 864, "end": 891, "loc": { "start": { "line": 23, "column": 29 }, "end": { "line": 23, "column": 56 } }, "object": { "type": "MemberExpression", "start": 864, "end": 881, "loc": { "start": { "line": 23, "column": 29 }, "end": { "line": 23, "column": 46 } }, "object": { "type": "Identifier", "start": 864, "end": 870, "loc": { "start": { "line": 23, "column": 29 }, "end": { "line": 23, "column": 35 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 871, "end": 881, "loc": { "start": { "line": 23, "column": 36 }, "end": { "line": 23, "column": 46 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 882, "end": 891, "loc": { "start": { "line": 23, "column": 47 }, "end": { "line": 23, "column": 56 }, "identifierName": "WiredPins" }, "name": "WiredPins" }, "computed": false } } ], "kind": "const", "trailingComments": [ { "type": "CommentLine", "value": " Remove outdated items", "start": 908, "end": 932, "loc": { "start": { "line": 25, "column": 12 }, "end": { "line": 25, "column": 36 } } } ] }, { "type": "WhileStatement", "start": 946, "end": 1063, "loc": { "start": { "line": 26, "column": 12 }, "end": { "line": 28, "column": 13 } }, "test": { "type": "BinaryExpression", "start": 953, "end": 994, "loc": { "start": { "line": 26, "column": 19 }, "end": { "line": 26, "column": 60 } }, "left": { "type": "MemberExpression", "start": 953, "end": 980, "loc": { "start": { "line": 26, "column": 19 }, "end": { "line": 26, "column": 46 } }, "object": { "type": "MemberExpression", "start": 953, "end": 977, "loc": { "start": { "line": 26, "column": 19 }, "end": { "line": 26, "column": 43 } }, "object": { "type": "Identifier", "start": 953, "end": 963, "loc": { "start": { "line": 26, "column": 19 }, "end": { "line": 26, "column": 29 }, "identifierName": "readerComp" }, "name": "readerComp", "leadingComments": null }, "property": { "type": "Identifier", "start": 964, "end": 977, "loc": { "start": { "line": 26, "column": 30 }, "end": { "line": 26, "column": 43 }, "identifierName": "lastItemTimes" }, "name": "lastItemTimes" }, "computed": false, "leadingComments": null }, "property": { "type": "NumericLiteral", "start": 978, "end": 979, "loc": { "start": { "line": 26, "column": 44 }, "end": { "line": 26, "column": 45 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true, "leadingComments": null }, "operator": "<", "right": { "type": "Identifier", "start": 983, "end": 994, "loc": { "start": { "line": 26, "column": 49 }, "end": { "line": 26, "column": 60 }, "identifierName": "minimumTime" }, "name": "minimumTime" }, "leadingComments": null }, "body": { "type": "BlockStatement", "start": 996, "end": 1063, "loc": { "start": { "line": 26, "column": 62 }, "end": { "line": 28, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 1015, "end": 1048, "loc": { "start": { "line": 27, "column": 16 }, "end": { "line": 27, "column": 49 } }, "expression": { "type": "CallExpression", "start": 1015, "end": 1047, "loc": { "start": { "line": 27, "column": 16 }, "end": { "line": 27, "column": 48 } }, "callee": { "type": "MemberExpression", "start": 1015, "end": 1045, "loc": { "start": { "line": 27, "column": 16 }, "end": { "line": 27, "column": 46 } }, "object": { "type": "MemberExpression", "start": 1015, "end": 1039, "loc": { "start": { "line": 27, "column": 16 }, "end": { "line": 27, "column": 40 } }, "object": { "type": "Identifier", "start": 1015, "end": 1025, "loc": { "start": { "line": 27, "column": 16 }, "end": { "line": 27, "column": 26 }, "identifierName": "readerComp" }, "name": "readerComp" }, "property": { "type": "Identifier", "start": 1026, "end": 1039, "loc": { "start": { "line": 27, "column": 27 }, "end": { "line": 27, "column": 40 }, "identifierName": "lastItemTimes" }, "name": "lastItemTimes" }, "computed": false }, "property": { "type": "Identifier", "start": 1040, "end": 1045, "loc": { "start": { "line": 27, "column": 41 }, "end": { "line": 27, "column": 46 }, "identifierName": "shift" }, "name": "shift" }, "computed": false }, "arguments": [] } } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " Remove outdated items", "start": 908, "end": 932, "loc": { "start": { "line": 25, "column": 12 }, "end": { "line": 25, "column": 36 } } } ] }, { "type": "ExpressionStatement", "start": 1079, "end": 1125, "loc": { "start": { "line": 30, "column": 12 }, "end": { "line": 30, "column": 58 } }, "expression": { "type": "AssignmentExpression", "start": 1079, "end": 1124, "loc": { "start": { "line": 30, "column": 12 }, "end": { "line": 30, "column": 57 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1079, "end": 1102, "loc": { "start": { "line": 30, "column": 12 }, "end": { "line": 30, "column": 35 } }, "object": { "type": "MemberExpression", "start": 1079, "end": 1096, "loc": { "start": { "line": 30, "column": 12 }, "end": { "line": 30, "column": 29 } }, "object": { "type": "MemberExpression", "start": 1079, "end": 1093, "loc": { "start": { "line": 30, "column": 12 }, "end": { "line": 30, "column": 26 } }, "object": { "type": "Identifier", "start": 1079, "end": 1087, "loc": { "start": { "line": 30, "column": 12 }, "end": { "line": 30, "column": 20 }, "identifierName": "pinsComp" }, "name": "pinsComp" }, "property": { "type": "Identifier", "start": 1088, "end": 1093, "loc": { "start": { "line": 30, "column": 21 }, "end": { "line": 30, "column": 26 }, "identifierName": "slots" }, "name": "slots" }, "computed": false }, "property": { "type": "NumericLiteral", "start": 1094, "end": 1095, "loc": { "start": { "line": 30, "column": 27 }, "end": { "line": 30, "column": 28 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "computed": true }, "property": { "type": "Identifier", "start": 1097, "end": 1102, "loc": { "start": { "line": 30, "column": 30 }, "end": { "line": 30, "column": 35 }, "identifierName": "value" }, "name": "value" }, "computed": false }, "right": { "type": "MemberExpression", "start": 1105, "end": 1124, "loc": { "start": { "line": 30, "column": 38 }, "end": { "line": 30, "column": 57 } }, "object": { "type": "Identifier", "start": 1105, "end": 1115, "loc": { "start": { "line": 30, "column": 38 }, "end": { "line": 30, "column": 48 }, "identifierName": "readerComp" }, "name": "readerComp" }, "property": { "type": "Identifier", "start": 1116, "end": 1124, "loc": { "start": { "line": 30, "column": 49 }, "end": { "line": 30, "column": 57 }, "identifierName": "lastItem" }, "name": "lastItem" }, "computed": false } } }, { "type": "ExpressionStatement", "start": 1139, "end": 1374, "loc": { "start": { "line": 31, "column": 12 }, "end": { "line": 35, "column": 37 } }, "expression": { "type": "AssignmentExpression", "start": 1139, "end": 1373, "loc": { "start": { "line": 31, "column": 12 }, "end": { "line": 35, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1139, "end": 1162, "loc": { "start": { "line": 31, "column": 12 }, "end": { "line": 31, "column": 35 } }, "object": { "type": "MemberExpression", "start": 1139, "end": 1156, "loc": { "start": { "line": 31, "column": 12 }, "end": { "line": 31, "column": 29 } }, "object": { "type": "MemberExpression", "start": 1139, "end": 1153, "loc": { "start": { "line": 31, "column": 12 }, "end": { "line": 31, "column": 26 } }, "object": { "type": "Identifier", "start": 1139, "end": 1147, "loc": { "start": { "line": 31, "column": 12 }, "end": { "line": 31, "column": 20 }, "identifierName": "pinsComp" }, "name": "pinsComp" }, "property": { "type": "Identifier", "start": 1148, "end": 1153, "loc": { "start": { "line": 31, "column": 21 }, "end": { "line": 31, "column": 26 }, "identifierName": "slots" }, "name": "slots" }, "computed": false }, "property": { "type": "NumericLiteral", "start": 1154, "end": 1155, "loc": { "start": { "line": 31, "column": 27 }, "end": { "line": 31, "column": 28 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true }, "property": { "type": "Identifier", "start": 1157, "end": 1162, "loc": { "start": { "line": 31, "column": 30 }, "end": { "line": 31, "column": 35 }, "identifierName": "value" }, "name": "value" }, "computed": false }, "right": { "type": "ConditionalExpression", "start": 1182, "end": 1373, "loc": { "start": { "line": 32, "column": 16 }, "end": { "line": 35, "column": 36 } }, "test": { "type": "BinaryExpression", "start": 1182, "end": 1294, "loc": { "start": { "line": 32, "column": 16 }, "end": { "line": 33, "column": 40 } }, "left": { "type": "LogicalExpression", "start": 1183, "end": 1249, "loc": { "start": { "line": 32, "column": 17 }, "end": { "line": 32, "column": 83 } }, "left": { "type": "MemberExpression", "start": 1183, "end": 1244, "loc": { "start": { "line": 32, "column": 17 }, "end": { "line": 32, "column": 78 } }, "object": { "type": "MemberExpression", "start": 1183, "end": 1207, "loc": { "start": { "line": 32, "column": 17 }, "end": { "line": 32, "column": 41 } }, "object": { "type": "Identifier", "start": 1183, "end": 1193, "loc": { "start": { "line": 32, "column": 17 }, "end": { "line": 32, "column": 27 }, "identifierName": "readerComp" }, "name": "readerComp" }, "property": { "type": "Identifier", "start": 1194, "end": 1207, "loc": { "start": { "line": 32, "column": 28 }, "end": { "line": 32, "column": 41 }, "identifierName": "lastItemTimes" }, "name": "lastItemTimes" }, "computed": false }, "property": { "type": "BinaryExpression", "start": 1208, "end": 1243, "loc": { "start": { "line": 32, "column": 42 }, "end": { "line": 32, "column": 77 } }, "left": { "type": "MemberExpression", "start": 1208, "end": 1239, "loc": { "start": { "line": 32, "column": 42 }, "end": { "line": 32, "column": 73 } }, "object": { "type": "MemberExpression", "start": 1208, "end": 1232, "loc": { "start": { "line": 32, "column": 42 }, "end": { "line": 32, "column": 66 } }, "object": { "type": "Identifier", "start": 1208, "end": 1218, "loc": { "start": { "line": 32, "column": 42 }, "end": { "line": 32, "column": 52 }, "identifierName": "readerComp" }, "name": "readerComp" }, "property": { "type": "Identifier", "start": 1219, "end": 1232, "loc": { "start": { "line": 32, "column": 53 }, "end": { "line": 32, "column": 66 }, "identifierName": "lastItemTimes" }, "name": "lastItemTimes" }, "computed": false }, "property": { "type": "Identifier", "start": 1233, "end": 1239, "loc": { "start": { "line": 32, "column": 67 }, "end": { "line": 32, "column": 73 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "-", "right": { "type": "NumericLiteral", "start": 1242, "end": 1243, "loc": { "start": { "line": 32, "column": 76 }, "end": { "line": 32, "column": 77 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, "computed": true }, "operator": "||", "right": { "type": "NumericLiteral", "start": 1248, "end": 1249, "loc": { "start": { "line": 32, "column": 82 }, "end": { "line": 32, "column": 83 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "extra": { "parenthesized": true, "parenStart": 1182 } }, "operator": ">", "right": { "type": "Identifier", "start": 1270, "end": 1294, "loc": { "start": { "line": 33, "column": 16 }, "end": { "line": 33, "column": 40 }, "identifierName": "minimumTimeForThroughput" }, "name": "minimumTimeForThroughput" } }, "consequent": { "type": "Identifier", "start": 1314, "end": 1333, "loc": { "start": { "line": 34, "column": 16 }, "end": { "line": 34, "column": 35 }, "identifierName": "BOOL_TRUE_SINGLETON" }, "name": "BOOL_TRUE_SINGLETON" }, "alternate": { "type": "Identifier", "start": 1353, "end": 1373, "loc": { "start": { "line": 35, "column": 16 }, "end": { "line": 35, "column": 36 }, "identifierName": "BOOL_FALSE_SINGLETON" }, "name": "BOOL_FALSE_SINGLETON" } } } }, { "type": "IfStatement", "start": 1390, "end": 2286, "loc": { "start": { "line": 37, "column": 12 }, "end": { "line": 56, "column": 13 } }, "test": { "type": "BinaryExpression", "start": 1394, "end": 1442, "loc": { "start": { "line": 37, "column": 16 }, "end": { "line": 37, "column": 64 } }, "left": { "type": "BinaryExpression", "start": 1394, "end": 1436, "loc": { "start": { "line": 37, "column": 16 }, "end": { "line": 37, "column": 58 } }, "left": { "type": "Identifier", "start": 1394, "end": 1397, "loc": { "start": { "line": 37, "column": 16 }, "end": { "line": 37, "column": 19 }, "identifierName": "now" }, "name": "now" }, "operator": "-", "right": { "type": "MemberExpression", "start": 1400, "end": 1436, "loc": { "start": { "line": 37, "column": 22 }, "end": { "line": 37, "column": 58 } }, "object": { "type": "Identifier", "start": 1400, "end": 1410, "loc": { "start": { "line": 37, "column": 22 }, "end": { "line": 37, "column": 32 }, "identifierName": "readerComp" }, "name": "readerComp" }, "property": { "type": "Identifier", "start": 1411, "end": 1436, "loc": { "start": { "line": 37, "column": 33 }, "end": { "line": 37, "column": 58 }, "identifierName": "lastThroughputComputation" }, "name": "lastThroughputComputation" }, "computed": false } }, "operator": ">", "right": { "type": "NumericLiteral", "start": 1439, "end": 1442, "loc": { "start": { "line": 37, "column": 61 }, "end": { "line": 37, "column": 64 } }, "extra": { "rawValue": 0.5, "raw": "0.5" }, "value": 0.5 } }, "consequent": { "type": "BlockStatement", "start": 1444, "end": 2286, "loc": { "start": { "line": 37, "column": 66 }, "end": { "line": 56, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 1502, "end": 1545, "loc": { "start": { "line": 39, "column": 16 }, "end": { "line": 39, "column": 59 } }, "expression": { "type": "AssignmentExpression", "start": 1502, "end": 1544, "loc": { "start": { "line": 39, "column": 16 }, "end": { "line": 39, "column": 58 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1502, "end": 1538, "loc": { "start": { "line": 39, "column": 16 }, "end": { "line": 39, "column": 52 } }, "object": { "type": "Identifier", "start": 1502, "end": 1512, "loc": { "start": { "line": 39, "column": 16 }, "end": { "line": 39, "column": 26 }, "identifierName": "readerComp" }, "name": "readerComp", "leadingComments": null }, "property": { "type": "Identifier", "start": 1513, "end": 1538, "loc": { "start": { "line": 39, "column": 27 }, "end": { "line": 39, "column": 52 }, "identifierName": "lastThroughputComputation" }, "name": "lastThroughputComputation" }, "computed": false, "leadingComments": null }, "right": { "type": "Identifier", "start": 1541, "end": 1544, "loc": { "start": { "line": 39, "column": 55 }, "end": { "line": 39, "column": 58 }, "identifierName": "now" }, "name": "now" }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Compute throughput", "start": 1463, "end": 1484, "loc": { "start": { "line": 38, "column": 16 }, "end": { "line": 38, "column": 37 } } } ] }, { "type": "VariableDeclaration", "start": 1565, "end": 1584, "loc": { "start": { "line": 41, "column": 16 }, "end": { "line": 41, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1569, "end": 1583, "loc": { "start": { "line": 41, "column": 20 }, "end": { "line": 41, "column": 34 } }, "id": { "type": "Identifier", "start": 1569, "end": 1579, "loc": { "start": { "line": 41, "column": 20 }, "end": { "line": 41, "column": 30 }, "identifierName": "throughput" }, "name": "throughput" }, "init": { "type": "NumericLiteral", "start": 1582, "end": 1583, "loc": { "start": { "line": 41, "column": 33 }, "end": { "line": 41, "column": 34 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, { "type": "IfStatement", "start": 1602, "end": 2157, "loc": { "start": { "line": 42, "column": 16 }, "end": { "line": 53, "column": 17 } }, "test": { "type": "BinaryExpression", "start": 1606, "end": 1641, "loc": { "start": { "line": 42, "column": 20 }, "end": { "line": 42, "column": 55 } }, "left": { "type": "MemberExpression", "start": 1606, "end": 1637, "loc": { "start": { "line": 42, "column": 20 }, "end": { "line": 42, "column": 51 } }, "object": { "type": "MemberExpression", "start": 1606, "end": 1630, "loc": { "start": { "line": 42, "column": 20 }, "end": { "line": 42, "column": 44 } }, "object": { "type": "Identifier", "start": 1606, "end": 1616, "loc": { "start": { "line": 42, "column": 20 }, "end": { "line": 42, "column": 30 }, "identifierName": "readerComp" }, "name": "readerComp" }, "property": { "type": "Identifier", "start": 1617, "end": 1630, "loc": { "start": { "line": 42, "column": 31 }, "end": { "line": 42, "column": 44 }, "identifierName": "lastItemTimes" }, "name": "lastItemTimes" }, "computed": false }, "property": { "type": "Identifier", "start": 1631, "end": 1637, "loc": { "start": { "line": 42, "column": 45 }, "end": { "line": 42, "column": 51 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "<", "right": { "type": "NumericLiteral", "start": 1640, "end": 1641, "loc": { "start": { "line": 42, "column": 54 }, "end": { "line": 42, "column": 55 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } }, "consequent": { "type": "BlockStatement", "start": 1643, "end": 1700, "loc": { "start": { "line": 42, "column": 57 }, "end": { "line": 44, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 1666, "end": 1681, "loc": { "start": { "line": 43, "column": 20 }, "end": { "line": 43, "column": 35 } }, "expression": { "type": "AssignmentExpression", "start": 1666, "end": 1680, "loc": { "start": { "line": 43, "column": 20 }, "end": { "line": 43, "column": 34 } }, "operator": "=", "left": { "type": "Identifier", "start": 1666, "end": 1676, "loc": { "start": { "line": 43, "column": 20 }, "end": { "line": 43, "column": 30 }, "identifierName": "throughput" }, "name": "throughput" }, "right": { "type": "NumericLiteral", "start": 1679, "end": 1680, "loc": { "start": { "line": 43, "column": 33 }, "end": { "line": 43, "column": 34 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 1706, "end": 2157, "loc": { "start": { "line": 44, "column": 23 }, "end": { "line": 53, "column": 17 } }, "body": [ { "type": "VariableDeclaration", "start": 1729, "end": 1752, "loc": { "start": { "line": 45, "column": 20 }, "end": { "line": 45, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1733, "end": 1751, "loc": { "start": { "line": 45, "column": 24 }, "end": { "line": 45, "column": 42 } }, "id": { "type": "Identifier", "start": 1733, "end": 1747, "loc": { "start": { "line": 45, "column": 24 }, "end": { "line": 45, "column": 38 }, "identifierName": "averageSpacing" }, "name": "averageSpacing" }, "init": { "type": "NumericLiteral", "start": 1750, "end": 1751, "loc": { "start": { "line": 45, "column": 41 }, "end": { "line": 45, "column": 42 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 1774, "end": 1800, "loc": { "start": { "line": 46, "column": 20 }, "end": { "line": 46, "column": 46 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1778, "end": 1799, "loc": { "start": { "line": 46, "column": 24 }, "end": { "line": 46, "column": 45 } }, "id": { "type": "Identifier", "start": 1778, "end": 1795, "loc": { "start": { "line": 46, "column": 24 }, "end": { "line": 46, "column": 41 }, "identifierName": "averageSpacingNum" }, "name": "averageSpacingNum" }, "init": { "type": "NumericLiteral", "start": 1798, "end": 1799, "loc": { "start": { "line": 46, "column": 44 }, "end": { "line": 46, "column": 45 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, { "type": "ForStatement", "start": 1822, "end": 2060, "loc": { "start": { "line": 47, "column": 20 }, "end": { "line": 50, "column": 21 } }, "init": { "type": "VariableDeclaration", "start": 1827, "end": 1836, "loc": { "start": { "line": 47, "column": 25 }, "end": { "line": 47, "column": 34 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1831, "end": 1836, "loc": { "start": { "line": 47, "column": 29 }, "end": { "line": 47, "column": 34 } }, "id": { "type": "Identifier", "start": 1831, "end": 1832, "loc": { "start": { "line": 47, "column": 29 }, "end": { "line": 47, "column": 30 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 1835, "end": 1836, "loc": { "start": { "line": 47, "column": 33 }, "end": { "line": 47, "column": 34 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 1838, "end": 1877, "loc": { "start": { "line": 47, "column": 36 }, "end": { "line": 47, "column": 75 } }, "left": { "type": "Identifier", "start": 1838, "end": 1839, "loc": { "start": { "line": 47, "column": 36 }, "end": { "line": 47, "column": 37 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "BinaryExpression", "start": 1842, "end": 1877, "loc": { "start": { "line": 47, "column": 40 }, "end": { "line": 47, "column": 75 } }, "left": { "type": "MemberExpression", "start": 1842, "end": 1873, "loc": { "start": { "line": 47, "column": 40 }, "end": { "line": 47, "column": 71 } }, "object": { "type": "MemberExpression", "start": 1842, "end": 1866, "loc": { "start": { "line": 47, "column": 40 }, "end": { "line": 47, "column": 64 } }, "object": { "type": "Identifier", "start": 1842, "end": 1852, "loc": { "start": { "line": 47, "column": 40 }, "end": { "line": 47, "column": 50 }, "identifierName": "readerComp" }, "name": "readerComp" }, "property": { "type": "Identifier", "start": 1853, "end": 1866, "loc": { "start": { "line": 47, "column": 51 }, "end": { "line": 47, "column": 64 }, "identifierName": "lastItemTimes" }, "name": "lastItemTimes" }, "computed": false }, "property": { "type": "Identifier", "start": 1867, "end": 1873, "loc": { "start": { "line": 47, "column": 65 }, "end": { "line": 47, "column": 71 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "-", "right": { "type": "NumericLiteral", "start": 1876, "end": 1877, "loc": { "start": { "line": 47, "column": 74 }, "end": { "line": 47, "column": 75 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } }, "update": { "type": "UpdateExpression", "start": 1879, "end": 1882, "loc": { "start": { "line": 47, "column": 77 }, "end": { "line": 47, "column": 80 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 1881, "end": 1882, "loc": { "start": { "line": 47, "column": 79 }, "end": { "line": 47, "column": 80 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 1884, "end": 2060, "loc": { "start": { "line": 47, "column": 82 }, "end": { "line": 50, "column": 21 } }, "body": [ { "type": "ExpressionStatement", "start": 1911, "end": 1991, "loc": { "start": { "line": 48, "column": 24 }, "end": { "line": 48, "column": 104 } }, "expression": { "type": "AssignmentExpression", "start": 1911, "end": 1990, "loc": { "start": { "line": 48, "column": 24 }, "end": { "line": 48, "column": 103 } }, "operator": "+=", "left": { "type": "Identifier", "start": 1911, "end": 1925, "loc": { "start": { "line": 48, "column": 24 }, "end": { "line": 48, "column": 38 }, "identifierName": "averageSpacing" }, "name": "averageSpacing" }, "right": { "type": "BinaryExpression", "start": 1929, "end": 1990, "loc": { "start": { "line": 48, "column": 42 }, "end": { "line": 48, "column": 103 } }, "left": { "type": "MemberExpression", "start": 1929, "end": 1960, "loc": { "start": { "line": 48, "column": 42 }, "end": { "line": 48, "column": 73 } }, "object": { "type": "MemberExpression", "start": 1929, "end": 1953, "loc": { "start": { "line": 48, "column": 42 }, "end": { "line": 48, "column": 66 } }, "object": { "type": "Identifier", "start": 1929, "end": 1939, "loc": { "start": { "line": 48, "column": 42 }, "end": { "line": 48, "column": 52 }, "identifierName": "readerComp" }, "name": "readerComp" }, "property": { "type": "Identifier", "start": 1940, "end": 1953, "loc": { "start": { "line": 48, "column": 53 }, "end": { "line": 48, "column": 66 }, "identifierName": "lastItemTimes" }, "name": "lastItemTimes" }, "computed": false }, "property": { "type": "BinaryExpression", "start": 1954, "end": 1959, "loc": { "start": { "line": 48, "column": 67 }, "end": { "line": 48, "column": 72 } }, "left": { "type": "Identifier", "start": 1954, "end": 1955, "loc": { "start": { "line": 48, "column": 67 }, "end": { "line": 48, "column": 68 }, "identifierName": "i" }, "name": "i" }, "operator": "+", "right": { "type": "NumericLiteral", "start": 1958, "end": 1959, "loc": { "start": { "line": 48, "column": 71 }, "end": { "line": 48, "column": 72 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, "computed": true }, "operator": "-", "right": { "type": "MemberExpression", "start": 1963, "end": 1990, "loc": { "start": { "line": 48, "column": 76 }, "end": { "line": 48, "column": 103 } }, "object": { "type": "MemberExpression", "start": 1963, "end": 1987, "loc": { "start": { "line": 48, "column": 76 }, "end": { "line": 48, "column": 100 } }, "object": { "type": "Identifier", "start": 1963, "end": 1973, "loc": { "start": { "line": 48, "column": 76 }, "end": { "line": 48, "column": 86 }, "identifierName": "readerComp" }, "name": "readerComp" }, "property": { "type": "Identifier", "start": 1974, "end": 1987, "loc": { "start": { "line": 48, "column": 87 }, "end": { "line": 48, "column": 100 }, "identifierName": "lastItemTimes" }, "name": "lastItemTimes" }, "computed": false }, "property": { "type": "Identifier", "start": 1988, "end": 1989, "loc": { "start": { "line": 48, "column": 101 }, "end": { "line": 48, "column": 102 }, "identifierName": "i" }, "name": "i" }, "computed": true } } } }, { "type": "ExpressionStatement", "start": 2017, "end": 2037, "loc": { "start": { "line": 49, "column": 24 }, "end": { "line": 49, "column": 44 } }, "expression": { "type": "UpdateExpression", "start": 2017, "end": 2036, "loc": { "start": { "line": 49, "column": 24 }, "end": { "line": 49, "column": 43 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 2019, "end": 2036, "loc": { "start": { "line": 49, "column": 26 }, "end": { "line": 49, "column": 43 }, "identifierName": "averageSpacingNum" }, "name": "averageSpacingNum" }, "extra": { "parenthesizedArgument": false } } } ], "directives": [] } }, { "type": "ExpressionStatement", "start": 2084, "end": 2138, "loc": { "start": { "line": 52, "column": 20 }, "end": { "line": 52, "column": 74 } }, "expression": { "type": "AssignmentExpression", "start": 2084, "end": 2137, "loc": { "start": { "line": 52, "column": 20 }, "end": { "line": 52, "column": 73 } }, "operator": "=", "left": { "type": "Identifier", "start": 2084, "end": 2094, "loc": { "start": { "line": 52, "column": 20 }, "end": { "line": 52, "column": 30 }, "identifierName": "throughput" }, "name": "throughput" }, "right": { "type": "BinaryExpression", "start": 2097, "end": 2137, "loc": { "start": { "line": 52, "column": 33 }, "end": { "line": 52, "column": 73 } }, "left": { "type": "NumericLiteral", "start": 2097, "end": 2098, "loc": { "start": { "line": 52, "column": 33 }, "end": { "line": 52, "column": 34 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "operator": "/", "right": { "type": "BinaryExpression", "start": 2102, "end": 2136, "loc": { "start": { "line": 52, "column": 38 }, "end": { "line": 52, "column": 72 } }, "left": { "type": "Identifier", "start": 2102, "end": 2116, "loc": { "start": { "line": 52, "column": 38 }, "end": { "line": 52, "column": 52 }, "identifierName": "averageSpacing" }, "name": "averageSpacing" }, "operator": "/", "right": { "type": "Identifier", "start": 2119, "end": 2136, "loc": { "start": { "line": 52, "column": 55 }, "end": { "line": 52, "column": 72 }, "identifierName": "averageSpacingNum" }, "name": "averageSpacingNum" }, "extra": { "parenthesized": true, "parenStart": 2101 } } } } } ], "directives": [] } }, { "type": "ExpressionStatement", "start": 2177, "end": 2271, "loc": { "start": { "line": 55, "column": 16 }, "end": { "line": 55, "column": 110 } }, "expression": { "type": "AssignmentExpression", "start": 2177, "end": 2270, "loc": { "start": { "line": 55, "column": 16 }, "end": { "line": 55, "column": 109 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2177, "end": 2202, "loc": { "start": { "line": 55, "column": 16 }, "end": { "line": 55, "column": 41 } }, "object": { "type": "Identifier", "start": 2177, "end": 2187, "loc": { "start": { "line": 55, "column": 16 }, "end": { "line": 55, "column": 26 }, "identifierName": "readerComp" }, "name": "readerComp" }, "property": { "type": "Identifier", "start": 2188, "end": 2202, "loc": { "start": { "line": 55, "column": 27 }, "end": { "line": 55, "column": 41 }, "identifierName": "lastThroughput" }, "name": "lastThroughput" }, "computed": false }, "right": { "type": "CallExpression", "start": 2205, "end": 2270, "loc": { "start": { "line": 55, "column": 44 }, "end": { "line": 55, "column": 109 } }, "callee": { "type": "MemberExpression", "start": 2205, "end": 2213, "loc": { "start": { "line": 55, "column": 44 }, "end": { "line": 55, "column": 52 } }, "object": { "type": "Identifier", "start": 2205, "end": 2209, "loc": { "start": { "line": 55, "column": 44 }, "end": { "line": 55, "column": 48 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 2210, "end": 2213, "loc": { "start": { "line": 55, "column": 49 }, "end": { "line": 55, "column": 52 }, "identifierName": "min" }, "name": "min" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 2214, "end": 2257, "loc": { "start": { "line": 55, "column": 53 }, "end": { "line": 55, "column": 96 } }, "left": { "type": "MemberExpression", "start": 2214, "end": 2250, "loc": { "start": { "line": 55, "column": 53 }, "end": { "line": 55, "column": 89 } }, "object": { "type": "Identifier", "start": 2214, "end": 2226, "loc": { "start": { "line": 55, "column": 53 }, "end": { "line": 55, "column": 65 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 2227, "end": 2250, "loc": { "start": { "line": 55, "column": 66 }, "end": { "line": 55, "column": 89 }, "identifierName": "beltSpeedItemsPerSecond" }, "name": "beltSpeedItemsPerSecond" }, "computed": false }, "operator": "*", "right": { "type": "NumericLiteral", "start": 2253, "end": 2257, "loc": { "start": { "line": 55, "column": 92 }, "end": { "line": 55, "column": 96 } }, "extra": { "rawValue": 23.9, "raw": "23.9" }, "value": 23.9 } }, { "type": "Identifier", "start": 2259, "end": 2269, "loc": { "start": { "line": 55, "column": 98 }, "end": { "line": 55, "column": 108 }, "identifierName": "throughput" }, "name": "throughput" } ] } } } ], "directives": [] }, "alternate": null } ], "directives": [] } } ], "directives": [] } } ] }, "leadingComments": [], "trailingComments": [] } } ], "directives": [] }, "comments": [ { "type": "CommentLine", "value": " Remove outdated items", "start": 908, "end": 932, "loc": { "start": { "line": 25, "column": 12 }, "end": { "line": 25, "column": 36 } } }, { "type": "CommentLine", "value": " Compute throughput", "start": 1463, "end": 1484, "loc": { "start": { "line": 38, "column": 16 }, "end": { "line": 38, "column": 37 } } } ], "tokens": [ { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 0, "end": 6, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7, "end": 8, "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 1, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "GameSystemWithFilter", "start": 9, "end": 29, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30, "end": 31, "loc": { "start": { "line": 1, "column": 30 }, "end": { "line": 1, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 32, "end": 36, "loc": { "start": { "line": 1, "column": 32 }, "end": { "line": 1, "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": 37, "end": 65, "loc": { "start": { "line": 1, "column": 37 }, "end": { "line": 1, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 65, "end": 66, "loc": { "start": { "line": 1, "column": 65 }, "end": { "line": 1, "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": 68, "end": 74, "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": 75, "end": 76, "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": "BeltReaderComponent", "start": 77, "end": 96, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 97, "end": 98, "loc": { "start": { "line": 2, "column": 29 }, "end": { "line": 2, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 99, "end": 103, "loc": { "start": { "line": 2, "column": 31 }, "end": { "line": 2, "column": 35 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../components/belt_reader", "start": 104, "end": 131, "loc": { "start": { "line": 2, "column": 36 }, "end": { "line": 2, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 131, "end": 132, "loc": { "start": { "line": 2, "column": 63 }, "end": { "line": 2, "column": 64 } } }, { "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": 134, "end": 140, "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": 141, "end": 142, "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": "globalConfig", "start": 143, "end": 155, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 156, "end": 157, "loc": { "start": { "line": 3, "column": 22 }, "end": { "line": 3, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 158, "end": 162, "loc": { "start": { "line": 3, "column": 24 }, "end": { "line": 3, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../../core/config", "start": 163, "end": 182, "loc": { "start": { "line": 3, "column": 29 }, "end": { "line": 3, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 182, "end": 183, "loc": { "start": { "line": 3, "column": 48 }, "end": { "line": 3, "column": 49 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 185, "end": 191, "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": 192, "end": 193, "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": "BOOL_TRUE_SINGLETON", "start": 194, "end": 213, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 28 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 213, "end": 214, "loc": { "start": { "line": 4, "column": 28 }, "end": { "line": 4, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "BOOL_FALSE_SINGLETON", "start": 215, "end": 235, "loc": { "start": { "line": 4, "column": 30 }, "end": { "line": 4, "column": 50 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 236, "end": 237, "loc": { "start": { "line": 4, "column": 51 }, "end": { "line": 4, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 238, "end": 242, "loc": { "start": { "line": 4, "column": 53 }, "end": { "line": 4, "column": 57 } } }, { "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": 243, "end": 266, "loc": { "start": { "line": 4, "column": 58 }, "end": { "line": 4, "column": 81 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 266, "end": 267, "loc": { "start": { "line": 4, "column": 81 }, "end": { "line": 4, "column": 82 } } }, { "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": 271, "end": 277, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "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": 278, "end": 283, "loc": { "start": { "line": 6, "column": 7 }, "end": { "line": 6, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "BeltReaderSystem", "start": 284, "end": 300, "loc": { "start": { "line": 6, "column": 13 }, "end": { "line": 6, "column": 29 } } }, { "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": 301, "end": 308, "loc": { "start": { "line": 6, "column": 30 }, "end": { "line": 6, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "GameSystemWithFilter", "start": 309, "end": 329, "loc": { "start": { "line": 6, "column": 38 }, "end": { "line": 6, "column": 58 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 330, "end": 331, "loc": { "start": { "line": 6, "column": 59 }, "end": { "line": 6, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 337, "end": 348, "loc": { "start": { "line": 7, "column": 4 }, "end": { "line": 7, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 348, "end": 349, "loc": { "start": { "line": 7, "column": 15 }, "end": { "line": 7, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 349, "end": 353, "loc": { "start": { "line": 7, "column": 16 }, "end": { "line": 7, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 353, "end": 354, "loc": { "start": { "line": 7, "column": 20 }, "end": { "line": 7, "column": 21 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 355, "end": 356, "loc": { "start": { "line": 7, "column": 22 }, "end": { "line": 7, "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": 366, "end": 371, "loc": { "start": { "line": 8, "column": 8 }, "end": { "line": 8, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 371, "end": 372, "loc": { "start": { "line": 8, "column": 13 }, "end": { "line": 8, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 372, "end": 376, "loc": { "start": { "line": 8, "column": 14 }, "end": { "line": 8, "column": 18 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 376, "end": 377, "loc": { "start": { "line": 8, "column": 18 }, "end": { "line": 8, "column": 19 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 378, "end": 379, "loc": { "start": { "line": 8, "column": 20 }, "end": { "line": 8, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "BeltReaderComponent", "start": 379, "end": 398, "loc": { "start": { "line": 8, "column": 21 }, "end": { "line": 8, "column": 40 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 398, "end": 399, "loc": { "start": { "line": 8, "column": 40 }, "end": { "line": 8, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 399, "end": 400, "loc": { "start": { "line": 8, "column": 41 }, "end": { "line": 8, "column": 42 } } }, { "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": 8, "column": 42 }, "end": { "line": 8, "column": 43 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 407, "end": 408, "loc": { "start": { "line": 9, "column": 4 }, "end": { "line": 9, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "static", "start": 416, "end": 422, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 11, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getId", "start": 423, "end": 428, "loc": { "start": { "line": 11, "column": 11 }, "end": { "line": 11, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 428, "end": 429, "loc": { "start": { "line": 11, "column": 16 }, "end": { "line": 11, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 429, "end": 430, "loc": { "start": { "line": 11, "column": 17 }, "end": { "line": 11, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 431, "end": 432, "loc": { "start": { "line": 11, "column": 19 }, "end": { "line": 11, "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": 442, "end": 448, "loc": { "start": { "line": 12, "column": 8 }, "end": { "line": 12, "column": 14 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "beltReader", "start": 449, "end": 461, "loc": { "start": { "line": 12, "column": 15 }, "end": { "line": 12, "column": 27 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 461, "end": 462, "loc": { "start": { "line": 12, "column": 27 }, "end": { "line": 12, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 468, "end": 469, "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 13, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "update", "start": 477, "end": 483, "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 15, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 483, "end": 484, "loc": { "start": { "line": 15, "column": 10 }, "end": { "line": 15, "column": 11 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 484, "end": 485, "loc": { "start": { "line": 15, "column": 11 }, "end": { "line": 15, "column": 12 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 486, "end": 487, "loc": { "start": { "line": 15, "column": 13 }, "end": { "line": 15, "column": 14 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 497, "end": 502, "loc": { "start": { "line": 16, "column": 8 }, "end": { "line": 16, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "now", "start": 503, "end": 506, "loc": { "start": { "line": 16, "column": 14 }, "end": { "line": 16, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 507, "end": 508, "loc": { "start": { "line": 16, "column": 18 }, "end": { "line": 16, "column": 19 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 509, "end": 513, "loc": { "start": { "line": 16, "column": 20 }, "end": { "line": 16, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 513, "end": 514, "loc": { "start": { "line": 16, "column": 24 }, "end": { "line": 16, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 514, "end": 518, "loc": { "start": { "line": 16, "column": 25 }, "end": { "line": 16, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 518, "end": 519, "loc": { "start": { "line": 16, "column": 29 }, "end": { "line": 16, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "time", "start": 519, "end": 523, "loc": { "start": { "line": 16, "column": 30 }, "end": { "line": 16, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 523, "end": 524, "loc": { "start": { "line": 16, "column": 34 }, "end": { "line": 16, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "now", "start": 524, "end": 527, "loc": { "start": { "line": 16, "column": 35 }, "end": { "line": 16, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 527, "end": 528, "loc": { "start": { "line": 16, "column": 38 }, "end": { "line": 16, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 528, "end": 529, "loc": { "start": { "line": 16, "column": 39 }, "end": { "line": 16, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 529, "end": 530, "loc": { "start": { "line": 16, "column": 40 }, "end": { "line": 16, "column": 41 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 540, "end": 545, "loc": { "start": { "line": 17, "column": 8 }, "end": { "line": 17, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "minimumTime", "start": 546, "end": 557, "loc": { "start": { "line": 17, "column": 14 }, "end": { "line": 17, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 558, "end": 559, "loc": { "start": { "line": 17, "column": 26 }, "end": { "line": 17, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "now", "start": 560, "end": 563, "loc": { "start": { "line": 17, "column": 28 }, "end": { "line": 17, "column": 31 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 564, "end": 565, "loc": { "start": { "line": 17, "column": 32 }, "end": { "line": 17, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 566, "end": 578, "loc": { "start": { "line": 17, "column": 34 }, "end": { "line": 17, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 578, "end": 579, "loc": { "start": { "line": 17, "column": 46 }, "end": { "line": 17, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "readerAnalyzeIntervalSeconds", "start": 579, "end": 607, "loc": { "start": { "line": 17, "column": 47 }, "end": { "line": 17, "column": 75 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 607, "end": 608, "loc": { "start": { "line": 17, "column": 75 }, "end": { "line": 17, "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": 618, "end": 623, "loc": { "start": { "line": 18, "column": 8 }, "end": { "line": 18, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "minimumTimeForThroughput", "start": 624, "end": 648, "loc": { "start": { "line": 18, "column": 14 }, "end": { "line": 18, "column": 38 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 649, "end": 650, "loc": { "start": { "line": 18, "column": 39 }, "end": { "line": 18, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "now", "start": 651, "end": 654, "loc": { "start": { "line": 18, "column": 41 }, "end": { "line": 18, "column": 44 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 655, "end": 656, "loc": { "start": { "line": 18, "column": 45 }, "end": { "line": 18, "column": 46 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 657, "end": 658, "loc": { "start": { "line": 18, "column": 47 }, "end": { "line": 18, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 658, "end": 659, "loc": { "start": { "line": 18, "column": 48 }, "end": { "line": 18, "column": 49 } } }, { "type": { "label": "for", "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "for", "start": 669, "end": 672, "loc": { "start": { "line": 19, "column": 8 }, "end": { "line": 19, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 673, "end": 674, "loc": { "start": { "line": 19, "column": 12 }, "end": { "line": 19, "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": 674, "end": 677, "loc": { "start": { "line": 19, "column": 13 }, "end": { "line": 19, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 678, "end": 679, "loc": { "start": { "line": 19, "column": 17 }, "end": { "line": 19, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 680, "end": 681, "loc": { "start": { "line": 19, "column": 19 }, "end": { "line": 19, "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": 682, "end": 683, "loc": { "start": { "line": 19, "column": 21 }, "end": { "line": 19, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 683, "end": 684, "loc": { "start": { "line": 19, "column": 22 }, "end": { "line": 19, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 685, "end": 686, "loc": { "start": { "line": 19, "column": 24 }, "end": { "line": 19, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 687, "end": 688, "loc": { "start": { "line": 19, "column": 26 }, "end": { "line": 19, "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": 689, "end": 693, "loc": { "start": { "line": 19, "column": 28 }, "end": { "line": 19, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 693, "end": 694, "loc": { "start": { "line": 19, "column": 32 }, "end": { "line": 19, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "allEntities", "start": 694, "end": 705, "loc": { "start": { "line": 19, "column": 33 }, "end": { "line": 19, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 705, "end": 706, "loc": { "start": { "line": 19, "column": 44 }, "end": { "line": 19, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 706, "end": 712, "loc": { "start": { "line": 19, "column": 45 }, "end": { "line": 19, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 712, "end": 713, "loc": { "start": { "line": 19, "column": 51 }, "end": { "line": 19, "column": 52 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 714, "end": 716, "loc": { "start": { "line": 19, "column": 53 }, "end": { "line": 19, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 716, "end": 717, "loc": { "start": { "line": 19, "column": 55 }, "end": { "line": 19, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 717, "end": 718, "loc": { "start": { "line": 19, "column": 56 }, "end": { "line": 19, "column": 57 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 719, "end": 720, "loc": { "start": { "line": 19, "column": 58 }, "end": { "line": 19, "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": 734, "end": 739, "loc": { "start": { "line": 20, "column": 12 }, "end": { "line": 20, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 740, "end": 746, "loc": { "start": { "line": 20, "column": 18 }, "end": { "line": 20, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 747, "end": 748, "loc": { "start": { "line": 20, "column": 25 }, "end": { "line": 20, "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": 749, "end": 753, "loc": { "start": { "line": 20, "column": 27 }, "end": { "line": 20, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 753, "end": 754, "loc": { "start": { "line": 20, "column": 31 }, "end": { "line": 20, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "allEntities", "start": 754, "end": 765, "loc": { "start": { "line": 20, "column": 32 }, "end": { "line": 20, "column": 43 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 765, "end": 766, "loc": { "start": { "line": 20, "column": 43 }, "end": { "line": 20, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 766, "end": 767, "loc": { "start": { "line": 20, "column": 44 }, "end": { "line": 20, "column": 45 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 767, "end": 768, "loc": { "start": { "line": 20, "column": 45 }, "end": { "line": 20, "column": 46 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 768, "end": 769, "loc": { "start": { "line": 20, "column": 46 }, "end": { "line": 20, "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": 785, "end": 790, "loc": { "start": { "line": 22, "column": 12 }, "end": { "line": 22, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "readerComp", "start": 791, "end": 801, "loc": { "start": { "line": 22, "column": 18 }, "end": { "line": 22, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 802, "end": 803, "loc": { "start": { "line": 22, "column": 29 }, "end": { "line": 22, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 804, "end": 810, "loc": { "start": { "line": 22, "column": 31 }, "end": { "line": 22, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 810, "end": 811, "loc": { "start": { "line": 22, "column": 37 }, "end": { "line": 22, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 811, "end": 821, "loc": { "start": { "line": 22, "column": 38 }, "end": { "line": 22, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 821, "end": 822, "loc": { "start": { "line": 22, "column": 48 }, "end": { "line": 22, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "BeltReader", "start": 822, "end": 832, "loc": { "start": { "line": 22, "column": 49 }, "end": { "line": 22, "column": 59 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 832, "end": 833, "loc": { "start": { "line": 22, "column": 59 }, "end": { "line": 22, "column": 60 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 847, "end": 852, "loc": { "start": { "line": 23, "column": 12 }, "end": { "line": 23, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pinsComp", "start": 853, "end": 861, "loc": { "start": { "line": 23, "column": 18 }, "end": { "line": 23, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 862, "end": 863, "loc": { "start": { "line": 23, "column": 27 }, "end": { "line": 23, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 864, "end": 870, "loc": { "start": { "line": 23, "column": 29 }, "end": { "line": 23, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 870, "end": 871, "loc": { "start": { "line": 23, "column": 35 }, "end": { "line": 23, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 871, "end": 881, "loc": { "start": { "line": 23, "column": 36 }, "end": { "line": 23, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 881, "end": 882, "loc": { "start": { "line": 23, "column": 46 }, "end": { "line": 23, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "WiredPins", "start": 882, "end": 891, "loc": { "start": { "line": 23, "column": 47 }, "end": { "line": 23, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 891, "end": 892, "loc": { "start": { "line": 23, "column": 56 }, "end": { "line": 23, "column": 57 } } }, { "type": "CommentLine", "value": " Remove outdated items", "start": 908, "end": 932, "loc": { "start": { "line": 25, "column": 12 }, "end": { "line": 25, "column": 36 } } }, { "type": { "label": "while", "keyword": "while", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "while", "start": 946, "end": 951, "loc": { "start": { "line": 26, "column": 12 }, "end": { "line": 26, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 952, "end": 953, "loc": { "start": { "line": 26, "column": 18 }, "end": { "line": 26, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "readerComp", "start": 953, "end": 963, "loc": { "start": { "line": 26, "column": 19 }, "end": { "line": 26, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 963, "end": 964, "loc": { "start": { "line": 26, "column": 29 }, "end": { "line": 26, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastItemTimes", "start": 964, "end": 977, "loc": { "start": { "line": 26, "column": 30 }, "end": { "line": 26, "column": 43 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 977, "end": 978, "loc": { "start": { "line": 26, "column": 43 }, "end": { "line": 26, "column": 44 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 978, "end": 979, "loc": { "start": { "line": 26, "column": 44 }, "end": { "line": 26, "column": 45 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 979, "end": 980, "loc": { "start": { "line": 26, "column": 45 }, "end": { "line": 26, "column": 46 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 981, "end": 982, "loc": { "start": { "line": 26, "column": 47 }, "end": { "line": 26, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "minimumTime", "start": 983, "end": 994, "loc": { "start": { "line": 26, "column": 49 }, "end": { "line": 26, "column": 60 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 994, "end": 995, "loc": { "start": { "line": 26, "column": 60 }, "end": { "line": 26, "column": 61 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 996, "end": 997, "loc": { "start": { "line": 26, "column": 62 }, "end": { "line": 26, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "readerComp", "start": 1015, "end": 1025, "loc": { "start": { "line": 27, "column": 16 }, "end": { "line": 27, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1025, "end": 1026, "loc": { "start": { "line": 27, "column": 26 }, "end": { "line": 27, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastItemTimes", "start": 1026, "end": 1039, "loc": { "start": { "line": 27, "column": 27 }, "end": { "line": 27, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1039, "end": 1040, "loc": { "start": { "line": 27, "column": 40 }, "end": { "line": 27, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shift", "start": 1040, "end": 1045, "loc": { "start": { "line": 27, "column": 41 }, "end": { "line": 27, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1045, "end": 1046, "loc": { "start": { "line": 27, "column": 46 }, "end": { "line": 27, "column": 47 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1046, "end": 1047, "loc": { "start": { "line": 27, "column": 47 }, "end": { "line": 27, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1047, "end": 1048, "loc": { "start": { "line": 27, "column": 48 }, "end": { "line": 27, "column": 49 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1062, "end": 1063, "loc": { "start": { "line": 28, "column": 12 }, "end": { "line": 28, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pinsComp", "start": 1079, "end": 1087, "loc": { "start": { "line": 30, "column": 12 }, "end": { "line": 30, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1087, "end": 1088, "loc": { "start": { "line": 30, "column": 20 }, "end": { "line": 30, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "slots", "start": 1088, "end": 1093, "loc": { "start": { "line": 30, "column": 21 }, "end": { "line": 30, "column": 26 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1093, "end": 1094, "loc": { "start": { "line": 30, "column": 26 }, "end": { "line": 30, "column": 27 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 1094, "end": 1095, "loc": { "start": { "line": 30, "column": 27 }, "end": { "line": 30, "column": 28 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1095, "end": 1096, "loc": { "start": { "line": 30, "column": 28 }, "end": { "line": 30, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1096, "end": 1097, "loc": { "start": { "line": 30, "column": 29 }, "end": { "line": 30, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "value", "start": 1097, "end": 1102, "loc": { "start": { "line": 30, "column": 30 }, "end": { "line": 30, "column": 35 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1103, "end": 1104, "loc": { "start": { "line": 30, "column": 36 }, "end": { "line": 30, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "readerComp", "start": 1105, "end": 1115, "loc": { "start": { "line": 30, "column": 38 }, "end": { "line": 30, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1115, "end": 1116, "loc": { "start": { "line": 30, "column": 48 }, "end": { "line": 30, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastItem", "start": 1116, "end": 1124, "loc": { "start": { "line": 30, "column": 49 }, "end": { "line": 30, "column": 57 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1124, "end": 1125, "loc": { "start": { "line": 30, "column": 57 }, "end": { "line": 30, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pinsComp", "start": 1139, "end": 1147, "loc": { "start": { "line": 31, "column": 12 }, "end": { "line": 31, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1147, "end": 1148, "loc": { "start": { "line": 31, "column": 20 }, "end": { "line": 31, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "slots", "start": 1148, "end": 1153, "loc": { "start": { "line": 31, "column": 21 }, "end": { "line": 31, "column": 26 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1153, "end": 1154, "loc": { "start": { "line": 31, "column": 26 }, "end": { "line": 31, "column": 27 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 1154, "end": 1155, "loc": { "start": { "line": 31, "column": 27 }, "end": { "line": 31, "column": 28 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1155, "end": 1156, "loc": { "start": { "line": 31, "column": 28 }, "end": { "line": 31, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1156, "end": 1157, "loc": { "start": { "line": 31, "column": 29 }, "end": { "line": 31, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "value", "start": 1157, "end": 1162, "loc": { "start": { "line": 31, "column": 30 }, "end": { "line": 31, "column": 35 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1163, "end": 1164, "loc": { "start": { "line": 31, "column": 36 }, "end": { "line": 31, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1182, "end": 1183, "loc": { "start": { "line": 32, "column": 16 }, "end": { "line": 32, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "readerComp", "start": 1183, "end": 1193, "loc": { "start": { "line": 32, "column": 17 }, "end": { "line": 32, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1193, "end": 1194, "loc": { "start": { "line": 32, "column": 27 }, "end": { "line": 32, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastItemTimes", "start": 1194, "end": 1207, "loc": { "start": { "line": 32, "column": 28 }, "end": { "line": 32, "column": 41 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1207, "end": 1208, "loc": { "start": { "line": 32, "column": 41 }, "end": { "line": 32, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "readerComp", "start": 1208, "end": 1218, "loc": { "start": { "line": 32, "column": 42 }, "end": { "line": 32, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1218, "end": 1219, "loc": { "start": { "line": 32, "column": 52 }, "end": { "line": 32, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastItemTimes", "start": 1219, "end": 1232, "loc": { "start": { "line": 32, "column": 53 }, "end": { "line": 32, "column": 66 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1232, "end": 1233, "loc": { "start": { "line": 32, "column": 66 }, "end": { "line": 32, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 1233, "end": 1239, "loc": { "start": { "line": 32, "column": 67 }, "end": { "line": 32, "column": 73 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 1240, "end": 1241, "loc": { "start": { "line": 32, "column": 74 }, "end": { "line": 32, "column": 75 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 1242, "end": 1243, "loc": { "start": { "line": 32, "column": 76 }, "end": { "line": 32, "column": 77 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1243, "end": 1244, "loc": { "start": { "line": 32, "column": 77 }, "end": { "line": 32, "column": 78 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 1245, "end": 1247, "loc": { "start": { "line": 32, "column": 79 }, "end": { "line": 32, "column": 81 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 1248, "end": 1249, "loc": { "start": { "line": 32, "column": 82 }, "end": { "line": 32, "column": 83 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1249, "end": 1250, "loc": { "start": { "line": 32, "column": 83 }, "end": { "line": 32, "column": 84 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 1251, "end": 1252, "loc": { "start": { "line": 32, "column": 85 }, "end": { "line": 32, "column": 86 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "minimumTimeForThroughput", "start": 1270, "end": 1294, "loc": { "start": { "line": 33, "column": 16 }, "end": { "line": 33, "column": 40 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1295, "end": 1296, "loc": { "start": { "line": 33, "column": 41 }, "end": { "line": 33, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "BOOL_TRUE_SINGLETON", "start": 1314, "end": 1333, "loc": { "start": { "line": 34, "column": 16 }, "end": { "line": 34, "column": 35 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1334, "end": 1335, "loc": { "start": { "line": 34, "column": 36 }, "end": { "line": 34, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "BOOL_FALSE_SINGLETON", "start": 1353, "end": 1373, "loc": { "start": { "line": 35, "column": 16 }, "end": { "line": 35, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1373, "end": 1374, "loc": { "start": { "line": 35, "column": 36 }, "end": { "line": 35, "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": 1390, "end": 1392, "loc": { "start": { "line": 37, "column": 12 }, "end": { "line": 37, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1393, "end": 1394, "loc": { "start": { "line": 37, "column": 15 }, "end": { "line": 37, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "now", "start": 1394, "end": 1397, "loc": { "start": { "line": 37, "column": 16 }, "end": { "line": 37, "column": 19 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 1398, "end": 1399, "loc": { "start": { "line": 37, "column": 20 }, "end": { "line": 37, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "readerComp", "start": 1400, "end": 1410, "loc": { "start": { "line": 37, "column": 22 }, "end": { "line": 37, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1410, "end": 1411, "loc": { "start": { "line": 37, "column": 32 }, "end": { "line": 37, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastThroughputComputation", "start": 1411, "end": 1436, "loc": { "start": { "line": 37, "column": 33 }, "end": { "line": 37, "column": 58 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 1437, "end": 1438, "loc": { "start": { "line": 37, "column": 59 }, "end": { "line": 37, "column": 60 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.5, "start": 1439, "end": 1442, "loc": { "start": { "line": 37, "column": 61 }, "end": { "line": 37, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1442, "end": 1443, "loc": { "start": { "line": 37, "column": 64 }, "end": { "line": 37, "column": 65 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1444, "end": 1445, "loc": { "start": { "line": 37, "column": 66 }, "end": { "line": 37, "column": 67 } } }, { "type": "CommentLine", "value": " Compute throughput", "start": 1463, "end": 1484, "loc": { "start": { "line": 38, "column": 16 }, "end": { "line": 38, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "readerComp", "start": 1502, "end": 1512, "loc": { "start": { "line": 39, "column": 16 }, "end": { "line": 39, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1512, "end": 1513, "loc": { "start": { "line": 39, "column": 26 }, "end": { "line": 39, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastThroughputComputation", "start": 1513, "end": 1538, "loc": { "start": { "line": 39, "column": 27 }, "end": { "line": 39, "column": 52 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1539, "end": 1540, "loc": { "start": { "line": 39, "column": 53 }, "end": { "line": 39, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "now", "start": 1541, "end": 1544, "loc": { "start": { "line": 39, "column": 55 }, "end": { "line": 39, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1544, "end": 1545, "loc": { "start": { "line": 39, "column": 58 }, "end": { "line": 39, "column": 59 } } }, { "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": 1565, "end": 1568, "loc": { "start": { "line": 41, "column": 16 }, "end": { "line": 41, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "throughput", "start": 1569, "end": 1579, "loc": { "start": { "line": 41, "column": 20 }, "end": { "line": 41, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1580, "end": 1581, "loc": { "start": { "line": 41, "column": 31 }, "end": { "line": 41, "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": 1582, "end": 1583, "loc": { "start": { "line": 41, "column": 33 }, "end": { "line": 41, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1583, "end": 1584, "loc": { "start": { "line": 41, "column": 34 }, "end": { "line": 41, "column": 35 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 1602, "end": 1604, "loc": { "start": { "line": 42, "column": 16 }, "end": { "line": 42, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1605, "end": 1606, "loc": { "start": { "line": 42, "column": 19 }, "end": { "line": 42, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "readerComp", "start": 1606, "end": 1616, "loc": { "start": { "line": 42, "column": 20 }, "end": { "line": 42, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1616, "end": 1617, "loc": { "start": { "line": 42, "column": 30 }, "end": { "line": 42, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastItemTimes", "start": 1617, "end": 1630, "loc": { "start": { "line": 42, "column": 31 }, "end": { "line": 42, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1630, "end": 1631, "loc": { "start": { "line": 42, "column": 44 }, "end": { "line": 42, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 1631, "end": 1637, "loc": { "start": { "line": 42, "column": 45 }, "end": { "line": 42, "column": 51 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 1638, "end": 1639, "loc": { "start": { "line": 42, "column": 52 }, "end": { "line": 42, "column": 53 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 1640, "end": 1641, "loc": { "start": { "line": 42, "column": 54 }, "end": { "line": 42, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1641, "end": 1642, "loc": { "start": { "line": 42, "column": 55 }, "end": { "line": 42, "column": 56 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1643, "end": 1644, "loc": { "start": { "line": 42, "column": 57 }, "end": { "line": 42, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "throughput", "start": 1666, "end": 1676, "loc": { "start": { "line": 43, "column": 20 }, "end": { "line": 43, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1677, "end": 1678, "loc": { "start": { "line": 43, "column": 31 }, "end": { "line": 43, "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": 1679, "end": 1680, "loc": { "start": { "line": 43, "column": 33 }, "end": { "line": 43, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1680, "end": 1681, "loc": { "start": { "line": 43, "column": 34 }, "end": { "line": 43, "column": 35 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1699, "end": 1700, "loc": { "start": { "line": 44, "column": 16 }, "end": { "line": 44, "column": 17 } } }, { "type": { "label": "else", "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "else", "start": 1701, "end": 1705, "loc": { "start": { "line": 44, "column": 18 }, "end": { "line": 44, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1706, "end": 1707, "loc": { "start": { "line": 44, "column": 23 }, "end": { "line": 44, "column": 24 } } }, { "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": 1729, "end": 1732, "loc": { "start": { "line": 45, "column": 20 }, "end": { "line": 45, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "averageSpacing", "start": 1733, "end": 1747, "loc": { "start": { "line": 45, "column": 24 }, "end": { "line": 45, "column": 38 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1748, "end": 1749, "loc": { "start": { "line": 45, "column": 39 }, "end": { "line": 45, "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": 1750, "end": 1751, "loc": { "start": { "line": 45, "column": 41 }, "end": { "line": 45, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1751, "end": 1752, "loc": { "start": { "line": 45, "column": 42 }, "end": { "line": 45, "column": 43 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 1774, "end": 1777, "loc": { "start": { "line": 46, "column": 20 }, "end": { "line": 46, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "averageSpacingNum", "start": 1778, "end": 1795, "loc": { "start": { "line": 46, "column": 24 }, "end": { "line": 46, "column": 41 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1796, "end": 1797, "loc": { "start": { "line": 46, "column": 42 }, "end": { "line": 46, "column": 43 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 1798, "end": 1799, "loc": { "start": { "line": 46, "column": 44 }, "end": { "line": 46, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1799, "end": 1800, "loc": { "start": { "line": 46, "column": 45 }, "end": { "line": 46, "column": 46 } } }, { "type": { "label": "for", "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "for", "start": 1822, "end": 1825, "loc": { "start": { "line": 47, "column": 20 }, "end": { "line": 47, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1826, "end": 1827, "loc": { "start": { "line": 47, "column": 24 }, "end": { "line": 47, "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": 1827, "end": 1830, "loc": { "start": { "line": 47, "column": 25 }, "end": { "line": 47, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 1831, "end": 1832, "loc": { "start": { "line": 47, "column": 29 }, "end": { "line": 47, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1833, "end": 1834, "loc": { "start": { "line": 47, "column": 31 }, "end": { "line": 47, "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": 1835, "end": 1836, "loc": { "start": { "line": 47, "column": 33 }, "end": { "line": 47, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1836, "end": 1837, "loc": { "start": { "line": 47, "column": 34 }, "end": { "line": 47, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 1838, "end": 1839, "loc": { "start": { "line": 47, "column": 36 }, "end": { "line": 47, "column": 37 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 1840, "end": 1841, "loc": { "start": { "line": 47, "column": 38 }, "end": { "line": 47, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "readerComp", "start": 1842, "end": 1852, "loc": { "start": { "line": 47, "column": 40 }, "end": { "line": 47, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1852, "end": 1853, "loc": { "start": { "line": 47, "column": 50 }, "end": { "line": 47, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastItemTimes", "start": 1853, "end": 1866, "loc": { "start": { "line": 47, "column": 51 }, "end": { "line": 47, "column": 64 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1866, "end": 1867, "loc": { "start": { "line": 47, "column": 64 }, "end": { "line": 47, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 1867, "end": 1873, "loc": { "start": { "line": 47, "column": 65 }, "end": { "line": 47, "column": 71 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 1874, "end": 1875, "loc": { "start": { "line": 47, "column": 72 }, "end": { "line": 47, "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": 1876, "end": 1877, "loc": { "start": { "line": 47, "column": 74 }, "end": { "line": 47, "column": 75 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1877, "end": 1878, "loc": { "start": { "line": 47, "column": 75 }, "end": { "line": 47, "column": 76 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 1879, "end": 1881, "loc": { "start": { "line": 47, "column": 77 }, "end": { "line": 47, "column": 79 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 1881, "end": 1882, "loc": { "start": { "line": 47, "column": 79 }, "end": { "line": 47, "column": 80 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1882, "end": 1883, "loc": { "start": { "line": 47, "column": 80 }, "end": { "line": 47, "column": 81 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1884, "end": 1885, "loc": { "start": { "line": 47, "column": 82 }, "end": { "line": 47, "column": 83 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "averageSpacing", "start": 1911, "end": 1925, "loc": { "start": { "line": 48, "column": 24 }, "end": { "line": 48, "column": 38 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 1926, "end": 1928, "loc": { "start": { "line": 48, "column": 39 }, "end": { "line": 48, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "readerComp", "start": 1929, "end": 1939, "loc": { "start": { "line": 48, "column": 42 }, "end": { "line": 48, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1939, "end": 1940, "loc": { "start": { "line": 48, "column": 52 }, "end": { "line": 48, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastItemTimes", "start": 1940, "end": 1953, "loc": { "start": { "line": 48, "column": 53 }, "end": { "line": 48, "column": 66 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1953, "end": 1954, "loc": { "start": { "line": 48, "column": 66 }, "end": { "line": 48, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 1954, "end": 1955, "loc": { "start": { "line": 48, "column": 67 }, "end": { "line": 48, "column": 68 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 1956, "end": 1957, "loc": { "start": { "line": 48, "column": 69 }, "end": { "line": 48, "column": 70 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 1958, "end": 1959, "loc": { "start": { "line": 48, "column": 71 }, "end": { "line": 48, "column": 72 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1959, "end": 1960, "loc": { "start": { "line": 48, "column": 72 }, "end": { "line": 48, "column": 73 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 1961, "end": 1962, "loc": { "start": { "line": 48, "column": 74 }, "end": { "line": 48, "column": 75 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "readerComp", "start": 1963, "end": 1973, "loc": { "start": { "line": 48, "column": 76 }, "end": { "line": 48, "column": 86 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1973, "end": 1974, "loc": { "start": { "line": 48, "column": 86 }, "end": { "line": 48, "column": 87 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastItemTimes", "start": 1974, "end": 1987, "loc": { "start": { "line": 48, "column": 87 }, "end": { "line": 48, "column": 100 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1987, "end": 1988, "loc": { "start": { "line": 48, "column": 100 }, "end": { "line": 48, "column": 101 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 1988, "end": 1989, "loc": { "start": { "line": 48, "column": 101 }, "end": { "line": 48, "column": 102 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1989, "end": 1990, "loc": { "start": { "line": 48, "column": 102 }, "end": { "line": 48, "column": 103 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1990, "end": 1991, "loc": { "start": { "line": 48, "column": 103 }, "end": { "line": 48, "column": 104 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 2017, "end": 2019, "loc": { "start": { "line": 49, "column": 24 }, "end": { "line": 49, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "averageSpacingNum", "start": 2019, "end": 2036, "loc": { "start": { "line": 49, "column": 26 }, "end": { "line": 49, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2036, "end": 2037, "loc": { "start": { "line": 49, "column": 43 }, "end": { "line": 49, "column": 44 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2059, "end": 2060, "loc": { "start": { "line": 50, "column": 20 }, "end": { "line": 50, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "throughput", "start": 2084, "end": 2094, "loc": { "start": { "line": 52, "column": 20 }, "end": { "line": 52, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2095, "end": 2096, "loc": { "start": { "line": 52, "column": 31 }, "end": { "line": 52, "column": 32 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 2097, "end": 2098, "loc": { "start": { "line": 52, "column": 33 }, "end": { "line": 52, "column": 34 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 2099, "end": 2100, "loc": { "start": { "line": 52, "column": 35 }, "end": { "line": 52, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2101, "end": 2102, "loc": { "start": { "line": 52, "column": 37 }, "end": { "line": 52, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "averageSpacing", "start": 2102, "end": 2116, "loc": { "start": { "line": 52, "column": 38 }, "end": { "line": 52, "column": 52 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 2117, "end": 2118, "loc": { "start": { "line": 52, "column": 53 }, "end": { "line": 52, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "averageSpacingNum", "start": 2119, "end": 2136, "loc": { "start": { "line": 52, "column": 55 }, "end": { "line": 52, "column": 72 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2136, "end": 2137, "loc": { "start": { "line": 52, "column": 72 }, "end": { "line": 52, "column": 73 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2137, "end": 2138, "loc": { "start": { "line": 52, "column": 73 }, "end": { "line": 52, "column": 74 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2156, "end": 2157, "loc": { "start": { "line": 53, "column": 16 }, "end": { "line": 53, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "readerComp", "start": 2177, "end": 2187, "loc": { "start": { "line": 55, "column": 16 }, "end": { "line": 55, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2187, "end": 2188, "loc": { "start": { "line": 55, "column": 26 }, "end": { "line": 55, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastThroughput", "start": 2188, "end": 2202, "loc": { "start": { "line": 55, "column": 27 }, "end": { "line": 55, "column": 41 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2203, "end": 2204, "loc": { "start": { "line": 55, "column": 42 }, "end": { "line": 55, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 2205, "end": 2209, "loc": { "start": { "line": 55, "column": 44 }, "end": { "line": 55, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2209, "end": 2210, "loc": { "start": { "line": 55, "column": 48 }, "end": { "line": 55, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "min", "start": 2210, "end": 2213, "loc": { "start": { "line": 55, "column": 49 }, "end": { "line": 55, "column": 52 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2213, "end": 2214, "loc": { "start": { "line": 55, "column": 52 }, "end": { "line": 55, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 2214, "end": 2226, "loc": { "start": { "line": 55, "column": 53 }, "end": { "line": 55, "column": 65 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2226, "end": 2227, "loc": { "start": { "line": 55, "column": 65 }, "end": { "line": 55, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beltSpeedItemsPerSecond", "start": 2227, "end": 2250, "loc": { "start": { "line": 55, "column": 66 }, "end": { "line": 55, "column": 89 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 2251, "end": 2252, "loc": { "start": { "line": 55, "column": 90 }, "end": { "line": 55, "column": 91 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 23.9, "start": 2253, "end": 2257, "loc": { "start": { "line": 55, "column": 92 }, "end": { "line": 55, "column": 96 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2257, "end": 2258, "loc": { "start": { "line": 55, "column": 96 }, "end": { "line": 55, "column": 97 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "throughput", "start": 2259, "end": 2269, "loc": { "start": { "line": 55, "column": 98 }, "end": { "line": 55, "column": 108 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2269, "end": 2270, "loc": { "start": { "line": 55, "column": 108 }, "end": { "line": 55, "column": 109 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2270, "end": 2271, "loc": { "start": { "line": 55, "column": 109 }, "end": { "line": 55, "column": 110 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2285, "end": 2286, "loc": { "start": { "line": 56, "column": 12 }, "end": { "line": 56, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2296, "end": 2297, "loc": { "start": { "line": 57, "column": 8 }, "end": { "line": 57, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2303, "end": 2304, "loc": { "start": { "line": 58, "column": 4 }, "end": { "line": 58, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2306, "end": 2307, "loc": { "start": { "line": 59, "column": 0 }, "end": { "line": 59, "column": 1 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2307, "end": 2307, "loc": { "start": { "line": 59, "column": 1 }, "end": { "line": 59, "column": 1 } } } ] }