1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-06-13 13:04:03 +00:00
tobspr_shapez.io/docs/ast/source/game/systems/miner.js.json
2021-02-26 15:20:37 +01:00

40041 lines
1.1 MiB

{
"type": "File",
"start": 0,
"end": 7714,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 206,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 7714,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 206,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 49,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 49
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 9,
"end": 21,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 21
}
},
"imported": {
"type": "Identifier",
"start": 9,
"end": 21,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 21
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
},
"local": {
"type": "Identifier",
"start": 9,
"end": 21,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 21
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
}
}
],
"source": {
"type": "StringLiteral",
"start": 29,
"end": 48,
"loc": {
"start": {
"line": 1,
"column": 29
},
"end": {
"line": 1,
"column": 48
}
},
"extra": {
"rawValue": "../../core/config",
"raw": "\"../../core/config\""
},
"value": "../../core/config"
}
},
{
"type": "ImportDeclaration",
"start": 51,
"end": 111,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 60
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 60,
"end": 74,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 23
}
},
"imported": {
"type": "Identifier",
"start": 60,
"end": 74,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 23
},
"identifierName": "DrawParameters"
},
"name": "DrawParameters"
},
"local": {
"type": "Identifier",
"start": 60,
"end": 74,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 23
},
"identifierName": "DrawParameters"
},
"name": "DrawParameters"
}
}
],
"source": {
"type": "StringLiteral",
"start": 82,
"end": 110,
"loc": {
"start": {
"line": 2,
"column": 31
},
"end": {
"line": 2,
"column": 59
}
},
"extra": {
"rawValue": "../../core/draw_parameters",
"raw": "\"../../core/draw_parameters\""
},
"value": "../../core/draw_parameters"
}
},
{
"type": "ImportDeclaration",
"start": 113,
"end": 171,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 58
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 122,
"end": 143,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 30
}
},
"imported": {
"type": "Identifier",
"start": 122,
"end": 143,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 30
},
"identifierName": "enumDirectionToVector"
},
"name": "enumDirectionToVector"
},
"local": {
"type": "Identifier",
"start": 122,
"end": 143,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 30
},
"identifierName": "enumDirectionToVector"
},
"name": "enumDirectionToVector"
}
}
],
"source": {
"type": "StringLiteral",
"start": 151,
"end": 170,
"loc": {
"start": {
"line": 3,
"column": 38
},
"end": {
"line": 3,
"column": 57
}
},
"extra": {
"rawValue": "../../core/vector",
"raw": "\"../../core/vector\""
},
"value": "../../core/vector"
}
},
{
"type": "ImportDeclaration",
"start": 173,
"end": 213,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 40
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 182,
"end": 190,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 17
}
},
"imported": {
"type": "Identifier",
"start": 182,
"end": 190,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 17
},
"identifierName": "BaseItem"
},
"name": "BaseItem"
},
"local": {
"type": "Identifier",
"start": 182,
"end": 190,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 17
},
"identifierName": "BaseItem"
},
"name": "BaseItem"
}
}
],
"source": {
"type": "StringLiteral",
"start": 198,
"end": 212,
"loc": {
"start": {
"line": 4,
"column": 25
},
"end": {
"line": 4,
"column": 39
}
},
"extra": {
"rawValue": "../base_item",
"raw": "\"../base_item\""
},
"value": "../base_item"
}
},
{
"type": "ImportDeclaration",
"start": 215,
"end": 268,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 53
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 224,
"end": 238,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 23
}
},
"imported": {
"type": "Identifier",
"start": 224,
"end": 238,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 23
},
"identifierName": "MinerComponent"
},
"name": "MinerComponent"
},
"local": {
"type": "Identifier",
"start": 224,
"end": 238,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 23
},
"identifierName": "MinerComponent"
},
"name": "MinerComponent"
}
}
],
"source": {
"type": "StringLiteral",
"start": 246,
"end": 267,
"loc": {
"start": {
"line": 5,
"column": 31
},
"end": {
"line": 5,
"column": 52
}
},
"extra": {
"rawValue": "../components/miner",
"raw": "\"../components/miner\""
},
"value": "../components/miner"
}
},
{
"type": "ImportDeclaration",
"start": 270,
"end": 305,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 35
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 279,
"end": 285,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 15
}
},
"imported": {
"type": "Identifier",
"start": 279,
"end": 285,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 15
},
"identifierName": "Entity"
},
"name": "Entity"
},
"local": {
"type": "Identifier",
"start": 279,
"end": 285,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 15
},
"identifierName": "Entity"
},
"name": "Entity"
}
}
],
"source": {
"type": "StringLiteral",
"start": 293,
"end": 304,
"loc": {
"start": {
"line": 6,
"column": 23
},
"end": {
"line": 6,
"column": 34
}
},
"extra": {
"rawValue": "../entity",
"raw": "\"../entity\""
},
"value": "../entity"
}
},
{
"type": "ImportDeclaration",
"start": 307,
"end": 373,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 7,
"column": 66
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 316,
"end": 336,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 29
}
},
"imported": {
"type": "Identifier",
"start": 316,
"end": 336,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 29
},
"identifierName": "GameSystemWithFilter"
},
"name": "GameSystemWithFilter"
},
"local": {
"type": "Identifier",
"start": 316,
"end": 336,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 29
},
"identifierName": "GameSystemWithFilter"
},
"name": "GameSystemWithFilter"
}
}
],
"source": {
"type": "StringLiteral",
"start": 344,
"end": 372,
"loc": {
"start": {
"line": 7,
"column": 37
},
"end": {
"line": 7,
"column": 65
}
},
"extra": {
"rawValue": "../game_system_with_filter",
"raw": "\"../game_system_with_filter\""
},
"value": "../game_system_with_filter"
}
},
{
"type": "ImportDeclaration",
"start": 375,
"end": 424,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 8,
"column": 49
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 384,
"end": 396,
"loc": {
"start": {
"line": 8,
"column": 9
},
"end": {
"line": 8,
"column": 21
}
},
"imported": {
"type": "Identifier",
"start": 384,
"end": 396,
"loc": {
"start": {
"line": 8,
"column": 9
},
"end": {
"line": 8,
"column": 21
},
"identifierName": "MapChunkView"
},
"name": "MapChunkView"
},
"local": {
"type": "Identifier",
"start": 384,
"end": 396,
"loc": {
"start": {
"line": 8,
"column": 9
},
"end": {
"line": 8,
"column": 21
},
"identifierName": "MapChunkView"
},
"name": "MapChunkView"
}
}
],
"source": {
"type": "StringLiteral",
"start": 404,
"end": 423,
"loc": {
"start": {
"line": 8,
"column": 29
},
"end": {
"line": 8,
"column": 48
}
},
"extra": {
"rawValue": "../map_chunk_view",
"raw": "\"../map_chunk_view\""
},
"value": "../map_chunk_view"
}
},
{
"type": "ExportNamedDeclaration",
"start": 428,
"end": 7712,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 205,
"column": 1
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "ClassDeclaration",
"start": 435,
"end": 7712,
"loc": {
"start": {
"line": 10,
"column": 7
},
"end": {
"line": 205,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 441,
"end": 452,
"loc": {
"start": {
"line": 10,
"column": 13
},
"end": {
"line": 10,
"column": 24
},
"identifierName": "MinerSystem"
},
"name": "MinerSystem"
},
"superClass": {
"type": "Identifier",
"start": 461,
"end": 481,
"loc": {
"start": {
"line": 10,
"column": 33
},
"end": {
"line": 10,
"column": 53
},
"identifierName": "GameSystemWithFilter"
},
"name": "GameSystemWithFilter"
},
"body": {
"type": "ClassBody",
"start": 482,
"end": 7712,
"loc": {
"start": {
"line": 10,
"column": 54
},
"end": {
"line": 205,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 489,
"end": 818,
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 19,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 489,
"end": 500,
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 11,
"column": 15
},
"identifierName": "constructor"
},
"name": "constructor"
},
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 501,
"end": 505,
"loc": {
"start": {
"line": 11,
"column": 16
},
"end": {
"line": 11,
"column": 20
},
"identifierName": "root"
},
"name": "root"
}
],
"body": {
"type": "BlockStatement",
"start": 507,
"end": 818,
"loc": {
"start": {
"line": 11,
"column": 22
},
"end": {
"line": 19,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 518,
"end": 548,
"loc": {
"start": {
"line": 12,
"column": 8
},
"end": {
"line": 12,
"column": 38
}
},
"expression": {
"type": "CallExpression",
"start": 518,
"end": 547,
"loc": {
"start": {
"line": 12,
"column": 8
},
"end": {
"line": 12,
"column": 37
}
},
"callee": {
"type": "Super",
"start": 518,
"end": 523,
"loc": {
"start": {
"line": 12,
"column": 8
},
"end": {
"line": 12,
"column": 13
}
}
},
"arguments": [
{
"type": "Identifier",
"start": 524,
"end": 528,
"loc": {
"start": {
"line": 12,
"column": 14
},
"end": {
"line": 12,
"column": 18
},
"identifierName": "root"
},
"name": "root"
},
{
"type": "ArrayExpression",
"start": 530,
"end": 546,
"loc": {
"start": {
"line": 12,
"column": 20
},
"end": {
"line": 12,
"column": 36
}
},
"elements": [
{
"type": "Identifier",
"start": 531,
"end": 545,
"loc": {
"start": {
"line": 12,
"column": 21
},
"end": {
"line": 12,
"column": 35
},
"identifierName": "MinerComponent"
},
"name": "MinerComponent"
}
]
}
]
}
},
{
"type": "ExpressionStatement",
"start": 560,
"end": 587,
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 35
}
},
"expression": {
"type": "AssignmentExpression",
"start": 560,
"end": 586,
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 34
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 560,
"end": 579,
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 27
}
},
"object": {
"type": "ThisExpression",
"start": 560,
"end": 564,
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 565,
"end": 579,
"loc": {
"start": {
"line": 14,
"column": 13
},
"end": {
"line": 14,
"column": 27
},
"identifierName": "needsRecompute"
},
"name": "needsRecompute"
},
"computed": false
},
"right": {
"type": "BooleanLiteral",
"start": 582,
"end": 586,
"loc": {
"start": {
"line": 14,
"column": 30
},
"end": {
"line": 14,
"column": 34
}
},
"value": true
}
}
},
{
"type": "ExpressionStatement",
"start": 599,
"end": 661,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 70
}
},
"expression": {
"type": "CallExpression",
"start": 599,
"end": 660,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 69
}
},
"callee": {
"type": "MemberExpression",
"start": 599,
"end": 632,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 41
}
},
"object": {
"type": "MemberExpression",
"start": 599,
"end": 628,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 37
}
},
"object": {
"type": "MemberExpression",
"start": 599,
"end": 616,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 25
}
},
"object": {
"type": "MemberExpression",
"start": 599,
"end": 608,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 17
}
},
"object": {
"type": "ThisExpression",
"start": 599,
"end": 603,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 604,
"end": 608,
"loc": {
"start": {
"line": 16,
"column": 13
},
"end": {
"line": 16,
"column": 17
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 609,
"end": 616,
"loc": {
"start": {
"line": 16,
"column": 18
},
"end": {
"line": 16,
"column": 25
},
"identifierName": "signals"
},
"name": "signals"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 617,
"end": 628,
"loc": {
"start": {
"line": 16,
"column": 26
},
"end": {
"line": 16,
"column": 37
},
"identifierName": "entityAdded"
},
"name": "entityAdded"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 629,
"end": 632,
"loc": {
"start": {
"line": 16,
"column": 38
},
"end": {
"line": 16,
"column": 41
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 633,
"end": 653,
"loc": {
"start": {
"line": 16,
"column": 42
},
"end": {
"line": 16,
"column": 62
}
},
"object": {
"type": "ThisExpression",
"start": 633,
"end": 637,
"loc": {
"start": {
"line": 16,
"column": 42
},
"end": {
"line": 16,
"column": 46
}
}
},
"property": {
"type": "Identifier",
"start": 638,
"end": 653,
"loc": {
"start": {
"line": 16,
"column": 47
},
"end": {
"line": 16,
"column": 62
},
"identifierName": "onEntityChanged"
},
"name": "onEntityChanged"
},
"computed": false
},
{
"type": "ThisExpression",
"start": 655,
"end": 659,
"loc": {
"start": {
"line": 16,
"column": 64
},
"end": {
"line": 16,
"column": 68
}
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 671,
"end": 735,
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 17,
"column": 72
}
},
"expression": {
"type": "CallExpression",
"start": 671,
"end": 734,
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 17,
"column": 71
}
},
"callee": {
"type": "MemberExpression",
"start": 671,
"end": 706,
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 17,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 671,
"end": 702,
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 17,
"column": 39
}
},
"object": {
"type": "MemberExpression",
"start": 671,
"end": 688,
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 17,
"column": 25
}
},
"object": {
"type": "MemberExpression",
"start": 671,
"end": 680,
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 17,
"column": 17
}
},
"object": {
"type": "ThisExpression",
"start": 671,
"end": 675,
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 17,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 676,
"end": 680,
"loc": {
"start": {
"line": 17,
"column": 13
},
"end": {
"line": 17,
"column": 17
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 681,
"end": 688,
"loc": {
"start": {
"line": 17,
"column": 18
},
"end": {
"line": 17,
"column": 25
},
"identifierName": "signals"
},
"name": "signals"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 689,
"end": 702,
"loc": {
"start": {
"line": 17,
"column": 26
},
"end": {
"line": 17,
"column": 39
},
"identifierName": "entityChanged"
},
"name": "entityChanged"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 703,
"end": 706,
"loc": {
"start": {
"line": 17,
"column": 40
},
"end": {
"line": 17,
"column": 43
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 707,
"end": 727,
"loc": {
"start": {
"line": 17,
"column": 44
},
"end": {
"line": 17,
"column": 64
}
},
"object": {
"type": "ThisExpression",
"start": 707,
"end": 711,
"loc": {
"start": {
"line": 17,
"column": 44
},
"end": {
"line": 17,
"column": 48
}
}
},
"property": {
"type": "Identifier",
"start": 712,
"end": 727,
"loc": {
"start": {
"line": 17,
"column": 49
},
"end": {
"line": 17,
"column": 64
},
"identifierName": "onEntityChanged"
},
"name": "onEntityChanged"
},
"computed": false
},
{
"type": "ThisExpression",
"start": 729,
"end": 733,
"loc": {
"start": {
"line": 17,
"column": 66
},
"end": {
"line": 17,
"column": 70
}
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 745,
"end": 811,
"loc": {
"start": {
"line": 18,
"column": 8
},
"end": {
"line": 18,
"column": 74
}
},
"expression": {
"type": "CallExpression",
"start": 745,
"end": 810,
"loc": {
"start": {
"line": 18,
"column": 8
},
"end": {
"line": 18,
"column": 73
}
},
"callee": {
"type": "MemberExpression",
"start": 745,
"end": 782,
"loc": {
"start": {
"line": 18,
"column": 8
},
"end": {
"line": 18,
"column": 45
}
},
"object": {
"type": "MemberExpression",
"start": 745,
"end": 778,
"loc": {
"start": {
"line": 18,
"column": 8
},
"end": {
"line": 18,
"column": 41
}
},
"object": {
"type": "MemberExpression",
"start": 745,
"end": 762,
"loc": {
"start": {
"line": 18,
"column": 8
},
"end": {
"line": 18,
"column": 25
}
},
"object": {
"type": "MemberExpression",
"start": 745,
"end": 754,
"loc": {
"start": {
"line": 18,
"column": 8
},
"end": {
"line": 18,
"column": 17
}
},
"object": {
"type": "ThisExpression",
"start": 745,
"end": 749,
"loc": {
"start": {
"line": 18,
"column": 8
},
"end": {
"line": 18,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 750,
"end": 754,
"loc": {
"start": {
"line": 18,
"column": 13
},
"end": {
"line": 18,
"column": 17
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 755,
"end": 762,
"loc": {
"start": {
"line": 18,
"column": 18
},
"end": {
"line": 18,
"column": 25
},
"identifierName": "signals"
},
"name": "signals"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 763,
"end": 778,
"loc": {
"start": {
"line": 18,
"column": 26
},
"end": {
"line": 18,
"column": 41
},
"identifierName": "entityDestroyed"
},
"name": "entityDestroyed"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 779,
"end": 782,
"loc": {
"start": {
"line": 18,
"column": 42
},
"end": {
"line": 18,
"column": 45
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 783,
"end": 803,
"loc": {
"start": {
"line": 18,
"column": 46
},
"end": {
"line": 18,
"column": 66
}
},
"object": {
"type": "ThisExpression",
"start": 783,
"end": 787,
"loc": {
"start": {
"line": 18,
"column": 46
},
"end": {
"line": 18,
"column": 50
}
}
},
"property": {
"type": "Identifier",
"start": 788,
"end": 803,
"loc": {
"start": {
"line": 18,
"column": 51
},
"end": {
"line": 18,
"column": 66
},
"identifierName": "onEntityChanged"
},
"name": "onEntityChanged"
},
"computed": false
},
{
"type": "ThisExpression",
"start": 805,
"end": 809,
"loc": {
"start": {
"line": 18,
"column": 68
},
"end": {
"line": 18,
"column": 72
}
}
}
]
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 826,
"end": 874,
"loc": {
"start": {
"line": 21,
"column": 4
},
"end": {
"line": 23,
"column": 5
}
},
"static": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 833,
"end": 838,
"loc": {
"start": {
"line": 21,
"column": 11
},
"end": {
"line": 21,
"column": 16
},
"identifierName": "getId"
},
"name": "getId"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 841,
"end": 874,
"loc": {
"start": {
"line": 21,
"column": 19
},
"end": {
"line": 23,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 852,
"end": 867,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 22,
"column": 23
}
},
"argument": {
"type": "StringLiteral",
"start": 859,
"end": 866,
"loc": {
"start": {
"line": 22,
"column": 15
},
"end": {
"line": 22,
"column": 22
}
},
"extra": {
"rawValue": "miner",
"raw": "\"miner\""
},
"value": "miner"
}
}
],
"directives": [],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Called whenever an entity got changed\r\n * @param {Entity} entity\r\n ",
"start": 882,
"end": 971,
"loc": {
"start": {
"line": 25,
"column": 4
},
"end": {
"line": 28,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 977,
"end": 1213,
"loc": {
"start": {
"line": 29,
"column": 4
},
"end": {
"line": 35,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 977,
"end": 992,
"loc": {
"start": {
"line": 29,
"column": 4
},
"end": {
"line": 29,
"column": 19
},
"identifierName": "onEntityChanged"
},
"name": "onEntityChanged",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 993,
"end": 999,
"loc": {
"start": {
"line": 29,
"column": 20
},
"end": {
"line": 29,
"column": 26
},
"identifierName": "entity"
},
"name": "entity"
}
],
"body": {
"type": "BlockStatement",
"start": 1001,
"end": 1213,
"loc": {
"start": {
"line": 29,
"column": 28
},
"end": {
"line": 35,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 1012,
"end": 1054,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 50
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1018,
"end": 1053,
"loc": {
"start": {
"line": 30,
"column": 14
},
"end": {
"line": 30,
"column": 49
}
},
"id": {
"type": "Identifier",
"start": 1018,
"end": 1027,
"loc": {
"start": {
"line": 30,
"column": 14
},
"end": {
"line": 30,
"column": 23
},
"identifierName": "minerComp"
},
"name": "minerComp"
},
"init": {
"type": "MemberExpression",
"start": 1030,
"end": 1053,
"loc": {
"start": {
"line": 30,
"column": 26
},
"end": {
"line": 30,
"column": 49
}
},
"object": {
"type": "MemberExpression",
"start": 1030,
"end": 1047,
"loc": {
"start": {
"line": 30,
"column": 26
},
"end": {
"line": 30,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 1030,
"end": 1036,
"loc": {
"start": {
"line": 30,
"column": 26
},
"end": {
"line": 30,
"column": 32
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 1037,
"end": 1047,
"loc": {
"start": {
"line": 30,
"column": 33
},
"end": {
"line": 30,
"column": 43
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1048,
"end": 1053,
"loc": {
"start": {
"line": 30,
"column": 44
},
"end": {
"line": 30,
"column": 49
},
"identifierName": "Miner"
},
"name": "Miner"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 1064,
"end": 1206,
"loc": {
"start": {
"line": 31,
"column": 8
},
"end": {
"line": 34,
"column": 9
}
},
"test": {
"type": "LogicalExpression",
"start": 1068,
"end": 1100,
"loc": {
"start": {
"line": 31,
"column": 12
},
"end": {
"line": 31,
"column": 44
}
},
"left": {
"type": "Identifier",
"start": 1068,
"end": 1077,
"loc": {
"start": {
"line": 31,
"column": 12
},
"end": {
"line": 31,
"column": 21
},
"identifierName": "minerComp"
},
"name": "minerComp"
},
"operator": "&&",
"right": {
"type": "MemberExpression",
"start": 1081,
"end": 1100,
"loc": {
"start": {
"line": 31,
"column": 25
},
"end": {
"line": 31,
"column": 44
}
},
"object": {
"type": "Identifier",
"start": 1081,
"end": 1090,
"loc": {
"start": {
"line": 31,
"column": 25
},
"end": {
"line": 31,
"column": 34
},
"identifierName": "minerComp"
},
"name": "minerComp"
},
"property": {
"type": "Identifier",
"start": 1091,
"end": 1100,
"loc": {
"start": {
"line": 31,
"column": 35
},
"end": {
"line": 31,
"column": 44
},
"identifierName": "chainable"
},
"name": "chainable"
},
"computed": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 1102,
"end": 1206,
"loc": {
"start": {
"line": 31,
"column": 46
},
"end": {
"line": 34,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1168,
"end": 1195,
"loc": {
"start": {
"line": 33,
"column": 12
},
"end": {
"line": 33,
"column": 39
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1168,
"end": 1194,
"loc": {
"start": {
"line": 33,
"column": 12
},
"end": {
"line": 33,
"column": 38
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1168,
"end": 1187,
"loc": {
"start": {
"line": 33,
"column": 12
},
"end": {
"line": 33,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 1168,
"end": 1172,
"loc": {
"start": {
"line": 33,
"column": 12
},
"end": {
"line": 33,
"column": 16
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 1173,
"end": 1187,
"loc": {
"start": {
"line": 33,
"column": 17
},
"end": {
"line": 33,
"column": 31
},
"identifierName": "needsRecompute"
},
"name": "needsRecompute"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "BooleanLiteral",
"start": 1190,
"end": 1194,
"loc": {
"start": {
"line": 33,
"column": 34
},
"end": {
"line": 33,
"column": 38
}
},
"value": true
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Miner component, need to recompute",
"start": 1117,
"end": 1154,
"loc": {
"start": {
"line": 32,
"column": 12
},
"end": {
"line": 32,
"column": 49
}
}
}
]
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Called whenever an entity got changed\r\n * @param {Entity} entity\r\n ",
"start": 882,
"end": 971,
"loc": {
"start": {
"line": 25,
"column": 4
},
"end": {
"line": 28,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 1221,
"end": 3406,
"loc": {
"start": {
"line": 37,
"column": 4
},
"end": {
"line": 90,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1221,
"end": 1227,
"loc": {
"start": {
"line": 37,
"column": 4
},
"end": {
"line": 37,
"column": 10
},
"identifierName": "update"
},
"name": "update"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1230,
"end": 3406,
"loc": {
"start": {
"line": 37,
"column": 13
},
"end": {
"line": 90,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 1241,
"end": 1298,
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 38,
"column": 65
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1245,
"end": 1297,
"loc": {
"start": {
"line": 38,
"column": 12
},
"end": {
"line": 38,
"column": 64
}
},
"id": {
"type": "Identifier",
"start": 1245,
"end": 1256,
"loc": {
"start": {
"line": 38,
"column": 12
},
"end": {
"line": 38,
"column": 23
},
"identifierName": "miningSpeed"
},
"name": "miningSpeed"
},
"init": {
"type": "CallExpression",
"start": 1259,
"end": 1297,
"loc": {
"start": {
"line": 38,
"column": 26
},
"end": {
"line": 38,
"column": 64
}
},
"callee": {
"type": "MemberExpression",
"start": 1259,
"end": 1295,
"loc": {
"start": {
"line": 38,
"column": 26
},
"end": {
"line": 38,
"column": 62
}
},
"object": {
"type": "MemberExpression",
"start": 1259,
"end": 1277,
"loc": {
"start": {
"line": 38,
"column": 26
},
"end": {
"line": 38,
"column": 44
}
},
"object": {
"type": "MemberExpression",
"start": 1259,
"end": 1268,
"loc": {
"start": {
"line": 38,
"column": 26
},
"end": {
"line": 38,
"column": 35
}
},
"object": {
"type": "ThisExpression",
"start": 1259,
"end": 1263,
"loc": {
"start": {
"line": 38,
"column": 26
},
"end": {
"line": 38,
"column": 30
}
}
},
"property": {
"type": "Identifier",
"start": 1264,
"end": 1268,
"loc": {
"start": {
"line": 38,
"column": 31
},
"end": {
"line": 38,
"column": 35
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1269,
"end": 1277,
"loc": {
"start": {
"line": 38,
"column": 36
},
"end": {
"line": 38,
"column": 44
},
"identifierName": "hubGoals"
},
"name": "hubGoals"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1278,
"end": 1295,
"loc": {
"start": {
"line": 38,
"column": 45
},
"end": {
"line": 38,
"column": 62
},
"identifierName": "getMinerBaseSpeed"
},
"name": "getMinerBaseSpeed"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "let"
},
{
"type": "IfStatement",
"start": 1308,
"end": 1403,
"loc": {
"start": {
"line": 39,
"column": 8
},
"end": {
"line": 41,
"column": 9
}
},
"test": {
"type": "LogicalExpression",
"start": 1312,
"end": 1356,
"loc": {
"start": {
"line": 39,
"column": 12
},
"end": {
"line": 39,
"column": 56
}
},
"left": {
"type": "Identifier",
"start": 1312,
"end": 1320,
"loc": {
"start": {
"line": 39,
"column": 12
},
"end": {
"line": 39,
"column": 20
},
"identifierName": "G_IS_DEV"
},
"name": "G_IS_DEV"
},
"operator": "&&",
"right": {
"type": "MemberExpression",
"start": 1324,
"end": 1356,
"loc": {
"start": {
"line": 39,
"column": 24
},
"end": {
"line": 39,
"column": 56
}
},
"object": {
"type": "MemberExpression",
"start": 1324,
"end": 1342,
"loc": {
"start": {
"line": 39,
"column": 24
},
"end": {
"line": 39,
"column": 42
}
},
"object": {
"type": "Identifier",
"start": 1324,
"end": 1336,
"loc": {
"start": {
"line": 39,
"column": 24
},
"end": {
"line": 39,
"column": 36
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
},
"property": {
"type": "Identifier",
"start": 1337,
"end": 1342,
"loc": {
"start": {
"line": 39,
"column": 37
},
"end": {
"line": 39,
"column": 42
},
"identifierName": "debug"
},
"name": "debug"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1343,
"end": 1356,
"loc": {
"start": {
"line": 39,
"column": 43
},
"end": {
"line": 39,
"column": 56
},
"identifierName": "instantMiners"
},
"name": "instantMiners"
},
"computed": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 1358,
"end": 1403,
"loc": {
"start": {
"line": 39,
"column": 58
},
"end": {
"line": 41,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1373,
"end": 1392,
"loc": {
"start": {
"line": 40,
"column": 12
},
"end": {
"line": 40,
"column": 31
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1373,
"end": 1391,
"loc": {
"start": {
"line": 40,
"column": 12
},
"end": {
"line": 40,
"column": 30
}
},
"operator": "*=",
"left": {
"type": "Identifier",
"start": 1373,
"end": 1384,
"loc": {
"start": {
"line": 40,
"column": 12
},
"end": {
"line": 40,
"column": 23
},
"identifierName": "miningSpeed"
},
"name": "miningSpeed"
},
"right": {
"type": "NumericLiteral",
"start": 1388,
"end": 1391,
"loc": {
"start": {
"line": 40,
"column": 27
},
"end": {
"line": 40,
"column": 30
}
},
"extra": {
"rawValue": 100,
"raw": "100"
},
"value": 100
}
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ForStatement",
"start": 1415,
"end": 3318,
"loc": {
"start": {
"line": 43,
"column": 8
},
"end": {
"line": 86,
"column": 9
}
},
"init": {
"type": "VariableDeclaration",
"start": 1420,
"end": 1429,
"loc": {
"start": {
"line": 43,
"column": 13
},
"end": {
"line": 43,
"column": 22
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1424,
"end": 1429,
"loc": {
"start": {
"line": 43,
"column": 17
},
"end": {
"line": 43,
"column": 22
}
},
"id": {
"type": "Identifier",
"start": 1424,
"end": 1425,
"loc": {
"start": {
"line": 43,
"column": 17
},
"end": {
"line": 43,
"column": 18
},
"identifierName": "i"
},
"name": "i"
},
"init": {
"type": "NumericLiteral",
"start": 1428,
"end": 1429,
"loc": {
"start": {
"line": 43,
"column": 21
},
"end": {
"line": 43,
"column": 22
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
],
"kind": "let"
},
"test": {
"type": "BinaryExpression",
"start": 1431,
"end": 1458,
"loc": {
"start": {
"line": 43,
"column": 24
},
"end": {
"line": 43,
"column": 51
}
},
"left": {
"type": "Identifier",
"start": 1431,
"end": 1432,
"loc": {
"start": {
"line": 43,
"column": 24
},
"end": {
"line": 43,
"column": 25
},
"identifierName": "i"
},
"name": "i"
},
"operator": "<",
"right": {
"type": "MemberExpression",
"start": 1435,
"end": 1458,
"loc": {
"start": {
"line": 43,
"column": 28
},
"end": {
"line": 43,
"column": 51
}
},
"object": {
"type": "MemberExpression",
"start": 1435,
"end": 1451,
"loc": {
"start": {
"line": 43,
"column": 28
},
"end": {
"line": 43,
"column": 44
}
},
"object": {
"type": "ThisExpression",
"start": 1435,
"end": 1439,
"loc": {
"start": {
"line": 43,
"column": 28
},
"end": {
"line": 43,
"column": 32
}
}
},
"property": {
"type": "Identifier",
"start": 1440,
"end": 1451,
"loc": {
"start": {
"line": 43,
"column": 33
},
"end": {
"line": 43,
"column": 44
},
"identifierName": "allEntities"
},
"name": "allEntities"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1452,
"end": 1458,
"loc": {
"start": {
"line": 43,
"column": 45
},
"end": {
"line": 43,
"column": 51
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
}
},
"update": {
"type": "UpdateExpression",
"start": 1460,
"end": 1463,
"loc": {
"start": {
"line": 43,
"column": 53
},
"end": {
"line": 43,
"column": 56
}
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 1462,
"end": 1463,
"loc": {
"start": {
"line": 43,
"column": 55
},
"end": {
"line": 43,
"column": 56
},
"identifierName": "i"
},
"name": "i"
},
"extra": {
"parenthesizedArgument": false
}
},
"body": {
"type": "BlockStatement",
"start": 1465,
"end": 3318,
"loc": {
"start": {
"line": 43,
"column": 58
},
"end": {
"line": 86,
"column": 9
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 1480,
"end": 1515,
"loc": {
"start": {
"line": 44,
"column": 12
},
"end": {
"line": 44,
"column": 47
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1486,
"end": 1514,
"loc": {
"start": {
"line": 44,
"column": 18
},
"end": {
"line": 44,
"column": 46
}
},
"id": {
"type": "Identifier",
"start": 1486,
"end": 1492,
"loc": {
"start": {
"line": 44,
"column": 18
},
"end": {
"line": 44,
"column": 24
},
"identifierName": "entity"
},
"name": "entity"
},
"init": {
"type": "MemberExpression",
"start": 1495,
"end": 1514,
"loc": {
"start": {
"line": 44,
"column": 27
},
"end": {
"line": 44,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 1495,
"end": 1511,
"loc": {
"start": {
"line": 44,
"column": 27
},
"end": {
"line": 44,
"column": 43
}
},
"object": {
"type": "ThisExpression",
"start": 1495,
"end": 1499,
"loc": {
"start": {
"line": 44,
"column": 27
},
"end": {
"line": 44,
"column": 31
}
}
},
"property": {
"type": "Identifier",
"start": 1500,
"end": 1511,
"loc": {
"start": {
"line": 44,
"column": 32
},
"end": {
"line": 44,
"column": 43
},
"identifierName": "allEntities"
},
"name": "allEntities"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1512,
"end": 1513,
"loc": {
"start": {
"line": 44,
"column": 44
},
"end": {
"line": 44,
"column": 45
},
"identifierName": "i"
},
"name": "i"
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 1529,
"end": 1571,
"loc": {
"start": {
"line": 45,
"column": 12
},
"end": {
"line": 45,
"column": 54
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1535,
"end": 1570,
"loc": {
"start": {
"line": 45,
"column": 18
},
"end": {
"line": 45,
"column": 53
}
},
"id": {
"type": "Identifier",
"start": 1535,
"end": 1544,
"loc": {
"start": {
"line": 45,
"column": 18
},
"end": {
"line": 45,
"column": 27
},
"identifierName": "minerComp"
},
"name": "minerComp"
},
"init": {
"type": "MemberExpression",
"start": 1547,
"end": 1570,
"loc": {
"start": {
"line": 45,
"column": 30
},
"end": {
"line": 45,
"column": 53
}
},
"object": {
"type": "MemberExpression",
"start": 1547,
"end": 1564,
"loc": {
"start": {
"line": 45,
"column": 30
},
"end": {
"line": 45,
"column": 47
}
},
"object": {
"type": "Identifier",
"start": 1547,
"end": 1553,
"loc": {
"start": {
"line": 45,
"column": 30
},
"end": {
"line": 45,
"column": 36
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 1554,
"end": 1564,
"loc": {
"start": {
"line": 45,
"column": 37
},
"end": {
"line": 45,
"column": 47
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1565,
"end": 1570,
"loc": {
"start": {
"line": 45,
"column": 48
},
"end": {
"line": 45,
"column": 53
},
"identifierName": "Miner"
},
"name": "Miner"
},
"computed": false
}
}
],
"kind": "const",
"trailingComments": [
{
"type": "CommentLine",
"value": " Reset everything on recompute",
"start": 1587,
"end": 1619,
"loc": {
"start": {
"line": 47,
"column": 12
},
"end": {
"line": 47,
"column": 44
}
}
}
]
},
{
"type": "IfStatement",
"start": 1633,
"end": 1728,
"loc": {
"start": {
"line": 48,
"column": 12
},
"end": {
"line": 50,
"column": 13
}
},
"test": {
"type": "MemberExpression",
"start": 1637,
"end": 1656,
"loc": {
"start": {
"line": 48,
"column": 16
},
"end": {
"line": 48,
"column": 35
}
},
"object": {
"type": "ThisExpression",
"start": 1637,
"end": 1641,
"loc": {
"start": {
"line": 48,
"column": 16
},
"end": {
"line": 48,
"column": 20
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 1642,
"end": 1656,
"loc": {
"start": {
"line": 48,
"column": 21
},
"end": {
"line": 48,
"column": 35
},
"identifierName": "needsRecompute"
},
"name": "needsRecompute"
},
"computed": false,
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 1658,
"end": 1728,
"loc": {
"start": {
"line": 48,
"column": 37
},
"end": {
"line": 50,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1677,
"end": 1713,
"loc": {
"start": {
"line": 49,
"column": 16
},
"end": {
"line": 49,
"column": 52
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1677,
"end": 1712,
"loc": {
"start": {
"line": 49,
"column": 16
},
"end": {
"line": 49,
"column": 51
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1677,
"end": 1705,
"loc": {
"start": {
"line": 49,
"column": 16
},
"end": {
"line": 49,
"column": 44
}
},
"object": {
"type": "Identifier",
"start": 1677,
"end": 1686,
"loc": {
"start": {
"line": 49,
"column": 16
},
"end": {
"line": 49,
"column": 25
},
"identifierName": "minerComp"
},
"name": "minerComp"
},
"property": {
"type": "Identifier",
"start": 1687,
"end": 1705,
"loc": {
"start": {
"line": 49,
"column": 26
},
"end": {
"line": 49,
"column": 44
},
"identifierName": "cachedChainedMiner"
},
"name": "cachedChainedMiner"
},
"computed": false
},
"right": {
"type": "NullLiteral",
"start": 1708,
"end": 1712,
"loc": {
"start": {
"line": 49,
"column": 47
},
"end": {
"line": 49,
"column": 51
}
}
}
}
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Reset everything on recompute",
"start": 1587,
"end": 1619,
"loc": {
"start": {
"line": 47,
"column": 12
},
"end": {
"line": 47,
"column": 44
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " Check if miner is above an actual tile",
"start": 1744,
"end": 1785,
"loc": {
"start": {
"line": 52,
"column": 12
},
"end": {
"line": 52,
"column": 53
}
}
}
]
},
{
"type": "IfStatement",
"start": 1799,
"end": 2267,
"loc": {
"start": {
"line": 53,
"column": 12
},
"end": {
"line": 63,
"column": 13
}
},
"test": {
"type": "UnaryExpression",
"start": 1803,
"end": 1829,
"loc": {
"start": {
"line": 53,
"column": 16
},
"end": {
"line": 53,
"column": 42
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 1804,
"end": 1829,
"loc": {
"start": {
"line": 53,
"column": 17
},
"end": {
"line": 53,
"column": 42
}
},
"object": {
"type": "Identifier",
"start": 1804,
"end": 1813,
"loc": {
"start": {
"line": 53,
"column": 17
},
"end": {
"line": 53,
"column": 26
},
"identifierName": "minerComp"
},
"name": "minerComp",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 1814,
"end": 1829,
"loc": {
"start": {
"line": 53,
"column": 27
},
"end": {
"line": 53,
"column": 42
},
"identifierName": "cachedMinedItem"
},
"name": "cachedMinedItem"
},
"computed": false,
"leadingComments": null
},
"extra": {
"parenthesizedArgument": false
},
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 1831,
"end": 2267,
"loc": {
"start": {
"line": 53,
"column": 44
},
"end": {
"line": 63,
"column": 13
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 1850,
"end": 1903,
"loc": {
"start": {
"line": 54,
"column": 16
},
"end": {
"line": 54,
"column": 69
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1856,
"end": 1902,
"loc": {
"start": {
"line": 54,
"column": 22
},
"end": {
"line": 54,
"column": 68
}
},
"id": {
"type": "Identifier",
"start": 1856,
"end": 1866,
"loc": {
"start": {
"line": 54,
"column": 22
},
"end": {
"line": 54,
"column": 32
},
"identifierName": "staticComp"
},
"name": "staticComp"
},
"init": {
"type": "MemberExpression",
"start": 1869,
"end": 1902,
"loc": {
"start": {
"line": 54,
"column": 35
},
"end": {
"line": 54,
"column": 68
}
},
"object": {
"type": "MemberExpression",
"start": 1869,
"end": 1886,
"loc": {
"start": {
"line": 54,
"column": 35
},
"end": {
"line": 54,
"column": 52
}
},
"object": {
"type": "Identifier",
"start": 1869,
"end": 1875,
"loc": {
"start": {
"line": 54,
"column": 35
},
"end": {
"line": 54,
"column": 41
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 1876,
"end": 1886,
"loc": {
"start": {
"line": 54,
"column": 42
},
"end": {
"line": 54,
"column": 52
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1887,
"end": 1902,
"loc": {
"start": {
"line": 54,
"column": 53
},
"end": {
"line": 54,
"column": 68
},
"identifierName": "StaticMapEntity"
},
"name": "StaticMapEntity"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 1921,
"end": 2079,
"loc": {
"start": {
"line": 55,
"column": 16
},
"end": {
"line": 58,
"column": 18
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1927,
"end": 2078,
"loc": {
"start": {
"line": 55,
"column": 22
},
"end": {
"line": 58,
"column": 17
}
},
"id": {
"type": "Identifier",
"start": 1927,
"end": 1936,
"loc": {
"start": {
"line": 55,
"column": 22
},
"end": {
"line": 55,
"column": 31
},
"identifierName": "tileBelow"
},
"name": "tileBelow"
},
"init": {
"type": "CallExpression",
"start": 1939,
"end": 2078,
"loc": {
"start": {
"line": 55,
"column": 34
},
"end": {
"line": 58,
"column": 17
}
},
"callee": {
"type": "MemberExpression",
"start": 1939,
"end": 1975,
"loc": {
"start": {
"line": 55,
"column": 34
},
"end": {
"line": 55,
"column": 70
}
},
"object": {
"type": "MemberExpression",
"start": 1939,
"end": 1952,
"loc": {
"start": {
"line": 55,
"column": 34
},
"end": {
"line": 55,
"column": 47
}
},
"object": {
"type": "MemberExpression",
"start": 1939,
"end": 1948,
"loc": {
"start": {
"line": 55,
"column": 34
},
"end": {
"line": 55,
"column": 43
}
},
"object": {
"type": "ThisExpression",
"start": 1939,
"end": 1943,
"loc": {
"start": {
"line": 55,
"column": 34
},
"end": {
"line": 55,
"column": 38
}
}
},
"property": {
"type": "Identifier",
"start": 1944,
"end": 1948,
"loc": {
"start": {
"line": 55,
"column": 39
},
"end": {
"line": 55,
"column": 43
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1949,
"end": 1952,
"loc": {
"start": {
"line": 55,
"column": 44
},
"end": {
"line": 55,
"column": 47
},
"identifierName": "map"
},
"name": "map"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1953,
"end": 1975,
"loc": {
"start": {
"line": 55,
"column": 48
},
"end": {
"line": 55,
"column": 70
},
"identifierName": "getLowerLayerContentXY"
},
"name": "getLowerLayerContentXY"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 1998,
"end": 2017,
"loc": {
"start": {
"line": 56,
"column": 20
},
"end": {
"line": 56,
"column": 39
}
},
"object": {
"type": "MemberExpression",
"start": 1998,
"end": 2015,
"loc": {
"start": {
"line": 56,
"column": 20
},
"end": {
"line": 56,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 1998,
"end": 2008,
"loc": {
"start": {
"line": 56,
"column": 20
},
"end": {
"line": 56,
"column": 30
},
"identifierName": "staticComp"
},
"name": "staticComp"
},
"property": {
"type": "Identifier",
"start": 2009,
"end": 2015,
"loc": {
"start": {
"line": 56,
"column": 31
},
"end": {
"line": 56,
"column": 37
},
"identifierName": "origin"
},
"name": "origin"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2016,
"end": 2017,
"loc": {
"start": {
"line": 56,
"column": 38
},
"end": {
"line": 56,
"column": 39
},
"identifierName": "x"
},
"name": "x"
},
"computed": false
},
{
"type": "MemberExpression",
"start": 2040,
"end": 2059,
"loc": {
"start": {
"line": 57,
"column": 20
},
"end": {
"line": 57,
"column": 39
}
},
"object": {
"type": "MemberExpression",
"start": 2040,
"end": 2057,
"loc": {
"start": {
"line": 57,
"column": 20
},
"end": {
"line": 57,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 2040,
"end": 2050,
"loc": {
"start": {
"line": 57,
"column": 20
},
"end": {
"line": 57,
"column": 30
},
"identifierName": "staticComp"
},
"name": "staticComp"
},
"property": {
"type": "Identifier",
"start": 2051,
"end": 2057,
"loc": {
"start": {
"line": 57,
"column": 31
},
"end": {
"line": 57,
"column": 37
},
"identifierName": "origin"
},
"name": "origin"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2058,
"end": 2059,
"loc": {
"start": {
"line": 57,
"column": 38
},
"end": {
"line": 57,
"column": 39
},
"identifierName": "y"
},
"name": "y"
},
"computed": false
}
]
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 2097,
"end": 2196,
"loc": {
"start": {
"line": 59,
"column": 16
},
"end": {
"line": 61,
"column": 17
}
},
"test": {
"type": "LogicalExpression",
"start": 2101,
"end": 2143,
"loc": {
"start": {
"line": 59,
"column": 20
},
"end": {
"line": 59,
"column": 62
}
},
"left": {
"type": "UnaryExpression",
"start": 2101,
"end": 2111,
"loc": {
"start": {
"line": 59,
"column": 20
},
"end": {
"line": 59,
"column": 30
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 2102,
"end": 2111,
"loc": {
"start": {
"line": 59,
"column": 21
},
"end": {
"line": 59,
"column": 30
},
"identifierName": "tileBelow"
},
"name": "tileBelow"
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "||",
"right": {
"type": "BinaryExpression",
"start": 2115,
"end": 2143,
"loc": {
"start": {
"line": 59,
"column": 34
},
"end": {
"line": 59,
"column": 62
}
},
"left": {
"type": "UnaryExpression",
"start": 2115,
"end": 2131,
"loc": {
"start": {
"line": 59,
"column": 34
},
"end": {
"line": 59,
"column": 50
}
},
"operator": "typeof",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 2122,
"end": 2131,
"loc": {
"start": {
"line": 59,
"column": 41
},
"end": {
"line": 59,
"column": 50
},
"identifierName": "tileBelow"
},
"name": "tileBelow"
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "!=",
"right": {
"type": "StringLiteral",
"start": 2135,
"end": 2143,
"loc": {
"start": {
"line": 59,
"column": 54
},
"end": {
"line": 59,
"column": 62
}
},
"extra": {
"rawValue": "object",
"raw": "\"object\""
},
"value": "object"
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 2145,
"end": 2196,
"loc": {
"start": {
"line": 59,
"column": 64
},
"end": {
"line": 61,
"column": 17
}
},
"body": [
{
"type": "ContinueStatement",
"start": 2168,
"end": 2177,
"loc": {
"start": {
"line": 60,
"column": 20
},
"end": {
"line": 60,
"column": 29
}
},
"label": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 2214,
"end": 2252,
"loc": {
"start": {
"line": 62,
"column": 16
},
"end": {
"line": 62,
"column": 54
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2214,
"end": 2251,
"loc": {
"start": {
"line": 62,
"column": 16
},
"end": {
"line": 62,
"column": 53
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2214,
"end": 2239,
"loc": {
"start": {
"line": 62,
"column": 16
},
"end": {
"line": 62,
"column": 41
}
},
"object": {
"type": "Identifier",
"start": 2214,
"end": 2223,
"loc": {
"start": {
"line": 62,
"column": 16
},
"end": {
"line": 62,
"column": 25
},
"identifierName": "minerComp"
},
"name": "minerComp"
},
"property": {
"type": "Identifier",
"start": 2224,
"end": 2239,
"loc": {
"start": {
"line": 62,
"column": 26
},
"end": {
"line": 62,
"column": 41
},
"identifierName": "cachedMinedItem"
},
"name": "cachedMinedItem"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 2242,
"end": 2251,
"loc": {
"start": {
"line": 62,
"column": 44
},
"end": {
"line": 62,
"column": 53
},
"identifierName": "tileBelow"
},
"name": "tileBelow"
}
}
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Check if miner is above an actual tile",
"start": 1744,
"end": 1785,
"loc": {
"start": {
"line": 52,
"column": 12
},
"end": {
"line": 52,
"column": 53
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " First, try to get rid of chained items",
"start": 2283,
"end": 2324,
"loc": {
"start": {
"line": 65,
"column": 12
},
"end": {
"line": 65,
"column": 53
}
}
}
]
},
{
"type": "IfStatement",
"start": 2338,
"end": 2590,
"loc": {
"start": {
"line": 66,
"column": 12
},
"end": {
"line": 71,
"column": 13
}
},
"test": {
"type": "BinaryExpression",
"start": 2342,
"end": 2378,
"loc": {
"start": {
"line": 66,
"column": 16
},
"end": {
"line": 66,
"column": 52
}
},
"left": {
"type": "MemberExpression",
"start": 2342,
"end": 2374,
"loc": {
"start": {
"line": 66,
"column": 16
},
"end": {
"line": 66,
"column": 48
}
},
"object": {
"type": "MemberExpression",
"start": 2342,
"end": 2367,
"loc": {
"start": {
"line": 66,
"column": 16
},
"end": {
"line": 66,
"column": 41
}
},
"object": {
"type": "Identifier",
"start": 2342,
"end": 2351,
"loc": {
"start": {
"line": 66,
"column": 16
},
"end": {
"line": 66,
"column": 25
},
"identifierName": "minerComp"
},
"name": "minerComp",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 2352,
"end": 2367,
"loc": {
"start": {
"line": 66,
"column": 26
},
"end": {
"line": 66,
"column": 41
},
"identifierName": "itemChainBuffer"
},
"name": "itemChainBuffer"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 2368,
"end": 2374,
"loc": {
"start": {
"line": 66,
"column": 42
},
"end": {
"line": 66,
"column": 48
},
"identifierName": "length"
},
"name": "length"
},
"computed": false,
"leadingComments": null
},
"operator": ">",
"right": {
"type": "NumericLiteral",
"start": 2377,
"end": 2378,
"loc": {
"start": {
"line": 66,
"column": 51
},
"end": {
"line": 66,
"column": 52
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 2380,
"end": 2590,
"loc": {
"start": {
"line": 66,
"column": 54
},
"end": {
"line": 71,
"column": 13
}
},
"body": [
{
"type": "IfStatement",
"start": 2399,
"end": 2575,
"loc": {
"start": {
"line": 67,
"column": 16
},
"end": {
"line": 70,
"column": 17
}
},
"test": {
"type": "CallExpression",
"start": 2403,
"end": 2466,
"loc": {
"start": {
"line": 67,
"column": 20
},
"end": {
"line": 67,
"column": 83
}
},
"callee": {
"type": "MemberExpression",
"start": 2403,
"end": 2428,
"loc": {
"start": {
"line": 67,
"column": 20
},
"end": {
"line": 67,
"column": 45
}
},
"object": {
"type": "ThisExpression",
"start": 2403,
"end": 2407,
"loc": {
"start": {
"line": 67,
"column": 20
},
"end": {
"line": 67,
"column": 24
}
}
},
"property": {
"type": "Identifier",
"start": 2408,
"end": 2428,
"loc": {
"start": {
"line": 67,
"column": 25
},
"end": {
"line": 67,
"column": 45
},
"identifierName": "tryPerformMinerEject"
},
"name": "tryPerformMinerEject"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 2429,
"end": 2435,
"loc": {
"start": {
"line": 67,
"column": 46
},
"end": {
"line": 67,
"column": 52
},
"identifierName": "entity"
},
"name": "entity"
},
{
"type": "MemberExpression",
"start": 2437,
"end": 2465,
"loc": {
"start": {
"line": 67,
"column": 54
},
"end": {
"line": 67,
"column": 82
}
},
"object": {
"type": "MemberExpression",
"start": 2437,
"end": 2462,
"loc": {
"start": {
"line": 67,
"column": 54
},
"end": {
"line": 67,
"column": 79
}
},
"object": {
"type": "Identifier",
"start": 2437,
"end": 2446,
"loc": {
"start": {
"line": 67,
"column": 54
},
"end": {
"line": 67,
"column": 63
},
"identifierName": "minerComp"
},
"name": "minerComp"
},
"property": {
"type": "Identifier",
"start": 2447,
"end": 2462,
"loc": {
"start": {
"line": 67,
"column": 64
},
"end": {
"line": 67,
"column": 79
},
"identifierName": "itemChainBuffer"
},
"name": "itemChainBuffer"
},
"computed": false
},
"property": {
"type": "NumericLiteral",
"start": 2463,
"end": 2464,
"loc": {
"start": {
"line": 67,
"column": 80
},
"end": {
"line": 67,
"column": 81
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
}
]
},
"consequent": {
"type": "BlockStatement",
"start": 2468,
"end": 2575,
"loc": {
"start": {
"line": 67,
"column": 85
},
"end": {
"line": 70,
"column": 17
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2491,
"end": 2525,
"loc": {
"start": {
"line": 68,
"column": 20
},
"end": {
"line": 68,
"column": 54
}
},
"expression": {
"type": "CallExpression",
"start": 2491,
"end": 2524,
"loc": {
"start": {
"line": 68,
"column": 20
},
"end": {
"line": 68,
"column": 53
}
},
"callee": {
"type": "MemberExpression",
"start": 2491,
"end": 2522,
"loc": {
"start": {
"line": 68,
"column": 20
},
"end": {
"line": 68,
"column": 51
}
},
"object": {
"type": "MemberExpression",
"start": 2491,
"end": 2516,
"loc": {
"start": {
"line": 68,
"column": 20
},
"end": {
"line": 68,
"column": 45
}
},
"object": {
"type": "Identifier",
"start": 2491,
"end": 2500,
"loc": {
"start": {
"line": 68,
"column": 20
},
"end": {
"line": 68,
"column": 29
},
"identifierName": "minerComp"
},
"name": "minerComp"
},
"property": {
"type": "Identifier",
"start": 2501,
"end": 2516,
"loc": {
"start": {
"line": 68,
"column": 30
},
"end": {
"line": 68,
"column": 45
},
"identifierName": "itemChainBuffer"
},
"name": "itemChainBuffer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2517,
"end": 2522,
"loc": {
"start": {
"line": 68,
"column": 46
},
"end": {
"line": 68,
"column": 51
},
"identifierName": "shift"
},
"name": "shift"
},
"computed": false
},
"arguments": []
}
},
{
"type": "ContinueStatement",
"start": 2547,
"end": 2556,
"loc": {
"start": {
"line": 69,
"column": 20
},
"end": {
"line": 69,
"column": 29
}
},
"label": null
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " First, try to get rid of chained items",
"start": 2283,
"end": 2324,
"loc": {
"start": {
"line": 65,
"column": 12
},
"end": {
"line": 65,
"column": 53
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 2606,
"end": 2643,
"loc": {
"start": {
"line": 73,
"column": 12
},
"end": {
"line": 73,
"column": 49
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2612,
"end": 2642,
"loc": {
"start": {
"line": 73,
"column": 18
},
"end": {
"line": 73,
"column": 48
}
},
"id": {
"type": "Identifier",
"start": 2612,
"end": 2624,
"loc": {
"start": {
"line": 73,
"column": 18
},
"end": {
"line": 73,
"column": 30
},
"identifierName": "mineDuration"
},
"name": "mineDuration"
},
"init": {
"type": "BinaryExpression",
"start": 2627,
"end": 2642,
"loc": {
"start": {
"line": 73,
"column": 33
},
"end": {
"line": 73,
"column": 48
}
},
"left": {
"type": "NumericLiteral",
"start": 2627,
"end": 2628,
"loc": {
"start": {
"line": 73,
"column": 33
},
"end": {
"line": 73,
"column": 34
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"operator": "/",
"right": {
"type": "Identifier",
"start": 2631,
"end": 2642,
"loc": {
"start": {
"line": 73,
"column": 37
},
"end": {
"line": 73,
"column": 48
},
"identifierName": "miningSpeed"
},
"name": "miningSpeed"
}
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 2657,
"end": 2727,
"loc": {
"start": {
"line": 74,
"column": 12
},
"end": {
"line": 74,
"column": 82
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2663,
"end": 2726,
"loc": {
"start": {
"line": 74,
"column": 18
},
"end": {
"line": 74,
"column": 81
}
},
"id": {
"type": "Identifier",
"start": 2663,
"end": 2676,
"loc": {
"start": {
"line": 74,
"column": 18
},
"end": {
"line": 74,
"column": 31
},
"identifierName": "timeSinceMine"
},
"name": "timeSinceMine"
},
"init": {
"type": "BinaryExpression",
"start": 2679,
"end": 2726,
"loc": {
"start": {
"line": 74,
"column": 34
},
"end": {
"line": 74,
"column": 81
}
},
"left": {
"type": "CallExpression",
"start": 2679,
"end": 2699,
"loc": {
"start": {
"line": 74,
"column": 34
},
"end": {
"line": 74,
"column": 54
}
},
"callee": {
"type": "MemberExpression",
"start": 2679,
"end": 2697,
"loc": {
"start": {
"line": 74,
"column": 34
},
"end": {
"line": 74,
"column": 52
}
},
"object": {
"type": "MemberExpression",
"start": 2679,
"end": 2693,
"loc": {
"start": {
"line": 74,
"column": 34
},
"end": {
"line": 74,
"column": 48
}
},
"object": {
"type": "MemberExpression",
"start": 2679,
"end": 2688,
"loc": {
"start": {
"line": 74,
"column": 34
},
"end": {
"line": 74,
"column": 43
}
},
"object": {
"type": "ThisExpression",
"start": 2679,
"end": 2683,
"loc": {
"start": {
"line": 74,
"column": 34
},
"end": {
"line": 74,
"column": 38
}
}
},
"property": {
"type": "Identifier",
"start": 2684,
"end": 2688,
"loc": {
"start": {
"line": 74,
"column": 39
},
"end": {
"line": 74,
"column": 43
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2689,
"end": 2693,
"loc": {
"start": {
"line": 74,
"column": 44
},
"end": {
"line": 74,
"column": 48
},
"identifierName": "time"
},
"name": "time"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2694,
"end": 2697,
"loc": {
"start": {
"line": 74,
"column": 49
},
"end": {
"line": 74,
"column": 52
},
"identifierName": "now"
},
"name": "now"
},
"computed": false
},
"arguments": []
},
"operator": "-",
"right": {
"type": "MemberExpression",
"start": 2702,
"end": 2726,
"loc": {
"start": {
"line": 74,
"column": 57
},
"end": {
"line": 74,
"column": 81
}
},
"object": {
"type": "Identifier",
"start": 2702,
"end": 2711,
"loc": {
"start": {
"line": 74,
"column": 57
},
"end": {
"line": 74,
"column": 66
},
"identifierName": "minerComp"
},
"name": "minerComp"
},
"property": {
"type": "Identifier",
"start": 2712,
"end": 2726,
"loc": {
"start": {
"line": 74,
"column": 67
},
"end": {
"line": 74,
"column": 81
},
"identifierName": "lastMiningTime"
},
"name": "lastMiningTime"
},
"computed": false
}
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 2741,
"end": 3307,
"loc": {
"start": {
"line": 75,
"column": 12
},
"end": {
"line": 85,
"column": 13
}
},
"test": {
"type": "BinaryExpression",
"start": 2745,
"end": 2773,
"loc": {
"start": {
"line": 75,
"column": 16
},
"end": {
"line": 75,
"column": 44
}
},
"left": {
"type": "Identifier",
"start": 2745,
"end": 2758,
"loc": {
"start": {
"line": 75,
"column": 16
},
"end": {
"line": 75,
"column": 29
},
"identifierName": "timeSinceMine"
},
"name": "timeSinceMine"
},
"operator": ">",
"right": {
"type": "Identifier",
"start": 2761,
"end": 2773,
"loc": {
"start": {
"line": 75,
"column": 32
},
"end": {
"line": 75,
"column": 44
},
"identifierName": "mineDuration"
},
"name": "mineDuration"
}
},
"consequent": {
"type": "BlockStatement",
"start": 2775,
"end": 3307,
"loc": {
"start": {
"line": 75,
"column": 46
},
"end": {
"line": 85,
"column": 13
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 2843,
"end": 2937,
"loc": {
"start": {
"line": 77,
"column": 16
},
"end": {
"line": 77,
"column": 110
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2849,
"end": 2936,
"loc": {
"start": {
"line": 77,
"column": 22
},
"end": {
"line": 77,
"column": 109
}
},
"id": {
"type": "Identifier",
"start": 2849,
"end": 2855,
"loc": {
"start": {
"line": 77,
"column": 22
},
"end": {
"line": 77,
"column": 28
},
"identifierName": "buffer"
},
"name": "buffer",
"leadingComments": null
},
"init": {
"type": "CallExpression",
"start": 2858,
"end": 2936,
"loc": {
"start": {
"line": 77,
"column": 31
},
"end": {
"line": 77,
"column": 109
}
},
"callee": {
"type": "MemberExpression",
"start": 2858,
"end": 2866,
"loc": {
"start": {
"line": 77,
"column": 31
},
"end": {
"line": 77,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 2858,
"end": 2862,
"loc": {
"start": {
"line": 77,
"column": 31
},
"end": {
"line": 77,
"column": 35
},
"identifierName": "Math"
},
"name": "Math"
},
"property": {
"type": "Identifier",
"start": 2863,
"end": 2866,
"loc": {
"start": {
"line": 77,
"column": 36
},
"end": {
"line": 77,
"column": 39
},
"identifierName": "min"
},
"name": "min"
},
"computed": false
},
"arguments": [
{
"type": "BinaryExpression",
"start": 2867,
"end": 2895,
"loc": {
"start": {
"line": 77,
"column": 40
},
"end": {
"line": 77,
"column": 68
}
},
"left": {
"type": "Identifier",
"start": 2867,
"end": 2880,
"loc": {
"start": {
"line": 77,
"column": 40
},
"end": {
"line": 77,
"column": 53
},
"identifierName": "timeSinceMine"
},
"name": "timeSinceMine"
},
"operator": "-",
"right": {
"type": "Identifier",
"start": 2883,
"end": 2895,
"loc": {
"start": {
"line": 77,
"column": 56
},
"end": {
"line": 77,
"column": 68
},
"identifierName": "mineDuration"
},
"name": "mineDuration"
}
},
{
"type": "MemberExpression",
"start": 2897,
"end": 2935,
"loc": {
"start": {
"line": 77,
"column": 70
},
"end": {
"line": 77,
"column": 108
}
},
"object": {
"type": "MemberExpression",
"start": 2897,
"end": 2922,
"loc": {
"start": {
"line": 77,
"column": 70
},
"end": {
"line": 77,
"column": 95
}
},
"object": {
"type": "MemberExpression",
"start": 2897,
"end": 2906,
"loc": {
"start": {
"line": 77,
"column": 70
},
"end": {
"line": 77,
"column": 79
}
},
"object": {
"type": "ThisExpression",
"start": 2897,
"end": 2901,
"loc": {
"start": {
"line": 77,
"column": 70
},
"end": {
"line": 77,
"column": 74
}
}
},
"property": {
"type": "Identifier",
"start": 2902,
"end": 2906,
"loc": {
"start": {
"line": 77,
"column": 75
},
"end": {
"line": 77,
"column": 79
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2907,
"end": 2922,
"loc": {
"start": {
"line": 77,
"column": 80
},
"end": {
"line": 77,
"column": 95
},
"identifierName": "dynamicTickrate"
},
"name": "dynamicTickrate"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2923,
"end": 2935,
"loc": {
"start": {
"line": 77,
"column": 96
},
"end": {
"line": 77,
"column": 108
},
"identifierName": "deltaSeconds"
},
"name": "deltaSeconds"
},
"computed": false
}
]
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentLine",
"value": " Store how much we overflowed",
"start": 2794,
"end": 2825,
"loc": {
"start": {
"line": 76,
"column": 16
},
"end": {
"line": 76,
"column": 47
}
}
}
]
},
{
"type": "IfStatement",
"start": 2957,
"end": 3292,
"loc": {
"start": {
"line": 79,
"column": 16
},
"end": {
"line": 84,
"column": 17
}
},
"test": {
"type": "CallExpression",
"start": 2961,
"end": 3021,
"loc": {
"start": {
"line": 79,
"column": 20
},
"end": {
"line": 79,
"column": 80
}
},
"callee": {
"type": "MemberExpression",
"start": 2961,
"end": 2986,
"loc": {
"start": {
"line": 79,
"column": 20
},
"end": {
"line": 79,
"column": 45
}
},
"object": {
"type": "ThisExpression",
"start": 2961,
"end": 2965,
"loc": {
"start": {
"line": 79,
"column": 20
},
"end": {
"line": 79,
"column": 24
}
}
},
"property": {
"type": "Identifier",
"start": 2966,
"end": 2986,
"loc": {
"start": {
"line": 79,
"column": 25
},
"end": {
"line": 79,
"column": 45
},
"identifierName": "tryPerformMinerEject"
},
"name": "tryPerformMinerEject"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 2987,
"end": 2993,
"loc": {
"start": {
"line": 79,
"column": 46
},
"end": {
"line": 79,
"column": 52
},
"identifierName": "entity"
},
"name": "entity"
},
{
"type": "MemberExpression",
"start": 2995,
"end": 3020,
"loc": {
"start": {
"line": 79,
"column": 54
},
"end": {
"line": 79,
"column": 79
}
},
"object": {
"type": "Identifier",
"start": 2995,
"end": 3004,
"loc": {
"start": {
"line": 79,
"column": 54
},
"end": {
"line": 79,
"column": 63
},
"identifierName": "minerComp"
},
"name": "minerComp"
},
"property": {
"type": "Identifier",
"start": 3005,
"end": 3020,
"loc": {
"start": {
"line": 79,
"column": 64
},
"end": {
"line": 79,
"column": 79
},
"identifierName": "cachedMinedItem"
},
"name": "cachedMinedItem"
},
"computed": false
}
]
},
"consequent": {
"type": "BlockStatement",
"start": 3023,
"end": 3292,
"loc": {
"start": {
"line": 79,
"column": 82
},
"end": {
"line": 84,
"column": 17
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 3085,
"end": 3152,
"loc": {
"start": {
"line": 81,
"column": 20
},
"end": {
"line": 81,
"column": 87
}
},
"expression": {
"type": "CallExpression",
"start": 3085,
"end": 3151,
"loc": {
"start": {
"line": 81,
"column": 20
},
"end": {
"line": 81,
"column": 86
}
},
"callee": {
"type": "MemberExpression",
"start": 3085,
"end": 3124,
"loc": {
"start": {
"line": 81,
"column": 20
},
"end": {
"line": 81,
"column": 59
}
},
"object": {
"type": "MemberExpression",
"start": 3085,
"end": 3115,
"loc": {
"start": {
"line": 81,
"column": 20
},
"end": {
"line": 81,
"column": 50
}
},
"object": {
"type": "MemberExpression",
"start": 3085,
"end": 3102,
"loc": {
"start": {
"line": 81,
"column": 20
},
"end": {
"line": 81,
"column": 37
}
},
"object": {
"type": "MemberExpression",
"start": 3085,
"end": 3094,
"loc": {
"start": {
"line": 81,
"column": 20
},
"end": {
"line": 81,
"column": 29
}
},
"object": {
"type": "ThisExpression",
"start": 3085,
"end": 3089,
"loc": {
"start": {
"line": 81,
"column": 20
},
"end": {
"line": 81,
"column": 24
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 3090,
"end": 3094,
"loc": {
"start": {
"line": 81,
"column": 25
},
"end": {
"line": 81,
"column": 29
},
"identifierName": "root"
},
"name": "root"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 3095,
"end": 3102,
"loc": {
"start": {
"line": 81,
"column": 30
},
"end": {
"line": 81,
"column": 37
},
"identifierName": "signals"
},
"name": "signals"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 3103,
"end": 3115,
"loc": {
"start": {
"line": 81,
"column": 38
},
"end": {
"line": 81,
"column": 50
},
"identifierName": "itemProduced"
},
"name": "itemProduced"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 3116,
"end": 3124,
"loc": {
"start": {
"line": 81,
"column": 51
},
"end": {
"line": 81,
"column": 59
},
"identifierName": "dispatch"
},
"name": "dispatch"
},
"computed": false,
"leadingComments": null
},
"arguments": [
{
"type": "MemberExpression",
"start": 3125,
"end": 3150,
"loc": {
"start": {
"line": 81,
"column": 60
},
"end": {
"line": 81,
"column": 85
}
},
"object": {
"type": "Identifier",
"start": 3125,
"end": 3134,
"loc": {
"start": {
"line": 81,
"column": 60
},
"end": {
"line": 81,
"column": 69
},
"identifierName": "minerComp"
},
"name": "minerComp"
},
"property": {
"type": "Identifier",
"start": 3135,
"end": 3150,
"loc": {
"start": {
"line": 81,
"column": 70
},
"end": {
"line": 81,
"column": 85
},
"identifierName": "cachedMinedItem"
},
"name": "cachedMinedItem"
},
"computed": false
}
],
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Analytics hook",
"start": 3046,
"end": 3063,
"loc": {
"start": {
"line": 80,
"column": 20
},
"end": {
"line": 80,
"column": 37
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " Store mining time",
"start": 3174,
"end": 3194,
"loc": {
"start": {
"line": 82,
"column": 20
},
"end": {
"line": 82,
"column": 40
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 3216,
"end": 3273,
"loc": {
"start": {
"line": 83,
"column": 20
},
"end": {
"line": 83,
"column": 77
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3216,
"end": 3272,
"loc": {
"start": {
"line": 83,
"column": 20
},
"end": {
"line": 83,
"column": 76
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3216,
"end": 3240,
"loc": {
"start": {
"line": 83,
"column": 20
},
"end": {
"line": 83,
"column": 44
}
},
"object": {
"type": "Identifier",
"start": 3216,
"end": 3225,
"loc": {
"start": {
"line": 83,
"column": 20
},
"end": {
"line": 83,
"column": 29
},
"identifierName": "minerComp"
},
"name": "minerComp",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 3226,
"end": 3240,
"loc": {
"start": {
"line": 83,
"column": 30
},
"end": {
"line": 83,
"column": 44
},
"identifierName": "lastMiningTime"
},
"name": "lastMiningTime"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "BinaryExpression",
"start": 3243,
"end": 3272,
"loc": {
"start": {
"line": 83,
"column": 47
},
"end": {
"line": 83,
"column": 76
}
},
"left": {
"type": "CallExpression",
"start": 3243,
"end": 3263,
"loc": {
"start": {
"line": 83,
"column": 47
},
"end": {
"line": 83,
"column": 67
}
},
"callee": {
"type": "MemberExpression",
"start": 3243,
"end": 3261,
"loc": {
"start": {
"line": 83,
"column": 47
},
"end": {
"line": 83,
"column": 65
}
},
"object": {
"type": "MemberExpression",
"start": 3243,
"end": 3257,
"loc": {
"start": {
"line": 83,
"column": 47
},
"end": {
"line": 83,
"column": 61
}
},
"object": {
"type": "MemberExpression",
"start": 3243,
"end": 3252,
"loc": {
"start": {
"line": 83,
"column": 47
},
"end": {
"line": 83,
"column": 56
}
},
"object": {
"type": "ThisExpression",
"start": 3243,
"end": 3247,
"loc": {
"start": {
"line": 83,
"column": 47
},
"end": {
"line": 83,
"column": 51
}
}
},
"property": {
"type": "Identifier",
"start": 3248,
"end": 3252,
"loc": {
"start": {
"line": 83,
"column": 52
},
"end": {
"line": 83,
"column": 56
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3253,
"end": 3257,
"loc": {
"start": {
"line": 83,
"column": 57
},
"end": {
"line": 83,
"column": 61
},
"identifierName": "time"
},
"name": "time"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3258,
"end": 3261,
"loc": {
"start": {
"line": 83,
"column": 62
},
"end": {
"line": 83,
"column": 65
},
"identifierName": "now"
},
"name": "now"
},
"computed": false
},
"arguments": []
},
"operator": "-",
"right": {
"type": "Identifier",
"start": 3266,
"end": 3272,
"loc": {
"start": {
"line": 83,
"column": 70
},
"end": {
"line": 83,
"column": 76
},
"identifierName": "buffer"
},
"name": "buffer"
}
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Store mining time",
"start": 3174,
"end": 3194,
"loc": {
"start": {
"line": 82,
"column": 20
},
"end": {
"line": 82,
"column": 40
}
}
}
]
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
},
"alternate": null
}
],
"directives": [],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentLine",
"value": " After this frame we are done",
"start": 3330,
"end": 3361,
"loc": {
"start": {
"line": 88,
"column": 8
},
"end": {
"line": 88,
"column": 39
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 3371,
"end": 3399,
"loc": {
"start": {
"line": 89,
"column": 8
},
"end": {
"line": 89,
"column": 36
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3371,
"end": 3398,
"loc": {
"start": {
"line": 89,
"column": 8
},
"end": {
"line": 89,
"column": 35
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3371,
"end": 3390,
"loc": {
"start": {
"line": 89,
"column": 8
},
"end": {
"line": 89,
"column": 27
}
},
"object": {
"type": "ThisExpression",
"start": 3371,
"end": 3375,
"loc": {
"start": {
"line": 89,
"column": 8
},
"end": {
"line": 89,
"column": 12
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 3376,
"end": 3390,
"loc": {
"start": {
"line": 89,
"column": 13
},
"end": {
"line": 89,
"column": 27
},
"identifierName": "needsRecompute"
},
"name": "needsRecompute"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "BooleanLiteral",
"start": 3393,
"end": 3398,
"loc": {
"start": {
"line": 89,
"column": 30
},
"end": {
"line": 89,
"column": 35
}
},
"value": false
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " After this frame we are done",
"start": 3330,
"end": 3361,
"loc": {
"start": {
"line": 88,
"column": 8
},
"end": {
"line": 88,
"column": 39
}
}
}
]
}
],
"directives": [],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Finds the target chained miner for a given entity\r\n * @param {Entity} entity\r\n * @returns {Entity|false} The chained entity or null if not found\r\n ",
"start": 3414,
"end": 3587,
"loc": {
"start": {
"line": 92,
"column": 4
},
"end": {
"line": 96,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 3593,
"end": 4881,
"loc": {
"start": {
"line": 97,
"column": 4
},
"end": {
"line": 125,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3593,
"end": 3609,
"loc": {
"start": {
"line": 97,
"column": 4
},
"end": {
"line": 97,
"column": 20
},
"identifierName": "findChainedMiner"
},
"name": "findChainedMiner",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 3610,
"end": 3616,
"loc": {
"start": {
"line": 97,
"column": 21
},
"end": {
"line": 97,
"column": 27
},
"identifierName": "entity"
},
"name": "entity"
}
],
"body": {
"type": "BlockStatement",
"start": 3618,
"end": 4881,
"loc": {
"start": {
"line": 97,
"column": 29
},
"end": {
"line": 125,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 3629,
"end": 3677,
"loc": {
"start": {
"line": 98,
"column": 8
},
"end": {
"line": 98,
"column": 56
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3635,
"end": 3676,
"loc": {
"start": {
"line": 98,
"column": 14
},
"end": {
"line": 98,
"column": 55
}
},
"id": {
"type": "Identifier",
"start": 3635,
"end": 3644,
"loc": {
"start": {
"line": 98,
"column": 14
},
"end": {
"line": 98,
"column": 23
},
"identifierName": "ejectComp"
},
"name": "ejectComp"
},
"init": {
"type": "MemberExpression",
"start": 3647,
"end": 3676,
"loc": {
"start": {
"line": 98,
"column": 26
},
"end": {
"line": 98,
"column": 55
}
},
"object": {
"type": "MemberExpression",
"start": 3647,
"end": 3664,
"loc": {
"start": {
"line": 98,
"column": 26
},
"end": {
"line": 98,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 3647,
"end": 3653,
"loc": {
"start": {
"line": 98,
"column": 26
},
"end": {
"line": 98,
"column": 32
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 3654,
"end": 3664,
"loc": {
"start": {
"line": 98,
"column": 33
},
"end": {
"line": 98,
"column": 43
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3665,
"end": 3676,
"loc": {
"start": {
"line": 98,
"column": 44
},
"end": {
"line": 98,
"column": 55
},
"identifierName": "ItemEjector"
},
"name": "ItemEjector"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 3687,
"end": 3740,
"loc": {
"start": {
"line": 99,
"column": 8
},
"end": {
"line": 99,
"column": 61
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3693,
"end": 3739,
"loc": {
"start": {
"line": 99,
"column": 14
},
"end": {
"line": 99,
"column": 60
}
},
"id": {
"type": "Identifier",
"start": 3693,
"end": 3703,
"loc": {
"start": {
"line": 99,
"column": 14
},
"end": {
"line": 99,
"column": 24
},
"identifierName": "staticComp"
},
"name": "staticComp"
},
"init": {
"type": "MemberExpression",
"start": 3706,
"end": 3739,
"loc": {
"start": {
"line": 99,
"column": 27
},
"end": {
"line": 99,
"column": 60
}
},
"object": {
"type": "MemberExpression",
"start": 3706,
"end": 3723,
"loc": {
"start": {
"line": 99,
"column": 27
},
"end": {
"line": 99,
"column": 44
}
},
"object": {
"type": "Identifier",
"start": 3706,
"end": 3712,
"loc": {
"start": {
"line": 99,
"column": 27
},
"end": {
"line": 99,
"column": 33
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 3713,
"end": 3723,
"loc": {
"start": {
"line": 99,
"column": 34
},
"end": {
"line": 99,
"column": 44
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3724,
"end": 3739,
"loc": {
"start": {
"line": 99,
"column": 45
},
"end": {
"line": 99,
"column": 60
},
"identifierName": "StaticMapEntity"
},
"name": "StaticMapEntity"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 3750,
"end": 3851,
"loc": {
"start": {
"line": 100,
"column": 8
},
"end": {
"line": 100,
"column": 109
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3756,
"end": 3850,
"loc": {
"start": {
"line": 100,
"column": 14
},
"end": {
"line": 100,
"column": 108
}
},
"id": {
"type": "Identifier",
"start": 3756,
"end": 3769,
"loc": {
"start": {
"line": 100,
"column": 14
},
"end": {
"line": 100,
"column": 27
},
"identifierName": "contentsBelow"
},
"name": "contentsBelow"
},
"init": {
"type": "CallExpression",
"start": 3772,
"end": 3850,
"loc": {
"start": {
"line": 100,
"column": 30
},
"end": {
"line": 100,
"column": 108
}
},
"callee": {
"type": "MemberExpression",
"start": 3772,
"end": 3808,
"loc": {
"start": {
"line": 100,
"column": 30
},
"end": {
"line": 100,
"column": 66
}
},
"object": {
"type": "MemberExpression",
"start": 3772,
"end": 3785,
"loc": {
"start": {
"line": 100,
"column": 30
},
"end": {
"line": 100,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 3772,
"end": 3781,
"loc": {
"start": {
"line": 100,
"column": 30
},
"end": {
"line": 100,
"column": 39
}
},
"object": {
"type": "ThisExpression",
"start": 3772,
"end": 3776,
"loc": {
"start": {
"line": 100,
"column": 30
},
"end": {
"line": 100,
"column": 34
}
}
},
"property": {
"type": "Identifier",
"start": 3777,
"end": 3781,
"loc": {
"start": {
"line": 100,
"column": 35
},
"end": {
"line": 100,
"column": 39
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3782,
"end": 3785,
"loc": {
"start": {
"line": 100,
"column": 40
},
"end": {
"line": 100,
"column": 43
},
"identifierName": "map"
},
"name": "map"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3786,
"end": 3808,
"loc": {
"start": {
"line": 100,
"column": 44
},
"end": {
"line": 100,
"column": 66
},
"identifierName": "getLowerLayerContentXY"
},
"name": "getLowerLayerContentXY"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 3809,
"end": 3828,
"loc": {
"start": {
"line": 100,
"column": 67
},
"end": {
"line": 100,
"column": 86
}
},
"object": {
"type": "MemberExpression",
"start": 3809,
"end": 3826,
"loc": {
"start": {
"line": 100,
"column": 67
},
"end": {
"line": 100,
"column": 84
}
},
"object": {
"type": "Identifier",
"start": 3809,
"end": 3819,
"loc": {
"start": {
"line": 100,
"column": 67
},
"end": {
"line": 100,
"column": 77
},
"identifierName": "staticComp"
},
"name": "staticComp"
},
"property": {
"type": "Identifier",
"start": 3820,
"end": 3826,
"loc": {
"start": {
"line": 100,
"column": 78
},
"end": {
"line": 100,
"column": 84
},
"identifierName": "origin"
},
"name": "origin"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3827,
"end": 3828,
"loc": {
"start": {
"line": 100,
"column": 85
},
"end": {
"line": 100,
"column": 86
},
"identifierName": "x"
},
"name": "x"
},
"computed": false
},
{
"type": "MemberExpression",
"start": 3830,
"end": 3849,
"loc": {
"start": {
"line": 100,
"column": 88
},
"end": {
"line": 100,
"column": 107
}
},
"object": {
"type": "MemberExpression",
"start": 3830,
"end": 3847,
"loc": {
"start": {
"line": 100,
"column": 88
},
"end": {
"line": 100,
"column": 105
}
},
"object": {
"type": "Identifier",
"start": 3830,
"end": 3840,
"loc": {
"start": {
"line": 100,
"column": 88
},
"end": {
"line": 100,
"column": 98
},
"identifierName": "staticComp"
},
"name": "staticComp"
},
"property": {
"type": "Identifier",
"start": 3841,
"end": 3847,
"loc": {
"start": {
"line": 100,
"column": 99
},
"end": {
"line": 100,
"column": 105
},
"identifierName": "origin"
},
"name": "origin"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3848,
"end": 3849,
"loc": {
"start": {
"line": 100,
"column": 106
},
"end": {
"line": 100,
"column": 107
},
"identifierName": "y"
},
"name": "y"
},
"computed": false
}
]
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 3861,
"end": 3962,
"loc": {
"start": {
"line": 101,
"column": 8
},
"end": {
"line": 104,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 3865,
"end": 3879,
"loc": {
"start": {
"line": 101,
"column": 12
},
"end": {
"line": 101,
"column": 26
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 3866,
"end": 3879,
"loc": {
"start": {
"line": 101,
"column": 13
},
"end": {
"line": 101,
"column": 26
},
"identifierName": "contentsBelow"
},
"name": "contentsBelow"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 3881,
"end": 3962,
"loc": {
"start": {
"line": 101,
"column": 28
},
"end": {
"line": 104,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 3939,
"end": 3951,
"loc": {
"start": {
"line": 103,
"column": 12
},
"end": {
"line": 103,
"column": 24
}
},
"argument": {
"type": "NullLiteral",
"start": 3946,
"end": 3950,
"loc": {
"start": {
"line": 103,
"column": 19
},
"end": {
"line": 103,
"column": 23
}
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " This miner has no contents",
"start": 3896,
"end": 3925,
"loc": {
"start": {
"line": 102,
"column": 12
},
"end": {
"line": 102,
"column": 41
}
}
}
]
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 3974,
"end": 4014,
"loc": {
"start": {
"line": 106,
"column": 8
},
"end": {
"line": 106,
"column": 48
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3980,
"end": 4013,
"loc": {
"start": {
"line": 106,
"column": 14
},
"end": {
"line": 106,
"column": 47
}
},
"id": {
"type": "Identifier",
"start": 3980,
"end": 3992,
"loc": {
"start": {
"line": 106,
"column": 14
},
"end": {
"line": 106,
"column": 26
},
"identifierName": "ejectingSlot"
},
"name": "ejectingSlot"
},
"init": {
"type": "MemberExpression",
"start": 3995,
"end": 4013,
"loc": {
"start": {
"line": 106,
"column": 29
},
"end": {
"line": 106,
"column": 47
}
},
"object": {
"type": "MemberExpression",
"start": 3995,
"end": 4010,
"loc": {
"start": {
"line": 106,
"column": 29
},
"end": {
"line": 106,
"column": 44
}
},
"object": {
"type": "Identifier",
"start": 3995,
"end": 4004,
"loc": {
"start": {
"line": 106,
"column": 29
},
"end": {
"line": 106,
"column": 38
},
"identifierName": "ejectComp"
},
"name": "ejectComp"
},
"property": {
"type": "Identifier",
"start": 4005,
"end": 4010,
"loc": {
"start": {
"line": 106,
"column": 39
},
"end": {
"line": 106,
"column": 44
},
"identifierName": "slots"
},
"name": "slots"
},
"computed": false
},
"property": {
"type": "NumericLiteral",
"start": 4011,
"end": 4012,
"loc": {
"start": {
"line": 106,
"column": 45
},
"end": {
"line": 106,
"column": 46
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 4024,
"end": 4090,
"loc": {
"start": {
"line": 107,
"column": 8
},
"end": {
"line": 107,
"column": 74
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4030,
"end": 4089,
"loc": {
"start": {
"line": 107,
"column": 14
},
"end": {
"line": 107,
"column": 73
}
},
"id": {
"type": "Identifier",
"start": 4030,
"end": 4041,
"loc": {
"start": {
"line": 107,
"column": 14
},
"end": {
"line": 107,
"column": 25
},
"identifierName": "ejectingPos"
},
"name": "ejectingPos"
},
"init": {
"type": "CallExpression",
"start": 4044,
"end": 4089,
"loc": {
"start": {
"line": 107,
"column": 28
},
"end": {
"line": 107,
"column": 73
}
},
"callee": {
"type": "MemberExpression",
"start": 4044,
"end": 4071,
"loc": {
"start": {
"line": 107,
"column": 28
},
"end": {
"line": 107,
"column": 55
}
},
"object": {
"type": "Identifier",
"start": 4044,
"end": 4054,
"loc": {
"start": {
"line": 107,
"column": 28
},
"end": {
"line": 107,
"column": 38
},
"identifierName": "staticComp"
},
"name": "staticComp"
},
"property": {
"type": "Identifier",
"start": 4055,
"end": 4071,
"loc": {
"start": {
"line": 107,
"column": 39
},
"end": {
"line": 107,
"column": 55
},
"identifierName": "localTileToWorld"
},
"name": "localTileToWorld"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 4072,
"end": 4088,
"loc": {
"start": {
"line": 107,
"column": 56
},
"end": {
"line": 107,
"column": 72
}
},
"object": {
"type": "Identifier",
"start": 4072,
"end": 4084,
"loc": {
"start": {
"line": 107,
"column": 56
},
"end": {
"line": 107,
"column": 68
},
"identifierName": "ejectingSlot"
},
"name": "ejectingSlot"
},
"property": {
"type": "Identifier",
"start": 4085,
"end": 4088,
"loc": {
"start": {
"line": 107,
"column": 69
},
"end": {
"line": 107,
"column": 72
},
"identifierName": "pos"
},
"name": "pos"
},
"computed": false
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 4100,
"end": 4183,
"loc": {
"start": {
"line": 108,
"column": 8
},
"end": {
"line": 108,
"column": 91
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4106,
"end": 4182,
"loc": {
"start": {
"line": 108,
"column": 14
},
"end": {
"line": 108,
"column": 90
}
},
"id": {
"type": "Identifier",
"start": 4106,
"end": 4123,
"loc": {
"start": {
"line": 108,
"column": 14
},
"end": {
"line": 108,
"column": 31
},
"identifierName": "ejectingDirection"
},
"name": "ejectingDirection"
},
"init": {
"type": "CallExpression",
"start": 4126,
"end": 4182,
"loc": {
"start": {
"line": 108,
"column": 34
},
"end": {
"line": 108,
"column": 90
}
},
"callee": {
"type": "MemberExpression",
"start": 4126,
"end": 4158,
"loc": {
"start": {
"line": 108,
"column": 34
},
"end": {
"line": 108,
"column": 66
}
},
"object": {
"type": "Identifier",
"start": 4126,
"end": 4136,
"loc": {
"start": {
"line": 108,
"column": 34
},
"end": {
"line": 108,
"column": 44
},
"identifierName": "staticComp"
},
"name": "staticComp"
},
"property": {
"type": "Identifier",
"start": 4137,
"end": 4158,
"loc": {
"start": {
"line": 108,
"column": 45
},
"end": {
"line": 108,
"column": 66
},
"identifierName": "localDirectionToWorld"
},
"name": "localDirectionToWorld"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 4159,
"end": 4181,
"loc": {
"start": {
"line": 108,
"column": 67
},
"end": {
"line": 108,
"column": 89
}
},
"object": {
"type": "Identifier",
"start": 4159,
"end": 4171,
"loc": {
"start": {
"line": 108,
"column": 67
},
"end": {
"line": 108,
"column": 79
},
"identifierName": "ejectingSlot"
},
"name": "ejectingSlot"
},
"property": {
"type": "Identifier",
"start": 4172,
"end": 4181,
"loc": {
"start": {
"line": 108,
"column": 80
},
"end": {
"line": 108,
"column": 89
},
"identifierName": "direction"
},
"name": "direction"
},
"computed": false
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 4195,
"end": 4272,
"loc": {
"start": {
"line": 110,
"column": 8
},
"end": {
"line": 110,
"column": 85
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4201,
"end": 4271,
"loc": {
"start": {
"line": 110,
"column": 14
},
"end": {
"line": 110,
"column": 84
}
},
"id": {
"type": "Identifier",
"start": 4201,
"end": 4211,
"loc": {
"start": {
"line": 110,
"column": 14
},
"end": {
"line": 110,
"column": 24
},
"identifierName": "targetTile"
},
"name": "targetTile"
},
"init": {
"type": "CallExpression",
"start": 4214,
"end": 4271,
"loc": {
"start": {
"line": 110,
"column": 27
},
"end": {
"line": 110,
"column": 84
}
},
"callee": {
"type": "MemberExpression",
"start": 4214,
"end": 4229,
"loc": {
"start": {
"line": 110,
"column": 27
},
"end": {
"line": 110,
"column": 42
}
},
"object": {
"type": "Identifier",
"start": 4214,
"end": 4225,
"loc": {
"start": {
"line": 110,
"column": 27
},
"end": {
"line": 110,
"column": 38
},
"identifierName": "ejectingPos"
},
"name": "ejectingPos"
},
"property": {
"type": "Identifier",
"start": 4226,
"end": 4229,
"loc": {
"start": {
"line": 110,
"column": 39
},
"end": {
"line": 110,
"column": 42
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 4230,
"end": 4270,
"loc": {
"start": {
"line": 110,
"column": 43
},
"end": {
"line": 110,
"column": 83
}
},
"object": {
"type": "Identifier",
"start": 4230,
"end": 4251,
"loc": {
"start": {
"line": 110,
"column": 43
},
"end": {
"line": 110,
"column": 64
},
"identifierName": "enumDirectionToVector"
},
"name": "enumDirectionToVector"
},
"property": {
"type": "Identifier",
"start": 4252,
"end": 4269,
"loc": {
"start": {
"line": 110,
"column": 65
},
"end": {
"line": 110,
"column": 82
},
"identifierName": "ejectingDirection"
},
"name": "ejectingDirection"
},
"computed": true
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 4282,
"end": 4357,
"loc": {
"start": {
"line": 111,
"column": 8
},
"end": {
"line": 111,
"column": 83
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4288,
"end": 4356,
"loc": {
"start": {
"line": 111,
"column": 14
},
"end": {
"line": 111,
"column": 82
}
},
"id": {
"type": "Identifier",
"start": 4288,
"end": 4302,
"loc": {
"start": {
"line": 111,
"column": 14
},
"end": {
"line": 111,
"column": 28
},
"identifierName": "targetContents"
},
"name": "targetContents"
},
"init": {
"type": "CallExpression",
"start": 4305,
"end": 4356,
"loc": {
"start": {
"line": 111,
"column": 31
},
"end": {
"line": 111,
"column": 82
}
},
"callee": {
"type": "MemberExpression",
"start": 4305,
"end": 4333,
"loc": {
"start": {
"line": 111,
"column": 31
},
"end": {
"line": 111,
"column": 59
}
},
"object": {
"type": "MemberExpression",
"start": 4305,
"end": 4318,
"loc": {
"start": {
"line": 111,
"column": 31
},
"end": {
"line": 111,
"column": 44
}
},
"object": {
"type": "MemberExpression",
"start": 4305,
"end": 4314,
"loc": {
"start": {
"line": 111,
"column": 31
},
"end": {
"line": 111,
"column": 40
}
},
"object": {
"type": "ThisExpression",
"start": 4305,
"end": 4309,
"loc": {
"start": {
"line": 111,
"column": 31
},
"end": {
"line": 111,
"column": 35
}
}
},
"property": {
"type": "Identifier",
"start": 4310,
"end": 4314,
"loc": {
"start": {
"line": 111,
"column": 36
},
"end": {
"line": 111,
"column": 40
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4315,
"end": 4318,
"loc": {
"start": {
"line": 111,
"column": 41
},
"end": {
"line": 111,
"column": 44
},
"identifierName": "map"
},
"name": "map"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4319,
"end": 4333,
"loc": {
"start": {
"line": 111,
"column": 45
},
"end": {
"line": 111,
"column": 59
},
"identifierName": "getTileContent"
},
"name": "getTileContent"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 4334,
"end": 4344,
"loc": {
"start": {
"line": 111,
"column": 60
},
"end": {
"line": 111,
"column": 70
},
"identifierName": "targetTile"
},
"name": "targetTile"
},
{
"type": "StringLiteral",
"start": 4346,
"end": 4355,
"loc": {
"start": {
"line": 111,
"column": 72
},
"end": {
"line": 111,
"column": 81
}
},
"extra": {
"rawValue": "regular",
"raw": "\"regular\""
},
"value": "regular"
}
]
}
}
],
"kind": "const",
"trailingComments": [
{
"type": "CommentLine",
"value": " Check if we are connected to another miner and thus do not eject directly",
"start": 4369,
"end": 4445,
"loc": {
"start": {
"line": 113,
"column": 8
},
"end": {
"line": 113,
"column": 84
}
}
}
]
},
{
"type": "IfStatement",
"start": 4455,
"end": 4849,
"loc": {
"start": {
"line": 114,
"column": 8
},
"end": {
"line": 122,
"column": 9
}
},
"test": {
"type": "Identifier",
"start": 4459,
"end": 4473,
"loc": {
"start": {
"line": 114,
"column": 12
},
"end": {
"line": 114,
"column": 26
},
"identifierName": "targetContents"
},
"name": "targetContents",
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 4475,
"end": 4849,
"loc": {
"start": {
"line": 114,
"column": 28
},
"end": {
"line": 122,
"column": 9
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 4490,
"end": 4546,
"loc": {
"start": {
"line": 115,
"column": 12
},
"end": {
"line": 115,
"column": 68
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4496,
"end": 4545,
"loc": {
"start": {
"line": 115,
"column": 18
},
"end": {
"line": 115,
"column": 67
}
},
"id": {
"type": "Identifier",
"start": 4496,
"end": 4511,
"loc": {
"start": {
"line": 115,
"column": 18
},
"end": {
"line": 115,
"column": 33
},
"identifierName": "targetMinerComp"
},
"name": "targetMinerComp"
},
"init": {
"type": "MemberExpression",
"start": 4514,
"end": 4545,
"loc": {
"start": {
"line": 115,
"column": 36
},
"end": {
"line": 115,
"column": 67
}
},
"object": {
"type": "MemberExpression",
"start": 4514,
"end": 4539,
"loc": {
"start": {
"line": 115,
"column": 36
},
"end": {
"line": 115,
"column": 61
}
},
"object": {
"type": "Identifier",
"start": 4514,
"end": 4528,
"loc": {
"start": {
"line": 115,
"column": 36
},
"end": {
"line": 115,
"column": 50
},
"identifierName": "targetContents"
},
"name": "targetContents"
},
"property": {
"type": "Identifier",
"start": 4529,
"end": 4539,
"loc": {
"start": {
"line": 115,
"column": 51
},
"end": {
"line": 115,
"column": 61
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4540,
"end": 4545,
"loc": {
"start": {
"line": 115,
"column": 62
},
"end": {
"line": 115,
"column": 67
},
"identifierName": "Miner"
},
"name": "Miner"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 4560,
"end": 4838,
"loc": {
"start": {
"line": 116,
"column": 12
},
"end": {
"line": 121,
"column": 13
}
},
"test": {
"type": "LogicalExpression",
"start": 4564,
"end": 4608,
"loc": {
"start": {
"line": 116,
"column": 16
},
"end": {
"line": 116,
"column": 60
}
},
"left": {
"type": "Identifier",
"start": 4564,
"end": 4579,
"loc": {
"start": {
"line": 116,
"column": 16
},
"end": {
"line": 116,
"column": 31
},
"identifierName": "targetMinerComp"
},
"name": "targetMinerComp"
},
"operator": "&&",
"right": {
"type": "MemberExpression",
"start": 4583,
"end": 4608,
"loc": {
"start": {
"line": 116,
"column": 35
},
"end": {
"line": 116,
"column": 60
}
},
"object": {
"type": "Identifier",
"start": 4583,
"end": 4598,
"loc": {
"start": {
"line": 116,
"column": 35
},
"end": {
"line": 116,
"column": 50
},
"identifierName": "targetMinerComp"
},
"name": "targetMinerComp"
},
"property": {
"type": "Identifier",
"start": 4599,
"end": 4608,
"loc": {
"start": {
"line": 116,
"column": 51
},
"end": {
"line": 116,
"column": 60
},
"identifierName": "chainable"
},
"name": "chainable"
},
"computed": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 4610,
"end": 4838,
"loc": {
"start": {
"line": 116,
"column": 62
},
"end": {
"line": 121,
"column": 13
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 4629,
"end": 4719,
"loc": {
"start": {
"line": 117,
"column": 16
},
"end": {
"line": 117,
"column": 106
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4635,
"end": 4718,
"loc": {
"start": {
"line": 117,
"column": 22
},
"end": {
"line": 117,
"column": 105
}
},
"id": {
"type": "Identifier",
"start": 4635,
"end": 4651,
"loc": {
"start": {
"line": 117,
"column": 22
},
"end": {
"line": 117,
"column": 38
},
"identifierName": "targetLowerLayer"
},
"name": "targetLowerLayer"
},
"init": {
"type": "CallExpression",
"start": 4654,
"end": 4718,
"loc": {
"start": {
"line": 117,
"column": 41
},
"end": {
"line": 117,
"column": 105
}
},
"callee": {
"type": "MemberExpression",
"start": 4654,
"end": 4690,
"loc": {
"start": {
"line": 117,
"column": 41
},
"end": {
"line": 117,
"column": 77
}
},
"object": {
"type": "MemberExpression",
"start": 4654,
"end": 4667,
"loc": {
"start": {
"line": 117,
"column": 41
},
"end": {
"line": 117,
"column": 54
}
},
"object": {
"type": "MemberExpression",
"start": 4654,
"end": 4663,
"loc": {
"start": {
"line": 117,
"column": 41
},
"end": {
"line": 117,
"column": 50
}
},
"object": {
"type": "ThisExpression",
"start": 4654,
"end": 4658,
"loc": {
"start": {
"line": 117,
"column": 41
},
"end": {
"line": 117,
"column": 45
}
}
},
"property": {
"type": "Identifier",
"start": 4659,
"end": 4663,
"loc": {
"start": {
"line": 117,
"column": 46
},
"end": {
"line": 117,
"column": 50
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4664,
"end": 4667,
"loc": {
"start": {
"line": 117,
"column": 51
},
"end": {
"line": 117,
"column": 54
},
"identifierName": "map"
},
"name": "map"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4668,
"end": 4690,
"loc": {
"start": {
"line": 117,
"column": 55
},
"end": {
"line": 117,
"column": 77
},
"identifierName": "getLowerLayerContentXY"
},
"name": "getLowerLayerContentXY"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 4691,
"end": 4703,
"loc": {
"start": {
"line": 117,
"column": 78
},
"end": {
"line": 117,
"column": 90
}
},
"object": {
"type": "Identifier",
"start": 4691,
"end": 4701,
"loc": {
"start": {
"line": 117,
"column": 78
},
"end": {
"line": 117,
"column": 88
},
"identifierName": "targetTile"
},
"name": "targetTile"
},
"property": {
"type": "Identifier",
"start": 4702,
"end": 4703,
"loc": {
"start": {
"line": 117,
"column": 89
},
"end": {
"line": 117,
"column": 90
},
"identifierName": "x"
},
"name": "x"
},
"computed": false
},
{
"type": "MemberExpression",
"start": 4705,
"end": 4717,
"loc": {
"start": {
"line": 117,
"column": 92
},
"end": {
"line": 117,
"column": 104
}
},
"object": {
"type": "Identifier",
"start": 4705,
"end": 4715,
"loc": {
"start": {
"line": 117,
"column": 92
},
"end": {
"line": 117,
"column": 102
},
"identifierName": "targetTile"
},
"name": "targetTile"
},
"property": {
"type": "Identifier",
"start": 4716,
"end": 4717,
"loc": {
"start": {
"line": 117,
"column": 103
},
"end": {
"line": 117,
"column": 104
},
"identifierName": "y"
},
"name": "y"
},
"computed": false
}
]
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 4737,
"end": 4823,
"loc": {
"start": {
"line": 118,
"column": 16
},
"end": {
"line": 120,
"column": 17
}
},
"test": {
"type": "Identifier",
"start": 4741,
"end": 4757,
"loc": {
"start": {
"line": 118,
"column": 20
},
"end": {
"line": 118,
"column": 36
},
"identifierName": "targetLowerLayer"
},
"name": "targetLowerLayer"
},
"consequent": {
"type": "BlockStatement",
"start": 4759,
"end": 4823,
"loc": {
"start": {
"line": 118,
"column": 38
},
"end": {
"line": 120,
"column": 17
}
},
"body": [
{
"type": "ReturnStatement",
"start": 4782,
"end": 4804,
"loc": {
"start": {
"line": 119,
"column": 20
},
"end": {
"line": 119,
"column": 42
}
},
"argument": {
"type": "Identifier",
"start": 4789,
"end": 4803,
"loc": {
"start": {
"line": 119,
"column": 27
},
"end": {
"line": 119,
"column": 41
},
"identifierName": "targetContents"
},
"name": "targetContents"
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Check if we are connected to another miner and thus do not eject directly",
"start": 4369,
"end": 4445,
"loc": {
"start": {
"line": 113,
"column": 8
},
"end": {
"line": 113,
"column": 84
}
}
}
]
},
{
"type": "ReturnStatement",
"start": 4861,
"end": 4874,
"loc": {
"start": {
"line": 124,
"column": 8
},
"end": {
"line": 124,
"column": 21
}
},
"argument": {
"type": "BooleanLiteral",
"start": 4868,
"end": 4873,
"loc": {
"start": {
"line": 124,
"column": 15
},
"end": {
"line": 124,
"column": 20
}
},
"value": false
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Finds the target chained miner for a given entity\r\n * @param {Entity} entity\r\n * @returns {Entity|false} The chained entity or null if not found\r\n ",
"start": 3414,
"end": 3587,
"loc": {
"start": {
"line": 92,
"column": 4
},
"end": {
"line": 96,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {Entity} entity\r\n * @param {BaseItem} item\r\n ",
"start": 4889,
"end": 4971,
"loc": {
"start": {
"line": 127,
"column": 4
},
"end": {
"line": 131,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 4977,
"end": 6026,
"loc": {
"start": {
"line": 132,
"column": 4
},
"end": {
"line": 162,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 4977,
"end": 4997,
"loc": {
"start": {
"line": 132,
"column": 4
},
"end": {
"line": 132,
"column": 24
},
"identifierName": "tryPerformMinerEject"
},
"name": "tryPerformMinerEject",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 4998,
"end": 5004,
"loc": {
"start": {
"line": 132,
"column": 25
},
"end": {
"line": 132,
"column": 31
},
"identifierName": "entity"
},
"name": "entity"
},
{
"type": "Identifier",
"start": 5006,
"end": 5010,
"loc": {
"start": {
"line": 132,
"column": 33
},
"end": {
"line": 132,
"column": 37
},
"identifierName": "item"
},
"name": "item"
}
],
"body": {
"type": "BlockStatement",
"start": 5012,
"end": 6026,
"loc": {
"start": {
"line": 132,
"column": 39
},
"end": {
"line": 162,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 5023,
"end": 5065,
"loc": {
"start": {
"line": 133,
"column": 8
},
"end": {
"line": 133,
"column": 50
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5029,
"end": 5064,
"loc": {
"start": {
"line": 133,
"column": 14
},
"end": {
"line": 133,
"column": 49
}
},
"id": {
"type": "Identifier",
"start": 5029,
"end": 5038,
"loc": {
"start": {
"line": 133,
"column": 14
},
"end": {
"line": 133,
"column": 23
},
"identifierName": "minerComp"
},
"name": "minerComp"
},
"init": {
"type": "MemberExpression",
"start": 5041,
"end": 5064,
"loc": {
"start": {
"line": 133,
"column": 26
},
"end": {
"line": 133,
"column": 49
}
},
"object": {
"type": "MemberExpression",
"start": 5041,
"end": 5058,
"loc": {
"start": {
"line": 133,
"column": 26
},
"end": {
"line": 133,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 5041,
"end": 5047,
"loc": {
"start": {
"line": 133,
"column": 26
},
"end": {
"line": 133,
"column": 32
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 5048,
"end": 5058,
"loc": {
"start": {
"line": 133,
"column": 33
},
"end": {
"line": 133,
"column": 43
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5059,
"end": 5064,
"loc": {
"start": {
"line": 133,
"column": 44
},
"end": {
"line": 133,
"column": 49
},
"identifierName": "Miner"
},
"name": "Miner"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 5075,
"end": 5123,
"loc": {
"start": {
"line": 134,
"column": 8
},
"end": {
"line": 134,
"column": 56
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5081,
"end": 5122,
"loc": {
"start": {
"line": 134,
"column": 14
},
"end": {
"line": 134,
"column": 55
}
},
"id": {
"type": "Identifier",
"start": 5081,
"end": 5090,
"loc": {
"start": {
"line": 134,
"column": 14
},
"end": {
"line": 134,
"column": 23
},
"identifierName": "ejectComp"
},
"name": "ejectComp"
},
"init": {
"type": "MemberExpression",
"start": 5093,
"end": 5122,
"loc": {
"start": {
"line": 134,
"column": 26
},
"end": {
"line": 134,
"column": 55
}
},
"object": {
"type": "MemberExpression",
"start": 5093,
"end": 5110,
"loc": {
"start": {
"line": 134,
"column": 26
},
"end": {
"line": 134,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 5093,
"end": 5099,
"loc": {
"start": {
"line": 134,
"column": 26
},
"end": {
"line": 134,
"column": 32
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 5100,
"end": 5110,
"loc": {
"start": {
"line": 134,
"column": 33
},
"end": {
"line": 134,
"column": 43
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5111,
"end": 5122,
"loc": {
"start": {
"line": 134,
"column": 44
},
"end": {
"line": 134,
"column": 55
},
"identifierName": "ItemEjector"
},
"name": "ItemEjector"
},
"computed": false
}
}
],
"kind": "const",
"trailingComments": [
{
"type": "CommentLine",
"value": " Check if we are a chained miner",
"start": 5135,
"end": 5169,
"loc": {
"start": {
"line": 136,
"column": 8
},
"end": {
"line": 136,
"column": 42
}
}
}
]
},
{
"type": "IfStatement",
"start": 5179,
"end": 5824,
"loc": {
"start": {
"line": 137,
"column": 8
},
"end": {
"line": 154,
"column": 9
}
},
"test": {
"type": "MemberExpression",
"start": 5183,
"end": 5202,
"loc": {
"start": {
"line": 137,
"column": 12
},
"end": {
"line": 137,
"column": 31
}
},
"object": {
"type": "Identifier",
"start": 5183,
"end": 5192,
"loc": {
"start": {
"line": 137,
"column": 12
},
"end": {
"line": 137,
"column": 21
},
"identifierName": "minerComp"
},
"name": "minerComp",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 5193,
"end": 5202,
"loc": {
"start": {
"line": 137,
"column": 22
},
"end": {
"line": 137,
"column": 31
},
"identifierName": "chainable"
},
"name": "chainable"
},
"computed": false,
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 5204,
"end": 5824,
"loc": {
"start": {
"line": 137,
"column": 33
},
"end": {
"line": 154,
"column": 9
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 5219,
"end": 5269,
"loc": {
"start": {
"line": 138,
"column": 12
},
"end": {
"line": 138,
"column": 62
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5225,
"end": 5268,
"loc": {
"start": {
"line": 138,
"column": 18
},
"end": {
"line": 138,
"column": 61
}
},
"id": {
"type": "Identifier",
"start": 5225,
"end": 5237,
"loc": {
"start": {
"line": 138,
"column": 18
},
"end": {
"line": 138,
"column": 30
},
"identifierName": "targetEntity"
},
"name": "targetEntity"
},
"init": {
"type": "MemberExpression",
"start": 5240,
"end": 5268,
"loc": {
"start": {
"line": 138,
"column": 33
},
"end": {
"line": 138,
"column": 61
}
},
"object": {
"type": "Identifier",
"start": 5240,
"end": 5249,
"loc": {
"start": {
"line": 138,
"column": 33
},
"end": {
"line": 138,
"column": 42
},
"identifierName": "minerComp"
},
"name": "minerComp"
},
"property": {
"type": "Identifier",
"start": 5250,
"end": 5268,
"loc": {
"start": {
"line": 138,
"column": 43
},
"end": {
"line": 138,
"column": 61
},
"identifierName": "cachedChainedMiner"
},
"name": "cachedChainedMiner"
},
"computed": false
}
}
],
"kind": "const",
"trailingComments": [
{
"type": "CommentLine",
"value": " Check if the cache has to get recomputed",
"start": 5285,
"end": 5328,
"loc": {
"start": {
"line": 140,
"column": 12
},
"end": {
"line": 140,
"column": 55
}
}
}
]
},
{
"type": "IfStatement",
"start": 5342,
"end": 5464,
"loc": {
"start": {
"line": 141,
"column": 12
},
"end": {
"line": 143,
"column": 13
}
},
"test": {
"type": "BinaryExpression",
"start": 5346,
"end": 5367,
"loc": {
"start": {
"line": 141,
"column": 16
},
"end": {
"line": 141,
"column": 37
}
},
"left": {
"type": "Identifier",
"start": 5346,
"end": 5358,
"loc": {
"start": {
"line": 141,
"column": 16
},
"end": {
"line": 141,
"column": 28
},
"identifierName": "targetEntity"
},
"name": "targetEntity",
"leadingComments": null
},
"operator": "===",
"right": {
"type": "NullLiteral",
"start": 5363,
"end": 5367,
"loc": {
"start": {
"line": 141,
"column": 33
},
"end": {
"line": 141,
"column": 37
}
}
},
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 5369,
"end": 5464,
"loc": {
"start": {
"line": 141,
"column": 39
},
"end": {
"line": 143,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 5388,
"end": 5449,
"loc": {
"start": {
"line": 142,
"column": 16
},
"end": {
"line": 142,
"column": 77
}
},
"expression": {
"type": "AssignmentExpression",
"start": 5388,
"end": 5448,
"loc": {
"start": {
"line": 142,
"column": 16
},
"end": {
"line": 142,
"column": 76
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 5388,
"end": 5416,
"loc": {
"start": {
"line": 142,
"column": 16
},
"end": {
"line": 142,
"column": 44
}
},
"object": {
"type": "Identifier",
"start": 5388,
"end": 5397,
"loc": {
"start": {
"line": 142,
"column": 16
},
"end": {
"line": 142,
"column": 25
},
"identifierName": "minerComp"
},
"name": "minerComp"
},
"property": {
"type": "Identifier",
"start": 5398,
"end": 5416,
"loc": {
"start": {
"line": 142,
"column": 26
},
"end": {
"line": 142,
"column": 44
},
"identifierName": "cachedChainedMiner"
},
"name": "cachedChainedMiner"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 5419,
"end": 5448,
"loc": {
"start": {
"line": 142,
"column": 47
},
"end": {
"line": 142,
"column": 76
}
},
"callee": {
"type": "MemberExpression",
"start": 5419,
"end": 5440,
"loc": {
"start": {
"line": 142,
"column": 47
},
"end": {
"line": 142,
"column": 68
}
},
"object": {
"type": "ThisExpression",
"start": 5419,
"end": 5423,
"loc": {
"start": {
"line": 142,
"column": 47
},
"end": {
"line": 142,
"column": 51
}
}
},
"property": {
"type": "Identifier",
"start": 5424,
"end": 5440,
"loc": {
"start": {
"line": 142,
"column": 52
},
"end": {
"line": 142,
"column": 68
},
"identifierName": "findChainedMiner"
},
"name": "findChainedMiner"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 5441,
"end": 5447,
"loc": {
"start": {
"line": 142,
"column": 69
},
"end": {
"line": 142,
"column": 75
},
"identifierName": "entity"
},
"name": "entity"
}
]
}
}
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Check if the cache has to get recomputed",
"start": 5285,
"end": 5328,
"loc": {
"start": {
"line": 140,
"column": 12
},
"end": {
"line": 140,
"column": 55
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " Check if we now have a target",
"start": 5480,
"end": 5512,
"loc": {
"start": {
"line": 145,
"column": 12
},
"end": {
"line": 145,
"column": 44
}
}
}
]
},
{
"type": "IfStatement",
"start": 5526,
"end": 5813,
"loc": {
"start": {
"line": 146,
"column": 12
},
"end": {
"line": 153,
"column": 13
}
},
"test": {
"type": "Identifier",
"start": 5530,
"end": 5542,
"loc": {
"start": {
"line": 146,
"column": 16
},
"end": {
"line": 146,
"column": 28
},
"identifierName": "targetEntity"
},
"name": "targetEntity",
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 5544,
"end": 5813,
"loc": {
"start": {
"line": 146,
"column": 30
},
"end": {
"line": 153,
"column": 13
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 5563,
"end": 5617,
"loc": {
"start": {
"line": 147,
"column": 16
},
"end": {
"line": 147,
"column": 70
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5569,
"end": 5616,
"loc": {
"start": {
"line": 147,
"column": 22
},
"end": {
"line": 147,
"column": 69
}
},
"id": {
"type": "Identifier",
"start": 5569,
"end": 5584,
"loc": {
"start": {
"line": 147,
"column": 22
},
"end": {
"line": 147,
"column": 37
},
"identifierName": "targetMinerComp"
},
"name": "targetMinerComp"
},
"init": {
"type": "MemberExpression",
"start": 5587,
"end": 5616,
"loc": {
"start": {
"line": 147,
"column": 40
},
"end": {
"line": 147,
"column": 69
}
},
"object": {
"type": "MemberExpression",
"start": 5587,
"end": 5610,
"loc": {
"start": {
"line": 147,
"column": 40
},
"end": {
"line": 147,
"column": 63
}
},
"object": {
"type": "Identifier",
"start": 5587,
"end": 5599,
"loc": {
"start": {
"line": 147,
"column": 40
},
"end": {
"line": 147,
"column": 52
},
"identifierName": "targetEntity"
},
"name": "targetEntity"
},
"property": {
"type": "Identifier",
"start": 5600,
"end": 5610,
"loc": {
"start": {
"line": 147,
"column": 53
},
"end": {
"line": 147,
"column": 63
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5611,
"end": 5616,
"loc": {
"start": {
"line": 147,
"column": 64
},
"end": {
"line": 147,
"column": 69
},
"identifierName": "Miner"
},
"name": "Miner"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 5635,
"end": 5798,
"loc": {
"start": {
"line": 148,
"column": 16
},
"end": {
"line": 152,
"column": 17
}
},
"test": {
"type": "CallExpression",
"start": 5639,
"end": 5681,
"loc": {
"start": {
"line": 148,
"column": 20
},
"end": {
"line": 148,
"column": 62
}
},
"callee": {
"type": "MemberExpression",
"start": 5639,
"end": 5675,
"loc": {
"start": {
"line": 148,
"column": 20
},
"end": {
"line": 148,
"column": 56
}
},
"object": {
"type": "Identifier",
"start": 5639,
"end": 5654,
"loc": {
"start": {
"line": 148,
"column": 20
},
"end": {
"line": 148,
"column": 35
},
"identifierName": "targetMinerComp"
},
"name": "targetMinerComp"
},
"property": {
"type": "Identifier",
"start": 5655,
"end": 5675,
"loc": {
"start": {
"line": 148,
"column": 36
},
"end": {
"line": 148,
"column": 56
},
"identifierName": "tryAcceptChainedItem"
},
"name": "tryAcceptChainedItem"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 5676,
"end": 5680,
"loc": {
"start": {
"line": 148,
"column": 57
},
"end": {
"line": 148,
"column": 61
},
"identifierName": "item"
},
"name": "item"
}
]
},
"consequent": {
"type": "BlockStatement",
"start": 5683,
"end": 5737,
"loc": {
"start": {
"line": 148,
"column": 64
},
"end": {
"line": 150,
"column": 17
}
},
"body": [
{
"type": "ReturnStatement",
"start": 5706,
"end": 5718,
"loc": {
"start": {
"line": 149,
"column": 20
},
"end": {
"line": 149,
"column": 32
}
},
"argument": {
"type": "BooleanLiteral",
"start": 5713,
"end": 5717,
"loc": {
"start": {
"line": 149,
"column": 27
},
"end": {
"line": 149,
"column": 31
}
},
"value": true
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 5743,
"end": 5798,
"loc": {
"start": {
"line": 150,
"column": 23
},
"end": {
"line": 152,
"column": 17
}
},
"body": [
{
"type": "ReturnStatement",
"start": 5766,
"end": 5779,
"loc": {
"start": {
"line": 151,
"column": 20
},
"end": {
"line": 151,
"column": 33
}
},
"argument": {
"type": "BooleanLiteral",
"start": 5773,
"end": 5778,
"loc": {
"start": {
"line": 151,
"column": 27
},
"end": {
"line": 151,
"column": 32
}
},
"value": false
}
}
],
"directives": []
}
}
],
"directives": []
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Check if we now have a target",
"start": 5480,
"end": 5512,
"loc": {
"start": {
"line": 145,
"column": 12
},
"end": {
"line": 145,
"column": 44
}
}
}
]
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Check if we are a chained miner",
"start": 5135,
"end": 5169,
"loc": {
"start": {
"line": 136,
"column": 8
},
"end": {
"line": 136,
"column": 42
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " Seems we are a regular miner or at the end of a row, try actually ejecting",
"start": 5836,
"end": 5913,
"loc": {
"start": {
"line": 156,
"column": 8
},
"end": {
"line": 156,
"column": 85
}
}
}
]
},
{
"type": "IfStatement",
"start": 5923,
"end": 5994,
"loc": {
"start": {
"line": 157,
"column": 8
},
"end": {
"line": 159,
"column": 9
}
},
"test": {
"type": "CallExpression",
"start": 5927,
"end": 5954,
"loc": {
"start": {
"line": 157,
"column": 12
},
"end": {
"line": 157,
"column": 39
}
},
"callee": {
"type": "MemberExpression",
"start": 5927,
"end": 5945,
"loc": {
"start": {
"line": 157,
"column": 12
},
"end": {
"line": 157,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 5927,
"end": 5936,
"loc": {
"start": {
"line": 157,
"column": 12
},
"end": {
"line": 157,
"column": 21
},
"identifierName": "ejectComp"
},
"name": "ejectComp",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 5937,
"end": 5945,
"loc": {
"start": {
"line": 157,
"column": 22
},
"end": {
"line": 157,
"column": 30
},
"identifierName": "tryEject"
},
"name": "tryEject"
},
"computed": false,
"leadingComments": null
},
"arguments": [
{
"type": "NumericLiteral",
"start": 5946,
"end": 5947,
"loc": {
"start": {
"line": 157,
"column": 31
},
"end": {
"line": 157,
"column": 32
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
{
"type": "Identifier",
"start": 5949,
"end": 5953,
"loc": {
"start": {
"line": 157,
"column": 34
},
"end": {
"line": 157,
"column": 38
},
"identifierName": "item"
},
"name": "item"
}
],
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 5956,
"end": 5994,
"loc": {
"start": {
"line": 157,
"column": 41
},
"end": {
"line": 159,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 5971,
"end": 5983,
"loc": {
"start": {
"line": 158,
"column": 12
},
"end": {
"line": 158,
"column": 24
}
},
"argument": {
"type": "BooleanLiteral",
"start": 5978,
"end": 5982,
"loc": {
"start": {
"line": 158,
"column": 19
},
"end": {
"line": 158,
"column": 23
}
},
"value": true
}
}
],
"directives": []
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Seems we are a regular miner or at the end of a row, try actually ejecting",
"start": 5836,
"end": 5913,
"loc": {
"start": {
"line": 156,
"column": 8
},
"end": {
"line": 156,
"column": 85
}
}
}
]
},
{
"type": "ReturnStatement",
"start": 6006,
"end": 6019,
"loc": {
"start": {
"line": 161,
"column": 8
},
"end": {
"line": 161,
"column": 21
}
},
"argument": {
"type": "BooleanLiteral",
"start": 6013,
"end": 6018,
"loc": {
"start": {
"line": 161,
"column": 15
},
"end": {
"line": 161,
"column": 20
}
},
"value": false
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {Entity} entity\r\n * @param {BaseItem} item\r\n ",
"start": 4889,
"end": 4971,
"loc": {
"start": {
"line": 127,
"column": 4
},
"end": {
"line": 131,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {DrawParameters} parameters\r\n * @param {MapChunkView} chunk\r\n ",
"start": 6034,
"end": 6133,
"loc": {
"start": {
"line": 164,
"column": 4
},
"end": {
"line": 168,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 6139,
"end": 7709,
"loc": {
"start": {
"line": 169,
"column": 4
},
"end": {
"line": 204,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 6139,
"end": 6171,
"loc": {
"start": {
"line": 169,
"column": 4
},
"end": {
"line": 169,
"column": 36
},
"identifierName": "drawChunk_ForegroundDynamicLayer"
},
"name": "drawChunk_ForegroundDynamicLayer",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 6172,
"end": 6182,
"loc": {
"start": {
"line": 169,
"column": 37
},
"end": {
"line": 169,
"column": 47
},
"identifierName": "parameters"
},
"name": "parameters"
},
{
"type": "Identifier",
"start": 6184,
"end": 6189,
"loc": {
"start": {
"line": 169,
"column": 49
},
"end": {
"line": 169,
"column": 54
},
"identifierName": "chunk"
},
"name": "chunk"
}
],
"body": {
"type": "BlockStatement",
"start": 6191,
"end": 7709,
"loc": {
"start": {
"line": 169,
"column": 56
},
"end": {
"line": 204,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 6202,
"end": 6258,
"loc": {
"start": {
"line": 170,
"column": 8
},
"end": {
"line": 170,
"column": 64
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6208,
"end": 6257,
"loc": {
"start": {
"line": 170,
"column": 14
},
"end": {
"line": 170,
"column": 63
}
},
"id": {
"type": "Identifier",
"start": 6208,
"end": 6216,
"loc": {
"start": {
"line": 170,
"column": 14
},
"end": {
"line": 170,
"column": 22
},
"identifierName": "contents"
},
"name": "contents"
},
"init": {
"type": "MemberExpression",
"start": 6219,
"end": 6257,
"loc": {
"start": {
"line": 170,
"column": 25
},
"end": {
"line": 170,
"column": 63
}
},
"object": {
"type": "MemberExpression",
"start": 6219,
"end": 6249,
"loc": {
"start": {
"line": 170,
"column": 25
},
"end": {
"line": 170,
"column": 55
}
},
"object": {
"type": "Identifier",
"start": 6219,
"end": 6224,
"loc": {
"start": {
"line": 170,
"column": 25
},
"end": {
"line": 170,
"column": 30
},
"identifierName": "chunk"
},
"name": "chunk"
},
"property": {
"type": "Identifier",
"start": 6225,
"end": 6249,
"loc": {
"start": {
"line": 170,
"column": 31
},
"end": {
"line": 170,
"column": 55
},
"identifierName": "containedEntitiesByLayer"
},
"name": "containedEntitiesByLayer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6250,
"end": 6257,
"loc": {
"start": {
"line": 170,
"column": 56
},
"end": {
"line": 170,
"column": 63
},
"identifierName": "regular"
},
"name": "regular"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ForStatement",
"start": 6270,
"end": 7702,
"loc": {
"start": {
"line": 172,
"column": 8
},
"end": {
"line": 203,
"column": 9
}
},
"init": {
"type": "VariableDeclaration",
"start": 6275,
"end": 6284,
"loc": {
"start": {
"line": 172,
"column": 13
},
"end": {
"line": 172,
"column": 22
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6279,
"end": 6284,
"loc": {
"start": {
"line": 172,
"column": 17
},
"end": {
"line": 172,
"column": 22
}
},
"id": {
"type": "Identifier",
"start": 6279,
"end": 6280,
"loc": {
"start": {
"line": 172,
"column": 17
},
"end": {
"line": 172,
"column": 18
},
"identifierName": "i"
},
"name": "i"
},
"init": {
"type": "NumericLiteral",
"start": 6283,
"end": 6284,
"loc": {
"start": {
"line": 172,
"column": 21
},
"end": {
"line": 172,
"column": 22
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
],
"kind": "let"
},
"test": {
"type": "BinaryExpression",
"start": 6286,
"end": 6305,
"loc": {
"start": {
"line": 172,
"column": 24
},
"end": {
"line": 172,
"column": 43
}
},
"left": {
"type": "Identifier",
"start": 6286,
"end": 6287,
"loc": {
"start": {
"line": 172,
"column": 24
},
"end": {
"line": 172,
"column": 25
},
"identifierName": "i"
},
"name": "i"
},
"operator": "<",
"right": {
"type": "MemberExpression",
"start": 6290,
"end": 6305,
"loc": {
"start": {
"line": 172,
"column": 28
},
"end": {
"line": 172,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 6290,
"end": 6298,
"loc": {
"start": {
"line": 172,
"column": 28
},
"end": {
"line": 172,
"column": 36
},
"identifierName": "contents"
},
"name": "contents"
},
"property": {
"type": "Identifier",
"start": 6299,
"end": 6305,
"loc": {
"start": {
"line": 172,
"column": 37
},
"end": {
"line": 172,
"column": 43
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
}
},
"update": {
"type": "UpdateExpression",
"start": 6307,
"end": 6310,
"loc": {
"start": {
"line": 172,
"column": 45
},
"end": {
"line": 172,
"column": 48
}
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 6309,
"end": 6310,
"loc": {
"start": {
"line": 172,
"column": 47
},
"end": {
"line": 172,
"column": 48
},
"identifierName": "i"
},
"name": "i"
},
"extra": {
"parenthesizedArgument": false
}
},
"body": {
"type": "BlockStatement",
"start": 6312,
"end": 7702,
"loc": {
"start": {
"line": 172,
"column": 50
},
"end": {
"line": 203,
"column": 9
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 6327,
"end": 6354,
"loc": {
"start": {
"line": 173,
"column": 12
},
"end": {
"line": 173,
"column": 39
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6333,
"end": 6353,
"loc": {
"start": {
"line": 173,
"column": 18
},
"end": {
"line": 173,
"column": 38
}
},
"id": {
"type": "Identifier",
"start": 6333,
"end": 6339,
"loc": {
"start": {
"line": 173,
"column": 18
},
"end": {
"line": 173,
"column": 24
},
"identifierName": "entity"
},
"name": "entity"
},
"init": {
"type": "MemberExpression",
"start": 6342,
"end": 6353,
"loc": {
"start": {
"line": 173,
"column": 27
},
"end": {
"line": 173,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 6342,
"end": 6350,
"loc": {
"start": {
"line": 173,
"column": 27
},
"end": {
"line": 173,
"column": 35
},
"identifierName": "contents"
},
"name": "contents"
},
"property": {
"type": "Identifier",
"start": 6351,
"end": 6352,
"loc": {
"start": {
"line": 173,
"column": 36
},
"end": {
"line": 173,
"column": 37
},
"identifierName": "i"
},
"name": "i"
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 6368,
"end": 6410,
"loc": {
"start": {
"line": 174,
"column": 12
},
"end": {
"line": 174,
"column": 54
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6374,
"end": 6409,
"loc": {
"start": {
"line": 174,
"column": 18
},
"end": {
"line": 174,
"column": 53
}
},
"id": {
"type": "Identifier",
"start": 6374,
"end": 6383,
"loc": {
"start": {
"line": 174,
"column": 18
},
"end": {
"line": 174,
"column": 27
},
"identifierName": "minerComp"
},
"name": "minerComp"
},
"init": {
"type": "MemberExpression",
"start": 6386,
"end": 6409,
"loc": {
"start": {
"line": 174,
"column": 30
},
"end": {
"line": 174,
"column": 53
}
},
"object": {
"type": "MemberExpression",
"start": 6386,
"end": 6403,
"loc": {
"start": {
"line": 174,
"column": 30
},
"end": {
"line": 174,
"column": 47
}
},
"object": {
"type": "Identifier",
"start": 6386,
"end": 6392,
"loc": {
"start": {
"line": 174,
"column": 30
},
"end": {
"line": 174,
"column": 36
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 6393,
"end": 6403,
"loc": {
"start": {
"line": 174,
"column": 37
},
"end": {
"line": 174,
"column": 47
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6404,
"end": 6409,
"loc": {
"start": {
"line": 174,
"column": 48
},
"end": {
"line": 174,
"column": 53
},
"identifierName": "Miner"
},
"name": "Miner"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 6424,
"end": 6483,
"loc": {
"start": {
"line": 175,
"column": 12
},
"end": {
"line": 177,
"column": 13
}
},
"test": {
"type": "UnaryExpression",
"start": 6428,
"end": 6438,
"loc": {
"start": {
"line": 175,
"column": 16
},
"end": {
"line": 175,
"column": 26
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 6429,
"end": 6438,
"loc": {
"start": {
"line": 175,
"column": 17
},
"end": {
"line": 175,
"column": 26
},
"identifierName": "minerComp"
},
"name": "minerComp"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 6440,
"end": 6483,
"loc": {
"start": {
"line": 175,
"column": 28
},
"end": {
"line": 177,
"column": 13
}
},
"body": [
{
"type": "ContinueStatement",
"start": 6459,
"end": 6468,
"loc": {
"start": {
"line": 176,
"column": 16
},
"end": {
"line": 176,
"column": 25
}
},
"label": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 6499,
"end": 6552,
"loc": {
"start": {
"line": 179,
"column": 12
},
"end": {
"line": 179,
"column": 65
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6505,
"end": 6551,
"loc": {
"start": {
"line": 179,
"column": 18
},
"end": {
"line": 179,
"column": 64
}
},
"id": {
"type": "Identifier",
"start": 6505,
"end": 6515,
"loc": {
"start": {
"line": 179,
"column": 18
},
"end": {
"line": 179,
"column": 28
},
"identifierName": "staticComp"
},
"name": "staticComp"
},
"init": {
"type": "MemberExpression",
"start": 6518,
"end": 6551,
"loc": {
"start": {
"line": 179,
"column": 31
},
"end": {
"line": 179,
"column": 64
}
},
"object": {
"type": "MemberExpression",
"start": 6518,
"end": 6535,
"loc": {
"start": {
"line": 179,
"column": 31
},
"end": {
"line": 179,
"column": 48
}
},
"object": {
"type": "Identifier",
"start": 6518,
"end": 6524,
"loc": {
"start": {
"line": 179,
"column": 31
},
"end": {
"line": 179,
"column": 37
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 6525,
"end": 6535,
"loc": {
"start": {
"line": 179,
"column": 38
},
"end": {
"line": 179,
"column": 48
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6536,
"end": 6551,
"loc": {
"start": {
"line": 179,
"column": 49
},
"end": {
"line": 179,
"column": 64
},
"identifierName": "StaticMapEntity"
},
"name": "StaticMapEntity"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 6566,
"end": 6689,
"loc": {
"start": {
"line": 180,
"column": 12
},
"end": {
"line": 182,
"column": 13
}
},
"test": {
"type": "LogicalExpression",
"start": 6570,
"end": 6644,
"loc": {
"start": {
"line": 180,
"column": 16
},
"end": {
"line": 180,
"column": 90
}
},
"left": {
"type": "UnaryExpression",
"start": 6570,
"end": 6596,
"loc": {
"start": {
"line": 180,
"column": 16
},
"end": {
"line": 180,
"column": 42
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 6571,
"end": 6596,
"loc": {
"start": {
"line": 180,
"column": 17
},
"end": {
"line": 180,
"column": 42
}
},
"object": {
"type": "Identifier",
"start": 6571,
"end": 6580,
"loc": {
"start": {
"line": 180,
"column": 17
},
"end": {
"line": 180,
"column": 26
},
"identifierName": "minerComp"
},
"name": "minerComp"
},
"property": {
"type": "Identifier",
"start": 6581,
"end": 6596,
"loc": {
"start": {
"line": 180,
"column": 27
},
"end": {
"line": 180,
"column": 42
},
"identifierName": "cachedMinedItem"
},
"name": "cachedMinedItem"
},
"computed": false
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "||",
"right": {
"type": "BinaryExpression",
"start": 6600,
"end": 6644,
"loc": {
"start": {
"line": 180,
"column": 46
},
"end": {
"line": 180,
"column": 90
}
},
"left": {
"type": "UnaryExpression",
"start": 6600,
"end": 6632,
"loc": {
"start": {
"line": 180,
"column": 46
},
"end": {
"line": 180,
"column": 78
}
},
"operator": "typeof",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 6607,
"end": 6632,
"loc": {
"start": {
"line": 180,
"column": 53
},
"end": {
"line": 180,
"column": 78
}
},
"object": {
"type": "Identifier",
"start": 6607,
"end": 6616,
"loc": {
"start": {
"line": 180,
"column": 53
},
"end": {
"line": 180,
"column": 62
},
"identifierName": "minerComp"
},
"name": "minerComp"
},
"property": {
"type": "Identifier",
"start": 6617,
"end": 6632,
"loc": {
"start": {
"line": 180,
"column": 63
},
"end": {
"line": 180,
"column": 78
},
"identifierName": "cachedMinedItem"
},
"name": "cachedMinedItem"
},
"computed": false
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "!=",
"right": {
"type": "StringLiteral",
"start": 6636,
"end": 6644,
"loc": {
"start": {
"line": 180,
"column": 82
},
"end": {
"line": 180,
"column": 90
}
},
"extra": {
"rawValue": "object",
"raw": "\"object\""
},
"value": "object"
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 6646,
"end": 6689,
"loc": {
"start": {
"line": 180,
"column": 92
},
"end": {
"line": 182,
"column": 13
}
},
"body": [
{
"type": "ContinueStatement",
"start": 6665,
"end": 6674,
"loc": {
"start": {
"line": 181,
"column": 16
},
"end": {
"line": 181,
"column": 25
}
},
"label": null
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"trailingComments": [
{
"type": "CommentLine",
"value": " Draw the item background - this is to hide the ejected item animation from",
"start": 6705,
"end": 6782,
"loc": {
"start": {
"line": 184,
"column": 12
},
"end": {
"line": 184,
"column": 89
}
}
},
{
"type": "CommentLine",
"value": " the item ejector",
"start": 6796,
"end": 6815,
"loc": {
"start": {
"line": 185,
"column": 12
},
"end": {
"line": 185,
"column": 31
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 6831,
"end": 6849,
"loc": {
"start": {
"line": 187,
"column": 12
},
"end": {
"line": 187,
"column": 30
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6837,
"end": 6848,
"loc": {
"start": {
"line": 187,
"column": 18
},
"end": {
"line": 187,
"column": 29
}
},
"id": {
"type": "Identifier",
"start": 6837,
"end": 6844,
"loc": {
"start": {
"line": 187,
"column": 18
},
"end": {
"line": 187,
"column": 25
},
"identifierName": "padding"
},
"name": "padding",
"leadingComments": null
},
"init": {
"type": "NumericLiteral",
"start": 6847,
"end": 6848,
"loc": {
"start": {
"line": 187,
"column": 28
},
"end": {
"line": 187,
"column": 29
}
},
"extra": {
"rawValue": 3,
"raw": "3"
},
"value": 3
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentLine",
"value": " Draw the item background - this is to hide the ejected item animation from",
"start": 6705,
"end": 6782,
"loc": {
"start": {
"line": 184,
"column": 12
},
"end": {
"line": 184,
"column": 89
}
}
},
{
"type": "CommentLine",
"value": " the item ejector",
"start": 6796,
"end": 6815,
"loc": {
"start": {
"line": 185,
"column": 12
},
"end": {
"line": 185,
"column": 31
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 6863,
"end": 6931,
"loc": {
"start": {
"line": 188,
"column": 12
},
"end": {
"line": 188,
"column": 80
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6869,
"end": 6930,
"loc": {
"start": {
"line": 188,
"column": 18
},
"end": {
"line": 188,
"column": 79
}
},
"id": {
"type": "Identifier",
"start": 6869,
"end": 6874,
"loc": {
"start": {
"line": 188,
"column": 18
},
"end": {
"line": 188,
"column": 23
},
"identifierName": "destX"
},
"name": "destX"
},
"init": {
"type": "BinaryExpression",
"start": 6877,
"end": 6930,
"loc": {
"start": {
"line": 188,
"column": 26
},
"end": {
"line": 188,
"column": 79
}
},
"left": {
"type": "BinaryExpression",
"start": 6877,
"end": 6920,
"loc": {
"start": {
"line": 188,
"column": 26
},
"end": {
"line": 188,
"column": 69
}
},
"left": {
"type": "MemberExpression",
"start": 6877,
"end": 6896,
"loc": {
"start": {
"line": 188,
"column": 26
},
"end": {
"line": 188,
"column": 45
}
},
"object": {
"type": "MemberExpression",
"start": 6877,
"end": 6894,
"loc": {
"start": {
"line": 188,
"column": 26
},
"end": {
"line": 188,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 6877,
"end": 6887,
"loc": {
"start": {
"line": 188,
"column": 26
},
"end": {
"line": 188,
"column": 36
},
"identifierName": "staticComp"
},
"name": "staticComp"
},
"property": {
"type": "Identifier",
"start": 6888,
"end": 6894,
"loc": {
"start": {
"line": 188,
"column": 37
},
"end": {
"line": 188,
"column": 43
},
"identifierName": "origin"
},
"name": "origin"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6895,
"end": 6896,
"loc": {
"start": {
"line": 188,
"column": 44
},
"end": {
"line": 188,
"column": 45
},
"identifierName": "x"
},
"name": "x"
},
"computed": false
},
"operator": "*",
"right": {
"type": "MemberExpression",
"start": 6899,
"end": 6920,
"loc": {
"start": {
"line": 188,
"column": 48
},
"end": {
"line": 188,
"column": 69
}
},
"object": {
"type": "Identifier",
"start": 6899,
"end": 6911,
"loc": {
"start": {
"line": 188,
"column": 48
},
"end": {
"line": 188,
"column": 60
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
},
"property": {
"type": "Identifier",
"start": 6912,
"end": 6920,
"loc": {
"start": {
"line": 188,
"column": 61
},
"end": {
"line": 188,
"column": 69
},
"identifierName": "tileSize"
},
"name": "tileSize"
},
"computed": false
}
},
"operator": "+",
"right": {
"type": "Identifier",
"start": 6923,
"end": 6930,
"loc": {
"start": {
"line": 188,
"column": 72
},
"end": {
"line": 188,
"column": 79
},
"identifierName": "padding"
},
"name": "padding"
}
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 6945,
"end": 7013,
"loc": {
"start": {
"line": 189,
"column": 12
},
"end": {
"line": 189,
"column": 80
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6951,
"end": 7012,
"loc": {
"start": {
"line": 189,
"column": 18
},
"end": {
"line": 189,
"column": 79
}
},
"id": {
"type": "Identifier",
"start": 6951,
"end": 6956,
"loc": {
"start": {
"line": 189,
"column": 18
},
"end": {
"line": 189,
"column": 23
},
"identifierName": "destY"
},
"name": "destY"
},
"init": {
"type": "BinaryExpression",
"start": 6959,
"end": 7012,
"loc": {
"start": {
"line": 189,
"column": 26
},
"end": {
"line": 189,
"column": 79
}
},
"left": {
"type": "BinaryExpression",
"start": 6959,
"end": 7002,
"loc": {
"start": {
"line": 189,
"column": 26
},
"end": {
"line": 189,
"column": 69
}
},
"left": {
"type": "MemberExpression",
"start": 6959,
"end": 6978,
"loc": {
"start": {
"line": 189,
"column": 26
},
"end": {
"line": 189,
"column": 45
}
},
"object": {
"type": "MemberExpression",
"start": 6959,
"end": 6976,
"loc": {
"start": {
"line": 189,
"column": 26
},
"end": {
"line": 189,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 6959,
"end": 6969,
"loc": {
"start": {
"line": 189,
"column": 26
},
"end": {
"line": 189,
"column": 36
},
"identifierName": "staticComp"
},
"name": "staticComp"
},
"property": {
"type": "Identifier",
"start": 6970,
"end": 6976,
"loc": {
"start": {
"line": 189,
"column": 37
},
"end": {
"line": 189,
"column": 43
},
"identifierName": "origin"
},
"name": "origin"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6977,
"end": 6978,
"loc": {
"start": {
"line": 189,
"column": 44
},
"end": {
"line": 189,
"column": 45
},
"identifierName": "y"
},
"name": "y"
},
"computed": false
},
"operator": "*",
"right": {
"type": "MemberExpression",
"start": 6981,
"end": 7002,
"loc": {
"start": {
"line": 189,
"column": 48
},
"end": {
"line": 189,
"column": 69
}
},
"object": {
"type": "Identifier",
"start": 6981,
"end": 6993,
"loc": {
"start": {
"line": 189,
"column": 48
},
"end": {
"line": 189,
"column": 60
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
},
"property": {
"type": "Identifier",
"start": 6994,
"end": 7002,
"loc": {
"start": {
"line": 189,
"column": 61
},
"end": {
"line": 189,
"column": 69
},
"identifierName": "tileSize"
},
"name": "tileSize"
},
"computed": false
}
},
"operator": "+",
"right": {
"type": "Identifier",
"start": 7005,
"end": 7012,
"loc": {
"start": {
"line": 189,
"column": 72
},
"end": {
"line": 189,
"column": 79
},
"identifierName": "padding"
},
"name": "padding"
}
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 7027,
"end": 7082,
"loc": {
"start": {
"line": 190,
"column": 12
},
"end": {
"line": 190,
"column": 67
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 7033,
"end": 7081,
"loc": {
"start": {
"line": 190,
"column": 18
},
"end": {
"line": 190,
"column": 66
}
},
"id": {
"type": "Identifier",
"start": 7033,
"end": 7043,
"loc": {
"start": {
"line": 190,
"column": 18
},
"end": {
"line": 190,
"column": 28
},
"identifierName": "dimensions"
},
"name": "dimensions"
},
"init": {
"type": "BinaryExpression",
"start": 7046,
"end": 7081,
"loc": {
"start": {
"line": 190,
"column": 31
},
"end": {
"line": 190,
"column": 66
}
},
"left": {
"type": "MemberExpression",
"start": 7046,
"end": 7067,
"loc": {
"start": {
"line": 190,
"column": 31
},
"end": {
"line": 190,
"column": 52
}
},
"object": {
"type": "Identifier",
"start": 7046,
"end": 7058,
"loc": {
"start": {
"line": 190,
"column": 31
},
"end": {
"line": 190,
"column": 43
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
},
"property": {
"type": "Identifier",
"start": 7059,
"end": 7067,
"loc": {
"start": {
"line": 190,
"column": 44
},
"end": {
"line": 190,
"column": 52
},
"identifierName": "tileSize"
},
"name": "tileSize"
},
"computed": false
},
"operator": "-",
"right": {
"type": "BinaryExpression",
"start": 7070,
"end": 7081,
"loc": {
"start": {
"line": 190,
"column": 55
},
"end": {
"line": 190,
"column": 66
}
},
"left": {
"type": "NumericLiteral",
"start": 7070,
"end": 7071,
"loc": {
"start": {
"line": 190,
"column": 55
},
"end": {
"line": 190,
"column": 56
}
},
"extra": {
"rawValue": 2,
"raw": "2"
},
"value": 2
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 7074,
"end": 7081,
"loc": {
"start": {
"line": 190,
"column": 59
},
"end": {
"line": 190,
"column": 66
},
"identifierName": "padding"
},
"name": "padding"
}
}
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 7098,
"end": 7390,
"loc": {
"start": {
"line": 192,
"column": 12
},
"end": {
"line": 195,
"column": 13
}
},
"test": {
"type": "CallExpression",
"start": 7102,
"end": 7182,
"loc": {
"start": {
"line": 192,
"column": 16
},
"end": {
"line": 192,
"column": 96
}
},
"callee": {
"type": "MemberExpression",
"start": 7102,
"end": 7144,
"loc": {
"start": {
"line": 192,
"column": 16
},
"end": {
"line": 192,
"column": 58
}
},
"object": {
"type": "MemberExpression",
"start": 7102,
"end": 7124,
"loc": {
"start": {
"line": 192,
"column": 16
},
"end": {
"line": 192,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 7102,
"end": 7112,
"loc": {
"start": {
"line": 192,
"column": 16
},
"end": {
"line": 192,
"column": 26
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "Identifier",
"start": 7113,
"end": 7124,
"loc": {
"start": {
"line": 192,
"column": 27
},
"end": {
"line": 192,
"column": 38
},
"identifierName": "visibleRect"
},
"name": "visibleRect"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7125,
"end": 7144,
"loc": {
"start": {
"line": 192,
"column": 39
},
"end": {
"line": 192,
"column": 58
},
"identifierName": "containsRect4Params"
},
"name": "containsRect4Params"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 7145,
"end": 7150,
"loc": {
"start": {
"line": 192,
"column": 59
},
"end": {
"line": 192,
"column": 64
},
"identifierName": "destX"
},
"name": "destX"
},
{
"type": "Identifier",
"start": 7152,
"end": 7157,
"loc": {
"start": {
"line": 192,
"column": 66
},
"end": {
"line": 192,
"column": 71
},
"identifierName": "destY"
},
"name": "destY"
},
{
"type": "Identifier",
"start": 7159,
"end": 7169,
"loc": {
"start": {
"line": 192,
"column": 73
},
"end": {
"line": 192,
"column": 83
},
"identifierName": "dimensions"
},
"name": "dimensions"
},
{
"type": "Identifier",
"start": 7171,
"end": 7181,
"loc": {
"start": {
"line": 192,
"column": 85
},
"end": {
"line": 192,
"column": 95
},
"identifierName": "dimensions"
},
"name": "dimensions"
}
]
},
"consequent": {
"type": "BlockStatement",
"start": 7184,
"end": 7390,
"loc": {
"start": {
"line": 192,
"column": 98
},
"end": {
"line": 195,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 7203,
"end": 7291,
"loc": {
"start": {
"line": 193,
"column": 16
},
"end": {
"line": 193,
"column": 104
}
},
"expression": {
"type": "AssignmentExpression",
"start": 7203,
"end": 7290,
"loc": {
"start": {
"line": 193,
"column": 16
},
"end": {
"line": 193,
"column": 103
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 7203,
"end": 7231,
"loc": {
"start": {
"line": 193,
"column": 16
},
"end": {
"line": 193,
"column": 44
}
},
"object": {
"type": "MemberExpression",
"start": 7203,
"end": 7221,
"loc": {
"start": {
"line": 193,
"column": 16
},
"end": {
"line": 193,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 7203,
"end": 7213,
"loc": {
"start": {
"line": 193,
"column": 16
},
"end": {
"line": 193,
"column": 26
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "Identifier",
"start": 7214,
"end": 7221,
"loc": {
"start": {
"line": 193,
"column": 27
},
"end": {
"line": 193,
"column": 34
},
"identifierName": "context"
},
"name": "context"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7222,
"end": 7231,
"loc": {
"start": {
"line": 193,
"column": 35
},
"end": {
"line": 193,
"column": 44
},
"identifierName": "fillStyle"
},
"name": "fillStyle"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 7234,
"end": 7290,
"loc": {
"start": {
"line": 193,
"column": 47
},
"end": {
"line": 193,
"column": 103
}
},
"callee": {
"type": "MemberExpression",
"start": 7234,
"end": 7288,
"loc": {
"start": {
"line": 193,
"column": 47
},
"end": {
"line": 193,
"column": 101
}
},
"object": {
"type": "MemberExpression",
"start": 7234,
"end": 7259,
"loc": {
"start": {
"line": 193,
"column": 47
},
"end": {
"line": 193,
"column": 72
}
},
"object": {
"type": "Identifier",
"start": 7234,
"end": 7243,
"loc": {
"start": {
"line": 193,
"column": 47
},
"end": {
"line": 193,
"column": 56
},
"identifierName": "minerComp"
},
"name": "minerComp"
},
"property": {
"type": "Identifier",
"start": 7244,
"end": 7259,
"loc": {
"start": {
"line": 193,
"column": 57
},
"end": {
"line": 193,
"column": 72
},
"identifierName": "cachedMinedItem"
},
"name": "cachedMinedItem"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7260,
"end": 7288,
"loc": {
"start": {
"line": 193,
"column": 73
},
"end": {
"line": 193,
"column": 101
},
"identifierName": "getBackgroundColorAsResource"
},
"name": "getBackgroundColorAsResource"
},
"computed": false
},
"arguments": []
}
}
},
{
"type": "ExpressionStatement",
"start": 7309,
"end": 7375,
"loc": {
"start": {
"line": 194,
"column": 16
},
"end": {
"line": 194,
"column": 82
}
},
"expression": {
"type": "CallExpression",
"start": 7309,
"end": 7374,
"loc": {
"start": {
"line": 194,
"column": 16
},
"end": {
"line": 194,
"column": 81
}
},
"callee": {
"type": "MemberExpression",
"start": 7309,
"end": 7336,
"loc": {
"start": {
"line": 194,
"column": 16
},
"end": {
"line": 194,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 7309,
"end": 7327,
"loc": {
"start": {
"line": 194,
"column": 16
},
"end": {
"line": 194,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 7309,
"end": 7319,
"loc": {
"start": {
"line": 194,
"column": 16
},
"end": {
"line": 194,
"column": 26
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "Identifier",
"start": 7320,
"end": 7327,
"loc": {
"start": {
"line": 194,
"column": 27
},
"end": {
"line": 194,
"column": 34
},
"identifierName": "context"
},
"name": "context"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7328,
"end": 7336,
"loc": {
"start": {
"line": 194,
"column": 35
},
"end": {
"line": 194,
"column": 43
},
"identifierName": "fillRect"
},
"name": "fillRect"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 7337,
"end": 7342,
"loc": {
"start": {
"line": 194,
"column": 44
},
"end": {
"line": 194,
"column": 49
},
"identifierName": "destX"
},
"name": "destX"
},
{
"type": "Identifier",
"start": 7344,
"end": 7349,
"loc": {
"start": {
"line": 194,
"column": 51
},
"end": {
"line": 194,
"column": 56
},
"identifierName": "destY"
},
"name": "destY"
},
{
"type": "Identifier",
"start": 7351,
"end": 7361,
"loc": {
"start": {
"line": 194,
"column": 58
},
"end": {
"line": 194,
"column": 68
},
"identifierName": "dimensions"
},
"name": "dimensions"
},
{
"type": "Identifier",
"start": 7363,
"end": 7373,
"loc": {
"start": {
"line": 194,
"column": 70
},
"end": {
"line": 194,
"column": 80
},
"identifierName": "dimensions"
},
"name": "dimensions"
}
]
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 7406,
"end": 7691,
"loc": {
"start": {
"line": 197,
"column": 12
},
"end": {
"line": 202,
"column": 14
}
},
"expression": {
"type": "CallExpression",
"start": 7406,
"end": 7690,
"loc": {
"start": {
"line": 197,
"column": 12
},
"end": {
"line": 202,
"column": 13
}
},
"callee": {
"type": "MemberExpression",
"start": 7406,
"end": 7455,
"loc": {
"start": {
"line": 197,
"column": 12
},
"end": {
"line": 197,
"column": 61
}
},
"object": {
"type": "MemberExpression",
"start": 7406,
"end": 7431,
"loc": {
"start": {
"line": 197,
"column": 12
},
"end": {
"line": 197,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 7406,
"end": 7415,
"loc": {
"start": {
"line": 197,
"column": 12
},
"end": {
"line": 197,
"column": 21
},
"identifierName": "minerComp"
},
"name": "minerComp"
},
"property": {
"type": "Identifier",
"start": 7416,
"end": 7431,
"loc": {
"start": {
"line": 197,
"column": 22
},
"end": {
"line": 197,
"column": 37
},
"identifierName": "cachedMinedItem"
},
"name": "cachedMinedItem"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7432,
"end": 7455,
"loc": {
"start": {
"line": 197,
"column": 38
},
"end": {
"line": 197,
"column": 61
},
"identifierName": "drawItemCenteredClipped"
},
"name": "drawItemCenteredClipped"
},
"computed": false
},
"arguments": [
{
"type": "BinaryExpression",
"start": 7474,
"end": 7525,
"loc": {
"start": {
"line": 198,
"column": 16
},
"end": {
"line": 198,
"column": 67
}
},
"left": {
"type": "BinaryExpression",
"start": 7475,
"end": 7500,
"loc": {
"start": {
"line": 198,
"column": 17
},
"end": {
"line": 198,
"column": 42
}
},
"left": {
"type": "NumericLiteral",
"start": 7475,
"end": 7478,
"loc": {
"start": {
"line": 198,
"column": 17
},
"end": {
"line": 198,
"column": 20
}
},
"extra": {
"rawValue": 0.5,
"raw": "0.5"
},
"value": 0.5
},
"operator": "+",
"right": {
"type": "MemberExpression",
"start": 7481,
"end": 7500,
"loc": {
"start": {
"line": 198,
"column": 23
},
"end": {
"line": 198,
"column": 42
}
},
"object": {
"type": "MemberExpression",
"start": 7481,
"end": 7498,
"loc": {
"start": {
"line": 198,
"column": 23
},
"end": {
"line": 198,
"column": 40
}
},
"object": {
"type": "Identifier",
"start": 7481,
"end": 7491,
"loc": {
"start": {
"line": 198,
"column": 23
},
"end": {
"line": 198,
"column": 33
},
"identifierName": "staticComp"
},
"name": "staticComp"
},
"property": {
"type": "Identifier",
"start": 7492,
"end": 7498,
"loc": {
"start": {
"line": 198,
"column": 34
},
"end": {
"line": 198,
"column": 40
},
"identifierName": "origin"
},
"name": "origin"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7499,
"end": 7500,
"loc": {
"start": {
"line": 198,
"column": 41
},
"end": {
"line": 198,
"column": 42
},
"identifierName": "x"
},
"name": "x"
},
"computed": false
},
"extra": {
"parenthesized": true,
"parenStart": 7474
}
},
"operator": "*",
"right": {
"type": "MemberExpression",
"start": 7504,
"end": 7525,
"loc": {
"start": {
"line": 198,
"column": 46
},
"end": {
"line": 198,
"column": 67
}
},
"object": {
"type": "Identifier",
"start": 7504,
"end": 7516,
"loc": {
"start": {
"line": 198,
"column": 46
},
"end": {
"line": 198,
"column": 58
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
},
"property": {
"type": "Identifier",
"start": 7517,
"end": 7525,
"loc": {
"start": {
"line": 198,
"column": 59
},
"end": {
"line": 198,
"column": 67
},
"identifierName": "tileSize"
},
"name": "tileSize"
},
"computed": false
}
},
{
"type": "BinaryExpression",
"start": 7544,
"end": 7595,
"loc": {
"start": {
"line": 199,
"column": 16
},
"end": {
"line": 199,
"column": 67
}
},
"left": {
"type": "BinaryExpression",
"start": 7545,
"end": 7570,
"loc": {
"start": {
"line": 199,
"column": 17
},
"end": {
"line": 199,
"column": 42
}
},
"left": {
"type": "NumericLiteral",
"start": 7545,
"end": 7548,
"loc": {
"start": {
"line": 199,
"column": 17
},
"end": {
"line": 199,
"column": 20
}
},
"extra": {
"rawValue": 0.5,
"raw": "0.5"
},
"value": 0.5
},
"operator": "+",
"right": {
"type": "MemberExpression",
"start": 7551,
"end": 7570,
"loc": {
"start": {
"line": 199,
"column": 23
},
"end": {
"line": 199,
"column": 42
}
},
"object": {
"type": "MemberExpression",
"start": 7551,
"end": 7568,
"loc": {
"start": {
"line": 199,
"column": 23
},
"end": {
"line": 199,
"column": 40
}
},
"object": {
"type": "Identifier",
"start": 7551,
"end": 7561,
"loc": {
"start": {
"line": 199,
"column": 23
},
"end": {
"line": 199,
"column": 33
},
"identifierName": "staticComp"
},
"name": "staticComp"
},
"property": {
"type": "Identifier",
"start": 7562,
"end": 7568,
"loc": {
"start": {
"line": 199,
"column": 34
},
"end": {
"line": 199,
"column": 40
},
"identifierName": "origin"
},
"name": "origin"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7569,
"end": 7570,
"loc": {
"start": {
"line": 199,
"column": 41
},
"end": {
"line": 199,
"column": 42
},
"identifierName": "y"
},
"name": "y"
},
"computed": false
},
"extra": {
"parenthesized": true,
"parenStart": 7544
}
},
"operator": "*",
"right": {
"type": "MemberExpression",
"start": 7574,
"end": 7595,
"loc": {
"start": {
"line": 199,
"column": 46
},
"end": {
"line": 199,
"column": 67
}
},
"object": {
"type": "Identifier",
"start": 7574,
"end": 7586,
"loc": {
"start": {
"line": 199,
"column": 46
},
"end": {
"line": 199,
"column": 58
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
},
"property": {
"type": "Identifier",
"start": 7587,
"end": 7595,
"loc": {
"start": {
"line": 199,
"column": 59
},
"end": {
"line": 199,
"column": 67
},
"identifierName": "tileSize"
},
"name": "tileSize"
},
"computed": false
}
},
{
"type": "Identifier",
"start": 7614,
"end": 7624,
"loc": {
"start": {
"line": 200,
"column": 16
},
"end": {
"line": 200,
"column": 26
},
"identifierName": "parameters"
},
"name": "parameters"
},
{
"type": "MemberExpression",
"start": 7643,
"end": 7675,
"loc": {
"start": {
"line": 201,
"column": 16
},
"end": {
"line": 201,
"column": 48
}
},
"object": {
"type": "Identifier",
"start": 7643,
"end": 7655,
"loc": {
"start": {
"line": 201,
"column": 16
},
"end": {
"line": 201,
"column": 28
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
},
"property": {
"type": "Identifier",
"start": 7656,
"end": 7675,
"loc": {
"start": {
"line": 201,
"column": 29
},
"end": {
"line": 201,
"column": 48
},
"identifierName": "defaultItemDiameter"
},
"name": "defaultItemDiameter"
},
"computed": false
}
]
}
}
],
"directives": []
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {DrawParameters} parameters\r\n * @param {MapChunkView} chunk\r\n ",
"start": 6034,
"end": 6133,
"loc": {
"start": {
"line": 164,
"column": 4
},
"end": {
"line": 168,
"column": 7
}
}
}
]
}
]
},
"leadingComments": [],
"trailingComments": []
}
}
],
"directives": []
},
"comments": [
{
"type": "CommentBlock",
"value": "*\r\n * Called whenever an entity got changed\r\n * @param {Entity} entity\r\n ",
"start": 882,
"end": 971,
"loc": {
"start": {
"line": 25,
"column": 4
},
"end": {
"line": 28,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " Miner component, need to recompute",
"start": 1117,
"end": 1154,
"loc": {
"start": {
"line": 32,
"column": 12
},
"end": {
"line": 32,
"column": 49
}
}
},
{
"type": "CommentLine",
"value": " Reset everything on recompute",
"start": 1587,
"end": 1619,
"loc": {
"start": {
"line": 47,
"column": 12
},
"end": {
"line": 47,
"column": 44
}
}
},
{
"type": "CommentLine",
"value": " Check if miner is above an actual tile",
"start": 1744,
"end": 1785,
"loc": {
"start": {
"line": 52,
"column": 12
},
"end": {
"line": 52,
"column": 53
}
}
},
{
"type": "CommentLine",
"value": " First, try to get rid of chained items",
"start": 2283,
"end": 2324,
"loc": {
"start": {
"line": 65,
"column": 12
},
"end": {
"line": 65,
"column": 53
}
}
},
{
"type": "CommentLine",
"value": " Store how much we overflowed",
"start": 2794,
"end": 2825,
"loc": {
"start": {
"line": 76,
"column": 16
},
"end": {
"line": 76,
"column": 47
}
}
},
{
"type": "CommentLine",
"value": " Analytics hook",
"start": 3046,
"end": 3063,
"loc": {
"start": {
"line": 80,
"column": 20
},
"end": {
"line": 80,
"column": 37
}
}
},
{
"type": "CommentLine",
"value": " Store mining time",
"start": 3174,
"end": 3194,
"loc": {
"start": {
"line": 82,
"column": 20
},
"end": {
"line": 82,
"column": 40
}
}
},
{
"type": "CommentLine",
"value": " After this frame we are done",
"start": 3330,
"end": 3361,
"loc": {
"start": {
"line": 88,
"column": 8
},
"end": {
"line": 88,
"column": 39
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Finds the target chained miner for a given entity\r\n * @param {Entity} entity\r\n * @returns {Entity|false} The chained entity or null if not found\r\n ",
"start": 3414,
"end": 3587,
"loc": {
"start": {
"line": 92,
"column": 4
},
"end": {
"line": 96,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " This miner has no contents",
"start": 3896,
"end": 3925,
"loc": {
"start": {
"line": 102,
"column": 12
},
"end": {
"line": 102,
"column": 41
}
}
},
{
"type": "CommentLine",
"value": " Check if we are connected to another miner and thus do not eject directly",
"start": 4369,
"end": 4445,
"loc": {
"start": {
"line": 113,
"column": 8
},
"end": {
"line": 113,
"column": 84
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {Entity} entity\r\n * @param {BaseItem} item\r\n ",
"start": 4889,
"end": 4971,
"loc": {
"start": {
"line": 127,
"column": 4
},
"end": {
"line": 131,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " Check if we are a chained miner",
"start": 5135,
"end": 5169,
"loc": {
"start": {
"line": 136,
"column": 8
},
"end": {
"line": 136,
"column": 42
}
}
},
{
"type": "CommentLine",
"value": " Check if the cache has to get recomputed",
"start": 5285,
"end": 5328,
"loc": {
"start": {
"line": 140,
"column": 12
},
"end": {
"line": 140,
"column": 55
}
}
},
{
"type": "CommentLine",
"value": " Check if we now have a target",
"start": 5480,
"end": 5512,
"loc": {
"start": {
"line": 145,
"column": 12
},
"end": {
"line": 145,
"column": 44
}
}
},
{
"type": "CommentLine",
"value": " Seems we are a regular miner or at the end of a row, try actually ejecting",
"start": 5836,
"end": 5913,
"loc": {
"start": {
"line": 156,
"column": 8
},
"end": {
"line": 156,
"column": 85
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {DrawParameters} parameters\r\n * @param {MapChunkView} chunk\r\n ",
"start": 6034,
"end": 6133,
"loc": {
"start": {
"line": 164,
"column": 4
},
"end": {
"line": 168,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " Draw the item background - this is to hide the ejected item animation from",
"start": 6705,
"end": 6782,
"loc": {
"start": {
"line": 184,
"column": 12
},
"end": {
"line": 184,
"column": 89
}
}
},
{
"type": "CommentLine",
"value": " the item ejector",
"start": 6796,
"end": 6815,
"loc": {
"start": {
"line": 185,
"column": 12
},
"end": {
"line": 185,
"column": 31
}
}
}
],
"tokens": [
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 0,
"end": 6,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7,
"end": 8,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalConfig",
"start": 9,
"end": 21,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 21
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 22,
"end": 23,
"loc": {
"start": {
"line": 1,
"column": 22
},
"end": {
"line": 1,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 24,
"end": 28,
"loc": {
"start": {
"line": 1,
"column": 24
},
"end": {
"line": 1,
"column": 28
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../core/config",
"start": 29,
"end": 48,
"loc": {
"start": {
"line": 1,
"column": 29
},
"end": {
"line": 1,
"column": 48
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 48,
"end": 49,
"loc": {
"start": {
"line": 1,
"column": 48
},
"end": {
"line": 1,
"column": 49
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 51,
"end": 57,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 58,
"end": 59,
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "DrawParameters",
"start": 60,
"end": 74,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 75,
"end": 76,
"loc": {
"start": {
"line": 2,
"column": 24
},
"end": {
"line": 2,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 77,
"end": 81,
"loc": {
"start": {
"line": 2,
"column": 26
},
"end": {
"line": 2,
"column": 30
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../core/draw_parameters",
"start": 82,
"end": 110,
"loc": {
"start": {
"line": 2,
"column": 31
},
"end": {
"line": 2,
"column": 59
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 110,
"end": 111,
"loc": {
"start": {
"line": 2,
"column": 59
},
"end": {
"line": 2,
"column": 60
}
}
},
{
"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": 113,
"end": 119,
"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": 120,
"end": 121,
"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": "enumDirectionToVector",
"start": 122,
"end": 143,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 30
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 144,
"end": 145,
"loc": {
"start": {
"line": 3,
"column": 31
},
"end": {
"line": 3,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 146,
"end": 150,
"loc": {
"start": {
"line": 3,
"column": 33
},
"end": {
"line": 3,
"column": 37
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../core/vector",
"start": 151,
"end": 170,
"loc": {
"start": {
"line": 3,
"column": 38
},
"end": {
"line": 3,
"column": 57
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 170,
"end": 171,
"loc": {
"start": {
"line": 3,
"column": 57
},
"end": {
"line": 3,
"column": 58
}
}
},
{
"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": 173,
"end": 179,
"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": 180,
"end": 181,
"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": "BaseItem",
"start": 182,
"end": 190,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 191,
"end": 192,
"loc": {
"start": {
"line": 4,
"column": 18
},
"end": {
"line": 4,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 193,
"end": 197,
"loc": {
"start": {
"line": 4,
"column": 20
},
"end": {
"line": 4,
"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": 198,
"end": 212,
"loc": {
"start": {
"line": 4,
"column": 25
},
"end": {
"line": 4,
"column": 39
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 212,
"end": 213,
"loc": {
"start": {
"line": 4,
"column": 39
},
"end": {
"line": 4,
"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": 215,
"end": 221,
"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": 222,
"end": 223,
"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": "MinerComponent",
"start": 224,
"end": 238,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 239,
"end": 240,
"loc": {
"start": {
"line": 5,
"column": 24
},
"end": {
"line": 5,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 241,
"end": 245,
"loc": {
"start": {
"line": 5,
"column": 26
},
"end": {
"line": 5,
"column": 30
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../components/miner",
"start": 246,
"end": 267,
"loc": {
"start": {
"line": 5,
"column": 31
},
"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": 267,
"end": 268,
"loc": {
"start": {
"line": 5,
"column": 52
},
"end": {
"line": 5,
"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": 270,
"end": 276,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 277,
"end": 278,
"loc": {
"start": {
"line": 6,
"column": 7
},
"end": {
"line": 6,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Entity",
"start": 279,
"end": 285,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 15
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 286,
"end": 287,
"loc": {
"start": {
"line": 6,
"column": 16
},
"end": {
"line": 6,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 288,
"end": 292,
"loc": {
"start": {
"line": 6,
"column": 18
},
"end": {
"line": 6,
"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": 293,
"end": 304,
"loc": {
"start": {
"line": 6,
"column": 23
},
"end": {
"line": 6,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 304,
"end": 305,
"loc": {
"start": {
"line": 6,
"column": 34
},
"end": {
"line": 6,
"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": 307,
"end": 313,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 7,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 314,
"end": 315,
"loc": {
"start": {
"line": 7,
"column": 7
},
"end": {
"line": 7,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "GameSystemWithFilter",
"start": 316,
"end": 336,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 29
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 337,
"end": 338,
"loc": {
"start": {
"line": 7,
"column": 30
},
"end": {
"line": 7,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 339,
"end": 343,
"loc": {
"start": {
"line": 7,
"column": 32
},
"end": {
"line": 7,
"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": 344,
"end": 372,
"loc": {
"start": {
"line": 7,
"column": 37
},
"end": {
"line": 7,
"column": 65
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 372,
"end": 373,
"loc": {
"start": {
"line": 7,
"column": 65
},
"end": {
"line": 7,
"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": 375,
"end": 381,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 8,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 382,
"end": 383,
"loc": {
"start": {
"line": 8,
"column": 7
},
"end": {
"line": 8,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MapChunkView",
"start": 384,
"end": 396,
"loc": {
"start": {
"line": 8,
"column": 9
},
"end": {
"line": 8,
"column": 21
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 397,
"end": 398,
"loc": {
"start": {
"line": 8,
"column": 22
},
"end": {
"line": 8,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 399,
"end": 403,
"loc": {
"start": {
"line": 8,
"column": 24
},
"end": {
"line": 8,
"column": 28
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../map_chunk_view",
"start": 404,
"end": 423,
"loc": {
"start": {
"line": 8,
"column": 29
},
"end": {
"line": 8,
"column": 48
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 423,
"end": 424,
"loc": {
"start": {
"line": 8,
"column": 48
},
"end": {
"line": 8,
"column": 49
}
}
},
{
"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": 428,
"end": 434,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 10,
"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": 435,
"end": 440,
"loc": {
"start": {
"line": 10,
"column": 7
},
"end": {
"line": 10,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MinerSystem",
"start": 441,
"end": 452,
"loc": {
"start": {
"line": 10,
"column": 13
},
"end": {
"line": 10,
"column": 24
}
}
},
{
"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": 453,
"end": 460,
"loc": {
"start": {
"line": 10,
"column": 25
},
"end": {
"line": 10,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "GameSystemWithFilter",
"start": 461,
"end": 481,
"loc": {
"start": {
"line": 10,
"column": 33
},
"end": {
"line": 10,
"column": 53
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 482,
"end": 483,
"loc": {
"start": {
"line": 10,
"column": 54
},
"end": {
"line": 10,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 489,
"end": 500,
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 11,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 500,
"end": 501,
"loc": {
"start": {
"line": 11,
"column": 15
},
"end": {
"line": 11,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 501,
"end": 505,
"loc": {
"start": {
"line": 11,
"column": 16
},
"end": {
"line": 11,
"column": 20
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 505,
"end": 506,
"loc": {
"start": {
"line": 11,
"column": 20
},
"end": {
"line": 11,
"column": 21
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 507,
"end": 508,
"loc": {
"start": {
"line": 11,
"column": 22
},
"end": {
"line": 11,
"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": 518,
"end": 523,
"loc": {
"start": {
"line": 12,
"column": 8
},
"end": {
"line": 12,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 523,
"end": 524,
"loc": {
"start": {
"line": 12,
"column": 13
},
"end": {
"line": 12,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 524,
"end": 528,
"loc": {
"start": {
"line": 12,
"column": 14
},
"end": {
"line": 12,
"column": 18
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 528,
"end": 529,
"loc": {
"start": {
"line": 12,
"column": 18
},
"end": {
"line": 12,
"column": 19
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 530,
"end": 531,
"loc": {
"start": {
"line": 12,
"column": 20
},
"end": {
"line": 12,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MinerComponent",
"start": 531,
"end": 545,
"loc": {
"start": {
"line": 12,
"column": 21
},
"end": {
"line": 12,
"column": 35
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 545,
"end": 546,
"loc": {
"start": {
"line": 12,
"column": 35
},
"end": {
"line": 12,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 546,
"end": 547,
"loc": {
"start": {
"line": 12,
"column": 36
},
"end": {
"line": 12,
"column": 37
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 547,
"end": 548,
"loc": {
"start": {
"line": 12,
"column": 37
},
"end": {
"line": 12,
"column": 38
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 560,
"end": 564,
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 564,
"end": 565,
"loc": {
"start": {
"line": 14,
"column": 12
},
"end": {
"line": 14,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "needsRecompute",
"start": 565,
"end": 579,
"loc": {
"start": {
"line": 14,
"column": 13
},
"end": {
"line": 14,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 580,
"end": 581,
"loc": {
"start": {
"line": 14,
"column": 28
},
"end": {
"line": 14,
"column": 29
}
}
},
{
"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": 582,
"end": 586,
"loc": {
"start": {
"line": 14,
"column": 30
},
"end": {
"line": 14,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 586,
"end": 587,
"loc": {
"start": {
"line": 14,
"column": 34
},
"end": {
"line": 14,
"column": 35
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 599,
"end": 603,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 603,
"end": 604,
"loc": {
"start": {
"line": 16,
"column": 12
},
"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": "root",
"start": 604,
"end": 608,
"loc": {
"start": {
"line": 16,
"column": 13
},
"end": {
"line": 16,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 608,
"end": 609,
"loc": {
"start": {
"line": 16,
"column": 17
},
"end": {
"line": 16,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "signals",
"start": 609,
"end": 616,
"loc": {
"start": {
"line": 16,
"column": 18
},
"end": {
"line": 16,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 616,
"end": 617,
"loc": {
"start": {
"line": 16,
"column": 25
},
"end": {
"line": 16,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entityAdded",
"start": 617,
"end": 628,
"loc": {
"start": {
"line": 16,
"column": 26
},
"end": {
"line": 16,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 628,
"end": 629,
"loc": {
"start": {
"line": 16,
"column": 37
},
"end": {
"line": 16,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 629,
"end": 632,
"loc": {
"start": {
"line": 16,
"column": 38
},
"end": {
"line": 16,
"column": 41
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 632,
"end": 633,
"loc": {
"start": {
"line": 16,
"column": 41
},
"end": {
"line": 16,
"column": 42
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 633,
"end": 637,
"loc": {
"start": {
"line": 16,
"column": 42
},
"end": {
"line": 16,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 637,
"end": 638,
"loc": {
"start": {
"line": 16,
"column": 46
},
"end": {
"line": 16,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "onEntityChanged",
"start": 638,
"end": 653,
"loc": {
"start": {
"line": 16,
"column": 47
},
"end": {
"line": 16,
"column": 62
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 653,
"end": 654,
"loc": {
"start": {
"line": 16,
"column": 62
},
"end": {
"line": 16,
"column": 63
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 655,
"end": 659,
"loc": {
"start": {
"line": 16,
"column": 64
},
"end": {
"line": 16,
"column": 68
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 659,
"end": 660,
"loc": {
"start": {
"line": 16,
"column": 68
},
"end": {
"line": 16,
"column": 69
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 660,
"end": 661,
"loc": {
"start": {
"line": 16,
"column": 69
},
"end": {
"line": 16,
"column": 70
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 671,
"end": 675,
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 17,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 675,
"end": 676,
"loc": {
"start": {
"line": 17,
"column": 12
},
"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": "root",
"start": 676,
"end": 680,
"loc": {
"start": {
"line": 17,
"column": 13
},
"end": {
"line": 17,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 680,
"end": 681,
"loc": {
"start": {
"line": 17,
"column": 17
},
"end": {
"line": 17,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "signals",
"start": 681,
"end": 688,
"loc": {
"start": {
"line": 17,
"column": 18
},
"end": {
"line": 17,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 688,
"end": 689,
"loc": {
"start": {
"line": 17,
"column": 25
},
"end": {
"line": 17,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entityChanged",
"start": 689,
"end": 702,
"loc": {
"start": {
"line": 17,
"column": 26
},
"end": {
"line": 17,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 702,
"end": 703,
"loc": {
"start": {
"line": 17,
"column": 39
},
"end": {
"line": 17,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 703,
"end": 706,
"loc": {
"start": {
"line": 17,
"column": 40
},
"end": {
"line": 17,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 706,
"end": 707,
"loc": {
"start": {
"line": 17,
"column": 43
},
"end": {
"line": 17,
"column": 44
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 707,
"end": 711,
"loc": {
"start": {
"line": 17,
"column": 44
},
"end": {
"line": 17,
"column": 48
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 711,
"end": 712,
"loc": {
"start": {
"line": 17,
"column": 48
},
"end": {
"line": 17,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "onEntityChanged",
"start": 712,
"end": 727,
"loc": {
"start": {
"line": 17,
"column": 49
},
"end": {
"line": 17,
"column": 64
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 727,
"end": 728,
"loc": {
"start": {
"line": 17,
"column": 64
},
"end": {
"line": 17,
"column": 65
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 729,
"end": 733,
"loc": {
"start": {
"line": 17,
"column": 66
},
"end": {
"line": 17,
"column": 70
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 733,
"end": 734,
"loc": {
"start": {
"line": 17,
"column": 70
},
"end": {
"line": 17,
"column": 71
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 734,
"end": 735,
"loc": {
"start": {
"line": 17,
"column": 71
},
"end": {
"line": 17,
"column": 72
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 745,
"end": 749,
"loc": {
"start": {
"line": 18,
"column": 8
},
"end": {
"line": 18,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 749,
"end": 750,
"loc": {
"start": {
"line": 18,
"column": 12
},
"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": "root",
"start": 750,
"end": 754,
"loc": {
"start": {
"line": 18,
"column": 13
},
"end": {
"line": 18,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 754,
"end": 755,
"loc": {
"start": {
"line": 18,
"column": 17
},
"end": {
"line": 18,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "signals",
"start": 755,
"end": 762,
"loc": {
"start": {
"line": 18,
"column": 18
},
"end": {
"line": 18,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 762,
"end": 763,
"loc": {
"start": {
"line": 18,
"column": 25
},
"end": {
"line": 18,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entityDestroyed",
"start": 763,
"end": 778,
"loc": {
"start": {
"line": 18,
"column": 26
},
"end": {
"line": 18,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 778,
"end": 779,
"loc": {
"start": {
"line": 18,
"column": 41
},
"end": {
"line": 18,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 779,
"end": 782,
"loc": {
"start": {
"line": 18,
"column": 42
},
"end": {
"line": 18,
"column": 45
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 782,
"end": 783,
"loc": {
"start": {
"line": 18,
"column": 45
},
"end": {
"line": 18,
"column": 46
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 783,
"end": 787,
"loc": {
"start": {
"line": 18,
"column": 46
},
"end": {
"line": 18,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 787,
"end": 788,
"loc": {
"start": {
"line": 18,
"column": 50
},
"end": {
"line": 18,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "onEntityChanged",
"start": 788,
"end": 803,
"loc": {
"start": {
"line": 18,
"column": 51
},
"end": {
"line": 18,
"column": 66
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 803,
"end": 804,
"loc": {
"start": {
"line": 18,
"column": 66
},
"end": {
"line": 18,
"column": 67
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 805,
"end": 809,
"loc": {
"start": {
"line": 18,
"column": 68
},
"end": {
"line": 18,
"column": 72
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 809,
"end": 810,
"loc": {
"start": {
"line": 18,
"column": 72
},
"end": {
"line": 18,
"column": 73
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 810,
"end": 811,
"loc": {
"start": {
"line": 18,
"column": 73
},
"end": {
"line": 18,
"column": 74
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 817,
"end": 818,
"loc": {
"start": {
"line": 19,
"column": 4
},
"end": {
"line": 19,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "static",
"start": 826,
"end": 832,
"loc": {
"start": {
"line": 21,
"column": 4
},
"end": {
"line": 21,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getId",
"start": 833,
"end": 838,
"loc": {
"start": {
"line": 21,
"column": 11
},
"end": {
"line": 21,
"column": 16
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 838,
"end": 839,
"loc": {
"start": {
"line": 21,
"column": 16
},
"end": {
"line": 21,
"column": 17
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 839,
"end": 840,
"loc": {
"start": {
"line": 21,
"column": 17
},
"end": {
"line": 21,
"column": 18
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 841,
"end": 842,
"loc": {
"start": {
"line": 21,
"column": 19
},
"end": {
"line": 21,
"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": 852,
"end": 858,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 22,
"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": 859,
"end": 866,
"loc": {
"start": {
"line": 22,
"column": 15
},
"end": {
"line": 22,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 866,
"end": 867,
"loc": {
"start": {
"line": 22,
"column": 22
},
"end": {
"line": 22,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 873,
"end": 874,
"loc": {
"start": {
"line": 23,
"column": 4
},
"end": {
"line": 23,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Called whenever an entity got changed\r\n * @param {Entity} entity\r\n ",
"start": 882,
"end": 971,
"loc": {
"start": {
"line": 25,
"column": 4
},
"end": {
"line": 28,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "onEntityChanged",
"start": 977,
"end": 992,
"loc": {
"start": {
"line": 29,
"column": 4
},
"end": {
"line": 29,
"column": 19
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 992,
"end": 993,
"loc": {
"start": {
"line": 29,
"column": 19
},
"end": {
"line": 29,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 993,
"end": 999,
"loc": {
"start": {
"line": 29,
"column": 20
},
"end": {
"line": 29,
"column": 26
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 999,
"end": 1000,
"loc": {
"start": {
"line": 29,
"column": 26
},
"end": {
"line": 29,
"column": 27
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1001,
"end": 1002,
"loc": {
"start": {
"line": 29,
"column": 28
},
"end": {
"line": 29,
"column": 29
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 1012,
"end": 1017,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "minerComp",
"start": 1018,
"end": 1027,
"loc": {
"start": {
"line": 30,
"column": 14
},
"end": {
"line": 30,
"column": 23
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1028,
"end": 1029,
"loc": {
"start": {
"line": 30,
"column": 24
},
"end": {
"line": 30,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 1030,
"end": 1036,
"loc": {
"start": {
"line": 30,
"column": 26
},
"end": {
"line": 30,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1036,
"end": 1037,
"loc": {
"start": {
"line": 30,
"column": 32
},
"end": {
"line": 30,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 1037,
"end": 1047,
"loc": {
"start": {
"line": 30,
"column": 33
},
"end": {
"line": 30,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1047,
"end": 1048,
"loc": {
"start": {
"line": 30,
"column": 43
},
"end": {
"line": 30,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Miner",
"start": 1048,
"end": 1053,
"loc": {
"start": {
"line": 30,
"column": 44
},
"end": {
"line": 30,
"column": 49
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1053,
"end": 1054,
"loc": {
"start": {
"line": 30,
"column": 49
},
"end": {
"line": 30,
"column": 50
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 1064,
"end": 1066,
"loc": {
"start": {
"line": 31,
"column": 8
},
"end": {
"line": 31,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1067,
"end": 1068,
"loc": {
"start": {
"line": 31,
"column": 11
},
"end": {
"line": 31,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "minerComp",
"start": 1068,
"end": 1077,
"loc": {
"start": {
"line": 31,
"column": 12
},
"end": {
"line": 31,
"column": 21
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 1078,
"end": 1080,
"loc": {
"start": {
"line": 31,
"column": 22
},
"end": {
"line": 31,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "minerComp",
"start": 1081,
"end": 1090,
"loc": {
"start": {
"line": 31,
"column": 25
},
"end": {
"line": 31,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1090,
"end": 1091,
"loc": {
"start": {
"line": 31,
"column": 34
},
"end": {
"line": 31,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "chainable",
"start": 1091,
"end": 1100,
"loc": {
"start": {
"line": 31,
"column": 35
},
"end": {
"line": 31,
"column": 44
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1100,
"end": 1101,
"loc": {
"start": {
"line": 31,
"column": 44
},
"end": {
"line": 31,
"column": 45
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1102,
"end": 1103,
"loc": {
"start": {
"line": 31,
"column": 46
},
"end": {
"line": 31,
"column": 47
}
}
},
{
"type": "CommentLine",
"value": " Miner component, need to recompute",
"start": 1117,
"end": 1154,
"loc": {
"start": {
"line": 32,
"column": 12
},
"end": {
"line": 32,
"column": 49
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1168,
"end": 1172,
"loc": {
"start": {
"line": 33,
"column": 12
},
"end": {
"line": 33,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1172,
"end": 1173,
"loc": {
"start": {
"line": 33,
"column": 16
},
"end": {
"line": 33,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "needsRecompute",
"start": 1173,
"end": 1187,
"loc": {
"start": {
"line": 33,
"column": 17
},
"end": {
"line": 33,
"column": 31
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1188,
"end": 1189,
"loc": {
"start": {
"line": 33,
"column": 32
},
"end": {
"line": 33,
"column": 33
}
}
},
{
"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": 1190,
"end": 1194,
"loc": {
"start": {
"line": 33,
"column": 34
},
"end": {
"line": 33,
"column": 38
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1194,
"end": 1195,
"loc": {
"start": {
"line": 33,
"column": 38
},
"end": {
"line": 33,
"column": 39
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1205,
"end": 1206,
"loc": {
"start": {
"line": 34,
"column": 8
},
"end": {
"line": 34,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1212,
"end": 1213,
"loc": {
"start": {
"line": 35,
"column": 4
},
"end": {
"line": 35,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "update",
"start": 1221,
"end": 1227,
"loc": {
"start": {
"line": 37,
"column": 4
},
"end": {
"line": 37,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1227,
"end": 1228,
"loc": {
"start": {
"line": 37,
"column": 10
},
"end": {
"line": 37,
"column": 11
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1228,
"end": 1229,
"loc": {
"start": {
"line": 37,
"column": 11
},
"end": {
"line": 37,
"column": 12
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1230,
"end": 1231,
"loc": {
"start": {
"line": 37,
"column": 13
},
"end": {
"line": 37,
"column": 14
}
}
},
{
"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": 1241,
"end": 1244,
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 38,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "miningSpeed",
"start": 1245,
"end": 1256,
"loc": {
"start": {
"line": 38,
"column": 12
},
"end": {
"line": 38,
"column": 23
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1257,
"end": 1258,
"loc": {
"start": {
"line": 38,
"column": 24
},
"end": {
"line": 38,
"column": 25
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1259,
"end": 1263,
"loc": {
"start": {
"line": 38,
"column": 26
},
"end": {
"line": 38,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1263,
"end": 1264,
"loc": {
"start": {
"line": 38,
"column": 30
},
"end": {
"line": 38,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 1264,
"end": 1268,
"loc": {
"start": {
"line": 38,
"column": 31
},
"end": {
"line": 38,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1268,
"end": 1269,
"loc": {
"start": {
"line": 38,
"column": 35
},
"end": {
"line": 38,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hubGoals",
"start": 1269,
"end": 1277,
"loc": {
"start": {
"line": 38,
"column": 36
},
"end": {
"line": 38,
"column": 44
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1277,
"end": 1278,
"loc": {
"start": {
"line": 38,
"column": 44
},
"end": {
"line": 38,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getMinerBaseSpeed",
"start": 1278,
"end": 1295,
"loc": {
"start": {
"line": 38,
"column": 45
},
"end": {
"line": 38,
"column": 62
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1295,
"end": 1296,
"loc": {
"start": {
"line": 38,
"column": 62
},
"end": {
"line": 38,
"column": 63
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1296,
"end": 1297,
"loc": {
"start": {
"line": 38,
"column": 63
},
"end": {
"line": 38,
"column": 64
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1297,
"end": 1298,
"loc": {
"start": {
"line": 38,
"column": 64
},
"end": {
"line": 38,
"column": 65
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 1308,
"end": 1310,
"loc": {
"start": {
"line": 39,
"column": 8
},
"end": {
"line": 39,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1311,
"end": 1312,
"loc": {
"start": {
"line": 39,
"column": 11
},
"end": {
"line": 39,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "G_IS_DEV",
"start": 1312,
"end": 1320,
"loc": {
"start": {
"line": 39,
"column": 12
},
"end": {
"line": 39,
"column": 20
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 1321,
"end": 1323,
"loc": {
"start": {
"line": 39,
"column": 21
},
"end": {
"line": 39,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalConfig",
"start": 1324,
"end": 1336,
"loc": {
"start": {
"line": 39,
"column": 24
},
"end": {
"line": 39,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1336,
"end": 1337,
"loc": {
"start": {
"line": 39,
"column": 36
},
"end": {
"line": 39,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "debug",
"start": 1337,
"end": 1342,
"loc": {
"start": {
"line": 39,
"column": 37
},
"end": {
"line": 39,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1342,
"end": 1343,
"loc": {
"start": {
"line": 39,
"column": 42
},
"end": {
"line": 39,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "instantMiners",
"start": 1343,
"end": 1356,
"loc": {
"start": {
"line": 39,
"column": 43
},
"end": {
"line": 39,
"column": 56
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1356,
"end": 1357,
"loc": {
"start": {
"line": 39,
"column": 56
},
"end": {
"line": 39,
"column": 57
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1358,
"end": 1359,
"loc": {
"start": {
"line": 39,
"column": 58
},
"end": {
"line": 39,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "miningSpeed",
"start": 1373,
"end": 1384,
"loc": {
"start": {
"line": 40,
"column": 12
},
"end": {
"line": 40,
"column": 23
}
}
},
{
"type": {
"label": "_=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "*=",
"start": 1385,
"end": 1387,
"loc": {
"start": {
"line": 40,
"column": 24
},
"end": {
"line": 40,
"column": 26
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 100,
"start": 1388,
"end": 1391,
"loc": {
"start": {
"line": 40,
"column": 27
},
"end": {
"line": 40,
"column": 30
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1391,
"end": 1392,
"loc": {
"start": {
"line": 40,
"column": 30
},
"end": {
"line": 40,
"column": 31
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1402,
"end": 1403,
"loc": {
"start": {
"line": 41,
"column": 8
},
"end": {
"line": 41,
"column": 9
}
}
},
{
"type": {
"label": "for",
"keyword": "for",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": true,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "for",
"start": 1415,
"end": 1418,
"loc": {
"start": {
"line": 43,
"column": 8
},
"end": {
"line": 43,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1419,
"end": 1420,
"loc": {
"start": {
"line": 43,
"column": 12
},
"end": {
"line": 43,
"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": 1420,
"end": 1423,
"loc": {
"start": {
"line": 43,
"column": 13
},
"end": {
"line": 43,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 1424,
"end": 1425,
"loc": {
"start": {
"line": 43,
"column": 17
},
"end": {
"line": 43,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1426,
"end": 1427,
"loc": {
"start": {
"line": 43,
"column": 19
},
"end": {
"line": 43,
"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": 1428,
"end": 1429,
"loc": {
"start": {
"line": 43,
"column": 21
},
"end": {
"line": 43,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1429,
"end": 1430,
"loc": {
"start": {
"line": 43,
"column": 22
},
"end": {
"line": 43,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 1431,
"end": 1432,
"loc": {
"start": {
"line": 43,
"column": 24
},
"end": {
"line": 43,
"column": 25
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 1433,
"end": 1434,
"loc": {
"start": {
"line": 43,
"column": 26
},
"end": {
"line": 43,
"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": 1435,
"end": 1439,
"loc": {
"start": {
"line": 43,
"column": 28
},
"end": {
"line": 43,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1439,
"end": 1440,
"loc": {
"start": {
"line": 43,
"column": 32
},
"end": {
"line": 43,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "allEntities",
"start": 1440,
"end": 1451,
"loc": {
"start": {
"line": 43,
"column": 33
},
"end": {
"line": 43,
"column": 44
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1451,
"end": 1452,
"loc": {
"start": {
"line": 43,
"column": 44
},
"end": {
"line": 43,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 1452,
"end": 1458,
"loc": {
"start": {
"line": 43,
"column": 45
},
"end": {
"line": 43,
"column": 51
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1458,
"end": 1459,
"loc": {
"start": {
"line": 43,
"column": 51
},
"end": {
"line": 43,
"column": 52
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 1460,
"end": 1462,
"loc": {
"start": {
"line": 43,
"column": 53
},
"end": {
"line": 43,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 1462,
"end": 1463,
"loc": {
"start": {
"line": 43,
"column": 55
},
"end": {
"line": 43,
"column": 56
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1463,
"end": 1464,
"loc": {
"start": {
"line": 43,
"column": 56
},
"end": {
"line": 43,
"column": 57
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1465,
"end": 1466,
"loc": {
"start": {
"line": 43,
"column": 58
},
"end": {
"line": 43,
"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": 1480,
"end": 1485,
"loc": {
"start": {
"line": 44,
"column": 12
},
"end": {
"line": 44,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 1486,
"end": 1492,
"loc": {
"start": {
"line": 44,
"column": 18
},
"end": {
"line": 44,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1493,
"end": 1494,
"loc": {
"start": {
"line": 44,
"column": 25
},
"end": {
"line": 44,
"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": 1495,
"end": 1499,
"loc": {
"start": {
"line": 44,
"column": 27
},
"end": {
"line": 44,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1499,
"end": 1500,
"loc": {
"start": {
"line": 44,
"column": 31
},
"end": {
"line": 44,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "allEntities",
"start": 1500,
"end": 1511,
"loc": {
"start": {
"line": 44,
"column": 32
},
"end": {
"line": 44,
"column": 43
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1511,
"end": 1512,
"loc": {
"start": {
"line": 44,
"column": 43
},
"end": {
"line": 44,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 1512,
"end": 1513,
"loc": {
"start": {
"line": 44,
"column": 44
},
"end": {
"line": 44,
"column": 45
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1513,
"end": 1514,
"loc": {
"start": {
"line": 44,
"column": 45
},
"end": {
"line": 44,
"column": 46
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1514,
"end": 1515,
"loc": {
"start": {
"line": 44,
"column": 46
},
"end": {
"line": 44,
"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": 1529,
"end": 1534,
"loc": {
"start": {
"line": 45,
"column": 12
},
"end": {
"line": 45,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "minerComp",
"start": 1535,
"end": 1544,
"loc": {
"start": {
"line": 45,
"column": 18
},
"end": {
"line": 45,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1545,
"end": 1546,
"loc": {
"start": {
"line": 45,
"column": 28
},
"end": {
"line": 45,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 1547,
"end": 1553,
"loc": {
"start": {
"line": 45,
"column": 30
},
"end": {
"line": 45,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1553,
"end": 1554,
"loc": {
"start": {
"line": 45,
"column": 36
},
"end": {
"line": 45,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 1554,
"end": 1564,
"loc": {
"start": {
"line": 45,
"column": 37
},
"end": {
"line": 45,
"column": 47
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1564,
"end": 1565,
"loc": {
"start": {
"line": 45,
"column": 47
},
"end": {
"line": 45,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Miner",
"start": 1565,
"end": 1570,
"loc": {
"start": {
"line": 45,
"column": 48
},
"end": {
"line": 45,
"column": 53
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1570,
"end": 1571,
"loc": {
"start": {
"line": 45,
"column": 53
},
"end": {
"line": 45,
"column": 54
}
}
},
{
"type": "CommentLine",
"value": " Reset everything on recompute",
"start": 1587,
"end": 1619,
"loc": {
"start": {
"line": 47,
"column": 12
},
"end": {
"line": 47,
"column": 44
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 1633,
"end": 1635,
"loc": {
"start": {
"line": 48,
"column": 12
},
"end": {
"line": 48,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1636,
"end": 1637,
"loc": {
"start": {
"line": 48,
"column": 15
},
"end": {
"line": 48,
"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": 1637,
"end": 1641,
"loc": {
"start": {
"line": 48,
"column": 16
},
"end": {
"line": 48,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1641,
"end": 1642,
"loc": {
"start": {
"line": 48,
"column": 20
},
"end": {
"line": 48,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "needsRecompute",
"start": 1642,
"end": 1656,
"loc": {
"start": {
"line": 48,
"column": 21
},
"end": {
"line": 48,
"column": 35
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1656,
"end": 1657,
"loc": {
"start": {
"line": 48,
"column": 35
},
"end": {
"line": 48,
"column": 36
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1658,
"end": 1659,
"loc": {
"start": {
"line": 48,
"column": 37
},
"end": {
"line": 48,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "minerComp",
"start": 1677,
"end": 1686,
"loc": {
"start": {
"line": 49,
"column": 16
},
"end": {
"line": 49,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1686,
"end": 1687,
"loc": {
"start": {
"line": 49,
"column": 25
},
"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": "cachedChainedMiner",
"start": 1687,
"end": 1705,
"loc": {
"start": {
"line": 49,
"column": 26
},
"end": {
"line": 49,
"column": 44
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1706,
"end": 1707,
"loc": {
"start": {
"line": 49,
"column": 45
},
"end": {
"line": 49,
"column": 46
}
}
},
{
"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": 1708,
"end": 1712,
"loc": {
"start": {
"line": 49,
"column": 47
},
"end": {
"line": 49,
"column": 51
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1712,
"end": 1713,
"loc": {
"start": {
"line": 49,
"column": 51
},
"end": {
"line": 49,
"column": 52
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1727,
"end": 1728,
"loc": {
"start": {
"line": 50,
"column": 12
},
"end": {
"line": 50,
"column": 13
}
}
},
{
"type": "CommentLine",
"value": " Check if miner is above an actual tile",
"start": 1744,
"end": 1785,
"loc": {
"start": {
"line": 52,
"column": 12
},
"end": {
"line": 52,
"column": 53
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 1799,
"end": 1801,
"loc": {
"start": {
"line": 53,
"column": 12
},
"end": {
"line": 53,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1802,
"end": 1803,
"loc": {
"start": {
"line": 53,
"column": 15
},
"end": {
"line": 53,
"column": 16
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 1803,
"end": 1804,
"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": "minerComp",
"start": 1804,
"end": 1813,
"loc": {
"start": {
"line": 53,
"column": 17
},
"end": {
"line": 53,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1813,
"end": 1814,
"loc": {
"start": {
"line": 53,
"column": 26
},
"end": {
"line": 53,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cachedMinedItem",
"start": 1814,
"end": 1829,
"loc": {
"start": {
"line": 53,
"column": 27
},
"end": {
"line": 53,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1829,
"end": 1830,
"loc": {
"start": {
"line": 53,
"column": 42
},
"end": {
"line": 53,
"column": 43
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1831,
"end": 1832,
"loc": {
"start": {
"line": 53,
"column": 44
},
"end": {
"line": 53,
"column": 45
}
}
},
{
"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": 1850,
"end": 1855,
"loc": {
"start": {
"line": 54,
"column": 16
},
"end": {
"line": 54,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "staticComp",
"start": 1856,
"end": 1866,
"loc": {
"start": {
"line": 54,
"column": 22
},
"end": {
"line": 54,
"column": 32
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1867,
"end": 1868,
"loc": {
"start": {
"line": 54,
"column": 33
},
"end": {
"line": 54,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 1869,
"end": 1875,
"loc": {
"start": {
"line": 54,
"column": 35
},
"end": {
"line": 54,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1875,
"end": 1876,
"loc": {
"start": {
"line": 54,
"column": 41
},
"end": {
"line": 54,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 1876,
"end": 1886,
"loc": {
"start": {
"line": 54,
"column": 42
},
"end": {
"line": 54,
"column": 52
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1886,
"end": 1887,
"loc": {
"start": {
"line": 54,
"column": 52
},
"end": {
"line": 54,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "StaticMapEntity",
"start": 1887,
"end": 1902,
"loc": {
"start": {
"line": 54,
"column": 53
},
"end": {
"line": 54,
"column": 68
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1902,
"end": 1903,
"loc": {
"start": {
"line": 54,
"column": 68
},
"end": {
"line": 54,
"column": 69
}
}
},
{
"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": 1921,
"end": 1926,
"loc": {
"start": {
"line": 55,
"column": 16
},
"end": {
"line": 55,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tileBelow",
"start": 1927,
"end": 1936,
"loc": {
"start": {
"line": 55,
"column": 22
},
"end": {
"line": 55,
"column": 31
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1937,
"end": 1938,
"loc": {
"start": {
"line": 55,
"column": 32
},
"end": {
"line": 55,
"column": 33
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1939,
"end": 1943,
"loc": {
"start": {
"line": 55,
"column": 34
},
"end": {
"line": 55,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1943,
"end": 1944,
"loc": {
"start": {
"line": 55,
"column": 38
},
"end": {
"line": 55,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 1944,
"end": 1948,
"loc": {
"start": {
"line": 55,
"column": 39
},
"end": {
"line": 55,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1948,
"end": 1949,
"loc": {
"start": {
"line": 55,
"column": 43
},
"end": {
"line": 55,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "map",
"start": 1949,
"end": 1952,
"loc": {
"start": {
"line": 55,
"column": 44
},
"end": {
"line": 55,
"column": 47
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1952,
"end": 1953,
"loc": {
"start": {
"line": 55,
"column": 47
},
"end": {
"line": 55,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getLowerLayerContentXY",
"start": 1953,
"end": 1975,
"loc": {
"start": {
"line": 55,
"column": 48
},
"end": {
"line": 55,
"column": 70
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1975,
"end": 1976,
"loc": {
"start": {
"line": 55,
"column": 70
},
"end": {
"line": 55,
"column": 71
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "staticComp",
"start": 1998,
"end": 2008,
"loc": {
"start": {
"line": 56,
"column": 20
},
"end": {
"line": 56,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2008,
"end": 2009,
"loc": {
"start": {
"line": 56,
"column": 30
},
"end": {
"line": 56,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "origin",
"start": 2009,
"end": 2015,
"loc": {
"start": {
"line": 56,
"column": 31
},
"end": {
"line": 56,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2015,
"end": 2016,
"loc": {
"start": {
"line": 56,
"column": 37
},
"end": {
"line": 56,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 2016,
"end": 2017,
"loc": {
"start": {
"line": 56,
"column": 38
},
"end": {
"line": 56,
"column": 39
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2017,
"end": 2018,
"loc": {
"start": {
"line": 56,
"column": 39
},
"end": {
"line": 56,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "staticComp",
"start": 2040,
"end": 2050,
"loc": {
"start": {
"line": 57,
"column": 20
},
"end": {
"line": 57,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2050,
"end": 2051,
"loc": {
"start": {
"line": 57,
"column": 30
},
"end": {
"line": 57,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "origin",
"start": 2051,
"end": 2057,
"loc": {
"start": {
"line": 57,
"column": 31
},
"end": {
"line": 57,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2057,
"end": 2058,
"loc": {
"start": {
"line": 57,
"column": 37
},
"end": {
"line": 57,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 2058,
"end": 2059,
"loc": {
"start": {
"line": 57,
"column": 38
},
"end": {
"line": 57,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2077,
"end": 2078,
"loc": {
"start": {
"line": 58,
"column": 16
},
"end": {
"line": 58,
"column": 17
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2078,
"end": 2079,
"loc": {
"start": {
"line": 58,
"column": 17
},
"end": {
"line": 58,
"column": 18
}
}
},
{
"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": 2097,
"end": 2099,
"loc": {
"start": {
"line": 59,
"column": 16
},
"end": {
"line": 59,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2100,
"end": 2101,
"loc": {
"start": {
"line": 59,
"column": 19
},
"end": {
"line": 59,
"column": 20
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 2101,
"end": 2102,
"loc": {
"start": {
"line": 59,
"column": 20
},
"end": {
"line": 59,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tileBelow",
"start": 2102,
"end": 2111,
"loc": {
"start": {
"line": 59,
"column": 21
},
"end": {
"line": 59,
"column": 30
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 2112,
"end": 2114,
"loc": {
"start": {
"line": 59,
"column": 31
},
"end": {
"line": 59,
"column": 33
}
}
},
{
"type": {
"label": "typeof",
"keyword": "typeof",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "typeof",
"start": 2115,
"end": 2121,
"loc": {
"start": {
"line": 59,
"column": 34
},
"end": {
"line": 59,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tileBelow",
"start": 2122,
"end": 2131,
"loc": {
"start": {
"line": 59,
"column": 41
},
"end": {
"line": 59,
"column": 50
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!=",
"start": 2132,
"end": 2134,
"loc": {
"start": {
"line": 59,
"column": 51
},
"end": {
"line": 59,
"column": 53
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "object",
"start": 2135,
"end": 2143,
"loc": {
"start": {
"line": 59,
"column": 54
},
"end": {
"line": 59,
"column": 62
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2143,
"end": 2144,
"loc": {
"start": {
"line": 59,
"column": 62
},
"end": {
"line": 59,
"column": 63
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2145,
"end": 2146,
"loc": {
"start": {
"line": 59,
"column": 64
},
"end": {
"line": 59,
"column": 65
}
}
},
{
"type": {
"label": "continue",
"keyword": "continue",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "continue",
"start": 2168,
"end": 2176,
"loc": {
"start": {
"line": 60,
"column": 20
},
"end": {
"line": 60,
"column": 28
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2176,
"end": 2177,
"loc": {
"start": {
"line": 60,
"column": 28
},
"end": {
"line": 60,
"column": 29
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2195,
"end": 2196,
"loc": {
"start": {
"line": 61,
"column": 16
},
"end": {
"line": 61,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "minerComp",
"start": 2214,
"end": 2223,
"loc": {
"start": {
"line": 62,
"column": 16
},
"end": {
"line": 62,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2223,
"end": 2224,
"loc": {
"start": {
"line": 62,
"column": 25
},
"end": {
"line": 62,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cachedMinedItem",
"start": 2224,
"end": 2239,
"loc": {
"start": {
"line": 62,
"column": 26
},
"end": {
"line": 62,
"column": 41
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2240,
"end": 2241,
"loc": {
"start": {
"line": 62,
"column": 42
},
"end": {
"line": 62,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tileBelow",
"start": 2242,
"end": 2251,
"loc": {
"start": {
"line": 62,
"column": 44
},
"end": {
"line": 62,
"column": 53
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2251,
"end": 2252,
"loc": {
"start": {
"line": 62,
"column": 53
},
"end": {
"line": 62,
"column": 54
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2266,
"end": 2267,
"loc": {
"start": {
"line": 63,
"column": 12
},
"end": {
"line": 63,
"column": 13
}
}
},
{
"type": "CommentLine",
"value": " First, try to get rid of chained items",
"start": 2283,
"end": 2324,
"loc": {
"start": {
"line": 65,
"column": 12
},
"end": {
"line": 65,
"column": 53
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 2338,
"end": 2340,
"loc": {
"start": {
"line": 66,
"column": 12
},
"end": {
"line": 66,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2341,
"end": 2342,
"loc": {
"start": {
"line": 66,
"column": 15
},
"end": {
"line": 66,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "minerComp",
"start": 2342,
"end": 2351,
"loc": {
"start": {
"line": 66,
"column": 16
},
"end": {
"line": 66,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2351,
"end": 2352,
"loc": {
"start": {
"line": 66,
"column": 25
},
"end": {
"line": 66,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "itemChainBuffer",
"start": 2352,
"end": 2367,
"loc": {
"start": {
"line": 66,
"column": 26
},
"end": {
"line": 66,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2367,
"end": 2368,
"loc": {
"start": {
"line": 66,
"column": 41
},
"end": {
"line": 66,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 2368,
"end": 2374,
"loc": {
"start": {
"line": 66,
"column": 42
},
"end": {
"line": 66,
"column": 48
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": ">",
"start": 2375,
"end": 2376,
"loc": {
"start": {
"line": 66,
"column": 49
},
"end": {
"line": 66,
"column": 50
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 2377,
"end": 2378,
"loc": {
"start": {
"line": 66,
"column": 51
},
"end": {
"line": 66,
"column": 52
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2378,
"end": 2379,
"loc": {
"start": {
"line": 66,
"column": 52
},
"end": {
"line": 66,
"column": 53
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2380,
"end": 2381,
"loc": {
"start": {
"line": 66,
"column": 54
},
"end": {
"line": 66,
"column": 55
}
}
},
{
"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": 2399,
"end": 2401,
"loc": {
"start": {
"line": 67,
"column": 16
},
"end": {
"line": 67,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2402,
"end": 2403,
"loc": {
"start": {
"line": 67,
"column": 19
},
"end": {
"line": 67,
"column": 20
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 2403,
"end": 2407,
"loc": {
"start": {
"line": 67,
"column": 20
},
"end": {
"line": 67,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2407,
"end": 2408,
"loc": {
"start": {
"line": 67,
"column": 24
},
"end": {
"line": 67,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tryPerformMinerEject",
"start": 2408,
"end": 2428,
"loc": {
"start": {
"line": 67,
"column": 25
},
"end": {
"line": 67,
"column": 45
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2428,
"end": 2429,
"loc": {
"start": {
"line": 67,
"column": 45
},
"end": {
"line": 67,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2429,
"end": 2435,
"loc": {
"start": {
"line": 67,
"column": 46
},
"end": {
"line": 67,
"column": 52
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2435,
"end": 2436,
"loc": {
"start": {
"line": 67,
"column": 52
},
"end": {
"line": 67,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "minerComp",
"start": 2437,
"end": 2446,
"loc": {
"start": {
"line": 67,
"column": 54
},
"end": {
"line": 67,
"column": 63
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2446,
"end": 2447,
"loc": {
"start": {
"line": 67,
"column": 63
},
"end": {
"line": 67,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "itemChainBuffer",
"start": 2447,
"end": 2462,
"loc": {
"start": {
"line": 67,
"column": 64
},
"end": {
"line": 67,
"column": 79
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2462,
"end": 2463,
"loc": {
"start": {
"line": 67,
"column": 79
},
"end": {
"line": 67,
"column": 80
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 2463,
"end": 2464,
"loc": {
"start": {
"line": 67,
"column": 80
},
"end": {
"line": 67,
"column": 81
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2464,
"end": 2465,
"loc": {
"start": {
"line": 67,
"column": 81
},
"end": {
"line": 67,
"column": 82
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2465,
"end": 2466,
"loc": {
"start": {
"line": 67,
"column": 82
},
"end": {
"line": 67,
"column": 83
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2466,
"end": 2467,
"loc": {
"start": {
"line": 67,
"column": 83
},
"end": {
"line": 67,
"column": 84
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2468,
"end": 2469,
"loc": {
"start": {
"line": 67,
"column": 85
},
"end": {
"line": 67,
"column": 86
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "minerComp",
"start": 2491,
"end": 2500,
"loc": {
"start": {
"line": 68,
"column": 20
},
"end": {
"line": 68,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2500,
"end": 2501,
"loc": {
"start": {
"line": 68,
"column": 29
},
"end": {
"line": 68,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "itemChainBuffer",
"start": 2501,
"end": 2516,
"loc": {
"start": {
"line": 68,
"column": 30
},
"end": {
"line": 68,
"column": 45
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2516,
"end": 2517,
"loc": {
"start": {
"line": 68,
"column": 45
},
"end": {
"line": 68,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "shift",
"start": 2517,
"end": 2522,
"loc": {
"start": {
"line": 68,
"column": 46
},
"end": {
"line": 68,
"column": 51
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2522,
"end": 2523,
"loc": {
"start": {
"line": 68,
"column": 51
},
"end": {
"line": 68,
"column": 52
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2523,
"end": 2524,
"loc": {
"start": {
"line": 68,
"column": 52
},
"end": {
"line": 68,
"column": 53
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2524,
"end": 2525,
"loc": {
"start": {
"line": 68,
"column": 53
},
"end": {
"line": 68,
"column": 54
}
}
},
{
"type": {
"label": "continue",
"keyword": "continue",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "continue",
"start": 2547,
"end": 2555,
"loc": {
"start": {
"line": 69,
"column": 20
},
"end": {
"line": 69,
"column": 28
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2555,
"end": 2556,
"loc": {
"start": {
"line": 69,
"column": 28
},
"end": {
"line": 69,
"column": 29
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2574,
"end": 2575,
"loc": {
"start": {
"line": 70,
"column": 16
},
"end": {
"line": 70,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2589,
"end": 2590,
"loc": {
"start": {
"line": 71,
"column": 12
},
"end": {
"line": 71,
"column": 13
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 2606,
"end": 2611,
"loc": {
"start": {
"line": 73,
"column": 12
},
"end": {
"line": 73,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "mineDuration",
"start": 2612,
"end": 2624,
"loc": {
"start": {
"line": 73,
"column": 18
},
"end": {
"line": 73,
"column": 30
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2625,
"end": 2626,
"loc": {
"start": {
"line": 73,
"column": 31
},
"end": {
"line": 73,
"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": 2627,
"end": 2628,
"loc": {
"start": {
"line": 73,
"column": 33
},
"end": {
"line": 73,
"column": 34
}
}
},
{
"type": {
"label": "/",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "/",
"start": 2629,
"end": 2630,
"loc": {
"start": {
"line": 73,
"column": 35
},
"end": {
"line": 73,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "miningSpeed",
"start": 2631,
"end": 2642,
"loc": {
"start": {
"line": 73,
"column": 37
},
"end": {
"line": 73,
"column": 48
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2642,
"end": 2643,
"loc": {
"start": {
"line": 73,
"column": 48
},
"end": {
"line": 73,
"column": 49
}
}
},
{
"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": 2657,
"end": 2662,
"loc": {
"start": {
"line": 74,
"column": 12
},
"end": {
"line": 74,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "timeSinceMine",
"start": 2663,
"end": 2676,
"loc": {
"start": {
"line": 74,
"column": 18
},
"end": {
"line": 74,
"column": 31
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2677,
"end": 2678,
"loc": {
"start": {
"line": 74,
"column": 32
},
"end": {
"line": 74,
"column": 33
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 2679,
"end": 2683,
"loc": {
"start": {
"line": 74,
"column": 34
},
"end": {
"line": 74,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2683,
"end": 2684,
"loc": {
"start": {
"line": 74,
"column": 38
},
"end": {
"line": 74,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 2684,
"end": 2688,
"loc": {
"start": {
"line": 74,
"column": 39
},
"end": {
"line": 74,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2688,
"end": 2689,
"loc": {
"start": {
"line": 74,
"column": 43
},
"end": {
"line": 74,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "time",
"start": 2689,
"end": 2693,
"loc": {
"start": {
"line": 74,
"column": 44
},
"end": {
"line": 74,
"column": 48
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2693,
"end": 2694,
"loc": {
"start": {
"line": 74,
"column": 48
},
"end": {
"line": 74,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "now",
"start": 2694,
"end": 2697,
"loc": {
"start": {
"line": 74,
"column": 49
},
"end": {
"line": 74,
"column": 52
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2697,
"end": 2698,
"loc": {
"start": {
"line": 74,
"column": 52
},
"end": {
"line": 74,
"column": 53
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2698,
"end": 2699,
"loc": {
"start": {
"line": 74,
"column": 53
},
"end": {
"line": 74,
"column": 54
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 2700,
"end": 2701,
"loc": {
"start": {
"line": 74,
"column": 55
},
"end": {
"line": 74,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "minerComp",
"start": 2702,
"end": 2711,
"loc": {
"start": {
"line": 74,
"column": 57
},
"end": {
"line": 74,
"column": 66
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2711,
"end": 2712,
"loc": {
"start": {
"line": 74,
"column": 66
},
"end": {
"line": 74,
"column": 67
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "lastMiningTime",
"start": 2712,
"end": 2726,
"loc": {
"start": {
"line": 74,
"column": 67
},
"end": {
"line": 74,
"column": 81
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2726,
"end": 2727,
"loc": {
"start": {
"line": 74,
"column": 81
},
"end": {
"line": 74,
"column": 82
}
}
},
{
"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": 2741,
"end": 2743,
"loc": {
"start": {
"line": 75,
"column": 12
},
"end": {
"line": 75,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2744,
"end": 2745,
"loc": {
"start": {
"line": 75,
"column": 15
},
"end": {
"line": 75,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "timeSinceMine",
"start": 2745,
"end": 2758,
"loc": {
"start": {
"line": 75,
"column": 16
},
"end": {
"line": 75,
"column": 29
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": ">",
"start": 2759,
"end": 2760,
"loc": {
"start": {
"line": 75,
"column": 30
},
"end": {
"line": 75,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "mineDuration",
"start": 2761,
"end": 2773,
"loc": {
"start": {
"line": 75,
"column": 32
},
"end": {
"line": 75,
"column": 44
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2773,
"end": 2774,
"loc": {
"start": {
"line": 75,
"column": 44
},
"end": {
"line": 75,
"column": 45
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2775,
"end": 2776,
"loc": {
"start": {
"line": 75,
"column": 46
},
"end": {
"line": 75,
"column": 47
}
}
},
{
"type": "CommentLine",
"value": " Store how much we overflowed",
"start": 2794,
"end": 2825,
"loc": {
"start": {
"line": 76,
"column": 16
},
"end": {
"line": 76,
"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": 2843,
"end": 2848,
"loc": {
"start": {
"line": 77,
"column": 16
},
"end": {
"line": 77,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buffer",
"start": 2849,
"end": 2855,
"loc": {
"start": {
"line": 77,
"column": 22
},
"end": {
"line": 77,
"column": 28
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2856,
"end": 2857,
"loc": {
"start": {
"line": 77,
"column": 29
},
"end": {
"line": 77,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Math",
"start": 2858,
"end": 2862,
"loc": {
"start": {
"line": 77,
"column": 31
},
"end": {
"line": 77,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2862,
"end": 2863,
"loc": {
"start": {
"line": 77,
"column": 35
},
"end": {
"line": 77,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "min",
"start": 2863,
"end": 2866,
"loc": {
"start": {
"line": 77,
"column": 36
},
"end": {
"line": 77,
"column": 39
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2866,
"end": 2867,
"loc": {
"start": {
"line": 77,
"column": 39
},
"end": {
"line": 77,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "timeSinceMine",
"start": 2867,
"end": 2880,
"loc": {
"start": {
"line": 77,
"column": 40
},
"end": {
"line": 77,
"column": 53
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 2881,
"end": 2882,
"loc": {
"start": {
"line": 77,
"column": 54
},
"end": {
"line": 77,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "mineDuration",
"start": 2883,
"end": 2895,
"loc": {
"start": {
"line": 77,
"column": 56
},
"end": {
"line": 77,
"column": 68
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2895,
"end": 2896,
"loc": {
"start": {
"line": 77,
"column": 68
},
"end": {
"line": 77,
"column": 69
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 2897,
"end": 2901,
"loc": {
"start": {
"line": 77,
"column": 70
},
"end": {
"line": 77,
"column": 74
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2901,
"end": 2902,
"loc": {
"start": {
"line": 77,
"column": 74
},
"end": {
"line": 77,
"column": 75
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 2902,
"end": 2906,
"loc": {
"start": {
"line": 77,
"column": 75
},
"end": {
"line": 77,
"column": 79
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2906,
"end": 2907,
"loc": {
"start": {
"line": 77,
"column": 79
},
"end": {
"line": 77,
"column": 80
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dynamicTickrate",
"start": 2907,
"end": 2922,
"loc": {
"start": {
"line": 77,
"column": 80
},
"end": {
"line": 77,
"column": 95
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2922,
"end": 2923,
"loc": {
"start": {
"line": 77,
"column": 95
},
"end": {
"line": 77,
"column": 96
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deltaSeconds",
"start": 2923,
"end": 2935,
"loc": {
"start": {
"line": 77,
"column": 96
},
"end": {
"line": 77,
"column": 108
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2935,
"end": 2936,
"loc": {
"start": {
"line": 77,
"column": 108
},
"end": {
"line": 77,
"column": 109
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2936,
"end": 2937,
"loc": {
"start": {
"line": 77,
"column": 109
},
"end": {
"line": 77,
"column": 110
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 2957,
"end": 2959,
"loc": {
"start": {
"line": 79,
"column": 16
},
"end": {
"line": 79,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2960,
"end": 2961,
"loc": {
"start": {
"line": 79,
"column": 19
},
"end": {
"line": 79,
"column": 20
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 2961,
"end": 2965,
"loc": {
"start": {
"line": 79,
"column": 20
},
"end": {
"line": 79,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2965,
"end": 2966,
"loc": {
"start": {
"line": 79,
"column": 24
},
"end": {
"line": 79,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tryPerformMinerEject",
"start": 2966,
"end": 2986,
"loc": {
"start": {
"line": 79,
"column": 25
},
"end": {
"line": 79,
"column": 45
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2986,
"end": 2987,
"loc": {
"start": {
"line": 79,
"column": 45
},
"end": {
"line": 79,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2987,
"end": 2993,
"loc": {
"start": {
"line": 79,
"column": 46
},
"end": {
"line": 79,
"column": 52
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2993,
"end": 2994,
"loc": {
"start": {
"line": 79,
"column": 52
},
"end": {
"line": 79,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "minerComp",
"start": 2995,
"end": 3004,
"loc": {
"start": {
"line": 79,
"column": 54
},
"end": {
"line": 79,
"column": 63
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3004,
"end": 3005,
"loc": {
"start": {
"line": 79,
"column": 63
},
"end": {
"line": 79,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cachedMinedItem",
"start": 3005,
"end": 3020,
"loc": {
"start": {
"line": 79,
"column": 64
},
"end": {
"line": 79,
"column": 79
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3020,
"end": 3021,
"loc": {
"start": {
"line": 79,
"column": 79
},
"end": {
"line": 79,
"column": 80
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3021,
"end": 3022,
"loc": {
"start": {
"line": 79,
"column": 80
},
"end": {
"line": 79,
"column": 81
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3023,
"end": 3024,
"loc": {
"start": {
"line": 79,
"column": 82
},
"end": {
"line": 79,
"column": 83
}
}
},
{
"type": "CommentLine",
"value": " Analytics hook",
"start": 3046,
"end": 3063,
"loc": {
"start": {
"line": 80,
"column": 20
},
"end": {
"line": 80,
"column": 37
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 3085,
"end": 3089,
"loc": {
"start": {
"line": 81,
"column": 20
},
"end": {
"line": 81,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3089,
"end": 3090,
"loc": {
"start": {
"line": 81,
"column": 24
},
"end": {
"line": 81,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 3090,
"end": 3094,
"loc": {
"start": {
"line": 81,
"column": 25
},
"end": {
"line": 81,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3094,
"end": 3095,
"loc": {
"start": {
"line": 81,
"column": 29
},
"end": {
"line": 81,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "signals",
"start": 3095,
"end": 3102,
"loc": {
"start": {
"line": 81,
"column": 30
},
"end": {
"line": 81,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3102,
"end": 3103,
"loc": {
"start": {
"line": 81,
"column": 37
},
"end": {
"line": 81,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "itemProduced",
"start": 3103,
"end": 3115,
"loc": {
"start": {
"line": 81,
"column": 38
},
"end": {
"line": 81,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3115,
"end": 3116,
"loc": {
"start": {
"line": 81,
"column": 50
},
"end": {
"line": 81,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dispatch",
"start": 3116,
"end": 3124,
"loc": {
"start": {
"line": 81,
"column": 51
},
"end": {
"line": 81,
"column": 59
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3124,
"end": 3125,
"loc": {
"start": {
"line": 81,
"column": 59
},
"end": {
"line": 81,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "minerComp",
"start": 3125,
"end": 3134,
"loc": {
"start": {
"line": 81,
"column": 60
},
"end": {
"line": 81,
"column": 69
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3134,
"end": 3135,
"loc": {
"start": {
"line": 81,
"column": 69
},
"end": {
"line": 81,
"column": 70
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cachedMinedItem",
"start": 3135,
"end": 3150,
"loc": {
"start": {
"line": 81,
"column": 70
},
"end": {
"line": 81,
"column": 85
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3150,
"end": 3151,
"loc": {
"start": {
"line": 81,
"column": 85
},
"end": {
"line": 81,
"column": 86
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3151,
"end": 3152,
"loc": {
"start": {
"line": 81,
"column": 86
},
"end": {
"line": 81,
"column": 87
}
}
},
{
"type": "CommentLine",
"value": " Store mining time",
"start": 3174,
"end": 3194,
"loc": {
"start": {
"line": 82,
"column": 20
},
"end": {
"line": 82,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "minerComp",
"start": 3216,
"end": 3225,
"loc": {
"start": {
"line": 83,
"column": 20
},
"end": {
"line": 83,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3225,
"end": 3226,
"loc": {
"start": {
"line": 83,
"column": 29
},
"end": {
"line": 83,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "lastMiningTime",
"start": 3226,
"end": 3240,
"loc": {
"start": {
"line": 83,
"column": 30
},
"end": {
"line": 83,
"column": 44
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3241,
"end": 3242,
"loc": {
"start": {
"line": 83,
"column": 45
},
"end": {
"line": 83,
"column": 46
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 3243,
"end": 3247,
"loc": {
"start": {
"line": 83,
"column": 47
},
"end": {
"line": 83,
"column": 51
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3247,
"end": 3248,
"loc": {
"start": {
"line": 83,
"column": 51
},
"end": {
"line": 83,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 3248,
"end": 3252,
"loc": {
"start": {
"line": 83,
"column": 52
},
"end": {
"line": 83,
"column": 56
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3252,
"end": 3253,
"loc": {
"start": {
"line": 83,
"column": 56
},
"end": {
"line": 83,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "time",
"start": 3253,
"end": 3257,
"loc": {
"start": {
"line": 83,
"column": 57
},
"end": {
"line": 83,
"column": 61
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3257,
"end": 3258,
"loc": {
"start": {
"line": 83,
"column": 61
},
"end": {
"line": 83,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "now",
"start": 3258,
"end": 3261,
"loc": {
"start": {
"line": 83,
"column": 62
},
"end": {
"line": 83,
"column": 65
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3261,
"end": 3262,
"loc": {
"start": {
"line": 83,
"column": 65
},
"end": {
"line": 83,
"column": 66
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3262,
"end": 3263,
"loc": {
"start": {
"line": 83,
"column": 66
},
"end": {
"line": 83,
"column": 67
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 3264,
"end": 3265,
"loc": {
"start": {
"line": 83,
"column": 68
},
"end": {
"line": 83,
"column": 69
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buffer",
"start": 3266,
"end": 3272,
"loc": {
"start": {
"line": 83,
"column": 70
},
"end": {
"line": 83,
"column": 76
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3272,
"end": 3273,
"loc": {
"start": {
"line": 83,
"column": 76
},
"end": {
"line": 83,
"column": 77
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3291,
"end": 3292,
"loc": {
"start": {
"line": 84,
"column": 16
},
"end": {
"line": 84,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3306,
"end": 3307,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3317,
"end": 3318,
"loc": {
"start": {
"line": 86,
"column": 8
},
"end": {
"line": 86,
"column": 9
}
}
},
{
"type": "CommentLine",
"value": " After this frame we are done",
"start": 3330,
"end": 3361,
"loc": {
"start": {
"line": 88,
"column": 8
},
"end": {
"line": 88,
"column": 39
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 3371,
"end": 3375,
"loc": {
"start": {
"line": 89,
"column": 8
},
"end": {
"line": 89,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3375,
"end": 3376,
"loc": {
"start": {
"line": 89,
"column": 12
},
"end": {
"line": 89,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "needsRecompute",
"start": 3376,
"end": 3390,
"loc": {
"start": {
"line": 89,
"column": 13
},
"end": {
"line": 89,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3391,
"end": 3392,
"loc": {
"start": {
"line": 89,
"column": 28
},
"end": {
"line": 89,
"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": 3393,
"end": 3398,
"loc": {
"start": {
"line": 89,
"column": 30
},
"end": {
"line": 89,
"column": 35
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3398,
"end": 3399,
"loc": {
"start": {
"line": 89,
"column": 35
},
"end": {
"line": 89,
"column": 36
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3405,
"end": 3406,
"loc": {
"start": {
"line": 90,
"column": 4
},
"end": {
"line": 90,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Finds the target chained miner for a given entity\r\n * @param {Entity} entity\r\n * @returns {Entity|false} The chained entity or null if not found\r\n ",
"start": 3414,
"end": 3587,
"loc": {
"start": {
"line": 92,
"column": 4
},
"end": {
"line": 96,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "findChainedMiner",
"start": 3593,
"end": 3609,
"loc": {
"start": {
"line": 97,
"column": 4
},
"end": {
"line": 97,
"column": 20
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3609,
"end": 3610,
"loc": {
"start": {
"line": 97,
"column": 20
},
"end": {
"line": 97,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 3610,
"end": 3616,
"loc": {
"start": {
"line": 97,
"column": 21
},
"end": {
"line": 97,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3616,
"end": 3617,
"loc": {
"start": {
"line": 97,
"column": 27
},
"end": {
"line": 97,
"column": 28
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3618,
"end": 3619,
"loc": {
"start": {
"line": 97,
"column": 29
},
"end": {
"line": 97,
"column": 30
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 3629,
"end": 3634,
"loc": {
"start": {
"line": 98,
"column": 8
},
"end": {
"line": 98,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ejectComp",
"start": 3635,
"end": 3644,
"loc": {
"start": {
"line": 98,
"column": 14
},
"end": {
"line": 98,
"column": 23
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3645,
"end": 3646,
"loc": {
"start": {
"line": 98,
"column": 24
},
"end": {
"line": 98,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 3647,
"end": 3653,
"loc": {
"start": {
"line": 98,
"column": 26
},
"end": {
"line": 98,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3653,
"end": 3654,
"loc": {
"start": {
"line": 98,
"column": 32
},
"end": {
"line": 98,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 3654,
"end": 3664,
"loc": {
"start": {
"line": 98,
"column": 33
},
"end": {
"line": 98,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3664,
"end": 3665,
"loc": {
"start": {
"line": 98,
"column": 43
},
"end": {
"line": 98,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ItemEjector",
"start": 3665,
"end": 3676,
"loc": {
"start": {
"line": 98,
"column": 44
},
"end": {
"line": 98,
"column": 55
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3676,
"end": 3677,
"loc": {
"start": {
"line": 98,
"column": 55
},
"end": {
"line": 98,
"column": 56
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 3687,
"end": 3692,
"loc": {
"start": {
"line": 99,
"column": 8
},
"end": {
"line": 99,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "staticComp",
"start": 3693,
"end": 3703,
"loc": {
"start": {
"line": 99,
"column": 14
},
"end": {
"line": 99,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3704,
"end": 3705,
"loc": {
"start": {
"line": 99,
"column": 25
},
"end": {
"line": 99,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 3706,
"end": 3712,
"loc": {
"start": {
"line": 99,
"column": 27
},
"end": {
"line": 99,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3712,
"end": 3713,
"loc": {
"start": {
"line": 99,
"column": 33
},
"end": {
"line": 99,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 3713,
"end": 3723,
"loc": {
"start": {
"line": 99,
"column": 34
},
"end": {
"line": 99,
"column": 44
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3723,
"end": 3724,
"loc": {
"start": {
"line": 99,
"column": 44
},
"end": {
"line": 99,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "StaticMapEntity",
"start": 3724,
"end": 3739,
"loc": {
"start": {
"line": 99,
"column": 45
},
"end": {
"line": 99,
"column": 60
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3739,
"end": 3740,
"loc": {
"start": {
"line": 99,
"column": 60
},
"end": {
"line": 99,
"column": 61
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 3750,
"end": 3755,
"loc": {
"start": {
"line": 100,
"column": 8
},
"end": {
"line": 100,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "contentsBelow",
"start": 3756,
"end": 3769,
"loc": {
"start": {
"line": 100,
"column": 14
},
"end": {
"line": 100,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3770,
"end": 3771,
"loc": {
"start": {
"line": 100,
"column": 28
},
"end": {
"line": 100,
"column": 29
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 3772,
"end": 3776,
"loc": {
"start": {
"line": 100,
"column": 30
},
"end": {
"line": 100,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3776,
"end": 3777,
"loc": {
"start": {
"line": 100,
"column": 34
},
"end": {
"line": 100,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 3777,
"end": 3781,
"loc": {
"start": {
"line": 100,
"column": 35
},
"end": {
"line": 100,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3781,
"end": 3782,
"loc": {
"start": {
"line": 100,
"column": 39
},
"end": {
"line": 100,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "map",
"start": 3782,
"end": 3785,
"loc": {
"start": {
"line": 100,
"column": 40
},
"end": {
"line": 100,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3785,
"end": 3786,
"loc": {
"start": {
"line": 100,
"column": 43
},
"end": {
"line": 100,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getLowerLayerContentXY",
"start": 3786,
"end": 3808,
"loc": {
"start": {
"line": 100,
"column": 44
},
"end": {
"line": 100,
"column": 66
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3808,
"end": 3809,
"loc": {
"start": {
"line": 100,
"column": 66
},
"end": {
"line": 100,
"column": 67
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "staticComp",
"start": 3809,
"end": 3819,
"loc": {
"start": {
"line": 100,
"column": 67
},
"end": {
"line": 100,
"column": 77
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3819,
"end": 3820,
"loc": {
"start": {
"line": 100,
"column": 77
},
"end": {
"line": 100,
"column": 78
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "origin",
"start": 3820,
"end": 3826,
"loc": {
"start": {
"line": 100,
"column": 78
},
"end": {
"line": 100,
"column": 84
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3826,
"end": 3827,
"loc": {
"start": {
"line": 100,
"column": 84
},
"end": {
"line": 100,
"column": 85
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 3827,
"end": 3828,
"loc": {
"start": {
"line": 100,
"column": 85
},
"end": {
"line": 100,
"column": 86
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3828,
"end": 3829,
"loc": {
"start": {
"line": 100,
"column": 86
},
"end": {
"line": 100,
"column": 87
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "staticComp",
"start": 3830,
"end": 3840,
"loc": {
"start": {
"line": 100,
"column": 88
},
"end": {
"line": 100,
"column": 98
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3840,
"end": 3841,
"loc": {
"start": {
"line": 100,
"column": 98
},
"end": {
"line": 100,
"column": 99
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "origin",
"start": 3841,
"end": 3847,
"loc": {
"start": {
"line": 100,
"column": 99
},
"end": {
"line": 100,
"column": 105
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3847,
"end": 3848,
"loc": {
"start": {
"line": 100,
"column": 105
},
"end": {
"line": 100,
"column": 106
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 3848,
"end": 3849,
"loc": {
"start": {
"line": 100,
"column": 106
},
"end": {
"line": 100,
"column": 107
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3849,
"end": 3850,
"loc": {
"start": {
"line": 100,
"column": 107
},
"end": {
"line": 100,
"column": 108
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3850,
"end": 3851,
"loc": {
"start": {
"line": 100,
"column": 108
},
"end": {
"line": 100,
"column": 109
}
}
},
{
"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": 3861,
"end": 3863,
"loc": {
"start": {
"line": 101,
"column": 8
},
"end": {
"line": 101,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3864,
"end": 3865,
"loc": {
"start": {
"line": 101,
"column": 11
},
"end": {
"line": 101,
"column": 12
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 3865,
"end": 3866,
"loc": {
"start": {
"line": 101,
"column": 12
},
"end": {
"line": 101,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "contentsBelow",
"start": 3866,
"end": 3879,
"loc": {
"start": {
"line": 101,
"column": 13
},
"end": {
"line": 101,
"column": 26
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3879,
"end": 3880,
"loc": {
"start": {
"line": 101,
"column": 26
},
"end": {
"line": 101,
"column": 27
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3881,
"end": 3882,
"loc": {
"start": {
"line": 101,
"column": 28
},
"end": {
"line": 101,
"column": 29
}
}
},
{
"type": "CommentLine",
"value": " This miner has no contents",
"start": 3896,
"end": 3925,
"loc": {
"start": {
"line": 102,
"column": 12
},
"end": {
"line": 102,
"column": 41
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 3939,
"end": 3945,
"loc": {
"start": {
"line": 103,
"column": 12
},
"end": {
"line": 103,
"column": 18
}
}
},
{
"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": 3946,
"end": 3950,
"loc": {
"start": {
"line": 103,
"column": 19
},
"end": {
"line": 103,
"column": 23
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3950,
"end": 3951,
"loc": {
"start": {
"line": 103,
"column": 23
},
"end": {
"line": 103,
"column": 24
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3961,
"end": 3962,
"loc": {
"start": {
"line": 104,
"column": 8
},
"end": {
"line": 104,
"column": 9
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 3974,
"end": 3979,
"loc": {
"start": {
"line": 106,
"column": 8
},
"end": {
"line": 106,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ejectingSlot",
"start": 3980,
"end": 3992,
"loc": {
"start": {
"line": 106,
"column": 14
},
"end": {
"line": 106,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3993,
"end": 3994,
"loc": {
"start": {
"line": 106,
"column": 27
},
"end": {
"line": 106,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ejectComp",
"start": 3995,
"end": 4004,
"loc": {
"start": {
"line": 106,
"column": 29
},
"end": {
"line": 106,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4004,
"end": 4005,
"loc": {
"start": {
"line": 106,
"column": 38
},
"end": {
"line": 106,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slots",
"start": 4005,
"end": 4010,
"loc": {
"start": {
"line": 106,
"column": 39
},
"end": {
"line": 106,
"column": 44
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4010,
"end": 4011,
"loc": {
"start": {
"line": 106,
"column": 44
},
"end": {
"line": 106,
"column": 45
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 4011,
"end": 4012,
"loc": {
"start": {
"line": 106,
"column": 45
},
"end": {
"line": 106,
"column": 46
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4012,
"end": 4013,
"loc": {
"start": {
"line": 106,
"column": 46
},
"end": {
"line": 106,
"column": 47
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4013,
"end": 4014,
"loc": {
"start": {
"line": 106,
"column": 47
},
"end": {
"line": 106,
"column": 48
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 4024,
"end": 4029,
"loc": {
"start": {
"line": 107,
"column": 8
},
"end": {
"line": 107,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ejectingPos",
"start": 4030,
"end": 4041,
"loc": {
"start": {
"line": 107,
"column": 14
},
"end": {
"line": 107,
"column": 25
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4042,
"end": 4043,
"loc": {
"start": {
"line": 107,
"column": 26
},
"end": {
"line": 107,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "staticComp",
"start": 4044,
"end": 4054,
"loc": {
"start": {
"line": 107,
"column": 28
},
"end": {
"line": 107,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4054,
"end": 4055,
"loc": {
"start": {
"line": 107,
"column": 38
},
"end": {
"line": 107,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "localTileToWorld",
"start": 4055,
"end": 4071,
"loc": {
"start": {
"line": 107,
"column": 39
},
"end": {
"line": 107,
"column": 55
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4071,
"end": 4072,
"loc": {
"start": {
"line": 107,
"column": 55
},
"end": {
"line": 107,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ejectingSlot",
"start": 4072,
"end": 4084,
"loc": {
"start": {
"line": 107,
"column": 56
},
"end": {
"line": 107,
"column": 68
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4084,
"end": 4085,
"loc": {
"start": {
"line": 107,
"column": 68
},
"end": {
"line": 107,
"column": 69
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pos",
"start": 4085,
"end": 4088,
"loc": {
"start": {
"line": 107,
"column": 69
},
"end": {
"line": 107,
"column": 72
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4088,
"end": 4089,
"loc": {
"start": {
"line": 107,
"column": 72
},
"end": {
"line": 107,
"column": 73
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4089,
"end": 4090,
"loc": {
"start": {
"line": 107,
"column": 73
},
"end": {
"line": 107,
"column": 74
}
}
},
{
"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": 4100,
"end": 4105,
"loc": {
"start": {
"line": 108,
"column": 8
},
"end": {
"line": 108,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ejectingDirection",
"start": 4106,
"end": 4123,
"loc": {
"start": {
"line": 108,
"column": 14
},
"end": {
"line": 108,
"column": 31
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4124,
"end": 4125,
"loc": {
"start": {
"line": 108,
"column": 32
},
"end": {
"line": 108,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "staticComp",
"start": 4126,
"end": 4136,
"loc": {
"start": {
"line": 108,
"column": 34
},
"end": {
"line": 108,
"column": 44
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4136,
"end": 4137,
"loc": {
"start": {
"line": 108,
"column": 44
},
"end": {
"line": 108,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "localDirectionToWorld",
"start": 4137,
"end": 4158,
"loc": {
"start": {
"line": 108,
"column": 45
},
"end": {
"line": 108,
"column": 66
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4158,
"end": 4159,
"loc": {
"start": {
"line": 108,
"column": 66
},
"end": {
"line": 108,
"column": 67
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ejectingSlot",
"start": 4159,
"end": 4171,
"loc": {
"start": {
"line": 108,
"column": 67
},
"end": {
"line": 108,
"column": 79
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4171,
"end": 4172,
"loc": {
"start": {
"line": 108,
"column": 79
},
"end": {
"line": 108,
"column": 80
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "direction",
"start": 4172,
"end": 4181,
"loc": {
"start": {
"line": 108,
"column": 80
},
"end": {
"line": 108,
"column": 89
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4181,
"end": 4182,
"loc": {
"start": {
"line": 108,
"column": 89
},
"end": {
"line": 108,
"column": 90
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4182,
"end": 4183,
"loc": {
"start": {
"line": 108,
"column": 90
},
"end": {
"line": 108,
"column": 91
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 4195,
"end": 4200,
"loc": {
"start": {
"line": 110,
"column": 8
},
"end": {
"line": 110,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "targetTile",
"start": 4201,
"end": 4211,
"loc": {
"start": {
"line": 110,
"column": 14
},
"end": {
"line": 110,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4212,
"end": 4213,
"loc": {
"start": {
"line": 110,
"column": 25
},
"end": {
"line": 110,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ejectingPos",
"start": 4214,
"end": 4225,
"loc": {
"start": {
"line": 110,
"column": 27
},
"end": {
"line": 110,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4225,
"end": 4226,
"loc": {
"start": {
"line": 110,
"column": 38
},
"end": {
"line": 110,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 4226,
"end": 4229,
"loc": {
"start": {
"line": 110,
"column": 39
},
"end": {
"line": 110,
"column": 42
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4229,
"end": 4230,
"loc": {
"start": {
"line": 110,
"column": 42
},
"end": {
"line": 110,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumDirectionToVector",
"start": 4230,
"end": 4251,
"loc": {
"start": {
"line": 110,
"column": 43
},
"end": {
"line": 110,
"column": 64
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4251,
"end": 4252,
"loc": {
"start": {
"line": 110,
"column": 64
},
"end": {
"line": 110,
"column": 65
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ejectingDirection",
"start": 4252,
"end": 4269,
"loc": {
"start": {
"line": 110,
"column": 65
},
"end": {
"line": 110,
"column": 82
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4269,
"end": 4270,
"loc": {
"start": {
"line": 110,
"column": 82
},
"end": {
"line": 110,
"column": 83
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4270,
"end": 4271,
"loc": {
"start": {
"line": 110,
"column": 83
},
"end": {
"line": 110,
"column": 84
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4271,
"end": 4272,
"loc": {
"start": {
"line": 110,
"column": 84
},
"end": {
"line": 110,
"column": 85
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 4282,
"end": 4287,
"loc": {
"start": {
"line": 111,
"column": 8
},
"end": {
"line": 111,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "targetContents",
"start": 4288,
"end": 4302,
"loc": {
"start": {
"line": 111,
"column": 14
},
"end": {
"line": 111,
"column": 28
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4303,
"end": 4304,
"loc": {
"start": {
"line": 111,
"column": 29
},
"end": {
"line": 111,
"column": 30
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 4305,
"end": 4309,
"loc": {
"start": {
"line": 111,
"column": 31
},
"end": {
"line": 111,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4309,
"end": 4310,
"loc": {
"start": {
"line": 111,
"column": 35
},
"end": {
"line": 111,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 4310,
"end": 4314,
"loc": {
"start": {
"line": 111,
"column": 36
},
"end": {
"line": 111,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4314,
"end": 4315,
"loc": {
"start": {
"line": 111,
"column": 40
},
"end": {
"line": 111,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "map",
"start": 4315,
"end": 4318,
"loc": {
"start": {
"line": 111,
"column": 41
},
"end": {
"line": 111,
"column": 44
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4318,
"end": 4319,
"loc": {
"start": {
"line": 111,
"column": 44
},
"end": {
"line": 111,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getTileContent",
"start": 4319,
"end": 4333,
"loc": {
"start": {
"line": 111,
"column": 45
},
"end": {
"line": 111,
"column": 59
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4333,
"end": 4334,
"loc": {
"start": {
"line": 111,
"column": 59
},
"end": {
"line": 111,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "targetTile",
"start": 4334,
"end": 4344,
"loc": {
"start": {
"line": 111,
"column": 60
},
"end": {
"line": 111,
"column": 70
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4344,
"end": 4345,
"loc": {
"start": {
"line": 111,
"column": 70
},
"end": {
"line": 111,
"column": 71
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "regular",
"start": 4346,
"end": 4355,
"loc": {
"start": {
"line": 111,
"column": 72
},
"end": {
"line": 111,
"column": 81
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4355,
"end": 4356,
"loc": {
"start": {
"line": 111,
"column": 81
},
"end": {
"line": 111,
"column": 82
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4356,
"end": 4357,
"loc": {
"start": {
"line": 111,
"column": 82
},
"end": {
"line": 111,
"column": 83
}
}
},
{
"type": "CommentLine",
"value": " Check if we are connected to another miner and thus do not eject directly",
"start": 4369,
"end": 4445,
"loc": {
"start": {
"line": 113,
"column": 8
},
"end": {
"line": 113,
"column": 84
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 4455,
"end": 4457,
"loc": {
"start": {
"line": 114,
"column": 8
},
"end": {
"line": 114,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4458,
"end": 4459,
"loc": {
"start": {
"line": 114,
"column": 11
},
"end": {
"line": 114,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "targetContents",
"start": 4459,
"end": 4473,
"loc": {
"start": {
"line": 114,
"column": 12
},
"end": {
"line": 114,
"column": 26
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4473,
"end": 4474,
"loc": {
"start": {
"line": 114,
"column": 26
},
"end": {
"line": 114,
"column": 27
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4475,
"end": 4476,
"loc": {
"start": {
"line": 114,
"column": 28
},
"end": {
"line": 114,
"column": 29
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 4490,
"end": 4495,
"loc": {
"start": {
"line": 115,
"column": 12
},
"end": {
"line": 115,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "targetMinerComp",
"start": 4496,
"end": 4511,
"loc": {
"start": {
"line": 115,
"column": 18
},
"end": {
"line": 115,
"column": 33
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4512,
"end": 4513,
"loc": {
"start": {
"line": 115,
"column": 34
},
"end": {
"line": 115,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "targetContents",
"start": 4514,
"end": 4528,
"loc": {
"start": {
"line": 115,
"column": 36
},
"end": {
"line": 115,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4528,
"end": 4529,
"loc": {
"start": {
"line": 115,
"column": 50
},
"end": {
"line": 115,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 4529,
"end": 4539,
"loc": {
"start": {
"line": 115,
"column": 51
},
"end": {
"line": 115,
"column": 61
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4539,
"end": 4540,
"loc": {
"start": {
"line": 115,
"column": 61
},
"end": {
"line": 115,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Miner",
"start": 4540,
"end": 4545,
"loc": {
"start": {
"line": 115,
"column": 62
},
"end": {
"line": 115,
"column": 67
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4545,
"end": 4546,
"loc": {
"start": {
"line": 115,
"column": 67
},
"end": {
"line": 115,
"column": 68
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 4560,
"end": 4562,
"loc": {
"start": {
"line": 116,
"column": 12
},
"end": {
"line": 116,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4563,
"end": 4564,
"loc": {
"start": {
"line": 116,
"column": 15
},
"end": {
"line": 116,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "targetMinerComp",
"start": 4564,
"end": 4579,
"loc": {
"start": {
"line": 116,
"column": 16
},
"end": {
"line": 116,
"column": 31
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 4580,
"end": 4582,
"loc": {
"start": {
"line": 116,
"column": 32
},
"end": {
"line": 116,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "targetMinerComp",
"start": 4583,
"end": 4598,
"loc": {
"start": {
"line": 116,
"column": 35
},
"end": {
"line": 116,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4598,
"end": 4599,
"loc": {
"start": {
"line": 116,
"column": 50
},
"end": {
"line": 116,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "chainable",
"start": 4599,
"end": 4608,
"loc": {
"start": {
"line": 116,
"column": 51
},
"end": {
"line": 116,
"column": 60
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4608,
"end": 4609,
"loc": {
"start": {
"line": 116,
"column": 60
},
"end": {
"line": 116,
"column": 61
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4610,
"end": 4611,
"loc": {
"start": {
"line": 116,
"column": 62
},
"end": {
"line": 116,
"column": 63
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 4629,
"end": 4634,
"loc": {
"start": {
"line": 117,
"column": 16
},
"end": {
"line": 117,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "targetLowerLayer",
"start": 4635,
"end": 4651,
"loc": {
"start": {
"line": 117,
"column": 22
},
"end": {
"line": 117,
"column": 38
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4652,
"end": 4653,
"loc": {
"start": {
"line": 117,
"column": 39
},
"end": {
"line": 117,
"column": 40
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 4654,
"end": 4658,
"loc": {
"start": {
"line": 117,
"column": 41
},
"end": {
"line": 117,
"column": 45
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4658,
"end": 4659,
"loc": {
"start": {
"line": 117,
"column": 45
},
"end": {
"line": 117,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 4659,
"end": 4663,
"loc": {
"start": {
"line": 117,
"column": 46
},
"end": {
"line": 117,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4663,
"end": 4664,
"loc": {
"start": {
"line": 117,
"column": 50
},
"end": {
"line": 117,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "map",
"start": 4664,
"end": 4667,
"loc": {
"start": {
"line": 117,
"column": 51
},
"end": {
"line": 117,
"column": 54
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4667,
"end": 4668,
"loc": {
"start": {
"line": 117,
"column": 54
},
"end": {
"line": 117,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getLowerLayerContentXY",
"start": 4668,
"end": 4690,
"loc": {
"start": {
"line": 117,
"column": 55
},
"end": {
"line": 117,
"column": 77
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4690,
"end": 4691,
"loc": {
"start": {
"line": 117,
"column": 77
},
"end": {
"line": 117,
"column": 78
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "targetTile",
"start": 4691,
"end": 4701,
"loc": {
"start": {
"line": 117,
"column": 78
},
"end": {
"line": 117,
"column": 88
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4701,
"end": 4702,
"loc": {
"start": {
"line": 117,
"column": 88
},
"end": {
"line": 117,
"column": 89
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 4702,
"end": 4703,
"loc": {
"start": {
"line": 117,
"column": 89
},
"end": {
"line": 117,
"column": 90
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4703,
"end": 4704,
"loc": {
"start": {
"line": 117,
"column": 90
},
"end": {
"line": 117,
"column": 91
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "targetTile",
"start": 4705,
"end": 4715,
"loc": {
"start": {
"line": 117,
"column": 92
},
"end": {
"line": 117,
"column": 102
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4715,
"end": 4716,
"loc": {
"start": {
"line": 117,
"column": 102
},
"end": {
"line": 117,
"column": 103
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 4716,
"end": 4717,
"loc": {
"start": {
"line": 117,
"column": 103
},
"end": {
"line": 117,
"column": 104
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4717,
"end": 4718,
"loc": {
"start": {
"line": 117,
"column": 104
},
"end": {
"line": 117,
"column": 105
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4718,
"end": 4719,
"loc": {
"start": {
"line": 117,
"column": 105
},
"end": {
"line": 117,
"column": 106
}
}
},
{
"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": 4737,
"end": 4739,
"loc": {
"start": {
"line": 118,
"column": 16
},
"end": {
"line": 118,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4740,
"end": 4741,
"loc": {
"start": {
"line": 118,
"column": 19
},
"end": {
"line": 118,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "targetLowerLayer",
"start": 4741,
"end": 4757,
"loc": {
"start": {
"line": 118,
"column": 20
},
"end": {
"line": 118,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4757,
"end": 4758,
"loc": {
"start": {
"line": 118,
"column": 36
},
"end": {
"line": 118,
"column": 37
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4759,
"end": 4760,
"loc": {
"start": {
"line": 118,
"column": 38
},
"end": {
"line": 118,
"column": 39
}
}
},
{
"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": 4782,
"end": 4788,
"loc": {
"start": {
"line": 119,
"column": 20
},
"end": {
"line": 119,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "targetContents",
"start": 4789,
"end": 4803,
"loc": {
"start": {
"line": 119,
"column": 27
},
"end": {
"line": 119,
"column": 41
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4803,
"end": 4804,
"loc": {
"start": {
"line": 119,
"column": 41
},
"end": {
"line": 119,
"column": 42
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4822,
"end": 4823,
"loc": {
"start": {
"line": 120,
"column": 16
},
"end": {
"line": 120,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4837,
"end": 4838,
"loc": {
"start": {
"line": 121,
"column": 12
},
"end": {
"line": 121,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4848,
"end": 4849,
"loc": {
"start": {
"line": 122,
"column": 8
},
"end": {
"line": 122,
"column": 9
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 4861,
"end": 4867,
"loc": {
"start": {
"line": 124,
"column": 8
},
"end": {
"line": 124,
"column": 14
}
}
},
{
"type": {
"label": "false",
"keyword": "false",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "false",
"start": 4868,
"end": 4873,
"loc": {
"start": {
"line": 124,
"column": 15
},
"end": {
"line": 124,
"column": 20
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4873,
"end": 4874,
"loc": {
"start": {
"line": 124,
"column": 20
},
"end": {
"line": 124,
"column": 21
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4880,
"end": 4881,
"loc": {
"start": {
"line": 125,
"column": 4
},
"end": {
"line": 125,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {Entity} entity\r\n * @param {BaseItem} item\r\n ",
"start": 4889,
"end": 4971,
"loc": {
"start": {
"line": 127,
"column": 4
},
"end": {
"line": 131,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tryPerformMinerEject",
"start": 4977,
"end": 4997,
"loc": {
"start": {
"line": 132,
"column": 4
},
"end": {
"line": 132,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4997,
"end": 4998,
"loc": {
"start": {
"line": 132,
"column": 24
},
"end": {
"line": 132,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 4998,
"end": 5004,
"loc": {
"start": {
"line": 132,
"column": 25
},
"end": {
"line": 132,
"column": 31
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5004,
"end": 5005,
"loc": {
"start": {
"line": 132,
"column": 31
},
"end": {
"line": 132,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "item",
"start": 5006,
"end": 5010,
"loc": {
"start": {
"line": 132,
"column": 33
},
"end": {
"line": 132,
"column": 37
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5010,
"end": 5011,
"loc": {
"start": {
"line": 132,
"column": 37
},
"end": {
"line": 132,
"column": 38
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5012,
"end": 5013,
"loc": {
"start": {
"line": 132,
"column": 39
},
"end": {
"line": 132,
"column": 40
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 5023,
"end": 5028,
"loc": {
"start": {
"line": 133,
"column": 8
},
"end": {
"line": 133,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "minerComp",
"start": 5029,
"end": 5038,
"loc": {
"start": {
"line": 133,
"column": 14
},
"end": {
"line": 133,
"column": 23
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5039,
"end": 5040,
"loc": {
"start": {
"line": 133,
"column": 24
},
"end": {
"line": 133,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 5041,
"end": 5047,
"loc": {
"start": {
"line": 133,
"column": 26
},
"end": {
"line": 133,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5047,
"end": 5048,
"loc": {
"start": {
"line": 133,
"column": 32
},
"end": {
"line": 133,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 5048,
"end": 5058,
"loc": {
"start": {
"line": 133,
"column": 33
},
"end": {
"line": 133,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5058,
"end": 5059,
"loc": {
"start": {
"line": 133,
"column": 43
},
"end": {
"line": 133,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Miner",
"start": 5059,
"end": 5064,
"loc": {
"start": {
"line": 133,
"column": 44
},
"end": {
"line": 133,
"column": 49
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5064,
"end": 5065,
"loc": {
"start": {
"line": 133,
"column": 49
},
"end": {
"line": 133,
"column": 50
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 5075,
"end": 5080,
"loc": {
"start": {
"line": 134,
"column": 8
},
"end": {
"line": 134,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ejectComp",
"start": 5081,
"end": 5090,
"loc": {
"start": {
"line": 134,
"column": 14
},
"end": {
"line": 134,
"column": 23
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5091,
"end": 5092,
"loc": {
"start": {
"line": 134,
"column": 24
},
"end": {
"line": 134,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 5093,
"end": 5099,
"loc": {
"start": {
"line": 134,
"column": 26
},
"end": {
"line": 134,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5099,
"end": 5100,
"loc": {
"start": {
"line": 134,
"column": 32
},
"end": {
"line": 134,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 5100,
"end": 5110,
"loc": {
"start": {
"line": 134,
"column": 33
},
"end": {
"line": 134,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5110,
"end": 5111,
"loc": {
"start": {
"line": 134,
"column": 43
},
"end": {
"line": 134,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ItemEjector",
"start": 5111,
"end": 5122,
"loc": {
"start": {
"line": 134,
"column": 44
},
"end": {
"line": 134,
"column": 55
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5122,
"end": 5123,
"loc": {
"start": {
"line": 134,
"column": 55
},
"end": {
"line": 134,
"column": 56
}
}
},
{
"type": "CommentLine",
"value": " Check if we are a chained miner",
"start": 5135,
"end": 5169,
"loc": {
"start": {
"line": 136,
"column": 8
},
"end": {
"line": 136,
"column": 42
}
}
},
{
"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": 5179,
"end": 5181,
"loc": {
"start": {
"line": 137,
"column": 8
},
"end": {
"line": 137,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5182,
"end": 5183,
"loc": {
"start": {
"line": 137,
"column": 11
},
"end": {
"line": 137,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "minerComp",
"start": 5183,
"end": 5192,
"loc": {
"start": {
"line": 137,
"column": 12
},
"end": {
"line": 137,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5192,
"end": 5193,
"loc": {
"start": {
"line": 137,
"column": 21
},
"end": {
"line": 137,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "chainable",
"start": 5193,
"end": 5202,
"loc": {
"start": {
"line": 137,
"column": 22
},
"end": {
"line": 137,
"column": 31
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5202,
"end": 5203,
"loc": {
"start": {
"line": 137,
"column": 31
},
"end": {
"line": 137,
"column": 32
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5204,
"end": 5205,
"loc": {
"start": {
"line": 137,
"column": 33
},
"end": {
"line": 137,
"column": 34
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 5219,
"end": 5224,
"loc": {
"start": {
"line": 138,
"column": 12
},
"end": {
"line": 138,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "targetEntity",
"start": 5225,
"end": 5237,
"loc": {
"start": {
"line": 138,
"column": 18
},
"end": {
"line": 138,
"column": 30
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5238,
"end": 5239,
"loc": {
"start": {
"line": 138,
"column": 31
},
"end": {
"line": 138,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "minerComp",
"start": 5240,
"end": 5249,
"loc": {
"start": {
"line": 138,
"column": 33
},
"end": {
"line": 138,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5249,
"end": 5250,
"loc": {
"start": {
"line": 138,
"column": 42
},
"end": {
"line": 138,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cachedChainedMiner",
"start": 5250,
"end": 5268,
"loc": {
"start": {
"line": 138,
"column": 43
},
"end": {
"line": 138,
"column": 61
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5268,
"end": 5269,
"loc": {
"start": {
"line": 138,
"column": 61
},
"end": {
"line": 138,
"column": 62
}
}
},
{
"type": "CommentLine",
"value": " Check if the cache has to get recomputed",
"start": 5285,
"end": 5328,
"loc": {
"start": {
"line": 140,
"column": 12
},
"end": {
"line": 140,
"column": 55
}
}
},
{
"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": 5342,
"end": 5344,
"loc": {
"start": {
"line": 141,
"column": 12
},
"end": {
"line": 141,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5345,
"end": 5346,
"loc": {
"start": {
"line": 141,
"column": 15
},
"end": {
"line": 141,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "targetEntity",
"start": 5346,
"end": 5358,
"loc": {
"start": {
"line": 141,
"column": 16
},
"end": {
"line": 141,
"column": 28
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 5359,
"end": 5362,
"loc": {
"start": {
"line": 141,
"column": 29
},
"end": {
"line": 141,
"column": 32
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 5363,
"end": 5367,
"loc": {
"start": {
"line": 141,
"column": 33
},
"end": {
"line": 141,
"column": 37
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5367,
"end": 5368,
"loc": {
"start": {
"line": 141,
"column": 37
},
"end": {
"line": 141,
"column": 38
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5369,
"end": 5370,
"loc": {
"start": {
"line": 141,
"column": 39
},
"end": {
"line": 141,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "minerComp",
"start": 5388,
"end": 5397,
"loc": {
"start": {
"line": 142,
"column": 16
},
"end": {
"line": 142,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5397,
"end": 5398,
"loc": {
"start": {
"line": 142,
"column": 25
},
"end": {
"line": 142,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cachedChainedMiner",
"start": 5398,
"end": 5416,
"loc": {
"start": {
"line": 142,
"column": 26
},
"end": {
"line": 142,
"column": 44
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5417,
"end": 5418,
"loc": {
"start": {
"line": 142,
"column": 45
},
"end": {
"line": 142,
"column": 46
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 5419,
"end": 5423,
"loc": {
"start": {
"line": 142,
"column": 47
},
"end": {
"line": 142,
"column": 51
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5423,
"end": 5424,
"loc": {
"start": {
"line": 142,
"column": 51
},
"end": {
"line": 142,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "findChainedMiner",
"start": 5424,
"end": 5440,
"loc": {
"start": {
"line": 142,
"column": 52
},
"end": {
"line": 142,
"column": 68
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5440,
"end": 5441,
"loc": {
"start": {
"line": 142,
"column": 68
},
"end": {
"line": 142,
"column": 69
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 5441,
"end": 5447,
"loc": {
"start": {
"line": 142,
"column": 69
},
"end": {
"line": 142,
"column": 75
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5447,
"end": 5448,
"loc": {
"start": {
"line": 142,
"column": 75
},
"end": {
"line": 142,
"column": 76
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5448,
"end": 5449,
"loc": {
"start": {
"line": 142,
"column": 76
},
"end": {
"line": 142,
"column": 77
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5463,
"end": 5464,
"loc": {
"start": {
"line": 143,
"column": 12
},
"end": {
"line": 143,
"column": 13
}
}
},
{
"type": "CommentLine",
"value": " Check if we now have a target",
"start": 5480,
"end": 5512,
"loc": {
"start": {
"line": 145,
"column": 12
},
"end": {
"line": 145,
"column": 44
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 5526,
"end": 5528,
"loc": {
"start": {
"line": 146,
"column": 12
},
"end": {
"line": 146,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5529,
"end": 5530,
"loc": {
"start": {
"line": 146,
"column": 15
},
"end": {
"line": 146,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "targetEntity",
"start": 5530,
"end": 5542,
"loc": {
"start": {
"line": 146,
"column": 16
},
"end": {
"line": 146,
"column": 28
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5542,
"end": 5543,
"loc": {
"start": {
"line": 146,
"column": 28
},
"end": {
"line": 146,
"column": 29
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5544,
"end": 5545,
"loc": {
"start": {
"line": 146,
"column": 30
},
"end": {
"line": 146,
"column": 31
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 5563,
"end": 5568,
"loc": {
"start": {
"line": 147,
"column": 16
},
"end": {
"line": 147,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "targetMinerComp",
"start": 5569,
"end": 5584,
"loc": {
"start": {
"line": 147,
"column": 22
},
"end": {
"line": 147,
"column": 37
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5585,
"end": 5586,
"loc": {
"start": {
"line": 147,
"column": 38
},
"end": {
"line": 147,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "targetEntity",
"start": 5587,
"end": 5599,
"loc": {
"start": {
"line": 147,
"column": 40
},
"end": {
"line": 147,
"column": 52
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5599,
"end": 5600,
"loc": {
"start": {
"line": 147,
"column": 52
},
"end": {
"line": 147,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 5600,
"end": 5610,
"loc": {
"start": {
"line": 147,
"column": 53
},
"end": {
"line": 147,
"column": 63
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5610,
"end": 5611,
"loc": {
"start": {
"line": 147,
"column": 63
},
"end": {
"line": 147,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Miner",
"start": 5611,
"end": 5616,
"loc": {
"start": {
"line": 147,
"column": 64
},
"end": {
"line": 147,
"column": 69
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5616,
"end": 5617,
"loc": {
"start": {
"line": 147,
"column": 69
},
"end": {
"line": 147,
"column": 70
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 5635,
"end": 5637,
"loc": {
"start": {
"line": 148,
"column": 16
},
"end": {
"line": 148,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5638,
"end": 5639,
"loc": {
"start": {
"line": 148,
"column": 19
},
"end": {
"line": 148,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "targetMinerComp",
"start": 5639,
"end": 5654,
"loc": {
"start": {
"line": 148,
"column": 20
},
"end": {
"line": 148,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5654,
"end": 5655,
"loc": {
"start": {
"line": 148,
"column": 35
},
"end": {
"line": 148,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tryAcceptChainedItem",
"start": 5655,
"end": 5675,
"loc": {
"start": {
"line": 148,
"column": 36
},
"end": {
"line": 148,
"column": 56
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5675,
"end": 5676,
"loc": {
"start": {
"line": 148,
"column": 56
},
"end": {
"line": 148,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "item",
"start": 5676,
"end": 5680,
"loc": {
"start": {
"line": 148,
"column": 57
},
"end": {
"line": 148,
"column": 61
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5680,
"end": 5681,
"loc": {
"start": {
"line": 148,
"column": 61
},
"end": {
"line": 148,
"column": 62
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5681,
"end": 5682,
"loc": {
"start": {
"line": 148,
"column": 62
},
"end": {
"line": 148,
"column": 63
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5683,
"end": 5684,
"loc": {
"start": {
"line": 148,
"column": 64
},
"end": {
"line": 148,
"column": 65
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 5706,
"end": 5712,
"loc": {
"start": {
"line": 149,
"column": 20
},
"end": {
"line": 149,
"column": 26
}
}
},
{
"type": {
"label": "true",
"keyword": "true",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "true",
"start": 5713,
"end": 5717,
"loc": {
"start": {
"line": 149,
"column": 27
},
"end": {
"line": 149,
"column": 31
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5717,
"end": 5718,
"loc": {
"start": {
"line": 149,
"column": 31
},
"end": {
"line": 149,
"column": 32
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5736,
"end": 5737,
"loc": {
"start": {
"line": 150,
"column": 16
},
"end": {
"line": 150,
"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": 5738,
"end": 5742,
"loc": {
"start": {
"line": 150,
"column": 18
},
"end": {
"line": 150,
"column": 22
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5743,
"end": 5744,
"loc": {
"start": {
"line": 150,
"column": 23
},
"end": {
"line": 150,
"column": 24
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 5766,
"end": 5772,
"loc": {
"start": {
"line": 151,
"column": 20
},
"end": {
"line": 151,
"column": 26
}
}
},
{
"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": 5773,
"end": 5778,
"loc": {
"start": {
"line": 151,
"column": 27
},
"end": {
"line": 151,
"column": 32
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5778,
"end": 5779,
"loc": {
"start": {
"line": 151,
"column": 32
},
"end": {
"line": 151,
"column": 33
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5797,
"end": 5798,
"loc": {
"start": {
"line": 152,
"column": 16
},
"end": {
"line": 152,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5812,
"end": 5813,
"loc": {
"start": {
"line": 153,
"column": 12
},
"end": {
"line": 153,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5823,
"end": 5824,
"loc": {
"start": {
"line": 154,
"column": 8
},
"end": {
"line": 154,
"column": 9
}
}
},
{
"type": "CommentLine",
"value": " Seems we are a regular miner or at the end of a row, try actually ejecting",
"start": 5836,
"end": 5913,
"loc": {
"start": {
"line": 156,
"column": 8
},
"end": {
"line": 156,
"column": 85
}
}
},
{
"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": 5923,
"end": 5925,
"loc": {
"start": {
"line": 157,
"column": 8
},
"end": {
"line": 157,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5926,
"end": 5927,
"loc": {
"start": {
"line": 157,
"column": 11
},
"end": {
"line": 157,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ejectComp",
"start": 5927,
"end": 5936,
"loc": {
"start": {
"line": 157,
"column": 12
},
"end": {
"line": 157,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5936,
"end": 5937,
"loc": {
"start": {
"line": 157,
"column": 21
},
"end": {
"line": 157,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tryEject",
"start": 5937,
"end": 5945,
"loc": {
"start": {
"line": 157,
"column": 22
},
"end": {
"line": 157,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5945,
"end": 5946,
"loc": {
"start": {
"line": 157,
"column": 30
},
"end": {
"line": 157,
"column": 31
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 5946,
"end": 5947,
"loc": {
"start": {
"line": 157,
"column": 31
},
"end": {
"line": 157,
"column": 32
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5947,
"end": 5948,
"loc": {
"start": {
"line": 157,
"column": 32
},
"end": {
"line": 157,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "item",
"start": 5949,
"end": 5953,
"loc": {
"start": {
"line": 157,
"column": 34
},
"end": {
"line": 157,
"column": 38
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5953,
"end": 5954,
"loc": {
"start": {
"line": 157,
"column": 38
},
"end": {
"line": 157,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5954,
"end": 5955,
"loc": {
"start": {
"line": 157,
"column": 39
},
"end": {
"line": 157,
"column": 40
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5956,
"end": 5957,
"loc": {
"start": {
"line": 157,
"column": 41
},
"end": {
"line": 157,
"column": 42
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 5971,
"end": 5977,
"loc": {
"start": {
"line": 158,
"column": 12
},
"end": {
"line": 158,
"column": 18
}
}
},
{
"type": {
"label": "true",
"keyword": "true",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "true",
"start": 5978,
"end": 5982,
"loc": {
"start": {
"line": 158,
"column": 19
},
"end": {
"line": 158,
"column": 23
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5982,
"end": 5983,
"loc": {
"start": {
"line": 158,
"column": 23
},
"end": {
"line": 158,
"column": 24
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5993,
"end": 5994,
"loc": {
"start": {
"line": 159,
"column": 8
},
"end": {
"line": 159,
"column": 9
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 6006,
"end": 6012,
"loc": {
"start": {
"line": 161,
"column": 8
},
"end": {
"line": 161,
"column": 14
}
}
},
{
"type": {
"label": "false",
"keyword": "false",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "false",
"start": 6013,
"end": 6018,
"loc": {
"start": {
"line": 161,
"column": 15
},
"end": {
"line": 161,
"column": 20
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6018,
"end": 6019,
"loc": {
"start": {
"line": 161,
"column": 20
},
"end": {
"line": 161,
"column": 21
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6025,
"end": 6026,
"loc": {
"start": {
"line": 162,
"column": 4
},
"end": {
"line": 162,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {DrawParameters} parameters\r\n * @param {MapChunkView} chunk\r\n ",
"start": 6034,
"end": 6133,
"loc": {
"start": {
"line": 164,
"column": 4
},
"end": {
"line": 168,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "drawChunk_ForegroundDynamicLayer",
"start": 6139,
"end": 6171,
"loc": {
"start": {
"line": 169,
"column": 4
},
"end": {
"line": 169,
"column": 36
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6171,
"end": 6172,
"loc": {
"start": {
"line": 169,
"column": 36
},
"end": {
"line": 169,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 6172,
"end": 6182,
"loc": {
"start": {
"line": 169,
"column": 37
},
"end": {
"line": 169,
"column": 47
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6182,
"end": 6183,
"loc": {
"start": {
"line": 169,
"column": 47
},
"end": {
"line": 169,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "chunk",
"start": 6184,
"end": 6189,
"loc": {
"start": {
"line": 169,
"column": 49
},
"end": {
"line": 169,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6189,
"end": 6190,
"loc": {
"start": {
"line": 169,
"column": 54
},
"end": {
"line": 169,
"column": 55
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6191,
"end": 6192,
"loc": {
"start": {
"line": 169,
"column": 56
},
"end": {
"line": 169,
"column": 57
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 6202,
"end": 6207,
"loc": {
"start": {
"line": 170,
"column": 8
},
"end": {
"line": 170,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "contents",
"start": 6208,
"end": 6216,
"loc": {
"start": {
"line": 170,
"column": 14
},
"end": {
"line": 170,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6217,
"end": 6218,
"loc": {
"start": {
"line": 170,
"column": 23
},
"end": {
"line": 170,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "chunk",
"start": 6219,
"end": 6224,
"loc": {
"start": {
"line": 170,
"column": 25
},
"end": {
"line": 170,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6224,
"end": 6225,
"loc": {
"start": {
"line": 170,
"column": 30
},
"end": {
"line": 170,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "containedEntitiesByLayer",
"start": 6225,
"end": 6249,
"loc": {
"start": {
"line": 170,
"column": 31
},
"end": {
"line": 170,
"column": 55
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6249,
"end": 6250,
"loc": {
"start": {
"line": 170,
"column": 55
},
"end": {
"line": 170,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "regular",
"start": 6250,
"end": 6257,
"loc": {
"start": {
"line": 170,
"column": 56
},
"end": {
"line": 170,
"column": 63
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6257,
"end": 6258,
"loc": {
"start": {
"line": 170,
"column": 63
},
"end": {
"line": 170,
"column": 64
}
}
},
{
"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": 6270,
"end": 6273,
"loc": {
"start": {
"line": 172,
"column": 8
},
"end": {
"line": 172,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6274,
"end": 6275,
"loc": {
"start": {
"line": 172,
"column": 12
},
"end": {
"line": 172,
"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": 6275,
"end": 6278,
"loc": {
"start": {
"line": 172,
"column": 13
},
"end": {
"line": 172,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 6279,
"end": 6280,
"loc": {
"start": {
"line": 172,
"column": 17
},
"end": {
"line": 172,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6281,
"end": 6282,
"loc": {
"start": {
"line": 172,
"column": 19
},
"end": {
"line": 172,
"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": 6283,
"end": 6284,
"loc": {
"start": {
"line": 172,
"column": 21
},
"end": {
"line": 172,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6284,
"end": 6285,
"loc": {
"start": {
"line": 172,
"column": 22
},
"end": {
"line": 172,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 6286,
"end": 6287,
"loc": {
"start": {
"line": 172,
"column": 24
},
"end": {
"line": 172,
"column": 25
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 6288,
"end": 6289,
"loc": {
"start": {
"line": 172,
"column": 26
},
"end": {
"line": 172,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "contents",
"start": 6290,
"end": 6298,
"loc": {
"start": {
"line": 172,
"column": 28
},
"end": {
"line": 172,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6298,
"end": 6299,
"loc": {
"start": {
"line": 172,
"column": 36
},
"end": {
"line": 172,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 6299,
"end": 6305,
"loc": {
"start": {
"line": 172,
"column": 37
},
"end": {
"line": 172,
"column": 43
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6305,
"end": 6306,
"loc": {
"start": {
"line": 172,
"column": 43
},
"end": {
"line": 172,
"column": 44
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 6307,
"end": 6309,
"loc": {
"start": {
"line": 172,
"column": 45
},
"end": {
"line": 172,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 6309,
"end": 6310,
"loc": {
"start": {
"line": 172,
"column": 47
},
"end": {
"line": 172,
"column": 48
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6310,
"end": 6311,
"loc": {
"start": {
"line": 172,
"column": 48
},
"end": {
"line": 172,
"column": 49
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6312,
"end": 6313,
"loc": {
"start": {
"line": 172,
"column": 50
},
"end": {
"line": 172,
"column": 51
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 6327,
"end": 6332,
"loc": {
"start": {
"line": 173,
"column": 12
},
"end": {
"line": 173,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 6333,
"end": 6339,
"loc": {
"start": {
"line": 173,
"column": 18
},
"end": {
"line": 173,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6340,
"end": 6341,
"loc": {
"start": {
"line": 173,
"column": 25
},
"end": {
"line": 173,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "contents",
"start": 6342,
"end": 6350,
"loc": {
"start": {
"line": 173,
"column": 27
},
"end": {
"line": 173,
"column": 35
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6350,
"end": 6351,
"loc": {
"start": {
"line": 173,
"column": 35
},
"end": {
"line": 173,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 6351,
"end": 6352,
"loc": {
"start": {
"line": 173,
"column": 36
},
"end": {
"line": 173,
"column": 37
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6352,
"end": 6353,
"loc": {
"start": {
"line": 173,
"column": 37
},
"end": {
"line": 173,
"column": 38
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6353,
"end": 6354,
"loc": {
"start": {
"line": 173,
"column": 38
},
"end": {
"line": 173,
"column": 39
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 6368,
"end": 6373,
"loc": {
"start": {
"line": 174,
"column": 12
},
"end": {
"line": 174,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "minerComp",
"start": 6374,
"end": 6383,
"loc": {
"start": {
"line": 174,
"column": 18
},
"end": {
"line": 174,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6384,
"end": 6385,
"loc": {
"start": {
"line": 174,
"column": 28
},
"end": {
"line": 174,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 6386,
"end": 6392,
"loc": {
"start": {
"line": 174,
"column": 30
},
"end": {
"line": 174,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6392,
"end": 6393,
"loc": {
"start": {
"line": 174,
"column": 36
},
"end": {
"line": 174,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 6393,
"end": 6403,
"loc": {
"start": {
"line": 174,
"column": 37
},
"end": {
"line": 174,
"column": 47
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6403,
"end": 6404,
"loc": {
"start": {
"line": 174,
"column": 47
},
"end": {
"line": 174,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Miner",
"start": 6404,
"end": 6409,
"loc": {
"start": {
"line": 174,
"column": 48
},
"end": {
"line": 174,
"column": 53
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6409,
"end": 6410,
"loc": {
"start": {
"line": 174,
"column": 53
},
"end": {
"line": 174,
"column": 54
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 6424,
"end": 6426,
"loc": {
"start": {
"line": 175,
"column": 12
},
"end": {
"line": 175,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6427,
"end": 6428,
"loc": {
"start": {
"line": 175,
"column": 15
},
"end": {
"line": 175,
"column": 16
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 6428,
"end": 6429,
"loc": {
"start": {
"line": 175,
"column": 16
},
"end": {
"line": 175,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "minerComp",
"start": 6429,
"end": 6438,
"loc": {
"start": {
"line": 175,
"column": 17
},
"end": {
"line": 175,
"column": 26
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6438,
"end": 6439,
"loc": {
"start": {
"line": 175,
"column": 26
},
"end": {
"line": 175,
"column": 27
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6440,
"end": 6441,
"loc": {
"start": {
"line": 175,
"column": 28
},
"end": {
"line": 175,
"column": 29
}
}
},
{
"type": {
"label": "continue",
"keyword": "continue",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "continue",
"start": 6459,
"end": 6467,
"loc": {
"start": {
"line": 176,
"column": 16
},
"end": {
"line": 176,
"column": 24
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6467,
"end": 6468,
"loc": {
"start": {
"line": 176,
"column": 24
},
"end": {
"line": 176,
"column": 25
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6482,
"end": 6483,
"loc": {
"start": {
"line": 177,
"column": 12
},
"end": {
"line": 177,
"column": 13
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 6499,
"end": 6504,
"loc": {
"start": {
"line": 179,
"column": 12
},
"end": {
"line": 179,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "staticComp",
"start": 6505,
"end": 6515,
"loc": {
"start": {
"line": 179,
"column": 18
},
"end": {
"line": 179,
"column": 28
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6516,
"end": 6517,
"loc": {
"start": {
"line": 179,
"column": 29
},
"end": {
"line": 179,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 6518,
"end": 6524,
"loc": {
"start": {
"line": 179,
"column": 31
},
"end": {
"line": 179,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6524,
"end": 6525,
"loc": {
"start": {
"line": 179,
"column": 37
},
"end": {
"line": 179,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 6525,
"end": 6535,
"loc": {
"start": {
"line": 179,
"column": 38
},
"end": {
"line": 179,
"column": 48
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6535,
"end": 6536,
"loc": {
"start": {
"line": 179,
"column": 48
},
"end": {
"line": 179,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "StaticMapEntity",
"start": 6536,
"end": 6551,
"loc": {
"start": {
"line": 179,
"column": 49
},
"end": {
"line": 179,
"column": 64
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6551,
"end": 6552,
"loc": {
"start": {
"line": 179,
"column": 64
},
"end": {
"line": 179,
"column": 65
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 6566,
"end": 6568,
"loc": {
"start": {
"line": 180,
"column": 12
},
"end": {
"line": 180,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6569,
"end": 6570,
"loc": {
"start": {
"line": 180,
"column": 15
},
"end": {
"line": 180,
"column": 16
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 6570,
"end": 6571,
"loc": {
"start": {
"line": 180,
"column": 16
},
"end": {
"line": 180,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "minerComp",
"start": 6571,
"end": 6580,
"loc": {
"start": {
"line": 180,
"column": 17
},
"end": {
"line": 180,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6580,
"end": 6581,
"loc": {
"start": {
"line": 180,
"column": 26
},
"end": {
"line": 180,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cachedMinedItem",
"start": 6581,
"end": 6596,
"loc": {
"start": {
"line": 180,
"column": 27
},
"end": {
"line": 180,
"column": 42
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 6597,
"end": 6599,
"loc": {
"start": {
"line": 180,
"column": 43
},
"end": {
"line": 180,
"column": 45
}
}
},
{
"type": {
"label": "typeof",
"keyword": "typeof",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "typeof",
"start": 6600,
"end": 6606,
"loc": {
"start": {
"line": 180,
"column": 46
},
"end": {
"line": 180,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "minerComp",
"start": 6607,
"end": 6616,
"loc": {
"start": {
"line": 180,
"column": 53
},
"end": {
"line": 180,
"column": 62
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6616,
"end": 6617,
"loc": {
"start": {
"line": 180,
"column": 62
},
"end": {
"line": 180,
"column": 63
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cachedMinedItem",
"start": 6617,
"end": 6632,
"loc": {
"start": {
"line": 180,
"column": 63
},
"end": {
"line": 180,
"column": 78
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!=",
"start": 6633,
"end": 6635,
"loc": {
"start": {
"line": 180,
"column": 79
},
"end": {
"line": 180,
"column": 81
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "object",
"start": 6636,
"end": 6644,
"loc": {
"start": {
"line": 180,
"column": 82
},
"end": {
"line": 180,
"column": 90
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6644,
"end": 6645,
"loc": {
"start": {
"line": 180,
"column": 90
},
"end": {
"line": 180,
"column": 91
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6646,
"end": 6647,
"loc": {
"start": {
"line": 180,
"column": 92
},
"end": {
"line": 180,
"column": 93
}
}
},
{
"type": {
"label": "continue",
"keyword": "continue",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "continue",
"start": 6665,
"end": 6673,
"loc": {
"start": {
"line": 181,
"column": 16
},
"end": {
"line": 181,
"column": 24
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6673,
"end": 6674,
"loc": {
"start": {
"line": 181,
"column": 24
},
"end": {
"line": 181,
"column": 25
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6688,
"end": 6689,
"loc": {
"start": {
"line": 182,
"column": 12
},
"end": {
"line": 182,
"column": 13
}
}
},
{
"type": "CommentLine",
"value": " Draw the item background - this is to hide the ejected item animation from",
"start": 6705,
"end": 6782,
"loc": {
"start": {
"line": 184,
"column": 12
},
"end": {
"line": 184,
"column": 89
}
}
},
{
"type": "CommentLine",
"value": " the item ejector",
"start": 6796,
"end": 6815,
"loc": {
"start": {
"line": 185,
"column": 12
},
"end": {
"line": 185,
"column": 31
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 6831,
"end": 6836,
"loc": {
"start": {
"line": 187,
"column": 12
},
"end": {
"line": 187,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "padding",
"start": 6837,
"end": 6844,
"loc": {
"start": {
"line": 187,
"column": 18
},
"end": {
"line": 187,
"column": 25
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6845,
"end": 6846,
"loc": {
"start": {
"line": 187,
"column": 26
},
"end": {
"line": 187,
"column": 27
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 3,
"start": 6847,
"end": 6848,
"loc": {
"start": {
"line": 187,
"column": 28
},
"end": {
"line": 187,
"column": 29
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6848,
"end": 6849,
"loc": {
"start": {
"line": 187,
"column": 29
},
"end": {
"line": 187,
"column": 30
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 6863,
"end": 6868,
"loc": {
"start": {
"line": 188,
"column": 12
},
"end": {
"line": 188,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destX",
"start": 6869,
"end": 6874,
"loc": {
"start": {
"line": 188,
"column": 18
},
"end": {
"line": 188,
"column": 23
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6875,
"end": 6876,
"loc": {
"start": {
"line": 188,
"column": 24
},
"end": {
"line": 188,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "staticComp",
"start": 6877,
"end": 6887,
"loc": {
"start": {
"line": 188,
"column": 26
},
"end": {
"line": 188,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6887,
"end": 6888,
"loc": {
"start": {
"line": 188,
"column": 36
},
"end": {
"line": 188,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "origin",
"start": 6888,
"end": 6894,
"loc": {
"start": {
"line": 188,
"column": 37
},
"end": {
"line": 188,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6894,
"end": 6895,
"loc": {
"start": {
"line": 188,
"column": 43
},
"end": {
"line": 188,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 6895,
"end": 6896,
"loc": {
"start": {
"line": 188,
"column": 44
},
"end": {
"line": 188,
"column": 45
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 6897,
"end": 6898,
"loc": {
"start": {
"line": 188,
"column": 46
},
"end": {
"line": 188,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalConfig",
"start": 6899,
"end": 6911,
"loc": {
"start": {
"line": 188,
"column": 48
},
"end": {
"line": 188,
"column": 60
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6911,
"end": 6912,
"loc": {
"start": {
"line": 188,
"column": 60
},
"end": {
"line": 188,
"column": 61
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tileSize",
"start": 6912,
"end": 6920,
"loc": {
"start": {
"line": 188,
"column": 61
},
"end": {
"line": 188,
"column": 69
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 6921,
"end": 6922,
"loc": {
"start": {
"line": 188,
"column": 70
},
"end": {
"line": 188,
"column": 71
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "padding",
"start": 6923,
"end": 6930,
"loc": {
"start": {
"line": 188,
"column": 72
},
"end": {
"line": 188,
"column": 79
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6930,
"end": 6931,
"loc": {
"start": {
"line": 188,
"column": 79
},
"end": {
"line": 188,
"column": 80
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 6945,
"end": 6950,
"loc": {
"start": {
"line": 189,
"column": 12
},
"end": {
"line": 189,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destY",
"start": 6951,
"end": 6956,
"loc": {
"start": {
"line": 189,
"column": 18
},
"end": {
"line": 189,
"column": 23
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6957,
"end": 6958,
"loc": {
"start": {
"line": 189,
"column": 24
},
"end": {
"line": 189,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "staticComp",
"start": 6959,
"end": 6969,
"loc": {
"start": {
"line": 189,
"column": 26
},
"end": {
"line": 189,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6969,
"end": 6970,
"loc": {
"start": {
"line": 189,
"column": 36
},
"end": {
"line": 189,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "origin",
"start": 6970,
"end": 6976,
"loc": {
"start": {
"line": 189,
"column": 37
},
"end": {
"line": 189,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6976,
"end": 6977,
"loc": {
"start": {
"line": 189,
"column": 43
},
"end": {
"line": 189,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 6977,
"end": 6978,
"loc": {
"start": {
"line": 189,
"column": 44
},
"end": {
"line": 189,
"column": 45
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 6979,
"end": 6980,
"loc": {
"start": {
"line": 189,
"column": 46
},
"end": {
"line": 189,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalConfig",
"start": 6981,
"end": 6993,
"loc": {
"start": {
"line": 189,
"column": 48
},
"end": {
"line": 189,
"column": 60
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6993,
"end": 6994,
"loc": {
"start": {
"line": 189,
"column": 60
},
"end": {
"line": 189,
"column": 61
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tileSize",
"start": 6994,
"end": 7002,
"loc": {
"start": {
"line": 189,
"column": 61
},
"end": {
"line": 189,
"column": 69
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 7003,
"end": 7004,
"loc": {
"start": {
"line": 189,
"column": 70
},
"end": {
"line": 189,
"column": 71
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "padding",
"start": 7005,
"end": 7012,
"loc": {
"start": {
"line": 189,
"column": 72
},
"end": {
"line": 189,
"column": 79
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7012,
"end": 7013,
"loc": {
"start": {
"line": 189,
"column": 79
},
"end": {
"line": 189,
"column": 80
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 7027,
"end": 7032,
"loc": {
"start": {
"line": 190,
"column": 12
},
"end": {
"line": 190,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dimensions",
"start": 7033,
"end": 7043,
"loc": {
"start": {
"line": 190,
"column": 18
},
"end": {
"line": 190,
"column": 28
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7044,
"end": 7045,
"loc": {
"start": {
"line": 190,
"column": 29
},
"end": {
"line": 190,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalConfig",
"start": 7046,
"end": 7058,
"loc": {
"start": {
"line": 190,
"column": 31
},
"end": {
"line": 190,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7058,
"end": 7059,
"loc": {
"start": {
"line": 190,
"column": 43
},
"end": {
"line": 190,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tileSize",
"start": 7059,
"end": 7067,
"loc": {
"start": {
"line": 190,
"column": 44
},
"end": {
"line": 190,
"column": 52
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 7068,
"end": 7069,
"loc": {
"start": {
"line": 190,
"column": 53
},
"end": {
"line": 190,
"column": 54
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 2,
"start": 7070,
"end": 7071,
"loc": {
"start": {
"line": 190,
"column": 55
},
"end": {
"line": 190,
"column": 56
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 7072,
"end": 7073,
"loc": {
"start": {
"line": 190,
"column": 57
},
"end": {
"line": 190,
"column": 58
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "padding",
"start": 7074,
"end": 7081,
"loc": {
"start": {
"line": 190,
"column": 59
},
"end": {
"line": 190,
"column": 66
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7081,
"end": 7082,
"loc": {
"start": {
"line": 190,
"column": 66
},
"end": {
"line": 190,
"column": 67
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 7098,
"end": 7100,
"loc": {
"start": {
"line": 192,
"column": 12
},
"end": {
"line": 192,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7101,
"end": 7102,
"loc": {
"start": {
"line": 192,
"column": 15
},
"end": {
"line": 192,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 7102,
"end": 7112,
"loc": {
"start": {
"line": 192,
"column": 16
},
"end": {
"line": 192,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7112,
"end": 7113,
"loc": {
"start": {
"line": 192,
"column": 26
},
"end": {
"line": 192,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "visibleRect",
"start": 7113,
"end": 7124,
"loc": {
"start": {
"line": 192,
"column": 27
},
"end": {
"line": 192,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7124,
"end": 7125,
"loc": {
"start": {
"line": 192,
"column": 38
},
"end": {
"line": 192,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "containsRect4Params",
"start": 7125,
"end": 7144,
"loc": {
"start": {
"line": 192,
"column": 39
},
"end": {
"line": 192,
"column": 58
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7144,
"end": 7145,
"loc": {
"start": {
"line": 192,
"column": 58
},
"end": {
"line": 192,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destX",
"start": 7145,
"end": 7150,
"loc": {
"start": {
"line": 192,
"column": 59
},
"end": {
"line": 192,
"column": 64
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7150,
"end": 7151,
"loc": {
"start": {
"line": 192,
"column": 64
},
"end": {
"line": 192,
"column": 65
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destY",
"start": 7152,
"end": 7157,
"loc": {
"start": {
"line": 192,
"column": 66
},
"end": {
"line": 192,
"column": 71
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7157,
"end": 7158,
"loc": {
"start": {
"line": 192,
"column": 71
},
"end": {
"line": 192,
"column": 72
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dimensions",
"start": 7159,
"end": 7169,
"loc": {
"start": {
"line": 192,
"column": 73
},
"end": {
"line": 192,
"column": 83
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7169,
"end": 7170,
"loc": {
"start": {
"line": 192,
"column": 83
},
"end": {
"line": 192,
"column": 84
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dimensions",
"start": 7171,
"end": 7181,
"loc": {
"start": {
"line": 192,
"column": 85
},
"end": {
"line": 192,
"column": 95
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7181,
"end": 7182,
"loc": {
"start": {
"line": 192,
"column": 95
},
"end": {
"line": 192,
"column": 96
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7182,
"end": 7183,
"loc": {
"start": {
"line": 192,
"column": 96
},
"end": {
"line": 192,
"column": 97
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7184,
"end": 7185,
"loc": {
"start": {
"line": 192,
"column": 98
},
"end": {
"line": 192,
"column": 99
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 7203,
"end": 7213,
"loc": {
"start": {
"line": 193,
"column": 16
},
"end": {
"line": 193,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7213,
"end": 7214,
"loc": {
"start": {
"line": 193,
"column": 26
},
"end": {
"line": 193,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 7214,
"end": 7221,
"loc": {
"start": {
"line": 193,
"column": 27
},
"end": {
"line": 193,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7221,
"end": 7222,
"loc": {
"start": {
"line": 193,
"column": 34
},
"end": {
"line": 193,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fillStyle",
"start": 7222,
"end": 7231,
"loc": {
"start": {
"line": 193,
"column": 35
},
"end": {
"line": 193,
"column": 44
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7232,
"end": 7233,
"loc": {
"start": {
"line": 193,
"column": 45
},
"end": {
"line": 193,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "minerComp",
"start": 7234,
"end": 7243,
"loc": {
"start": {
"line": 193,
"column": 47
},
"end": {
"line": 193,
"column": 56
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7243,
"end": 7244,
"loc": {
"start": {
"line": 193,
"column": 56
},
"end": {
"line": 193,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cachedMinedItem",
"start": 7244,
"end": 7259,
"loc": {
"start": {
"line": 193,
"column": 57
},
"end": {
"line": 193,
"column": 72
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7259,
"end": 7260,
"loc": {
"start": {
"line": 193,
"column": 72
},
"end": {
"line": 193,
"column": 73
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getBackgroundColorAsResource",
"start": 7260,
"end": 7288,
"loc": {
"start": {
"line": 193,
"column": 73
},
"end": {
"line": 193,
"column": 101
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7288,
"end": 7289,
"loc": {
"start": {
"line": 193,
"column": 101
},
"end": {
"line": 193,
"column": 102
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7289,
"end": 7290,
"loc": {
"start": {
"line": 193,
"column": 102
},
"end": {
"line": 193,
"column": 103
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7290,
"end": 7291,
"loc": {
"start": {
"line": 193,
"column": 103
},
"end": {
"line": 193,
"column": 104
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 7309,
"end": 7319,
"loc": {
"start": {
"line": 194,
"column": 16
},
"end": {
"line": 194,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7319,
"end": 7320,
"loc": {
"start": {
"line": 194,
"column": 26
},
"end": {
"line": 194,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 7320,
"end": 7327,
"loc": {
"start": {
"line": 194,
"column": 27
},
"end": {
"line": 194,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7327,
"end": 7328,
"loc": {
"start": {
"line": 194,
"column": 34
},
"end": {
"line": 194,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fillRect",
"start": 7328,
"end": 7336,
"loc": {
"start": {
"line": 194,
"column": 35
},
"end": {
"line": 194,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7336,
"end": 7337,
"loc": {
"start": {
"line": 194,
"column": 43
},
"end": {
"line": 194,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destX",
"start": 7337,
"end": 7342,
"loc": {
"start": {
"line": 194,
"column": 44
},
"end": {
"line": 194,
"column": 49
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7342,
"end": 7343,
"loc": {
"start": {
"line": 194,
"column": 49
},
"end": {
"line": 194,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destY",
"start": 7344,
"end": 7349,
"loc": {
"start": {
"line": 194,
"column": 51
},
"end": {
"line": 194,
"column": 56
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7349,
"end": 7350,
"loc": {
"start": {
"line": 194,
"column": 56
},
"end": {
"line": 194,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dimensions",
"start": 7351,
"end": 7361,
"loc": {
"start": {
"line": 194,
"column": 58
},
"end": {
"line": 194,
"column": 68
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7361,
"end": 7362,
"loc": {
"start": {
"line": 194,
"column": 68
},
"end": {
"line": 194,
"column": 69
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dimensions",
"start": 7363,
"end": 7373,
"loc": {
"start": {
"line": 194,
"column": 70
},
"end": {
"line": 194,
"column": 80
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7373,
"end": 7374,
"loc": {
"start": {
"line": 194,
"column": 80
},
"end": {
"line": 194,
"column": 81
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7374,
"end": 7375,
"loc": {
"start": {
"line": 194,
"column": 81
},
"end": {
"line": 194,
"column": 82
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7389,
"end": 7390,
"loc": {
"start": {
"line": 195,
"column": 12
},
"end": {
"line": 195,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "minerComp",
"start": 7406,
"end": 7415,
"loc": {
"start": {
"line": 197,
"column": 12
},
"end": {
"line": 197,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7415,
"end": 7416,
"loc": {
"start": {
"line": 197,
"column": 21
},
"end": {
"line": 197,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cachedMinedItem",
"start": 7416,
"end": 7431,
"loc": {
"start": {
"line": 197,
"column": 22
},
"end": {
"line": 197,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7431,
"end": 7432,
"loc": {
"start": {
"line": 197,
"column": 37
},
"end": {
"line": 197,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "drawItemCenteredClipped",
"start": 7432,
"end": 7455,
"loc": {
"start": {
"line": 197,
"column": 38
},
"end": {
"line": 197,
"column": 61
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7455,
"end": 7456,
"loc": {
"start": {
"line": 197,
"column": 61
},
"end": {
"line": 197,
"column": 62
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7474,
"end": 7475,
"loc": {
"start": {
"line": 198,
"column": 16
},
"end": {
"line": 198,
"column": 17
}
}
},
{
"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": 7475,
"end": 7478,
"loc": {
"start": {
"line": 198,
"column": 17
},
"end": {
"line": 198,
"column": 20
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 7479,
"end": 7480,
"loc": {
"start": {
"line": 198,
"column": 21
},
"end": {
"line": 198,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "staticComp",
"start": 7481,
"end": 7491,
"loc": {
"start": {
"line": 198,
"column": 23
},
"end": {
"line": 198,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7491,
"end": 7492,
"loc": {
"start": {
"line": 198,
"column": 33
},
"end": {
"line": 198,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "origin",
"start": 7492,
"end": 7498,
"loc": {
"start": {
"line": 198,
"column": 34
},
"end": {
"line": 198,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7498,
"end": 7499,
"loc": {
"start": {
"line": 198,
"column": 40
},
"end": {
"line": 198,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 7499,
"end": 7500,
"loc": {
"start": {
"line": 198,
"column": 41
},
"end": {
"line": 198,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7500,
"end": 7501,
"loc": {
"start": {
"line": 198,
"column": 42
},
"end": {
"line": 198,
"column": 43
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 7502,
"end": 7503,
"loc": {
"start": {
"line": 198,
"column": 44
},
"end": {
"line": 198,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalConfig",
"start": 7504,
"end": 7516,
"loc": {
"start": {
"line": 198,
"column": 46
},
"end": {
"line": 198,
"column": 58
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7516,
"end": 7517,
"loc": {
"start": {
"line": 198,
"column": 58
},
"end": {
"line": 198,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tileSize",
"start": 7517,
"end": 7525,
"loc": {
"start": {
"line": 198,
"column": 59
},
"end": {
"line": 198,
"column": 67
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7525,
"end": 7526,
"loc": {
"start": {
"line": 198,
"column": 67
},
"end": {
"line": 198,
"column": 68
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7544,
"end": 7545,
"loc": {
"start": {
"line": 199,
"column": 16
},
"end": {
"line": 199,
"column": 17
}
}
},
{
"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": 7545,
"end": 7548,
"loc": {
"start": {
"line": 199,
"column": 17
},
"end": {
"line": 199,
"column": 20
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 7549,
"end": 7550,
"loc": {
"start": {
"line": 199,
"column": 21
},
"end": {
"line": 199,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "staticComp",
"start": 7551,
"end": 7561,
"loc": {
"start": {
"line": 199,
"column": 23
},
"end": {
"line": 199,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7561,
"end": 7562,
"loc": {
"start": {
"line": 199,
"column": 33
},
"end": {
"line": 199,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "origin",
"start": 7562,
"end": 7568,
"loc": {
"start": {
"line": 199,
"column": 34
},
"end": {
"line": 199,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7568,
"end": 7569,
"loc": {
"start": {
"line": 199,
"column": 40
},
"end": {
"line": 199,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 7569,
"end": 7570,
"loc": {
"start": {
"line": 199,
"column": 41
},
"end": {
"line": 199,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7570,
"end": 7571,
"loc": {
"start": {
"line": 199,
"column": 42
},
"end": {
"line": 199,
"column": 43
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 7572,
"end": 7573,
"loc": {
"start": {
"line": 199,
"column": 44
},
"end": {
"line": 199,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalConfig",
"start": 7574,
"end": 7586,
"loc": {
"start": {
"line": 199,
"column": 46
},
"end": {
"line": 199,
"column": 58
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7586,
"end": 7587,
"loc": {
"start": {
"line": 199,
"column": 58
},
"end": {
"line": 199,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tileSize",
"start": 7587,
"end": 7595,
"loc": {
"start": {
"line": 199,
"column": 59
},
"end": {
"line": 199,
"column": 67
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7595,
"end": 7596,
"loc": {
"start": {
"line": 199,
"column": 67
},
"end": {
"line": 199,
"column": 68
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 7614,
"end": 7624,
"loc": {
"start": {
"line": 200,
"column": 16
},
"end": {
"line": 200,
"column": 26
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7624,
"end": 7625,
"loc": {
"start": {
"line": 200,
"column": 26
},
"end": {
"line": 200,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalConfig",
"start": 7643,
"end": 7655,
"loc": {
"start": {
"line": 201,
"column": 16
},
"end": {
"line": 201,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7655,
"end": 7656,
"loc": {
"start": {
"line": 201,
"column": 28
},
"end": {
"line": 201,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "defaultItemDiameter",
"start": 7656,
"end": 7675,
"loc": {
"start": {
"line": 201,
"column": 29
},
"end": {
"line": 201,
"column": 48
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7689,
"end": 7690,
"loc": {
"start": {
"line": 202,
"column": 12
},
"end": {
"line": 202,
"column": 13
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7690,
"end": 7691,
"loc": {
"start": {
"line": 202,
"column": 13
},
"end": {
"line": 202,
"column": 14
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7701,
"end": 7702,
"loc": {
"start": {
"line": 203,
"column": 8
},
"end": {
"line": 203,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7708,
"end": 7709,
"loc": {
"start": {
"line": 204,
"column": 4
},
"end": {
"line": 204,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7711,
"end": 7712,
"loc": {
"start": {
"line": 205,
"column": 0
},
"end": {
"line": 205,
"column": 1
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7714,
"end": 7714,
"loc": {
"start": {
"line": 206,
"column": 0
},
"end": {
"line": 206,
"column": 0
}
}
}
]
}