1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-12-11 17:21:51 +00:00
tobspr_shapez.io/docs/ast/source/game/hud/parts/miner_highlight.js.json
2021-02-26 15:20:37 +01:00

39293 lines
1.1 MiB

{
"type": "File",
"start": 0,
"end": 6520,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 176,
"column": 1
}
},
"program": {
"type": "Program",
"start": 0,
"end": 6520,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 176,
"column": 1
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 52,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 52
}
},
"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": 51,
"loc": {
"start": {
"line": 1,
"column": 29
},
"end": {
"line": 1,
"column": 51
}
},
"extra": {
"rawValue": "../../../core/config",
"raw": "\"../../../core/config\""
},
"value": "../../../core/config"
}
},
{
"type": "ImportDeclaration",
"start": 54,
"end": 127,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 73
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 63,
"end": 83,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 29
}
},
"imported": {
"type": "Identifier",
"start": 63,
"end": 83,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 29
},
"identifierName": "formatItemsPerSecond"
},
"name": "formatItemsPerSecond"
},
"local": {
"type": "Identifier",
"start": 63,
"end": 83,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 29
},
"identifierName": "formatItemsPerSecond"
},
"name": "formatItemsPerSecond"
}
},
{
"type": "ImportSpecifier",
"start": 85,
"end": 97,
"loc": {
"start": {
"line": 2,
"column": 31
},
"end": {
"line": 2,
"column": 43
}
},
"imported": {
"type": "Identifier",
"start": 85,
"end": 97,
"loc": {
"start": {
"line": 2,
"column": 31
},
"end": {
"line": 2,
"column": 43
},
"identifierName": "round2Digits"
},
"name": "round2Digits"
},
"local": {
"type": "Identifier",
"start": 85,
"end": 97,
"loc": {
"start": {
"line": 2,
"column": 31
},
"end": {
"line": 2,
"column": 43
},
"identifierName": "round2Digits"
},
"name": "round2Digits"
}
}
],
"source": {
"type": "StringLiteral",
"start": 105,
"end": 126,
"loc": {
"start": {
"line": 2,
"column": 51
},
"end": {
"line": 2,
"column": 72
}
},
"extra": {
"rawValue": "../../../core/utils",
"raw": "\"../../../core/utils\""
},
"value": "../../../core/utils"
}
},
{
"type": "ImportDeclaration",
"start": 129,
"end": 175,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 46
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 138,
"end": 144,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 15
}
},
"imported": {
"type": "Identifier",
"start": 138,
"end": 144,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 15
},
"identifierName": "Vector"
},
"name": "Vector"
},
"local": {
"type": "Identifier",
"start": 138,
"end": 144,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 15
},
"identifierName": "Vector"
},
"name": "Vector"
}
}
],
"source": {
"type": "StringLiteral",
"start": 152,
"end": 174,
"loc": {
"start": {
"line": 3,
"column": 23
},
"end": {
"line": 3,
"column": 45
}
},
"extra": {
"rawValue": "../../../core/vector",
"raw": "\"../../../core/vector\""
},
"value": "../../../core/vector"
}
},
{
"type": "ImportDeclaration",
"start": 177,
"end": 219,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 42
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 186,
"end": 187,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 10
}
},
"imported": {
"type": "Identifier",
"start": 186,
"end": 187,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 10
},
"identifierName": "T"
},
"name": "T"
},
"local": {
"type": "Identifier",
"start": 186,
"end": 187,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 10
},
"identifierName": "T"
},
"name": "T"
}
}
],
"source": {
"type": "StringLiteral",
"start": 195,
"end": 218,
"loc": {
"start": {
"line": 4,
"column": 18
},
"end": {
"line": 4,
"column": 41
}
},
"extra": {
"rawValue": "../../../translations",
"raw": "\"../../../translations\""
},
"value": "../../../translations"
}
},
{
"type": "ImportDeclaration",
"start": 221,
"end": 259,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 38
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 230,
"end": 236,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 15
}
},
"imported": {
"type": "Identifier",
"start": 230,
"end": 236,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 15
},
"identifierName": "Entity"
},
"name": "Entity"
},
"local": {
"type": "Identifier",
"start": 230,
"end": 236,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 15
},
"identifierName": "Entity"
},
"name": "Entity"
}
}
],
"source": {
"type": "StringLiteral",
"start": 244,
"end": 258,
"loc": {
"start": {
"line": 5,
"column": 23
},
"end": {
"line": 5,
"column": 37
}
},
"extra": {
"rawValue": "../../entity",
"raw": "\"../../entity\""
},
"value": "../../entity"
}
},
{
"type": "ImportDeclaration",
"start": 261,
"end": 297,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 36
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 270,
"end": 275,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 14
}
},
"imported": {
"type": "Identifier",
"start": 270,
"end": 275,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 14
},
"identifierName": "THEME"
},
"name": "THEME"
},
"local": {
"type": "Identifier",
"start": 270,
"end": 275,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 14
},
"identifierName": "THEME"
},
"name": "THEME"
}
}
],
"source": {
"type": "StringLiteral",
"start": 283,
"end": 296,
"loc": {
"start": {
"line": 6,
"column": 22
},
"end": {
"line": 6,
"column": 35
}
},
"extra": {
"rawValue": "../../theme",
"raw": "\"../../theme\""
},
"value": "../../theme"
}
},
{
"type": "ImportDeclaration",
"start": 299,
"end": 346,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 7,
"column": 47
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 308,
"end": 319,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 20
}
},
"imported": {
"type": "Identifier",
"start": 308,
"end": 319,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 20
},
"identifierName": "BaseHUDPart"
},
"name": "BaseHUDPart"
},
"local": {
"type": "Identifier",
"start": 308,
"end": 319,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 20
},
"identifierName": "BaseHUDPart"
},
"name": "BaseHUDPart"
}
}
],
"source": {
"type": "StringLiteral",
"start": 327,
"end": 345,
"loc": {
"start": {
"line": 7,
"column": 28
},
"end": {
"line": 7,
"column": 46
}
},
"extra": {
"rawValue": "../base_hud_part",
"raw": "\"../base_hud_part\""
},
"value": "../base_hud_part"
}
},
{
"type": "ExportNamedDeclaration",
"start": 350,
"end": 6520,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 176,
"column": 1
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "ClassDeclaration",
"start": 357,
"end": 6520,
"loc": {
"start": {
"line": 9,
"column": 7
},
"end": {
"line": 176,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 363,
"end": 380,
"loc": {
"start": {
"line": 9,
"column": 13
},
"end": {
"line": 9,
"column": 30
},
"identifierName": "HUDMinerHighlight"
},
"name": "HUDMinerHighlight"
},
"superClass": {
"type": "Identifier",
"start": 389,
"end": 400,
"loc": {
"start": {
"line": 9,
"column": 39
},
"end": {
"line": 9,
"column": 50
},
"identifierName": "BaseHUDPart"
},
"name": "BaseHUDPart"
},
"body": {
"type": "ClassBody",
"start": 401,
"end": 6520,
"loc": {
"start": {
"line": 9,
"column": 51
},
"end": {
"line": 176,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 408,
"end": 423,
"loc": {
"start": {
"line": 10,
"column": 4
},
"end": {
"line": 10,
"column": 19
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 408,
"end": 418,
"loc": {
"start": {
"line": 10,
"column": 4
},
"end": {
"line": 10,
"column": 14
},
"identifierName": "initialize"
},
"name": "initialize"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 421,
"end": 423,
"loc": {
"start": {
"line": 10,
"column": 17
},
"end": {
"line": 10,
"column": 19
}
},
"body": [],
"directives": [],
"leadingComments": null,
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {import(\"../../../core/draw_utils\").DrawParameters} parameters\r\n ",
"start": 431,
"end": 529,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 15,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 535,
"end": 4485,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 126,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 535,
"end": 539,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 16,
"column": 8
},
"identifierName": "draw"
},
"name": "draw",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 540,
"end": 550,
"loc": {
"start": {
"line": 16,
"column": 9
},
"end": {
"line": 16,
"column": 19
},
"identifierName": "parameters"
},
"name": "parameters"
}
],
"body": {
"type": "BlockStatement",
"start": 552,
"end": 4485,
"loc": {
"start": {
"line": 16,
"column": 21
},
"end": {
"line": 126,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 563,
"end": 608,
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 17,
"column": 53
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 569,
"end": 607,
"loc": {
"start": {
"line": 17,
"column": 14
},
"end": {
"line": 17,
"column": 52
}
},
"id": {
"type": "Identifier",
"start": 569,
"end": 577,
"loc": {
"start": {
"line": 17,
"column": 14
},
"end": {
"line": 17,
"column": 22
},
"identifierName": "mousePos"
},
"name": "mousePos"
},
"init": {
"type": "MemberExpression",
"start": 580,
"end": 607,
"loc": {
"start": {
"line": 17,
"column": 25
},
"end": {
"line": 17,
"column": 52
}
},
"object": {
"type": "MemberExpression",
"start": 580,
"end": 593,
"loc": {
"start": {
"line": 17,
"column": 25
},
"end": {
"line": 17,
"column": 38
}
},
"object": {
"type": "MemberExpression",
"start": 580,
"end": 589,
"loc": {
"start": {
"line": 17,
"column": 25
},
"end": {
"line": 17,
"column": 34
}
},
"object": {
"type": "ThisExpression",
"start": 580,
"end": 584,
"loc": {
"start": {
"line": 17,
"column": 25
},
"end": {
"line": 17,
"column": 29
}
}
},
"property": {
"type": "Identifier",
"start": 585,
"end": 589,
"loc": {
"start": {
"line": 17,
"column": 30
},
"end": {
"line": 17,
"column": 34
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 590,
"end": 593,
"loc": {
"start": {
"line": 17,
"column": 35
},
"end": {
"line": 17,
"column": 38
},
"identifierName": "app"
},
"name": "app"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 594,
"end": 607,
"loc": {
"start": {
"line": 17,
"column": 39
},
"end": {
"line": 17,
"column": 52
},
"identifierName": "mousePosition"
},
"name": "mousePosition"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 618,
"end": 702,
"loc": {
"start": {
"line": 18,
"column": 8
},
"end": {
"line": 21,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 622,
"end": 631,
"loc": {
"start": {
"line": 18,
"column": 12
},
"end": {
"line": 18,
"column": 21
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 623,
"end": 631,
"loc": {
"start": {
"line": 18,
"column": 13
},
"end": {
"line": 18,
"column": 21
},
"identifierName": "mousePos"
},
"name": "mousePos"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 633,
"end": 702,
"loc": {
"start": {
"line": 18,
"column": 23
},
"end": {
"line": 21,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 684,
"end": 691,
"loc": {
"start": {
"line": 20,
"column": 12
},
"end": {
"line": 20,
"column": 19
}
},
"argument": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Mouse pos not ready",
"start": 648,
"end": 670,
"loc": {
"start": {
"line": 19,
"column": 12
},
"end": {
"line": 19,
"column": 34
}
}
}
]
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 714,
"end": 834,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 26,
"column": 9
}
},
"test": {
"type": "BinaryExpression",
"start": 718,
"end": 754,
"loc": {
"start": {
"line": 23,
"column": 12
},
"end": {
"line": 23,
"column": 48
}
},
"left": {
"type": "MemberExpression",
"start": 718,
"end": 740,
"loc": {
"start": {
"line": 23,
"column": 12
},
"end": {
"line": 23,
"column": 34
}
},
"object": {
"type": "MemberExpression",
"start": 718,
"end": 727,
"loc": {
"start": {
"line": 23,
"column": 12
},
"end": {
"line": 23,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 718,
"end": 722,
"loc": {
"start": {
"line": 23,
"column": 12
},
"end": {
"line": 23,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 723,
"end": 727,
"loc": {
"start": {
"line": 23,
"column": 17
},
"end": {
"line": 23,
"column": 21
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 728,
"end": 740,
"loc": {
"start": {
"line": 23,
"column": 22
},
"end": {
"line": 23,
"column": 34
},
"identifierName": "currentLayer"
},
"name": "currentLayer"
},
"computed": false
},
"operator": "!==",
"right": {
"type": "StringLiteral",
"start": 745,
"end": 754,
"loc": {
"start": {
"line": 23,
"column": 39
},
"end": {
"line": 23,
"column": 48
}
},
"extra": {
"rawValue": "regular",
"raw": "\"regular\""
},
"value": "regular"
}
},
"consequent": {
"type": "BlockStatement",
"start": 756,
"end": 834,
"loc": {
"start": {
"line": 23,
"column": 50
},
"end": {
"line": 26,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 816,
"end": 823,
"loc": {
"start": {
"line": 25,
"column": 12
},
"end": {
"line": 25,
"column": 19
}
},
"argument": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Not within the regular layer",
"start": 771,
"end": 802,
"loc": {
"start": {
"line": 24,
"column": 12
},
"end": {
"line": 24,
"column": 43
}
}
}
]
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 846,
"end": 968,
"loc": {
"start": {
"line": 28,
"column": 8
},
"end": {
"line": 31,
"column": 9
}
},
"test": {
"type": "CallExpression",
"start": 850,
"end": 890,
"loc": {
"start": {
"line": 28,
"column": 12
},
"end": {
"line": 28,
"column": 52
}
},
"callee": {
"type": "MemberExpression",
"start": 850,
"end": 888,
"loc": {
"start": {
"line": 28,
"column": 12
},
"end": {
"line": 28,
"column": 50
}
},
"object": {
"type": "MemberExpression",
"start": 850,
"end": 866,
"loc": {
"start": {
"line": 28,
"column": 12
},
"end": {
"line": 28,
"column": 28
}
},
"object": {
"type": "MemberExpression",
"start": 850,
"end": 859,
"loc": {
"start": {
"line": 28,
"column": 12
},
"end": {
"line": 28,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 850,
"end": 854,
"loc": {
"start": {
"line": 28,
"column": 12
},
"end": {
"line": 28,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 855,
"end": 859,
"loc": {
"start": {
"line": 28,
"column": 17
},
"end": {
"line": 28,
"column": 21
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 860,
"end": 866,
"loc": {
"start": {
"line": 28,
"column": 22
},
"end": {
"line": 28,
"column": 28
},
"identifierName": "camera"
},
"name": "camera"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 867,
"end": 888,
"loc": {
"start": {
"line": 28,
"column": 29
},
"end": {
"line": 28,
"column": 50
},
"identifierName": "getIsMapOverlayActive"
},
"name": "getIsMapOverlayActive"
},
"computed": false
},
"arguments": []
},
"consequent": {
"type": "BlockStatement",
"start": 892,
"end": 968,
"loc": {
"start": {
"line": 28,
"column": 54
},
"end": {
"line": 31,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 950,
"end": 957,
"loc": {
"start": {
"line": 30,
"column": 12
},
"end": {
"line": 30,
"column": 19
}
},
"argument": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Not within the map overlay",
"start": 907,
"end": 936,
"loc": {
"start": {
"line": 29,
"column": 12
},
"end": {
"line": 29,
"column": 41
}
}
}
]
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 980,
"end": 1038,
"loc": {
"start": {
"line": 33,
"column": 8
},
"end": {
"line": 33,
"column": 66
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 986,
"end": 1037,
"loc": {
"start": {
"line": 33,
"column": 14
},
"end": {
"line": 33,
"column": 65
}
},
"id": {
"type": "Identifier",
"start": 986,
"end": 994,
"loc": {
"start": {
"line": 33,
"column": 14
},
"end": {
"line": 33,
"column": 22
},
"identifierName": "worldPos"
},
"name": "worldPos"
},
"init": {
"type": "CallExpression",
"start": 997,
"end": 1037,
"loc": {
"start": {
"line": 33,
"column": 25
},
"end": {
"line": 33,
"column": 65
}
},
"callee": {
"type": "MemberExpression",
"start": 997,
"end": 1027,
"loc": {
"start": {
"line": 33,
"column": 25
},
"end": {
"line": 33,
"column": 55
}
},
"object": {
"type": "MemberExpression",
"start": 997,
"end": 1013,
"loc": {
"start": {
"line": 33,
"column": 25
},
"end": {
"line": 33,
"column": 41
}
},
"object": {
"type": "MemberExpression",
"start": 997,
"end": 1006,
"loc": {
"start": {
"line": 33,
"column": 25
},
"end": {
"line": 33,
"column": 34
}
},
"object": {
"type": "ThisExpression",
"start": 997,
"end": 1001,
"loc": {
"start": {
"line": 33,
"column": 25
},
"end": {
"line": 33,
"column": 29
}
}
},
"property": {
"type": "Identifier",
"start": 1002,
"end": 1006,
"loc": {
"start": {
"line": 33,
"column": 30
},
"end": {
"line": 33,
"column": 34
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1007,
"end": 1013,
"loc": {
"start": {
"line": 33,
"column": 35
},
"end": {
"line": 33,
"column": 41
},
"identifierName": "camera"
},
"name": "camera"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1014,
"end": 1027,
"loc": {
"start": {
"line": 33,
"column": 42
},
"end": {
"line": 33,
"column": 55
},
"identifierName": "screenToWorld"
},
"name": "screenToWorld"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1028,
"end": 1036,
"loc": {
"start": {
"line": 33,
"column": 56
},
"end": {
"line": 33,
"column": 64
},
"identifierName": "mousePos"
},
"name": "mousePos"
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 1048,
"end": 1091,
"loc": {
"start": {
"line": 34,
"column": 8
},
"end": {
"line": 34,
"column": 51
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1054,
"end": 1090,
"loc": {
"start": {
"line": 34,
"column": 14
},
"end": {
"line": 34,
"column": 50
}
},
"id": {
"type": "Identifier",
"start": 1054,
"end": 1065,
"loc": {
"start": {
"line": 34,
"column": 14
},
"end": {
"line": 34,
"column": 25
},
"identifierName": "hoveredTile"
},
"name": "hoveredTile"
},
"init": {
"type": "CallExpression",
"start": 1068,
"end": 1090,
"loc": {
"start": {
"line": 34,
"column": 28
},
"end": {
"line": 34,
"column": 50
}
},
"callee": {
"type": "MemberExpression",
"start": 1068,
"end": 1088,
"loc": {
"start": {
"line": 34,
"column": 28
},
"end": {
"line": 34,
"column": 48
}
},
"object": {
"type": "Identifier",
"start": 1068,
"end": 1076,
"loc": {
"start": {
"line": 34,
"column": 28
},
"end": {
"line": 34,
"column": 36
},
"identifierName": "worldPos"
},
"name": "worldPos"
},
"property": {
"type": "Identifier",
"start": 1077,
"end": 1088,
"loc": {
"start": {
"line": 34,
"column": 37
},
"end": {
"line": 34,
"column": 48
},
"identifierName": "toTileSpace"
},
"name": "toTileSpace"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 1103,
"end": 1173,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 36,
"column": 78
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1109,
"end": 1172,
"loc": {
"start": {
"line": 36,
"column": 14
},
"end": {
"line": 36,
"column": 77
}
},
"id": {
"type": "Identifier",
"start": 1109,
"end": 1117,
"loc": {
"start": {
"line": 36,
"column": 14
},
"end": {
"line": 36,
"column": 22
},
"identifierName": "contents"
},
"name": "contents"
},
"init": {
"type": "CallExpression",
"start": 1120,
"end": 1172,
"loc": {
"start": {
"line": 36,
"column": 25
},
"end": {
"line": 36,
"column": 77
}
},
"callee": {
"type": "MemberExpression",
"start": 1120,
"end": 1148,
"loc": {
"start": {
"line": 36,
"column": 25
},
"end": {
"line": 36,
"column": 53
}
},
"object": {
"type": "MemberExpression",
"start": 1120,
"end": 1133,
"loc": {
"start": {
"line": 36,
"column": 25
},
"end": {
"line": 36,
"column": 38
}
},
"object": {
"type": "MemberExpression",
"start": 1120,
"end": 1129,
"loc": {
"start": {
"line": 36,
"column": 25
},
"end": {
"line": 36,
"column": 34
}
},
"object": {
"type": "ThisExpression",
"start": 1120,
"end": 1124,
"loc": {
"start": {
"line": 36,
"column": 25
},
"end": {
"line": 36,
"column": 29
}
}
},
"property": {
"type": "Identifier",
"start": 1125,
"end": 1129,
"loc": {
"start": {
"line": 36,
"column": 30
},
"end": {
"line": 36,
"column": 34
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1130,
"end": 1133,
"loc": {
"start": {
"line": 36,
"column": 35
},
"end": {
"line": 36,
"column": 38
},
"identifierName": "map"
},
"name": "map"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1134,
"end": 1148,
"loc": {
"start": {
"line": 36,
"column": 39
},
"end": {
"line": 36,
"column": 53
},
"identifierName": "getTileContent"
},
"name": "getTileContent"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1149,
"end": 1160,
"loc": {
"start": {
"line": 36,
"column": 54
},
"end": {
"line": 36,
"column": 65
},
"identifierName": "hoveredTile"
},
"name": "hoveredTile"
},
{
"type": "StringLiteral",
"start": 1162,
"end": 1171,
"loc": {
"start": {
"line": 36,
"column": 67
},
"end": {
"line": 36,
"column": 76
}
},
"extra": {
"rawValue": "regular",
"raw": "\"regular\""
},
"value": "regular"
}
]
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 1183,
"end": 1258,
"loc": {
"start": {
"line": 37,
"column": 8
},
"end": {
"line": 40,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 1187,
"end": 1196,
"loc": {
"start": {
"line": 37,
"column": 12
},
"end": {
"line": 37,
"column": 21
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 1188,
"end": 1196,
"loc": {
"start": {
"line": 37,
"column": 13
},
"end": {
"line": 37,
"column": 21
},
"identifierName": "contents"
},
"name": "contents"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 1198,
"end": 1258,
"loc": {
"start": {
"line": 37,
"column": 23
},
"end": {
"line": 40,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1240,
"end": 1247,
"loc": {
"start": {
"line": 39,
"column": 12
},
"end": {
"line": 39,
"column": 19
}
},
"argument": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Empty tile",
"start": 1213,
"end": 1226,
"loc": {
"start": {
"line": 38,
"column": 12
},
"end": {
"line": 38,
"column": 25
}
}
}
]
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 1270,
"end": 1314,
"loc": {
"start": {
"line": 42,
"column": 8
},
"end": {
"line": 42,
"column": 52
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1276,
"end": 1313,
"loc": {
"start": {
"line": 42,
"column": 14
},
"end": {
"line": 42,
"column": 51
}
},
"id": {
"type": "Identifier",
"start": 1276,
"end": 1285,
"loc": {
"start": {
"line": 42,
"column": 14
},
"end": {
"line": 42,
"column": 23
},
"identifierName": "minerComp"
},
"name": "minerComp"
},
"init": {
"type": "MemberExpression",
"start": 1288,
"end": 1313,
"loc": {
"start": {
"line": 42,
"column": 26
},
"end": {
"line": 42,
"column": 51
}
},
"object": {
"type": "MemberExpression",
"start": 1288,
"end": 1307,
"loc": {
"start": {
"line": 42,
"column": 26
},
"end": {
"line": 42,
"column": 45
}
},
"object": {
"type": "Identifier",
"start": 1288,
"end": 1296,
"loc": {
"start": {
"line": 42,
"column": 26
},
"end": {
"line": 42,
"column": 34
},
"identifierName": "contents"
},
"name": "contents"
},
"property": {
"type": "Identifier",
"start": 1297,
"end": 1307,
"loc": {
"start": {
"line": 42,
"column": 35
},
"end": {
"line": 42,
"column": 45
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1308,
"end": 1313,
"loc": {
"start": {
"line": 42,
"column": 46
},
"end": {
"line": 42,
"column": 51
},
"identifierName": "Miner"
},
"name": "Miner"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 1324,
"end": 1435,
"loc": {
"start": {
"line": 43,
"column": 8
},
"end": {
"line": 46,
"column": 9
}
},
"test": {
"type": "LogicalExpression",
"start": 1328,
"end": 1362,
"loc": {
"start": {
"line": 43,
"column": 12
},
"end": {
"line": 43,
"column": 46
}
},
"left": {
"type": "UnaryExpression",
"start": 1328,
"end": 1338,
"loc": {
"start": {
"line": 43,
"column": 12
},
"end": {
"line": 43,
"column": 22
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 1329,
"end": 1338,
"loc": {
"start": {
"line": 43,
"column": 13
},
"end": {
"line": 43,
"column": 22
},
"identifierName": "minerComp"
},
"name": "minerComp"
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "||",
"right": {
"type": "UnaryExpression",
"start": 1342,
"end": 1362,
"loc": {
"start": {
"line": 43,
"column": 26
},
"end": {
"line": 43,
"column": 46
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 1343,
"end": 1362,
"loc": {
"start": {
"line": 43,
"column": 27
},
"end": {
"line": 43,
"column": 46
}
},
"object": {
"type": "Identifier",
"start": 1343,
"end": 1352,
"loc": {
"start": {
"line": 43,
"column": 27
},
"end": {
"line": 43,
"column": 36
},
"identifierName": "minerComp"
},
"name": "minerComp"
},
"property": {
"type": "Identifier",
"start": 1353,
"end": 1362,
"loc": {
"start": {
"line": 43,
"column": 37
},
"end": {
"line": 43,
"column": 46
},
"identifierName": "chainable"
},
"name": "chainable"
},
"computed": false
},
"extra": {
"parenthesizedArgument": false
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 1364,
"end": 1435,
"loc": {
"start": {
"line": 43,
"column": 48
},
"end": {
"line": 46,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1417,
"end": 1424,
"loc": {
"start": {
"line": 45,
"column": 12
},
"end": {
"line": 45,
"column": 19
}
},
"argument": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Not a chainable miner",
"start": 1379,
"end": 1403,
"loc": {
"start": {
"line": 44,
"column": 12
},
"end": {
"line": 44,
"column": 36
}
}
}
]
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 1447,
"end": 1536,
"loc": {
"start": {
"line": 48,
"column": 8
},
"end": {
"line": 48,
"column": 97
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1453,
"end": 1535,
"loc": {
"start": {
"line": 48,
"column": 14
},
"end": {
"line": 48,
"column": 96
}
},
"id": {
"type": "Identifier",
"start": 1453,
"end": 1466,
"loc": {
"start": {
"line": 48,
"column": 14
},
"end": {
"line": 48,
"column": 27
},
"identifierName": "lowerContents"
},
"name": "lowerContents"
},
"init": {
"type": "CallExpression",
"start": 1469,
"end": 1535,
"loc": {
"start": {
"line": 48,
"column": 30
},
"end": {
"line": 48,
"column": 96
}
},
"callee": {
"type": "MemberExpression",
"start": 1469,
"end": 1505,
"loc": {
"start": {
"line": 48,
"column": 30
},
"end": {
"line": 48,
"column": 66
}
},
"object": {
"type": "MemberExpression",
"start": 1469,
"end": 1482,
"loc": {
"start": {
"line": 48,
"column": 30
},
"end": {
"line": 48,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 1469,
"end": 1478,
"loc": {
"start": {
"line": 48,
"column": 30
},
"end": {
"line": 48,
"column": 39
}
},
"object": {
"type": "ThisExpression",
"start": 1469,
"end": 1473,
"loc": {
"start": {
"line": 48,
"column": 30
},
"end": {
"line": 48,
"column": 34
}
}
},
"property": {
"type": "Identifier",
"start": 1474,
"end": 1478,
"loc": {
"start": {
"line": 48,
"column": 35
},
"end": {
"line": 48,
"column": 39
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1479,
"end": 1482,
"loc": {
"start": {
"line": 48,
"column": 40
},
"end": {
"line": 48,
"column": 43
},
"identifierName": "map"
},
"name": "map"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1483,
"end": 1505,
"loc": {
"start": {
"line": 48,
"column": 44
},
"end": {
"line": 48,
"column": 66
},
"identifierName": "getLowerLayerContentXY"
},
"name": "getLowerLayerContentXY"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 1506,
"end": 1519,
"loc": {
"start": {
"line": 48,
"column": 67
},
"end": {
"line": 48,
"column": 80
}
},
"object": {
"type": "Identifier",
"start": 1506,
"end": 1517,
"loc": {
"start": {
"line": 48,
"column": 67
},
"end": {
"line": 48,
"column": 78
},
"identifierName": "hoveredTile"
},
"name": "hoveredTile"
},
"property": {
"type": "Identifier",
"start": 1518,
"end": 1519,
"loc": {
"start": {
"line": 48,
"column": 79
},
"end": {
"line": 48,
"column": 80
},
"identifierName": "x"
},
"name": "x"
},
"computed": false
},
{
"type": "MemberExpression",
"start": 1521,
"end": 1534,
"loc": {
"start": {
"line": 48,
"column": 82
},
"end": {
"line": 48,
"column": 95
}
},
"object": {
"type": "Identifier",
"start": 1521,
"end": 1532,
"loc": {
"start": {
"line": 48,
"column": 82
},
"end": {
"line": 48,
"column": 93
},
"identifierName": "hoveredTile"
},
"name": "hoveredTile"
},
"property": {
"type": "Identifier",
"start": 1533,
"end": 1534,
"loc": {
"start": {
"line": 48,
"column": 94
},
"end": {
"line": 48,
"column": 95
},
"identifierName": "y"
},
"name": "y"
},
"computed": false
}
]
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 1546,
"end": 1629,
"loc": {
"start": {
"line": 49,
"column": 8
},
"end": {
"line": 52,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 1550,
"end": 1564,
"loc": {
"start": {
"line": 49,
"column": 12
},
"end": {
"line": 49,
"column": 26
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 1551,
"end": 1564,
"loc": {
"start": {
"line": 49,
"column": 13
},
"end": {
"line": 49,
"column": 26
},
"identifierName": "lowerContents"
},
"name": "lowerContents"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 1566,
"end": 1629,
"loc": {
"start": {
"line": 49,
"column": 28
},
"end": {
"line": 52,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1611,
"end": 1618,
"loc": {
"start": {
"line": 51,
"column": 12
},
"end": {
"line": 51,
"column": 19
}
},
"argument": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Not connected",
"start": 1581,
"end": 1597,
"loc": {
"start": {
"line": 50,
"column": 12
},
"end": {
"line": 50,
"column": 28
}
}
}
]
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 1641,
"end": 1706,
"loc": {
"start": {
"line": 54,
"column": 8
},
"end": {
"line": 54,
"column": 73
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1641,
"end": 1705,
"loc": {
"start": {
"line": 54,
"column": 8
},
"end": {
"line": 54,
"column": 72
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1641,
"end": 1669,
"loc": {
"start": {
"line": 54,
"column": 8
},
"end": {
"line": 54,
"column": 36
}
},
"object": {
"type": "MemberExpression",
"start": 1641,
"end": 1659,
"loc": {
"start": {
"line": 54,
"column": 8
},
"end": {
"line": 54,
"column": 26
}
},
"object": {
"type": "Identifier",
"start": 1641,
"end": 1651,
"loc": {
"start": {
"line": 54,
"column": 8
},
"end": {
"line": 54,
"column": 18
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "Identifier",
"start": 1652,
"end": 1659,
"loc": {
"start": {
"line": 54,
"column": 19
},
"end": {
"line": 54,
"column": 26
},
"identifierName": "context"
},
"name": "context"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1660,
"end": 1669,
"loc": {
"start": {
"line": 54,
"column": 27
},
"end": {
"line": 54,
"column": 36
},
"identifierName": "fillStyle"
},
"name": "fillStyle"
},
"computed": false
},
"right": {
"type": "MemberExpression",
"start": 1672,
"end": 1705,
"loc": {
"start": {
"line": 54,
"column": 39
},
"end": {
"line": 54,
"column": 72
}
},
"object": {
"type": "MemberExpression",
"start": 1672,
"end": 1697,
"loc": {
"start": {
"line": 54,
"column": 39
},
"end": {
"line": 54,
"column": 64
}
},
"object": {
"type": "MemberExpression",
"start": 1672,
"end": 1681,
"loc": {
"start": {
"line": 54,
"column": 39
},
"end": {
"line": 54,
"column": 48
}
},
"object": {
"type": "Identifier",
"start": 1672,
"end": 1677,
"loc": {
"start": {
"line": 54,
"column": 39
},
"end": {
"line": 54,
"column": 44
},
"identifierName": "THEME"
},
"name": "THEME"
},
"property": {
"type": "Identifier",
"start": 1678,
"end": 1681,
"loc": {
"start": {
"line": 54,
"column": 45
},
"end": {
"line": 54,
"column": 48
},
"identifierName": "map"
},
"name": "map"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1682,
"end": 1697,
"loc": {
"start": {
"line": 54,
"column": 49
},
"end": {
"line": 54,
"column": 64
},
"identifierName": "connectedMiners"
},
"name": "connectedMiners"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1698,
"end": 1705,
"loc": {
"start": {
"line": 54,
"column": 65
},
"end": {
"line": 54,
"column": 72
},
"identifierName": "overlay"
},
"name": "overlay"
},
"computed": false
}
}
},
{
"type": "VariableDeclaration",
"start": 1718,
"end": 1779,
"loc": {
"start": {
"line": 56,
"column": 8
},
"end": {
"line": 56,
"column": 69
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1724,
"end": 1778,
"loc": {
"start": {
"line": 56,
"column": 14
},
"end": {
"line": 56,
"column": 68
}
},
"id": {
"type": "Identifier",
"start": 1724,
"end": 1741,
"loc": {
"start": {
"line": 56,
"column": 14
},
"end": {
"line": 56,
"column": 31
},
"identifierName": "connectedEntities"
},
"name": "connectedEntities"
},
"init": {
"type": "CallExpression",
"start": 1744,
"end": 1778,
"loc": {
"start": {
"line": 56,
"column": 34
},
"end": {
"line": 56,
"column": 68
}
},
"callee": {
"type": "MemberExpression",
"start": 1744,
"end": 1768,
"loc": {
"start": {
"line": 56,
"column": 34
},
"end": {
"line": 56,
"column": 58
}
},
"object": {
"type": "ThisExpression",
"start": 1744,
"end": 1748,
"loc": {
"start": {
"line": 56,
"column": 34
},
"end": {
"line": 56,
"column": 38
}
}
},
"property": {
"type": "Identifier",
"start": 1749,
"end": 1768,
"loc": {
"start": {
"line": 56,
"column": 39
},
"end": {
"line": 56,
"column": 58
},
"identifierName": "findConnectedMiners"
},
"name": "findConnectedMiners"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1769,
"end": 1777,
"loc": {
"start": {
"line": 56,
"column": 59
},
"end": {
"line": 56,
"column": 67
},
"identifierName": "contents"
},
"name": "contents"
}
]
}
}
],
"kind": "const"
},
{
"type": "ForStatement",
"start": 1791,
"end": 2320,
"loc": {
"start": {
"line": 58,
"column": 8
},
"end": {
"line": 70,
"column": 9
}
},
"init": {
"type": "VariableDeclaration",
"start": 1796,
"end": 1805,
"loc": {
"start": {
"line": 58,
"column": 13
},
"end": {
"line": 58,
"column": 22
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1800,
"end": 1805,
"loc": {
"start": {
"line": 58,
"column": 17
},
"end": {
"line": 58,
"column": 22
}
},
"id": {
"type": "Identifier",
"start": 1800,
"end": 1801,
"loc": {
"start": {
"line": 58,
"column": 17
},
"end": {
"line": 58,
"column": 18
},
"identifierName": "i"
},
"name": "i"
},
"init": {
"type": "NumericLiteral",
"start": 1804,
"end": 1805,
"loc": {
"start": {
"line": 58,
"column": 21
},
"end": {
"line": 58,
"column": 22
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
],
"kind": "let"
},
"test": {
"type": "BinaryExpression",
"start": 1807,
"end": 1835,
"loc": {
"start": {
"line": 58,
"column": 24
},
"end": {
"line": 58,
"column": 52
}
},
"left": {
"type": "Identifier",
"start": 1807,
"end": 1808,
"loc": {
"start": {
"line": 58,
"column": 24
},
"end": {
"line": 58,
"column": 25
},
"identifierName": "i"
},
"name": "i"
},
"operator": "<",
"right": {
"type": "MemberExpression",
"start": 1811,
"end": 1835,
"loc": {
"start": {
"line": 58,
"column": 28
},
"end": {
"line": 58,
"column": 52
}
},
"object": {
"type": "Identifier",
"start": 1811,
"end": 1828,
"loc": {
"start": {
"line": 58,
"column": 28
},
"end": {
"line": 58,
"column": 45
},
"identifierName": "connectedEntities"
},
"name": "connectedEntities"
},
"property": {
"type": "Identifier",
"start": 1829,
"end": 1835,
"loc": {
"start": {
"line": 58,
"column": 46
},
"end": {
"line": 58,
"column": 52
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
}
},
"update": {
"type": "UpdateExpression",
"start": 1837,
"end": 1840,
"loc": {
"start": {
"line": 58,
"column": 54
},
"end": {
"line": 58,
"column": 57
}
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 1839,
"end": 1840,
"loc": {
"start": {
"line": 58,
"column": 56
},
"end": {
"line": 58,
"column": 57
},
"identifierName": "i"
},
"name": "i"
},
"extra": {
"parenthesizedArgument": false
}
},
"body": {
"type": "BlockStatement",
"start": 1842,
"end": 2320,
"loc": {
"start": {
"line": 58,
"column": 59
},
"end": {
"line": 70,
"column": 9
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 1857,
"end": 1893,
"loc": {
"start": {
"line": 59,
"column": 12
},
"end": {
"line": 59,
"column": 48
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1863,
"end": 1892,
"loc": {
"start": {
"line": 59,
"column": 18
},
"end": {
"line": 59,
"column": 47
}
},
"id": {
"type": "Identifier",
"start": 1863,
"end": 1869,
"loc": {
"start": {
"line": 59,
"column": 18
},
"end": {
"line": 59,
"column": 24
},
"identifierName": "entity"
},
"name": "entity"
},
"init": {
"type": "MemberExpression",
"start": 1872,
"end": 1892,
"loc": {
"start": {
"line": 59,
"column": 27
},
"end": {
"line": 59,
"column": 47
}
},
"object": {
"type": "Identifier",
"start": 1872,
"end": 1889,
"loc": {
"start": {
"line": 59,
"column": 27
},
"end": {
"line": 59,
"column": 44
},
"identifierName": "connectedEntities"
},
"name": "connectedEntities"
},
"property": {
"type": "Identifier",
"start": 1890,
"end": 1891,
"loc": {
"start": {
"line": 59,
"column": 45
},
"end": {
"line": 59,
"column": 46
},
"identifierName": "i"
},
"name": "i"
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 1907,
"end": 1960,
"loc": {
"start": {
"line": 60,
"column": 12
},
"end": {
"line": 60,
"column": 65
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1913,
"end": 1959,
"loc": {
"start": {
"line": 60,
"column": 18
},
"end": {
"line": 60,
"column": 64
}
},
"id": {
"type": "Identifier",
"start": 1913,
"end": 1923,
"loc": {
"start": {
"line": 60,
"column": 18
},
"end": {
"line": 60,
"column": 28
},
"identifierName": "staticComp"
},
"name": "staticComp"
},
"init": {
"type": "MemberExpression",
"start": 1926,
"end": 1959,
"loc": {
"start": {
"line": 60,
"column": 31
},
"end": {
"line": 60,
"column": 64
}
},
"object": {
"type": "MemberExpression",
"start": 1926,
"end": 1943,
"loc": {
"start": {
"line": 60,
"column": 31
},
"end": {
"line": 60,
"column": 48
}
},
"object": {
"type": "Identifier",
"start": 1926,
"end": 1932,
"loc": {
"start": {
"line": 60,
"column": 31
},
"end": {
"line": 60,
"column": 37
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 1933,
"end": 1943,
"loc": {
"start": {
"line": 60,
"column": 38
},
"end": {
"line": 60,
"column": 48
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1944,
"end": 1959,
"loc": {
"start": {
"line": 60,
"column": 49
},
"end": {
"line": 60,
"column": 64
},
"identifierName": "StaticMapEntity"
},
"name": "StaticMapEntity"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 1976,
"end": 2269,
"loc": {
"start": {
"line": 62,
"column": 12
},
"end": {
"line": 68,
"column": 14
}
},
"expression": {
"type": "CallExpression",
"start": 1976,
"end": 2268,
"loc": {
"start": {
"line": 62,
"column": 12
},
"end": {
"line": 68,
"column": 13
}
},
"callee": {
"type": "MemberExpression",
"start": 1976,
"end": 2011,
"loc": {
"start": {
"line": 62,
"column": 12
},
"end": {
"line": 62,
"column": 47
}
},
"object": {
"type": "MemberExpression",
"start": 1976,
"end": 1994,
"loc": {
"start": {
"line": 62,
"column": 12
},
"end": {
"line": 62,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 1976,
"end": 1986,
"loc": {
"start": {
"line": 62,
"column": 12
},
"end": {
"line": 62,
"column": 22
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "Identifier",
"start": 1987,
"end": 1994,
"loc": {
"start": {
"line": 62,
"column": 23
},
"end": {
"line": 62,
"column": 30
},
"identifierName": "context"
},
"name": "context"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1995,
"end": 2011,
"loc": {
"start": {
"line": 62,
"column": 31
},
"end": {
"line": 62,
"column": 47
},
"identifierName": "beginRoundedRect"
},
"name": "beginRoundedRect"
},
"computed": false
},
"arguments": [
{
"type": "BinaryExpression",
"start": 2030,
"end": 2077,
"loc": {
"start": {
"line": 63,
"column": 16
},
"end": {
"line": 63,
"column": 63
}
},
"left": {
"type": "BinaryExpression",
"start": 2030,
"end": 2073,
"loc": {
"start": {
"line": 63,
"column": 16
},
"end": {
"line": 63,
"column": 59
}
},
"left": {
"type": "MemberExpression",
"start": 2030,
"end": 2049,
"loc": {
"start": {
"line": 63,
"column": 16
},
"end": {
"line": 63,
"column": 35
}
},
"object": {
"type": "MemberExpression",
"start": 2030,
"end": 2047,
"loc": {
"start": {
"line": 63,
"column": 16
},
"end": {
"line": 63,
"column": 33
}
},
"object": {
"type": "Identifier",
"start": 2030,
"end": 2040,
"loc": {
"start": {
"line": 63,
"column": 16
},
"end": {
"line": 63,
"column": 26
},
"identifierName": "staticComp"
},
"name": "staticComp"
},
"property": {
"type": "Identifier",
"start": 2041,
"end": 2047,
"loc": {
"start": {
"line": 63,
"column": 27
},
"end": {
"line": 63,
"column": 33
},
"identifierName": "origin"
},
"name": "origin"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2048,
"end": 2049,
"loc": {
"start": {
"line": 63,
"column": 34
},
"end": {
"line": 63,
"column": 35
},
"identifierName": "x"
},
"name": "x"
},
"computed": false
},
"operator": "*",
"right": {
"type": "MemberExpression",
"start": 2052,
"end": 2073,
"loc": {
"start": {
"line": 63,
"column": 38
},
"end": {
"line": 63,
"column": 59
}
},
"object": {
"type": "Identifier",
"start": 2052,
"end": 2064,
"loc": {
"start": {
"line": 63,
"column": 38
},
"end": {
"line": 63,
"column": 50
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
},
"property": {
"type": "Identifier",
"start": 2065,
"end": 2073,
"loc": {
"start": {
"line": 63,
"column": 51
},
"end": {
"line": 63,
"column": 59
},
"identifierName": "tileSize"
},
"name": "tileSize"
},
"computed": false
}
},
"operator": "+",
"right": {
"type": "NumericLiteral",
"start": 2076,
"end": 2077,
"loc": {
"start": {
"line": 63,
"column": 62
},
"end": {
"line": 63,
"column": 63
}
},
"extra": {
"rawValue": 5,
"raw": "5"
},
"value": 5
}
},
{
"type": "BinaryExpression",
"start": 2096,
"end": 2143,
"loc": {
"start": {
"line": 64,
"column": 16
},
"end": {
"line": 64,
"column": 63
}
},
"left": {
"type": "BinaryExpression",
"start": 2096,
"end": 2139,
"loc": {
"start": {
"line": 64,
"column": 16
},
"end": {
"line": 64,
"column": 59
}
},
"left": {
"type": "MemberExpression",
"start": 2096,
"end": 2115,
"loc": {
"start": {
"line": 64,
"column": 16
},
"end": {
"line": 64,
"column": 35
}
},
"object": {
"type": "MemberExpression",
"start": 2096,
"end": 2113,
"loc": {
"start": {
"line": 64,
"column": 16
},
"end": {
"line": 64,
"column": 33
}
},
"object": {
"type": "Identifier",
"start": 2096,
"end": 2106,
"loc": {
"start": {
"line": 64,
"column": 16
},
"end": {
"line": 64,
"column": 26
},
"identifierName": "staticComp"
},
"name": "staticComp"
},
"property": {
"type": "Identifier",
"start": 2107,
"end": 2113,
"loc": {
"start": {
"line": 64,
"column": 27
},
"end": {
"line": 64,
"column": 33
},
"identifierName": "origin"
},
"name": "origin"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2114,
"end": 2115,
"loc": {
"start": {
"line": 64,
"column": 34
},
"end": {
"line": 64,
"column": 35
},
"identifierName": "y"
},
"name": "y"
},
"computed": false
},
"operator": "*",
"right": {
"type": "MemberExpression",
"start": 2118,
"end": 2139,
"loc": {
"start": {
"line": 64,
"column": 38
},
"end": {
"line": 64,
"column": 59
}
},
"object": {
"type": "Identifier",
"start": 2118,
"end": 2130,
"loc": {
"start": {
"line": 64,
"column": 38
},
"end": {
"line": 64,
"column": 50
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
},
"property": {
"type": "Identifier",
"start": 2131,
"end": 2139,
"loc": {
"start": {
"line": 64,
"column": 51
},
"end": {
"line": 64,
"column": 59
},
"identifierName": "tileSize"
},
"name": "tileSize"
},
"computed": false
}
},
"operator": "+",
"right": {
"type": "NumericLiteral",
"start": 2142,
"end": 2143,
"loc": {
"start": {
"line": 64,
"column": 62
},
"end": {
"line": 64,
"column": 63
}
},
"extra": {
"rawValue": 5,
"raw": "5"
},
"value": 5
}
},
{
"type": "BinaryExpression",
"start": 2162,
"end": 2188,
"loc": {
"start": {
"line": 65,
"column": 16
},
"end": {
"line": 65,
"column": 42
}
},
"left": {
"type": "MemberExpression",
"start": 2162,
"end": 2183,
"loc": {
"start": {
"line": 65,
"column": 16
},
"end": {
"line": 65,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 2162,
"end": 2174,
"loc": {
"start": {
"line": 65,
"column": 16
},
"end": {
"line": 65,
"column": 28
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
},
"property": {
"type": "Identifier",
"start": 2175,
"end": 2183,
"loc": {
"start": {
"line": 65,
"column": 29
},
"end": {
"line": 65,
"column": 37
},
"identifierName": "tileSize"
},
"name": "tileSize"
},
"computed": false
},
"operator": "-",
"right": {
"type": "NumericLiteral",
"start": 2186,
"end": 2188,
"loc": {
"start": {
"line": 65,
"column": 40
},
"end": {
"line": 65,
"column": 42
}
},
"extra": {
"rawValue": 10,
"raw": "10"
},
"value": 10
}
},
{
"type": "BinaryExpression",
"start": 2207,
"end": 2233,
"loc": {
"start": {
"line": 66,
"column": 16
},
"end": {
"line": 66,
"column": 42
}
},
"left": {
"type": "MemberExpression",
"start": 2207,
"end": 2228,
"loc": {
"start": {
"line": 66,
"column": 16
},
"end": {
"line": 66,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 2207,
"end": 2219,
"loc": {
"start": {
"line": 66,
"column": 16
},
"end": {
"line": 66,
"column": 28
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
},
"property": {
"type": "Identifier",
"start": 2220,
"end": 2228,
"loc": {
"start": {
"line": 66,
"column": 29
},
"end": {
"line": 66,
"column": 37
},
"identifierName": "tileSize"
},
"name": "tileSize"
},
"computed": false
},
"operator": "-",
"right": {
"type": "NumericLiteral",
"start": 2231,
"end": 2233,
"loc": {
"start": {
"line": 66,
"column": 40
},
"end": {
"line": 66,
"column": 42
}
},
"extra": {
"rawValue": 10,
"raw": "10"
},
"value": 10
}
},
{
"type": "NumericLiteral",
"start": 2252,
"end": 2253,
"loc": {
"start": {
"line": 67,
"column": 16
},
"end": {
"line": 67,
"column": 17
}
},
"extra": {
"rawValue": 3,
"raw": "3"
},
"value": 3
}
]
}
},
{
"type": "ExpressionStatement",
"start": 2283,
"end": 2309,
"loc": {
"start": {
"line": 69,
"column": 12
},
"end": {
"line": 69,
"column": 38
}
},
"expression": {
"type": "CallExpression",
"start": 2283,
"end": 2308,
"loc": {
"start": {
"line": 69,
"column": 12
},
"end": {
"line": 69,
"column": 37
}
},
"callee": {
"type": "MemberExpression",
"start": 2283,
"end": 2306,
"loc": {
"start": {
"line": 69,
"column": 12
},
"end": {
"line": 69,
"column": 35
}
},
"object": {
"type": "MemberExpression",
"start": 2283,
"end": 2301,
"loc": {
"start": {
"line": 69,
"column": 12
},
"end": {
"line": 69,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 2283,
"end": 2293,
"loc": {
"start": {
"line": 69,
"column": 12
},
"end": {
"line": 69,
"column": 22
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "Identifier",
"start": 2294,
"end": 2301,
"loc": {
"start": {
"line": 69,
"column": 23
},
"end": {
"line": 69,
"column": 30
},
"identifierName": "context"
},
"name": "context"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2302,
"end": 2306,
"loc": {
"start": {
"line": 69,
"column": 31
},
"end": {
"line": 69,
"column": 35
},
"identifierName": "fill"
},
"name": "fill"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
}
},
{
"type": "VariableDeclaration",
"start": 2332,
"end": 2431,
"loc": {
"start": {
"line": 72,
"column": 8
},
"end": {
"line": 72,
"column": 107
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2338,
"end": 2430,
"loc": {
"start": {
"line": 72,
"column": 14
},
"end": {
"line": 72,
"column": 106
}
},
"id": {
"type": "Identifier",
"start": 2338,
"end": 2348,
"loc": {
"start": {
"line": 72,
"column": 14
},
"end": {
"line": 72,
"column": 24
},
"identifierName": "throughput"
},
"name": "throughput"
},
"init": {
"type": "CallExpression",
"start": 2351,
"end": 2430,
"loc": {
"start": {
"line": 72,
"column": 27
},
"end": {
"line": 72,
"column": 106
}
},
"callee": {
"type": "Identifier",
"start": 2351,
"end": 2363,
"loc": {
"start": {
"line": 72,
"column": 27
},
"end": {
"line": 72,
"column": 39
},
"identifierName": "round2Digits"
},
"name": "round2Digits"
},
"arguments": [
{
"type": "BinaryExpression",
"start": 2364,
"end": 2429,
"loc": {
"start": {
"line": 72,
"column": 40
},
"end": {
"line": 72,
"column": 105
}
},
"left": {
"type": "MemberExpression",
"start": 2364,
"end": 2388,
"loc": {
"start": {
"line": 72,
"column": 40
},
"end": {
"line": 72,
"column": 64
}
},
"object": {
"type": "Identifier",
"start": 2364,
"end": 2381,
"loc": {
"start": {
"line": 72,
"column": 40
},
"end": {
"line": 72,
"column": 57
},
"identifierName": "connectedEntities"
},
"name": "connectedEntities"
},
"property": {
"type": "Identifier",
"start": 2382,
"end": 2388,
"loc": {
"start": {
"line": 72,
"column": 58
},
"end": {
"line": 72,
"column": 64
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
},
"operator": "*",
"right": {
"type": "CallExpression",
"start": 2391,
"end": 2429,
"loc": {
"start": {
"line": 72,
"column": 67
},
"end": {
"line": 72,
"column": 105
}
},
"callee": {
"type": "MemberExpression",
"start": 2391,
"end": 2427,
"loc": {
"start": {
"line": 72,
"column": 67
},
"end": {
"line": 72,
"column": 103
}
},
"object": {
"type": "MemberExpression",
"start": 2391,
"end": 2409,
"loc": {
"start": {
"line": 72,
"column": 67
},
"end": {
"line": 72,
"column": 85
}
},
"object": {
"type": "MemberExpression",
"start": 2391,
"end": 2400,
"loc": {
"start": {
"line": 72,
"column": 67
},
"end": {
"line": 72,
"column": 76
}
},
"object": {
"type": "ThisExpression",
"start": 2391,
"end": 2395,
"loc": {
"start": {
"line": 72,
"column": 67
},
"end": {
"line": 72,
"column": 71
}
}
},
"property": {
"type": "Identifier",
"start": 2396,
"end": 2400,
"loc": {
"start": {
"line": 72,
"column": 72
},
"end": {
"line": 72,
"column": 76
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2401,
"end": 2409,
"loc": {
"start": {
"line": 72,
"column": 77
},
"end": {
"line": 72,
"column": 85
},
"identifierName": "hubGoals"
},
"name": "hubGoals"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2410,
"end": 2427,
"loc": {
"start": {
"line": 72,
"column": 86
},
"end": {
"line": 72,
"column": 103
},
"identifierName": "getMinerBaseSpeed"
},
"name": "getMinerBaseSpeed"
},
"computed": false
},
"arguments": []
}
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 2443,
"end": 2503,
"loc": {
"start": {
"line": 74,
"column": 8
},
"end": {
"line": 74,
"column": 68
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2449,
"end": 2502,
"loc": {
"start": {
"line": 74,
"column": 14
},
"end": {
"line": 74,
"column": 67
}
},
"id": {
"type": "Identifier",
"start": 2449,
"end": 2462,
"loc": {
"start": {
"line": 74,
"column": 14
},
"end": {
"line": 74,
"column": 27
},
"identifierName": "maxThroughput"
},
"name": "maxThroughput"
},
"init": {
"type": "CallExpression",
"start": 2465,
"end": 2502,
"loc": {
"start": {
"line": 74,
"column": 30
},
"end": {
"line": 74,
"column": 67
}
},
"callee": {
"type": "MemberExpression",
"start": 2465,
"end": 2500,
"loc": {
"start": {
"line": 74,
"column": 30
},
"end": {
"line": 74,
"column": 65
}
},
"object": {
"type": "MemberExpression",
"start": 2465,
"end": 2483,
"loc": {
"start": {
"line": 74,
"column": 30
},
"end": {
"line": 74,
"column": 48
}
},
"object": {
"type": "MemberExpression",
"start": 2465,
"end": 2474,
"loc": {
"start": {
"line": 74,
"column": 30
},
"end": {
"line": 74,
"column": 39
}
},
"object": {
"type": "ThisExpression",
"start": 2465,
"end": 2469,
"loc": {
"start": {
"line": 74,
"column": 30
},
"end": {
"line": 74,
"column": 34
}
}
},
"property": {
"type": "Identifier",
"start": 2470,
"end": 2474,
"loc": {
"start": {
"line": 74,
"column": 35
},
"end": {
"line": 74,
"column": 39
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2475,
"end": 2483,
"loc": {
"start": {
"line": 74,
"column": 40
},
"end": {
"line": 74,
"column": 48
},
"identifierName": "hubGoals"
},
"name": "hubGoals"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2484,
"end": 2500,
"loc": {
"start": {
"line": 74,
"column": 49
},
"end": {
"line": 74,
"column": 65
},
"identifierName": "getBeltBaseSpeed"
},
"name": "getBeltBaseSpeed"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 2515,
"end": 2580,
"loc": {
"start": {
"line": 76,
"column": 8
},
"end": {
"line": 76,
"column": 73
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2521,
"end": 2579,
"loc": {
"start": {
"line": 76,
"column": 14
},
"end": {
"line": 76,
"column": 72
}
},
"id": {
"type": "Identifier",
"start": 2521,
"end": 2536,
"loc": {
"start": {
"line": 76,
"column": 14
},
"end": {
"line": 76,
"column": 29
},
"identifierName": "tooltipLocation"
},
"name": "tooltipLocation"
},
"init": {
"type": "CallExpression",
"start": 2539,
"end": 2579,
"loc": {
"start": {
"line": 76,
"column": 32
},
"end": {
"line": 76,
"column": 72
}
},
"callee": {
"type": "MemberExpression",
"start": 2539,
"end": 2569,
"loc": {
"start": {
"line": 76,
"column": 32
},
"end": {
"line": 76,
"column": 62
}
},
"object": {
"type": "MemberExpression",
"start": 2539,
"end": 2555,
"loc": {
"start": {
"line": 76,
"column": 32
},
"end": {
"line": 76,
"column": 48
}
},
"object": {
"type": "MemberExpression",
"start": 2539,
"end": 2548,
"loc": {
"start": {
"line": 76,
"column": 32
},
"end": {
"line": 76,
"column": 41
}
},
"object": {
"type": "ThisExpression",
"start": 2539,
"end": 2543,
"loc": {
"start": {
"line": 76,
"column": 32
},
"end": {
"line": 76,
"column": 36
}
}
},
"property": {
"type": "Identifier",
"start": 2544,
"end": 2548,
"loc": {
"start": {
"line": 76,
"column": 37
},
"end": {
"line": 76,
"column": 41
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2549,
"end": 2555,
"loc": {
"start": {
"line": 76,
"column": 42
},
"end": {
"line": 76,
"column": 48
},
"identifierName": "camera"
},
"name": "camera"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2556,
"end": 2569,
"loc": {
"start": {
"line": 76,
"column": 49
},
"end": {
"line": 76,
"column": 62
},
"identifierName": "screenToWorld"
},
"name": "screenToWorld"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 2570,
"end": 2578,
"loc": {
"start": {
"line": 76,
"column": 63
},
"end": {
"line": 76,
"column": 71
},
"identifierName": "mousePos"
},
"name": "mousePos"
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 2592,
"end": 2677,
"loc": {
"start": {
"line": 78,
"column": 8
},
"end": {
"line": 78,
"column": 93
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2598,
"end": 2676,
"loc": {
"start": {
"line": 78,
"column": 14
},
"end": {
"line": 78,
"column": 92
}
},
"id": {
"type": "Identifier",
"start": 2598,
"end": 2603,
"loc": {
"start": {
"line": 78,
"column": 14
},
"end": {
"line": 78,
"column": 19
},
"identifierName": "scale"
},
"name": "scale"
},
"init": {
"type": "BinaryExpression",
"start": 2606,
"end": 2676,
"loc": {
"start": {
"line": 78,
"column": 22
},
"end": {
"line": 78,
"column": 92
}
},
"left": {
"type": "BinaryExpression",
"start": 2607,
"end": 2637,
"loc": {
"start": {
"line": 78,
"column": 23
},
"end": {
"line": 78,
"column": 53
}
},
"left": {
"type": "NumericLiteral",
"start": 2607,
"end": 2608,
"loc": {
"start": {
"line": 78,
"column": 23
},
"end": {
"line": 78,
"column": 24
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"operator": "/",
"right": {
"type": "MemberExpression",
"start": 2611,
"end": 2637,
"loc": {
"start": {
"line": 78,
"column": 27
},
"end": {
"line": 78,
"column": 53
}
},
"object": {
"type": "MemberExpression",
"start": 2611,
"end": 2627,
"loc": {
"start": {
"line": 78,
"column": 27
},
"end": {
"line": 78,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 2611,
"end": 2620,
"loc": {
"start": {
"line": 78,
"column": 27
},
"end": {
"line": 78,
"column": 36
}
},
"object": {
"type": "ThisExpression",
"start": 2611,
"end": 2615,
"loc": {
"start": {
"line": 78,
"column": 27
},
"end": {
"line": 78,
"column": 31
}
}
},
"property": {
"type": "Identifier",
"start": 2616,
"end": 2620,
"loc": {
"start": {
"line": 78,
"column": 32
},
"end": {
"line": 78,
"column": 36
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2621,
"end": 2627,
"loc": {
"start": {
"line": 78,
"column": 37
},
"end": {
"line": 78,
"column": 43
},
"identifierName": "camera"
},
"name": "camera"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2628,
"end": 2637,
"loc": {
"start": {
"line": 78,
"column": 44
},
"end": {
"line": 78,
"column": 53
},
"identifierName": "zoomLevel"
},
"name": "zoomLevel"
},
"computed": false
},
"extra": {
"parenthesized": true,
"parenStart": 2606
}
},
"operator": "*",
"right": {
"type": "CallExpression",
"start": 2641,
"end": 2676,
"loc": {
"start": {
"line": 78,
"column": 57
},
"end": {
"line": 78,
"column": 92
}
},
"callee": {
"type": "MemberExpression",
"start": 2641,
"end": 2674,
"loc": {
"start": {
"line": 78,
"column": 57
},
"end": {
"line": 78,
"column": 90
}
},
"object": {
"type": "MemberExpression",
"start": 2641,
"end": 2654,
"loc": {
"start": {
"line": 78,
"column": 57
},
"end": {
"line": 78,
"column": 70
}
},
"object": {
"type": "MemberExpression",
"start": 2641,
"end": 2650,
"loc": {
"start": {
"line": 78,
"column": 57
},
"end": {
"line": 78,
"column": 66
}
},
"object": {
"type": "ThisExpression",
"start": 2641,
"end": 2645,
"loc": {
"start": {
"line": 78,
"column": 57
},
"end": {
"line": 78,
"column": 61
}
}
},
"property": {
"type": "Identifier",
"start": 2646,
"end": 2650,
"loc": {
"start": {
"line": 78,
"column": 62
},
"end": {
"line": 78,
"column": 66
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2651,
"end": 2654,
"loc": {
"start": {
"line": 78,
"column": 67
},
"end": {
"line": 78,
"column": 70
},
"identifierName": "app"
},
"name": "app"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2655,
"end": 2674,
"loc": {
"start": {
"line": 78,
"column": 71
},
"end": {
"line": 78,
"column": 90
},
"identifierName": "getEffectiveUiScale"
},
"name": "getEffectiveUiScale"
},
"computed": false
},
"arguments": []
}
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 2689,
"end": 2733,
"loc": {
"start": {
"line": 80,
"column": 8
},
"end": {
"line": 80,
"column": 52
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2695,
"end": 2732,
"loc": {
"start": {
"line": 80,
"column": 14
},
"end": {
"line": 80,
"column": 51
}
},
"id": {
"type": "Identifier",
"start": 2695,
"end": 2703,
"loc": {
"start": {
"line": 80,
"column": 14
},
"end": {
"line": 80,
"column": 22
},
"identifierName": "isCapped"
},
"name": "isCapped"
},
"init": {
"type": "BinaryExpression",
"start": 2706,
"end": 2732,
"loc": {
"start": {
"line": 80,
"column": 25
},
"end": {
"line": 80,
"column": 51
}
},
"left": {
"type": "Identifier",
"start": 2706,
"end": 2716,
"loc": {
"start": {
"line": 80,
"column": 25
},
"end": {
"line": 80,
"column": 35
},
"identifierName": "throughput"
},
"name": "throughput"
},
"operator": ">",
"right": {
"type": "Identifier",
"start": 2719,
"end": 2732,
"loc": {
"start": {
"line": 80,
"column": 38
},
"end": {
"line": 80,
"column": 51
},
"identifierName": "maxThroughput"
},
"name": "maxThroughput"
}
}
}
],
"kind": "const",
"trailingComments": [
{
"type": "CommentLine",
"value": " Background",
"start": 2745,
"end": 2758,
"loc": {
"start": {
"line": 82,
"column": 8
},
"end": {
"line": 82,
"column": 21
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 2768,
"end": 2836,
"loc": {
"start": {
"line": 83,
"column": 8
},
"end": {
"line": 83,
"column": 76
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2768,
"end": 2835,
"loc": {
"start": {
"line": 83,
"column": 8
},
"end": {
"line": 83,
"column": 75
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2768,
"end": 2796,
"loc": {
"start": {
"line": 83,
"column": 8
},
"end": {
"line": 83,
"column": 36
}
},
"object": {
"type": "MemberExpression",
"start": 2768,
"end": 2786,
"loc": {
"start": {
"line": 83,
"column": 8
},
"end": {
"line": 83,
"column": 26
}
},
"object": {
"type": "Identifier",
"start": 2768,
"end": 2778,
"loc": {
"start": {
"line": 83,
"column": 8
},
"end": {
"line": 83,
"column": 18
},
"identifierName": "parameters"
},
"name": "parameters",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 2779,
"end": 2786,
"loc": {
"start": {
"line": 83,
"column": 19
},
"end": {
"line": 83,
"column": 26
},
"identifierName": "context"
},
"name": "context"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 2787,
"end": 2796,
"loc": {
"start": {
"line": 83,
"column": 27
},
"end": {
"line": 83,
"column": 36
},
"identifierName": "fillStyle"
},
"name": "fillStyle"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "MemberExpression",
"start": 2799,
"end": 2835,
"loc": {
"start": {
"line": 83,
"column": 39
},
"end": {
"line": 83,
"column": 75
}
},
"object": {
"type": "MemberExpression",
"start": 2799,
"end": 2824,
"loc": {
"start": {
"line": 83,
"column": 39
},
"end": {
"line": 83,
"column": 64
}
},
"object": {
"type": "MemberExpression",
"start": 2799,
"end": 2808,
"loc": {
"start": {
"line": 83,
"column": 39
},
"end": {
"line": 83,
"column": 48
}
},
"object": {
"type": "Identifier",
"start": 2799,
"end": 2804,
"loc": {
"start": {
"line": 83,
"column": 39
},
"end": {
"line": 83,
"column": 44
},
"identifierName": "THEME"
},
"name": "THEME"
},
"property": {
"type": "Identifier",
"start": 2805,
"end": 2808,
"loc": {
"start": {
"line": 83,
"column": 45
},
"end": {
"line": 83,
"column": 48
},
"identifierName": "map"
},
"name": "map"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2809,
"end": 2824,
"loc": {
"start": {
"line": 83,
"column": 49
},
"end": {
"line": 83,
"column": 64
},
"identifierName": "connectedMiners"
},
"name": "connectedMiners"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2825,
"end": 2835,
"loc": {
"start": {
"line": 83,
"column": 65
},
"end": {
"line": 83,
"column": 75
},
"identifierName": "background"
},
"name": "background"
},
"computed": false
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Background",
"start": 2745,
"end": 2758,
"loc": {
"start": {
"line": 82,
"column": 8
},
"end": {
"line": 82,
"column": 21
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 2846,
"end": 3084,
"loc": {
"start": {
"line": 84,
"column": 8
},
"end": {
"line": 90,
"column": 10
}
},
"expression": {
"type": "CallExpression",
"start": 2846,
"end": 3083,
"loc": {
"start": {
"line": 84,
"column": 8
},
"end": {
"line": 90,
"column": 9
}
},
"callee": {
"type": "MemberExpression",
"start": 2846,
"end": 2881,
"loc": {
"start": {
"line": 84,
"column": 8
},
"end": {
"line": 84,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 2846,
"end": 2864,
"loc": {
"start": {
"line": 84,
"column": 8
},
"end": {
"line": 84,
"column": 26
}
},
"object": {
"type": "Identifier",
"start": 2846,
"end": 2856,
"loc": {
"start": {
"line": 84,
"column": 8
},
"end": {
"line": 84,
"column": 18
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "Identifier",
"start": 2857,
"end": 2864,
"loc": {
"start": {
"line": 84,
"column": 19
},
"end": {
"line": 84,
"column": 26
},
"identifierName": "context"
},
"name": "context"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2865,
"end": 2881,
"loc": {
"start": {
"line": 84,
"column": 27
},
"end": {
"line": 84,
"column": 43
},
"identifierName": "beginRoundedRect"
},
"name": "beginRoundedRect"
},
"computed": false
},
"arguments": [
{
"type": "BinaryExpression",
"start": 2896,
"end": 2925,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 41
}
},
"left": {
"type": "MemberExpression",
"start": 2896,
"end": 2913,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 2896,
"end": 2911,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 27
},
"identifierName": "tooltipLocation"
},
"name": "tooltipLocation"
},
"property": {
"type": "Identifier",
"start": 2912,
"end": 2913,
"loc": {
"start": {
"line": 85,
"column": 28
},
"end": {
"line": 85,
"column": 29
},
"identifierName": "x"
},
"name": "x"
},
"computed": false
},
"operator": "+",
"right": {
"type": "BinaryExpression",
"start": 2916,
"end": 2925,
"loc": {
"start": {
"line": 85,
"column": 32
},
"end": {
"line": 85,
"column": 41
}
},
"left": {
"type": "NumericLiteral",
"start": 2916,
"end": 2917,
"loc": {
"start": {
"line": 85,
"column": 32
},
"end": {
"line": 85,
"column": 33
}
},
"extra": {
"rawValue": 5,
"raw": "5"
},
"value": 5
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 2920,
"end": 2925,
"loc": {
"start": {
"line": 85,
"column": 36
},
"end": {
"line": 85,
"column": 41
},
"identifierName": "scale"
},
"name": "scale"
}
}
},
{
"type": "BinaryExpression",
"start": 2940,
"end": 2969,
"loc": {
"start": {
"line": 86,
"column": 12
},
"end": {
"line": 86,
"column": 41
}
},
"left": {
"type": "MemberExpression",
"start": 2940,
"end": 2957,
"loc": {
"start": {
"line": 86,
"column": 12
},
"end": {
"line": 86,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 2940,
"end": 2955,
"loc": {
"start": {
"line": 86,
"column": 12
},
"end": {
"line": 86,
"column": 27
},
"identifierName": "tooltipLocation"
},
"name": "tooltipLocation"
},
"property": {
"type": "Identifier",
"start": 2956,
"end": 2957,
"loc": {
"start": {
"line": 86,
"column": 28
},
"end": {
"line": 86,
"column": 29
},
"identifierName": "y"
},
"name": "y"
},
"computed": false
},
"operator": "-",
"right": {
"type": "BinaryExpression",
"start": 2960,
"end": 2969,
"loc": {
"start": {
"line": 86,
"column": 32
},
"end": {
"line": 86,
"column": 41
}
},
"left": {
"type": "NumericLiteral",
"start": 2960,
"end": 2961,
"loc": {
"start": {
"line": 86,
"column": 32
},
"end": {
"line": 86,
"column": 33
}
},
"extra": {
"rawValue": 3,
"raw": "3"
},
"value": 3
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 2964,
"end": 2969,
"loc": {
"start": {
"line": 86,
"column": 36
},
"end": {
"line": 86,
"column": 41
},
"identifierName": "scale"
},
"name": "scale"
}
}
},
{
"type": "BinaryExpression",
"start": 2984,
"end": 3013,
"loc": {
"start": {
"line": 87,
"column": 12
},
"end": {
"line": 87,
"column": 41
}
},
"left": {
"type": "ConditionalExpression",
"start": 2985,
"end": 3004,
"loc": {
"start": {
"line": 87,
"column": 13
},
"end": {
"line": 87,
"column": 32
}
},
"test": {
"type": "Identifier",
"start": 2985,
"end": 2993,
"loc": {
"start": {
"line": 87,
"column": 13
},
"end": {
"line": 87,
"column": 21
},
"identifierName": "isCapped"
},
"name": "isCapped"
},
"consequent": {
"type": "NumericLiteral",
"start": 2996,
"end": 2999,
"loc": {
"start": {
"line": 87,
"column": 24
},
"end": {
"line": 87,
"column": 27
}
},
"extra": {
"rawValue": 100,
"raw": "100"
},
"value": 100
},
"alternate": {
"type": "NumericLiteral",
"start": 3002,
"end": 3004,
"loc": {
"start": {
"line": 87,
"column": 30
},
"end": {
"line": 87,
"column": 32
}
},
"extra": {
"rawValue": 65,
"raw": "65"
},
"value": 65
},
"extra": {
"parenthesized": true,
"parenStart": 2984
}
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 3008,
"end": 3013,
"loc": {
"start": {
"line": 87,
"column": 36
},
"end": {
"line": 87,
"column": 41
},
"identifierName": "scale"
},
"name": "scale"
}
},
{
"type": "BinaryExpression",
"start": 3028,
"end": 3056,
"loc": {
"start": {
"line": 88,
"column": 12
},
"end": {
"line": 88,
"column": 40
}
},
"left": {
"type": "ConditionalExpression",
"start": 3029,
"end": 3047,
"loc": {
"start": {
"line": 88,
"column": 13
},
"end": {
"line": 88,
"column": 31
}
},
"test": {
"type": "Identifier",
"start": 3029,
"end": 3037,
"loc": {
"start": {
"line": 88,
"column": 13
},
"end": {
"line": 88,
"column": 21
},
"identifierName": "isCapped"
},
"name": "isCapped"
},
"consequent": {
"type": "NumericLiteral",
"start": 3040,
"end": 3042,
"loc": {
"start": {
"line": 88,
"column": 24
},
"end": {
"line": 88,
"column": 26
}
},
"extra": {
"rawValue": 45,
"raw": "45"
},
"value": 45
},
"alternate": {
"type": "NumericLiteral",
"start": 3045,
"end": 3047,
"loc": {
"start": {
"line": 88,
"column": 29
},
"end": {
"line": 88,
"column": 31
}
},
"extra": {
"rawValue": 30,
"raw": "30"
},
"value": 30
},
"extra": {
"parenthesized": true,
"parenStart": 3028
}
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 3051,
"end": 3056,
"loc": {
"start": {
"line": 88,
"column": 35
},
"end": {
"line": 88,
"column": 40
},
"identifierName": "scale"
},
"name": "scale"
}
},
{
"type": "NumericLiteral",
"start": 3071,
"end": 3072,
"loc": {
"start": {
"line": 89,
"column": 12
},
"end": {
"line": 89,
"column": 13
}
},
"extra": {
"rawValue": 2,
"raw": "2"
},
"value": 2
}
]
}
},
{
"type": "ExpressionStatement",
"start": 3094,
"end": 3120,
"loc": {
"start": {
"line": 91,
"column": 8
},
"end": {
"line": 91,
"column": 34
}
},
"expression": {
"type": "CallExpression",
"start": 3094,
"end": 3119,
"loc": {
"start": {
"line": 91,
"column": 8
},
"end": {
"line": 91,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 3094,
"end": 3117,
"loc": {
"start": {
"line": 91,
"column": 8
},
"end": {
"line": 91,
"column": 31
}
},
"object": {
"type": "MemberExpression",
"start": 3094,
"end": 3112,
"loc": {
"start": {
"line": 91,
"column": 8
},
"end": {
"line": 91,
"column": 26
}
},
"object": {
"type": "Identifier",
"start": 3094,
"end": 3104,
"loc": {
"start": {
"line": 91,
"column": 8
},
"end": {
"line": 91,
"column": 18
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "Identifier",
"start": 3105,
"end": 3112,
"loc": {
"start": {
"line": 91,
"column": 19
},
"end": {
"line": 91,
"column": 26
},
"identifierName": "context"
},
"name": "context"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3113,
"end": 3117,
"loc": {
"start": {
"line": 91,
"column": 27
},
"end": {
"line": 91,
"column": 31
},
"identifierName": "fill"
},
"name": "fill"
},
"computed": false
},
"arguments": []
},
"trailingComments": [
{
"type": "CommentLine",
"value": " Throughput",
"start": 3132,
"end": 3145,
"loc": {
"start": {
"line": 93,
"column": 8
},
"end": {
"line": 93,
"column": 21
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 3155,
"end": 3222,
"loc": {
"start": {
"line": 94,
"column": 8
},
"end": {
"line": 94,
"column": 75
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3155,
"end": 3221,
"loc": {
"start": {
"line": 94,
"column": 8
},
"end": {
"line": 94,
"column": 74
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3155,
"end": 3183,
"loc": {
"start": {
"line": 94,
"column": 8
},
"end": {
"line": 94,
"column": 36
}
},
"object": {
"type": "MemberExpression",
"start": 3155,
"end": 3173,
"loc": {
"start": {
"line": 94,
"column": 8
},
"end": {
"line": 94,
"column": 26
}
},
"object": {
"type": "Identifier",
"start": 3155,
"end": 3165,
"loc": {
"start": {
"line": 94,
"column": 8
},
"end": {
"line": 94,
"column": 18
},
"identifierName": "parameters"
},
"name": "parameters",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 3166,
"end": 3173,
"loc": {
"start": {
"line": 94,
"column": 19
},
"end": {
"line": 94,
"column": 26
},
"identifierName": "context"
},
"name": "context"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 3174,
"end": 3183,
"loc": {
"start": {
"line": 94,
"column": 27
},
"end": {
"line": 94,
"column": 36
},
"identifierName": "fillStyle"
},
"name": "fillStyle"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "MemberExpression",
"start": 3186,
"end": 3221,
"loc": {
"start": {
"line": 94,
"column": 39
},
"end": {
"line": 94,
"column": 74
}
},
"object": {
"type": "MemberExpression",
"start": 3186,
"end": 3211,
"loc": {
"start": {
"line": 94,
"column": 39
},
"end": {
"line": 94,
"column": 64
}
},
"object": {
"type": "MemberExpression",
"start": 3186,
"end": 3195,
"loc": {
"start": {
"line": 94,
"column": 39
},
"end": {
"line": 94,
"column": 48
}
},
"object": {
"type": "Identifier",
"start": 3186,
"end": 3191,
"loc": {
"start": {
"line": 94,
"column": 39
},
"end": {
"line": 94,
"column": 44
},
"identifierName": "THEME"
},
"name": "THEME"
},
"property": {
"type": "Identifier",
"start": 3192,
"end": 3195,
"loc": {
"start": {
"line": 94,
"column": 45
},
"end": {
"line": 94,
"column": 48
},
"identifierName": "map"
},
"name": "map"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3196,
"end": 3211,
"loc": {
"start": {
"line": 94,
"column": 49
},
"end": {
"line": 94,
"column": 64
},
"identifierName": "connectedMiners"
},
"name": "connectedMiners"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3212,
"end": 3221,
"loc": {
"start": {
"line": 94,
"column": 65
},
"end": {
"line": 94,
"column": 74
},
"identifierName": "textColor"
},
"name": "textColor"
},
"computed": false
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Throughput",
"start": 3132,
"end": 3145,
"loc": {
"start": {
"line": 93,
"column": 8
},
"end": {
"line": 93,
"column": 21
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 3232,
"end": 3295,
"loc": {
"start": {
"line": 95,
"column": 8
},
"end": {
"line": 95,
"column": 71
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3232,
"end": 3294,
"loc": {
"start": {
"line": 95,
"column": 8
},
"end": {
"line": 95,
"column": 70
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3232,
"end": 3255,
"loc": {
"start": {
"line": 95,
"column": 8
},
"end": {
"line": 95,
"column": 31
}
},
"object": {
"type": "MemberExpression",
"start": 3232,
"end": 3250,
"loc": {
"start": {
"line": 95,
"column": 8
},
"end": {
"line": 95,
"column": 26
}
},
"object": {
"type": "Identifier",
"start": 3232,
"end": 3242,
"loc": {
"start": {
"line": 95,
"column": 8
},
"end": {
"line": 95,
"column": 18
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "Identifier",
"start": 3243,
"end": 3250,
"loc": {
"start": {
"line": 95,
"column": 19
},
"end": {
"line": 95,
"column": 26
},
"identifierName": "context"
},
"name": "context"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3251,
"end": 3255,
"loc": {
"start": {
"line": 95,
"column": 27
},
"end": {
"line": 95,
"column": 31
},
"identifierName": "font"
},
"name": "font"
},
"computed": false
},
"right": {
"type": "BinaryExpression",
"start": 3258,
"end": 3294,
"loc": {
"start": {
"line": 95,
"column": 34
},
"end": {
"line": 95,
"column": 70
}
},
"left": {
"type": "BinaryExpression",
"start": 3258,
"end": 3278,
"loc": {
"start": {
"line": 95,
"column": 34
},
"end": {
"line": 95,
"column": 54
}
},
"left": {
"type": "StringLiteral",
"start": 3258,
"end": 3265,
"loc": {
"start": {
"line": 95,
"column": 34
},
"end": {
"line": 95,
"column": 41
}
},
"extra": {
"rawValue": "bold ",
"raw": "\"bold \""
},
"value": "bold "
},
"operator": "+",
"right": {
"type": "BinaryExpression",
"start": 3268,
"end": 3278,
"loc": {
"start": {
"line": 95,
"column": 44
},
"end": {
"line": 95,
"column": 54
}
},
"left": {
"type": "Identifier",
"start": 3268,
"end": 3273,
"loc": {
"start": {
"line": 95,
"column": 44
},
"end": {
"line": 95,
"column": 49
},
"identifierName": "scale"
},
"name": "scale"
},
"operator": "*",
"right": {
"type": "NumericLiteral",
"start": 3276,
"end": 3278,
"loc": {
"start": {
"line": 95,
"column": 52
},
"end": {
"line": 95,
"column": 54
}
},
"extra": {
"rawValue": 10,
"raw": "10"
},
"value": 10
}
}
},
"operator": "+",
"right": {
"type": "StringLiteral",
"start": 3281,
"end": 3294,
"loc": {
"start": {
"line": 95,
"column": 57
},
"end": {
"line": 95,
"column": 70
}
},
"extra": {
"rawValue": "px GameFont",
"raw": "\"px GameFont\""
},
"value": "px GameFont"
}
}
}
},
{
"type": "ExpressionStatement",
"start": 3305,
"end": 3481,
"loc": {
"start": {
"line": 96,
"column": 8
},
"end": {
"line": 100,
"column": 10
}
},
"expression": {
"type": "CallExpression",
"start": 3305,
"end": 3480,
"loc": {
"start": {
"line": 96,
"column": 8
},
"end": {
"line": 100,
"column": 9
}
},
"callee": {
"type": "MemberExpression",
"start": 3305,
"end": 3332,
"loc": {
"start": {
"line": 96,
"column": 8
},
"end": {
"line": 96,
"column": 35
}
},
"object": {
"type": "MemberExpression",
"start": 3305,
"end": 3323,
"loc": {
"start": {
"line": 96,
"column": 8
},
"end": {
"line": 96,
"column": 26
}
},
"object": {
"type": "Identifier",
"start": 3305,
"end": 3315,
"loc": {
"start": {
"line": 96,
"column": 8
},
"end": {
"line": 96,
"column": 18
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "Identifier",
"start": 3316,
"end": 3323,
"loc": {
"start": {
"line": 96,
"column": 19
},
"end": {
"line": 96,
"column": 26
},
"identifierName": "context"
},
"name": "context"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3324,
"end": 3332,
"loc": {
"start": {
"line": 96,
"column": 27
},
"end": {
"line": 96,
"column": 35
},
"identifierName": "fillText"
},
"name": "fillText"
},
"computed": false
},
"arguments": [
{
"type": "CallExpression",
"start": 3347,
"end": 3379,
"loc": {
"start": {
"line": 97,
"column": 12
},
"end": {
"line": 97,
"column": 44
}
},
"callee": {
"type": "Identifier",
"start": 3347,
"end": 3367,
"loc": {
"start": {
"line": 97,
"column": 12
},
"end": {
"line": 97,
"column": 32
},
"identifierName": "formatItemsPerSecond"
},
"name": "formatItemsPerSecond"
},
"arguments": [
{
"type": "Identifier",
"start": 3368,
"end": 3378,
"loc": {
"start": {
"line": 97,
"column": 33
},
"end": {
"line": 97,
"column": 43
},
"identifierName": "throughput"
},
"name": "throughput"
}
]
},
{
"type": "BinaryExpression",
"start": 3394,
"end": 3424,
"loc": {
"start": {
"line": 98,
"column": 12
},
"end": {
"line": 98,
"column": 42
}
},
"left": {
"type": "MemberExpression",
"start": 3394,
"end": 3411,
"loc": {
"start": {
"line": 98,
"column": 12
},
"end": {
"line": 98,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 3394,
"end": 3409,
"loc": {
"start": {
"line": 98,
"column": 12
},
"end": {
"line": 98,
"column": 27
},
"identifierName": "tooltipLocation"
},
"name": "tooltipLocation"
},
"property": {
"type": "Identifier",
"start": 3410,
"end": 3411,
"loc": {
"start": {
"line": 98,
"column": 28
},
"end": {
"line": 98,
"column": 29
},
"identifierName": "x"
},
"name": "x"
},
"computed": false
},
"operator": "+",
"right": {
"type": "BinaryExpression",
"start": 3414,
"end": 3424,
"loc": {
"start": {
"line": 98,
"column": 32
},
"end": {
"line": 98,
"column": 42
}
},
"left": {
"type": "NumericLiteral",
"start": 3414,
"end": 3416,
"loc": {
"start": {
"line": 98,
"column": 32
},
"end": {
"line": 98,
"column": 34
}
},
"extra": {
"rawValue": 10,
"raw": "10"
},
"value": 10
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 3419,
"end": 3424,
"loc": {
"start": {
"line": 98,
"column": 37
},
"end": {
"line": 98,
"column": 42
},
"identifierName": "scale"
},
"name": "scale"
}
}
},
{
"type": "BinaryExpression",
"start": 3439,
"end": 3469,
"loc": {
"start": {
"line": 99,
"column": 12
},
"end": {
"line": 99,
"column": 42
}
},
"left": {
"type": "MemberExpression",
"start": 3439,
"end": 3456,
"loc": {
"start": {
"line": 99,
"column": 12
},
"end": {
"line": 99,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 3439,
"end": 3454,
"loc": {
"start": {
"line": 99,
"column": 12
},
"end": {
"line": 99,
"column": 27
},
"identifierName": "tooltipLocation"
},
"name": "tooltipLocation"
},
"property": {
"type": "Identifier",
"start": 3455,
"end": 3456,
"loc": {
"start": {
"line": 99,
"column": 28
},
"end": {
"line": 99,
"column": 29
},
"identifierName": "y"
},
"name": "y"
},
"computed": false
},
"operator": "+",
"right": {
"type": "BinaryExpression",
"start": 3459,
"end": 3469,
"loc": {
"start": {
"line": 99,
"column": 32
},
"end": {
"line": 99,
"column": 42
}
},
"left": {
"type": "NumericLiteral",
"start": 3459,
"end": 3461,
"loc": {
"start": {
"line": 99,
"column": 32
},
"end": {
"line": 99,
"column": 34
}
},
"extra": {
"rawValue": 10,
"raw": "10"
},
"value": 10
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 3464,
"end": 3469,
"loc": {
"start": {
"line": 99,
"column": 37
},
"end": {
"line": 99,
"column": 42
},
"identifierName": "scale"
},
"name": "scale"
}
}
}
]
},
"trailingComments": [
{
"type": "CommentLine",
"value": " Amount of miners",
"start": 3493,
"end": 3512,
"loc": {
"start": {
"line": 102,
"column": 8
},
"end": {
"line": 102,
"column": 27
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 3522,
"end": 3559,
"loc": {
"start": {
"line": 103,
"column": 8
},
"end": {
"line": 103,
"column": 45
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3522,
"end": 3558,
"loc": {
"start": {
"line": 103,
"column": 8
},
"end": {
"line": 103,
"column": 44
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3522,
"end": 3552,
"loc": {
"start": {
"line": 103,
"column": 8
},
"end": {
"line": 103,
"column": 38
}
},
"object": {
"type": "MemberExpression",
"start": 3522,
"end": 3540,
"loc": {
"start": {
"line": 103,
"column": 8
},
"end": {
"line": 103,
"column": 26
}
},
"object": {
"type": "Identifier",
"start": 3522,
"end": 3532,
"loc": {
"start": {
"line": 103,
"column": 8
},
"end": {
"line": 103,
"column": 18
},
"identifierName": "parameters"
},
"name": "parameters",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 3533,
"end": 3540,
"loc": {
"start": {
"line": 103,
"column": 19
},
"end": {
"line": 103,
"column": 26
},
"identifierName": "context"
},
"name": "context"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 3541,
"end": 3552,
"loc": {
"start": {
"line": 103,
"column": 27
},
"end": {
"line": 103,
"column": 38
},
"identifierName": "globalAlpha"
},
"name": "globalAlpha"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "NumericLiteral",
"start": 3555,
"end": 3558,
"loc": {
"start": {
"line": 103,
"column": 41
},
"end": {
"line": 103,
"column": 44
}
},
"extra": {
"rawValue": 0.6,
"raw": "0.6"
},
"value": 0.6
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Amount of miners",
"start": 3493,
"end": 3512,
"loc": {
"start": {
"line": 102,
"column": 8
},
"end": {
"line": 102,
"column": 27
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 3569,
"end": 3631,
"loc": {
"start": {
"line": 104,
"column": 8
},
"end": {
"line": 104,
"column": 70
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3569,
"end": 3630,
"loc": {
"start": {
"line": 104,
"column": 8
},
"end": {
"line": 104,
"column": 69
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3569,
"end": 3592,
"loc": {
"start": {
"line": 104,
"column": 8
},
"end": {
"line": 104,
"column": 31
}
},
"object": {
"type": "MemberExpression",
"start": 3569,
"end": 3587,
"loc": {
"start": {
"line": 104,
"column": 8
},
"end": {
"line": 104,
"column": 26
}
},
"object": {
"type": "Identifier",
"start": 3569,
"end": 3579,
"loc": {
"start": {
"line": 104,
"column": 8
},
"end": {
"line": 104,
"column": 18
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "Identifier",
"start": 3580,
"end": 3587,
"loc": {
"start": {
"line": 104,
"column": 19
},
"end": {
"line": 104,
"column": 26
},
"identifierName": "context"
},
"name": "context"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3588,
"end": 3592,
"loc": {
"start": {
"line": 104,
"column": 27
},
"end": {
"line": 104,
"column": 31
},
"identifierName": "font"
},
"name": "font"
},
"computed": false
},
"right": {
"type": "BinaryExpression",
"start": 3595,
"end": 3630,
"loc": {
"start": {
"line": 104,
"column": 34
},
"end": {
"line": 104,
"column": 69
}
},
"left": {
"type": "BinaryExpression",
"start": 3595,
"end": 3614,
"loc": {
"start": {
"line": 104,
"column": 34
},
"end": {
"line": 104,
"column": 53
}
},
"left": {
"type": "StringLiteral",
"start": 3595,
"end": 3602,
"loc": {
"start": {
"line": 104,
"column": 34
},
"end": {
"line": 104,
"column": 41
}
},
"extra": {
"rawValue": "bold ",
"raw": "\"bold \""
},
"value": "bold "
},
"operator": "+",
"right": {
"type": "BinaryExpression",
"start": 3605,
"end": 3614,
"loc": {
"start": {
"line": 104,
"column": 44
},
"end": {
"line": 104,
"column": 53
}
},
"left": {
"type": "Identifier",
"start": 3605,
"end": 3610,
"loc": {
"start": {
"line": 104,
"column": 44
},
"end": {
"line": 104,
"column": 49
},
"identifierName": "scale"
},
"name": "scale"
},
"operator": "*",
"right": {
"type": "NumericLiteral",
"start": 3613,
"end": 3614,
"loc": {
"start": {
"line": 104,
"column": 52
},
"end": {
"line": 104,
"column": 53
}
},
"extra": {
"rawValue": 8,
"raw": "8"
},
"value": 8
}
}
},
"operator": "+",
"right": {
"type": "StringLiteral",
"start": 3617,
"end": 3630,
"loc": {
"start": {
"line": 104,
"column": 56
},
"end": {
"line": 104,
"column": 69
}
},
"extra": {
"rawValue": "px GameFont",
"raw": "\"px GameFont\""
},
"value": "px GameFont"
}
}
}
},
{
"type": "ExpressionStatement",
"start": 3641,
"end": 3968,
"loc": {
"start": {
"line": 105,
"column": 8
},
"end": {
"line": 111,
"column": 10
}
},
"expression": {
"type": "CallExpression",
"start": 3641,
"end": 3967,
"loc": {
"start": {
"line": 105,
"column": 8
},
"end": {
"line": 111,
"column": 9
}
},
"callee": {
"type": "MemberExpression",
"start": 3641,
"end": 3668,
"loc": {
"start": {
"line": 105,
"column": 8
},
"end": {
"line": 105,
"column": 35
}
},
"object": {
"type": "MemberExpression",
"start": 3641,
"end": 3659,
"loc": {
"start": {
"line": 105,
"column": 8
},
"end": {
"line": 105,
"column": 26
}
},
"object": {
"type": "Identifier",
"start": 3641,
"end": 3651,
"loc": {
"start": {
"line": 105,
"column": 8
},
"end": {
"line": 105,
"column": 18
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "Identifier",
"start": 3652,
"end": 3659,
"loc": {
"start": {
"line": 105,
"column": 19
},
"end": {
"line": 105,
"column": 26
},
"identifierName": "context"
},
"name": "context"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3660,
"end": 3668,
"loc": {
"start": {
"line": 105,
"column": 27
},
"end": {
"line": 105,
"column": 35
},
"identifierName": "fillText"
},
"name": "fillText"
},
"computed": false
},
"arguments": [
{
"type": "ConditionalExpression",
"start": 3683,
"end": 3866,
"loc": {
"start": {
"line": 106,
"column": 12
},
"end": {
"line": 108,
"column": 99
}
},
"test": {
"type": "BinaryExpression",
"start": 3683,
"end": 3713,
"loc": {
"start": {
"line": 106,
"column": 12
},
"end": {
"line": 106,
"column": 42
}
},
"left": {
"type": "MemberExpression",
"start": 3683,
"end": 3707,
"loc": {
"start": {
"line": 106,
"column": 12
},
"end": {
"line": 106,
"column": 36
}
},
"object": {
"type": "Identifier",
"start": 3683,
"end": 3700,
"loc": {
"start": {
"line": 106,
"column": 12
},
"end": {
"line": 106,
"column": 29
},
"identifierName": "connectedEntities"
},
"name": "connectedEntities"
},
"property": {
"type": "Identifier",
"start": 3701,
"end": 3707,
"loc": {
"start": {
"line": 106,
"column": 30
},
"end": {
"line": 106,
"column": 36
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
},
"operator": "===",
"right": {
"type": "NumericLiteral",
"start": 3712,
"end": 3713,
"loc": {
"start": {
"line": 106,
"column": 41
},
"end": {
"line": 106,
"column": 42
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
},
"consequent": {
"type": "MemberExpression",
"start": 3729,
"end": 3763,
"loc": {
"start": {
"line": 107,
"column": 12
},
"end": {
"line": 107,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 3729,
"end": 3753,
"loc": {
"start": {
"line": 107,
"column": 12
},
"end": {
"line": 107,
"column": 36
}
},
"object": {
"type": "MemberExpression",
"start": 3729,
"end": 3737,
"loc": {
"start": {
"line": 107,
"column": 12
},
"end": {
"line": 107,
"column": 20
}
},
"object": {
"type": "Identifier",
"start": 3729,
"end": 3730,
"loc": {
"start": {
"line": 107,
"column": 12
},
"end": {
"line": 107,
"column": 13
},
"identifierName": "T"
},
"name": "T"
},
"property": {
"type": "Identifier",
"start": 3731,
"end": 3737,
"loc": {
"start": {
"line": 107,
"column": 14
},
"end": {
"line": 107,
"column": 20
},
"identifierName": "ingame"
},
"name": "ingame"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3738,
"end": 3753,
"loc": {
"start": {
"line": 107,
"column": 21
},
"end": {
"line": 107,
"column": 36
},
"identifierName": "connectedMiners"
},
"name": "connectedMiners"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3754,
"end": 3763,
"loc": {
"start": {
"line": 107,
"column": 37
},
"end": {
"line": 107,
"column": 46
},
"identifierName": "one_miner"
},
"name": "one_miner"
},
"computed": false
},
"alternate": {
"type": "CallExpression",
"start": 3779,
"end": 3866,
"loc": {
"start": {
"line": 108,
"column": 12
},
"end": {
"line": 108,
"column": 99
}
},
"callee": {
"type": "MemberExpression",
"start": 3779,
"end": 3820,
"loc": {
"start": {
"line": 108,
"column": 12
},
"end": {
"line": 108,
"column": 53
}
},
"object": {
"type": "MemberExpression",
"start": 3779,
"end": 3812,
"loc": {
"start": {
"line": 108,
"column": 12
},
"end": {
"line": 108,
"column": 45
}
},
"object": {
"type": "MemberExpression",
"start": 3779,
"end": 3803,
"loc": {
"start": {
"line": 108,
"column": 12
},
"end": {
"line": 108,
"column": 36
}
},
"object": {
"type": "MemberExpression",
"start": 3779,
"end": 3787,
"loc": {
"start": {
"line": 108,
"column": 12
},
"end": {
"line": 108,
"column": 20
}
},
"object": {
"type": "Identifier",
"start": 3779,
"end": 3780,
"loc": {
"start": {
"line": 108,
"column": 12
},
"end": {
"line": 108,
"column": 13
},
"identifierName": "T"
},
"name": "T"
},
"property": {
"type": "Identifier",
"start": 3781,
"end": 3787,
"loc": {
"start": {
"line": 108,
"column": 14
},
"end": {
"line": 108,
"column": 20
},
"identifierName": "ingame"
},
"name": "ingame"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3788,
"end": 3803,
"loc": {
"start": {
"line": 108,
"column": 21
},
"end": {
"line": 108,
"column": 36
},
"identifierName": "connectedMiners"
},
"name": "connectedMiners"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3804,
"end": 3812,
"loc": {
"start": {
"line": 108,
"column": 37
},
"end": {
"line": 108,
"column": 45
},
"identifierName": "n_miners"
},
"name": "n_miners"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3813,
"end": 3820,
"loc": {
"start": {
"line": 108,
"column": 46
},
"end": {
"line": 108,
"column": 53
},
"identifierName": "replace"
},
"name": "replace"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 3821,
"end": 3831,
"loc": {
"start": {
"line": 108,
"column": 54
},
"end": {
"line": 108,
"column": 64
}
},
"extra": {
"rawValue": "<amount>",
"raw": "\"<amount>\""
},
"value": "<amount>"
},
{
"type": "CallExpression",
"start": 3833,
"end": 3865,
"loc": {
"start": {
"line": 108,
"column": 66
},
"end": {
"line": 108,
"column": 98
}
},
"callee": {
"type": "Identifier",
"start": 3833,
"end": 3839,
"loc": {
"start": {
"line": 108,
"column": 66
},
"end": {
"line": 108,
"column": 72
},
"identifierName": "String"
},
"name": "String"
},
"arguments": [
{
"type": "MemberExpression",
"start": 3840,
"end": 3864,
"loc": {
"start": {
"line": 108,
"column": 73
},
"end": {
"line": 108,
"column": 97
}
},
"object": {
"type": "Identifier",
"start": 3840,
"end": 3857,
"loc": {
"start": {
"line": 108,
"column": 73
},
"end": {
"line": 108,
"column": 90
},
"identifierName": "connectedEntities"
},
"name": "connectedEntities"
},
"property": {
"type": "Identifier",
"start": 3858,
"end": 3864,
"loc": {
"start": {
"line": 108,
"column": 91
},
"end": {
"line": 108,
"column": 97
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
}
]
}
]
}
},
{
"type": "BinaryExpression",
"start": 3881,
"end": 3911,
"loc": {
"start": {
"line": 109,
"column": 12
},
"end": {
"line": 109,
"column": 42
}
},
"left": {
"type": "MemberExpression",
"start": 3881,
"end": 3898,
"loc": {
"start": {
"line": 109,
"column": 12
},
"end": {
"line": 109,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 3881,
"end": 3896,
"loc": {
"start": {
"line": 109,
"column": 12
},
"end": {
"line": 109,
"column": 27
},
"identifierName": "tooltipLocation"
},
"name": "tooltipLocation"
},
"property": {
"type": "Identifier",
"start": 3897,
"end": 3898,
"loc": {
"start": {
"line": 109,
"column": 28
},
"end": {
"line": 109,
"column": 29
},
"identifierName": "x"
},
"name": "x"
},
"computed": false
},
"operator": "+",
"right": {
"type": "BinaryExpression",
"start": 3901,
"end": 3911,
"loc": {
"start": {
"line": 109,
"column": 32
},
"end": {
"line": 109,
"column": 42
}
},
"left": {
"type": "NumericLiteral",
"start": 3901,
"end": 3903,
"loc": {
"start": {
"line": 109,
"column": 32
},
"end": {
"line": 109,
"column": 34
}
},
"extra": {
"rawValue": 10,
"raw": "10"
},
"value": 10
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 3906,
"end": 3911,
"loc": {
"start": {
"line": 109,
"column": 37
},
"end": {
"line": 109,
"column": 42
},
"identifierName": "scale"
},
"name": "scale"
}
}
},
{
"type": "BinaryExpression",
"start": 3926,
"end": 3956,
"loc": {
"start": {
"line": 110,
"column": 12
},
"end": {
"line": 110,
"column": 42
}
},
"left": {
"type": "MemberExpression",
"start": 3926,
"end": 3943,
"loc": {
"start": {
"line": 110,
"column": 12
},
"end": {
"line": 110,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 3926,
"end": 3941,
"loc": {
"start": {
"line": 110,
"column": 12
},
"end": {
"line": 110,
"column": 27
},
"identifierName": "tooltipLocation"
},
"name": "tooltipLocation"
},
"property": {
"type": "Identifier",
"start": 3942,
"end": 3943,
"loc": {
"start": {
"line": 110,
"column": 28
},
"end": {
"line": 110,
"column": 29
},
"identifierName": "y"
},
"name": "y"
},
"computed": false
},
"operator": "+",
"right": {
"type": "BinaryExpression",
"start": 3946,
"end": 3956,
"loc": {
"start": {
"line": 110,
"column": 32
},
"end": {
"line": 110,
"column": 42
}
},
"left": {
"type": "NumericLiteral",
"start": 3946,
"end": 3948,
"loc": {
"start": {
"line": 110,
"column": 32
},
"end": {
"line": 110,
"column": 34
}
},
"extra": {
"rawValue": 22,
"raw": "22"
},
"value": 22
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 3951,
"end": 3956,
"loc": {
"start": {
"line": 110,
"column": 37
},
"end": {
"line": 110,
"column": 42
},
"identifierName": "scale"
},
"name": "scale"
}
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 3980,
"end": 4015,
"loc": {
"start": {
"line": 113,
"column": 8
},
"end": {
"line": 113,
"column": 43
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3980,
"end": 4014,
"loc": {
"start": {
"line": 113,
"column": 8
},
"end": {
"line": 113,
"column": 42
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3980,
"end": 4010,
"loc": {
"start": {
"line": 113,
"column": 8
},
"end": {
"line": 113,
"column": 38
}
},
"object": {
"type": "MemberExpression",
"start": 3980,
"end": 3998,
"loc": {
"start": {
"line": 113,
"column": 8
},
"end": {
"line": 113,
"column": 26
}
},
"object": {
"type": "Identifier",
"start": 3980,
"end": 3990,
"loc": {
"start": {
"line": 113,
"column": 8
},
"end": {
"line": 113,
"column": 18
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "Identifier",
"start": 3991,
"end": 3998,
"loc": {
"start": {
"line": 113,
"column": 19
},
"end": {
"line": 113,
"column": 26
},
"identifierName": "context"
},
"name": "context"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3999,
"end": 4010,
"loc": {
"start": {
"line": 113,
"column": 27
},
"end": {
"line": 113,
"column": 38
},
"identifierName": "globalAlpha"
},
"name": "globalAlpha"
},
"computed": false
},
"right": {
"type": "NumericLiteral",
"start": 4013,
"end": 4014,
"loc": {
"start": {
"line": 113,
"column": 41
},
"end": {
"line": 113,
"column": 42
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
}
},
{
"type": "IfStatement",
"start": 4027,
"end": 4478,
"loc": {
"start": {
"line": 115,
"column": 8
},
"end": {
"line": 125,
"column": 9
}
},
"test": {
"type": "Identifier",
"start": 4031,
"end": 4039,
"loc": {
"start": {
"line": 115,
"column": 12
},
"end": {
"line": 115,
"column": 20
},
"identifierName": "isCapped"
},
"name": "isCapped"
},
"consequent": {
"type": "BlockStatement",
"start": 4041,
"end": 4478,
"loc": {
"start": {
"line": 115,
"column": 22
},
"end": {
"line": 125,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 4056,
"end": 4129,
"loc": {
"start": {
"line": 116,
"column": 12
},
"end": {
"line": 116,
"column": 85
}
},
"expression": {
"type": "AssignmentExpression",
"start": 4056,
"end": 4128,
"loc": {
"start": {
"line": 116,
"column": 12
},
"end": {
"line": 116,
"column": 84
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 4056,
"end": 4084,
"loc": {
"start": {
"line": 116,
"column": 12
},
"end": {
"line": 116,
"column": 40
}
},
"object": {
"type": "MemberExpression",
"start": 4056,
"end": 4074,
"loc": {
"start": {
"line": 116,
"column": 12
},
"end": {
"line": 116,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 4056,
"end": 4066,
"loc": {
"start": {
"line": 116,
"column": 12
},
"end": {
"line": 116,
"column": 22
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "Identifier",
"start": 4067,
"end": 4074,
"loc": {
"start": {
"line": 116,
"column": 23
},
"end": {
"line": 116,
"column": 30
},
"identifierName": "context"
},
"name": "context"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4075,
"end": 4084,
"loc": {
"start": {
"line": 116,
"column": 31
},
"end": {
"line": 116,
"column": 40
},
"identifierName": "fillStyle"
},
"name": "fillStyle"
},
"computed": false
},
"right": {
"type": "MemberExpression",
"start": 4087,
"end": 4128,
"loc": {
"start": {
"line": 116,
"column": 43
},
"end": {
"line": 116,
"column": 84
}
},
"object": {
"type": "MemberExpression",
"start": 4087,
"end": 4112,
"loc": {
"start": {
"line": 116,
"column": 43
},
"end": {
"line": 116,
"column": 68
}
},
"object": {
"type": "MemberExpression",
"start": 4087,
"end": 4096,
"loc": {
"start": {
"line": 116,
"column": 43
},
"end": {
"line": 116,
"column": 52
}
},
"object": {
"type": "Identifier",
"start": 4087,
"end": 4092,
"loc": {
"start": {
"line": 116,
"column": 43
},
"end": {
"line": 116,
"column": 48
},
"identifierName": "THEME"
},
"name": "THEME"
},
"property": {
"type": "Identifier",
"start": 4093,
"end": 4096,
"loc": {
"start": {
"line": 116,
"column": 49
},
"end": {
"line": 116,
"column": 52
},
"identifierName": "map"
},
"name": "map"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4097,
"end": 4112,
"loc": {
"start": {
"line": 116,
"column": 53
},
"end": {
"line": 116,
"column": 68
},
"identifierName": "connectedMiners"
},
"name": "connectedMiners"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4113,
"end": 4128,
"loc": {
"start": {
"line": 116,
"column": 69
},
"end": {
"line": 116,
"column": 84
},
"identifierName": "textColorCapped"
},
"name": "textColorCapped"
},
"computed": false
}
}
},
{
"type": "ExpressionStatement",
"start": 4143,
"end": 4467,
"loc": {
"start": {
"line": 117,
"column": 12
},
"end": {
"line": 124,
"column": 14
}
},
"expression": {
"type": "CallExpression",
"start": 4143,
"end": 4466,
"loc": {
"start": {
"line": 117,
"column": 12
},
"end": {
"line": 124,
"column": 13
}
},
"callee": {
"type": "MemberExpression",
"start": 4143,
"end": 4170,
"loc": {
"start": {
"line": 117,
"column": 12
},
"end": {
"line": 117,
"column": 39
}
},
"object": {
"type": "MemberExpression",
"start": 4143,
"end": 4161,
"loc": {
"start": {
"line": 117,
"column": 12
},
"end": {
"line": 117,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 4143,
"end": 4153,
"loc": {
"start": {
"line": 117,
"column": 12
},
"end": {
"line": 117,
"column": 22
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "Identifier",
"start": 4154,
"end": 4161,
"loc": {
"start": {
"line": 117,
"column": 23
},
"end": {
"line": 117,
"column": 30
},
"identifierName": "context"
},
"name": "context"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4162,
"end": 4170,
"loc": {
"start": {
"line": 117,
"column": 31
},
"end": {
"line": 117,
"column": 39
},
"identifierName": "fillText"
},
"name": "fillText"
},
"computed": false
},
"arguments": [
{
"type": "CallExpression",
"start": 4189,
"end": 4353,
"loc": {
"start": {
"line": 118,
"column": 16
},
"end": {
"line": 121,
"column": 17
}
},
"callee": {
"type": "MemberExpression",
"start": 4189,
"end": 4235,
"loc": {
"start": {
"line": 118,
"column": 16
},
"end": {
"line": 118,
"column": 62
}
},
"object": {
"type": "MemberExpression",
"start": 4189,
"end": 4227,
"loc": {
"start": {
"line": 118,
"column": 16
},
"end": {
"line": 118,
"column": 54
}
},
"object": {
"type": "MemberExpression",
"start": 4189,
"end": 4213,
"loc": {
"start": {
"line": 118,
"column": 16
},
"end": {
"line": 118,
"column": 40
}
},
"object": {
"type": "MemberExpression",
"start": 4189,
"end": 4197,
"loc": {
"start": {
"line": 118,
"column": 16
},
"end": {
"line": 118,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 4189,
"end": 4190,
"loc": {
"start": {
"line": 118,
"column": 16
},
"end": {
"line": 118,
"column": 17
},
"identifierName": "T"
},
"name": "T"
},
"property": {
"type": "Identifier",
"start": 4191,
"end": 4197,
"loc": {
"start": {
"line": 118,
"column": 18
},
"end": {
"line": 118,
"column": 24
},
"identifierName": "ingame"
},
"name": "ingame"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4198,
"end": 4213,
"loc": {
"start": {
"line": 118,
"column": 25
},
"end": {
"line": 118,
"column": 40
},
"identifierName": "connectedMiners"
},
"name": "connectedMiners"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4214,
"end": 4227,
"loc": {
"start": {
"line": 118,
"column": 41
},
"end": {
"line": 118,
"column": 54
},
"identifierName": "limited_items"
},
"name": "limited_items"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4228,
"end": 4235,
"loc": {
"start": {
"line": 118,
"column": 55
},
"end": {
"line": 118,
"column": 62
},
"identifierName": "replace"
},
"name": "replace"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 4258,
"end": 4276,
"loc": {
"start": {
"line": 119,
"column": 20
},
"end": {
"line": 119,
"column": 38
}
},
"extra": {
"rawValue": "<max_throughput>",
"raw": "\"<max_throughput>\""
},
"value": "<max_throughput>"
},
{
"type": "CallExpression",
"start": 4299,
"end": 4334,
"loc": {
"start": {
"line": 120,
"column": 20
},
"end": {
"line": 120,
"column": 55
}
},
"callee": {
"type": "Identifier",
"start": 4299,
"end": 4319,
"loc": {
"start": {
"line": 120,
"column": 20
},
"end": {
"line": 120,
"column": 40
},
"identifierName": "formatItemsPerSecond"
},
"name": "formatItemsPerSecond"
},
"arguments": [
{
"type": "Identifier",
"start": 4320,
"end": 4333,
"loc": {
"start": {
"line": 120,
"column": 41
},
"end": {
"line": 120,
"column": 54
},
"identifierName": "maxThroughput"
},
"name": "maxThroughput"
}
]
}
]
},
{
"type": "BinaryExpression",
"start": 4372,
"end": 4402,
"loc": {
"start": {
"line": 122,
"column": 16
},
"end": {
"line": 122,
"column": 46
}
},
"left": {
"type": "MemberExpression",
"start": 4372,
"end": 4389,
"loc": {
"start": {
"line": 122,
"column": 16
},
"end": {
"line": 122,
"column": 33
}
},
"object": {
"type": "Identifier",
"start": 4372,
"end": 4387,
"loc": {
"start": {
"line": 122,
"column": 16
},
"end": {
"line": 122,
"column": 31
},
"identifierName": "tooltipLocation"
},
"name": "tooltipLocation"
},
"property": {
"type": "Identifier",
"start": 4388,
"end": 4389,
"loc": {
"start": {
"line": 122,
"column": 32
},
"end": {
"line": 122,
"column": 33
},
"identifierName": "x"
},
"name": "x"
},
"computed": false
},
"operator": "+",
"right": {
"type": "BinaryExpression",
"start": 4392,
"end": 4402,
"loc": {
"start": {
"line": 122,
"column": 36
},
"end": {
"line": 122,
"column": 46
}
},
"left": {
"type": "NumericLiteral",
"start": 4392,
"end": 4394,
"loc": {
"start": {
"line": 122,
"column": 36
},
"end": {
"line": 122,
"column": 38
}
},
"extra": {
"rawValue": 10,
"raw": "10"
},
"value": 10
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 4397,
"end": 4402,
"loc": {
"start": {
"line": 122,
"column": 41
},
"end": {
"line": 122,
"column": 46
},
"identifierName": "scale"
},
"name": "scale"
}
}
},
{
"type": "BinaryExpression",
"start": 4421,
"end": 4451,
"loc": {
"start": {
"line": 123,
"column": 16
},
"end": {
"line": 123,
"column": 46
}
},
"left": {
"type": "MemberExpression",
"start": 4421,
"end": 4438,
"loc": {
"start": {
"line": 123,
"column": 16
},
"end": {
"line": 123,
"column": 33
}
},
"object": {
"type": "Identifier",
"start": 4421,
"end": 4436,
"loc": {
"start": {
"line": 123,
"column": 16
},
"end": {
"line": 123,
"column": 31
},
"identifierName": "tooltipLocation"
},
"name": "tooltipLocation"
},
"property": {
"type": "Identifier",
"start": 4437,
"end": 4438,
"loc": {
"start": {
"line": 123,
"column": 32
},
"end": {
"line": 123,
"column": 33
},
"identifierName": "y"
},
"name": "y"
},
"computed": false
},
"operator": "+",
"right": {
"type": "BinaryExpression",
"start": 4441,
"end": 4451,
"loc": {
"start": {
"line": 123,
"column": 36
},
"end": {
"line": 123,
"column": 46
}
},
"left": {
"type": "NumericLiteral",
"start": 4441,
"end": 4443,
"loc": {
"start": {
"line": 123,
"column": 36
},
"end": {
"line": 123,
"column": 38
}
},
"extra": {
"rawValue": 34,
"raw": "34"
},
"value": 34
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 4446,
"end": 4451,
"loc": {
"start": {
"line": 123,
"column": 41
},
"end": {
"line": 123,
"column": 46
},
"identifierName": "scale"
},
"name": "scale"
}
}
}
]
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {import(\"../../../core/draw_utils\").DrawParameters} parameters\r\n ",
"start": 431,
"end": 529,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 15,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Finds all connected miners to the given entity\r\n * @param {Entity} entity\r\n * @param {Set<number>} seenUids Which entities have already been processed\r\n * @returns {Array<Entity>} The connected miners\r\n ",
"start": 4493,
"end": 4726,
"loc": {
"start": {
"line": 128,
"column": 4
},
"end": {
"line": 133,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 4732,
"end": 6517,
"loc": {
"start": {
"line": 134,
"column": 4
},
"end": {
"line": 175,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 4732,
"end": 4751,
"loc": {
"start": {
"line": 134,
"column": 4
},
"end": {
"line": 134,
"column": 23
},
"identifierName": "findConnectedMiners"
},
"name": "findConnectedMiners",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 4752,
"end": 4758,
"loc": {
"start": {
"line": 134,
"column": 24
},
"end": {
"line": 134,
"column": 30
},
"identifierName": "entity"
},
"name": "entity"
},
{
"type": "AssignmentPattern",
"start": 4760,
"end": 4780,
"loc": {
"start": {
"line": 134,
"column": 32
},
"end": {
"line": 134,
"column": 52
}
},
"left": {
"type": "Identifier",
"start": 4760,
"end": 4768,
"loc": {
"start": {
"line": 134,
"column": 32
},
"end": {
"line": 134,
"column": 40
},
"identifierName": "seenUids"
},
"name": "seenUids"
},
"right": {
"type": "NewExpression",
"start": 4771,
"end": 4780,
"loc": {
"start": {
"line": 134,
"column": 43
},
"end": {
"line": 134,
"column": 52
}
},
"callee": {
"type": "Identifier",
"start": 4775,
"end": 4778,
"loc": {
"start": {
"line": 134,
"column": 47
},
"end": {
"line": 134,
"column": 50
},
"identifierName": "Set"
},
"name": "Set"
},
"arguments": []
}
}
],
"body": {
"type": "BlockStatement",
"start": 4782,
"end": 6517,
"loc": {
"start": {
"line": 134,
"column": 54
},
"end": {
"line": 175,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 4793,
"end": 4810,
"loc": {
"start": {
"line": 135,
"column": 8
},
"end": {
"line": 135,
"column": 25
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4797,
"end": 4809,
"loc": {
"start": {
"line": 135,
"column": 12
},
"end": {
"line": 135,
"column": 24
}
},
"id": {
"type": "Identifier",
"start": 4797,
"end": 4804,
"loc": {
"start": {
"line": 135,
"column": 12
},
"end": {
"line": 135,
"column": 19
},
"identifierName": "results"
},
"name": "results"
},
"init": {
"type": "ArrayExpression",
"start": 4807,
"end": 4809,
"loc": {
"start": {
"line": 135,
"column": 22
},
"end": {
"line": 135,
"column": 24
}
},
"elements": []
}
}
],
"kind": "let"
},
{
"type": "VariableDeclaration",
"start": 4820,
"end": 4876,
"loc": {
"start": {
"line": 136,
"column": 8
},
"end": {
"line": 136,
"column": 64
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4826,
"end": 4875,
"loc": {
"start": {
"line": 136,
"column": 14
},
"end": {
"line": 136,
"column": 63
}
},
"id": {
"type": "Identifier",
"start": 4826,
"end": 4832,
"loc": {
"start": {
"line": 136,
"column": 14
},
"end": {
"line": 136,
"column": 20
},
"identifierName": "origin"
},
"name": "origin"
},
"init": {
"type": "MemberExpression",
"start": 4835,
"end": 4875,
"loc": {
"start": {
"line": 136,
"column": 23
},
"end": {
"line": 136,
"column": 63
}
},
"object": {
"type": "MemberExpression",
"start": 4835,
"end": 4868,
"loc": {
"start": {
"line": 136,
"column": 23
},
"end": {
"line": 136,
"column": 56
}
},
"object": {
"type": "MemberExpression",
"start": 4835,
"end": 4852,
"loc": {
"start": {
"line": 136,
"column": 23
},
"end": {
"line": 136,
"column": 40
}
},
"object": {
"type": "Identifier",
"start": 4835,
"end": 4841,
"loc": {
"start": {
"line": 136,
"column": 23
},
"end": {
"line": 136,
"column": 29
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 4842,
"end": 4852,
"loc": {
"start": {
"line": 136,
"column": 30
},
"end": {
"line": 136,
"column": 40
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4853,
"end": 4868,
"loc": {
"start": {
"line": 136,
"column": 41
},
"end": {
"line": 136,
"column": 56
},
"identifierName": "StaticMapEntity"
},
"name": "StaticMapEntity"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4869,
"end": 4875,
"loc": {
"start": {
"line": 136,
"column": 57
},
"end": {
"line": 136,
"column": 63
},
"identifierName": "origin"
},
"name": "origin"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 4888,
"end": 5005,
"loc": {
"start": {
"line": 138,
"column": 8
},
"end": {
"line": 141,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 4892,
"end": 4917,
"loc": {
"start": {
"line": 138,
"column": 12
},
"end": {
"line": 138,
"column": 37
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 4893,
"end": 4917,
"loc": {
"start": {
"line": 138,
"column": 13
},
"end": {
"line": 138,
"column": 37
}
},
"callee": {
"type": "MemberExpression",
"start": 4893,
"end": 4905,
"loc": {
"start": {
"line": 138,
"column": 13
},
"end": {
"line": 138,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 4893,
"end": 4901,
"loc": {
"start": {
"line": 138,
"column": 13
},
"end": {
"line": 138,
"column": 21
},
"identifierName": "seenUids"
},
"name": "seenUids"
},
"property": {
"type": "Identifier",
"start": 4902,
"end": 4905,
"loc": {
"start": {
"line": 138,
"column": 22
},
"end": {
"line": 138,
"column": 25
},
"identifierName": "has"
},
"name": "has"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 4906,
"end": 4916,
"loc": {
"start": {
"line": 138,
"column": 26
},
"end": {
"line": 138,
"column": 36
}
},
"object": {
"type": "Identifier",
"start": 4906,
"end": 4912,
"loc": {
"start": {
"line": 138,
"column": 26
},
"end": {
"line": 138,
"column": 32
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 4913,
"end": 4916,
"loc": {
"start": {
"line": 138,
"column": 33
},
"end": {
"line": 138,
"column": 36
},
"identifierName": "uid"
},
"name": "uid"
},
"computed": false
}
]
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 4919,
"end": 5005,
"loc": {
"start": {
"line": 138,
"column": 39
},
"end": {
"line": 141,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 4934,
"end": 4959,
"loc": {
"start": {
"line": 139,
"column": 12
},
"end": {
"line": 139,
"column": 37
}
},
"expression": {
"type": "CallExpression",
"start": 4934,
"end": 4958,
"loc": {
"start": {
"line": 139,
"column": 12
},
"end": {
"line": 139,
"column": 36
}
},
"callee": {
"type": "MemberExpression",
"start": 4934,
"end": 4946,
"loc": {
"start": {
"line": 139,
"column": 12
},
"end": {
"line": 139,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 4934,
"end": 4942,
"loc": {
"start": {
"line": 139,
"column": 12
},
"end": {
"line": 139,
"column": 20
},
"identifierName": "seenUids"
},
"name": "seenUids"
},
"property": {
"type": "Identifier",
"start": 4943,
"end": 4946,
"loc": {
"start": {
"line": 139,
"column": 21
},
"end": {
"line": 139,
"column": 24
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 4947,
"end": 4957,
"loc": {
"start": {
"line": 139,
"column": 25
},
"end": {
"line": 139,
"column": 35
}
},
"object": {
"type": "Identifier",
"start": 4947,
"end": 4953,
"loc": {
"start": {
"line": 139,
"column": 25
},
"end": {
"line": 139,
"column": 31
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 4954,
"end": 4957,
"loc": {
"start": {
"line": 139,
"column": 32
},
"end": {
"line": 139,
"column": 35
},
"identifierName": "uid"
},
"name": "uid"
},
"computed": false
}
]
}
},
{
"type": "ExpressionStatement",
"start": 4973,
"end": 4994,
"loc": {
"start": {
"line": 140,
"column": 12
},
"end": {
"line": 140,
"column": 33
}
},
"expression": {
"type": "CallExpression",
"start": 4973,
"end": 4993,
"loc": {
"start": {
"line": 140,
"column": 12
},
"end": {
"line": 140,
"column": 32
}
},
"callee": {
"type": "MemberExpression",
"start": 4973,
"end": 4985,
"loc": {
"start": {
"line": 140,
"column": 12
},
"end": {
"line": 140,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 4973,
"end": 4980,
"loc": {
"start": {
"line": 140,
"column": 12
},
"end": {
"line": 140,
"column": 19
},
"identifierName": "results"
},
"name": "results"
},
"property": {
"type": "Identifier",
"start": 4981,
"end": 4985,
"loc": {
"start": {
"line": 140,
"column": 20
},
"end": {
"line": 140,
"column": 24
},
"identifierName": "push"
},
"name": "push"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 4986,
"end": 4992,
"loc": {
"start": {
"line": 140,
"column": 25
},
"end": {
"line": 140,
"column": 31
},
"identifierName": "entity"
},
"name": "entity"
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"trailingComments": [
{
"type": "CommentLine",
"value": " Check for the miner which we connect to",
"start": 5017,
"end": 5059,
"loc": {
"start": {
"line": 143,
"column": 8
},
"end": {
"line": 143,
"column": 50
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 5069,
"end": 5151,
"loc": {
"start": {
"line": 144,
"column": 8
},
"end": {
"line": 144,
"column": 90
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5075,
"end": 5150,
"loc": {
"start": {
"line": 144,
"column": 14
},
"end": {
"line": 144,
"column": 89
}
},
"id": {
"type": "Identifier",
"start": 5075,
"end": 5089,
"loc": {
"start": {
"line": 144,
"column": 14
},
"end": {
"line": 144,
"column": 28
},
"identifierName": "connectedMiner"
},
"name": "connectedMiner",
"leadingComments": null
},
"init": {
"type": "CallExpression",
"start": 5092,
"end": 5150,
"loc": {
"start": {
"line": 144,
"column": 31
},
"end": {
"line": 144,
"column": 89
}
},
"callee": {
"type": "MemberExpression",
"start": 5092,
"end": 5142,
"loc": {
"start": {
"line": 144,
"column": 31
},
"end": {
"line": 144,
"column": 81
}
},
"object": {
"type": "MemberExpression",
"start": 5092,
"end": 5125,
"loc": {
"start": {
"line": 144,
"column": 31
},
"end": {
"line": 144,
"column": 64
}
},
"object": {
"type": "MemberExpression",
"start": 5092,
"end": 5119,
"loc": {
"start": {
"line": 144,
"column": 31
},
"end": {
"line": 144,
"column": 58
}
},
"object": {
"type": "MemberExpression",
"start": 5092,
"end": 5111,
"loc": {
"start": {
"line": 144,
"column": 31
},
"end": {
"line": 144,
"column": 50
}
},
"object": {
"type": "MemberExpression",
"start": 5092,
"end": 5101,
"loc": {
"start": {
"line": 144,
"column": 31
},
"end": {
"line": 144,
"column": 40
}
},
"object": {
"type": "ThisExpression",
"start": 5092,
"end": 5096,
"loc": {
"start": {
"line": 144,
"column": 31
},
"end": {
"line": 144,
"column": 35
}
}
},
"property": {
"type": "Identifier",
"start": 5097,
"end": 5101,
"loc": {
"start": {
"line": 144,
"column": 36
},
"end": {
"line": 144,
"column": 40
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5102,
"end": 5111,
"loc": {
"start": {
"line": 144,
"column": 41
},
"end": {
"line": 144,
"column": 50
},
"identifierName": "systemMgr"
},
"name": "systemMgr"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5112,
"end": 5119,
"loc": {
"start": {
"line": 144,
"column": 51
},
"end": {
"line": 144,
"column": 58
},
"identifierName": "systems"
},
"name": "systems"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5120,
"end": 5125,
"loc": {
"start": {
"line": 144,
"column": 59
},
"end": {
"line": 144,
"column": 64
},
"identifierName": "miner"
},
"name": "miner"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5126,
"end": 5142,
"loc": {
"start": {
"line": 144,
"column": 65
},
"end": {
"line": 144,
"column": 81
},
"identifierName": "findChainedMiner"
},
"name": "findChainedMiner"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 5143,
"end": 5149,
"loc": {
"start": {
"line": 144,
"column": 82
},
"end": {
"line": 144,
"column": 88
},
"identifierName": "entity"
},
"name": "entity"
}
]
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentLine",
"value": " Check for the miner which we connect to",
"start": 5017,
"end": 5059,
"loc": {
"start": {
"line": 143,
"column": 8
},
"end": {
"line": 143,
"column": 50
}
}
}
]
},
{
"type": "IfStatement",
"start": 5161,
"end": 5402,
"loc": {
"start": {
"line": 145,
"column": 8
},
"end": {
"line": 149,
"column": 9
}
},
"test": {
"type": "LogicalExpression",
"start": 5165,
"end": 5216,
"loc": {
"start": {
"line": 145,
"column": 12
},
"end": {
"line": 145,
"column": 63
}
},
"left": {
"type": "Identifier",
"start": 5165,
"end": 5179,
"loc": {
"start": {
"line": 145,
"column": 12
},
"end": {
"line": 145,
"column": 26
},
"identifierName": "connectedMiner"
},
"name": "connectedMiner"
},
"operator": "&&",
"right": {
"type": "UnaryExpression",
"start": 5183,
"end": 5216,
"loc": {
"start": {
"line": 145,
"column": 30
},
"end": {
"line": 145,
"column": 63
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 5184,
"end": 5216,
"loc": {
"start": {
"line": 145,
"column": 31
},
"end": {
"line": 145,
"column": 63
}
},
"callee": {
"type": "MemberExpression",
"start": 5184,
"end": 5196,
"loc": {
"start": {
"line": 145,
"column": 31
},
"end": {
"line": 145,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 5184,
"end": 5192,
"loc": {
"start": {
"line": 145,
"column": 31
},
"end": {
"line": 145,
"column": 39
},
"identifierName": "seenUids"
},
"name": "seenUids"
},
"property": {
"type": "Identifier",
"start": 5193,
"end": 5196,
"loc": {
"start": {
"line": 145,
"column": 40
},
"end": {
"line": 145,
"column": 43
},
"identifierName": "has"
},
"name": "has"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 5197,
"end": 5215,
"loc": {
"start": {
"line": 145,
"column": 44
},
"end": {
"line": 145,
"column": 62
}
},
"object": {
"type": "Identifier",
"start": 5197,
"end": 5211,
"loc": {
"start": {
"line": 145,
"column": 44
},
"end": {
"line": 145,
"column": 58
},
"identifierName": "connectedMiner"
},
"name": "connectedMiner"
},
"property": {
"type": "Identifier",
"start": 5212,
"end": 5215,
"loc": {
"start": {
"line": 145,
"column": 59
},
"end": {
"line": 145,
"column": 62
},
"identifierName": "uid"
},
"name": "uid"
},
"computed": false
}
]
},
"extra": {
"parenthesizedArgument": false
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 5218,
"end": 5402,
"loc": {
"start": {
"line": 145,
"column": 65
},
"end": {
"line": 149,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 5233,
"end": 5262,
"loc": {
"start": {
"line": 146,
"column": 12
},
"end": {
"line": 146,
"column": 41
}
},
"expression": {
"type": "CallExpression",
"start": 5233,
"end": 5261,
"loc": {
"start": {
"line": 146,
"column": 12
},
"end": {
"line": 146,
"column": 40
}
},
"callee": {
"type": "MemberExpression",
"start": 5233,
"end": 5245,
"loc": {
"start": {
"line": 146,
"column": 12
},
"end": {
"line": 146,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 5233,
"end": 5240,
"loc": {
"start": {
"line": 146,
"column": 12
},
"end": {
"line": 146,
"column": 19
},
"identifierName": "results"
},
"name": "results"
},
"property": {
"type": "Identifier",
"start": 5241,
"end": 5245,
"loc": {
"start": {
"line": 146,
"column": 20
},
"end": {
"line": 146,
"column": 24
},
"identifierName": "push"
},
"name": "push"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 5246,
"end": 5260,
"loc": {
"start": {
"line": 146,
"column": 25
},
"end": {
"line": 146,
"column": 39
},
"identifierName": "connectedMiner"
},
"name": "connectedMiner"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 5276,
"end": 5309,
"loc": {
"start": {
"line": 147,
"column": 12
},
"end": {
"line": 147,
"column": 45
}
},
"expression": {
"type": "CallExpression",
"start": 5276,
"end": 5308,
"loc": {
"start": {
"line": 147,
"column": 12
},
"end": {
"line": 147,
"column": 44
}
},
"callee": {
"type": "MemberExpression",
"start": 5276,
"end": 5288,
"loc": {
"start": {
"line": 147,
"column": 12
},
"end": {
"line": 147,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 5276,
"end": 5284,
"loc": {
"start": {
"line": 147,
"column": 12
},
"end": {
"line": 147,
"column": 20
},
"identifierName": "seenUids"
},
"name": "seenUids"
},
"property": {
"type": "Identifier",
"start": 5285,
"end": 5288,
"loc": {
"start": {
"line": 147,
"column": 21
},
"end": {
"line": 147,
"column": 24
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 5289,
"end": 5307,
"loc": {
"start": {
"line": 147,
"column": 25
},
"end": {
"line": 147,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 5289,
"end": 5303,
"loc": {
"start": {
"line": 147,
"column": 25
},
"end": {
"line": 147,
"column": 39
},
"identifierName": "connectedMiner"
},
"name": "connectedMiner"
},
"property": {
"type": "Identifier",
"start": 5304,
"end": 5307,
"loc": {
"start": {
"line": 147,
"column": 40
},
"end": {
"line": 147,
"column": 43
},
"identifierName": "uid"
},
"name": "uid"
},
"computed": false
}
]
}
},
{
"type": "ExpressionStatement",
"start": 5323,
"end": 5391,
"loc": {
"start": {
"line": 148,
"column": 12
},
"end": {
"line": 148,
"column": 80
}
},
"expression": {
"type": "CallExpression",
"start": 5323,
"end": 5390,
"loc": {
"start": {
"line": 148,
"column": 12
},
"end": {
"line": 148,
"column": 79
}
},
"callee": {
"type": "MemberExpression",
"start": 5323,
"end": 5335,
"loc": {
"start": {
"line": 148,
"column": 12
},
"end": {
"line": 148,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 5323,
"end": 5330,
"loc": {
"start": {
"line": 148,
"column": 12
},
"end": {
"line": 148,
"column": 19
},
"identifierName": "results"
},
"name": "results"
},
"property": {
"type": "Identifier",
"start": 5331,
"end": 5335,
"loc": {
"start": {
"line": 148,
"column": 20
},
"end": {
"line": 148,
"column": 24
},
"identifierName": "push"
},
"name": "push"
},
"computed": false
},
"arguments": [
{
"type": "SpreadElement",
"start": 5336,
"end": 5389,
"loc": {
"start": {
"line": 148,
"column": 25
},
"end": {
"line": 148,
"column": 78
}
},
"argument": {
"type": "CallExpression",
"start": 5339,
"end": 5389,
"loc": {
"start": {
"line": 148,
"column": 28
},
"end": {
"line": 148,
"column": 78
}
},
"callee": {
"type": "MemberExpression",
"start": 5339,
"end": 5363,
"loc": {
"start": {
"line": 148,
"column": 28
},
"end": {
"line": 148,
"column": 52
}
},
"object": {
"type": "ThisExpression",
"start": 5339,
"end": 5343,
"loc": {
"start": {
"line": 148,
"column": 28
},
"end": {
"line": 148,
"column": 32
}
}
},
"property": {
"type": "Identifier",
"start": 5344,
"end": 5363,
"loc": {
"start": {
"line": 148,
"column": 33
},
"end": {
"line": 148,
"column": 52
},
"identifierName": "findConnectedMiners"
},
"name": "findConnectedMiners"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 5364,
"end": 5378,
"loc": {
"start": {
"line": 148,
"column": 53
},
"end": {
"line": 148,
"column": 67
},
"identifierName": "connectedMiner"
},
"name": "connectedMiner"
},
{
"type": "Identifier",
"start": 5380,
"end": 5388,
"loc": {
"start": {
"line": 148,
"column": 69
},
"end": {
"line": 148,
"column": 77
},
"identifierName": "seenUids"
},
"name": "seenUids"
}
]
}
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"trailingComments": [
{
"type": "CommentLine",
"value": " Search within a 1x1 grid - this assumes miners are always 1x1",
"start": 5414,
"end": 5478,
"loc": {
"start": {
"line": 151,
"column": 8
},
"end": {
"line": 151,
"column": 72
}
}
}
]
},
{
"type": "ForStatement",
"start": 5488,
"end": 6483,
"loc": {
"start": {
"line": 152,
"column": 8
},
"end": {
"line": 172,
"column": 9
}
},
"init": {
"type": "VariableDeclaration",
"start": 5493,
"end": 5504,
"loc": {
"start": {
"line": 152,
"column": 13
},
"end": {
"line": 152,
"column": 24
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5497,
"end": 5504,
"loc": {
"start": {
"line": 152,
"column": 17
},
"end": {
"line": 152,
"column": 24
}
},
"id": {
"type": "Identifier",
"start": 5497,
"end": 5499,
"loc": {
"start": {
"line": 152,
"column": 17
},
"end": {
"line": 152,
"column": 19
},
"identifierName": "dx"
},
"name": "dx",
"leadingComments": null
},
"init": {
"type": "UnaryExpression",
"start": 5502,
"end": 5504,
"loc": {
"start": {
"line": 152,
"column": 22
},
"end": {
"line": 152,
"column": 24
}
},
"operator": "-",
"prefix": true,
"argument": {
"type": "NumericLiteral",
"start": 5503,
"end": 5504,
"loc": {
"start": {
"line": 152,
"column": 23
},
"end": {
"line": 152,
"column": 24
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"extra": {
"parenthesizedArgument": false
}
},
"leadingComments": null
}
],
"kind": "let",
"leadingComments": null
},
"test": {
"type": "BinaryExpression",
"start": 5506,
"end": 5513,
"loc": {
"start": {
"line": 152,
"column": 26
},
"end": {
"line": 152,
"column": 33
}
},
"left": {
"type": "Identifier",
"start": 5506,
"end": 5508,
"loc": {
"start": {
"line": 152,
"column": 26
},
"end": {
"line": 152,
"column": 28
},
"identifierName": "dx"
},
"name": "dx"
},
"operator": "<=",
"right": {
"type": "NumericLiteral",
"start": 5512,
"end": 5513,
"loc": {
"start": {
"line": 152,
"column": 32
},
"end": {
"line": 152,
"column": 33
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
},
"update": {
"type": "UpdateExpression",
"start": 5515,
"end": 5519,
"loc": {
"start": {
"line": 152,
"column": 35
},
"end": {
"line": 152,
"column": 39
}
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 5517,
"end": 5519,
"loc": {
"start": {
"line": 152,
"column": 37
},
"end": {
"line": 152,
"column": 39
},
"identifierName": "dx"
},
"name": "dx"
},
"extra": {
"parenthesizedArgument": false
}
},
"body": {
"type": "BlockStatement",
"start": 5521,
"end": 6483,
"loc": {
"start": {
"line": 152,
"column": 41
},
"end": {
"line": 172,
"column": 9
}
},
"body": [
{
"type": "ForStatement",
"start": 5536,
"end": 6472,
"loc": {
"start": {
"line": 153,
"column": 12
},
"end": {
"line": 171,
"column": 13
}
},
"init": {
"type": "VariableDeclaration",
"start": 5541,
"end": 5552,
"loc": {
"start": {
"line": 153,
"column": 17
},
"end": {
"line": 153,
"column": 28
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5545,
"end": 5552,
"loc": {
"start": {
"line": 153,
"column": 21
},
"end": {
"line": 153,
"column": 28
}
},
"id": {
"type": "Identifier",
"start": 5545,
"end": 5547,
"loc": {
"start": {
"line": 153,
"column": 21
},
"end": {
"line": 153,
"column": 23
},
"identifierName": "dy"
},
"name": "dy"
},
"init": {
"type": "UnaryExpression",
"start": 5550,
"end": 5552,
"loc": {
"start": {
"line": 153,
"column": 26
},
"end": {
"line": 153,
"column": 28
}
},
"operator": "-",
"prefix": true,
"argument": {
"type": "NumericLiteral",
"start": 5551,
"end": 5552,
"loc": {
"start": {
"line": 153,
"column": 27
},
"end": {
"line": 153,
"column": 28
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"extra": {
"parenthesizedArgument": false
}
}
}
],
"kind": "let"
},
"test": {
"type": "BinaryExpression",
"start": 5554,
"end": 5561,
"loc": {
"start": {
"line": 153,
"column": 30
},
"end": {
"line": 153,
"column": 37
}
},
"left": {
"type": "Identifier",
"start": 5554,
"end": 5556,
"loc": {
"start": {
"line": 153,
"column": 30
},
"end": {
"line": 153,
"column": 32
},
"identifierName": "dy"
},
"name": "dy"
},
"operator": "<=",
"right": {
"type": "NumericLiteral",
"start": 5560,
"end": 5561,
"loc": {
"start": {
"line": 153,
"column": 36
},
"end": {
"line": 153,
"column": 37
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
},
"update": {
"type": "UpdateExpression",
"start": 5563,
"end": 5567,
"loc": {
"start": {
"line": 153,
"column": 39
},
"end": {
"line": 153,
"column": 43
}
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 5565,
"end": 5567,
"loc": {
"start": {
"line": 153,
"column": 41
},
"end": {
"line": 153,
"column": 43
},
"identifierName": "dy"
},
"name": "dy"
},
"extra": {
"parenthesizedArgument": false
}
},
"body": {
"type": "BlockStatement",
"start": 5569,
"end": 6472,
"loc": {
"start": {
"line": 153,
"column": 45
},
"end": {
"line": 171,
"column": 13
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 5588,
"end": 5748,
"loc": {
"start": {
"line": 154,
"column": 16
},
"end": {
"line": 157,
"column": 18
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5594,
"end": 5747,
"loc": {
"start": {
"line": 154,
"column": 22
},
"end": {
"line": 157,
"column": 17
}
},
"id": {
"type": "Identifier",
"start": 5594,
"end": 5602,
"loc": {
"start": {
"line": 154,
"column": 22
},
"end": {
"line": 154,
"column": 30
},
"identifierName": "contents"
},
"name": "contents"
},
"init": {
"type": "CallExpression",
"start": 5605,
"end": 5747,
"loc": {
"start": {
"line": 154,
"column": 33
},
"end": {
"line": 157,
"column": 17
}
},
"callee": {
"type": "MemberExpression",
"start": 5605,
"end": 5633,
"loc": {
"start": {
"line": 154,
"column": 33
},
"end": {
"line": 154,
"column": 61
}
},
"object": {
"type": "MemberExpression",
"start": 5605,
"end": 5618,
"loc": {
"start": {
"line": 154,
"column": 33
},
"end": {
"line": 154,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 5605,
"end": 5614,
"loc": {
"start": {
"line": 154,
"column": 33
},
"end": {
"line": 154,
"column": 42
}
},
"object": {
"type": "ThisExpression",
"start": 5605,
"end": 5609,
"loc": {
"start": {
"line": 154,
"column": 33
},
"end": {
"line": 154,
"column": 37
}
}
},
"property": {
"type": "Identifier",
"start": 5610,
"end": 5614,
"loc": {
"start": {
"line": 154,
"column": 38
},
"end": {
"line": 154,
"column": 42
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5615,
"end": 5618,
"loc": {
"start": {
"line": 154,
"column": 43
},
"end": {
"line": 154,
"column": 46
},
"identifierName": "map"
},
"name": "map"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5619,
"end": 5633,
"loc": {
"start": {
"line": 154,
"column": 47
},
"end": {
"line": 154,
"column": 61
},
"identifierName": "getTileContent"
},
"name": "getTileContent"
},
"computed": false
},
"arguments": [
{
"type": "NewExpression",
"start": 5656,
"end": 5696,
"loc": {
"start": {
"line": 155,
"column": 20
},
"end": {
"line": 155,
"column": 60
}
},
"callee": {
"type": "Identifier",
"start": 5660,
"end": 5666,
"loc": {
"start": {
"line": 155,
"column": 24
},
"end": {
"line": 155,
"column": 30
},
"identifierName": "Vector"
},
"name": "Vector"
},
"arguments": [
{
"type": "BinaryExpression",
"start": 5667,
"end": 5680,
"loc": {
"start": {
"line": 155,
"column": 31
},
"end": {
"line": 155,
"column": 44
}
},
"left": {
"type": "MemberExpression",
"start": 5667,
"end": 5675,
"loc": {
"start": {
"line": 155,
"column": 31
},
"end": {
"line": 155,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 5667,
"end": 5673,
"loc": {
"start": {
"line": 155,
"column": 31
},
"end": {
"line": 155,
"column": 37
},
"identifierName": "origin"
},
"name": "origin"
},
"property": {
"type": "Identifier",
"start": 5674,
"end": 5675,
"loc": {
"start": {
"line": 155,
"column": 38
},
"end": {
"line": 155,
"column": 39
},
"identifierName": "x"
},
"name": "x"
},
"computed": false
},
"operator": "+",
"right": {
"type": "Identifier",
"start": 5678,
"end": 5680,
"loc": {
"start": {
"line": 155,
"column": 42
},
"end": {
"line": 155,
"column": 44
},
"identifierName": "dx"
},
"name": "dx"
}
},
{
"type": "BinaryExpression",
"start": 5682,
"end": 5695,
"loc": {
"start": {
"line": 155,
"column": 46
},
"end": {
"line": 155,
"column": 59
}
},
"left": {
"type": "MemberExpression",
"start": 5682,
"end": 5690,
"loc": {
"start": {
"line": 155,
"column": 46
},
"end": {
"line": 155,
"column": 54
}
},
"object": {
"type": "Identifier",
"start": 5682,
"end": 5688,
"loc": {
"start": {
"line": 155,
"column": 46
},
"end": {
"line": 155,
"column": 52
},
"identifierName": "origin"
},
"name": "origin"
},
"property": {
"type": "Identifier",
"start": 5689,
"end": 5690,
"loc": {
"start": {
"line": 155,
"column": 53
},
"end": {
"line": 155,
"column": 54
},
"identifierName": "y"
},
"name": "y"
},
"computed": false
},
"operator": "+",
"right": {
"type": "Identifier",
"start": 5693,
"end": 5695,
"loc": {
"start": {
"line": 155,
"column": 57
},
"end": {
"line": 155,
"column": 59
},
"identifierName": "dy"
},
"name": "dy"
}
}
]
},
{
"type": "StringLiteral",
"start": 5719,
"end": 5728,
"loc": {
"start": {
"line": 156,
"column": 20
},
"end": {
"line": 156,
"column": 29
}
},
"extra": {
"rawValue": "regular",
"raw": "\"regular\""
},
"value": "regular"
}
]
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 5766,
"end": 6457,
"loc": {
"start": {
"line": 158,
"column": 16
},
"end": {
"line": 170,
"column": 17
}
},
"test": {
"type": "Identifier",
"start": 5770,
"end": 5778,
"loc": {
"start": {
"line": 158,
"column": 20
},
"end": {
"line": 158,
"column": 28
},
"identifierName": "contents"
},
"name": "contents"
},
"consequent": {
"type": "BlockStatement",
"start": 5780,
"end": 6457,
"loc": {
"start": {
"line": 158,
"column": 30
},
"end": {
"line": 170,
"column": 17
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 5803,
"end": 5847,
"loc": {
"start": {
"line": 159,
"column": 20
},
"end": {
"line": 159,
"column": 64
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5809,
"end": 5846,
"loc": {
"start": {
"line": 159,
"column": 26
},
"end": {
"line": 159,
"column": 63
}
},
"id": {
"type": "Identifier",
"start": 5809,
"end": 5818,
"loc": {
"start": {
"line": 159,
"column": 26
},
"end": {
"line": 159,
"column": 35
},
"identifierName": "minerComp"
},
"name": "minerComp"
},
"init": {
"type": "MemberExpression",
"start": 5821,
"end": 5846,
"loc": {
"start": {
"line": 159,
"column": 38
},
"end": {
"line": 159,
"column": 63
}
},
"object": {
"type": "MemberExpression",
"start": 5821,
"end": 5840,
"loc": {
"start": {
"line": 159,
"column": 38
},
"end": {
"line": 159,
"column": 57
}
},
"object": {
"type": "Identifier",
"start": 5821,
"end": 5829,
"loc": {
"start": {
"line": 159,
"column": 38
},
"end": {
"line": 159,
"column": 46
},
"identifierName": "contents"
},
"name": "contents"
},
"property": {
"type": "Identifier",
"start": 5830,
"end": 5840,
"loc": {
"start": {
"line": 159,
"column": 47
},
"end": {
"line": 159,
"column": 57
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5841,
"end": 5846,
"loc": {
"start": {
"line": 159,
"column": 58
},
"end": {
"line": 159,
"column": 63
},
"identifierName": "Miner"
},
"name": "Miner"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 5869,
"end": 6438,
"loc": {
"start": {
"line": 160,
"column": 20
},
"end": {
"line": 169,
"column": 21
}
},
"test": {
"type": "LogicalExpression",
"start": 5873,
"end": 5905,
"loc": {
"start": {
"line": 160,
"column": 24
},
"end": {
"line": 160,
"column": 56
}
},
"left": {
"type": "Identifier",
"start": 5873,
"end": 5882,
"loc": {
"start": {
"line": 160,
"column": 24
},
"end": {
"line": 160,
"column": 33
},
"identifierName": "minerComp"
},
"name": "minerComp"
},
"operator": "&&",
"right": {
"type": "MemberExpression",
"start": 5886,
"end": 5905,
"loc": {
"start": {
"line": 160,
"column": 37
},
"end": {
"line": 160,
"column": 56
}
},
"object": {
"type": "Identifier",
"start": 5886,
"end": 5895,
"loc": {
"start": {
"line": 160,
"column": 37
},
"end": {
"line": 160,
"column": 46
},
"identifierName": "minerComp"
},
"name": "minerComp"
},
"property": {
"type": "Identifier",
"start": 5896,
"end": 5905,
"loc": {
"start": {
"line": 160,
"column": 47
},
"end": {
"line": 160,
"column": 56
},
"identifierName": "chainable"
},
"name": "chainable"
},
"computed": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 5907,
"end": 6438,
"loc": {
"start": {
"line": 160,
"column": 58
},
"end": {
"line": 169,
"column": 21
}
},
"body": [
{
"type": "IfStatement",
"start": 6001,
"end": 6415,
"loc": {
"start": {
"line": 162,
"column": 24
},
"end": {
"line": 168,
"column": 25
}
},
"test": {
"type": "UnaryExpression",
"start": 6005,
"end": 6032,
"loc": {
"start": {
"line": 162,
"column": 28
},
"end": {
"line": 162,
"column": 55
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 6006,
"end": 6032,
"loc": {
"start": {
"line": 162,
"column": 29
},
"end": {
"line": 162,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 6006,
"end": 6018,
"loc": {
"start": {
"line": 162,
"column": 29
},
"end": {
"line": 162,
"column": 41
}
},
"object": {
"type": "Identifier",
"start": 6006,
"end": 6014,
"loc": {
"start": {
"line": 162,
"column": 29
},
"end": {
"line": 162,
"column": 37
},
"identifierName": "seenUids"
},
"name": "seenUids",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 6015,
"end": 6018,
"loc": {
"start": {
"line": 162,
"column": 38
},
"end": {
"line": 162,
"column": 41
},
"identifierName": "has"
},
"name": "has"
},
"computed": false,
"leadingComments": null
},
"arguments": [
{
"type": "MemberExpression",
"start": 6019,
"end": 6031,
"loc": {
"start": {
"line": 162,
"column": 42
},
"end": {
"line": 162,
"column": 54
}
},
"object": {
"type": "Identifier",
"start": 6019,
"end": 6027,
"loc": {
"start": {
"line": 162,
"column": 42
},
"end": {
"line": 162,
"column": 50
},
"identifierName": "contents"
},
"name": "contents"
},
"property": {
"type": "Identifier",
"start": 6028,
"end": 6031,
"loc": {
"start": {
"line": 162,
"column": 51
},
"end": {
"line": 162,
"column": 54
},
"identifierName": "uid"
},
"name": "uid"
},
"computed": false
}
],
"leadingComments": null
},
"extra": {
"parenthesizedArgument": false
},
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 6034,
"end": 6415,
"loc": {
"start": {
"line": 162,
"column": 57
},
"end": {
"line": 168,
"column": 25
}
},
"body": [
{
"type": "IfStatement",
"start": 6065,
"end": 6388,
"loc": {
"start": {
"line": 163,
"column": 28
},
"end": {
"line": 167,
"column": 29
}
},
"test": {
"type": "BinaryExpression",
"start": 6069,
"end": 6140,
"loc": {
"start": {
"line": 163,
"column": 32
},
"end": {
"line": 163,
"column": 103
}
},
"left": {
"type": "CallExpression",
"start": 6069,
"end": 6129,
"loc": {
"start": {
"line": 163,
"column": 32
},
"end": {
"line": 163,
"column": 92
}
},
"callee": {
"type": "MemberExpression",
"start": 6069,
"end": 6119,
"loc": {
"start": {
"line": 163,
"column": 32
},
"end": {
"line": 163,
"column": 82
}
},
"object": {
"type": "MemberExpression",
"start": 6069,
"end": 6102,
"loc": {
"start": {
"line": 163,
"column": 32
},
"end": {
"line": 163,
"column": 65
}
},
"object": {
"type": "MemberExpression",
"start": 6069,
"end": 6096,
"loc": {
"start": {
"line": 163,
"column": 32
},
"end": {
"line": 163,
"column": 59
}
},
"object": {
"type": "MemberExpression",
"start": 6069,
"end": 6088,
"loc": {
"start": {
"line": 163,
"column": 32
},
"end": {
"line": 163,
"column": 51
}
},
"object": {
"type": "MemberExpression",
"start": 6069,
"end": 6078,
"loc": {
"start": {
"line": 163,
"column": 32
},
"end": {
"line": 163,
"column": 41
}
},
"object": {
"type": "ThisExpression",
"start": 6069,
"end": 6073,
"loc": {
"start": {
"line": 163,
"column": 32
},
"end": {
"line": 163,
"column": 36
}
}
},
"property": {
"type": "Identifier",
"start": 6074,
"end": 6078,
"loc": {
"start": {
"line": 163,
"column": 37
},
"end": {
"line": 163,
"column": 41
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6079,
"end": 6088,
"loc": {
"start": {
"line": 163,
"column": 42
},
"end": {
"line": 163,
"column": 51
},
"identifierName": "systemMgr"
},
"name": "systemMgr"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6089,
"end": 6096,
"loc": {
"start": {
"line": 163,
"column": 52
},
"end": {
"line": 163,
"column": 59
},
"identifierName": "systems"
},
"name": "systems"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6097,
"end": 6102,
"loc": {
"start": {
"line": 163,
"column": 60
},
"end": {
"line": 163,
"column": 65
},
"identifierName": "miner"
},
"name": "miner"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6103,
"end": 6119,
"loc": {
"start": {
"line": 163,
"column": 66
},
"end": {
"line": 163,
"column": 82
},
"identifierName": "findChainedMiner"
},
"name": "findChainedMiner"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 6120,
"end": 6128,
"loc": {
"start": {
"line": 163,
"column": 83
},
"end": {
"line": 163,
"column": 91
},
"identifierName": "contents"
},
"name": "contents"
}
]
},
"operator": "===",
"right": {
"type": "Identifier",
"start": 6134,
"end": 6140,
"loc": {
"start": {
"line": 163,
"column": 97
},
"end": {
"line": 163,
"column": 103
},
"identifierName": "entity"
},
"name": "entity"
}
},
"consequent": {
"type": "BlockStatement",
"start": 6142,
"end": 6388,
"loc": {
"start": {
"line": 163,
"column": 105
},
"end": {
"line": 167,
"column": 29
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 6177,
"end": 6200,
"loc": {
"start": {
"line": 164,
"column": 32
},
"end": {
"line": 164,
"column": 55
}
},
"expression": {
"type": "CallExpression",
"start": 6177,
"end": 6199,
"loc": {
"start": {
"line": 164,
"column": 32
},
"end": {
"line": 164,
"column": 54
}
},
"callee": {
"type": "MemberExpression",
"start": 6177,
"end": 6189,
"loc": {
"start": {
"line": 164,
"column": 32
},
"end": {
"line": 164,
"column": 44
}
},
"object": {
"type": "Identifier",
"start": 6177,
"end": 6184,
"loc": {
"start": {
"line": 164,
"column": 32
},
"end": {
"line": 164,
"column": 39
},
"identifierName": "results"
},
"name": "results"
},
"property": {
"type": "Identifier",
"start": 6185,
"end": 6189,
"loc": {
"start": {
"line": 164,
"column": 40
},
"end": {
"line": 164,
"column": 44
},
"identifierName": "push"
},
"name": "push"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 6190,
"end": 6198,
"loc": {
"start": {
"line": 164,
"column": 45
},
"end": {
"line": 164,
"column": 53
},
"identifierName": "contents"
},
"name": "contents"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 6234,
"end": 6261,
"loc": {
"start": {
"line": 165,
"column": 32
},
"end": {
"line": 165,
"column": 59
}
},
"expression": {
"type": "CallExpression",
"start": 6234,
"end": 6260,
"loc": {
"start": {
"line": 165,
"column": 32
},
"end": {
"line": 165,
"column": 58
}
},
"callee": {
"type": "MemberExpression",
"start": 6234,
"end": 6246,
"loc": {
"start": {
"line": 165,
"column": 32
},
"end": {
"line": 165,
"column": 44
}
},
"object": {
"type": "Identifier",
"start": 6234,
"end": 6242,
"loc": {
"start": {
"line": 165,
"column": 32
},
"end": {
"line": 165,
"column": 40
},
"identifierName": "seenUids"
},
"name": "seenUids"
},
"property": {
"type": "Identifier",
"start": 6243,
"end": 6246,
"loc": {
"start": {
"line": 165,
"column": 41
},
"end": {
"line": 165,
"column": 44
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 6247,
"end": 6259,
"loc": {
"start": {
"line": 165,
"column": 45
},
"end": {
"line": 165,
"column": 57
}
},
"object": {
"type": "Identifier",
"start": 6247,
"end": 6255,
"loc": {
"start": {
"line": 165,
"column": 45
},
"end": {
"line": 165,
"column": 53
},
"identifierName": "contents"
},
"name": "contents"
},
"property": {
"type": "Identifier",
"start": 6256,
"end": 6259,
"loc": {
"start": {
"line": 165,
"column": 54
},
"end": {
"line": 165,
"column": 57
},
"identifierName": "uid"
},
"name": "uid"
},
"computed": false
}
]
}
},
{
"type": "ExpressionStatement",
"start": 6295,
"end": 6357,
"loc": {
"start": {
"line": 166,
"column": 32
},
"end": {
"line": 166,
"column": 94
}
},
"expression": {
"type": "CallExpression",
"start": 6295,
"end": 6356,
"loc": {
"start": {
"line": 166,
"column": 32
},
"end": {
"line": 166,
"column": 93
}
},
"callee": {
"type": "MemberExpression",
"start": 6295,
"end": 6307,
"loc": {
"start": {
"line": 166,
"column": 32
},
"end": {
"line": 166,
"column": 44
}
},
"object": {
"type": "Identifier",
"start": 6295,
"end": 6302,
"loc": {
"start": {
"line": 166,
"column": 32
},
"end": {
"line": 166,
"column": 39
},
"identifierName": "results"
},
"name": "results"
},
"property": {
"type": "Identifier",
"start": 6303,
"end": 6307,
"loc": {
"start": {
"line": 166,
"column": 40
},
"end": {
"line": 166,
"column": 44
},
"identifierName": "push"
},
"name": "push"
},
"computed": false
},
"arguments": [
{
"type": "SpreadElement",
"start": 6308,
"end": 6355,
"loc": {
"start": {
"line": 166,
"column": 45
},
"end": {
"line": 166,
"column": 92
}
},
"argument": {
"type": "CallExpression",
"start": 6311,
"end": 6355,
"loc": {
"start": {
"line": 166,
"column": 48
},
"end": {
"line": 166,
"column": 92
}
},
"callee": {
"type": "MemberExpression",
"start": 6311,
"end": 6335,
"loc": {
"start": {
"line": 166,
"column": 48
},
"end": {
"line": 166,
"column": 72
}
},
"object": {
"type": "ThisExpression",
"start": 6311,
"end": 6315,
"loc": {
"start": {
"line": 166,
"column": 48
},
"end": {
"line": 166,
"column": 52
}
}
},
"property": {
"type": "Identifier",
"start": 6316,
"end": 6335,
"loc": {
"start": {
"line": 166,
"column": 53
},
"end": {
"line": 166,
"column": 72
},
"identifierName": "findConnectedMiners"
},
"name": "findConnectedMiners"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 6336,
"end": 6344,
"loc": {
"start": {
"line": 166,
"column": 73
},
"end": {
"line": 166,
"column": 81
},
"identifierName": "contents"
},
"name": "contents"
},
{
"type": "Identifier",
"start": 6346,
"end": 6354,
"loc": {
"start": {
"line": 166,
"column": 83
},
"end": {
"line": 166,
"column": 91
},
"identifierName": "seenUids"
},
"name": "seenUids"
}
]
}
}
]
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Found a miner connected to this entity",
"start": 5934,
"end": 5975,
"loc": {
"start": {
"line": 161,
"column": 24
},
"end": {
"line": 161,
"column": 65
}
}
}
]
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Search within a 1x1 grid - this assumes miners are always 1x1",
"start": 5414,
"end": 5478,
"loc": {
"start": {
"line": 151,
"column": 8
},
"end": {
"line": 151,
"column": 72
}
}
}
]
},
{
"type": "ReturnStatement",
"start": 6495,
"end": 6510,
"loc": {
"start": {
"line": 174,
"column": 8
},
"end": {
"line": 174,
"column": 23
}
},
"argument": {
"type": "Identifier",
"start": 6502,
"end": 6509,
"loc": {
"start": {
"line": 174,
"column": 15
},
"end": {
"line": 174,
"column": 22
},
"identifierName": "results"
},
"name": "results"
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Finds all connected miners to the given entity\r\n * @param {Entity} entity\r\n * @param {Set<number>} seenUids Which entities have already been processed\r\n * @returns {Array<Entity>} The connected miners\r\n ",
"start": 4493,
"end": 4726,
"loc": {
"start": {
"line": 128,
"column": 4
},
"end": {
"line": 133,
"column": 7
}
}
}
]
}
]
},
"leadingComments": [],
"trailingComments": []
}
}
],
"directives": []
},
"comments": [
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {import(\"../../../core/draw_utils\").DrawParameters} parameters\r\n ",
"start": 431,
"end": 529,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 15,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " Mouse pos not ready",
"start": 648,
"end": 670,
"loc": {
"start": {
"line": 19,
"column": 12
},
"end": {
"line": 19,
"column": 34
}
}
},
{
"type": "CommentLine",
"value": " Not within the regular layer",
"start": 771,
"end": 802,
"loc": {
"start": {
"line": 24,
"column": 12
},
"end": {
"line": 24,
"column": 43
}
}
},
{
"type": "CommentLine",
"value": " Not within the map overlay",
"start": 907,
"end": 936,
"loc": {
"start": {
"line": 29,
"column": 12
},
"end": {
"line": 29,
"column": 41
}
}
},
{
"type": "CommentLine",
"value": " Empty tile",
"start": 1213,
"end": 1226,
"loc": {
"start": {
"line": 38,
"column": 12
},
"end": {
"line": 38,
"column": 25
}
}
},
{
"type": "CommentLine",
"value": " Not a chainable miner",
"start": 1379,
"end": 1403,
"loc": {
"start": {
"line": 44,
"column": 12
},
"end": {
"line": 44,
"column": 36
}
}
},
{
"type": "CommentLine",
"value": " Not connected",
"start": 1581,
"end": 1597,
"loc": {
"start": {
"line": 50,
"column": 12
},
"end": {
"line": 50,
"column": 28
}
}
},
{
"type": "CommentLine",
"value": " Background",
"start": 2745,
"end": 2758,
"loc": {
"start": {
"line": 82,
"column": 8
},
"end": {
"line": 82,
"column": 21
}
}
},
{
"type": "CommentLine",
"value": " Throughput",
"start": 3132,
"end": 3145,
"loc": {
"start": {
"line": 93,
"column": 8
},
"end": {
"line": 93,
"column": 21
}
}
},
{
"type": "CommentLine",
"value": " Amount of miners",
"start": 3493,
"end": 3512,
"loc": {
"start": {
"line": 102,
"column": 8
},
"end": {
"line": 102,
"column": 27
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Finds all connected miners to the given entity\r\n * @param {Entity} entity\r\n * @param {Set<number>} seenUids Which entities have already been processed\r\n * @returns {Array<Entity>} The connected miners\r\n ",
"start": 4493,
"end": 4726,
"loc": {
"start": {
"line": 128,
"column": 4
},
"end": {
"line": 133,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " Check for the miner which we connect to",
"start": 5017,
"end": 5059,
"loc": {
"start": {
"line": 143,
"column": 8
},
"end": {
"line": 143,
"column": 50
}
}
},
{
"type": "CommentLine",
"value": " Search within a 1x1 grid - this assumes miners are always 1x1",
"start": 5414,
"end": 5478,
"loc": {
"start": {
"line": 151,
"column": 8
},
"end": {
"line": 151,
"column": 72
}
}
},
{
"type": "CommentLine",
"value": " Found a miner connected to this entity",
"start": 5934,
"end": 5975,
"loc": {
"start": {
"line": 161,
"column": 24
},
"end": {
"line": 161,
"column": 65
}
}
}
],
"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": 51,
"loc": {
"start": {
"line": 1,
"column": 29
},
"end": {
"line": 1,
"column": 51
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 51,
"end": 52,
"loc": {
"start": {
"line": 1,
"column": 51
},
"end": {
"line": 1,
"column": 52
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 54,
"end": 60,
"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": 61,
"end": 62,
"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": "formatItemsPerSecond",
"start": 63,
"end": 83,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 29
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 83,
"end": 84,
"loc": {
"start": {
"line": 2,
"column": 29
},
"end": {
"line": 2,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "round2Digits",
"start": 85,
"end": 97,
"loc": {
"start": {
"line": 2,
"column": 31
},
"end": {
"line": 2,
"column": 43
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 98,
"end": 99,
"loc": {
"start": {
"line": 2,
"column": 44
},
"end": {
"line": 2,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 100,
"end": 104,
"loc": {
"start": {
"line": 2,
"column": 46
},
"end": {
"line": 2,
"column": 50
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../../core/utils",
"start": 105,
"end": 126,
"loc": {
"start": {
"line": 2,
"column": 51
},
"end": {
"line": 2,
"column": 72
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 126,
"end": 127,
"loc": {
"start": {
"line": 2,
"column": 72
},
"end": {
"line": 2,
"column": 73
}
}
},
{
"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": 129,
"end": 135,
"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": 136,
"end": 137,
"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": "Vector",
"start": 138,
"end": 144,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 15
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 145,
"end": 146,
"loc": {
"start": {
"line": 3,
"column": 16
},
"end": {
"line": 3,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 147,
"end": 151,
"loc": {
"start": {
"line": 3,
"column": 18
},
"end": {
"line": 3,
"column": 22
}
}
},
{
"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": 152,
"end": 174,
"loc": {
"start": {
"line": 3,
"column": 23
},
"end": {
"line": 3,
"column": 45
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 174,
"end": 175,
"loc": {
"start": {
"line": 3,
"column": 45
},
"end": {
"line": 3,
"column": 46
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 177,
"end": 183,
"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": 184,
"end": 185,
"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": "T",
"start": 186,
"end": 187,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 10
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 188,
"end": 189,
"loc": {
"start": {
"line": 4,
"column": 11
},
"end": {
"line": 4,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 190,
"end": 194,
"loc": {
"start": {
"line": 4,
"column": 13
},
"end": {
"line": 4,
"column": 17
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../../translations",
"start": 195,
"end": 218,
"loc": {
"start": {
"line": 4,
"column": 18
},
"end": {
"line": 4,
"column": 41
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 218,
"end": 219,
"loc": {
"start": {
"line": 4,
"column": 41
},
"end": {
"line": 4,
"column": 42
}
}
},
{
"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": 221,
"end": 227,
"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": 228,
"end": 229,
"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": "Entity",
"start": 230,
"end": 236,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 15
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 237,
"end": 238,
"loc": {
"start": {
"line": 5,
"column": 16
},
"end": {
"line": 5,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 239,
"end": 243,
"loc": {
"start": {
"line": 5,
"column": 18
},
"end": {
"line": 5,
"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": 244,
"end": 258,
"loc": {
"start": {
"line": 5,
"column": 23
},
"end": {
"line": 5,
"column": 37
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 258,
"end": 259,
"loc": {
"start": {
"line": 5,
"column": 37
},
"end": {
"line": 5,
"column": 38
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 261,
"end": 267,
"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": 268,
"end": 269,
"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": "THEME",
"start": 270,
"end": 275,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 14
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 276,
"end": 277,
"loc": {
"start": {
"line": 6,
"column": 15
},
"end": {
"line": 6,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 278,
"end": 282,
"loc": {
"start": {
"line": 6,
"column": 17
},
"end": {
"line": 6,
"column": 21
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../theme",
"start": 283,
"end": 296,
"loc": {
"start": {
"line": 6,
"column": 22
},
"end": {
"line": 6,
"column": 35
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 296,
"end": 297,
"loc": {
"start": {
"line": 6,
"column": 35
},
"end": {
"line": 6,
"column": 36
}
}
},
{
"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": 299,
"end": 305,
"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": 306,
"end": 307,
"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": "BaseHUDPart",
"start": 308,
"end": 319,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 20
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 320,
"end": 321,
"loc": {
"start": {
"line": 7,
"column": 21
},
"end": {
"line": 7,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 322,
"end": 326,
"loc": {
"start": {
"line": 7,
"column": 23
},
"end": {
"line": 7,
"column": 27
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../base_hud_part",
"start": 327,
"end": 345,
"loc": {
"start": {
"line": 7,
"column": 28
},
"end": {
"line": 7,
"column": 46
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 345,
"end": 346,
"loc": {
"start": {
"line": 7,
"column": 46
},
"end": {
"line": 7,
"column": 47
}
}
},
{
"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": 350,
"end": 356,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"column": 6
}
}
},
{
"type": {
"label": "class",
"keyword": "class",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "class",
"start": 357,
"end": 362,
"loc": {
"start": {
"line": 9,
"column": 7
},
"end": {
"line": 9,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "HUDMinerHighlight",
"start": 363,
"end": 380,
"loc": {
"start": {
"line": 9,
"column": 13
},
"end": {
"line": 9,
"column": 30
}
}
},
{
"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": 381,
"end": 388,
"loc": {
"start": {
"line": 9,
"column": 31
},
"end": {
"line": 9,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "BaseHUDPart",
"start": 389,
"end": 400,
"loc": {
"start": {
"line": 9,
"column": 39
},
"end": {
"line": 9,
"column": 50
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 401,
"end": 402,
"loc": {
"start": {
"line": 9,
"column": 51
},
"end": {
"line": 9,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "initialize",
"start": 408,
"end": 418,
"loc": {
"start": {
"line": 10,
"column": 4
},
"end": {
"line": 10,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 418,
"end": 419,
"loc": {
"start": {
"line": 10,
"column": 14
},
"end": {
"line": 10,
"column": 15
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 419,
"end": 420,
"loc": {
"start": {
"line": 10,
"column": 15
},
"end": {
"line": 10,
"column": 16
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 421,
"end": 422,
"loc": {
"start": {
"line": 10,
"column": 17
},
"end": {
"line": 10,
"column": 18
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 422,
"end": 423,
"loc": {
"start": {
"line": 10,
"column": 18
},
"end": {
"line": 10,
"column": 19
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {import(\"../../../core/draw_utils\").DrawParameters} parameters\r\n ",
"start": 431,
"end": 529,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 15,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "draw",
"start": 535,
"end": 539,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 16,
"column": 8
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 539,
"end": 540,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 540,
"end": 550,
"loc": {
"start": {
"line": 16,
"column": 9
},
"end": {
"line": 16,
"column": 19
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 550,
"end": 551,
"loc": {
"start": {
"line": 16,
"column": 19
},
"end": {
"line": 16,
"column": 20
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 552,
"end": 553,
"loc": {
"start": {
"line": 16,
"column": 21
},
"end": {
"line": 16,
"column": 22
}
}
},
{
"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": 563,
"end": 568,
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 17,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "mousePos",
"start": 569,
"end": 577,
"loc": {
"start": {
"line": 17,
"column": 14
},
"end": {
"line": 17,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 578,
"end": 579,
"loc": {
"start": {
"line": 17,
"column": 23
},
"end": {
"line": 17,
"column": 24
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 580,
"end": 584,
"loc": {
"start": {
"line": 17,
"column": 25
},
"end": {
"line": 17,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 584,
"end": 585,
"loc": {
"start": {
"line": 17,
"column": 29
},
"end": {
"line": 17,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 585,
"end": 589,
"loc": {
"start": {
"line": 17,
"column": 30
},
"end": {
"line": 17,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 589,
"end": 590,
"loc": {
"start": {
"line": 17,
"column": 34
},
"end": {
"line": 17,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "app",
"start": 590,
"end": 593,
"loc": {
"start": {
"line": 17,
"column": 35
},
"end": {
"line": 17,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 593,
"end": 594,
"loc": {
"start": {
"line": 17,
"column": 38
},
"end": {
"line": 17,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "mousePosition",
"start": 594,
"end": 607,
"loc": {
"start": {
"line": 17,
"column": 39
},
"end": {
"line": 17,
"column": 52
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 607,
"end": 608,
"loc": {
"start": {
"line": 17,
"column": 52
},
"end": {
"line": 17,
"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": 618,
"end": 620,
"loc": {
"start": {
"line": 18,
"column": 8
},
"end": {
"line": 18,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 621,
"end": 622,
"loc": {
"start": {
"line": 18,
"column": 11
},
"end": {
"line": 18,
"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": 622,
"end": 623,
"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": "mousePos",
"start": 623,
"end": 631,
"loc": {
"start": {
"line": 18,
"column": 13
},
"end": {
"line": 18,
"column": 21
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 631,
"end": 632,
"loc": {
"start": {
"line": 18,
"column": 21
},
"end": {
"line": 18,
"column": 22
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 633,
"end": 634,
"loc": {
"start": {
"line": 18,
"column": 23
},
"end": {
"line": 18,
"column": 24
}
}
},
{
"type": "CommentLine",
"value": " Mouse pos not ready",
"start": 648,
"end": 670,
"loc": {
"start": {
"line": 19,
"column": 12
},
"end": {
"line": 19,
"column": 34
}
}
},
{
"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": 684,
"end": 690,
"loc": {
"start": {
"line": 20,
"column": 12
},
"end": {
"line": 20,
"column": 18
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 690,
"end": 691,
"loc": {
"start": {
"line": 20,
"column": 18
},
"end": {
"line": 20,
"column": 19
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 701,
"end": 702,
"loc": {
"start": {
"line": 21,
"column": 8
},
"end": {
"line": 21,
"column": 9
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 714,
"end": 716,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 23,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 717,
"end": 718,
"loc": {
"start": {
"line": 23,
"column": 11
},
"end": {
"line": 23,
"column": 12
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 718,
"end": 722,
"loc": {
"start": {
"line": 23,
"column": 12
},
"end": {
"line": 23,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 722,
"end": 723,
"loc": {
"start": {
"line": 23,
"column": 16
},
"end": {
"line": 23,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 723,
"end": 727,
"loc": {
"start": {
"line": 23,
"column": 17
},
"end": {
"line": 23,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 727,
"end": 728,
"loc": {
"start": {
"line": 23,
"column": 21
},
"end": {
"line": 23,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentLayer",
"start": 728,
"end": 740,
"loc": {
"start": {
"line": 23,
"column": 22
},
"end": {
"line": 23,
"column": 34
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 741,
"end": 744,
"loc": {
"start": {
"line": 23,
"column": 35
},
"end": {
"line": 23,
"column": 38
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "regular",
"start": 745,
"end": 754,
"loc": {
"start": {
"line": 23,
"column": 39
},
"end": {
"line": 23,
"column": 48
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 754,
"end": 755,
"loc": {
"start": {
"line": 23,
"column": 48
},
"end": {
"line": 23,
"column": 49
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 756,
"end": 757,
"loc": {
"start": {
"line": 23,
"column": 50
},
"end": {
"line": 23,
"column": 51
}
}
},
{
"type": "CommentLine",
"value": " Not within the regular layer",
"start": 771,
"end": 802,
"loc": {
"start": {
"line": 24,
"column": 12
},
"end": {
"line": 24,
"column": 43
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 816,
"end": 822,
"loc": {
"start": {
"line": 25,
"column": 12
},
"end": {
"line": 25,
"column": 18
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 822,
"end": 823,
"loc": {
"start": {
"line": 25,
"column": 18
},
"end": {
"line": 25,
"column": 19
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 833,
"end": 834,
"loc": {
"start": {
"line": 26,
"column": 8
},
"end": {
"line": 26,
"column": 9
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 846,
"end": 848,
"loc": {
"start": {
"line": 28,
"column": 8
},
"end": {
"line": 28,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 849,
"end": 850,
"loc": {
"start": {
"line": 28,
"column": 11
},
"end": {
"line": 28,
"column": 12
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 850,
"end": 854,
"loc": {
"start": {
"line": 28,
"column": 12
},
"end": {
"line": 28,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 854,
"end": 855,
"loc": {
"start": {
"line": 28,
"column": 16
},
"end": {
"line": 28,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 855,
"end": 859,
"loc": {
"start": {
"line": 28,
"column": 17
},
"end": {
"line": 28,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 859,
"end": 860,
"loc": {
"start": {
"line": 28,
"column": 21
},
"end": {
"line": 28,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "camera",
"start": 860,
"end": 866,
"loc": {
"start": {
"line": 28,
"column": 22
},
"end": {
"line": 28,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 866,
"end": 867,
"loc": {
"start": {
"line": 28,
"column": 28
},
"end": {
"line": 28,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getIsMapOverlayActive",
"start": 867,
"end": 888,
"loc": {
"start": {
"line": 28,
"column": 29
},
"end": {
"line": 28,
"column": 50
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 888,
"end": 889,
"loc": {
"start": {
"line": 28,
"column": 50
},
"end": {
"line": 28,
"column": 51
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 889,
"end": 890,
"loc": {
"start": {
"line": 28,
"column": 51
},
"end": {
"line": 28,
"column": 52
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 890,
"end": 891,
"loc": {
"start": {
"line": 28,
"column": 52
},
"end": {
"line": 28,
"column": 53
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 892,
"end": 893,
"loc": {
"start": {
"line": 28,
"column": 54
},
"end": {
"line": 28,
"column": 55
}
}
},
{
"type": "CommentLine",
"value": " Not within the map overlay",
"start": 907,
"end": 936,
"loc": {
"start": {
"line": 29,
"column": 12
},
"end": {
"line": 29,
"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": 950,
"end": 956,
"loc": {
"start": {
"line": 30,
"column": 12
},
"end": {
"line": 30,
"column": 18
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 956,
"end": 957,
"loc": {
"start": {
"line": 30,
"column": 18
},
"end": {
"line": 30,
"column": 19
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 967,
"end": 968,
"loc": {
"start": {
"line": 31,
"column": 8
},
"end": {
"line": 31,
"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": 980,
"end": 985,
"loc": {
"start": {
"line": 33,
"column": 8
},
"end": {
"line": 33,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "worldPos",
"start": 986,
"end": 994,
"loc": {
"start": {
"line": 33,
"column": 14
},
"end": {
"line": 33,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 995,
"end": 996,
"loc": {
"start": {
"line": 33,
"column": 23
},
"end": {
"line": 33,
"column": 24
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 997,
"end": 1001,
"loc": {
"start": {
"line": 33,
"column": 25
},
"end": {
"line": 33,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1001,
"end": 1002,
"loc": {
"start": {
"line": 33,
"column": 29
},
"end": {
"line": 33,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 1002,
"end": 1006,
"loc": {
"start": {
"line": 33,
"column": 30
},
"end": {
"line": 33,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1006,
"end": 1007,
"loc": {
"start": {
"line": 33,
"column": 34
},
"end": {
"line": 33,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "camera",
"start": 1007,
"end": 1013,
"loc": {
"start": {
"line": 33,
"column": 35
},
"end": {
"line": 33,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1013,
"end": 1014,
"loc": {
"start": {
"line": 33,
"column": 41
},
"end": {
"line": 33,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "screenToWorld",
"start": 1014,
"end": 1027,
"loc": {
"start": {
"line": 33,
"column": 42
},
"end": {
"line": 33,
"column": 55
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1027,
"end": 1028,
"loc": {
"start": {
"line": 33,
"column": 55
},
"end": {
"line": 33,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "mousePos",
"start": 1028,
"end": 1036,
"loc": {
"start": {
"line": 33,
"column": 56
},
"end": {
"line": 33,
"column": 64
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1036,
"end": 1037,
"loc": {
"start": {
"line": 33,
"column": 64
},
"end": {
"line": 33,
"column": 65
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1037,
"end": 1038,
"loc": {
"start": {
"line": 33,
"column": 65
},
"end": {
"line": 33,
"column": 66
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 1048,
"end": 1053,
"loc": {
"start": {
"line": 34,
"column": 8
},
"end": {
"line": 34,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hoveredTile",
"start": 1054,
"end": 1065,
"loc": {
"start": {
"line": 34,
"column": 14
},
"end": {
"line": 34,
"column": 25
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1066,
"end": 1067,
"loc": {
"start": {
"line": 34,
"column": 26
},
"end": {
"line": 34,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "worldPos",
"start": 1068,
"end": 1076,
"loc": {
"start": {
"line": 34,
"column": 28
},
"end": {
"line": 34,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1076,
"end": 1077,
"loc": {
"start": {
"line": 34,
"column": 36
},
"end": {
"line": 34,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "toTileSpace",
"start": 1077,
"end": 1088,
"loc": {
"start": {
"line": 34,
"column": 37
},
"end": {
"line": 34,
"column": 48
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1088,
"end": 1089,
"loc": {
"start": {
"line": 34,
"column": 48
},
"end": {
"line": 34,
"column": 49
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1089,
"end": 1090,
"loc": {
"start": {
"line": 34,
"column": 49
},
"end": {
"line": 34,
"column": 50
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1090,
"end": 1091,
"loc": {
"start": {
"line": 34,
"column": 50
},
"end": {
"line": 34,
"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": 1103,
"end": 1108,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 36,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "contents",
"start": 1109,
"end": 1117,
"loc": {
"start": {
"line": 36,
"column": 14
},
"end": {
"line": 36,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1118,
"end": 1119,
"loc": {
"start": {
"line": 36,
"column": 23
},
"end": {
"line": 36,
"column": 24
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1120,
"end": 1124,
"loc": {
"start": {
"line": 36,
"column": 25
},
"end": {
"line": 36,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1124,
"end": 1125,
"loc": {
"start": {
"line": 36,
"column": 29
},
"end": {
"line": 36,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 1125,
"end": 1129,
"loc": {
"start": {
"line": 36,
"column": 30
},
"end": {
"line": 36,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1129,
"end": 1130,
"loc": {
"start": {
"line": 36,
"column": 34
},
"end": {
"line": 36,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "map",
"start": 1130,
"end": 1133,
"loc": {
"start": {
"line": 36,
"column": 35
},
"end": {
"line": 36,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1133,
"end": 1134,
"loc": {
"start": {
"line": 36,
"column": 38
},
"end": {
"line": 36,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getTileContent",
"start": 1134,
"end": 1148,
"loc": {
"start": {
"line": 36,
"column": 39
},
"end": {
"line": 36,
"column": 53
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1148,
"end": 1149,
"loc": {
"start": {
"line": 36,
"column": 53
},
"end": {
"line": 36,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hoveredTile",
"start": 1149,
"end": 1160,
"loc": {
"start": {
"line": 36,
"column": 54
},
"end": {
"line": 36,
"column": 65
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1160,
"end": 1161,
"loc": {
"start": {
"line": 36,
"column": 65
},
"end": {
"line": 36,
"column": 66
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "regular",
"start": 1162,
"end": 1171,
"loc": {
"start": {
"line": 36,
"column": 67
},
"end": {
"line": 36,
"column": 76
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1171,
"end": 1172,
"loc": {
"start": {
"line": 36,
"column": 76
},
"end": {
"line": 36,
"column": 77
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1172,
"end": 1173,
"loc": {
"start": {
"line": 36,
"column": 77
},
"end": {
"line": 36,
"column": 78
}
}
},
{
"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": 1183,
"end": 1185,
"loc": {
"start": {
"line": 37,
"column": 8
},
"end": {
"line": 37,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1186,
"end": 1187,
"loc": {
"start": {
"line": 37,
"column": 11
},
"end": {
"line": 37,
"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": 1187,
"end": 1188,
"loc": {
"start": {
"line": 37,
"column": 12
},
"end": {
"line": 37,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "contents",
"start": 1188,
"end": 1196,
"loc": {
"start": {
"line": 37,
"column": 13
},
"end": {
"line": 37,
"column": 21
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1196,
"end": 1197,
"loc": {
"start": {
"line": 37,
"column": 21
},
"end": {
"line": 37,
"column": 22
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1198,
"end": 1199,
"loc": {
"start": {
"line": 37,
"column": 23
},
"end": {
"line": 37,
"column": 24
}
}
},
{
"type": "CommentLine",
"value": " Empty tile",
"start": 1213,
"end": 1226,
"loc": {
"start": {
"line": 38,
"column": 12
},
"end": {
"line": 38,
"column": 25
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 1240,
"end": 1246,
"loc": {
"start": {
"line": 39,
"column": 12
},
"end": {
"line": 39,
"column": 18
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1246,
"end": 1247,
"loc": {
"start": {
"line": 39,
"column": 18
},
"end": {
"line": 39,
"column": 19
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1257,
"end": 1258,
"loc": {
"start": {
"line": 40,
"column": 8
},
"end": {
"line": 40,
"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": 1270,
"end": 1275,
"loc": {
"start": {
"line": 42,
"column": 8
},
"end": {
"line": 42,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "minerComp",
"start": 1276,
"end": 1285,
"loc": {
"start": {
"line": 42,
"column": 14
},
"end": {
"line": 42,
"column": 23
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1286,
"end": 1287,
"loc": {
"start": {
"line": 42,
"column": 24
},
"end": {
"line": 42,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "contents",
"start": 1288,
"end": 1296,
"loc": {
"start": {
"line": 42,
"column": 26
},
"end": {
"line": 42,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1296,
"end": 1297,
"loc": {
"start": {
"line": 42,
"column": 34
},
"end": {
"line": 42,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 1297,
"end": 1307,
"loc": {
"start": {
"line": 42,
"column": 35
},
"end": {
"line": 42,
"column": 45
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1307,
"end": 1308,
"loc": {
"start": {
"line": 42,
"column": 45
},
"end": {
"line": 42,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Miner",
"start": 1308,
"end": 1313,
"loc": {
"start": {
"line": 42,
"column": 46
},
"end": {
"line": 42,
"column": 51
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1313,
"end": 1314,
"loc": {
"start": {
"line": 42,
"column": 51
},
"end": {
"line": 42,
"column": 52
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 1324,
"end": 1326,
"loc": {
"start": {
"line": 43,
"column": 8
},
"end": {
"line": 43,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1327,
"end": 1328,
"loc": {
"start": {
"line": 43,
"column": 11
},
"end": {
"line": 43,
"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": 1328,
"end": 1329,
"loc": {
"start": {
"line": 43,
"column": 12
},
"end": {
"line": 43,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "minerComp",
"start": 1329,
"end": 1338,
"loc": {
"start": {
"line": 43,
"column": 13
},
"end": {
"line": 43,
"column": 22
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 1339,
"end": 1341,
"loc": {
"start": {
"line": 43,
"column": 23
},
"end": {
"line": 43,
"column": 25
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 1342,
"end": 1343,
"loc": {
"start": {
"line": 43,
"column": 26
},
"end": {
"line": 43,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "minerComp",
"start": 1343,
"end": 1352,
"loc": {
"start": {
"line": 43,
"column": 27
},
"end": {
"line": 43,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1352,
"end": 1353,
"loc": {
"start": {
"line": 43,
"column": 36
},
"end": {
"line": 43,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "chainable",
"start": 1353,
"end": 1362,
"loc": {
"start": {
"line": 43,
"column": 37
},
"end": {
"line": 43,
"column": 46
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1362,
"end": 1363,
"loc": {
"start": {
"line": 43,
"column": 46
},
"end": {
"line": 43,
"column": 47
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1364,
"end": 1365,
"loc": {
"start": {
"line": 43,
"column": 48
},
"end": {
"line": 43,
"column": 49
}
}
},
{
"type": "CommentLine",
"value": " Not a chainable miner",
"start": 1379,
"end": 1403,
"loc": {
"start": {
"line": 44,
"column": 12
},
"end": {
"line": 44,
"column": 36
}
}
},
{
"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": 1417,
"end": 1423,
"loc": {
"start": {
"line": 45,
"column": 12
},
"end": {
"line": 45,
"column": 18
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1423,
"end": 1424,
"loc": {
"start": {
"line": 45,
"column": 18
},
"end": {
"line": 45,
"column": 19
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1434,
"end": 1435,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"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": 1447,
"end": 1452,
"loc": {
"start": {
"line": 48,
"column": 8
},
"end": {
"line": 48,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "lowerContents",
"start": 1453,
"end": 1466,
"loc": {
"start": {
"line": 48,
"column": 14
},
"end": {
"line": 48,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1467,
"end": 1468,
"loc": {
"start": {
"line": 48,
"column": 28
},
"end": {
"line": 48,
"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": 1469,
"end": 1473,
"loc": {
"start": {
"line": 48,
"column": 30
},
"end": {
"line": 48,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1473,
"end": 1474,
"loc": {
"start": {
"line": 48,
"column": 34
},
"end": {
"line": 48,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 1474,
"end": 1478,
"loc": {
"start": {
"line": 48,
"column": 35
},
"end": {
"line": 48,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1478,
"end": 1479,
"loc": {
"start": {
"line": 48,
"column": 39
},
"end": {
"line": 48,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "map",
"start": 1479,
"end": 1482,
"loc": {
"start": {
"line": 48,
"column": 40
},
"end": {
"line": 48,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1482,
"end": 1483,
"loc": {
"start": {
"line": 48,
"column": 43
},
"end": {
"line": 48,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getLowerLayerContentXY",
"start": 1483,
"end": 1505,
"loc": {
"start": {
"line": 48,
"column": 44
},
"end": {
"line": 48,
"column": 66
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1505,
"end": 1506,
"loc": {
"start": {
"line": 48,
"column": 66
},
"end": {
"line": 48,
"column": 67
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hoveredTile",
"start": 1506,
"end": 1517,
"loc": {
"start": {
"line": 48,
"column": 67
},
"end": {
"line": 48,
"column": 78
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1517,
"end": 1518,
"loc": {
"start": {
"line": 48,
"column": 78
},
"end": {
"line": 48,
"column": 79
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 1518,
"end": 1519,
"loc": {
"start": {
"line": 48,
"column": 79
},
"end": {
"line": 48,
"column": 80
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1519,
"end": 1520,
"loc": {
"start": {
"line": 48,
"column": 80
},
"end": {
"line": 48,
"column": 81
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hoveredTile",
"start": 1521,
"end": 1532,
"loc": {
"start": {
"line": 48,
"column": 82
},
"end": {
"line": 48,
"column": 93
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1532,
"end": 1533,
"loc": {
"start": {
"line": 48,
"column": 93
},
"end": {
"line": 48,
"column": 94
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 1533,
"end": 1534,
"loc": {
"start": {
"line": 48,
"column": 94
},
"end": {
"line": 48,
"column": 95
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1534,
"end": 1535,
"loc": {
"start": {
"line": 48,
"column": 95
},
"end": {
"line": 48,
"column": 96
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1535,
"end": 1536,
"loc": {
"start": {
"line": 48,
"column": 96
},
"end": {
"line": 48,
"column": 97
}
}
},
{
"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": 1546,
"end": 1548,
"loc": {
"start": {
"line": 49,
"column": 8
},
"end": {
"line": 49,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1549,
"end": 1550,
"loc": {
"start": {
"line": 49,
"column": 11
},
"end": {
"line": 49,
"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": 1550,
"end": 1551,
"loc": {
"start": {
"line": 49,
"column": 12
},
"end": {
"line": 49,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "lowerContents",
"start": 1551,
"end": 1564,
"loc": {
"start": {
"line": 49,
"column": 13
},
"end": {
"line": 49,
"column": 26
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1564,
"end": 1565,
"loc": {
"start": {
"line": 49,
"column": 26
},
"end": {
"line": 49,
"column": 27
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1566,
"end": 1567,
"loc": {
"start": {
"line": 49,
"column": 28
},
"end": {
"line": 49,
"column": 29
}
}
},
{
"type": "CommentLine",
"value": " Not connected",
"start": 1581,
"end": 1597,
"loc": {
"start": {
"line": 50,
"column": 12
},
"end": {
"line": 50,
"column": 28
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 1611,
"end": 1617,
"loc": {
"start": {
"line": 51,
"column": 12
},
"end": {
"line": 51,
"column": 18
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1617,
"end": 1618,
"loc": {
"start": {
"line": 51,
"column": 18
},
"end": {
"line": 51,
"column": 19
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1628,
"end": 1629,
"loc": {
"start": {
"line": 52,
"column": 8
},
"end": {
"line": 52,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 1641,
"end": 1651,
"loc": {
"start": {
"line": 54,
"column": 8
},
"end": {
"line": 54,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1651,
"end": 1652,
"loc": {
"start": {
"line": 54,
"column": 18
},
"end": {
"line": 54,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 1652,
"end": 1659,
"loc": {
"start": {
"line": 54,
"column": 19
},
"end": {
"line": 54,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1659,
"end": 1660,
"loc": {
"start": {
"line": 54,
"column": 26
},
"end": {
"line": 54,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fillStyle",
"start": 1660,
"end": 1669,
"loc": {
"start": {
"line": 54,
"column": 27
},
"end": {
"line": 54,
"column": 36
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1670,
"end": 1671,
"loc": {
"start": {
"line": 54,
"column": 37
},
"end": {
"line": 54,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "THEME",
"start": 1672,
"end": 1677,
"loc": {
"start": {
"line": 54,
"column": 39
},
"end": {
"line": 54,
"column": 44
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1677,
"end": 1678,
"loc": {
"start": {
"line": 54,
"column": 44
},
"end": {
"line": 54,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "map",
"start": 1678,
"end": 1681,
"loc": {
"start": {
"line": 54,
"column": 45
},
"end": {
"line": 54,
"column": 48
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1681,
"end": 1682,
"loc": {
"start": {
"line": 54,
"column": 48
},
"end": {
"line": 54,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "connectedMiners",
"start": 1682,
"end": 1697,
"loc": {
"start": {
"line": 54,
"column": 49
},
"end": {
"line": 54,
"column": 64
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1697,
"end": 1698,
"loc": {
"start": {
"line": 54,
"column": 64
},
"end": {
"line": 54,
"column": 65
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "overlay",
"start": 1698,
"end": 1705,
"loc": {
"start": {
"line": 54,
"column": 65
},
"end": {
"line": 54,
"column": 72
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1705,
"end": 1706,
"loc": {
"start": {
"line": 54,
"column": 72
},
"end": {
"line": 54,
"column": 73
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 1718,
"end": 1723,
"loc": {
"start": {
"line": 56,
"column": 8
},
"end": {
"line": 56,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "connectedEntities",
"start": 1724,
"end": 1741,
"loc": {
"start": {
"line": 56,
"column": 14
},
"end": {
"line": 56,
"column": 31
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1742,
"end": 1743,
"loc": {
"start": {
"line": 56,
"column": 32
},
"end": {
"line": 56,
"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": 1744,
"end": 1748,
"loc": {
"start": {
"line": 56,
"column": 34
},
"end": {
"line": 56,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1748,
"end": 1749,
"loc": {
"start": {
"line": 56,
"column": 38
},
"end": {
"line": 56,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "findConnectedMiners",
"start": 1749,
"end": 1768,
"loc": {
"start": {
"line": 56,
"column": 39
},
"end": {
"line": 56,
"column": 58
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1768,
"end": 1769,
"loc": {
"start": {
"line": 56,
"column": 58
},
"end": {
"line": 56,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "contents",
"start": 1769,
"end": 1777,
"loc": {
"start": {
"line": 56,
"column": 59
},
"end": {
"line": 56,
"column": 67
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1777,
"end": 1778,
"loc": {
"start": {
"line": 56,
"column": 67
},
"end": {
"line": 56,
"column": 68
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1778,
"end": 1779,
"loc": {
"start": {
"line": 56,
"column": 68
},
"end": {
"line": 56,
"column": 69
}
}
},
{
"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": 1791,
"end": 1794,
"loc": {
"start": {
"line": 58,
"column": 8
},
"end": {
"line": 58,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1795,
"end": 1796,
"loc": {
"start": {
"line": 58,
"column": 12
},
"end": {
"line": 58,
"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": 1796,
"end": 1799,
"loc": {
"start": {
"line": 58,
"column": 13
},
"end": {
"line": 58,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 1800,
"end": 1801,
"loc": {
"start": {
"line": 58,
"column": 17
},
"end": {
"line": 58,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1802,
"end": 1803,
"loc": {
"start": {
"line": 58,
"column": 19
},
"end": {
"line": 58,
"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": 1804,
"end": 1805,
"loc": {
"start": {
"line": 58,
"column": 21
},
"end": {
"line": 58,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1805,
"end": 1806,
"loc": {
"start": {
"line": 58,
"column": 22
},
"end": {
"line": 58,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 1807,
"end": 1808,
"loc": {
"start": {
"line": 58,
"column": 24
},
"end": {
"line": 58,
"column": 25
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 1809,
"end": 1810,
"loc": {
"start": {
"line": 58,
"column": 26
},
"end": {
"line": 58,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "connectedEntities",
"start": 1811,
"end": 1828,
"loc": {
"start": {
"line": 58,
"column": 28
},
"end": {
"line": 58,
"column": 45
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1828,
"end": 1829,
"loc": {
"start": {
"line": 58,
"column": 45
},
"end": {
"line": 58,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 1829,
"end": 1835,
"loc": {
"start": {
"line": 58,
"column": 46
},
"end": {
"line": 58,
"column": 52
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1835,
"end": 1836,
"loc": {
"start": {
"line": 58,
"column": 52
},
"end": {
"line": 58,
"column": 53
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 1837,
"end": 1839,
"loc": {
"start": {
"line": 58,
"column": 54
},
"end": {
"line": 58,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 1839,
"end": 1840,
"loc": {
"start": {
"line": 58,
"column": 56
},
"end": {
"line": 58,
"column": 57
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1840,
"end": 1841,
"loc": {
"start": {
"line": 58,
"column": 57
},
"end": {
"line": 58,
"column": 58
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1842,
"end": 1843,
"loc": {
"start": {
"line": 58,
"column": 59
},
"end": {
"line": 58,
"column": 60
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 1857,
"end": 1862,
"loc": {
"start": {
"line": 59,
"column": 12
},
"end": {
"line": 59,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 1863,
"end": 1869,
"loc": {
"start": {
"line": 59,
"column": 18
},
"end": {
"line": 59,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1870,
"end": 1871,
"loc": {
"start": {
"line": 59,
"column": 25
},
"end": {
"line": 59,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "connectedEntities",
"start": 1872,
"end": 1889,
"loc": {
"start": {
"line": 59,
"column": 27
},
"end": {
"line": 59,
"column": 44
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1889,
"end": 1890,
"loc": {
"start": {
"line": 59,
"column": 44
},
"end": {
"line": 59,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 1890,
"end": 1891,
"loc": {
"start": {
"line": 59,
"column": 45
},
"end": {
"line": 59,
"column": 46
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1891,
"end": 1892,
"loc": {
"start": {
"line": 59,
"column": 46
},
"end": {
"line": 59,
"column": 47
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1892,
"end": 1893,
"loc": {
"start": {
"line": 59,
"column": 47
},
"end": {
"line": 59,
"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": 1907,
"end": 1912,
"loc": {
"start": {
"line": 60,
"column": 12
},
"end": {
"line": 60,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "staticComp",
"start": 1913,
"end": 1923,
"loc": {
"start": {
"line": 60,
"column": 18
},
"end": {
"line": 60,
"column": 28
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1924,
"end": 1925,
"loc": {
"start": {
"line": 60,
"column": 29
},
"end": {
"line": 60,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 1926,
"end": 1932,
"loc": {
"start": {
"line": 60,
"column": 31
},
"end": {
"line": 60,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1932,
"end": 1933,
"loc": {
"start": {
"line": 60,
"column": 37
},
"end": {
"line": 60,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 1933,
"end": 1943,
"loc": {
"start": {
"line": 60,
"column": 38
},
"end": {
"line": 60,
"column": 48
}
}
},
{
"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": 60,
"column": 48
},
"end": {
"line": 60,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "StaticMapEntity",
"start": 1944,
"end": 1959,
"loc": {
"start": {
"line": 60,
"column": 49
},
"end": {
"line": 60,
"column": 64
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1959,
"end": 1960,
"loc": {
"start": {
"line": 60,
"column": 64
},
"end": {
"line": 60,
"column": 65
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 1976,
"end": 1986,
"loc": {
"start": {
"line": 62,
"column": 12
},
"end": {
"line": 62,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1986,
"end": 1987,
"loc": {
"start": {
"line": 62,
"column": 22
},
"end": {
"line": 62,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 1987,
"end": 1994,
"loc": {
"start": {
"line": 62,
"column": 23
},
"end": {
"line": 62,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1994,
"end": 1995,
"loc": {
"start": {
"line": 62,
"column": 30
},
"end": {
"line": 62,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "beginRoundedRect",
"start": 1995,
"end": 2011,
"loc": {
"start": {
"line": 62,
"column": 31
},
"end": {
"line": 62,
"column": 47
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2011,
"end": 2012,
"loc": {
"start": {
"line": 62,
"column": 47
},
"end": {
"line": 62,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "staticComp",
"start": 2030,
"end": 2040,
"loc": {
"start": {
"line": 63,
"column": 16
},
"end": {
"line": 63,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2040,
"end": 2041,
"loc": {
"start": {
"line": 63,
"column": 26
},
"end": {
"line": 63,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "origin",
"start": 2041,
"end": 2047,
"loc": {
"start": {
"line": 63,
"column": 27
},
"end": {
"line": 63,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2047,
"end": 2048,
"loc": {
"start": {
"line": 63,
"column": 33
},
"end": {
"line": 63,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 2048,
"end": 2049,
"loc": {
"start": {
"line": 63,
"column": 34
},
"end": {
"line": 63,
"column": 35
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 2050,
"end": 2051,
"loc": {
"start": {
"line": 63,
"column": 36
},
"end": {
"line": 63,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalConfig",
"start": 2052,
"end": 2064,
"loc": {
"start": {
"line": 63,
"column": 38
},
"end": {
"line": 63,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2064,
"end": 2065,
"loc": {
"start": {
"line": 63,
"column": 50
},
"end": {
"line": 63,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tileSize",
"start": 2065,
"end": 2073,
"loc": {
"start": {
"line": 63,
"column": 51
},
"end": {
"line": 63,
"column": 59
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 2074,
"end": 2075,
"loc": {
"start": {
"line": 63,
"column": 60
},
"end": {
"line": 63,
"column": 61
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 5,
"start": 2076,
"end": 2077,
"loc": {
"start": {
"line": 63,
"column": 62
},
"end": {
"line": 63,
"column": 63
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2077,
"end": 2078,
"loc": {
"start": {
"line": 63,
"column": 63
},
"end": {
"line": 63,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "staticComp",
"start": 2096,
"end": 2106,
"loc": {
"start": {
"line": 64,
"column": 16
},
"end": {
"line": 64,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2106,
"end": 2107,
"loc": {
"start": {
"line": 64,
"column": 26
},
"end": {
"line": 64,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "origin",
"start": 2107,
"end": 2113,
"loc": {
"start": {
"line": 64,
"column": 27
},
"end": {
"line": 64,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2113,
"end": 2114,
"loc": {
"start": {
"line": 64,
"column": 33
},
"end": {
"line": 64,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 2114,
"end": 2115,
"loc": {
"start": {
"line": 64,
"column": 34
},
"end": {
"line": 64,
"column": 35
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 2116,
"end": 2117,
"loc": {
"start": {
"line": 64,
"column": 36
},
"end": {
"line": 64,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalConfig",
"start": 2118,
"end": 2130,
"loc": {
"start": {
"line": 64,
"column": 38
},
"end": {
"line": 64,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2130,
"end": 2131,
"loc": {
"start": {
"line": 64,
"column": 50
},
"end": {
"line": 64,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tileSize",
"start": 2131,
"end": 2139,
"loc": {
"start": {
"line": 64,
"column": 51
},
"end": {
"line": 64,
"column": 59
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 2140,
"end": 2141,
"loc": {
"start": {
"line": 64,
"column": 60
},
"end": {
"line": 64,
"column": 61
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 5,
"start": 2142,
"end": 2143,
"loc": {
"start": {
"line": 64,
"column": 62
},
"end": {
"line": 64,
"column": 63
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2143,
"end": 2144,
"loc": {
"start": {
"line": 64,
"column": 63
},
"end": {
"line": 64,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalConfig",
"start": 2162,
"end": 2174,
"loc": {
"start": {
"line": 65,
"column": 16
},
"end": {
"line": 65,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2174,
"end": 2175,
"loc": {
"start": {
"line": 65,
"column": 28
},
"end": {
"line": 65,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tileSize",
"start": 2175,
"end": 2183,
"loc": {
"start": {
"line": 65,
"column": 29
},
"end": {
"line": 65,
"column": 37
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 2184,
"end": 2185,
"loc": {
"start": {
"line": 65,
"column": 38
},
"end": {
"line": 65,
"column": 39
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 10,
"start": 2186,
"end": 2188,
"loc": {
"start": {
"line": 65,
"column": 40
},
"end": {
"line": 65,
"column": 42
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2188,
"end": 2189,
"loc": {
"start": {
"line": 65,
"column": 42
},
"end": {
"line": 65,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalConfig",
"start": 2207,
"end": 2219,
"loc": {
"start": {
"line": 66,
"column": 16
},
"end": {
"line": 66,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2219,
"end": 2220,
"loc": {
"start": {
"line": 66,
"column": 28
},
"end": {
"line": 66,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tileSize",
"start": 2220,
"end": 2228,
"loc": {
"start": {
"line": 66,
"column": 29
},
"end": {
"line": 66,
"column": 37
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 2229,
"end": 2230,
"loc": {
"start": {
"line": 66,
"column": 38
},
"end": {
"line": 66,
"column": 39
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 10,
"start": 2231,
"end": 2233,
"loc": {
"start": {
"line": 66,
"column": 40
},
"end": {
"line": 66,
"column": 42
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2233,
"end": 2234,
"loc": {
"start": {
"line": 66,
"column": 42
},
"end": {
"line": 66,
"column": 43
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 3,
"start": 2252,
"end": 2253,
"loc": {
"start": {
"line": 67,
"column": 16
},
"end": {
"line": 67,
"column": 17
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2267,
"end": 2268,
"loc": {
"start": {
"line": 68,
"column": 12
},
"end": {
"line": 68,
"column": 13
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2268,
"end": 2269,
"loc": {
"start": {
"line": 68,
"column": 13
},
"end": {
"line": 68,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 2283,
"end": 2293,
"loc": {
"start": {
"line": 69,
"column": 12
},
"end": {
"line": 69,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2293,
"end": 2294,
"loc": {
"start": {
"line": 69,
"column": 22
},
"end": {
"line": 69,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 2294,
"end": 2301,
"loc": {
"start": {
"line": 69,
"column": 23
},
"end": {
"line": 69,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2301,
"end": 2302,
"loc": {
"start": {
"line": 69,
"column": 30
},
"end": {
"line": 69,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fill",
"start": 2302,
"end": 2306,
"loc": {
"start": {
"line": 69,
"column": 31
},
"end": {
"line": 69,
"column": 35
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2306,
"end": 2307,
"loc": {
"start": {
"line": 69,
"column": 35
},
"end": {
"line": 69,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2307,
"end": 2308,
"loc": {
"start": {
"line": 69,
"column": 36
},
"end": {
"line": 69,
"column": 37
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2308,
"end": 2309,
"loc": {
"start": {
"line": 69,
"column": 37
},
"end": {
"line": 69,
"column": 38
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2319,
"end": 2320,
"loc": {
"start": {
"line": 70,
"column": 8
},
"end": {
"line": 70,
"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": 2332,
"end": 2337,
"loc": {
"start": {
"line": 72,
"column": 8
},
"end": {
"line": 72,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "throughput",
"start": 2338,
"end": 2348,
"loc": {
"start": {
"line": 72,
"column": 14
},
"end": {
"line": 72,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2349,
"end": 2350,
"loc": {
"start": {
"line": 72,
"column": 25
},
"end": {
"line": 72,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "round2Digits",
"start": 2351,
"end": 2363,
"loc": {
"start": {
"line": 72,
"column": 27
},
"end": {
"line": 72,
"column": 39
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2363,
"end": 2364,
"loc": {
"start": {
"line": 72,
"column": 39
},
"end": {
"line": 72,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "connectedEntities",
"start": 2364,
"end": 2381,
"loc": {
"start": {
"line": 72,
"column": 40
},
"end": {
"line": 72,
"column": 57
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2381,
"end": 2382,
"loc": {
"start": {
"line": 72,
"column": 57
},
"end": {
"line": 72,
"column": 58
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 2382,
"end": 2388,
"loc": {
"start": {
"line": 72,
"column": 58
},
"end": {
"line": 72,
"column": 64
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 2389,
"end": 2390,
"loc": {
"start": {
"line": 72,
"column": 65
},
"end": {
"line": 72,
"column": 66
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 2391,
"end": 2395,
"loc": {
"start": {
"line": 72,
"column": 67
},
"end": {
"line": 72,
"column": 71
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2395,
"end": 2396,
"loc": {
"start": {
"line": 72,
"column": 71
},
"end": {
"line": 72,
"column": 72
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 2396,
"end": 2400,
"loc": {
"start": {
"line": 72,
"column": 72
},
"end": {
"line": 72,
"column": 76
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2400,
"end": 2401,
"loc": {
"start": {
"line": 72,
"column": 76
},
"end": {
"line": 72,
"column": 77
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hubGoals",
"start": 2401,
"end": 2409,
"loc": {
"start": {
"line": 72,
"column": 77
},
"end": {
"line": 72,
"column": 85
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2409,
"end": 2410,
"loc": {
"start": {
"line": 72,
"column": 85
},
"end": {
"line": 72,
"column": 86
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getMinerBaseSpeed",
"start": 2410,
"end": 2427,
"loc": {
"start": {
"line": 72,
"column": 86
},
"end": {
"line": 72,
"column": 103
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2427,
"end": 2428,
"loc": {
"start": {
"line": 72,
"column": 103
},
"end": {
"line": 72,
"column": 104
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2428,
"end": 2429,
"loc": {
"start": {
"line": 72,
"column": 104
},
"end": {
"line": 72,
"column": 105
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2429,
"end": 2430,
"loc": {
"start": {
"line": 72,
"column": 105
},
"end": {
"line": 72,
"column": 106
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2430,
"end": 2431,
"loc": {
"start": {
"line": 72,
"column": 106
},
"end": {
"line": 72,
"column": 107
}
}
},
{
"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": 2443,
"end": 2448,
"loc": {
"start": {
"line": 74,
"column": 8
},
"end": {
"line": 74,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "maxThroughput",
"start": 2449,
"end": 2462,
"loc": {
"start": {
"line": 74,
"column": 14
},
"end": {
"line": 74,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2463,
"end": 2464,
"loc": {
"start": {
"line": 74,
"column": 28
},
"end": {
"line": 74,
"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": 2465,
"end": 2469,
"loc": {
"start": {
"line": 74,
"column": 30
},
"end": {
"line": 74,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2469,
"end": 2470,
"loc": {
"start": {
"line": 74,
"column": 34
},
"end": {
"line": 74,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 2470,
"end": 2474,
"loc": {
"start": {
"line": 74,
"column": 35
},
"end": {
"line": 74,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2474,
"end": 2475,
"loc": {
"start": {
"line": 74,
"column": 39
},
"end": {
"line": 74,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hubGoals",
"start": 2475,
"end": 2483,
"loc": {
"start": {
"line": 74,
"column": 40
},
"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": 2483,
"end": 2484,
"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": "getBeltBaseSpeed",
"start": 2484,
"end": 2500,
"loc": {
"start": {
"line": 74,
"column": 49
},
"end": {
"line": 74,
"column": 65
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2500,
"end": 2501,
"loc": {
"start": {
"line": 74,
"column": 65
},
"end": {
"line": 74,
"column": 66
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2501,
"end": 2502,
"loc": {
"start": {
"line": 74,
"column": 66
},
"end": {
"line": 74,
"column": 67
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2502,
"end": 2503,
"loc": {
"start": {
"line": 74,
"column": 67
},
"end": {
"line": 74,
"column": 68
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 2515,
"end": 2520,
"loc": {
"start": {
"line": 76,
"column": 8
},
"end": {
"line": 76,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tooltipLocation",
"start": 2521,
"end": 2536,
"loc": {
"start": {
"line": 76,
"column": 14
},
"end": {
"line": 76,
"column": 29
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2537,
"end": 2538,
"loc": {
"start": {
"line": 76,
"column": 30
},
"end": {
"line": 76,
"column": 31
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 2539,
"end": 2543,
"loc": {
"start": {
"line": 76,
"column": 32
},
"end": {
"line": 76,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2543,
"end": 2544,
"loc": {
"start": {
"line": 76,
"column": 36
},
"end": {
"line": 76,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 2544,
"end": 2548,
"loc": {
"start": {
"line": 76,
"column": 37
},
"end": {
"line": 76,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2548,
"end": 2549,
"loc": {
"start": {
"line": 76,
"column": 41
},
"end": {
"line": 76,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "camera",
"start": 2549,
"end": 2555,
"loc": {
"start": {
"line": 76,
"column": 42
},
"end": {
"line": 76,
"column": 48
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2555,
"end": 2556,
"loc": {
"start": {
"line": 76,
"column": 48
},
"end": {
"line": 76,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "screenToWorld",
"start": 2556,
"end": 2569,
"loc": {
"start": {
"line": 76,
"column": 49
},
"end": {
"line": 76,
"column": 62
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2569,
"end": 2570,
"loc": {
"start": {
"line": 76,
"column": 62
},
"end": {
"line": 76,
"column": 63
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "mousePos",
"start": 2570,
"end": 2578,
"loc": {
"start": {
"line": 76,
"column": 63
},
"end": {
"line": 76,
"column": 71
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2578,
"end": 2579,
"loc": {
"start": {
"line": 76,
"column": 71
},
"end": {
"line": 76,
"column": 72
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2579,
"end": 2580,
"loc": {
"start": {
"line": 76,
"column": 72
},
"end": {
"line": 76,
"column": 73
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 2592,
"end": 2597,
"loc": {
"start": {
"line": 78,
"column": 8
},
"end": {
"line": 78,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scale",
"start": 2598,
"end": 2603,
"loc": {
"start": {
"line": 78,
"column": 14
},
"end": {
"line": 78,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2604,
"end": 2605,
"loc": {
"start": {
"line": 78,
"column": 20
},
"end": {
"line": 78,
"column": 21
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2606,
"end": 2607,
"loc": {
"start": {
"line": 78,
"column": 22
},
"end": {
"line": 78,
"column": 23
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 2607,
"end": 2608,
"loc": {
"start": {
"line": 78,
"column": 23
},
"end": {
"line": 78,
"column": 24
}
}
},
{
"type": {
"label": "/",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "/",
"start": 2609,
"end": 2610,
"loc": {
"start": {
"line": 78,
"column": 25
},
"end": {
"line": 78,
"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": 2611,
"end": 2615,
"loc": {
"start": {
"line": 78,
"column": 27
},
"end": {
"line": 78,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2615,
"end": 2616,
"loc": {
"start": {
"line": 78,
"column": 31
},
"end": {
"line": 78,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 2616,
"end": 2620,
"loc": {
"start": {
"line": 78,
"column": 32
},
"end": {
"line": 78,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2620,
"end": 2621,
"loc": {
"start": {
"line": 78,
"column": 36
},
"end": {
"line": 78,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "camera",
"start": 2621,
"end": 2627,
"loc": {
"start": {
"line": 78,
"column": 37
},
"end": {
"line": 78,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2627,
"end": 2628,
"loc": {
"start": {
"line": 78,
"column": 43
},
"end": {
"line": 78,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "zoomLevel",
"start": 2628,
"end": 2637,
"loc": {
"start": {
"line": 78,
"column": 44
},
"end": {
"line": 78,
"column": 53
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2637,
"end": 2638,
"loc": {
"start": {
"line": 78,
"column": 53
},
"end": {
"line": 78,
"column": 54
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 2639,
"end": 2640,
"loc": {
"start": {
"line": 78,
"column": 55
},
"end": {
"line": 78,
"column": 56
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 2641,
"end": 2645,
"loc": {
"start": {
"line": 78,
"column": 57
},
"end": {
"line": 78,
"column": 61
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2645,
"end": 2646,
"loc": {
"start": {
"line": 78,
"column": 61
},
"end": {
"line": 78,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 2646,
"end": 2650,
"loc": {
"start": {
"line": 78,
"column": 62
},
"end": {
"line": 78,
"column": 66
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2650,
"end": 2651,
"loc": {
"start": {
"line": 78,
"column": 66
},
"end": {
"line": 78,
"column": 67
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "app",
"start": 2651,
"end": 2654,
"loc": {
"start": {
"line": 78,
"column": 67
},
"end": {
"line": 78,
"column": 70
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2654,
"end": 2655,
"loc": {
"start": {
"line": 78,
"column": 70
},
"end": {
"line": 78,
"column": 71
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getEffectiveUiScale",
"start": 2655,
"end": 2674,
"loc": {
"start": {
"line": 78,
"column": 71
},
"end": {
"line": 78,
"column": 90
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2674,
"end": 2675,
"loc": {
"start": {
"line": 78,
"column": 90
},
"end": {
"line": 78,
"column": 91
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2675,
"end": 2676,
"loc": {
"start": {
"line": 78,
"column": 91
},
"end": {
"line": 78,
"column": 92
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2676,
"end": 2677,
"loc": {
"start": {
"line": 78,
"column": 92
},
"end": {
"line": 78,
"column": 93
}
}
},
{
"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": 2689,
"end": 2694,
"loc": {
"start": {
"line": 80,
"column": 8
},
"end": {
"line": 80,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isCapped",
"start": 2695,
"end": 2703,
"loc": {
"start": {
"line": 80,
"column": 14
},
"end": {
"line": 80,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2704,
"end": 2705,
"loc": {
"start": {
"line": 80,
"column": 23
},
"end": {
"line": 80,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "throughput",
"start": 2706,
"end": 2716,
"loc": {
"start": {
"line": 80,
"column": 25
},
"end": {
"line": 80,
"column": 35
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": ">",
"start": 2717,
"end": 2718,
"loc": {
"start": {
"line": 80,
"column": 36
},
"end": {
"line": 80,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "maxThroughput",
"start": 2719,
"end": 2732,
"loc": {
"start": {
"line": 80,
"column": 38
},
"end": {
"line": 80,
"column": 51
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2732,
"end": 2733,
"loc": {
"start": {
"line": 80,
"column": 51
},
"end": {
"line": 80,
"column": 52
}
}
},
{
"type": "CommentLine",
"value": " Background",
"start": 2745,
"end": 2758,
"loc": {
"start": {
"line": 82,
"column": 8
},
"end": {
"line": 82,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 2768,
"end": 2778,
"loc": {
"start": {
"line": 83,
"column": 8
},
"end": {
"line": 83,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2778,
"end": 2779,
"loc": {
"start": {
"line": 83,
"column": 18
},
"end": {
"line": 83,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 2779,
"end": 2786,
"loc": {
"start": {
"line": 83,
"column": 19
},
"end": {
"line": 83,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2786,
"end": 2787,
"loc": {
"start": {
"line": 83,
"column": 26
},
"end": {
"line": 83,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fillStyle",
"start": 2787,
"end": 2796,
"loc": {
"start": {
"line": 83,
"column": 27
},
"end": {
"line": 83,
"column": 36
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2797,
"end": 2798,
"loc": {
"start": {
"line": 83,
"column": 37
},
"end": {
"line": 83,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "THEME",
"start": 2799,
"end": 2804,
"loc": {
"start": {
"line": 83,
"column": 39
},
"end": {
"line": 83,
"column": 44
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2804,
"end": 2805,
"loc": {
"start": {
"line": 83,
"column": 44
},
"end": {
"line": 83,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "map",
"start": 2805,
"end": 2808,
"loc": {
"start": {
"line": 83,
"column": 45
},
"end": {
"line": 83,
"column": 48
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2808,
"end": 2809,
"loc": {
"start": {
"line": 83,
"column": 48
},
"end": {
"line": 83,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "connectedMiners",
"start": 2809,
"end": 2824,
"loc": {
"start": {
"line": 83,
"column": 49
},
"end": {
"line": 83,
"column": 64
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2824,
"end": 2825,
"loc": {
"start": {
"line": 83,
"column": 64
},
"end": {
"line": 83,
"column": 65
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "background",
"start": 2825,
"end": 2835,
"loc": {
"start": {
"line": 83,
"column": 65
},
"end": {
"line": 83,
"column": 75
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2835,
"end": 2836,
"loc": {
"start": {
"line": 83,
"column": 75
},
"end": {
"line": 83,
"column": 76
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 2846,
"end": 2856,
"loc": {
"start": {
"line": 84,
"column": 8
},
"end": {
"line": 84,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2856,
"end": 2857,
"loc": {
"start": {
"line": 84,
"column": 18
},
"end": {
"line": 84,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 2857,
"end": 2864,
"loc": {
"start": {
"line": 84,
"column": 19
},
"end": {
"line": 84,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2864,
"end": 2865,
"loc": {
"start": {
"line": 84,
"column": 26
},
"end": {
"line": 84,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "beginRoundedRect",
"start": 2865,
"end": 2881,
"loc": {
"start": {
"line": 84,
"column": 27
},
"end": {
"line": 84,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2881,
"end": 2882,
"loc": {
"start": {
"line": 84,
"column": 43
},
"end": {
"line": 84,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tooltipLocation",
"start": 2896,
"end": 2911,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 27
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2911,
"end": 2912,
"loc": {
"start": {
"line": 85,
"column": 27
},
"end": {
"line": 85,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 2912,
"end": 2913,
"loc": {
"start": {
"line": 85,
"column": 28
},
"end": {
"line": 85,
"column": 29
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 2914,
"end": 2915,
"loc": {
"start": {
"line": 85,
"column": 30
},
"end": {
"line": 85,
"column": 31
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 5,
"start": 2916,
"end": 2917,
"loc": {
"start": {
"line": 85,
"column": 32
},
"end": {
"line": 85,
"column": 33
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 2918,
"end": 2919,
"loc": {
"start": {
"line": 85,
"column": 34
},
"end": {
"line": 85,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scale",
"start": 2920,
"end": 2925,
"loc": {
"start": {
"line": 85,
"column": 36
},
"end": {
"line": 85,
"column": 41
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2925,
"end": 2926,
"loc": {
"start": {
"line": 85,
"column": 41
},
"end": {
"line": 85,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tooltipLocation",
"start": 2940,
"end": 2955,
"loc": {
"start": {
"line": 86,
"column": 12
},
"end": {
"line": 86,
"column": 27
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2955,
"end": 2956,
"loc": {
"start": {
"line": 86,
"column": 27
},
"end": {
"line": 86,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 2956,
"end": 2957,
"loc": {
"start": {
"line": 86,
"column": 28
},
"end": {
"line": 86,
"column": 29
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 2958,
"end": 2959,
"loc": {
"start": {
"line": 86,
"column": 30
},
"end": {
"line": 86,
"column": 31
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 3,
"start": 2960,
"end": 2961,
"loc": {
"start": {
"line": 86,
"column": 32
},
"end": {
"line": 86,
"column": 33
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 2962,
"end": 2963,
"loc": {
"start": {
"line": 86,
"column": 34
},
"end": {
"line": 86,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scale",
"start": 2964,
"end": 2969,
"loc": {
"start": {
"line": 86,
"column": 36
},
"end": {
"line": 86,
"column": 41
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2969,
"end": 2970,
"loc": {
"start": {
"line": 86,
"column": 41
},
"end": {
"line": 86,
"column": 42
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2984,
"end": 2985,
"loc": {
"start": {
"line": 87,
"column": 12
},
"end": {
"line": 87,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isCapped",
"start": 2985,
"end": 2993,
"loc": {
"start": {
"line": 87,
"column": 13
},
"end": {
"line": 87,
"column": 21
}
}
},
{
"type": {
"label": "?",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2994,
"end": 2995,
"loc": {
"start": {
"line": 87,
"column": 22
},
"end": {
"line": 87,
"column": 23
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 100,
"start": 2996,
"end": 2999,
"loc": {
"start": {
"line": 87,
"column": 24
},
"end": {
"line": 87,
"column": 27
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3000,
"end": 3001,
"loc": {
"start": {
"line": 87,
"column": 28
},
"end": {
"line": 87,
"column": 29
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 65,
"start": 3002,
"end": 3004,
"loc": {
"start": {
"line": 87,
"column": 30
},
"end": {
"line": 87,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3004,
"end": 3005,
"loc": {
"start": {
"line": 87,
"column": 32
},
"end": {
"line": 87,
"column": 33
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 3006,
"end": 3007,
"loc": {
"start": {
"line": 87,
"column": 34
},
"end": {
"line": 87,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scale",
"start": 3008,
"end": 3013,
"loc": {
"start": {
"line": 87,
"column": 36
},
"end": {
"line": 87,
"column": 41
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3013,
"end": 3014,
"loc": {
"start": {
"line": 87,
"column": 41
},
"end": {
"line": 87,
"column": 42
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3028,
"end": 3029,
"loc": {
"start": {
"line": 88,
"column": 12
},
"end": {
"line": 88,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isCapped",
"start": 3029,
"end": 3037,
"loc": {
"start": {
"line": 88,
"column": 13
},
"end": {
"line": 88,
"column": 21
}
}
},
{
"type": {
"label": "?",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3038,
"end": 3039,
"loc": {
"start": {
"line": 88,
"column": 22
},
"end": {
"line": 88,
"column": 23
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 45,
"start": 3040,
"end": 3042,
"loc": {
"start": {
"line": 88,
"column": 24
},
"end": {
"line": 88,
"column": 26
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3043,
"end": 3044,
"loc": {
"start": {
"line": 88,
"column": 27
},
"end": {
"line": 88,
"column": 28
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 30,
"start": 3045,
"end": 3047,
"loc": {
"start": {
"line": 88,
"column": 29
},
"end": {
"line": 88,
"column": 31
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3047,
"end": 3048,
"loc": {
"start": {
"line": 88,
"column": 31
},
"end": {
"line": 88,
"column": 32
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 3049,
"end": 3050,
"loc": {
"start": {
"line": 88,
"column": 33
},
"end": {
"line": 88,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scale",
"start": 3051,
"end": 3056,
"loc": {
"start": {
"line": 88,
"column": 35
},
"end": {
"line": 88,
"column": 40
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3056,
"end": 3057,
"loc": {
"start": {
"line": 88,
"column": 40
},
"end": {
"line": 88,
"column": 41
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 2,
"start": 3071,
"end": 3072,
"loc": {
"start": {
"line": 89,
"column": 12
},
"end": {
"line": 89,
"column": 13
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3082,
"end": 3083,
"loc": {
"start": {
"line": 90,
"column": 8
},
"end": {
"line": 90,
"column": 9
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3083,
"end": 3084,
"loc": {
"start": {
"line": 90,
"column": 9
},
"end": {
"line": 90,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 3094,
"end": 3104,
"loc": {
"start": {
"line": 91,
"column": 8
},
"end": {
"line": 91,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3104,
"end": 3105,
"loc": {
"start": {
"line": 91,
"column": 18
},
"end": {
"line": 91,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 3105,
"end": 3112,
"loc": {
"start": {
"line": 91,
"column": 19
},
"end": {
"line": 91,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3112,
"end": 3113,
"loc": {
"start": {
"line": 91,
"column": 26
},
"end": {
"line": 91,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fill",
"start": 3113,
"end": 3117,
"loc": {
"start": {
"line": 91,
"column": 27
},
"end": {
"line": 91,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3117,
"end": 3118,
"loc": {
"start": {
"line": 91,
"column": 31
},
"end": {
"line": 91,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3118,
"end": 3119,
"loc": {
"start": {
"line": 91,
"column": 32
},
"end": {
"line": 91,
"column": 33
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3119,
"end": 3120,
"loc": {
"start": {
"line": 91,
"column": 33
},
"end": {
"line": 91,
"column": 34
}
}
},
{
"type": "CommentLine",
"value": " Throughput",
"start": 3132,
"end": 3145,
"loc": {
"start": {
"line": 93,
"column": 8
},
"end": {
"line": 93,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 3155,
"end": 3165,
"loc": {
"start": {
"line": 94,
"column": 8
},
"end": {
"line": 94,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3165,
"end": 3166,
"loc": {
"start": {
"line": 94,
"column": 18
},
"end": {
"line": 94,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 3166,
"end": 3173,
"loc": {
"start": {
"line": 94,
"column": 19
},
"end": {
"line": 94,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3173,
"end": 3174,
"loc": {
"start": {
"line": 94,
"column": 26
},
"end": {
"line": 94,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fillStyle",
"start": 3174,
"end": 3183,
"loc": {
"start": {
"line": 94,
"column": 27
},
"end": {
"line": 94,
"column": 36
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3184,
"end": 3185,
"loc": {
"start": {
"line": 94,
"column": 37
},
"end": {
"line": 94,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "THEME",
"start": 3186,
"end": 3191,
"loc": {
"start": {
"line": 94,
"column": 39
},
"end": {
"line": 94,
"column": 44
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3191,
"end": 3192,
"loc": {
"start": {
"line": 94,
"column": 44
},
"end": {
"line": 94,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "map",
"start": 3192,
"end": 3195,
"loc": {
"start": {
"line": 94,
"column": 45
},
"end": {
"line": 94,
"column": 48
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3195,
"end": 3196,
"loc": {
"start": {
"line": 94,
"column": 48
},
"end": {
"line": 94,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "connectedMiners",
"start": 3196,
"end": 3211,
"loc": {
"start": {
"line": 94,
"column": 49
},
"end": {
"line": 94,
"column": 64
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3211,
"end": 3212,
"loc": {
"start": {
"line": 94,
"column": 64
},
"end": {
"line": 94,
"column": 65
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "textColor",
"start": 3212,
"end": 3221,
"loc": {
"start": {
"line": 94,
"column": 65
},
"end": {
"line": 94,
"column": 74
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3221,
"end": 3222,
"loc": {
"start": {
"line": 94,
"column": 74
},
"end": {
"line": 94,
"column": 75
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 3232,
"end": 3242,
"loc": {
"start": {
"line": 95,
"column": 8
},
"end": {
"line": 95,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3242,
"end": 3243,
"loc": {
"start": {
"line": 95,
"column": 18
},
"end": {
"line": 95,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 3243,
"end": 3250,
"loc": {
"start": {
"line": 95,
"column": 19
},
"end": {
"line": 95,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3250,
"end": 3251,
"loc": {
"start": {
"line": 95,
"column": 26
},
"end": {
"line": 95,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "font",
"start": 3251,
"end": 3255,
"loc": {
"start": {
"line": 95,
"column": 27
},
"end": {
"line": 95,
"column": 31
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3256,
"end": 3257,
"loc": {
"start": {
"line": 95,
"column": 32
},
"end": {
"line": 95,
"column": 33
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "bold ",
"start": 3258,
"end": 3265,
"loc": {
"start": {
"line": 95,
"column": 34
},
"end": {
"line": 95,
"column": 41
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 3266,
"end": 3267,
"loc": {
"start": {
"line": 95,
"column": 42
},
"end": {
"line": 95,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scale",
"start": 3268,
"end": 3273,
"loc": {
"start": {
"line": 95,
"column": 44
},
"end": {
"line": 95,
"column": 49
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 3274,
"end": 3275,
"loc": {
"start": {
"line": 95,
"column": 50
},
"end": {
"line": 95,
"column": 51
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 10,
"start": 3276,
"end": 3278,
"loc": {
"start": {
"line": 95,
"column": 52
},
"end": {
"line": 95,
"column": 54
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 3279,
"end": 3280,
"loc": {
"start": {
"line": 95,
"column": 55
},
"end": {
"line": 95,
"column": 56
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "px GameFont",
"start": 3281,
"end": 3294,
"loc": {
"start": {
"line": 95,
"column": 57
},
"end": {
"line": 95,
"column": 70
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3294,
"end": 3295,
"loc": {
"start": {
"line": 95,
"column": 70
},
"end": {
"line": 95,
"column": 71
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 3305,
"end": 3315,
"loc": {
"start": {
"line": 96,
"column": 8
},
"end": {
"line": 96,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3315,
"end": 3316,
"loc": {
"start": {
"line": 96,
"column": 18
},
"end": {
"line": 96,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 3316,
"end": 3323,
"loc": {
"start": {
"line": 96,
"column": 19
},
"end": {
"line": 96,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3323,
"end": 3324,
"loc": {
"start": {
"line": 96,
"column": 26
},
"end": {
"line": 96,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fillText",
"start": 3324,
"end": 3332,
"loc": {
"start": {
"line": 96,
"column": 27
},
"end": {
"line": 96,
"column": 35
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3332,
"end": 3333,
"loc": {
"start": {
"line": 96,
"column": 35
},
"end": {
"line": 96,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "formatItemsPerSecond",
"start": 3347,
"end": 3367,
"loc": {
"start": {
"line": 97,
"column": 12
},
"end": {
"line": 97,
"column": 32
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3367,
"end": 3368,
"loc": {
"start": {
"line": 97,
"column": 32
},
"end": {
"line": 97,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "throughput",
"start": 3368,
"end": 3378,
"loc": {
"start": {
"line": 97,
"column": 33
},
"end": {
"line": 97,
"column": 43
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3378,
"end": 3379,
"loc": {
"start": {
"line": 97,
"column": 43
},
"end": {
"line": 97,
"column": 44
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3379,
"end": 3380,
"loc": {
"start": {
"line": 97,
"column": 44
},
"end": {
"line": 97,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tooltipLocation",
"start": 3394,
"end": 3409,
"loc": {
"start": {
"line": 98,
"column": 12
},
"end": {
"line": 98,
"column": 27
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3409,
"end": 3410,
"loc": {
"start": {
"line": 98,
"column": 27
},
"end": {
"line": 98,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 3410,
"end": 3411,
"loc": {
"start": {
"line": 98,
"column": 28
},
"end": {
"line": 98,
"column": 29
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 3412,
"end": 3413,
"loc": {
"start": {
"line": 98,
"column": 30
},
"end": {
"line": 98,
"column": 31
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 10,
"start": 3414,
"end": 3416,
"loc": {
"start": {
"line": 98,
"column": 32
},
"end": {
"line": 98,
"column": 34
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 3417,
"end": 3418,
"loc": {
"start": {
"line": 98,
"column": 35
},
"end": {
"line": 98,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scale",
"start": 3419,
"end": 3424,
"loc": {
"start": {
"line": 98,
"column": 37
},
"end": {
"line": 98,
"column": 42
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3424,
"end": 3425,
"loc": {
"start": {
"line": 98,
"column": 42
},
"end": {
"line": 98,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tooltipLocation",
"start": 3439,
"end": 3454,
"loc": {
"start": {
"line": 99,
"column": 12
},
"end": {
"line": 99,
"column": 27
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3454,
"end": 3455,
"loc": {
"start": {
"line": 99,
"column": 27
},
"end": {
"line": 99,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 3455,
"end": 3456,
"loc": {
"start": {
"line": 99,
"column": 28
},
"end": {
"line": 99,
"column": 29
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 3457,
"end": 3458,
"loc": {
"start": {
"line": 99,
"column": 30
},
"end": {
"line": 99,
"column": 31
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 10,
"start": 3459,
"end": 3461,
"loc": {
"start": {
"line": 99,
"column": 32
},
"end": {
"line": 99,
"column": 34
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 3462,
"end": 3463,
"loc": {
"start": {
"line": 99,
"column": 35
},
"end": {
"line": 99,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scale",
"start": 3464,
"end": 3469,
"loc": {
"start": {
"line": 99,
"column": 37
},
"end": {
"line": 99,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3479,
"end": 3480,
"loc": {
"start": {
"line": 100,
"column": 8
},
"end": {
"line": 100,
"column": 9
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3480,
"end": 3481,
"loc": {
"start": {
"line": 100,
"column": 9
},
"end": {
"line": 100,
"column": 10
}
}
},
{
"type": "CommentLine",
"value": " Amount of miners",
"start": 3493,
"end": 3512,
"loc": {
"start": {
"line": 102,
"column": 8
},
"end": {
"line": 102,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 3522,
"end": 3532,
"loc": {
"start": {
"line": 103,
"column": 8
},
"end": {
"line": 103,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3532,
"end": 3533,
"loc": {
"start": {
"line": 103,
"column": 18
},
"end": {
"line": 103,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 3533,
"end": 3540,
"loc": {
"start": {
"line": 103,
"column": 19
},
"end": {
"line": 103,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3540,
"end": 3541,
"loc": {
"start": {
"line": 103,
"column": 26
},
"end": {
"line": 103,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalAlpha",
"start": 3541,
"end": 3552,
"loc": {
"start": {
"line": 103,
"column": 27
},
"end": {
"line": 103,
"column": 38
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3553,
"end": 3554,
"loc": {
"start": {
"line": 103,
"column": 39
},
"end": {
"line": 103,
"column": 40
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0.6,
"start": 3555,
"end": 3558,
"loc": {
"start": {
"line": 103,
"column": 41
},
"end": {
"line": 103,
"column": 44
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3558,
"end": 3559,
"loc": {
"start": {
"line": 103,
"column": 44
},
"end": {
"line": 103,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 3569,
"end": 3579,
"loc": {
"start": {
"line": 104,
"column": 8
},
"end": {
"line": 104,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3579,
"end": 3580,
"loc": {
"start": {
"line": 104,
"column": 18
},
"end": {
"line": 104,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 3580,
"end": 3587,
"loc": {
"start": {
"line": 104,
"column": 19
},
"end": {
"line": 104,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3587,
"end": 3588,
"loc": {
"start": {
"line": 104,
"column": 26
},
"end": {
"line": 104,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "font",
"start": 3588,
"end": 3592,
"loc": {
"start": {
"line": 104,
"column": 27
},
"end": {
"line": 104,
"column": 31
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3593,
"end": 3594,
"loc": {
"start": {
"line": 104,
"column": 32
},
"end": {
"line": 104,
"column": 33
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "bold ",
"start": 3595,
"end": 3602,
"loc": {
"start": {
"line": 104,
"column": 34
},
"end": {
"line": 104,
"column": 41
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 3603,
"end": 3604,
"loc": {
"start": {
"line": 104,
"column": 42
},
"end": {
"line": 104,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scale",
"start": 3605,
"end": 3610,
"loc": {
"start": {
"line": 104,
"column": 44
},
"end": {
"line": 104,
"column": 49
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 3611,
"end": 3612,
"loc": {
"start": {
"line": 104,
"column": 50
},
"end": {
"line": 104,
"column": 51
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 8,
"start": 3613,
"end": 3614,
"loc": {
"start": {
"line": 104,
"column": 52
},
"end": {
"line": 104,
"column": 53
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 3615,
"end": 3616,
"loc": {
"start": {
"line": 104,
"column": 54
},
"end": {
"line": 104,
"column": 55
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "px GameFont",
"start": 3617,
"end": 3630,
"loc": {
"start": {
"line": 104,
"column": 56
},
"end": {
"line": 104,
"column": 69
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3630,
"end": 3631,
"loc": {
"start": {
"line": 104,
"column": 69
},
"end": {
"line": 104,
"column": 70
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 3641,
"end": 3651,
"loc": {
"start": {
"line": 105,
"column": 8
},
"end": {
"line": 105,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3651,
"end": 3652,
"loc": {
"start": {
"line": 105,
"column": 18
},
"end": {
"line": 105,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 3652,
"end": 3659,
"loc": {
"start": {
"line": 105,
"column": 19
},
"end": {
"line": 105,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3659,
"end": 3660,
"loc": {
"start": {
"line": 105,
"column": 26
},
"end": {
"line": 105,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fillText",
"start": 3660,
"end": 3668,
"loc": {
"start": {
"line": 105,
"column": 27
},
"end": {
"line": 105,
"column": 35
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3668,
"end": 3669,
"loc": {
"start": {
"line": 105,
"column": 35
},
"end": {
"line": 105,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "connectedEntities",
"start": 3683,
"end": 3700,
"loc": {
"start": {
"line": 106,
"column": 12
},
"end": {
"line": 106,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3700,
"end": 3701,
"loc": {
"start": {
"line": 106,
"column": 29
},
"end": {
"line": 106,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 3701,
"end": 3707,
"loc": {
"start": {
"line": 106,
"column": 30
},
"end": {
"line": 106,
"column": 36
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 3708,
"end": 3711,
"loc": {
"start": {
"line": 106,
"column": 37
},
"end": {
"line": 106,
"column": 40
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 3712,
"end": 3713,
"loc": {
"start": {
"line": 106,
"column": 41
},
"end": {
"line": 106,
"column": 42
}
}
},
{
"type": {
"label": "?",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3714,
"end": 3715,
"loc": {
"start": {
"line": 106,
"column": 43
},
"end": {
"line": 106,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "T",
"start": 3729,
"end": 3730,
"loc": {
"start": {
"line": 107,
"column": 12
},
"end": {
"line": 107,
"column": 13
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3730,
"end": 3731,
"loc": {
"start": {
"line": 107,
"column": 13
},
"end": {
"line": 107,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ingame",
"start": 3731,
"end": 3737,
"loc": {
"start": {
"line": 107,
"column": 14
},
"end": {
"line": 107,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3737,
"end": 3738,
"loc": {
"start": {
"line": 107,
"column": 20
},
"end": {
"line": 107,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "connectedMiners",
"start": 3738,
"end": 3753,
"loc": {
"start": {
"line": 107,
"column": 21
},
"end": {
"line": 107,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3753,
"end": 3754,
"loc": {
"start": {
"line": 107,
"column": 36
},
"end": {
"line": 107,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "one_miner",
"start": 3754,
"end": 3763,
"loc": {
"start": {
"line": 107,
"column": 37
},
"end": {
"line": 107,
"column": 46
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3764,
"end": 3765,
"loc": {
"start": {
"line": 107,
"column": 47
},
"end": {
"line": 107,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "T",
"start": 3779,
"end": 3780,
"loc": {
"start": {
"line": 108,
"column": 12
},
"end": {
"line": 108,
"column": 13
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3780,
"end": 3781,
"loc": {
"start": {
"line": 108,
"column": 13
},
"end": {
"line": 108,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ingame",
"start": 3781,
"end": 3787,
"loc": {
"start": {
"line": 108,
"column": 14
},
"end": {
"line": 108,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3787,
"end": 3788,
"loc": {
"start": {
"line": 108,
"column": 20
},
"end": {
"line": 108,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "connectedMiners",
"start": 3788,
"end": 3803,
"loc": {
"start": {
"line": 108,
"column": 21
},
"end": {
"line": 108,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3803,
"end": 3804,
"loc": {
"start": {
"line": 108,
"column": 36
},
"end": {
"line": 108,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "n_miners",
"start": 3804,
"end": 3812,
"loc": {
"start": {
"line": 108,
"column": 37
},
"end": {
"line": 108,
"column": 45
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3812,
"end": 3813,
"loc": {
"start": {
"line": 108,
"column": 45
},
"end": {
"line": 108,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "replace",
"start": 3813,
"end": 3820,
"loc": {
"start": {
"line": 108,
"column": 46
},
"end": {
"line": 108,
"column": 53
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3820,
"end": 3821,
"loc": {
"start": {
"line": 108,
"column": 53
},
"end": {
"line": 108,
"column": 54
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "<amount>",
"start": 3821,
"end": 3831,
"loc": {
"start": {
"line": 108,
"column": 54
},
"end": {
"line": 108,
"column": 64
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3831,
"end": 3832,
"loc": {
"start": {
"line": 108,
"column": 64
},
"end": {
"line": 108,
"column": 65
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "String",
"start": 3833,
"end": 3839,
"loc": {
"start": {
"line": 108,
"column": 66
},
"end": {
"line": 108,
"column": 72
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3839,
"end": 3840,
"loc": {
"start": {
"line": 108,
"column": 72
},
"end": {
"line": 108,
"column": 73
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "connectedEntities",
"start": 3840,
"end": 3857,
"loc": {
"start": {
"line": 108,
"column": 73
},
"end": {
"line": 108,
"column": 90
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3857,
"end": 3858,
"loc": {
"start": {
"line": 108,
"column": 90
},
"end": {
"line": 108,
"column": 91
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 3858,
"end": 3864,
"loc": {
"start": {
"line": 108,
"column": 91
},
"end": {
"line": 108,
"column": 97
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3864,
"end": 3865,
"loc": {
"start": {
"line": 108,
"column": 97
},
"end": {
"line": 108,
"column": 98
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3865,
"end": 3866,
"loc": {
"start": {
"line": 108,
"column": 98
},
"end": {
"line": 108,
"column": 99
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3866,
"end": 3867,
"loc": {
"start": {
"line": 108,
"column": 99
},
"end": {
"line": 108,
"column": 100
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tooltipLocation",
"start": 3881,
"end": 3896,
"loc": {
"start": {
"line": 109,
"column": 12
},
"end": {
"line": 109,
"column": 27
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3896,
"end": 3897,
"loc": {
"start": {
"line": 109,
"column": 27
},
"end": {
"line": 109,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 3897,
"end": 3898,
"loc": {
"start": {
"line": 109,
"column": 28
},
"end": {
"line": 109,
"column": 29
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 3899,
"end": 3900,
"loc": {
"start": {
"line": 109,
"column": 30
},
"end": {
"line": 109,
"column": 31
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 10,
"start": 3901,
"end": 3903,
"loc": {
"start": {
"line": 109,
"column": 32
},
"end": {
"line": 109,
"column": 34
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 3904,
"end": 3905,
"loc": {
"start": {
"line": 109,
"column": 35
},
"end": {
"line": 109,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scale",
"start": 3906,
"end": 3911,
"loc": {
"start": {
"line": 109,
"column": 37
},
"end": {
"line": 109,
"column": 42
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3911,
"end": 3912,
"loc": {
"start": {
"line": 109,
"column": 42
},
"end": {
"line": 109,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tooltipLocation",
"start": 3926,
"end": 3941,
"loc": {
"start": {
"line": 110,
"column": 12
},
"end": {
"line": 110,
"column": 27
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3941,
"end": 3942,
"loc": {
"start": {
"line": 110,
"column": 27
},
"end": {
"line": 110,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 3942,
"end": 3943,
"loc": {
"start": {
"line": 110,
"column": 28
},
"end": {
"line": 110,
"column": 29
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 3944,
"end": 3945,
"loc": {
"start": {
"line": 110,
"column": 30
},
"end": {
"line": 110,
"column": 31
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 22,
"start": 3946,
"end": 3948,
"loc": {
"start": {
"line": 110,
"column": 32
},
"end": {
"line": 110,
"column": 34
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 3949,
"end": 3950,
"loc": {
"start": {
"line": 110,
"column": 35
},
"end": {
"line": 110,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scale",
"start": 3951,
"end": 3956,
"loc": {
"start": {
"line": 110,
"column": 37
},
"end": {
"line": 110,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3966,
"end": 3967,
"loc": {
"start": {
"line": 111,
"column": 8
},
"end": {
"line": 111,
"column": 9
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3967,
"end": 3968,
"loc": {
"start": {
"line": 111,
"column": 9
},
"end": {
"line": 111,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 3980,
"end": 3990,
"loc": {
"start": {
"line": 113,
"column": 8
},
"end": {
"line": 113,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3990,
"end": 3991,
"loc": {
"start": {
"line": 113,
"column": 18
},
"end": {
"line": 113,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 3991,
"end": 3998,
"loc": {
"start": {
"line": 113,
"column": 19
},
"end": {
"line": 113,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3998,
"end": 3999,
"loc": {
"start": {
"line": 113,
"column": 26
},
"end": {
"line": 113,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalAlpha",
"start": 3999,
"end": 4010,
"loc": {
"start": {
"line": 113,
"column": 27
},
"end": {
"line": 113,
"column": 38
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4011,
"end": 4012,
"loc": {
"start": {
"line": 113,
"column": 39
},
"end": {
"line": 113,
"column": 40
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 4013,
"end": 4014,
"loc": {
"start": {
"line": 113,
"column": 41
},
"end": {
"line": 113,
"column": 42
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4014,
"end": 4015,
"loc": {
"start": {
"line": 113,
"column": 42
},
"end": {
"line": 113,
"column": 43
}
}
},
{
"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": 4027,
"end": 4029,
"loc": {
"start": {
"line": 115,
"column": 8
},
"end": {
"line": 115,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4030,
"end": 4031,
"loc": {
"start": {
"line": 115,
"column": 11
},
"end": {
"line": 115,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isCapped",
"start": 4031,
"end": 4039,
"loc": {
"start": {
"line": 115,
"column": 12
},
"end": {
"line": 115,
"column": 20
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4039,
"end": 4040,
"loc": {
"start": {
"line": 115,
"column": 20
},
"end": {
"line": 115,
"column": 21
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4041,
"end": 4042,
"loc": {
"start": {
"line": 115,
"column": 22
},
"end": {
"line": 115,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 4056,
"end": 4066,
"loc": {
"start": {
"line": 116,
"column": 12
},
"end": {
"line": 116,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4066,
"end": 4067,
"loc": {
"start": {
"line": 116,
"column": 22
},
"end": {
"line": 116,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 4067,
"end": 4074,
"loc": {
"start": {
"line": 116,
"column": 23
},
"end": {
"line": 116,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4074,
"end": 4075,
"loc": {
"start": {
"line": 116,
"column": 30
},
"end": {
"line": 116,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fillStyle",
"start": 4075,
"end": 4084,
"loc": {
"start": {
"line": 116,
"column": 31
},
"end": {
"line": 116,
"column": 40
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4085,
"end": 4086,
"loc": {
"start": {
"line": 116,
"column": 41
},
"end": {
"line": 116,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "THEME",
"start": 4087,
"end": 4092,
"loc": {
"start": {
"line": 116,
"column": 43
},
"end": {
"line": 116,
"column": 48
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4092,
"end": 4093,
"loc": {
"start": {
"line": 116,
"column": 48
},
"end": {
"line": 116,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "map",
"start": 4093,
"end": 4096,
"loc": {
"start": {
"line": 116,
"column": 49
},
"end": {
"line": 116,
"column": 52
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4096,
"end": 4097,
"loc": {
"start": {
"line": 116,
"column": 52
},
"end": {
"line": 116,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "connectedMiners",
"start": 4097,
"end": 4112,
"loc": {
"start": {
"line": 116,
"column": 53
},
"end": {
"line": 116,
"column": 68
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4112,
"end": 4113,
"loc": {
"start": {
"line": 116,
"column": 68
},
"end": {
"line": 116,
"column": 69
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "textColorCapped",
"start": 4113,
"end": 4128,
"loc": {
"start": {
"line": 116,
"column": 69
},
"end": {
"line": 116,
"column": 84
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4128,
"end": 4129,
"loc": {
"start": {
"line": 116,
"column": 84
},
"end": {
"line": 116,
"column": 85
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 4143,
"end": 4153,
"loc": {
"start": {
"line": 117,
"column": 12
},
"end": {
"line": 117,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4153,
"end": 4154,
"loc": {
"start": {
"line": 117,
"column": 22
},
"end": {
"line": 117,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 4154,
"end": 4161,
"loc": {
"start": {
"line": 117,
"column": 23
},
"end": {
"line": 117,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4161,
"end": 4162,
"loc": {
"start": {
"line": 117,
"column": 30
},
"end": {
"line": 117,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fillText",
"start": 4162,
"end": 4170,
"loc": {
"start": {
"line": 117,
"column": 31
},
"end": {
"line": 117,
"column": 39
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4170,
"end": 4171,
"loc": {
"start": {
"line": 117,
"column": 39
},
"end": {
"line": 117,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "T",
"start": 4189,
"end": 4190,
"loc": {
"start": {
"line": 118,
"column": 16
},
"end": {
"line": 118,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4190,
"end": 4191,
"loc": {
"start": {
"line": 118,
"column": 17
},
"end": {
"line": 118,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ingame",
"start": 4191,
"end": 4197,
"loc": {
"start": {
"line": 118,
"column": 18
},
"end": {
"line": 118,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4197,
"end": 4198,
"loc": {
"start": {
"line": 118,
"column": 24
},
"end": {
"line": 118,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "connectedMiners",
"start": 4198,
"end": 4213,
"loc": {
"start": {
"line": 118,
"column": 25
},
"end": {
"line": 118,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4213,
"end": 4214,
"loc": {
"start": {
"line": 118,
"column": 40
},
"end": {
"line": 118,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "limited_items",
"start": 4214,
"end": 4227,
"loc": {
"start": {
"line": 118,
"column": 41
},
"end": {
"line": 118,
"column": 54
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4227,
"end": 4228,
"loc": {
"start": {
"line": 118,
"column": 54
},
"end": {
"line": 118,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "replace",
"start": 4228,
"end": 4235,
"loc": {
"start": {
"line": 118,
"column": 55
},
"end": {
"line": 118,
"column": 62
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4235,
"end": 4236,
"loc": {
"start": {
"line": 118,
"column": 62
},
"end": {
"line": 118,
"column": 63
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "<max_throughput>",
"start": 4258,
"end": 4276,
"loc": {
"start": {
"line": 119,
"column": 20
},
"end": {
"line": 119,
"column": 38
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4276,
"end": 4277,
"loc": {
"start": {
"line": 119,
"column": 38
},
"end": {
"line": 119,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "formatItemsPerSecond",
"start": 4299,
"end": 4319,
"loc": {
"start": {
"line": 120,
"column": 20
},
"end": {
"line": 120,
"column": 40
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4319,
"end": 4320,
"loc": {
"start": {
"line": 120,
"column": 40
},
"end": {
"line": 120,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "maxThroughput",
"start": 4320,
"end": 4333,
"loc": {
"start": {
"line": 120,
"column": 41
},
"end": {
"line": 120,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4333,
"end": 4334,
"loc": {
"start": {
"line": 120,
"column": 54
},
"end": {
"line": 120,
"column": 55
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4352,
"end": 4353,
"loc": {
"start": {
"line": 121,
"column": 16
},
"end": {
"line": 121,
"column": 17
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4353,
"end": 4354,
"loc": {
"start": {
"line": 121,
"column": 17
},
"end": {
"line": 121,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tooltipLocation",
"start": 4372,
"end": 4387,
"loc": {
"start": {
"line": 122,
"column": 16
},
"end": {
"line": 122,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4387,
"end": 4388,
"loc": {
"start": {
"line": 122,
"column": 31
},
"end": {
"line": 122,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 4388,
"end": 4389,
"loc": {
"start": {
"line": 122,
"column": 32
},
"end": {
"line": 122,
"column": 33
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 4390,
"end": 4391,
"loc": {
"start": {
"line": 122,
"column": 34
},
"end": {
"line": 122,
"column": 35
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 10,
"start": 4392,
"end": 4394,
"loc": {
"start": {
"line": 122,
"column": 36
},
"end": {
"line": 122,
"column": 38
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 4395,
"end": 4396,
"loc": {
"start": {
"line": 122,
"column": 39
},
"end": {
"line": 122,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scale",
"start": 4397,
"end": 4402,
"loc": {
"start": {
"line": 122,
"column": 41
},
"end": {
"line": 122,
"column": 46
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4402,
"end": 4403,
"loc": {
"start": {
"line": 122,
"column": 46
},
"end": {
"line": 122,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tooltipLocation",
"start": 4421,
"end": 4436,
"loc": {
"start": {
"line": 123,
"column": 16
},
"end": {
"line": 123,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4436,
"end": 4437,
"loc": {
"start": {
"line": 123,
"column": 31
},
"end": {
"line": 123,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 4437,
"end": 4438,
"loc": {
"start": {
"line": 123,
"column": 32
},
"end": {
"line": 123,
"column": 33
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 4439,
"end": 4440,
"loc": {
"start": {
"line": 123,
"column": 34
},
"end": {
"line": 123,
"column": 35
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 34,
"start": 4441,
"end": 4443,
"loc": {
"start": {
"line": 123,
"column": 36
},
"end": {
"line": 123,
"column": 38
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 4444,
"end": 4445,
"loc": {
"start": {
"line": 123,
"column": 39
},
"end": {
"line": 123,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scale",
"start": 4446,
"end": 4451,
"loc": {
"start": {
"line": 123,
"column": 41
},
"end": {
"line": 123,
"column": 46
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4465,
"end": 4466,
"loc": {
"start": {
"line": 124,
"column": 12
},
"end": {
"line": 124,
"column": 13
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4466,
"end": 4467,
"loc": {
"start": {
"line": 124,
"column": 13
},
"end": {
"line": 124,
"column": 14
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4477,
"end": 4478,
"loc": {
"start": {
"line": 125,
"column": 8
},
"end": {
"line": 125,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4484,
"end": 4485,
"loc": {
"start": {
"line": 126,
"column": 4
},
"end": {
"line": 126,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Finds all connected miners to the given entity\r\n * @param {Entity} entity\r\n * @param {Set<number>} seenUids Which entities have already been processed\r\n * @returns {Array<Entity>} The connected miners\r\n ",
"start": 4493,
"end": 4726,
"loc": {
"start": {
"line": 128,
"column": 4
},
"end": {
"line": 133,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "findConnectedMiners",
"start": 4732,
"end": 4751,
"loc": {
"start": {
"line": 134,
"column": 4
},
"end": {
"line": 134,
"column": 23
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4751,
"end": 4752,
"loc": {
"start": {
"line": 134,
"column": 23
},
"end": {
"line": 134,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 4752,
"end": 4758,
"loc": {
"start": {
"line": 134,
"column": 24
},
"end": {
"line": 134,
"column": 30
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4758,
"end": 4759,
"loc": {
"start": {
"line": 134,
"column": 30
},
"end": {
"line": 134,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "seenUids",
"start": 4760,
"end": 4768,
"loc": {
"start": {
"line": 134,
"column": 32
},
"end": {
"line": 134,
"column": 40
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4769,
"end": 4770,
"loc": {
"start": {
"line": 134,
"column": 41
},
"end": {
"line": 134,
"column": 42
}
}
},
{
"type": {
"label": "new",
"keyword": "new",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "new",
"start": 4771,
"end": 4774,
"loc": {
"start": {
"line": 134,
"column": 43
},
"end": {
"line": 134,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Set",
"start": 4775,
"end": 4778,
"loc": {
"start": {
"line": 134,
"column": 47
},
"end": {
"line": 134,
"column": 50
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4778,
"end": 4779,
"loc": {
"start": {
"line": 134,
"column": 50
},
"end": {
"line": 134,
"column": 51
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4779,
"end": 4780,
"loc": {
"start": {
"line": 134,
"column": 51
},
"end": {
"line": 134,
"column": 52
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4780,
"end": 4781,
"loc": {
"start": {
"line": 134,
"column": 52
},
"end": {
"line": 134,
"column": 53
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4782,
"end": 4783,
"loc": {
"start": {
"line": 134,
"column": 54
},
"end": {
"line": 134,
"column": 55
}
}
},
{
"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": 4793,
"end": 4796,
"loc": {
"start": {
"line": 135,
"column": 8
},
"end": {
"line": 135,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "results",
"start": 4797,
"end": 4804,
"loc": {
"start": {
"line": 135,
"column": 12
},
"end": {
"line": 135,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4805,
"end": 4806,
"loc": {
"start": {
"line": 135,
"column": 20
},
"end": {
"line": 135,
"column": 21
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4807,
"end": 4808,
"loc": {
"start": {
"line": 135,
"column": 22
},
"end": {
"line": 135,
"column": 23
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4808,
"end": 4809,
"loc": {
"start": {
"line": 135,
"column": 23
},
"end": {
"line": 135,
"column": 24
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4809,
"end": 4810,
"loc": {
"start": {
"line": 135,
"column": 24
},
"end": {
"line": 135,
"column": 25
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 4820,
"end": 4825,
"loc": {
"start": {
"line": 136,
"column": 8
},
"end": {
"line": 136,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "origin",
"start": 4826,
"end": 4832,
"loc": {
"start": {
"line": 136,
"column": 14
},
"end": {
"line": 136,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4833,
"end": 4834,
"loc": {
"start": {
"line": 136,
"column": 21
},
"end": {
"line": 136,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 4835,
"end": 4841,
"loc": {
"start": {
"line": 136,
"column": 23
},
"end": {
"line": 136,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4841,
"end": 4842,
"loc": {
"start": {
"line": 136,
"column": 29
},
"end": {
"line": 136,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 4842,
"end": 4852,
"loc": {
"start": {
"line": 136,
"column": 30
},
"end": {
"line": 136,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4852,
"end": 4853,
"loc": {
"start": {
"line": 136,
"column": 40
},
"end": {
"line": 136,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "StaticMapEntity",
"start": 4853,
"end": 4868,
"loc": {
"start": {
"line": 136,
"column": 41
},
"end": {
"line": 136,
"column": 56
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4868,
"end": 4869,
"loc": {
"start": {
"line": 136,
"column": 56
},
"end": {
"line": 136,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "origin",
"start": 4869,
"end": 4875,
"loc": {
"start": {
"line": 136,
"column": 57
},
"end": {
"line": 136,
"column": 63
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4875,
"end": 4876,
"loc": {
"start": {
"line": 136,
"column": 63
},
"end": {
"line": 136,
"column": 64
}
}
},
{
"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": 4888,
"end": 4890,
"loc": {
"start": {
"line": 138,
"column": 8
},
"end": {
"line": 138,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4891,
"end": 4892,
"loc": {
"start": {
"line": 138,
"column": 11
},
"end": {
"line": 138,
"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": 4892,
"end": 4893,
"loc": {
"start": {
"line": 138,
"column": 12
},
"end": {
"line": 138,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "seenUids",
"start": 4893,
"end": 4901,
"loc": {
"start": {
"line": 138,
"column": 13
},
"end": {
"line": 138,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4901,
"end": 4902,
"loc": {
"start": {
"line": 138,
"column": 21
},
"end": {
"line": 138,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "has",
"start": 4902,
"end": 4905,
"loc": {
"start": {
"line": 138,
"column": 22
},
"end": {
"line": 138,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4905,
"end": 4906,
"loc": {
"start": {
"line": 138,
"column": 25
},
"end": {
"line": 138,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 4906,
"end": 4912,
"loc": {
"start": {
"line": 138,
"column": 26
},
"end": {
"line": 138,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4912,
"end": 4913,
"loc": {
"start": {
"line": 138,
"column": 32
},
"end": {
"line": 138,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "uid",
"start": 4913,
"end": 4916,
"loc": {
"start": {
"line": 138,
"column": 33
},
"end": {
"line": 138,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4916,
"end": 4917,
"loc": {
"start": {
"line": 138,
"column": 36
},
"end": {
"line": 138,
"column": 37
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4917,
"end": 4918,
"loc": {
"start": {
"line": 138,
"column": 37
},
"end": {
"line": 138,
"column": 38
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4919,
"end": 4920,
"loc": {
"start": {
"line": 138,
"column": 39
},
"end": {
"line": 138,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "seenUids",
"start": 4934,
"end": 4942,
"loc": {
"start": {
"line": 139,
"column": 12
},
"end": {
"line": 139,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4942,
"end": 4943,
"loc": {
"start": {
"line": 139,
"column": 20
},
"end": {
"line": 139,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 4943,
"end": 4946,
"loc": {
"start": {
"line": 139,
"column": 21
},
"end": {
"line": 139,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4946,
"end": 4947,
"loc": {
"start": {
"line": 139,
"column": 24
},
"end": {
"line": 139,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 4947,
"end": 4953,
"loc": {
"start": {
"line": 139,
"column": 25
},
"end": {
"line": 139,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4953,
"end": 4954,
"loc": {
"start": {
"line": 139,
"column": 31
},
"end": {
"line": 139,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "uid",
"start": 4954,
"end": 4957,
"loc": {
"start": {
"line": 139,
"column": 32
},
"end": {
"line": 139,
"column": 35
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4957,
"end": 4958,
"loc": {
"start": {
"line": 139,
"column": 35
},
"end": {
"line": 139,
"column": 36
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4958,
"end": 4959,
"loc": {
"start": {
"line": 139,
"column": 36
},
"end": {
"line": 139,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "results",
"start": 4973,
"end": 4980,
"loc": {
"start": {
"line": 140,
"column": 12
},
"end": {
"line": 140,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4980,
"end": 4981,
"loc": {
"start": {
"line": 140,
"column": 19
},
"end": {
"line": 140,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "push",
"start": 4981,
"end": 4985,
"loc": {
"start": {
"line": 140,
"column": 20
},
"end": {
"line": 140,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4985,
"end": 4986,
"loc": {
"start": {
"line": 140,
"column": 24
},
"end": {
"line": 140,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 4986,
"end": 4992,
"loc": {
"start": {
"line": 140,
"column": 25
},
"end": {
"line": 140,
"column": 31
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4992,
"end": 4993,
"loc": {
"start": {
"line": 140,
"column": 31
},
"end": {
"line": 140,
"column": 32
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4993,
"end": 4994,
"loc": {
"start": {
"line": 140,
"column": 32
},
"end": {
"line": 140,
"column": 33
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5004,
"end": 5005,
"loc": {
"start": {
"line": 141,
"column": 8
},
"end": {
"line": 141,
"column": 9
}
}
},
{
"type": "CommentLine",
"value": " Check for the miner which we connect to",
"start": 5017,
"end": 5059,
"loc": {
"start": {
"line": 143,
"column": 8
},
"end": {
"line": 143,
"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": 5069,
"end": 5074,
"loc": {
"start": {
"line": 144,
"column": 8
},
"end": {
"line": 144,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "connectedMiner",
"start": 5075,
"end": 5089,
"loc": {
"start": {
"line": 144,
"column": 14
},
"end": {
"line": 144,
"column": 28
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5090,
"end": 5091,
"loc": {
"start": {
"line": 144,
"column": 29
},
"end": {
"line": 144,
"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": 5092,
"end": 5096,
"loc": {
"start": {
"line": 144,
"column": 31
},
"end": {
"line": 144,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5096,
"end": 5097,
"loc": {
"start": {
"line": 144,
"column": 35
},
"end": {
"line": 144,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 5097,
"end": 5101,
"loc": {
"start": {
"line": 144,
"column": 36
},
"end": {
"line": 144,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5101,
"end": 5102,
"loc": {
"start": {
"line": 144,
"column": 40
},
"end": {
"line": 144,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "systemMgr",
"start": 5102,
"end": 5111,
"loc": {
"start": {
"line": 144,
"column": 41
},
"end": {
"line": 144,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5111,
"end": 5112,
"loc": {
"start": {
"line": 144,
"column": 50
},
"end": {
"line": 144,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "systems",
"start": 5112,
"end": 5119,
"loc": {
"start": {
"line": 144,
"column": 51
},
"end": {
"line": 144,
"column": 58
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5119,
"end": 5120,
"loc": {
"start": {
"line": 144,
"column": 58
},
"end": {
"line": 144,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "miner",
"start": 5120,
"end": 5125,
"loc": {
"start": {
"line": 144,
"column": 59
},
"end": {
"line": 144,
"column": 64
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5125,
"end": 5126,
"loc": {
"start": {
"line": 144,
"column": 64
},
"end": {
"line": 144,
"column": 65
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "findChainedMiner",
"start": 5126,
"end": 5142,
"loc": {
"start": {
"line": 144,
"column": 65
},
"end": {
"line": 144,
"column": 81
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5142,
"end": 5143,
"loc": {
"start": {
"line": 144,
"column": 81
},
"end": {
"line": 144,
"column": 82
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 5143,
"end": 5149,
"loc": {
"start": {
"line": 144,
"column": 82
},
"end": {
"line": 144,
"column": 88
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5149,
"end": 5150,
"loc": {
"start": {
"line": 144,
"column": 88
},
"end": {
"line": 144,
"column": 89
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5150,
"end": 5151,
"loc": {
"start": {
"line": 144,
"column": 89
},
"end": {
"line": 144,
"column": 90
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 5161,
"end": 5163,
"loc": {
"start": {
"line": 145,
"column": 8
},
"end": {
"line": 145,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5164,
"end": 5165,
"loc": {
"start": {
"line": 145,
"column": 11
},
"end": {
"line": 145,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "connectedMiner",
"start": 5165,
"end": 5179,
"loc": {
"start": {
"line": 145,
"column": 12
},
"end": {
"line": 145,
"column": 26
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 5180,
"end": 5182,
"loc": {
"start": {
"line": 145,
"column": 27
},
"end": {
"line": 145,
"column": 29
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 5183,
"end": 5184,
"loc": {
"start": {
"line": 145,
"column": 30
},
"end": {
"line": 145,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "seenUids",
"start": 5184,
"end": 5192,
"loc": {
"start": {
"line": 145,
"column": 31
},
"end": {
"line": 145,
"column": 39
}
}
},
{
"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": 145,
"column": 39
},
"end": {
"line": 145,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "has",
"start": 5193,
"end": 5196,
"loc": {
"start": {
"line": 145,
"column": 40
},
"end": {
"line": 145,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5196,
"end": 5197,
"loc": {
"start": {
"line": 145,
"column": 43
},
"end": {
"line": 145,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "connectedMiner",
"start": 5197,
"end": 5211,
"loc": {
"start": {
"line": 145,
"column": 44
},
"end": {
"line": 145,
"column": 58
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5211,
"end": 5212,
"loc": {
"start": {
"line": 145,
"column": 58
},
"end": {
"line": 145,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "uid",
"start": 5212,
"end": 5215,
"loc": {
"start": {
"line": 145,
"column": 59
},
"end": {
"line": 145,
"column": 62
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5215,
"end": 5216,
"loc": {
"start": {
"line": 145,
"column": 62
},
"end": {
"line": 145,
"column": 63
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5216,
"end": 5217,
"loc": {
"start": {
"line": 145,
"column": 63
},
"end": {
"line": 145,
"column": 64
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5218,
"end": 5219,
"loc": {
"start": {
"line": 145,
"column": 65
},
"end": {
"line": 145,
"column": 66
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "results",
"start": 5233,
"end": 5240,
"loc": {
"start": {
"line": 146,
"column": 12
},
"end": {
"line": 146,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5240,
"end": 5241,
"loc": {
"start": {
"line": 146,
"column": 19
},
"end": {
"line": 146,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "push",
"start": 5241,
"end": 5245,
"loc": {
"start": {
"line": 146,
"column": 20
},
"end": {
"line": 146,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5245,
"end": 5246,
"loc": {
"start": {
"line": 146,
"column": 24
},
"end": {
"line": 146,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "connectedMiner",
"start": 5246,
"end": 5260,
"loc": {
"start": {
"line": 146,
"column": 25
},
"end": {
"line": 146,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5260,
"end": 5261,
"loc": {
"start": {
"line": 146,
"column": 39
},
"end": {
"line": 146,
"column": 40
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5261,
"end": 5262,
"loc": {
"start": {
"line": 146,
"column": 40
},
"end": {
"line": 146,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "seenUids",
"start": 5276,
"end": 5284,
"loc": {
"start": {
"line": 147,
"column": 12
},
"end": {
"line": 147,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5284,
"end": 5285,
"loc": {
"start": {
"line": 147,
"column": 20
},
"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": "add",
"start": 5285,
"end": 5288,
"loc": {
"start": {
"line": 147,
"column": 21
},
"end": {
"line": 147,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5288,
"end": 5289,
"loc": {
"start": {
"line": 147,
"column": 24
},
"end": {
"line": 147,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "connectedMiner",
"start": 5289,
"end": 5303,
"loc": {
"start": {
"line": 147,
"column": 25
},
"end": {
"line": 147,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5303,
"end": 5304,
"loc": {
"start": {
"line": 147,
"column": 39
},
"end": {
"line": 147,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "uid",
"start": 5304,
"end": 5307,
"loc": {
"start": {
"line": 147,
"column": 40
},
"end": {
"line": 147,
"column": 43
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5307,
"end": 5308,
"loc": {
"start": {
"line": 147,
"column": 43
},
"end": {
"line": 147,
"column": 44
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5308,
"end": 5309,
"loc": {
"start": {
"line": 147,
"column": 44
},
"end": {
"line": 147,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "results",
"start": 5323,
"end": 5330,
"loc": {
"start": {
"line": 148,
"column": 12
},
"end": {
"line": 148,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5330,
"end": 5331,
"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": "push",
"start": 5331,
"end": 5335,
"loc": {
"start": {
"line": 148,
"column": 20
},
"end": {
"line": 148,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5335,
"end": 5336,
"loc": {
"start": {
"line": 148,
"column": 24
},
"end": {
"line": 148,
"column": 25
}
}
},
{
"type": {
"label": "...",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5336,
"end": 5339,
"loc": {
"start": {
"line": 148,
"column": 25
},
"end": {
"line": 148,
"column": 28
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 5339,
"end": 5343,
"loc": {
"start": {
"line": 148,
"column": 28
},
"end": {
"line": 148,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5343,
"end": 5344,
"loc": {
"start": {
"line": 148,
"column": 32
},
"end": {
"line": 148,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "findConnectedMiners",
"start": 5344,
"end": 5363,
"loc": {
"start": {
"line": 148,
"column": 33
},
"end": {
"line": 148,
"column": 52
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5363,
"end": 5364,
"loc": {
"start": {
"line": 148,
"column": 52
},
"end": {
"line": 148,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "connectedMiner",
"start": 5364,
"end": 5378,
"loc": {
"start": {
"line": 148,
"column": 53
},
"end": {
"line": 148,
"column": 67
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5378,
"end": 5379,
"loc": {
"start": {
"line": 148,
"column": 67
},
"end": {
"line": 148,
"column": 68
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "seenUids",
"start": 5380,
"end": 5388,
"loc": {
"start": {
"line": 148,
"column": 69
},
"end": {
"line": 148,
"column": 77
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5388,
"end": 5389,
"loc": {
"start": {
"line": 148,
"column": 77
},
"end": {
"line": 148,
"column": 78
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5389,
"end": 5390,
"loc": {
"start": {
"line": 148,
"column": 78
},
"end": {
"line": 148,
"column": 79
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5390,
"end": 5391,
"loc": {
"start": {
"line": 148,
"column": 79
},
"end": {
"line": 148,
"column": 80
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5401,
"end": 5402,
"loc": {
"start": {
"line": 149,
"column": 8
},
"end": {
"line": 149,
"column": 9
}
}
},
{
"type": "CommentLine",
"value": " Search within a 1x1 grid - this assumes miners are always 1x1",
"start": 5414,
"end": 5478,
"loc": {
"start": {
"line": 151,
"column": 8
},
"end": {
"line": 151,
"column": 72
}
}
},
{
"type": {
"label": "for",
"keyword": "for",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": true,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "for",
"start": 5488,
"end": 5491,
"loc": {
"start": {
"line": 152,
"column": 8
},
"end": {
"line": 152,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5492,
"end": 5493,
"loc": {
"start": {
"line": 152,
"column": 12
},
"end": {
"line": 152,
"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": 5493,
"end": 5496,
"loc": {
"start": {
"line": 152,
"column": 13
},
"end": {
"line": 152,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dx",
"start": 5497,
"end": 5499,
"loc": {
"start": {
"line": 152,
"column": 17
},
"end": {
"line": 152,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5500,
"end": 5501,
"loc": {
"start": {
"line": 152,
"column": 20
},
"end": {
"line": 152,
"column": 21
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 5502,
"end": 5503,
"loc": {
"start": {
"line": 152,
"column": 22
},
"end": {
"line": 152,
"column": 23
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 5503,
"end": 5504,
"loc": {
"start": {
"line": 152,
"column": 23
},
"end": {
"line": 152,
"column": 24
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5504,
"end": 5505,
"loc": {
"start": {
"line": 152,
"column": 24
},
"end": {
"line": 152,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dx",
"start": 5506,
"end": 5508,
"loc": {
"start": {
"line": 152,
"column": 26
},
"end": {
"line": 152,
"column": 28
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<=",
"start": 5509,
"end": 5511,
"loc": {
"start": {
"line": 152,
"column": 29
},
"end": {
"line": 152,
"column": 31
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 5512,
"end": 5513,
"loc": {
"start": {
"line": 152,
"column": 32
},
"end": {
"line": 152,
"column": 33
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5513,
"end": 5514,
"loc": {
"start": {
"line": 152,
"column": 33
},
"end": {
"line": 152,
"column": 34
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 5515,
"end": 5517,
"loc": {
"start": {
"line": 152,
"column": 35
},
"end": {
"line": 152,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dx",
"start": 5517,
"end": 5519,
"loc": {
"start": {
"line": 152,
"column": 37
},
"end": {
"line": 152,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5519,
"end": 5520,
"loc": {
"start": {
"line": 152,
"column": 39
},
"end": {
"line": 152,
"column": 40
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5521,
"end": 5522,
"loc": {
"start": {
"line": 152,
"column": 41
},
"end": {
"line": 152,
"column": 42
}
}
},
{
"type": {
"label": "for",
"keyword": "for",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": true,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "for",
"start": 5536,
"end": 5539,
"loc": {
"start": {
"line": 153,
"column": 12
},
"end": {
"line": 153,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5540,
"end": 5541,
"loc": {
"start": {
"line": 153,
"column": 16
},
"end": {
"line": 153,
"column": 17
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 5541,
"end": 5544,
"loc": {
"start": {
"line": 153,
"column": 17
},
"end": {
"line": 153,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dy",
"start": 5545,
"end": 5547,
"loc": {
"start": {
"line": 153,
"column": 21
},
"end": {
"line": 153,
"column": 23
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5548,
"end": 5549,
"loc": {
"start": {
"line": 153,
"column": 24
},
"end": {
"line": 153,
"column": 25
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 5550,
"end": 5551,
"loc": {
"start": {
"line": 153,
"column": 26
},
"end": {
"line": 153,
"column": 27
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 5551,
"end": 5552,
"loc": {
"start": {
"line": 153,
"column": 27
},
"end": {
"line": 153,
"column": 28
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5552,
"end": 5553,
"loc": {
"start": {
"line": 153,
"column": 28
},
"end": {
"line": 153,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dy",
"start": 5554,
"end": 5556,
"loc": {
"start": {
"line": 153,
"column": 30
},
"end": {
"line": 153,
"column": 32
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<=",
"start": 5557,
"end": 5559,
"loc": {
"start": {
"line": 153,
"column": 33
},
"end": {
"line": 153,
"column": 35
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 5560,
"end": 5561,
"loc": {
"start": {
"line": 153,
"column": 36
},
"end": {
"line": 153,
"column": 37
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5561,
"end": 5562,
"loc": {
"start": {
"line": 153,
"column": 37
},
"end": {
"line": 153,
"column": 38
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 5563,
"end": 5565,
"loc": {
"start": {
"line": 153,
"column": 39
},
"end": {
"line": 153,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dy",
"start": 5565,
"end": 5567,
"loc": {
"start": {
"line": 153,
"column": 41
},
"end": {
"line": 153,
"column": 43
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5567,
"end": 5568,
"loc": {
"start": {
"line": 153,
"column": 43
},
"end": {
"line": 153,
"column": 44
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5569,
"end": 5570,
"loc": {
"start": {
"line": 153,
"column": 45
},
"end": {
"line": 153,
"column": 46
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 5588,
"end": 5593,
"loc": {
"start": {
"line": 154,
"column": 16
},
"end": {
"line": 154,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "contents",
"start": 5594,
"end": 5602,
"loc": {
"start": {
"line": 154,
"column": 22
},
"end": {
"line": 154,
"column": 30
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5603,
"end": 5604,
"loc": {
"start": {
"line": 154,
"column": 31
},
"end": {
"line": 154,
"column": 32
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 5605,
"end": 5609,
"loc": {
"start": {
"line": 154,
"column": 33
},
"end": {
"line": 154,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5609,
"end": 5610,
"loc": {
"start": {
"line": 154,
"column": 37
},
"end": {
"line": 154,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 5610,
"end": 5614,
"loc": {
"start": {
"line": 154,
"column": 38
},
"end": {
"line": 154,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5614,
"end": 5615,
"loc": {
"start": {
"line": 154,
"column": 42
},
"end": {
"line": 154,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "map",
"start": 5615,
"end": 5618,
"loc": {
"start": {
"line": 154,
"column": 43
},
"end": {
"line": 154,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5618,
"end": 5619,
"loc": {
"start": {
"line": 154,
"column": 46
},
"end": {
"line": 154,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getTileContent",
"start": 5619,
"end": 5633,
"loc": {
"start": {
"line": 154,
"column": 47
},
"end": {
"line": 154,
"column": 61
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5633,
"end": 5634,
"loc": {
"start": {
"line": 154,
"column": 61
},
"end": {
"line": 154,
"column": 62
}
}
},
{
"type": {
"label": "new",
"keyword": "new",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "new",
"start": 5656,
"end": 5659,
"loc": {
"start": {
"line": 155,
"column": 20
},
"end": {
"line": 155,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Vector",
"start": 5660,
"end": 5666,
"loc": {
"start": {
"line": 155,
"column": 24
},
"end": {
"line": 155,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5666,
"end": 5667,
"loc": {
"start": {
"line": 155,
"column": 30
},
"end": {
"line": 155,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "origin",
"start": 5667,
"end": 5673,
"loc": {
"start": {
"line": 155,
"column": 31
},
"end": {
"line": 155,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5673,
"end": 5674,
"loc": {
"start": {
"line": 155,
"column": 37
},
"end": {
"line": 155,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 5674,
"end": 5675,
"loc": {
"start": {
"line": 155,
"column": 38
},
"end": {
"line": 155,
"column": 39
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 5676,
"end": 5677,
"loc": {
"start": {
"line": 155,
"column": 40
},
"end": {
"line": 155,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dx",
"start": 5678,
"end": 5680,
"loc": {
"start": {
"line": 155,
"column": 42
},
"end": {
"line": 155,
"column": 44
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5680,
"end": 5681,
"loc": {
"start": {
"line": 155,
"column": 44
},
"end": {
"line": 155,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "origin",
"start": 5682,
"end": 5688,
"loc": {
"start": {
"line": 155,
"column": 46
},
"end": {
"line": 155,
"column": 52
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5688,
"end": 5689,
"loc": {
"start": {
"line": 155,
"column": 52
},
"end": {
"line": 155,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 5689,
"end": 5690,
"loc": {
"start": {
"line": 155,
"column": 53
},
"end": {
"line": 155,
"column": 54
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 5691,
"end": 5692,
"loc": {
"start": {
"line": 155,
"column": 55
},
"end": {
"line": 155,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dy",
"start": 5693,
"end": 5695,
"loc": {
"start": {
"line": 155,
"column": 57
},
"end": {
"line": 155,
"column": 59
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5695,
"end": 5696,
"loc": {
"start": {
"line": 155,
"column": 59
},
"end": {
"line": 155,
"column": 60
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5696,
"end": 5697,
"loc": {
"start": {
"line": 155,
"column": 60
},
"end": {
"line": 155,
"column": 61
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "regular",
"start": 5719,
"end": 5728,
"loc": {
"start": {
"line": 156,
"column": 20
},
"end": {
"line": 156,
"column": 29
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5746,
"end": 5747,
"loc": {
"start": {
"line": 157,
"column": 16
},
"end": {
"line": 157,
"column": 17
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5747,
"end": 5748,
"loc": {
"start": {
"line": 157,
"column": 17
},
"end": {
"line": 157,
"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": 5766,
"end": 5768,
"loc": {
"start": {
"line": 158,
"column": 16
},
"end": {
"line": 158,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5769,
"end": 5770,
"loc": {
"start": {
"line": 158,
"column": 19
},
"end": {
"line": 158,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "contents",
"start": 5770,
"end": 5778,
"loc": {
"start": {
"line": 158,
"column": 20
},
"end": {
"line": 158,
"column": 28
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5778,
"end": 5779,
"loc": {
"start": {
"line": 158,
"column": 28
},
"end": {
"line": 158,
"column": 29
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5780,
"end": 5781,
"loc": {
"start": {
"line": 158,
"column": 30
},
"end": {
"line": 158,
"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": 5803,
"end": 5808,
"loc": {
"start": {
"line": 159,
"column": 20
},
"end": {
"line": 159,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "minerComp",
"start": 5809,
"end": 5818,
"loc": {
"start": {
"line": 159,
"column": 26
},
"end": {
"line": 159,
"column": 35
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5819,
"end": 5820,
"loc": {
"start": {
"line": 159,
"column": 36
},
"end": {
"line": 159,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "contents",
"start": 5821,
"end": 5829,
"loc": {
"start": {
"line": 159,
"column": 38
},
"end": {
"line": 159,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5829,
"end": 5830,
"loc": {
"start": {
"line": 159,
"column": 46
},
"end": {
"line": 159,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 5830,
"end": 5840,
"loc": {
"start": {
"line": 159,
"column": 47
},
"end": {
"line": 159,
"column": 57
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5840,
"end": 5841,
"loc": {
"start": {
"line": 159,
"column": 57
},
"end": {
"line": 159,
"column": 58
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Miner",
"start": 5841,
"end": 5846,
"loc": {
"start": {
"line": 159,
"column": 58
},
"end": {
"line": 159,
"column": 63
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5846,
"end": 5847,
"loc": {
"start": {
"line": 159,
"column": 63
},
"end": {
"line": 159,
"column": 64
}
}
},
{
"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": 5869,
"end": 5871,
"loc": {
"start": {
"line": 160,
"column": 20
},
"end": {
"line": 160,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5872,
"end": 5873,
"loc": {
"start": {
"line": 160,
"column": 23
},
"end": {
"line": 160,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "minerComp",
"start": 5873,
"end": 5882,
"loc": {
"start": {
"line": 160,
"column": 24
},
"end": {
"line": 160,
"column": 33
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 5883,
"end": 5885,
"loc": {
"start": {
"line": 160,
"column": 34
},
"end": {
"line": 160,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "minerComp",
"start": 5886,
"end": 5895,
"loc": {
"start": {
"line": 160,
"column": 37
},
"end": {
"line": 160,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5895,
"end": 5896,
"loc": {
"start": {
"line": 160,
"column": 46
},
"end": {
"line": 160,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "chainable",
"start": 5896,
"end": 5905,
"loc": {
"start": {
"line": 160,
"column": 47
},
"end": {
"line": 160,
"column": 56
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5905,
"end": 5906,
"loc": {
"start": {
"line": 160,
"column": 56
},
"end": {
"line": 160,
"column": 57
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5907,
"end": 5908,
"loc": {
"start": {
"line": 160,
"column": 58
},
"end": {
"line": 160,
"column": 59
}
}
},
{
"type": "CommentLine",
"value": " Found a miner connected to this entity",
"start": 5934,
"end": 5975,
"loc": {
"start": {
"line": 161,
"column": 24
},
"end": {
"line": 161,
"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": 6001,
"end": 6003,
"loc": {
"start": {
"line": 162,
"column": 24
},
"end": {
"line": 162,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6004,
"end": 6005,
"loc": {
"start": {
"line": 162,
"column": 27
},
"end": {
"line": 162,
"column": 28
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 6005,
"end": 6006,
"loc": {
"start": {
"line": 162,
"column": 28
},
"end": {
"line": 162,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "seenUids",
"start": 6006,
"end": 6014,
"loc": {
"start": {
"line": 162,
"column": 29
},
"end": {
"line": 162,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6014,
"end": 6015,
"loc": {
"start": {
"line": 162,
"column": 37
},
"end": {
"line": 162,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "has",
"start": 6015,
"end": 6018,
"loc": {
"start": {
"line": 162,
"column": 38
},
"end": {
"line": 162,
"column": 41
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6018,
"end": 6019,
"loc": {
"start": {
"line": 162,
"column": 41
},
"end": {
"line": 162,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "contents",
"start": 6019,
"end": 6027,
"loc": {
"start": {
"line": 162,
"column": 42
},
"end": {
"line": 162,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6027,
"end": 6028,
"loc": {
"start": {
"line": 162,
"column": 50
},
"end": {
"line": 162,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "uid",
"start": 6028,
"end": 6031,
"loc": {
"start": {
"line": 162,
"column": 51
},
"end": {
"line": 162,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6031,
"end": 6032,
"loc": {
"start": {
"line": 162,
"column": 54
},
"end": {
"line": 162,
"column": 55
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6032,
"end": 6033,
"loc": {
"start": {
"line": 162,
"column": 55
},
"end": {
"line": 162,
"column": 56
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6034,
"end": 6035,
"loc": {
"start": {
"line": 162,
"column": 57
},
"end": {
"line": 162,
"column": 58
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 6065,
"end": 6067,
"loc": {
"start": {
"line": 163,
"column": 28
},
"end": {
"line": 163,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6068,
"end": 6069,
"loc": {
"start": {
"line": 163,
"column": 31
},
"end": {
"line": 163,
"column": 32
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 6069,
"end": 6073,
"loc": {
"start": {
"line": 163,
"column": 32
},
"end": {
"line": 163,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6073,
"end": 6074,
"loc": {
"start": {
"line": 163,
"column": 36
},
"end": {
"line": 163,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 6074,
"end": 6078,
"loc": {
"start": {
"line": 163,
"column": 37
},
"end": {
"line": 163,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6078,
"end": 6079,
"loc": {
"start": {
"line": 163,
"column": 41
},
"end": {
"line": 163,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "systemMgr",
"start": 6079,
"end": 6088,
"loc": {
"start": {
"line": 163,
"column": 42
},
"end": {
"line": 163,
"column": 51
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6088,
"end": 6089,
"loc": {
"start": {
"line": 163,
"column": 51
},
"end": {
"line": 163,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "systems",
"start": 6089,
"end": 6096,
"loc": {
"start": {
"line": 163,
"column": 52
},
"end": {
"line": 163,
"column": 59
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6096,
"end": 6097,
"loc": {
"start": {
"line": 163,
"column": 59
},
"end": {
"line": 163,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "miner",
"start": 6097,
"end": 6102,
"loc": {
"start": {
"line": 163,
"column": 60
},
"end": {
"line": 163,
"column": 65
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6102,
"end": 6103,
"loc": {
"start": {
"line": 163,
"column": 65
},
"end": {
"line": 163,
"column": 66
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "findChainedMiner",
"start": 6103,
"end": 6119,
"loc": {
"start": {
"line": 163,
"column": 66
},
"end": {
"line": 163,
"column": 82
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6119,
"end": 6120,
"loc": {
"start": {
"line": 163,
"column": 82
},
"end": {
"line": 163,
"column": 83
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "contents",
"start": 6120,
"end": 6128,
"loc": {
"start": {
"line": 163,
"column": 83
},
"end": {
"line": 163,
"column": 91
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6128,
"end": 6129,
"loc": {
"start": {
"line": 163,
"column": 91
},
"end": {
"line": 163,
"column": 92
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 6130,
"end": 6133,
"loc": {
"start": {
"line": 163,
"column": 93
},
"end": {
"line": 163,
"column": 96
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 6134,
"end": 6140,
"loc": {
"start": {
"line": 163,
"column": 97
},
"end": {
"line": 163,
"column": 103
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6140,
"end": 6141,
"loc": {
"start": {
"line": 163,
"column": 103
},
"end": {
"line": 163,
"column": 104
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6142,
"end": 6143,
"loc": {
"start": {
"line": 163,
"column": 105
},
"end": {
"line": 163,
"column": 106
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "results",
"start": 6177,
"end": 6184,
"loc": {
"start": {
"line": 164,
"column": 32
},
"end": {
"line": 164,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6184,
"end": 6185,
"loc": {
"start": {
"line": 164,
"column": 39
},
"end": {
"line": 164,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "push",
"start": 6185,
"end": 6189,
"loc": {
"start": {
"line": 164,
"column": 40
},
"end": {
"line": 164,
"column": 44
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6189,
"end": 6190,
"loc": {
"start": {
"line": 164,
"column": 44
},
"end": {
"line": 164,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "contents",
"start": 6190,
"end": 6198,
"loc": {
"start": {
"line": 164,
"column": 45
},
"end": {
"line": 164,
"column": 53
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6198,
"end": 6199,
"loc": {
"start": {
"line": 164,
"column": 53
},
"end": {
"line": 164,
"column": 54
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6199,
"end": 6200,
"loc": {
"start": {
"line": 164,
"column": 54
},
"end": {
"line": 164,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "seenUids",
"start": 6234,
"end": 6242,
"loc": {
"start": {
"line": 165,
"column": 32
},
"end": {
"line": 165,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6242,
"end": 6243,
"loc": {
"start": {
"line": 165,
"column": 40
},
"end": {
"line": 165,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 6243,
"end": 6246,
"loc": {
"start": {
"line": 165,
"column": 41
},
"end": {
"line": 165,
"column": 44
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6246,
"end": 6247,
"loc": {
"start": {
"line": 165,
"column": 44
},
"end": {
"line": 165,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "contents",
"start": 6247,
"end": 6255,
"loc": {
"start": {
"line": 165,
"column": 45
},
"end": {
"line": 165,
"column": 53
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6255,
"end": 6256,
"loc": {
"start": {
"line": 165,
"column": 53
},
"end": {
"line": 165,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "uid",
"start": 6256,
"end": 6259,
"loc": {
"start": {
"line": 165,
"column": 54
},
"end": {
"line": 165,
"column": 57
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6259,
"end": 6260,
"loc": {
"start": {
"line": 165,
"column": 57
},
"end": {
"line": 165,
"column": 58
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6260,
"end": 6261,
"loc": {
"start": {
"line": 165,
"column": 58
},
"end": {
"line": 165,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "results",
"start": 6295,
"end": 6302,
"loc": {
"start": {
"line": 166,
"column": 32
},
"end": {
"line": 166,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6302,
"end": 6303,
"loc": {
"start": {
"line": 166,
"column": 39
},
"end": {
"line": 166,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "push",
"start": 6303,
"end": 6307,
"loc": {
"start": {
"line": 166,
"column": 40
},
"end": {
"line": 166,
"column": 44
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6307,
"end": 6308,
"loc": {
"start": {
"line": 166,
"column": 44
},
"end": {
"line": 166,
"column": 45
}
}
},
{
"type": {
"label": "...",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6308,
"end": 6311,
"loc": {
"start": {
"line": 166,
"column": 45
},
"end": {
"line": 166,
"column": 48
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 6311,
"end": 6315,
"loc": {
"start": {
"line": 166,
"column": 48
},
"end": {
"line": 166,
"column": 52
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6315,
"end": 6316,
"loc": {
"start": {
"line": 166,
"column": 52
},
"end": {
"line": 166,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "findConnectedMiners",
"start": 6316,
"end": 6335,
"loc": {
"start": {
"line": 166,
"column": 53
},
"end": {
"line": 166,
"column": 72
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6335,
"end": 6336,
"loc": {
"start": {
"line": 166,
"column": 72
},
"end": {
"line": 166,
"column": 73
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "contents",
"start": 6336,
"end": 6344,
"loc": {
"start": {
"line": 166,
"column": 73
},
"end": {
"line": 166,
"column": 81
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6344,
"end": 6345,
"loc": {
"start": {
"line": 166,
"column": 81
},
"end": {
"line": 166,
"column": 82
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "seenUids",
"start": 6346,
"end": 6354,
"loc": {
"start": {
"line": 166,
"column": 83
},
"end": {
"line": 166,
"column": 91
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6354,
"end": 6355,
"loc": {
"start": {
"line": 166,
"column": 91
},
"end": {
"line": 166,
"column": 92
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6355,
"end": 6356,
"loc": {
"start": {
"line": 166,
"column": 92
},
"end": {
"line": 166,
"column": 93
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6356,
"end": 6357,
"loc": {
"start": {
"line": 166,
"column": 93
},
"end": {
"line": 166,
"column": 94
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6387,
"end": 6388,
"loc": {
"start": {
"line": 167,
"column": 28
},
"end": {
"line": 167,
"column": 29
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6414,
"end": 6415,
"loc": {
"start": {
"line": 168,
"column": 24
},
"end": {
"line": 168,
"column": 25
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6437,
"end": 6438,
"loc": {
"start": {
"line": 169,
"column": 20
},
"end": {
"line": 169,
"column": 21
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6456,
"end": 6457,
"loc": {
"start": {
"line": 170,
"column": 16
},
"end": {
"line": 170,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6471,
"end": 6472,
"loc": {
"start": {
"line": 171,
"column": 12
},
"end": {
"line": 171,
"column": 13
}
}
},
{
"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": 172,
"column": 8
},
"end": {
"line": 172,
"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": 6495,
"end": 6501,
"loc": {
"start": {
"line": 174,
"column": 8
},
"end": {
"line": 174,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "results",
"start": 6502,
"end": 6509,
"loc": {
"start": {
"line": 174,
"column": 15
},
"end": {
"line": 174,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6509,
"end": 6510,
"loc": {
"start": {
"line": 174,
"column": 22
},
"end": {
"line": 174,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6516,
"end": 6517,
"loc": {
"start": {
"line": 175,
"column": 4
},
"end": {
"line": 175,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6519,
"end": 6520,
"loc": {
"start": {
"line": 176,
"column": 0
},
"end": {
"line": 176,
"column": 1
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6520,
"end": 6520,
"loc": {
"start": {
"line": 176,
"column": 1
},
"end": {
"line": 176,
"column": 1
}
}
}
]
}