{ "type": "File", "start": 0, "end": 1592, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 61, "column": 0 } }, "program": { "type": "Program", "start": 0, "end": 1592, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 61, "column": 0 } }, "sourceType": "module", "body": [ { "type": "ImportDeclaration", "start": 0, "end": 53, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 53 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 9, "end": 14, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 14 } }, "imported": { "type": "Identifier", "start": 9, "end": 14, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 14 }, "identifierName": "types" }, "name": "types" }, "local": { "type": "Identifier", "start": 9, "end": 14, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 14 }, "identifierName": "types" }, "name": "types" } } ], "source": { "type": "StringLiteral", "start": 22, "end": 52, "loc": { "start": { "line": 1, "column": 22 }, "end": { "line": 1, "column": 52 } }, "extra": { "rawValue": "../../savegame/serialization", "raw": "\"../../savegame/serialization\"" }, "value": "../../savegame/serialization" } }, { "type": "ImportDeclaration", "start": 55, "end": 95, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 40 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 64, "end": 72, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 17 } }, "imported": { "type": "Identifier", "start": 64, "end": 72, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 17 }, "identifierName": "BaseItem" }, "name": "BaseItem" }, "local": { "type": "Identifier", "start": 64, "end": 72, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 17 }, "identifierName": "BaseItem" }, "name": "BaseItem" } } ], "source": { "type": "StringLiteral", "start": 80, "end": 94, "loc": { "start": { "line": 2, "column": 25 }, "end": { "line": 2, "column": 39 } }, "extra": { "rawValue": "../base_item", "raw": "\"../base_item\"" }, "value": "../base_item" } }, { "type": "ImportDeclaration", "start": 97, "end": 138, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 41 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 106, "end": 115, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 18 } }, "imported": { "type": "Identifier", "start": 106, "end": 115, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 18 }, "identifierName": "Component" }, "name": "Component" }, "local": { "type": "Identifier", "start": 106, "end": 115, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 18 }, "identifierName": "Component" }, "name": "Component" } } ], "source": { "type": "StringLiteral", "start": 123, "end": 137, "loc": { "start": { "line": 3, "column": 26 }, "end": { "line": 3, "column": 40 } }, "extra": { "rawValue": "../component", "raw": "\"../component\"" }, "value": "../component" } }, { "type": "ImportDeclaration", "start": 140, "end": 175, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 35 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 149, "end": 155, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 15 } }, "imported": { "type": "Identifier", "start": 149, "end": 155, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 15 }, "identifierName": "Entity" }, "name": "Entity" }, "local": { "type": "Identifier", "start": 149, "end": 155, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 15 }, "identifierName": "Entity" }, "name": "Entity" } } ], "source": { "type": "StringLiteral", "start": 163, "end": 174, "loc": { "start": { "line": 4, "column": 23 }, "end": { "line": 4, "column": 34 } }, "extra": { "rawValue": "../entity", "raw": "\"../entity\"" }, "value": "../entity" } }, { "type": "ImportDeclaration", "start": 177, "end": 230, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 53 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 186, "end": 203, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 26 } }, "imported": { "type": "Identifier", "start": 186, "end": 203, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 26 }, "identifierName": "typeItemSingleton" }, "name": "typeItemSingleton" }, "local": { "type": "Identifier", "start": 186, "end": 203, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 26 }, "identifierName": "typeItemSingleton" }, "name": "typeItemSingleton" } } ], "source": { "type": "StringLiteral", "start": 211, "end": 229, "loc": { "start": { "line": 5, "column": 34 }, "end": { "line": 5, "column": 52 } }, "extra": { "rawValue": "../item_resolver", "raw": "\"../item_resolver\"" }, "value": "../item_resolver" } }, { "type": "VariableDeclaration", "start": 234, "end": 260, "loc": { "start": { "line": 7, "column": 0 }, "end": { "line": 7, "column": 26 } }, "declarations": [ { "type": "VariableDeclarator", "start": 240, "end": 259, "loc": { "start": { "line": 7, "column": 6 }, "end": { "line": 7, "column": 25 } }, "id": { "type": "Identifier", "start": 240, "end": 255, "loc": { "start": { "line": 7, "column": 6 }, "end": { "line": 7, "column": 21 }, "identifierName": "chainBufferSize" }, "name": "chainBufferSize" }, "init": { "type": "NumericLiteral", "start": 258, "end": 259, "loc": { "start": { "line": 7, "column": 24 }, "end": { "line": 7, "column": 25 } }, "extra": { "rawValue": 6, "raw": "6" }, "value": 6 } } ], "kind": "const" }, { "type": "ExportNamedDeclaration", "start": 264, "end": 1590, "loc": { "start": { "line": 9, "column": 0 }, "end": { "line": 60, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "ClassDeclaration", "start": 271, "end": 1590, "loc": { "start": { "line": 9, "column": 7 }, "end": { "line": 60, "column": 1 } }, "id": { "type": "Identifier", "start": 277, "end": 291, "loc": { "start": { "line": 9, "column": 13 }, "end": { "line": 9, "column": 27 }, "identifierName": "MinerComponent" }, "name": "MinerComponent" }, "superClass": { "type": "Identifier", "start": 300, "end": 309, "loc": { "start": { "line": 9, "column": 36 }, "end": { "line": 9, "column": 45 }, "identifierName": "Component" }, "name": "Component" }, "body": { "type": "ClassBody", "start": 310, "end": 1590, "loc": { "start": { "line": 9, "column": 46 }, "end": { "line": 60, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 317, "end": 365, "loc": { "start": { "line": 10, "column": 4 }, "end": { "line": 12, "column": 5 } }, "static": true, "computed": false, "key": { "type": "Identifier", "start": 324, "end": 329, "loc": { "start": { "line": 10, "column": 11 }, "end": { "line": 10, "column": 16 }, "identifierName": "getId" }, "name": "getId" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 332, "end": 365, "loc": { "start": { "line": 10, "column": 19 }, "end": { "line": 12, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 343, "end": 358, "loc": { "start": { "line": 11, "column": 8 }, "end": { "line": 11, "column": 23 } }, "argument": { "type": "StringLiteral", "start": 350, "end": 357, "loc": { "start": { "line": 11, "column": 15 }, "end": { "line": 11, "column": 22 } }, "extra": { "rawValue": "Miner", "raw": "\"Miner\"" }, "value": "Miner" } } ], "directives": [] } }, { "type": "ClassMethod", "start": 373, "end": 582, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 20, "column": 5 } }, "static": true, "computed": false, "key": { "type": "Identifier", "start": 380, "end": 389, "loc": { "start": { "line": 14, "column": 11 }, "end": { "line": 14, "column": 20 }, "identifierName": "getSchema" }, "name": "getSchema" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 392, "end": 582, "loc": { "start": { "line": 14, "column": 23 }, "end": { "line": 20, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 450, "end": 575, "loc": { "start": { "line": 16, "column": 8 }, "end": { "line": 19, "column": 10 } }, "argument": { "type": "ObjectExpression", "start": 457, "end": 574, "loc": { "start": { "line": 16, "column": 15 }, "end": { "line": 19, "column": 9 } }, "properties": [ { "type": "ObjectProperty", "start": 472, "end": 500, "loc": { "start": { "line": 17, "column": 12 }, "end": { "line": 17, "column": 40 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 472, "end": 486, "loc": { "start": { "line": 17, "column": 12 }, "end": { "line": 17, "column": 26 }, "identifierName": "lastMiningTime" }, "name": "lastMiningTime", "leadingComments": null }, "value": { "type": "MemberExpression", "start": 488, "end": 500, "loc": { "start": { "line": 17, "column": 28 }, "end": { "line": 17, "column": 40 } }, "object": { "type": "Identifier", "start": 488, "end": 493, "loc": { "start": { "line": 17, "column": 28 }, "end": { "line": 17, "column": 33 }, "identifierName": "types" }, "name": "types" }, "property": { "type": "Identifier", "start": 494, "end": 500, "loc": { "start": { "line": 17, "column": 34 }, "end": { "line": 17, "column": 40 }, "identifierName": "ufloat" }, "name": "ufloat" }, "computed": false }, "leadingComments": null }, { "type": "ObjectProperty", "start": 515, "end": 562, "loc": { "start": { "line": 18, "column": 12 }, "end": { "line": 18, "column": 59 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 515, "end": 530, "loc": { "start": { "line": 18, "column": 12 }, "end": { "line": 18, "column": 27 }, "identifierName": "itemChainBuffer" }, "name": "itemChainBuffer" }, "value": { "type": "CallExpression", "start": 532, "end": 562, "loc": { "start": { "line": 18, "column": 29 }, "end": { "line": 18, "column": 59 } }, "callee": { "type": "MemberExpression", "start": 532, "end": 543, "loc": { "start": { "line": 18, "column": 29 }, "end": { "line": 18, "column": 40 } }, "object": { "type": "Identifier", "start": 532, "end": 537, "loc": { "start": { "line": 18, "column": 29 }, "end": { "line": 18, "column": 34 }, "identifierName": "types" }, "name": "types" }, "property": { "type": "Identifier", "start": 538, "end": 543, "loc": { "start": { "line": 18, "column": 35 }, "end": { "line": 18, "column": 40 }, "identifierName": "array" }, "name": "array" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 544, "end": 561, "loc": { "start": { "line": 18, "column": 41 }, "end": { "line": 18, "column": 58 }, "identifierName": "typeItemSingleton" }, "name": "typeItemSingleton" } ] } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " cachedMinedItem is not serialized.", "start": 403, "end": 440, "loc": { "start": { "line": 15, "column": 8 }, "end": { "line": 15, "column": 45 } } } ] } ], "directives": [] } }, { "type": "ClassMethod", "start": 590, "end": 1282, "loc": { "start": { "line": 22, "column": 4 }, "end": { "line": 45, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 590, "end": 601, "loc": { "start": { "line": 22, "column": 4 }, "end": { "line": 22, "column": 15 }, "identifierName": "constructor" }, "name": "constructor" }, "kind": "constructor", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "ObjectPattern", "start": 602, "end": 623, "loc": { "start": { "line": 22, "column": 16 }, "end": { "line": 22, "column": 37 } }, "properties": [ { "type": "ObjectProperty", "start": 604, "end": 621, "loc": { "start": { "line": 22, "column": 18 }, "end": { "line": 22, "column": 35 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 604, "end": 613, "loc": { "start": { "line": 22, "column": 18 }, "end": { "line": 22, "column": 27 }, "identifierName": "chainable" }, "name": "chainable" }, "value": { "type": "AssignmentPattern", "start": 604, "end": 621, "loc": { "start": { "line": 22, "column": 18 }, "end": { "line": 22, "column": 35 } }, "left": { "type": "Identifier", "start": 604, "end": 613, "loc": { "start": { "line": 22, "column": 18 }, "end": { "line": 22, "column": 27 }, "identifierName": "chainable" }, "name": "chainable" }, "right": { "type": "BooleanLiteral", "start": 616, "end": 621, "loc": { "start": { "line": 22, "column": 30 }, "end": { "line": 22, "column": 35 } }, "value": false } }, "extra": { "shorthand": true } } ] } ], "body": { "type": "BlockStatement", "start": 625, "end": 1282, "loc": { "start": { "line": 22, "column": 39 }, "end": { "line": 45, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 636, "end": 644, "loc": { "start": { "line": 23, "column": 8 }, "end": { "line": 23, "column": 16 } }, "expression": { "type": "CallExpression", "start": 636, "end": 643, "loc": { "start": { "line": 23, "column": 8 }, "end": { "line": 23, "column": 15 } }, "callee": { "type": "Super", "start": 636, "end": 641, "loc": { "start": { "line": 23, "column": 8 }, "end": { "line": 23, "column": 13 } } }, "arguments": [] } }, { "type": "ExpressionStatement", "start": 654, "end": 678, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 32 } }, "expression": { "type": "AssignmentExpression", "start": 654, "end": 677, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 31 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 654, "end": 673, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 27 } }, "object": { "type": "ThisExpression", "start": 654, "end": 658, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 12 } } }, "property": { "type": "Identifier", "start": 659, "end": 673, "loc": { "start": { "line": 24, "column": 13 }, "end": { "line": 24, "column": 27 }, "identifierName": "lastMiningTime" }, "name": "lastMiningTime" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 676, "end": 677, "loc": { "start": { "line": 24, "column": 30 }, "end": { "line": 24, "column": 31 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } }, { "type": "ExpressionStatement", "start": 688, "end": 715, "loc": { "start": { "line": 25, "column": 8 }, "end": { "line": 25, "column": 35 } }, "expression": { "type": "AssignmentExpression", "start": 688, "end": 714, "loc": { "start": { "line": 25, "column": 8 }, "end": { "line": 25, "column": 34 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 688, "end": 702, "loc": { "start": { "line": 25, "column": 8 }, "end": { "line": 25, "column": 22 } }, "object": { "type": "ThisExpression", "start": 688, "end": 692, "loc": { "start": { "line": 25, "column": 8 }, "end": { "line": 25, "column": 12 } } }, "property": { "type": "Identifier", "start": 693, "end": 702, "loc": { "start": { "line": 25, "column": 13 }, "end": { "line": 25, "column": 22 }, "identifierName": "chainable" }, "name": "chainable" }, "computed": false }, "right": { "type": "Identifier", "start": 705, "end": 714, "loc": { "start": { "line": 25, "column": 25 }, "end": { "line": 25, "column": 34 }, "identifierName": "chainable" }, "name": "chainable" } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Stores items from other miners which were chained to this\r\n * miner.\r\n * @type {Array}\r\n ", "start": 727, "end": 868, "loc": { "start": { "line": 27, "column": 8 }, "end": { "line": 31, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 878, "end": 904, "loc": { "start": { "line": 32, "column": 8 }, "end": { "line": 32, "column": 34 } }, "expression": { "type": "AssignmentExpression", "start": 878, "end": 903, "loc": { "start": { "line": 32, "column": 8 }, "end": { "line": 32, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 878, "end": 898, "loc": { "start": { "line": 32, "column": 8 }, "end": { "line": 32, "column": 28 } }, "object": { "type": "ThisExpression", "start": 878, "end": 882, "loc": { "start": { "line": 32, "column": 8 }, "end": { "line": 32, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 883, "end": 898, "loc": { "start": { "line": 32, "column": 13 }, "end": { "line": 32, "column": 28 }, "identifierName": "itemChainBuffer" }, "name": "itemChainBuffer" }, "computed": false, "leadingComments": null }, "right": { "type": "ArrayExpression", "start": 901, "end": 903, "loc": { "start": { "line": 32, "column": 31 }, "end": { "line": 32, "column": 33 } }, "elements": [] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Stores items from other miners which were chained to this\r\n * miner.\r\n * @type {Array}\r\n ", "start": 727, "end": 868, "loc": { "start": { "line": 27, "column": 8 }, "end": { "line": 31, "column": 11 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {BaseItem}\r\n ", "start": 916, "end": 961, "loc": { "start": { "line": 34, "column": 8 }, "end": { "line": 36, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 971, "end": 999, "loc": { "start": { "line": 37, "column": 8 }, "end": { "line": 37, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 971, "end": 998, "loc": { "start": { "line": 37, "column": 8 }, "end": { "line": 37, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 971, "end": 991, "loc": { "start": { "line": 37, "column": 8 }, "end": { "line": 37, "column": 28 } }, "object": { "type": "ThisExpression", "start": 971, "end": 975, "loc": { "start": { "line": 37, "column": 8 }, "end": { "line": 37, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 976, "end": 991, "loc": { "start": { "line": 37, "column": 13 }, "end": { "line": 37, "column": 28 }, "identifierName": "cachedMinedItem" }, "name": "cachedMinedItem" }, "computed": false, "leadingComments": null }, "right": { "type": "NullLiteral", "start": 994, "end": 998, "loc": { "start": { "line": 37, "column": 31 }, "end": { "line": 37, "column": 35 } } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {BaseItem}\r\n ", "start": 916, "end": 961, "loc": { "start": { "line": 34, "column": 8 }, "end": { "line": 36, "column": 11 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Which miner this miner ejects to, in case its a chainable one.\r\n * If the value is false, it means there is no entity, and we don't have to re-check\r\n * @type {Entity|null|false}\r\n ", "start": 1011, "end": 1234, "loc": { "start": { "line": 39, "column": 8 }, "end": { "line": 43, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 1244, "end": 1275, "loc": { "start": { "line": 44, "column": 8 }, "end": { "line": 44, "column": 39 } }, "expression": { "type": "AssignmentExpression", "start": 1244, "end": 1274, "loc": { "start": { "line": 44, "column": 8 }, "end": { "line": 44, "column": 38 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1244, "end": 1267, "loc": { "start": { "line": 44, "column": 8 }, "end": { "line": 44, "column": 31 } }, "object": { "type": "ThisExpression", "start": 1244, "end": 1248, "loc": { "start": { "line": 44, "column": 8 }, "end": { "line": 44, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 1249, "end": 1267, "loc": { "start": { "line": 44, "column": 13 }, "end": { "line": 44, "column": 31 }, "identifierName": "cachedChainedMiner" }, "name": "cachedChainedMiner" }, "computed": false, "leadingComments": null }, "right": { "type": "NullLiteral", "start": 1270, "end": 1274, "loc": { "start": { "line": 44, "column": 34 }, "end": { "line": 44, "column": 38 } } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Which miner this miner ejects to, in case its a chainable one.\r\n * If the value is false, it means there is no entity, and we don't have to re-check\r\n * @type {Entity|null|false}\r\n ", "start": 1011, "end": 1234, "loc": { "start": { "line": 39, "column": 8 }, "end": { "line": 43, "column": 11 } } } ] } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n *\r\n * @param {BaseItem} item\r\n ", "start": 1290, "end": 1341, "loc": { "start": { "line": 47, "column": 4 }, "end": { "line": 50, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 1347, "end": 1587, "loc": { "start": { "line": 51, "column": 4 }, "end": { "line": 59, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 1347, "end": 1367, "loc": { "start": { "line": 51, "column": 4 }, "end": { "line": 51, "column": 24 }, "identifierName": "tryAcceptChainedItem" }, "name": "tryAcceptChainedItem", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 1368, "end": 1372, "loc": { "start": { "line": 51, "column": 25 }, "end": { "line": 51, "column": 29 }, "identifierName": "item" }, "name": "item" } ], "body": { "type": "BlockStatement", "start": 1374, "end": 1587, "loc": { "start": { "line": 51, "column": 31 }, "end": { "line": 59, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 1385, "end": 1514, "loc": { "start": { "line": 52, "column": 8 }, "end": { "line": 55, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 1389, "end": 1434, "loc": { "start": { "line": 52, "column": 12 }, "end": { "line": 52, "column": 57 } }, "left": { "type": "MemberExpression", "start": 1389, "end": 1416, "loc": { "start": { "line": 52, "column": 12 }, "end": { "line": 52, "column": 39 } }, "object": { "type": "MemberExpression", "start": 1389, "end": 1409, "loc": { "start": { "line": 52, "column": 12 }, "end": { "line": 52, "column": 32 } }, "object": { "type": "ThisExpression", "start": 1389, "end": 1393, "loc": { "start": { "line": 52, "column": 12 }, "end": { "line": 52, "column": 16 } } }, "property": { "type": "Identifier", "start": 1394, "end": 1409, "loc": { "start": { "line": 52, "column": 17 }, "end": { "line": 52, "column": 32 }, "identifierName": "itemChainBuffer" }, "name": "itemChainBuffer" }, "computed": false }, "property": { "type": "Identifier", "start": 1410, "end": 1416, "loc": { "start": { "line": 52, "column": 33 }, "end": { "line": 52, "column": 39 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": ">", "right": { "type": "Identifier", "start": 1419, "end": 1434, "loc": { "start": { "line": 52, "column": 42 }, "end": { "line": 52, "column": 57 }, "identifierName": "chainBufferSize" }, "name": "chainBufferSize" } }, "consequent": { "type": "BlockStatement", "start": 1436, "end": 1514, "loc": { "start": { "line": 52, "column": 59 }, "end": { "line": 55, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 1490, "end": 1503, "loc": { "start": { "line": 54, "column": 12 }, "end": { "line": 54, "column": 25 } }, "argument": { "type": "BooleanLiteral", "start": 1497, "end": 1502, "loc": { "start": { "line": 54, "column": 19 }, "end": { "line": 54, "column": 24 } }, "value": false, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Well, this one is full", "start": 1451, "end": 1476, "loc": { "start": { "line": 53, "column": 12 }, "end": { "line": 53, "column": 37 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 1526, "end": 1558, "loc": { "start": { "line": 57, "column": 8 }, "end": { "line": 57, "column": 40 } }, "expression": { "type": "CallExpression", "start": 1526, "end": 1557, "loc": { "start": { "line": 57, "column": 8 }, "end": { "line": 57, "column": 39 } }, "callee": { "type": "MemberExpression", "start": 1526, "end": 1551, "loc": { "start": { "line": 57, "column": 8 }, "end": { "line": 57, "column": 33 } }, "object": { "type": "MemberExpression", "start": 1526, "end": 1546, "loc": { "start": { "line": 57, "column": 8 }, "end": { "line": 57, "column": 28 } }, "object": { "type": "ThisExpression", "start": 1526, "end": 1530, "loc": { "start": { "line": 57, "column": 8 }, "end": { "line": 57, "column": 12 } } }, "property": { "type": "Identifier", "start": 1531, "end": 1546, "loc": { "start": { "line": 57, "column": 13 }, "end": { "line": 57, "column": 28 }, "identifierName": "itemChainBuffer" }, "name": "itemChainBuffer" }, "computed": false }, "property": { "type": "Identifier", "start": 1547, "end": 1551, "loc": { "start": { "line": 57, "column": 29 }, "end": { "line": 57, "column": 33 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 1552, "end": 1556, "loc": { "start": { "line": 57, "column": 34 }, "end": { "line": 57, "column": 38 }, "identifierName": "item" }, "name": "item" } ] } }, { "type": "ReturnStatement", "start": 1568, "end": 1580, "loc": { "start": { "line": 58, "column": 8 }, "end": { "line": 58, "column": 20 } }, "argument": { "type": "BooleanLiteral", "start": 1575, "end": 1579, "loc": { "start": { "line": 58, "column": 15 }, "end": { "line": 58, "column": 19 } }, "value": true } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n *\r\n * @param {BaseItem} item\r\n ", "start": 1290, "end": 1341, "loc": { "start": { "line": 47, "column": 4 }, "end": { "line": 50, "column": 7 } } } ] } ] }, "leadingComments": [], "trailingComments": [] } } ], "directives": [] }, "comments": [ { "type": "CommentLine", "value": " cachedMinedItem is not serialized.", "start": 403, "end": 440, "loc": { "start": { "line": 15, "column": 8 }, "end": { "line": 15, "column": 45 } } }, { "type": "CommentBlock", "value": "*\r\n * Stores items from other miners which were chained to this\r\n * miner.\r\n * @type {Array}\r\n ", "start": 727, "end": 868, "loc": { "start": { "line": 27, "column": 8 }, "end": { "line": 31, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {BaseItem}\r\n ", "start": 916, "end": 961, "loc": { "start": { "line": 34, "column": 8 }, "end": { "line": 36, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Which miner this miner ejects to, in case its a chainable one.\r\n * If the value is false, it means there is no entity, and we don't have to re-check\r\n * @type {Entity|null|false}\r\n ", "start": 1011, "end": 1234, "loc": { "start": { "line": 39, "column": 8 }, "end": { "line": 43, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n *\r\n * @param {BaseItem} item\r\n ", "start": 1290, "end": 1341, "loc": { "start": { "line": 47, "column": 4 }, "end": { "line": 50, "column": 7 } } }, { "type": "CommentLine", "value": " Well, this one is full", "start": 1451, "end": 1476, "loc": { "start": { "line": 53, "column": 12 }, "end": { "line": 53, "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": "types", "start": 9, "end": 14, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 14 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15, "end": 16, "loc": { "start": { "line": 1, "column": 15 }, "end": { "line": 1, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 17, "end": 21, "loc": { "start": { "line": 1, "column": 17 }, "end": { "line": 1, "column": 21 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../../savegame/serialization", "start": 22, "end": 52, "loc": { "start": { "line": 1, "column": 22 }, "end": { "line": 1, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 52, "end": 53, "loc": { "start": { "line": 1, "column": 52 }, "end": { "line": 1, "column": 53 } } }, { "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": 55, "end": 61, "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": 62, "end": 63, "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "BaseItem", "start": 64, "end": 72, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 73, "end": 74, "loc": { "start": { "line": 2, "column": 18 }, "end": { "line": 2, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 75, "end": 79, "loc": { "start": { "line": 2, "column": 20 }, "end": { "line": 2, "column": 24 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../base_item", "start": 80, "end": 94, "loc": { "start": { "line": 2, "column": 25 }, "end": { "line": 2, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 94, "end": 95, "loc": { "start": { "line": 2, "column": 39 }, "end": { "line": 2, "column": 40 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 97, "end": 103, "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": 104, "end": 105, "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": "Component", "start": 106, "end": 115, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 116, "end": 117, "loc": { "start": { "line": 3, "column": 19 }, "end": { "line": 3, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 118, "end": 122, "loc": { "start": { "line": 3, "column": 21 }, "end": { "line": 3, "column": 25 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../component", "start": 123, "end": 137, "loc": { "start": { "line": 3, "column": 26 }, "end": { "line": 3, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 137, "end": 138, "loc": { "start": { "line": 3, "column": 40 }, "end": { "line": 3, "column": 41 } } }, { "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": 140, "end": 146, "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": 147, "end": 148, "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": "Entity", "start": 149, "end": 155, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 15 } } }, { "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": 4, "column": 16 }, "end": { "line": 4, "column": 17 } } }, { "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": 4, "column": 18 }, "end": { "line": 4, "column": 22 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../entity", "start": 163, "end": 174, "loc": { "start": { "line": 4, "column": 23 }, "end": { "line": 4, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 174, "end": 175, "loc": { "start": { "line": 4, "column": 34 }, "end": { "line": 4, "column": 35 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 177, "end": 183, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 184, "end": 185, "loc": { "start": { "line": 5, "column": 7 }, "end": { "line": 5, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "typeItemSingleton", "start": 186, "end": 203, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 26 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 204, "end": 205, "loc": { "start": { "line": 5, "column": 27 }, "end": { "line": 5, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 206, "end": 210, "loc": { "start": { "line": 5, "column": 29 }, "end": { "line": 5, "column": 33 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../item_resolver", "start": 211, "end": 229, "loc": { "start": { "line": 5, "column": 34 }, "end": { "line": 5, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 229, "end": 230, "loc": { "start": { "line": 5, "column": 52 }, "end": { "line": 5, "column": 53 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 234, "end": 239, "loc": { "start": { "line": 7, "column": 0 }, "end": { "line": 7, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "chainBufferSize", "start": 240, "end": 255, "loc": { "start": { "line": 7, "column": 6 }, "end": { "line": 7, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 256, "end": 257, "loc": { "start": { "line": 7, "column": 22 }, "end": { "line": 7, "column": 23 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 6, "start": 258, "end": 259, "loc": { "start": { "line": 7, "column": 24 }, "end": { "line": 7, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 259, "end": 260, "loc": { "start": { "line": 7, "column": 25 }, "end": { "line": 7, "column": 26 } } }, { "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": 264, "end": 270, "loc": { "start": { "line": 9, "column": 0 }, "end": { "line": 9, "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": 271, "end": 276, "loc": { "start": { "line": 9, "column": 7 }, "end": { "line": 9, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "MinerComponent", "start": 277, "end": 291, "loc": { "start": { "line": 9, "column": 13 }, "end": { "line": 9, "column": 27 } } }, { "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": 292, "end": 299, "loc": { "start": { "line": 9, "column": 28 }, "end": { "line": 9, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Component", "start": 300, "end": 309, "loc": { "start": { "line": 9, "column": 36 }, "end": { "line": 9, "column": 45 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 310, "end": 311, "loc": { "start": { "line": 9, "column": 46 }, "end": { "line": 9, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "static", "start": 317, "end": 323, "loc": { "start": { "line": 10, "column": 4 }, "end": { "line": 10, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getId", "start": 324, "end": 329, "loc": { "start": { "line": 10, "column": 11 }, "end": { "line": 10, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 329, "end": 330, "loc": { "start": { "line": 10, "column": 16 }, "end": { "line": 10, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 330, "end": 331, "loc": { "start": { "line": 10, "column": 17 }, "end": { "line": 10, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 332, "end": 333, "loc": { "start": { "line": 10, "column": 19 }, "end": { "line": 10, "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": 343, "end": 349, "loc": { "start": { "line": 11, "column": 8 }, "end": { "line": 11, "column": 14 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Miner", "start": 350, "end": 357, "loc": { "start": { "line": 11, "column": 15 }, "end": { "line": 11, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 357, "end": 358, "loc": { "start": { "line": 11, "column": 22 }, "end": { "line": 11, "column": 23 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 364, "end": 365, "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 12, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "static", "start": 373, "end": 379, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 14, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getSchema", "start": 380, "end": 389, "loc": { "start": { "line": 14, "column": 11 }, "end": { "line": 14, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 389, "end": 390, "loc": { "start": { "line": 14, "column": 20 }, "end": { "line": 14, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 390, "end": 391, "loc": { "start": { "line": 14, "column": 21 }, "end": { "line": 14, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 392, "end": 393, "loc": { "start": { "line": 14, "column": 23 }, "end": { "line": 14, "column": 24 } } }, { "type": "CommentLine", "value": " cachedMinedItem is not serialized.", "start": 403, "end": 440, "loc": { "start": { "line": 15, "column": 8 }, "end": { "line": 15, "column": 45 } } }, { "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": 450, "end": 456, "loc": { "start": { "line": 16, "column": 8 }, "end": { "line": 16, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 457, "end": 458, "loc": { "start": { "line": 16, "column": 15 }, "end": { "line": 16, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastMiningTime", "start": 472, "end": 486, "loc": { "start": { "line": 17, "column": 12 }, "end": { "line": 17, "column": 26 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 486, "end": 487, "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": "types", "start": 488, "end": 493, "loc": { "start": { "line": 17, "column": 28 }, "end": { "line": 17, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 493, "end": 494, "loc": { "start": { "line": 17, "column": 33 }, "end": { "line": 17, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ufloat", "start": 494, "end": 500, "loc": { "start": { "line": 17, "column": 34 }, "end": { "line": 17, "column": 40 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 500, "end": 501, "loc": { "start": { "line": 17, "column": 40 }, "end": { "line": 17, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemChainBuffer", "start": 515, "end": 530, "loc": { "start": { "line": 18, "column": 12 }, "end": { "line": 18, "column": 27 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 530, "end": 531, "loc": { "start": { "line": 18, "column": 27 }, "end": { "line": 18, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "types", "start": 532, "end": 537, "loc": { "start": { "line": 18, "column": 29 }, "end": { "line": 18, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 537, "end": 538, "loc": { "start": { "line": 18, "column": 34 }, "end": { "line": 18, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "array", "start": 538, "end": 543, "loc": { "start": { "line": 18, "column": 35 }, "end": { "line": 18, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 543, "end": 544, "loc": { "start": { "line": 18, "column": 40 }, "end": { "line": 18, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "typeItemSingleton", "start": 544, "end": 561, "loc": { "start": { "line": 18, "column": 41 }, "end": { "line": 18, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 561, "end": 562, "loc": { "start": { "line": 18, "column": 58 }, "end": { "line": 18, "column": 59 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 562, "end": 563, "loc": { "start": { "line": 18, "column": 59 }, "end": { "line": 18, "column": 60 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 573, "end": 574, "loc": { "start": { "line": 19, "column": 8 }, "end": { "line": 19, "column": 9 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 574, "end": 575, "loc": { "start": { "line": 19, "column": 9 }, "end": { "line": 19, "column": 10 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 581, "end": 582, "loc": { "start": { "line": 20, "column": 4 }, "end": { "line": 20, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 590, "end": 601, "loc": { "start": { "line": 22, "column": 4 }, "end": { "line": 22, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 601, "end": 602, "loc": { "start": { "line": 22, "column": 15 }, "end": { "line": 22, "column": 16 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 602, "end": 603, "loc": { "start": { "line": 22, "column": 16 }, "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": "chainable", "start": 604, "end": 613, "loc": { "start": { "line": 22, "column": 18 }, "end": { "line": 22, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 614, "end": 615, "loc": { "start": { "line": 22, "column": 28 }, "end": { "line": 22, "column": 29 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 616, "end": 621, "loc": { "start": { "line": 22, "column": 30 }, "end": { "line": 22, "column": 35 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 622, "end": 623, "loc": { "start": { "line": 22, "column": 36 }, "end": { "line": 22, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 623, "end": 624, "loc": { "start": { "line": 22, "column": 37 }, "end": { "line": 22, "column": 38 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 625, "end": 626, "loc": { "start": { "line": 22, "column": 39 }, "end": { "line": 22, "column": 40 } } }, { "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": 636, "end": 641, "loc": { "start": { "line": 23, "column": 8 }, "end": { "line": 23, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 641, "end": 642, "loc": { "start": { "line": 23, "column": 13 }, "end": { "line": 23, "column": 14 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 642, "end": 643, "loc": { "start": { "line": 23, "column": 14 }, "end": { "line": 23, "column": 15 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 643, "end": 644, "loc": { "start": { "line": 23, "column": 15 }, "end": { "line": 23, "column": 16 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 654, "end": 658, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 658, "end": 659, "loc": { "start": { "line": 24, "column": 12 }, "end": { "line": 24, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lastMiningTime", "start": 659, "end": 673, "loc": { "start": { "line": 24, "column": 13 }, "end": { "line": 24, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 674, "end": 675, "loc": { "start": { "line": 24, "column": 28 }, "end": { "line": 24, "column": 29 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 676, "end": 677, "loc": { "start": { "line": 24, "column": 30 }, "end": { "line": 24, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 677, "end": 678, "loc": { "start": { "line": 24, "column": 31 }, "end": { "line": 24, "column": 32 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 688, "end": 692, "loc": { "start": { "line": 25, "column": 8 }, "end": { "line": 25, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 692, "end": 693, "loc": { "start": { "line": 25, "column": 12 }, "end": { "line": 25, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "chainable", "start": 693, "end": 702, "loc": { "start": { "line": 25, "column": 13 }, "end": { "line": 25, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 703, "end": 704, "loc": { "start": { "line": 25, "column": 23 }, "end": { "line": 25, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "chainable", "start": 705, "end": 714, "loc": { "start": { "line": 25, "column": 25 }, "end": { "line": 25, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 714, "end": 715, "loc": { "start": { "line": 25, "column": 34 }, "end": { "line": 25, "column": 35 } } }, { "type": "CommentBlock", "value": "*\r\n * Stores items from other miners which were chained to this\r\n * miner.\r\n * @type {Array}\r\n ", "start": 727, "end": 868, "loc": { "start": { "line": 27, "column": 8 }, "end": { "line": 31, "column": 11 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 878, "end": 882, "loc": { "start": { "line": 32, "column": 8 }, "end": { "line": 32, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 882, "end": 883, "loc": { "start": { "line": 32, "column": 12 }, "end": { "line": 32, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemChainBuffer", "start": 883, "end": 898, "loc": { "start": { "line": 32, "column": 13 }, "end": { "line": 32, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 899, "end": 900, "loc": { "start": { "line": 32, "column": 29 }, "end": { "line": 32, "column": 30 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 901, "end": 902, "loc": { "start": { "line": 32, "column": 31 }, "end": { "line": 32, "column": 32 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 902, "end": 903, "loc": { "start": { "line": 32, "column": 32 }, "end": { "line": 32, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 903, "end": 904, "loc": { "start": { "line": 32, "column": 33 }, "end": { "line": 32, "column": 34 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {BaseItem}\r\n ", "start": 916, "end": 961, "loc": { "start": { "line": 34, "column": 8 }, "end": { "line": 36, "column": 11 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 971, "end": 975, "loc": { "start": { "line": 37, "column": 8 }, "end": { "line": 37, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 975, "end": 976, "loc": { "start": { "line": 37, "column": 12 }, "end": { "line": 37, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cachedMinedItem", "start": 976, "end": 991, "loc": { "start": { "line": 37, "column": 13 }, "end": { "line": 37, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 992, "end": 993, "loc": { "start": { "line": 37, "column": 29 }, "end": { "line": 37, "column": 30 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 994, "end": 998, "loc": { "start": { "line": 37, "column": 31 }, "end": { "line": 37, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 998, "end": 999, "loc": { "start": { "line": 37, "column": 35 }, "end": { "line": 37, "column": 36 } } }, { "type": "CommentBlock", "value": "*\r\n * Which miner this miner ejects to, in case its a chainable one.\r\n * If the value is false, it means there is no entity, and we don't have to re-check\r\n * @type {Entity|null|false}\r\n ", "start": 1011, "end": 1234, "loc": { "start": { "line": 39, "column": 8 }, "end": { "line": 43, "column": 11 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1244, "end": 1248, "loc": { "start": { "line": 44, "column": 8 }, "end": { "line": 44, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1248, "end": 1249, "loc": { "start": { "line": 44, "column": 12 }, "end": { "line": 44, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cachedChainedMiner", "start": 1249, "end": 1267, "loc": { "start": { "line": 44, "column": 13 }, "end": { "line": 44, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1268, "end": 1269, "loc": { "start": { "line": 44, "column": 32 }, "end": { "line": 44, "column": 33 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 1270, "end": 1274, "loc": { "start": { "line": 44, "column": 34 }, "end": { "line": 44, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1274, "end": 1275, "loc": { "start": { "line": 44, "column": 38 }, "end": { "line": 44, "column": 39 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1281, "end": 1282, "loc": { "start": { "line": 45, "column": 4 }, "end": { "line": 45, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n *\r\n * @param {BaseItem} item\r\n ", "start": 1290, "end": 1341, "loc": { "start": { "line": 47, "column": 4 }, "end": { "line": 50, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tryAcceptChainedItem", "start": 1347, "end": 1367, "loc": { "start": { "line": 51, "column": 4 }, "end": { "line": 51, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1367, "end": 1368, "loc": { "start": { "line": 51, "column": 24 }, "end": { "line": 51, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 1368, "end": 1372, "loc": { "start": { "line": 51, "column": 25 }, "end": { "line": 51, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1372, "end": 1373, "loc": { "start": { "line": 51, "column": 29 }, "end": { "line": 51, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1374, "end": 1375, "loc": { "start": { "line": 51, "column": 31 }, "end": { "line": 51, "column": 32 } } }, { "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": 1385, "end": 1387, "loc": { "start": { "line": 52, "column": 8 }, "end": { "line": 52, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1388, "end": 1389, "loc": { "start": { "line": 52, "column": 11 }, "end": { "line": 52, "column": 12 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1389, "end": 1393, "loc": { "start": { "line": 52, "column": 12 }, "end": { "line": 52, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1393, "end": 1394, "loc": { "start": { "line": 52, "column": 16 }, "end": { "line": 52, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemChainBuffer", "start": 1394, "end": 1409, "loc": { "start": { "line": 52, "column": 17 }, "end": { "line": 52, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1409, "end": 1410, "loc": { "start": { "line": 52, "column": 32 }, "end": { "line": 52, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 1410, "end": 1416, "loc": { "start": { "line": 52, "column": 33 }, "end": { "line": 52, "column": 39 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 1417, "end": 1418, "loc": { "start": { "line": 52, "column": 40 }, "end": { "line": 52, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "chainBufferSize", "start": 1419, "end": 1434, "loc": { "start": { "line": 52, "column": 42 }, "end": { "line": 52, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1434, "end": 1435, "loc": { "start": { "line": 52, "column": 57 }, "end": { "line": 52, "column": 58 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1436, "end": 1437, "loc": { "start": { "line": 52, "column": 59 }, "end": { "line": 52, "column": 60 } } }, { "type": "CommentLine", "value": " Well, this one is full", "start": 1451, "end": 1476, "loc": { "start": { "line": 53, "column": 12 }, "end": { "line": 53, "column": 37 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 1490, "end": 1496, "loc": { "start": { "line": 54, "column": 12 }, "end": { "line": 54, "column": 18 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 1497, "end": 1502, "loc": { "start": { "line": 54, "column": 19 }, "end": { "line": 54, "column": 24 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1502, "end": 1503, "loc": { "start": { "line": 54, "column": 24 }, "end": { "line": 54, "column": 25 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1513, "end": 1514, "loc": { "start": { "line": 55, "column": 8 }, "end": { "line": 55, "column": 9 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1526, "end": 1530, "loc": { "start": { "line": 57, "column": 8 }, "end": { "line": 57, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1530, "end": 1531, "loc": { "start": { "line": 57, "column": 12 }, "end": { "line": 57, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemChainBuffer", "start": 1531, "end": 1546, "loc": { "start": { "line": 57, "column": 13 }, "end": { "line": 57, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1546, "end": 1547, "loc": { "start": { "line": 57, "column": 28 }, "end": { "line": 57, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 1547, "end": 1551, "loc": { "start": { "line": 57, "column": 29 }, "end": { "line": 57, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1551, "end": 1552, "loc": { "start": { "line": 57, "column": 33 }, "end": { "line": 57, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 1552, "end": 1556, "loc": { "start": { "line": 57, "column": 34 }, "end": { "line": 57, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1556, "end": 1557, "loc": { "start": { "line": 57, "column": 38 }, "end": { "line": 57, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1557, "end": 1558, "loc": { "start": { "line": 57, "column": 39 }, "end": { "line": 57, "column": 40 } } }, { "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": 1568, "end": 1574, "loc": { "start": { "line": 58, "column": 8 }, "end": { "line": 58, "column": 14 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 1575, "end": 1579, "loc": { "start": { "line": 58, "column": 15 }, "end": { "line": 58, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1579, "end": 1580, "loc": { "start": { "line": 58, "column": 19 }, "end": { "line": 58, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1586, "end": 1587, "loc": { "start": { "line": 59, "column": 4 }, "end": { "line": 59, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1589, "end": 1590, "loc": { "start": { "line": 60, "column": 0 }, "end": { "line": 60, "column": 1 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1592, "end": 1592, "loc": { "start": { "line": 61, "column": 0 }, "end": { "line": 61, "column": 0 } } } ] }