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/blueprint_placer.js.json
2021-02-26 15:20:37 +01:00

43027 lines
1.1 MiB

{
"type": "File",
"start": 0,
"end": 7262,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 205,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 7262,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 205,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 63,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 63
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 9,
"end": 23,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 23
}
},
"imported": {
"type": "Identifier",
"start": 9,
"end": 23,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 23
},
"identifierName": "DrawParameters"
},
"name": "DrawParameters"
},
"local": {
"type": "Identifier",
"start": 9,
"end": 23,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 23
},
"identifierName": "DrawParameters"
},
"name": "DrawParameters"
}
}
],
"source": {
"type": "StringLiteral",
"start": 31,
"end": 62,
"loc": {
"start": {
"line": 1,
"column": 31
},
"end": {
"line": 1,
"column": 62
}
},
"extra": {
"rawValue": "../../../core/draw_parameters",
"raw": "\"../../../core/draw_parameters\""
},
"value": "../../../core/draw_parameters"
}
},
{
"type": "ImportDeclaration",
"start": 65,
"end": 121,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 56
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 74,
"end": 90,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 25
}
},
"imported": {
"type": "Identifier",
"start": 74,
"end": 90,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 25
},
"identifierName": "STOP_PROPAGATION"
},
"name": "STOP_PROPAGATION"
},
"local": {
"type": "Identifier",
"start": 74,
"end": 90,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 25
},
"identifierName": "STOP_PROPAGATION"
},
"name": "STOP_PROPAGATION"
}
}
],
"source": {
"type": "StringLiteral",
"start": 98,
"end": 120,
"loc": {
"start": {
"line": 2,
"column": 33
},
"end": {
"line": 2,
"column": 55
}
},
"extra": {
"rawValue": "../../../core/signal",
"raw": "\"../../../core/signal\""
},
"value": "../../../core/signal"
}
},
{
"type": "ImportDeclaration",
"start": 123,
"end": 182,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 59
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 132,
"end": 144,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 21
}
},
"imported": {
"type": "Identifier",
"start": 132,
"end": 144,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 21
},
"identifierName": "TrackedState"
},
"name": "TrackedState"
},
"local": {
"type": "Identifier",
"start": 132,
"end": 144,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 21
},
"identifierName": "TrackedState"
},
"name": "TrackedState"
}
}
],
"source": {
"type": "StringLiteral",
"start": 152,
"end": 181,
"loc": {
"start": {
"line": 3,
"column": 29
},
"end": {
"line": 3,
"column": 58
}
},
"extra": {
"rawValue": "../../../core/tracked_state",
"raw": "\"../../../core/tracked_state\""
},
"value": "../../../core/tracked_state"
}
},
{
"type": "ImportDeclaration",
"start": 184,
"end": 230,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 46
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 193,
"end": 200,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 16
}
},
"imported": {
"type": "Identifier",
"start": 193,
"end": 200,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 16
},
"identifierName": "makeDiv"
},
"name": "makeDiv"
},
"local": {
"type": "Identifier",
"start": 193,
"end": 200,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 16
},
"identifierName": "makeDiv"
},
"name": "makeDiv"
}
}
],
"source": {
"type": "StringLiteral",
"start": 208,
"end": 229,
"loc": {
"start": {
"line": 4,
"column": 24
},
"end": {
"line": 4,
"column": 45
}
},
"extra": {
"rawValue": "../../../core/utils",
"raw": "\"../../../core/utils\""
},
"value": "../../../core/utils"
}
},
{
"type": "ImportDeclaration",
"start": 232,
"end": 278,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 46
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 241,
"end": 247,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 15
}
},
"imported": {
"type": "Identifier",
"start": 241,
"end": 247,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 15
},
"identifierName": "Vector"
},
"name": "Vector"
},
"local": {
"type": "Identifier",
"start": 241,
"end": 247,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 15
},
"identifierName": "Vector"
},
"name": "Vector"
}
}
],
"source": {
"type": "StringLiteral",
"start": 255,
"end": 277,
"loc": {
"start": {
"line": 5,
"column": 23
},
"end": {
"line": 5,
"column": 45
}
},
"extra": {
"rawValue": "../../../core/vector",
"raw": "\"../../../core/vector\""
},
"value": "../../../core/vector"
}
},
{
"type": "ImportDeclaration",
"start": 280,
"end": 329,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 49
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 289,
"end": 295,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 15
}
},
"imported": {
"type": "Identifier",
"start": 289,
"end": 295,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 15
},
"identifierName": "SOUNDS"
},
"name": "SOUNDS"
},
"local": {
"type": "Identifier",
"start": 289,
"end": 295,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 15
},
"identifierName": "SOUNDS"
},
"name": "SOUNDS"
}
}
],
"source": {
"type": "StringLiteral",
"start": 303,
"end": 328,
"loc": {
"start": {
"line": 6,
"column": 23
},
"end": {
"line": 6,
"column": 48
}
},
"extra": {
"rawValue": "../../../platform/sound",
"raw": "\"../../../platform/sound\""
},
"value": "../../../platform/sound"
}
},
{
"type": "ImportDeclaration",
"start": 331,
"end": 373,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 7,
"column": 42
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 340,
"end": 341,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 10
}
},
"imported": {
"type": "Identifier",
"start": 340,
"end": 341,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 10
},
"identifierName": "T"
},
"name": "T"
},
"local": {
"type": "Identifier",
"start": 340,
"end": 341,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 10
},
"identifierName": "T"
},
"name": "T"
}
}
],
"source": {
"type": "StringLiteral",
"start": 349,
"end": 372,
"loc": {
"start": {
"line": 7,
"column": 18
},
"end": {
"line": 7,
"column": 41
}
},
"extra": {
"rawValue": "../../../translations",
"raw": "\"../../../translations\""
},
"value": "../../../translations"
}
},
{
"type": "ImportDeclaration",
"start": 375,
"end": 419,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 8,
"column": 44
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 384,
"end": 393,
"loc": {
"start": {
"line": 8,
"column": 9
},
"end": {
"line": 8,
"column": 18
}
},
"imported": {
"type": "Identifier",
"start": 384,
"end": 393,
"loc": {
"start": {
"line": 8,
"column": 9
},
"end": {
"line": 8,
"column": 18
},
"identifierName": "Blueprint"
},
"name": "Blueprint"
},
"local": {
"type": "Identifier",
"start": 384,
"end": 393,
"loc": {
"start": {
"line": 8,
"column": 9
},
"end": {
"line": 8,
"column": 18
},
"identifierName": "Blueprint"
},
"name": "Blueprint"
}
}
],
"source": {
"type": "StringLiteral",
"start": 401,
"end": 418,
"loc": {
"start": {
"line": 8,
"column": 26
},
"end": {
"line": 8,
"column": 43
}
},
"extra": {
"rawValue": "../../blueprint",
"raw": "\"../../blueprint\""
},
"value": "../../blueprint"
}
},
{
"type": "ImportDeclaration",
"start": 421,
"end": 468,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"column": 47
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 430,
"end": 445,
"loc": {
"start": {
"line": 9,
"column": 9
},
"end": {
"line": 9,
"column": 24
}
},
"imported": {
"type": "Identifier",
"start": 430,
"end": 445,
"loc": {
"start": {
"line": 9,
"column": 9
},
"end": {
"line": 9,
"column": 24
},
"identifierName": "enumMouseButton"
},
"name": "enumMouseButton"
},
"local": {
"type": "Identifier",
"start": 430,
"end": 445,
"loc": {
"start": {
"line": 9,
"column": 9
},
"end": {
"line": 9,
"column": 24
},
"identifierName": "enumMouseButton"
},
"name": "enumMouseButton"
}
}
],
"source": {
"type": "StringLiteral",
"start": 453,
"end": 467,
"loc": {
"start": {
"line": 9,
"column": 32
},
"end": {
"line": 9,
"column": 46
}
},
"extra": {
"rawValue": "../../camera",
"raw": "\"../../camera\""
},
"value": "../../camera"
}
},
{
"type": "ImportDeclaration",
"start": 470,
"end": 524,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 10,
"column": 54
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 479,
"end": 490,
"loc": {
"start": {
"line": 10,
"column": 9
},
"end": {
"line": 10,
"column": 20
}
},
"imported": {
"type": "Identifier",
"start": 479,
"end": 490,
"loc": {
"start": {
"line": 10,
"column": 9
},
"end": {
"line": 10,
"column": 20
},
"identifierName": "KEYMAPPINGS"
},
"name": "KEYMAPPINGS"
},
"local": {
"type": "Identifier",
"start": 479,
"end": 490,
"loc": {
"start": {
"line": 10,
"column": 9
},
"end": {
"line": 10,
"column": 20
},
"identifierName": "KEYMAPPINGS"
},
"name": "KEYMAPPINGS"
}
}
],
"source": {
"type": "StringLiteral",
"start": 498,
"end": 523,
"loc": {
"start": {
"line": 10,
"column": 28
},
"end": {
"line": 10,
"column": 53
}
},
"extra": {
"rawValue": "../../key_action_mapper",
"raw": "\"../../key_action_mapper\""
},
"value": "../../key_action_mapper"
}
},
{
"type": "ImportDeclaration",
"start": 526,
"end": 573,
"loc": {
"start": {
"line": 11,
"column": 0
},
"end": {
"line": 11,
"column": 47
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 535,
"end": 546,
"loc": {
"start": {
"line": 11,
"column": 9
},
"end": {
"line": 11,
"column": 20
}
},
"imported": {
"type": "Identifier",
"start": 535,
"end": 546,
"loc": {
"start": {
"line": 11,
"column": 9
},
"end": {
"line": 11,
"column": 20
},
"identifierName": "BaseHUDPart"
},
"name": "BaseHUDPart"
},
"local": {
"type": "Identifier",
"start": 535,
"end": 546,
"loc": {
"start": {
"line": 11,
"column": 9
},
"end": {
"line": 11,
"column": 20
},
"identifierName": "BaseHUDPart"
},
"name": "BaseHUDPart"
}
}
],
"source": {
"type": "StringLiteral",
"start": 554,
"end": 572,
"loc": {
"start": {
"line": 11,
"column": 28
},
"end": {
"line": 11,
"column": 46
}
},
"extra": {
"rawValue": "../base_hud_part",
"raw": "\"../base_hud_part\""
},
"value": "../base_hud_part"
}
},
{
"type": "ImportDeclaration",
"start": 575,
"end": 632,
"loc": {
"start": {
"line": 12,
"column": 0
},
"end": {
"line": 12,
"column": 57
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 584,
"end": 600,
"loc": {
"start": {
"line": 12,
"column": 9
},
"end": {
"line": 12,
"column": 25
}
},
"imported": {
"type": "Identifier",
"start": 584,
"end": 600,
"loc": {
"start": {
"line": 12,
"column": 9
},
"end": {
"line": 12,
"column": 25
},
"identifierName": "DynamicDomAttach"
},
"name": "DynamicDomAttach"
},
"local": {
"type": "Identifier",
"start": 584,
"end": 600,
"loc": {
"start": {
"line": 12,
"column": 9
},
"end": {
"line": 12,
"column": 25
},
"identifierName": "DynamicDomAttach"
},
"name": "DynamicDomAttach"
}
}
],
"source": {
"type": "StringLiteral",
"start": 608,
"end": 631,
"loc": {
"start": {
"line": 12,
"column": 33
},
"end": {
"line": 12,
"column": 56
}
},
"extra": {
"rawValue": "../dynamic_dom_attach",
"raw": "\"../dynamic_dom_attach\""
},
"value": "../dynamic_dom_attach"
}
},
{
"type": "ExportNamedDeclaration",
"start": 636,
"end": 7260,
"loc": {
"start": {
"line": 14,
"column": 0
},
"end": {
"line": 204,
"column": 1
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "ClassDeclaration",
"start": 643,
"end": 7260,
"loc": {
"start": {
"line": 14,
"column": 7
},
"end": {
"line": 204,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 649,
"end": 667,
"loc": {
"start": {
"line": 14,
"column": 13
},
"end": {
"line": 14,
"column": 31
},
"identifierName": "HUDBlueprintPlacer"
},
"name": "HUDBlueprintPlacer"
},
"superClass": {
"type": "Identifier",
"start": 676,
"end": 687,
"loc": {
"start": {
"line": 14,
"column": 40
},
"end": {
"line": 14,
"column": 51
},
"identifierName": "BaseHUDPart"
},
"name": "BaseHUDPart"
},
"body": {
"type": "ClassBody",
"start": 688,
"end": 7260,
"loc": {
"start": {
"line": 14,
"column": 52
},
"end": {
"line": 204,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 695,
"end": 1381,
"loc": {
"start": {
"line": 15,
"column": 4
},
"end": {
"line": 27,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 695,
"end": 709,
"loc": {
"start": {
"line": 15,
"column": 4
},
"end": {
"line": 15,
"column": 18
},
"identifierName": "createElements"
},
"name": "createElements"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 710,
"end": 716,
"loc": {
"start": {
"line": 15,
"column": 19
},
"end": {
"line": 15,
"column": 25
},
"identifierName": "parent"
},
"name": "parent"
}
],
"body": {
"type": "BlockStatement",
"start": 718,
"end": 1381,
"loc": {
"start": {
"line": 15,
"column": 27
},
"end": {
"line": 27,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 729,
"end": 873,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 18,
"column": 10
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 735,
"end": 872,
"loc": {
"start": {
"line": 16,
"column": 14
},
"end": {
"line": 18,
"column": 9
}
},
"id": {
"type": "Identifier",
"start": 735,
"end": 753,
"loc": {
"start": {
"line": 16,
"column": 14
},
"end": {
"line": 16,
"column": 32
},
"identifierName": "blueprintCostShape"
},
"name": "blueprintCostShape"
},
"init": {
"type": "CallExpression",
"start": 756,
"end": 872,
"loc": {
"start": {
"line": 16,
"column": 35
},
"end": {
"line": 18,
"column": 9
}
},
"callee": {
"type": "MemberExpression",
"start": 756,
"end": 805,
"loc": {
"start": {
"line": 16,
"column": 35
},
"end": {
"line": 16,
"column": 84
}
},
"object": {
"type": "MemberExpression",
"start": 756,
"end": 784,
"loc": {
"start": {
"line": 16,
"column": 35
},
"end": {
"line": 16,
"column": 63
}
},
"object": {
"type": "MemberExpression",
"start": 756,
"end": 765,
"loc": {
"start": {
"line": 16,
"column": 35
},
"end": {
"line": 16,
"column": 44
}
},
"object": {
"type": "ThisExpression",
"start": 756,
"end": 760,
"loc": {
"start": {
"line": 16,
"column": 35
},
"end": {
"line": 16,
"column": 39
}
}
},
"property": {
"type": "Identifier",
"start": 761,
"end": 765,
"loc": {
"start": {
"line": 16,
"column": 40
},
"end": {
"line": 16,
"column": 44
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 766,
"end": 784,
"loc": {
"start": {
"line": 16,
"column": 45
},
"end": {
"line": 16,
"column": 63
},
"identifierName": "shapeDefinitionMgr"
},
"name": "shapeDefinitionMgr"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 785,
"end": 805,
"loc": {
"start": {
"line": 16,
"column": 64
},
"end": {
"line": 16,
"column": 84
},
"identifierName": "getShapeFromShortKey"
},
"name": "getShapeFromShortKey"
},
"computed": false
},
"arguments": [
{
"type": "CallExpression",
"start": 820,
"end": 861,
"loc": {
"start": {
"line": 17,
"column": 12
},
"end": {
"line": 17,
"column": 53
}
},
"callee": {
"type": "MemberExpression",
"start": 820,
"end": 859,
"loc": {
"start": {
"line": 17,
"column": 12
},
"end": {
"line": 17,
"column": 51
}
},
"object": {
"type": "MemberExpression",
"start": 820,
"end": 838,
"loc": {
"start": {
"line": 17,
"column": 12
},
"end": {
"line": 17,
"column": 30
}
},
"object": {
"type": "MemberExpression",
"start": 820,
"end": 829,
"loc": {
"start": {
"line": 17,
"column": 12
},
"end": {
"line": 17,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 820,
"end": 824,
"loc": {
"start": {
"line": 17,
"column": 12
},
"end": {
"line": 17,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 825,
"end": 829,
"loc": {
"start": {
"line": 17,
"column": 17
},
"end": {
"line": 17,
"column": 21
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 830,
"end": 838,
"loc": {
"start": {
"line": 17,
"column": 22
},
"end": {
"line": 17,
"column": 30
},
"identifierName": "gameMode"
},
"name": "gameMode"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 839,
"end": 859,
"loc": {
"start": {
"line": 17,
"column": 31
},
"end": {
"line": 17,
"column": 51
},
"identifierName": "getBlueprintShapeKey"
},
"name": "getBlueprintShapeKey"
},
"computed": false
},
"arguments": []
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 883,
"end": 956,
"loc": {
"start": {
"line": 19,
"column": 8
},
"end": {
"line": 19,
"column": 81
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 889,
"end": 955,
"loc": {
"start": {
"line": 19,
"column": 14
},
"end": {
"line": 19,
"column": 80
}
},
"id": {
"type": "Identifier",
"start": 889,
"end": 913,
"loc": {
"start": {
"line": 19,
"column": 14
},
"end": {
"line": 19,
"column": 38
},
"identifierName": "blueprintCostShapeCanvas"
},
"name": "blueprintCostShapeCanvas"
},
"init": {
"type": "CallExpression",
"start": 916,
"end": 955,
"loc": {
"start": {
"line": 19,
"column": 41
},
"end": {
"line": 19,
"column": 80
}
},
"callee": {
"type": "MemberExpression",
"start": 916,
"end": 951,
"loc": {
"start": {
"line": 19,
"column": 41
},
"end": {
"line": 19,
"column": 76
}
},
"object": {
"type": "Identifier",
"start": 916,
"end": 934,
"loc": {
"start": {
"line": 19,
"column": 41
},
"end": {
"line": 19,
"column": 59
},
"identifierName": "blueprintCostShape"
},
"name": "blueprintCostShape"
},
"property": {
"type": "Identifier",
"start": 935,
"end": 951,
"loc": {
"start": {
"line": 19,
"column": 60
},
"end": {
"line": 19,
"column": 76
},
"identifierName": "generateAsCanvas"
},
"name": "generateAsCanvas"
},
"computed": false
},
"arguments": [
{
"type": "NumericLiteral",
"start": 952,
"end": 954,
"loc": {
"start": {
"line": 19,
"column": 77
},
"end": {
"line": 19,
"column": 79
}
},
"extra": {
"rawValue": 80,
"raw": "80"
},
"value": 80
}
]
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 968,
"end": 1047,
"loc": {
"start": {
"line": 21,
"column": 8
},
"end": {
"line": 21,
"column": 87
}
},
"expression": {
"type": "AssignmentExpression",
"start": 968,
"end": 1046,
"loc": {
"start": {
"line": 21,
"column": 8
},
"end": {
"line": 21,
"column": 86
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 968,
"end": 990,
"loc": {
"start": {
"line": 21,
"column": 8
},
"end": {
"line": 21,
"column": 30
}
},
"object": {
"type": "ThisExpression",
"start": 968,
"end": 972,
"loc": {
"start": {
"line": 21,
"column": 8
},
"end": {
"line": 21,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 973,
"end": 990,
"loc": {
"start": {
"line": 21,
"column": 13
},
"end": {
"line": 21,
"column": 30
},
"identifierName": "costDisplayParent"
},
"name": "costDisplayParent"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 993,
"end": 1046,
"loc": {
"start": {
"line": 21,
"column": 33
},
"end": {
"line": 21,
"column": 86
}
},
"callee": {
"type": "Identifier",
"start": 993,
"end": 1000,
"loc": {
"start": {
"line": 21,
"column": 33
},
"end": {
"line": 21,
"column": 40
},
"identifierName": "makeDiv"
},
"name": "makeDiv"
},
"arguments": [
{
"type": "Identifier",
"start": 1001,
"end": 1007,
"loc": {
"start": {
"line": 21,
"column": 41
},
"end": {
"line": 21,
"column": 47
},
"identifierName": "parent"
},
"name": "parent"
},
{
"type": "StringLiteral",
"start": 1009,
"end": 1037,
"loc": {
"start": {
"line": 21,
"column": 49
},
"end": {
"line": 21,
"column": 77
}
},
"extra": {
"rawValue": "ingame_HUD_BlueprintPlacer",
"raw": "\"ingame_HUD_BlueprintPlacer\""
},
"value": "ingame_HUD_BlueprintPlacer"
},
{
"type": "ArrayExpression",
"start": 1039,
"end": 1041,
"loc": {
"start": {
"line": 21,
"column": 79
},
"end": {
"line": 21,
"column": 81
}
},
"elements": []
},
{
"type": "TemplateLiteral",
"start": 1043,
"end": 1045,
"loc": {
"start": {
"line": 21,
"column": 83
},
"end": {
"line": 21,
"column": 85
}
},
"expressions": [],
"quasis": [
{
"type": "TemplateElement",
"start": 1044,
"end": 1044,
"loc": {
"start": {
"line": 21,
"column": 84
},
"end": {
"line": 21,
"column": 84
}
},
"value": {
"raw": "",
"cooked": ""
},
"tail": true
}
]
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 1059,
"end": 1139,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 23,
"column": 88
}
},
"expression": {
"type": "CallExpression",
"start": 1059,
"end": 1138,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 23,
"column": 87
}
},
"callee": {
"type": "Identifier",
"start": 1059,
"end": 1066,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 23,
"column": 15
},
"identifierName": "makeDiv"
},
"name": "makeDiv"
},
"arguments": [
{
"type": "MemberExpression",
"start": 1067,
"end": 1089,
"loc": {
"start": {
"line": 23,
"column": 16
},
"end": {
"line": 23,
"column": 38
}
},
"object": {
"type": "ThisExpression",
"start": 1067,
"end": 1071,
"loc": {
"start": {
"line": 23,
"column": 16
},
"end": {
"line": 23,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 1072,
"end": 1089,
"loc": {
"start": {
"line": 23,
"column": 21
},
"end": {
"line": 23,
"column": 38
},
"identifierName": "costDisplayParent"
},
"name": "costDisplayParent"
},
"computed": false
},
{
"type": "NullLiteral",
"start": 1091,
"end": 1095,
"loc": {
"start": {
"line": 23,
"column": 40
},
"end": {
"line": 23,
"column": 44
}
}
},
{
"type": "ArrayExpression",
"start": 1097,
"end": 1106,
"loc": {
"start": {
"line": 23,
"column": 46
},
"end": {
"line": 23,
"column": 55
}
},
"elements": [
{
"type": "StringLiteral",
"start": 1098,
"end": 1105,
"loc": {
"start": {
"line": 23,
"column": 47
},
"end": {
"line": 23,
"column": 54
}
},
"extra": {
"rawValue": "label",
"raw": "\"label\""
},
"value": "label"
}
]
},
{
"type": "MemberExpression",
"start": 1108,
"end": 1137,
"loc": {
"start": {
"line": 23,
"column": 57
},
"end": {
"line": 23,
"column": 86
}
},
"object": {
"type": "MemberExpression",
"start": 1108,
"end": 1132,
"loc": {
"start": {
"line": 23,
"column": 57
},
"end": {
"line": 23,
"column": 81
}
},
"object": {
"type": "MemberExpression",
"start": 1108,
"end": 1116,
"loc": {
"start": {
"line": 23,
"column": 57
},
"end": {
"line": 23,
"column": 65
}
},
"object": {
"type": "Identifier",
"start": 1108,
"end": 1109,
"loc": {
"start": {
"line": 23,
"column": 57
},
"end": {
"line": 23,
"column": 58
},
"identifierName": "T"
},
"name": "T"
},
"property": {
"type": "Identifier",
"start": 1110,
"end": 1116,
"loc": {
"start": {
"line": 23,
"column": 59
},
"end": {
"line": 23,
"column": 65
},
"identifierName": "ingame"
},
"name": "ingame"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1117,
"end": 1132,
"loc": {
"start": {
"line": 23,
"column": 66
},
"end": {
"line": 23,
"column": 81
},
"identifierName": "blueprintPlacer"
},
"name": "blueprintPlacer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1133,
"end": 1137,
"loc": {
"start": {
"line": 23,
"column": 82
},
"end": {
"line": 23,
"column": 86
},
"identifierName": "cost"
},
"name": "cost"
},
"computed": false
}
]
}
},
{
"type": "VariableDeclaration",
"start": 1149,
"end": 1232,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 24,
"column": 91
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1155,
"end": 1231,
"loc": {
"start": {
"line": 24,
"column": 14
},
"end": {
"line": 24,
"column": 90
}
},
"id": {
"type": "Identifier",
"start": 1155,
"end": 1168,
"loc": {
"start": {
"line": 24,
"column": 14
},
"end": {
"line": 24,
"column": 27
},
"identifierName": "costContainer"
},
"name": "costContainer"
},
"init": {
"type": "CallExpression",
"start": 1171,
"end": 1231,
"loc": {
"start": {
"line": 24,
"column": 30
},
"end": {
"line": 24,
"column": 90
}
},
"callee": {
"type": "Identifier",
"start": 1171,
"end": 1178,
"loc": {
"start": {
"line": 24,
"column": 30
},
"end": {
"line": 24,
"column": 37
},
"identifierName": "makeDiv"
},
"name": "makeDiv"
},
"arguments": [
{
"type": "MemberExpression",
"start": 1179,
"end": 1201,
"loc": {
"start": {
"line": 24,
"column": 38
},
"end": {
"line": 24,
"column": 60
}
},
"object": {
"type": "ThisExpression",
"start": 1179,
"end": 1183,
"loc": {
"start": {
"line": 24,
"column": 38
},
"end": {
"line": 24,
"column": 42
}
}
},
"property": {
"type": "Identifier",
"start": 1184,
"end": 1201,
"loc": {
"start": {
"line": 24,
"column": 43
},
"end": {
"line": 24,
"column": 60
},
"identifierName": "costDisplayParent"
},
"name": "costDisplayParent"
},
"computed": false
},
{
"type": "NullLiteral",
"start": 1203,
"end": 1207,
"loc": {
"start": {
"line": 24,
"column": 62
},
"end": {
"line": 24,
"column": 66
}
}
},
{
"type": "ArrayExpression",
"start": 1209,
"end": 1226,
"loc": {
"start": {
"line": 24,
"column": 68
},
"end": {
"line": 24,
"column": 85
}
},
"elements": [
{
"type": "StringLiteral",
"start": 1210,
"end": 1225,
"loc": {
"start": {
"line": 24,
"column": 69
},
"end": {
"line": 24,
"column": 84
}
},
"extra": {
"rawValue": "costContainer",
"raw": "\"costContainer\""
},
"value": "costContainer"
}
]
},
{
"type": "StringLiteral",
"start": 1228,
"end": 1230,
"loc": {
"start": {
"line": 24,
"column": 87
},
"end": {
"line": 24,
"column": 89
}
},
"extra": {
"rawValue": "",
"raw": "\"\""
},
"value": ""
}
]
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 1242,
"end": 1312,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"column": 78
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1242,
"end": 1311,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"column": 77
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1242,
"end": 1262,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"column": 28
}
},
"object": {
"type": "ThisExpression",
"start": 1242,
"end": 1246,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1247,
"end": 1262,
"loc": {
"start": {
"line": 25,
"column": 13
},
"end": {
"line": 25,
"column": 28
},
"identifierName": "costDisplayText"
},
"name": "costDisplayText"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 1265,
"end": 1311,
"loc": {
"start": {
"line": 25,
"column": 31
},
"end": {
"line": 25,
"column": 77
}
},
"callee": {
"type": "Identifier",
"start": 1265,
"end": 1272,
"loc": {
"start": {
"line": 25,
"column": 31
},
"end": {
"line": 25,
"column": 38
},
"identifierName": "makeDiv"
},
"name": "makeDiv"
},
"arguments": [
{
"type": "Identifier",
"start": 1273,
"end": 1286,
"loc": {
"start": {
"line": 25,
"column": 39
},
"end": {
"line": 25,
"column": 52
},
"identifierName": "costContainer"
},
"name": "costContainer"
},
{
"type": "NullLiteral",
"start": 1288,
"end": 1292,
"loc": {
"start": {
"line": 25,
"column": 54
},
"end": {
"line": 25,
"column": 58
}
}
},
{
"type": "ArrayExpression",
"start": 1294,
"end": 1306,
"loc": {
"start": {
"line": 25,
"column": 60
},
"end": {
"line": 25,
"column": 72
}
},
"elements": [
{
"type": "StringLiteral",
"start": 1295,
"end": 1305,
"loc": {
"start": {
"line": 25,
"column": 61
},
"end": {
"line": 25,
"column": 71
}
},
"extra": {
"rawValue": "costText",
"raw": "\"costText\""
},
"value": "costText"
}
]
},
{
"type": "StringLiteral",
"start": 1308,
"end": 1310,
"loc": {
"start": {
"line": 25,
"column": 74
},
"end": {
"line": 25,
"column": 76
}
},
"extra": {
"rawValue": "",
"raw": "\"\""
},
"value": ""
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 1322,
"end": 1374,
"loc": {
"start": {
"line": 26,
"column": 8
},
"end": {
"line": 26,
"column": 60
}
},
"expression": {
"type": "CallExpression",
"start": 1322,
"end": 1373,
"loc": {
"start": {
"line": 26,
"column": 8
},
"end": {
"line": 26,
"column": 59
}
},
"callee": {
"type": "MemberExpression",
"start": 1322,
"end": 1347,
"loc": {
"start": {
"line": 26,
"column": 8
},
"end": {
"line": 26,
"column": 33
}
},
"object": {
"type": "Identifier",
"start": 1322,
"end": 1335,
"loc": {
"start": {
"line": 26,
"column": 8
},
"end": {
"line": 26,
"column": 21
},
"identifierName": "costContainer"
},
"name": "costContainer"
},
"property": {
"type": "Identifier",
"start": 1336,
"end": 1347,
"loc": {
"start": {
"line": 26,
"column": 22
},
"end": {
"line": 26,
"column": 33
},
"identifierName": "appendChild"
},
"name": "appendChild"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1348,
"end": 1372,
"loc": {
"start": {
"line": 26,
"column": 34
},
"end": {
"line": 26,
"column": 58
},
"identifierName": "blueprintCostShapeCanvas"
},
"name": "blueprintCostShapeCanvas"
}
]
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 1389,
"end": 2681,
"loc": {
"start": {
"line": 29,
"column": 4
},
"end": {
"line": 51,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1389,
"end": 1399,
"loc": {
"start": {
"line": 29,
"column": 4
},
"end": {
"line": 29,
"column": 14
},
"identifierName": "initialize"
},
"name": "initialize"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1402,
"end": 2681,
"loc": {
"start": {
"line": 29,
"column": 17
},
"end": {
"line": 51,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1413,
"end": 1505,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 100
}
},
"expression": {
"type": "CallExpression",
"start": 1413,
"end": 1504,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 99
}
},
"callee": {
"type": "MemberExpression",
"start": 1413,
"end": 1463,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 58
}
},
"object": {
"type": "MemberExpression",
"start": 1413,
"end": 1459,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 54
}
},
"object": {
"type": "MemberExpression",
"start": 1413,
"end": 1434,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 29
}
},
"object": {
"type": "MemberExpression",
"start": 1413,
"end": 1426,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 21
}
},
"object": {
"type": "MemberExpression",
"start": 1413,
"end": 1422,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 17
}
},
"object": {
"type": "ThisExpression",
"start": 1413,
"end": 1417,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1418,
"end": 1422,
"loc": {
"start": {
"line": 30,
"column": 13
},
"end": {
"line": 30,
"column": 17
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1423,
"end": 1426,
"loc": {
"start": {
"line": 30,
"column": 18
},
"end": {
"line": 30,
"column": 21
},
"identifierName": "hud"
},
"name": "hud"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1427,
"end": 1434,
"loc": {
"start": {
"line": 30,
"column": 22
},
"end": {
"line": 30,
"column": 29
},
"identifierName": "signals"
},
"name": "signals"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1435,
"end": 1459,
"loc": {
"start": {
"line": 30,
"column": 30
},
"end": {
"line": 30,
"column": 54
},
"identifierName": "buildingsSelectedForCopy"
},
"name": "buildingsSelectedForCopy"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1460,
"end": 1463,
"loc": {
"start": {
"line": 30,
"column": 55
},
"end": {
"line": 30,
"column": 58
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 1464,
"end": 1497,
"loc": {
"start": {
"line": 30,
"column": 59
},
"end": {
"line": 30,
"column": 92
}
},
"object": {
"type": "ThisExpression",
"start": 1464,
"end": 1468,
"loc": {
"start": {
"line": 30,
"column": 59
},
"end": {
"line": 30,
"column": 63
}
}
},
"property": {
"type": "Identifier",
"start": 1469,
"end": 1497,
"loc": {
"start": {
"line": 30,
"column": 64
},
"end": {
"line": 30,
"column": 92
},
"identifierName": "createBlueprintFromBuildings"
},
"name": "createBlueprintFromBuildings"
},
"computed": false
},
{
"type": "ThisExpression",
"start": 1499,
"end": 1503,
"loc": {
"start": {
"line": 30,
"column": 94
},
"end": {
"line": 30,
"column": 98
}
}
}
]
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "* @type {TypedTrackedState<Blueprint?>} ",
"start": 1517,
"end": 1561,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 52
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 1571,
"end": 1643,
"loc": {
"start": {
"line": 33,
"column": 8
},
"end": {
"line": 33,
"column": 80
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1571,
"end": 1642,
"loc": {
"start": {
"line": 33,
"column": 8
},
"end": {
"line": 33,
"column": 79
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1571,
"end": 1592,
"loc": {
"start": {
"line": 33,
"column": 8
},
"end": {
"line": 33,
"column": 29
}
},
"object": {
"type": "ThisExpression",
"start": 1571,
"end": 1575,
"loc": {
"start": {
"line": 33,
"column": 8
},
"end": {
"line": 33,
"column": 12
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 1576,
"end": 1592,
"loc": {
"start": {
"line": 33,
"column": 13
},
"end": {
"line": 33,
"column": 29
},
"identifierName": "currentBlueprint"
},
"name": "currentBlueprint"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "NewExpression",
"start": 1595,
"end": 1642,
"loc": {
"start": {
"line": 33,
"column": 32
},
"end": {
"line": 33,
"column": 79
}
},
"callee": {
"type": "Identifier",
"start": 1599,
"end": 1611,
"loc": {
"start": {
"line": 33,
"column": 36
},
"end": {
"line": 33,
"column": 48
},
"identifierName": "TrackedState"
},
"name": "TrackedState"
},
"arguments": [
{
"type": "MemberExpression",
"start": 1612,
"end": 1635,
"loc": {
"start": {
"line": 33,
"column": 49
},
"end": {
"line": 33,
"column": 72
}
},
"object": {
"type": "ThisExpression",
"start": 1612,
"end": 1616,
"loc": {
"start": {
"line": 33,
"column": 49
},
"end": {
"line": 33,
"column": 53
}
}
},
"property": {
"type": "Identifier",
"start": 1617,
"end": 1635,
"loc": {
"start": {
"line": 33,
"column": 54
},
"end": {
"line": 33,
"column": 72
},
"identifierName": "onBlueprintChanged"
},
"name": "onBlueprintChanged"
},
"computed": false
},
{
"type": "ThisExpression",
"start": 1637,
"end": 1641,
"loc": {
"start": {
"line": 33,
"column": 74
},
"end": {
"line": 33,
"column": 78
}
}
}
]
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @type {TypedTrackedState<Blueprint?>} ",
"start": 1517,
"end": 1561,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 52
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "* @type {Blueprint?} ",
"start": 1653,
"end": 1678,
"loc": {
"start": {
"line": 34,
"column": 8
},
"end": {
"line": 34,
"column": 33
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 1688,
"end": 1718,
"loc": {
"start": {
"line": 35,
"column": 8
},
"end": {
"line": 35,
"column": 38
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1688,
"end": 1717,
"loc": {
"start": {
"line": 35,
"column": 8
},
"end": {
"line": 35,
"column": 37
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1688,
"end": 1710,
"loc": {
"start": {
"line": 35,
"column": 8
},
"end": {
"line": 35,
"column": 30
}
},
"object": {
"type": "ThisExpression",
"start": 1688,
"end": 1692,
"loc": {
"start": {
"line": 35,
"column": 8
},
"end": {
"line": 35,
"column": 12
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 1693,
"end": 1710,
"loc": {
"start": {
"line": 35,
"column": 13
},
"end": {
"line": 35,
"column": 30
},
"identifierName": "lastBlueprintUsed"
},
"name": "lastBlueprintUsed"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "NullLiteral",
"start": 1713,
"end": 1717,
"loc": {
"start": {
"line": 35,
"column": 33
},
"end": {
"line": 35,
"column": 37
}
}
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @type {Blueprint?} ",
"start": 1653,
"end": 1678,
"loc": {
"start": {
"line": 34,
"column": 8
},
"end": {
"line": 34,
"column": 33
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 1730,
"end": 1774,
"loc": {
"start": {
"line": 37,
"column": 8
},
"end": {
"line": 37,
"column": 52
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1736,
"end": 1773,
"loc": {
"start": {
"line": 37,
"column": 14
},
"end": {
"line": 37,
"column": 51
}
},
"id": {
"type": "Identifier",
"start": 1736,
"end": 1751,
"loc": {
"start": {
"line": 37,
"column": 14
},
"end": {
"line": 37,
"column": 29
},
"identifierName": "keyActionMapper"
},
"name": "keyActionMapper"
},
"init": {
"type": "MemberExpression",
"start": 1754,
"end": 1773,
"loc": {
"start": {
"line": 37,
"column": 32
},
"end": {
"line": 37,
"column": 51
}
},
"object": {
"type": "MemberExpression",
"start": 1754,
"end": 1763,
"loc": {
"start": {
"line": 37,
"column": 32
},
"end": {
"line": 37,
"column": 41
}
},
"object": {
"type": "ThisExpression",
"start": 1754,
"end": 1758,
"loc": {
"start": {
"line": 37,
"column": 32
},
"end": {
"line": 37,
"column": 36
}
}
},
"property": {
"type": "Identifier",
"start": 1759,
"end": 1763,
"loc": {
"start": {
"line": 37,
"column": 37
},
"end": {
"line": 37,
"column": 41
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1764,
"end": 1773,
"loc": {
"start": {
"line": 37,
"column": 42
},
"end": {
"line": 37,
"column": 51
},
"identifierName": "keyMapper"
},
"name": "keyMapper"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 1784,
"end": 1868,
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 38,
"column": 92
}
},
"expression": {
"type": "CallExpression",
"start": 1784,
"end": 1867,
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 38,
"column": 91
}
},
"callee": {
"type": "MemberExpression",
"start": 1784,
"end": 1840,
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 38,
"column": 64
}
},
"object": {
"type": "CallExpression",
"start": 1784,
"end": 1836,
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 38,
"column": 60
}
},
"callee": {
"type": "MemberExpression",
"start": 1784,
"end": 1810,
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 38,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 1784,
"end": 1799,
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 38,
"column": 23
},
"identifierName": "keyActionMapper"
},
"name": "keyActionMapper"
},
"property": {
"type": "Identifier",
"start": 1800,
"end": 1810,
"loc": {
"start": {
"line": 38,
"column": 24
},
"end": {
"line": 38,
"column": 34
},
"identifierName": "getBinding"
},
"name": "getBinding"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 1811,
"end": 1835,
"loc": {
"start": {
"line": 38,
"column": 35
},
"end": {
"line": 38,
"column": 59
}
},
"object": {
"type": "MemberExpression",
"start": 1811,
"end": 1830,
"loc": {
"start": {
"line": 38,
"column": 35
},
"end": {
"line": 38,
"column": 54
}
},
"object": {
"type": "Identifier",
"start": 1811,
"end": 1822,
"loc": {
"start": {
"line": 38,
"column": 35
},
"end": {
"line": 38,
"column": 46
},
"identifierName": "KEYMAPPINGS"
},
"name": "KEYMAPPINGS"
},
"property": {
"type": "Identifier",
"start": 1823,
"end": 1830,
"loc": {
"start": {
"line": 38,
"column": 47
},
"end": {
"line": 38,
"column": 54
},
"identifierName": "general"
},
"name": "general"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1831,
"end": 1835,
"loc": {
"start": {
"line": 38,
"column": 55
},
"end": {
"line": 38,
"column": 59
},
"identifierName": "back"
},
"name": "back"
},
"computed": false
}
]
},
"property": {
"type": "Identifier",
"start": 1837,
"end": 1840,
"loc": {
"start": {
"line": 38,
"column": 61
},
"end": {
"line": 38,
"column": 64
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 1841,
"end": 1860,
"loc": {
"start": {
"line": 38,
"column": 65
},
"end": {
"line": 38,
"column": 84
}
},
"object": {
"type": "ThisExpression",
"start": 1841,
"end": 1845,
"loc": {
"start": {
"line": 38,
"column": 65
},
"end": {
"line": 38,
"column": 69
}
}
},
"property": {
"type": "Identifier",
"start": 1846,
"end": 1860,
"loc": {
"start": {
"line": 38,
"column": 70
},
"end": {
"line": 38,
"column": 84
},
"identifierName": "abortPlacement"
},
"name": "abortPlacement"
},
"computed": false
},
{
"type": "ThisExpression",
"start": 1862,
"end": 1866,
"loc": {
"start": {
"line": 38,
"column": 86
},
"end": {
"line": 38,
"column": 90
}
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1878,
"end": 1967,
"loc": {
"start": {
"line": 39,
"column": 8
},
"end": {
"line": 39,
"column": 97
}
},
"expression": {
"type": "CallExpression",
"start": 1878,
"end": 1966,
"loc": {
"start": {
"line": 39,
"column": 8
},
"end": {
"line": 39,
"column": 96
}
},
"callee": {
"type": "MemberExpression",
"start": 1878,
"end": 1939,
"loc": {
"start": {
"line": 39,
"column": 8
},
"end": {
"line": 39,
"column": 69
}
},
"object": {
"type": "CallExpression",
"start": 1878,
"end": 1935,
"loc": {
"start": {
"line": 39,
"column": 8
},
"end": {
"line": 39,
"column": 65
}
},
"callee": {
"type": "MemberExpression",
"start": 1878,
"end": 1904,
"loc": {
"start": {
"line": 39,
"column": 8
},
"end": {
"line": 39,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 1878,
"end": 1893,
"loc": {
"start": {
"line": 39,
"column": 8
},
"end": {
"line": 39,
"column": 23
},
"identifierName": "keyActionMapper"
},
"name": "keyActionMapper"
},
"property": {
"type": "Identifier",
"start": 1894,
"end": 1904,
"loc": {
"start": {
"line": 39,
"column": 24
},
"end": {
"line": 39,
"column": 34
},
"identifierName": "getBinding"
},
"name": "getBinding"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 1905,
"end": 1934,
"loc": {
"start": {
"line": 39,
"column": 35
},
"end": {
"line": 39,
"column": 64
}
},
"object": {
"type": "MemberExpression",
"start": 1905,
"end": 1926,
"loc": {
"start": {
"line": 39,
"column": 35
},
"end": {
"line": 39,
"column": 56
}
},
"object": {
"type": "Identifier",
"start": 1905,
"end": 1916,
"loc": {
"start": {
"line": 39,
"column": 35
},
"end": {
"line": 39,
"column": 46
},
"identifierName": "KEYMAPPINGS"
},
"name": "KEYMAPPINGS"
},
"property": {
"type": "Identifier",
"start": 1917,
"end": 1926,
"loc": {
"start": {
"line": 39,
"column": 47
},
"end": {
"line": 39,
"column": 56
},
"identifierName": "placement"
},
"name": "placement"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1927,
"end": 1934,
"loc": {
"start": {
"line": 39,
"column": 57
},
"end": {
"line": 39,
"column": 64
},
"identifierName": "pipette"
},
"name": "pipette"
},
"computed": false
}
]
},
"property": {
"type": "Identifier",
"start": 1936,
"end": 1939,
"loc": {
"start": {
"line": 39,
"column": 66
},
"end": {
"line": 39,
"column": 69
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 1940,
"end": 1959,
"loc": {
"start": {
"line": 39,
"column": 70
},
"end": {
"line": 39,
"column": 89
}
},
"object": {
"type": "ThisExpression",
"start": 1940,
"end": 1944,
"loc": {
"start": {
"line": 39,
"column": 70
},
"end": {
"line": 39,
"column": 74
}
}
},
"property": {
"type": "Identifier",
"start": 1945,
"end": 1959,
"loc": {
"start": {
"line": 39,
"column": 75
},
"end": {
"line": 39,
"column": 89
},
"identifierName": "abortPlacement"
},
"name": "abortPlacement"
},
"computed": false
},
{
"type": "ThisExpression",
"start": 1961,
"end": 1965,
"loc": {
"start": {
"line": 39,
"column": 91
},
"end": {
"line": 39,
"column": 95
}
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1977,
"end": 2078,
"loc": {
"start": {
"line": 40,
"column": 8
},
"end": {
"line": 40,
"column": 109
}
},
"expression": {
"type": "CallExpression",
"start": 1977,
"end": 2077,
"loc": {
"start": {
"line": 40,
"column": 8
},
"end": {
"line": 40,
"column": 108
}
},
"callee": {
"type": "MemberExpression",
"start": 1977,
"end": 2049,
"loc": {
"start": {
"line": 40,
"column": 8
},
"end": {
"line": 40,
"column": 80
}
},
"object": {
"type": "CallExpression",
"start": 1977,
"end": 2045,
"loc": {
"start": {
"line": 40,
"column": 8
},
"end": {
"line": 40,
"column": 76
}
},
"callee": {
"type": "MemberExpression",
"start": 1977,
"end": 2003,
"loc": {
"start": {
"line": 40,
"column": 8
},
"end": {
"line": 40,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 1977,
"end": 1992,
"loc": {
"start": {
"line": 40,
"column": 8
},
"end": {
"line": 40,
"column": 23
},
"identifierName": "keyActionMapper"
},
"name": "keyActionMapper"
},
"property": {
"type": "Identifier",
"start": 1993,
"end": 2003,
"loc": {
"start": {
"line": 40,
"column": 24
},
"end": {
"line": 40,
"column": 34
},
"identifierName": "getBinding"
},
"name": "getBinding"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 2004,
"end": 2044,
"loc": {
"start": {
"line": 40,
"column": 35
},
"end": {
"line": 40,
"column": 75
}
},
"object": {
"type": "MemberExpression",
"start": 2004,
"end": 2025,
"loc": {
"start": {
"line": 40,
"column": 35
},
"end": {
"line": 40,
"column": 56
}
},
"object": {
"type": "Identifier",
"start": 2004,
"end": 2015,
"loc": {
"start": {
"line": 40,
"column": 35
},
"end": {
"line": 40,
"column": 46
},
"identifierName": "KEYMAPPINGS"
},
"name": "KEYMAPPINGS"
},
"property": {
"type": "Identifier",
"start": 2016,
"end": 2025,
"loc": {
"start": {
"line": 40,
"column": 47
},
"end": {
"line": 40,
"column": 56
},
"identifierName": "placement"
},
"name": "placement"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2026,
"end": 2044,
"loc": {
"start": {
"line": 40,
"column": 57
},
"end": {
"line": 40,
"column": 75
},
"identifierName": "rotateWhilePlacing"
},
"name": "rotateWhilePlacing"
},
"computed": false
}
]
},
"property": {
"type": "Identifier",
"start": 2046,
"end": 2049,
"loc": {
"start": {
"line": 40,
"column": 77
},
"end": {
"line": 40,
"column": 80
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 2050,
"end": 2070,
"loc": {
"start": {
"line": 40,
"column": 81
},
"end": {
"line": 40,
"column": 101
}
},
"object": {
"type": "ThisExpression",
"start": 2050,
"end": 2054,
"loc": {
"start": {
"line": 40,
"column": 81
},
"end": {
"line": 40,
"column": 85
}
}
},
"property": {
"type": "Identifier",
"start": 2055,
"end": 2070,
"loc": {
"start": {
"line": 40,
"column": 86
},
"end": {
"line": 40,
"column": 101
},
"identifierName": "rotateBlueprint"
},
"name": "rotateBlueprint"
},
"computed": false
},
{
"type": "ThisExpression",
"start": 2072,
"end": 2076,
"loc": {
"start": {
"line": 40,
"column": 103
},
"end": {
"line": 40,
"column": 107
}
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 2088,
"end": 2189,
"loc": {
"start": {
"line": 41,
"column": 8
},
"end": {
"line": 41,
"column": 109
}
},
"expression": {
"type": "CallExpression",
"start": 2088,
"end": 2188,
"loc": {
"start": {
"line": 41,
"column": 8
},
"end": {
"line": 41,
"column": 108
}
},
"callee": {
"type": "MemberExpression",
"start": 2088,
"end": 2161,
"loc": {
"start": {
"line": 41,
"column": 8
},
"end": {
"line": 41,
"column": 81
}
},
"object": {
"type": "CallExpression",
"start": 2088,
"end": 2157,
"loc": {
"start": {
"line": 41,
"column": 8
},
"end": {
"line": 41,
"column": 77
}
},
"callee": {
"type": "MemberExpression",
"start": 2088,
"end": 2114,
"loc": {
"start": {
"line": 41,
"column": 8
},
"end": {
"line": 41,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 2088,
"end": 2103,
"loc": {
"start": {
"line": 41,
"column": 8
},
"end": {
"line": 41,
"column": 23
},
"identifierName": "keyActionMapper"
},
"name": "keyActionMapper"
},
"property": {
"type": "Identifier",
"start": 2104,
"end": 2114,
"loc": {
"start": {
"line": 41,
"column": 24
},
"end": {
"line": 41,
"column": 34
},
"identifierName": "getBinding"
},
"name": "getBinding"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 2115,
"end": 2156,
"loc": {
"start": {
"line": 41,
"column": 35
},
"end": {
"line": 41,
"column": 76
}
},
"object": {
"type": "MemberExpression",
"start": 2115,
"end": 2137,
"loc": {
"start": {
"line": 41,
"column": 35
},
"end": {
"line": 41,
"column": 57
}
},
"object": {
"type": "Identifier",
"start": 2115,
"end": 2126,
"loc": {
"start": {
"line": 41,
"column": 35
},
"end": {
"line": 41,
"column": 46
},
"identifierName": "KEYMAPPINGS"
},
"name": "KEYMAPPINGS"
},
"property": {
"type": "Identifier",
"start": 2127,
"end": 2137,
"loc": {
"start": {
"line": 41,
"column": 47
},
"end": {
"line": 41,
"column": 57
},
"identifierName": "massSelect"
},
"name": "massSelect"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2138,
"end": 2156,
"loc": {
"start": {
"line": 41,
"column": 58
},
"end": {
"line": 41,
"column": 76
},
"identifierName": "pasteLastBlueprint"
},
"name": "pasteLastBlueprint"
},
"computed": false
}
]
},
"property": {
"type": "Identifier",
"start": 2158,
"end": 2161,
"loc": {
"start": {
"line": 41,
"column": 78
},
"end": {
"line": 41,
"column": 81
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 2162,
"end": 2181,
"loc": {
"start": {
"line": 41,
"column": 82
},
"end": {
"line": 41,
"column": 101
}
},
"object": {
"type": "ThisExpression",
"start": 2162,
"end": 2166,
"loc": {
"start": {
"line": 41,
"column": 82
},
"end": {
"line": 41,
"column": 86
}
}
},
"property": {
"type": "Identifier",
"start": 2167,
"end": 2181,
"loc": {
"start": {
"line": 41,
"column": 87
},
"end": {
"line": 41,
"column": 101
},
"identifierName": "pasteBlueprint"
},
"name": "pasteBlueprint"
},
"computed": false
},
{
"type": "ThisExpression",
"start": 2183,
"end": 2187,
"loc": {
"start": {
"line": 41,
"column": 103
},
"end": {
"line": 41,
"column": 107
}
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 2201,
"end": 2261,
"loc": {
"start": {
"line": 43,
"column": 8
},
"end": {
"line": 43,
"column": 68
}
},
"expression": {
"type": "CallExpression",
"start": 2201,
"end": 2260,
"loc": {
"start": {
"line": 43,
"column": 8
},
"end": {
"line": 43,
"column": 67
}
},
"callee": {
"type": "MemberExpression",
"start": 2201,
"end": 2236,
"loc": {
"start": {
"line": 43,
"column": 8
},
"end": {
"line": 43,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 2201,
"end": 2232,
"loc": {
"start": {
"line": 43,
"column": 8
},
"end": {
"line": 43,
"column": 39
}
},
"object": {
"type": "MemberExpression",
"start": 2201,
"end": 2217,
"loc": {
"start": {
"line": 43,
"column": 8
},
"end": {
"line": 43,
"column": 24
}
},
"object": {
"type": "MemberExpression",
"start": 2201,
"end": 2210,
"loc": {
"start": {
"line": 43,
"column": 8
},
"end": {
"line": 43,
"column": 17
}
},
"object": {
"type": "ThisExpression",
"start": 2201,
"end": 2205,
"loc": {
"start": {
"line": 43,
"column": 8
},
"end": {
"line": 43,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 2206,
"end": 2210,
"loc": {
"start": {
"line": 43,
"column": 13
},
"end": {
"line": 43,
"column": 17
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2211,
"end": 2217,
"loc": {
"start": {
"line": 43,
"column": 18
},
"end": {
"line": 43,
"column": 24
},
"identifierName": "camera"
},
"name": "camera"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2218,
"end": 2232,
"loc": {
"start": {
"line": 43,
"column": 25
},
"end": {
"line": 43,
"column": 39
},
"identifierName": "downPreHandler"
},
"name": "downPreHandler"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2233,
"end": 2236,
"loc": {
"start": {
"line": 43,
"column": 40
},
"end": {
"line": 43,
"column": 43
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 2237,
"end": 2253,
"loc": {
"start": {
"line": 43,
"column": 44
},
"end": {
"line": 43,
"column": 60
}
},
"object": {
"type": "ThisExpression",
"start": 2237,
"end": 2241,
"loc": {
"start": {
"line": 43,
"column": 44
},
"end": {
"line": 43,
"column": 48
}
}
},
"property": {
"type": "Identifier",
"start": 2242,
"end": 2253,
"loc": {
"start": {
"line": 43,
"column": 49
},
"end": {
"line": 43,
"column": 60
},
"identifierName": "onMouseDown"
},
"name": "onMouseDown"
},
"computed": false
},
{
"type": "ThisExpression",
"start": 2255,
"end": 2259,
"loc": {
"start": {
"line": 43,
"column": 62
},
"end": {
"line": 43,
"column": 66
}
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 2271,
"end": 2331,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 44,
"column": 68
}
},
"expression": {
"type": "CallExpression",
"start": 2271,
"end": 2330,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 44,
"column": 67
}
},
"callee": {
"type": "MemberExpression",
"start": 2271,
"end": 2306,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 44,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 2271,
"end": 2302,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 44,
"column": 39
}
},
"object": {
"type": "MemberExpression",
"start": 2271,
"end": 2287,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 44,
"column": 24
}
},
"object": {
"type": "MemberExpression",
"start": 2271,
"end": 2280,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 44,
"column": 17
}
},
"object": {
"type": "ThisExpression",
"start": 2271,
"end": 2275,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 44,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 2276,
"end": 2280,
"loc": {
"start": {
"line": 44,
"column": 13
},
"end": {
"line": 44,
"column": 17
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2281,
"end": 2287,
"loc": {
"start": {
"line": 44,
"column": 18
},
"end": {
"line": 44,
"column": 24
},
"identifierName": "camera"
},
"name": "camera"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2288,
"end": 2302,
"loc": {
"start": {
"line": 44,
"column": 25
},
"end": {
"line": 44,
"column": 39
},
"identifierName": "movePreHandler"
},
"name": "movePreHandler"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2303,
"end": 2306,
"loc": {
"start": {
"line": 44,
"column": 40
},
"end": {
"line": 44,
"column": 43
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 2307,
"end": 2323,
"loc": {
"start": {
"line": 44,
"column": 44
},
"end": {
"line": 44,
"column": 60
}
},
"object": {
"type": "ThisExpression",
"start": 2307,
"end": 2311,
"loc": {
"start": {
"line": 44,
"column": 44
},
"end": {
"line": 44,
"column": 48
}
}
},
"property": {
"type": "Identifier",
"start": 2312,
"end": 2323,
"loc": {
"start": {
"line": 44,
"column": 49
},
"end": {
"line": 44,
"column": 60
},
"identifierName": "onMouseMove"
},
"name": "onMouseMove"
},
"computed": false
},
{
"type": "ThisExpression",
"start": 2325,
"end": 2329,
"loc": {
"start": {
"line": 44,
"column": 62
},
"end": {
"line": 44,
"column": 66
}
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 2343,
"end": 2429,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 94
}
},
"expression": {
"type": "CallExpression",
"start": 2343,
"end": 2428,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 93
}
},
"callee": {
"type": "MemberExpression",
"start": 2343,
"end": 2401,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 66
}
},
"object": {
"type": "MemberExpression",
"start": 2343,
"end": 2397,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 62
}
},
"object": {
"type": "MemberExpression",
"start": 2343,
"end": 2364,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 29
}
},
"object": {
"type": "MemberExpression",
"start": 2343,
"end": 2356,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 21
}
},
"object": {
"type": "MemberExpression",
"start": 2343,
"end": 2352,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 17
}
},
"object": {
"type": "ThisExpression",
"start": 2343,
"end": 2347,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 2348,
"end": 2352,
"loc": {
"start": {
"line": 46,
"column": 13
},
"end": {
"line": 46,
"column": 17
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2353,
"end": 2356,
"loc": {
"start": {
"line": 46,
"column": 18
},
"end": {
"line": 46,
"column": 21
},
"identifierName": "hud"
},
"name": "hud"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2357,
"end": 2364,
"loc": {
"start": {
"line": 46,
"column": 22
},
"end": {
"line": 46,
"column": 29
},
"identifierName": "signals"
},
"name": "signals"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2365,
"end": 2397,
"loc": {
"start": {
"line": 46,
"column": 30
},
"end": {
"line": 46,
"column": 62
},
"identifierName": "selectedPlacementBuildingChanged"
},
"name": "selectedPlacementBuildingChanged"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2398,
"end": 2401,
"loc": {
"start": {
"line": 46,
"column": 63
},
"end": {
"line": 46,
"column": 66
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 2402,
"end": 2421,
"loc": {
"start": {
"line": 46,
"column": 67
},
"end": {
"line": 46,
"column": 86
}
},
"object": {
"type": "ThisExpression",
"start": 2402,
"end": 2406,
"loc": {
"start": {
"line": 46,
"column": 67
},
"end": {
"line": 46,
"column": 71
}
}
},
"property": {
"type": "Identifier",
"start": 2407,
"end": 2421,
"loc": {
"start": {
"line": 46,
"column": 72
},
"end": {
"line": 46,
"column": 86
},
"identifierName": "abortPlacement"
},
"name": "abortPlacement"
},
"computed": false
},
{
"type": "ThisExpression",
"start": 2423,
"end": 2427,
"loc": {
"start": {
"line": 46,
"column": 88
},
"end": {
"line": 46,
"column": 92
}
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 2439,
"end": 2507,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 47,
"column": 76
}
},
"expression": {
"type": "CallExpression",
"start": 2439,
"end": 2506,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 47,
"column": 75
}
},
"callee": {
"type": "MemberExpression",
"start": 2439,
"end": 2476,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 47,
"column": 45
}
},
"object": {
"type": "MemberExpression",
"start": 2439,
"end": 2472,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 47,
"column": 41
}
},
"object": {
"type": "MemberExpression",
"start": 2439,
"end": 2456,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 47,
"column": 25
}
},
"object": {
"type": "MemberExpression",
"start": 2439,
"end": 2448,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 47,
"column": 17
}
},
"object": {
"type": "ThisExpression",
"start": 2439,
"end": 2443,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 47,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 2444,
"end": 2448,
"loc": {
"start": {
"line": 47,
"column": 13
},
"end": {
"line": 47,
"column": 17
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2449,
"end": 2456,
"loc": {
"start": {
"line": 47,
"column": 18
},
"end": {
"line": 47,
"column": 25
},
"identifierName": "signals"
},
"name": "signals"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2457,
"end": 2472,
"loc": {
"start": {
"line": 47,
"column": 26
},
"end": {
"line": 47,
"column": 41
},
"identifierName": "editModeChanged"
},
"name": "editModeChanged"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2473,
"end": 2476,
"loc": {
"start": {
"line": 47,
"column": 42
},
"end": {
"line": 47,
"column": 45
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 2477,
"end": 2499,
"loc": {
"start": {
"line": 47,
"column": 46
},
"end": {
"line": 47,
"column": 68
}
},
"object": {
"type": "ThisExpression",
"start": 2477,
"end": 2481,
"loc": {
"start": {
"line": 47,
"column": 46
},
"end": {
"line": 47,
"column": 50
}
}
},
"property": {
"type": "Identifier",
"start": 2482,
"end": 2499,
"loc": {
"start": {
"line": 47,
"column": 51
},
"end": {
"line": 47,
"column": 68
},
"identifierName": "onEditModeChanged"
},
"name": "onEditModeChanged"
},
"computed": false
},
{
"type": "ThisExpression",
"start": 2501,
"end": 2505,
"loc": {
"start": {
"line": 47,
"column": 70
},
"end": {
"line": 47,
"column": 74
}
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 2519,
"end": 2592,
"loc": {
"start": {
"line": 49,
"column": 8
},
"end": {
"line": 49,
"column": 81
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2519,
"end": 2591,
"loc": {
"start": {
"line": 49,
"column": 8
},
"end": {
"line": 49,
"column": 80
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2519,
"end": 2533,
"loc": {
"start": {
"line": 49,
"column": 8
},
"end": {
"line": 49,
"column": 22
}
},
"object": {
"type": "ThisExpression",
"start": 2519,
"end": 2523,
"loc": {
"start": {
"line": 49,
"column": 8
},
"end": {
"line": 49,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 2524,
"end": 2533,
"loc": {
"start": {
"line": 49,
"column": 13
},
"end": {
"line": 49,
"column": 22
},
"identifierName": "domAttach"
},
"name": "domAttach"
},
"computed": false
},
"right": {
"type": "NewExpression",
"start": 2536,
"end": 2591,
"loc": {
"start": {
"line": 49,
"column": 25
},
"end": {
"line": 49,
"column": 80
}
},
"callee": {
"type": "Identifier",
"start": 2540,
"end": 2556,
"loc": {
"start": {
"line": 49,
"column": 29
},
"end": {
"line": 49,
"column": 45
},
"identifierName": "DynamicDomAttach"
},
"name": "DynamicDomAttach"
},
"arguments": [
{
"type": "MemberExpression",
"start": 2557,
"end": 2566,
"loc": {
"start": {
"line": 49,
"column": 46
},
"end": {
"line": 49,
"column": 55
}
},
"object": {
"type": "ThisExpression",
"start": 2557,
"end": 2561,
"loc": {
"start": {
"line": 49,
"column": 46
},
"end": {
"line": 49,
"column": 50
}
}
},
"property": {
"type": "Identifier",
"start": 2562,
"end": 2566,
"loc": {
"start": {
"line": 49,
"column": 51
},
"end": {
"line": 49,
"column": 55
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
{
"type": "MemberExpression",
"start": 2568,
"end": 2590,
"loc": {
"start": {
"line": 49,
"column": 57
},
"end": {
"line": 49,
"column": 79
}
},
"object": {
"type": "ThisExpression",
"start": 2568,
"end": 2572,
"loc": {
"start": {
"line": 49,
"column": 57
},
"end": {
"line": 49,
"column": 61
}
}
},
"property": {
"type": "Identifier",
"start": 2573,
"end": 2590,
"loc": {
"start": {
"line": 49,
"column": 62
},
"end": {
"line": 49,
"column": 79
},
"identifierName": "costDisplayParent"
},
"name": "costDisplayParent"
},
"computed": false
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 2602,
"end": 2674,
"loc": {
"start": {
"line": 50,
"column": 8
},
"end": {
"line": 50,
"column": 80
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2602,
"end": 2673,
"loc": {
"start": {
"line": 50,
"column": 8
},
"end": {
"line": 50,
"column": 79
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2602,
"end": 2623,
"loc": {
"start": {
"line": 50,
"column": 8
},
"end": {
"line": 50,
"column": 29
}
},
"object": {
"type": "ThisExpression",
"start": 2602,
"end": 2606,
"loc": {
"start": {
"line": 50,
"column": 8
},
"end": {
"line": 50,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 2607,
"end": 2623,
"loc": {
"start": {
"line": 50,
"column": 13
},
"end": {
"line": 50,
"column": 29
},
"identifierName": "trackedCanAfford"
},
"name": "trackedCanAfford"
},
"computed": false
},
"right": {
"type": "NewExpression",
"start": 2626,
"end": 2673,
"loc": {
"start": {
"line": 50,
"column": 32
},
"end": {
"line": 50,
"column": 79
}
},
"callee": {
"type": "Identifier",
"start": 2630,
"end": 2642,
"loc": {
"start": {
"line": 50,
"column": 36
},
"end": {
"line": 50,
"column": 48
},
"identifierName": "TrackedState"
},
"name": "TrackedState"
},
"arguments": [
{
"type": "MemberExpression",
"start": 2643,
"end": 2666,
"loc": {
"start": {
"line": 50,
"column": 49
},
"end": {
"line": 50,
"column": 72
}
},
"object": {
"type": "ThisExpression",
"start": 2643,
"end": 2647,
"loc": {
"start": {
"line": 50,
"column": 49
},
"end": {
"line": 50,
"column": 53
}
}
},
"property": {
"type": "Identifier",
"start": 2648,
"end": 2666,
"loc": {
"start": {
"line": 50,
"column": 54
},
"end": {
"line": 50,
"column": 72
},
"identifierName": "onCanAffordChanged"
},
"name": "onCanAffordChanged"
},
"computed": false
},
{
"type": "ThisExpression",
"start": 2668,
"end": 2672,
"loc": {
"start": {
"line": 50,
"column": 74
},
"end": {
"line": 50,
"column": 78
}
}
}
]
}
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 2689,
"end": 2855,
"loc": {
"start": {
"line": 53,
"column": 4
},
"end": {
"line": 59,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2689,
"end": 2703,
"loc": {
"start": {
"line": 53,
"column": 4
},
"end": {
"line": 53,
"column": 18
},
"identifierName": "abortPlacement"
},
"name": "abortPlacement"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 2706,
"end": 2855,
"loc": {
"start": {
"line": 53,
"column": 21
},
"end": {
"line": 59,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 2717,
"end": 2848,
"loc": {
"start": {
"line": 54,
"column": 8
},
"end": {
"line": 58,
"column": 9
}
},
"test": {
"type": "CallExpression",
"start": 2721,
"end": 2748,
"loc": {
"start": {
"line": 54,
"column": 12
},
"end": {
"line": 54,
"column": 39
}
},
"callee": {
"type": "MemberExpression",
"start": 2721,
"end": 2746,
"loc": {
"start": {
"line": 54,
"column": 12
},
"end": {
"line": 54,
"column": 37
}
},
"object": {
"type": "MemberExpression",
"start": 2721,
"end": 2742,
"loc": {
"start": {
"line": 54,
"column": 12
},
"end": {
"line": 54,
"column": 33
}
},
"object": {
"type": "ThisExpression",
"start": 2721,
"end": 2725,
"loc": {
"start": {
"line": 54,
"column": 12
},
"end": {
"line": 54,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 2726,
"end": 2742,
"loc": {
"start": {
"line": 54,
"column": 17
},
"end": {
"line": 54,
"column": 33
},
"identifierName": "currentBlueprint"
},
"name": "currentBlueprint"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2743,
"end": 2746,
"loc": {
"start": {
"line": 54,
"column": 34
},
"end": {
"line": 54,
"column": 37
},
"identifierName": "get"
},
"name": "get"
},
"computed": false
},
"arguments": []
},
"consequent": {
"type": "BlockStatement",
"start": 2750,
"end": 2848,
"loc": {
"start": {
"line": 54,
"column": 41
},
"end": {
"line": 58,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2765,
"end": 2797,
"loc": {
"start": {
"line": 55,
"column": 12
},
"end": {
"line": 55,
"column": 44
}
},
"expression": {
"type": "CallExpression",
"start": 2765,
"end": 2796,
"loc": {
"start": {
"line": 55,
"column": 12
},
"end": {
"line": 55,
"column": 43
}
},
"callee": {
"type": "MemberExpression",
"start": 2765,
"end": 2790,
"loc": {
"start": {
"line": 55,
"column": 12
},
"end": {
"line": 55,
"column": 37
}
},
"object": {
"type": "MemberExpression",
"start": 2765,
"end": 2786,
"loc": {
"start": {
"line": 55,
"column": 12
},
"end": {
"line": 55,
"column": 33
}
},
"object": {
"type": "ThisExpression",
"start": 2765,
"end": 2769,
"loc": {
"start": {
"line": 55,
"column": 12
},
"end": {
"line": 55,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 2770,
"end": 2786,
"loc": {
"start": {
"line": 55,
"column": 17
},
"end": {
"line": 55,
"column": 33
},
"identifierName": "currentBlueprint"
},
"name": "currentBlueprint"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2787,
"end": 2790,
"loc": {
"start": {
"line": 55,
"column": 34
},
"end": {
"line": 55,
"column": 37
},
"identifierName": "set"
},
"name": "set"
},
"computed": false
},
"arguments": [
{
"type": "NullLiteral",
"start": 2791,
"end": 2795,
"loc": {
"start": {
"line": 55,
"column": 38
},
"end": {
"line": 55,
"column": 42
}
}
}
]
}
},
{
"type": "ReturnStatement",
"start": 2813,
"end": 2837,
"loc": {
"start": {
"line": 57,
"column": 12
},
"end": {
"line": 57,
"column": 36
}
},
"argument": {
"type": "Identifier",
"start": 2820,
"end": 2836,
"loc": {
"start": {
"line": 57,
"column": 19
},
"end": {
"line": 57,
"column": 35
},
"identifierName": "STOP_PROPAGATION"
},
"name": "STOP_PROPAGATION"
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": [],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Called when the layer was changed\r\n * @param {Layer} layer\r\n ",
"start": 2863,
"end": 2946,
"loc": {
"start": {
"line": 61,
"column": 4
},
"end": {
"line": 64,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 2952,
"end": 3277,
"loc": {
"start": {
"line": 65,
"column": 4
},
"end": {
"line": 73,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2952,
"end": 2969,
"loc": {
"start": {
"line": 65,
"column": 4
},
"end": {
"line": 65,
"column": 21
},
"identifierName": "onEditModeChanged"
},
"name": "onEditModeChanged",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2970,
"end": 2975,
"loc": {
"start": {
"line": 65,
"column": 22
},
"end": {
"line": 65,
"column": 27
},
"identifierName": "layer"
},
"name": "layer"
}
],
"body": {
"type": "BlockStatement",
"start": 2977,
"end": 3277,
"loc": {
"start": {
"line": 65,
"column": 29
},
"end": {
"line": 73,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 3076,
"end": 3122,
"loc": {
"start": {
"line": 67,
"column": 8
},
"end": {
"line": 67,
"column": 54
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3082,
"end": 3121,
"loc": {
"start": {
"line": 67,
"column": 14
},
"end": {
"line": 67,
"column": 53
}
},
"id": {
"type": "Identifier",
"start": 3082,
"end": 3091,
"loc": {
"start": {
"line": 67,
"column": 14
},
"end": {
"line": 67,
"column": 23
},
"identifierName": "blueprint"
},
"name": "blueprint",
"leadingComments": null
},
"init": {
"type": "CallExpression",
"start": 3094,
"end": 3121,
"loc": {
"start": {
"line": 67,
"column": 26
},
"end": {
"line": 67,
"column": 53
}
},
"callee": {
"type": "MemberExpression",
"start": 3094,
"end": 3119,
"loc": {
"start": {
"line": 67,
"column": 26
},
"end": {
"line": 67,
"column": 51
}
},
"object": {
"type": "MemberExpression",
"start": 3094,
"end": 3115,
"loc": {
"start": {
"line": 67,
"column": 26
},
"end": {
"line": 67,
"column": 47
}
},
"object": {
"type": "ThisExpression",
"start": 3094,
"end": 3098,
"loc": {
"start": {
"line": 67,
"column": 26
},
"end": {
"line": 67,
"column": 30
}
}
},
"property": {
"type": "Identifier",
"start": 3099,
"end": 3115,
"loc": {
"start": {
"line": 67,
"column": 31
},
"end": {
"line": 67,
"column": 47
},
"identifierName": "currentBlueprint"
},
"name": "currentBlueprint"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3116,
"end": 3119,
"loc": {
"start": {
"line": 67,
"column": 48
},
"end": {
"line": 67,
"column": 51
},
"identifierName": "get"
},
"name": "get"
},
"computed": false
},
"arguments": []
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentLine",
"value": " Check if the layer of the blueprint differs and thus we have to deselect it",
"start": 2988,
"end": 3066,
"loc": {
"start": {
"line": 66,
"column": 8
},
"end": {
"line": 66,
"column": 86
}
}
}
]
},
{
"type": "IfStatement",
"start": 3132,
"end": 3270,
"loc": {
"start": {
"line": 68,
"column": 8
},
"end": {
"line": 72,
"column": 9
}
},
"test": {
"type": "Identifier",
"start": 3136,
"end": 3145,
"loc": {
"start": {
"line": 68,
"column": 12
},
"end": {
"line": 68,
"column": 21
},
"identifierName": "blueprint"
},
"name": "blueprint"
},
"consequent": {
"type": "BlockStatement",
"start": 3147,
"end": 3270,
"loc": {
"start": {
"line": 68,
"column": 23
},
"end": {
"line": 72,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 3162,
"end": 3259,
"loc": {
"start": {
"line": 69,
"column": 12
},
"end": {
"line": 71,
"column": 13
}
},
"test": {
"type": "BinaryExpression",
"start": 3166,
"end": 3191,
"loc": {
"start": {
"line": 69,
"column": 16
},
"end": {
"line": 69,
"column": 41
}
},
"left": {
"type": "MemberExpression",
"start": 3166,
"end": 3181,
"loc": {
"start": {
"line": 69,
"column": 16
},
"end": {
"line": 69,
"column": 31
}
},
"object": {
"type": "Identifier",
"start": 3166,
"end": 3175,
"loc": {
"start": {
"line": 69,
"column": 16
},
"end": {
"line": 69,
"column": 25
},
"identifierName": "blueprint"
},
"name": "blueprint"
},
"property": {
"type": "Identifier",
"start": 3176,
"end": 3181,
"loc": {
"start": {
"line": 69,
"column": 26
},
"end": {
"line": 69,
"column": 31
},
"identifierName": "layer"
},
"name": "layer"
},
"computed": false
},
"operator": "!==",
"right": {
"type": "Identifier",
"start": 3186,
"end": 3191,
"loc": {
"start": {
"line": 69,
"column": 36
},
"end": {
"line": 69,
"column": 41
},
"identifierName": "layer"
},
"name": "layer"
}
},
"consequent": {
"type": "BlockStatement",
"start": 3193,
"end": 3259,
"loc": {
"start": {
"line": 69,
"column": 43
},
"end": {
"line": 71,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 3212,
"end": 3244,
"loc": {
"start": {
"line": 70,
"column": 16
},
"end": {
"line": 70,
"column": 48
}
},
"expression": {
"type": "CallExpression",
"start": 3212,
"end": 3243,
"loc": {
"start": {
"line": 70,
"column": 16
},
"end": {
"line": 70,
"column": 47
}
},
"callee": {
"type": "MemberExpression",
"start": 3212,
"end": 3237,
"loc": {
"start": {
"line": 70,
"column": 16
},
"end": {
"line": 70,
"column": 41
}
},
"object": {
"type": "MemberExpression",
"start": 3212,
"end": 3233,
"loc": {
"start": {
"line": 70,
"column": 16
},
"end": {
"line": 70,
"column": 37
}
},
"object": {
"type": "ThisExpression",
"start": 3212,
"end": 3216,
"loc": {
"start": {
"line": 70,
"column": 16
},
"end": {
"line": 70,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 3217,
"end": 3233,
"loc": {
"start": {
"line": 70,
"column": 21
},
"end": {
"line": 70,
"column": 37
},
"identifierName": "currentBlueprint"
},
"name": "currentBlueprint"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3234,
"end": 3237,
"loc": {
"start": {
"line": 70,
"column": 38
},
"end": {
"line": 70,
"column": 41
},
"identifierName": "set"
},
"name": "set"
},
"computed": false
},
"arguments": [
{
"type": "NullLiteral",
"start": 3238,
"end": 3242,
"loc": {
"start": {
"line": 70,
"column": 42
},
"end": {
"line": 70,
"column": 46
}
}
}
]
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
},
"alternate": null
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Called when the layer was changed\r\n * @param {Layer} layer\r\n ",
"start": 2863,
"end": 2946,
"loc": {
"start": {
"line": 61,
"column": 4
},
"end": {
"line": 64,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Called when the blueprint is now affordable or not\r\n * @param {boolean} canAfford\r\n ",
"start": 3285,
"end": 3391,
"loc": {
"start": {
"line": 75,
"column": 4
},
"end": {
"line": 78,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 3397,
"end": 3509,
"loc": {
"start": {
"line": 79,
"column": 4
},
"end": {
"line": 81,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3397,
"end": 3415,
"loc": {
"start": {
"line": 79,
"column": 4
},
"end": {
"line": 79,
"column": 22
},
"identifierName": "onCanAffordChanged"
},
"name": "onCanAffordChanged",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 3416,
"end": 3425,
"loc": {
"start": {
"line": 79,
"column": 23
},
"end": {
"line": 79,
"column": 32
},
"identifierName": "canAfford"
},
"name": "canAfford"
}
],
"body": {
"type": "BlockStatement",
"start": 3427,
"end": 3509,
"loc": {
"start": {
"line": 79,
"column": 34
},
"end": {
"line": 81,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 3438,
"end": 3502,
"loc": {
"start": {
"line": 80,
"column": 8
},
"end": {
"line": 80,
"column": 72
}
},
"expression": {
"type": "CallExpression",
"start": 3438,
"end": 3501,
"loc": {
"start": {
"line": 80,
"column": 8
},
"end": {
"line": 80,
"column": 71
}
},
"callee": {
"type": "MemberExpression",
"start": 3438,
"end": 3477,
"loc": {
"start": {
"line": 80,
"column": 8
},
"end": {
"line": 80,
"column": 47
}
},
"object": {
"type": "MemberExpression",
"start": 3438,
"end": 3470,
"loc": {
"start": {
"line": 80,
"column": 8
},
"end": {
"line": 80,
"column": 40
}
},
"object": {
"type": "MemberExpression",
"start": 3438,
"end": 3460,
"loc": {
"start": {
"line": 80,
"column": 8
},
"end": {
"line": 80,
"column": 30
}
},
"object": {
"type": "ThisExpression",
"start": 3438,
"end": 3442,
"loc": {
"start": {
"line": 80,
"column": 8
},
"end": {
"line": 80,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 3443,
"end": 3460,
"loc": {
"start": {
"line": 80,
"column": 13
},
"end": {
"line": 80,
"column": 30
},
"identifierName": "costDisplayParent"
},
"name": "costDisplayParent"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3461,
"end": 3470,
"loc": {
"start": {
"line": 80,
"column": 31
},
"end": {
"line": 80,
"column": 40
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3471,
"end": 3477,
"loc": {
"start": {
"line": 80,
"column": 41
},
"end": {
"line": 80,
"column": 47
},
"identifierName": "toggle"
},
"name": "toggle"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 3478,
"end": 3489,
"loc": {
"start": {
"line": 80,
"column": 48
},
"end": {
"line": 80,
"column": 59
}
},
"extra": {
"rawValue": "canAfford",
"raw": "\"canAfford\""
},
"value": "canAfford"
},
{
"type": "Identifier",
"start": 3491,
"end": 3500,
"loc": {
"start": {
"line": 80,
"column": 61
},
"end": {
"line": 80,
"column": 70
},
"identifierName": "canAfford"
},
"name": "canAfford"
}
]
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Called when the blueprint is now affordable or not\r\n * @param {boolean} canAfford\r\n ",
"start": 3285,
"end": 3391,
"loc": {
"start": {
"line": 75,
"column": 4
},
"end": {
"line": 78,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 3517,
"end": 3776,
"loc": {
"start": {
"line": 83,
"column": 4
},
"end": {
"line": 87,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3517,
"end": 3523,
"loc": {
"start": {
"line": 83,
"column": 4
},
"end": {
"line": 83,
"column": 10
},
"identifierName": "update"
},
"name": "update"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 3526,
"end": 3776,
"loc": {
"start": {
"line": 83,
"column": 13
},
"end": {
"line": 87,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 3537,
"end": 3590,
"loc": {
"start": {
"line": 84,
"column": 8
},
"end": {
"line": 84,
"column": 61
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3543,
"end": 3589,
"loc": {
"start": {
"line": 84,
"column": 14
},
"end": {
"line": 84,
"column": 60
}
},
"id": {
"type": "Identifier",
"start": 3543,
"end": 3559,
"loc": {
"start": {
"line": 84,
"column": 14
},
"end": {
"line": 84,
"column": 30
},
"identifierName": "currentBlueprint"
},
"name": "currentBlueprint"
},
"init": {
"type": "CallExpression",
"start": 3562,
"end": 3589,
"loc": {
"start": {
"line": 84,
"column": 33
},
"end": {
"line": 84,
"column": 60
}
},
"callee": {
"type": "MemberExpression",
"start": 3562,
"end": 3587,
"loc": {
"start": {
"line": 84,
"column": 33
},
"end": {
"line": 84,
"column": 58
}
},
"object": {
"type": "MemberExpression",
"start": 3562,
"end": 3583,
"loc": {
"start": {
"line": 84,
"column": 33
},
"end": {
"line": 84,
"column": 54
}
},
"object": {
"type": "ThisExpression",
"start": 3562,
"end": 3566,
"loc": {
"start": {
"line": 84,
"column": 33
},
"end": {
"line": 84,
"column": 37
}
}
},
"property": {
"type": "Identifier",
"start": 3567,
"end": 3583,
"loc": {
"start": {
"line": 84,
"column": 38
},
"end": {
"line": 84,
"column": 54
},
"identifierName": "currentBlueprint"
},
"name": "currentBlueprint"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3584,
"end": 3587,
"loc": {
"start": {
"line": 84,
"column": 55
},
"end": {
"line": 84,
"column": 58
},
"identifierName": "get"
},
"name": "get"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 3600,
"end": 3674,
"loc": {
"start": {
"line": 85,
"column": 8
},
"end": {
"line": 85,
"column": 82
}
},
"expression": {
"type": "CallExpression",
"start": 3600,
"end": 3673,
"loc": {
"start": {
"line": 85,
"column": 8
},
"end": {
"line": 85,
"column": 81
}
},
"callee": {
"type": "MemberExpression",
"start": 3600,
"end": 3621,
"loc": {
"start": {
"line": 85,
"column": 8
},
"end": {
"line": 85,
"column": 29
}
},
"object": {
"type": "MemberExpression",
"start": 3600,
"end": 3614,
"loc": {
"start": {
"line": 85,
"column": 8
},
"end": {
"line": 85,
"column": 22
}
},
"object": {
"type": "ThisExpression",
"start": 3600,
"end": 3604,
"loc": {
"start": {
"line": 85,
"column": 8
},
"end": {
"line": 85,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 3605,
"end": 3614,
"loc": {
"start": {
"line": 85,
"column": 13
},
"end": {
"line": 85,
"column": 22
},
"identifierName": "domAttach"
},
"name": "domAttach"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3615,
"end": 3621,
"loc": {
"start": {
"line": 85,
"column": 23
},
"end": {
"line": 85,
"column": 29
},
"identifierName": "update"
},
"name": "update"
},
"computed": false
},
"arguments": [
{
"type": "LogicalExpression",
"start": 3622,
"end": 3672,
"loc": {
"start": {
"line": 85,
"column": 30
},
"end": {
"line": 85,
"column": 80
}
},
"left": {
"type": "Identifier",
"start": 3622,
"end": 3638,
"loc": {
"start": {
"line": 85,
"column": 30
},
"end": {
"line": 85,
"column": 46
},
"identifierName": "currentBlueprint"
},
"name": "currentBlueprint"
},
"operator": "&&",
"right": {
"type": "BinaryExpression",
"start": 3642,
"end": 3672,
"loc": {
"start": {
"line": 85,
"column": 50
},
"end": {
"line": 85,
"column": 80
}
},
"left": {
"type": "CallExpression",
"start": 3642,
"end": 3668,
"loc": {
"start": {
"line": 85,
"column": 50
},
"end": {
"line": 85,
"column": 76
}
},
"callee": {
"type": "MemberExpression",
"start": 3642,
"end": 3666,
"loc": {
"start": {
"line": 85,
"column": 50
},
"end": {
"line": 85,
"column": 74
}
},
"object": {
"type": "Identifier",
"start": 3642,
"end": 3658,
"loc": {
"start": {
"line": 85,
"column": 50
},
"end": {
"line": 85,
"column": 66
},
"identifierName": "currentBlueprint"
},
"name": "currentBlueprint"
},
"property": {
"type": "Identifier",
"start": 3659,
"end": 3666,
"loc": {
"start": {
"line": 85,
"column": 67
},
"end": {
"line": 85,
"column": 74
},
"identifierName": "getCost"
},
"name": "getCost"
},
"computed": false
},
"arguments": []
},
"operator": ">",
"right": {
"type": "NumericLiteral",
"start": 3671,
"end": 3672,
"loc": {
"start": {
"line": 85,
"column": 79
},
"end": {
"line": 85,
"column": 80
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 3684,
"end": 3769,
"loc": {
"start": {
"line": 86,
"column": 8
},
"end": {
"line": 86,
"column": 93
}
},
"expression": {
"type": "CallExpression",
"start": 3684,
"end": 3768,
"loc": {
"start": {
"line": 86,
"column": 8
},
"end": {
"line": 86,
"column": 92
}
},
"callee": {
"type": "MemberExpression",
"start": 3684,
"end": 3709,
"loc": {
"start": {
"line": 86,
"column": 8
},
"end": {
"line": 86,
"column": 33
}
},
"object": {
"type": "MemberExpression",
"start": 3684,
"end": 3705,
"loc": {
"start": {
"line": 86,
"column": 8
},
"end": {
"line": 86,
"column": 29
}
},
"object": {
"type": "ThisExpression",
"start": 3684,
"end": 3688,
"loc": {
"start": {
"line": 86,
"column": 8
},
"end": {
"line": 86,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 3689,
"end": 3705,
"loc": {
"start": {
"line": 86,
"column": 13
},
"end": {
"line": 86,
"column": 29
},
"identifierName": "trackedCanAfford"
},
"name": "trackedCanAfford"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3706,
"end": 3709,
"loc": {
"start": {
"line": 86,
"column": 30
},
"end": {
"line": 86,
"column": 33
},
"identifierName": "set"
},
"name": "set"
},
"computed": false
},
"arguments": [
{
"type": "LogicalExpression",
"start": 3710,
"end": 3767,
"loc": {
"start": {
"line": 86,
"column": 34
},
"end": {
"line": 86,
"column": 91
}
},
"left": {
"type": "Identifier",
"start": 3710,
"end": 3726,
"loc": {
"start": {
"line": 86,
"column": 34
},
"end": {
"line": 86,
"column": 50
},
"identifierName": "currentBlueprint"
},
"name": "currentBlueprint"
},
"operator": "&&",
"right": {
"type": "CallExpression",
"start": 3730,
"end": 3767,
"loc": {
"start": {
"line": 86,
"column": 54
},
"end": {
"line": 86,
"column": 91
}
},
"callee": {
"type": "MemberExpression",
"start": 3730,
"end": 3756,
"loc": {
"start": {
"line": 86,
"column": 54
},
"end": {
"line": 86,
"column": 80
}
},
"object": {
"type": "Identifier",
"start": 3730,
"end": 3746,
"loc": {
"start": {
"line": 86,
"column": 54
},
"end": {
"line": 86,
"column": 70
},
"identifierName": "currentBlueprint"
},
"name": "currentBlueprint"
},
"property": {
"type": "Identifier",
"start": 3747,
"end": 3756,
"loc": {
"start": {
"line": 86,
"column": 71
},
"end": {
"line": 86,
"column": 80
},
"identifierName": "canAfford"
},
"name": "canAfford"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 3757,
"end": 3766,
"loc": {
"start": {
"line": 86,
"column": 81
},
"end": {
"line": 86,
"column": 90
}
},
"object": {
"type": "ThisExpression",
"start": 3757,
"end": 3761,
"loc": {
"start": {
"line": 86,
"column": 81
},
"end": {
"line": 86,
"column": 85
}
}
},
"property": {
"type": "Identifier",
"start": 3762,
"end": 3766,
"loc": {
"start": {
"line": 86,
"column": 86
},
"end": {
"line": 86,
"column": 90
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
}
]
}
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Called when the blueprint was changed\r\n * @param {Blueprint} blueprint\r\n ",
"start": 3784,
"end": 3879,
"loc": {
"start": {
"line": 89,
"column": 4
},
"end": {
"line": 92,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 3885,
"end": 4081,
"loc": {
"start": {
"line": 93,
"column": 4
},
"end": {
"line": 98,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3885,
"end": 3903,
"loc": {
"start": {
"line": 93,
"column": 4
},
"end": {
"line": 93,
"column": 22
},
"identifierName": "onBlueprintChanged"
},
"name": "onBlueprintChanged",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 3904,
"end": 3913,
"loc": {
"start": {
"line": 93,
"column": 23
},
"end": {
"line": 93,
"column": 32
},
"identifierName": "blueprint"
},
"name": "blueprint"
}
],
"body": {
"type": "BlockStatement",
"start": 3915,
"end": 4081,
"loc": {
"start": {
"line": 93,
"column": 34
},
"end": {
"line": 98,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 3926,
"end": 4074,
"loc": {
"start": {
"line": 94,
"column": 8
},
"end": {
"line": 97,
"column": 9
}
},
"test": {
"type": "Identifier",
"start": 3930,
"end": 3939,
"loc": {
"start": {
"line": 94,
"column": 12
},
"end": {
"line": 94,
"column": 21
},
"identifierName": "blueprint"
},
"name": "blueprint"
},
"consequent": {
"type": "BlockStatement",
"start": 3941,
"end": 4074,
"loc": {
"start": {
"line": 94,
"column": 23
},
"end": {
"line": 97,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 3956,
"end": 3991,
"loc": {
"start": {
"line": 95,
"column": 12
},
"end": {
"line": 95,
"column": 47
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3956,
"end": 3990,
"loc": {
"start": {
"line": 95,
"column": 12
},
"end": {
"line": 95,
"column": 46
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3956,
"end": 3978,
"loc": {
"start": {
"line": 95,
"column": 12
},
"end": {
"line": 95,
"column": 34
}
},
"object": {
"type": "ThisExpression",
"start": 3956,
"end": 3960,
"loc": {
"start": {
"line": 95,
"column": 12
},
"end": {
"line": 95,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 3961,
"end": 3978,
"loc": {
"start": {
"line": 95,
"column": 17
},
"end": {
"line": 95,
"column": 34
},
"identifierName": "lastBlueprintUsed"
},
"name": "lastBlueprintUsed"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 3981,
"end": 3990,
"loc": {
"start": {
"line": 95,
"column": 37
},
"end": {
"line": 95,
"column": 46
},
"identifierName": "blueprint"
},
"name": "blueprint"
}
}
},
{
"type": "ExpressionStatement",
"start": 4005,
"end": 4063,
"loc": {
"start": {
"line": 96,
"column": 12
},
"end": {
"line": 96,
"column": 70
}
},
"expression": {
"type": "AssignmentExpression",
"start": 4005,
"end": 4062,
"loc": {
"start": {
"line": 96,
"column": 12
},
"end": {
"line": 96,
"column": 69
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 4005,
"end": 4035,
"loc": {
"start": {
"line": 96,
"column": 12
},
"end": {
"line": 96,
"column": 42
}
},
"object": {
"type": "MemberExpression",
"start": 4005,
"end": 4025,
"loc": {
"start": {
"line": 96,
"column": 12
},
"end": {
"line": 96,
"column": 32
}
},
"object": {
"type": "ThisExpression",
"start": 4005,
"end": 4009,
"loc": {
"start": {
"line": 96,
"column": 12
},
"end": {
"line": 96,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 4010,
"end": 4025,
"loc": {
"start": {
"line": 96,
"column": 17
},
"end": {
"line": 96,
"column": 32
},
"identifierName": "costDisplayText"
},
"name": "costDisplayText"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4026,
"end": 4035,
"loc": {
"start": {
"line": 96,
"column": 33
},
"end": {
"line": 96,
"column": 42
},
"identifierName": "innerText"
},
"name": "innerText"
},
"computed": false
},
"right": {
"type": "BinaryExpression",
"start": 4038,
"end": 4062,
"loc": {
"start": {
"line": 96,
"column": 45
},
"end": {
"line": 96,
"column": 69
}
},
"left": {
"type": "StringLiteral",
"start": 4038,
"end": 4040,
"loc": {
"start": {
"line": 96,
"column": 45
},
"end": {
"line": 96,
"column": 47
}
},
"extra": {
"rawValue": "",
"raw": "\"\""
},
"value": ""
},
"operator": "+",
"right": {
"type": "CallExpression",
"start": 4043,
"end": 4062,
"loc": {
"start": {
"line": 96,
"column": 50
},
"end": {
"line": 96,
"column": 69
}
},
"callee": {
"type": "MemberExpression",
"start": 4043,
"end": 4060,
"loc": {
"start": {
"line": 96,
"column": 50
},
"end": {
"line": 96,
"column": 67
}
},
"object": {
"type": "Identifier",
"start": 4043,
"end": 4052,
"loc": {
"start": {
"line": 96,
"column": 50
},
"end": {
"line": 96,
"column": 59
},
"identifierName": "blueprint"
},
"name": "blueprint"
},
"property": {
"type": "Identifier",
"start": 4053,
"end": 4060,
"loc": {
"start": {
"line": 96,
"column": 60
},
"end": {
"line": 96,
"column": 67
},
"identifierName": "getCost"
},
"name": "getCost"
},
"computed": false
},
"arguments": []
}
}
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Called when the blueprint was changed\r\n * @param {Blueprint} blueprint\r\n ",
"start": 3784,
"end": 3879,
"loc": {
"start": {
"line": 89,
"column": 4
},
"end": {
"line": 92,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * mouse down pre handler\r\n * @param {Vector} pos\r\n * @param {enumMouseButton} button\r\n ",
"start": 4089,
"end": 4200,
"loc": {
"start": {
"line": 100,
"column": 4
},
"end": {
"line": 104,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 4206,
"end": 5225,
"loc": {
"start": {
"line": 105,
"column": 4
},
"end": {
"line": 131,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 4206,
"end": 4217,
"loc": {
"start": {
"line": 105,
"column": 4
},
"end": {
"line": 105,
"column": 15
},
"identifierName": "onMouseDown"
},
"name": "onMouseDown",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 4218,
"end": 4221,
"loc": {
"start": {
"line": 105,
"column": 16
},
"end": {
"line": 105,
"column": 19
},
"identifierName": "pos"
},
"name": "pos"
},
{
"type": "Identifier",
"start": 4223,
"end": 4229,
"loc": {
"start": {
"line": 105,
"column": 21
},
"end": {
"line": 105,
"column": 27
},
"identifierName": "button"
},
"name": "button"
}
],
"body": {
"type": "BlockStatement",
"start": 4231,
"end": 5225,
"loc": {
"start": {
"line": 105,
"column": 29
},
"end": {
"line": 131,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 4242,
"end": 5218,
"loc": {
"start": {
"line": 106,
"column": 8
},
"end": {
"line": 130,
"column": 9
}
},
"test": {
"type": "BinaryExpression",
"start": 4246,
"end": 4278,
"loc": {
"start": {
"line": 106,
"column": 12
},
"end": {
"line": 106,
"column": 44
}
},
"left": {
"type": "Identifier",
"start": 4246,
"end": 4252,
"loc": {
"start": {
"line": 106,
"column": 12
},
"end": {
"line": 106,
"column": 18
},
"identifierName": "button"
},
"name": "button"
},
"operator": "===",
"right": {
"type": "MemberExpression",
"start": 4257,
"end": 4278,
"loc": {
"start": {
"line": 106,
"column": 23
},
"end": {
"line": 106,
"column": 44
}
},
"object": {
"type": "Identifier",
"start": 4257,
"end": 4272,
"loc": {
"start": {
"line": 106,
"column": 23
},
"end": {
"line": 106,
"column": 38
},
"identifierName": "enumMouseButton"
},
"name": "enumMouseButton"
},
"property": {
"type": "Identifier",
"start": 4273,
"end": 4278,
"loc": {
"start": {
"line": 106,
"column": 39
},
"end": {
"line": 106,
"column": 44
},
"identifierName": "right"
},
"name": "right"
},
"computed": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 4280,
"end": 4437,
"loc": {
"start": {
"line": 106,
"column": 46
},
"end": {
"line": 111,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 4295,
"end": 4426,
"loc": {
"start": {
"line": 107,
"column": 12
},
"end": {
"line": 110,
"column": 13
}
},
"test": {
"type": "CallExpression",
"start": 4299,
"end": 4326,
"loc": {
"start": {
"line": 107,
"column": 16
},
"end": {
"line": 107,
"column": 43
}
},
"callee": {
"type": "MemberExpression",
"start": 4299,
"end": 4324,
"loc": {
"start": {
"line": 107,
"column": 16
},
"end": {
"line": 107,
"column": 41
}
},
"object": {
"type": "MemberExpression",
"start": 4299,
"end": 4320,
"loc": {
"start": {
"line": 107,
"column": 16
},
"end": {
"line": 107,
"column": 37
}
},
"object": {
"type": "ThisExpression",
"start": 4299,
"end": 4303,
"loc": {
"start": {
"line": 107,
"column": 16
},
"end": {
"line": 107,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 4304,
"end": 4320,
"loc": {
"start": {
"line": 107,
"column": 21
},
"end": {
"line": 107,
"column": 37
},
"identifierName": "currentBlueprint"
},
"name": "currentBlueprint"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4321,
"end": 4324,
"loc": {
"start": {
"line": 107,
"column": 38
},
"end": {
"line": 107,
"column": 41
},
"identifierName": "get"
},
"name": "get"
},
"computed": false
},
"arguments": []
},
"consequent": {
"type": "BlockStatement",
"start": 4328,
"end": 4426,
"loc": {
"start": {
"line": 107,
"column": 45
},
"end": {
"line": 110,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 4347,
"end": 4369,
"loc": {
"start": {
"line": 108,
"column": 16
},
"end": {
"line": 108,
"column": 38
}
},
"expression": {
"type": "CallExpression",
"start": 4347,
"end": 4368,
"loc": {
"start": {
"line": 108,
"column": 16
},
"end": {
"line": 108,
"column": 37
}
},
"callee": {
"type": "MemberExpression",
"start": 4347,
"end": 4366,
"loc": {
"start": {
"line": 108,
"column": 16
},
"end": {
"line": 108,
"column": 35
}
},
"object": {
"type": "ThisExpression",
"start": 4347,
"end": 4351,
"loc": {
"start": {
"line": 108,
"column": 16
},
"end": {
"line": 108,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 4352,
"end": 4366,
"loc": {
"start": {
"line": 108,
"column": 21
},
"end": {
"line": 108,
"column": 35
},
"identifierName": "abortPlacement"
},
"name": "abortPlacement"
},
"computed": false
},
"arguments": []
}
},
{
"type": "ReturnStatement",
"start": 4387,
"end": 4411,
"loc": {
"start": {
"line": 109,
"column": 16
},
"end": {
"line": 109,
"column": 40
}
},
"argument": {
"type": "Identifier",
"start": 4394,
"end": 4410,
"loc": {
"start": {
"line": 109,
"column": 23
},
"end": {
"line": 109,
"column": 39
},
"identifierName": "STOP_PROPAGATION"
},
"name": "STOP_PROPAGATION"
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
},
"alternate": {
"type": "IfStatement",
"start": 4443,
"end": 5218,
"loc": {
"start": {
"line": 111,
"column": 15
},
"end": {
"line": 130,
"column": 9
}
},
"test": {
"type": "BinaryExpression",
"start": 4447,
"end": 4478,
"loc": {
"start": {
"line": 111,
"column": 19
},
"end": {
"line": 111,
"column": 50
}
},
"left": {
"type": "Identifier",
"start": 4447,
"end": 4453,
"loc": {
"start": {
"line": 111,
"column": 19
},
"end": {
"line": 111,
"column": 25
},
"identifierName": "button"
},
"name": "button"
},
"operator": "===",
"right": {
"type": "MemberExpression",
"start": 4458,
"end": 4478,
"loc": {
"start": {
"line": 111,
"column": 30
},
"end": {
"line": 111,
"column": 50
}
},
"object": {
"type": "Identifier",
"start": 4458,
"end": 4473,
"loc": {
"start": {
"line": 111,
"column": 30
},
"end": {
"line": 111,
"column": 45
},
"identifierName": "enumMouseButton"
},
"name": "enumMouseButton"
},
"property": {
"type": "Identifier",
"start": 4474,
"end": 4478,
"loc": {
"start": {
"line": 111,
"column": 46
},
"end": {
"line": 111,
"column": 50
},
"identifierName": "left"
},
"name": "left"
},
"computed": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 4480,
"end": 5218,
"loc": {
"start": {
"line": 111,
"column": 52
},
"end": {
"line": 130,
"column": 9
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 4495,
"end": 4541,
"loc": {
"start": {
"line": 112,
"column": 12
},
"end": {
"line": 112,
"column": 58
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4501,
"end": 4540,
"loc": {
"start": {
"line": 112,
"column": 18
},
"end": {
"line": 112,
"column": 57
}
},
"id": {
"type": "Identifier",
"start": 4501,
"end": 4510,
"loc": {
"start": {
"line": 112,
"column": 18
},
"end": {
"line": 112,
"column": 27
},
"identifierName": "blueprint"
},
"name": "blueprint"
},
"init": {
"type": "CallExpression",
"start": 4513,
"end": 4540,
"loc": {
"start": {
"line": 112,
"column": 30
},
"end": {
"line": 112,
"column": 57
}
},
"callee": {
"type": "MemberExpression",
"start": 4513,
"end": 4538,
"loc": {
"start": {
"line": 112,
"column": 30
},
"end": {
"line": 112,
"column": 55
}
},
"object": {
"type": "MemberExpression",
"start": 4513,
"end": 4534,
"loc": {
"start": {
"line": 112,
"column": 30
},
"end": {
"line": 112,
"column": 51
}
},
"object": {
"type": "ThisExpression",
"start": 4513,
"end": 4517,
"loc": {
"start": {
"line": 112,
"column": 30
},
"end": {
"line": 112,
"column": 34
}
}
},
"property": {
"type": "Identifier",
"start": 4518,
"end": 4534,
"loc": {
"start": {
"line": 112,
"column": 35
},
"end": {
"line": 112,
"column": 51
},
"identifierName": "currentBlueprint"
},
"name": "currentBlueprint"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4535,
"end": 4538,
"loc": {
"start": {
"line": 112,
"column": 52
},
"end": {
"line": 112,
"column": 55
},
"identifierName": "get"
},
"name": "get"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 4555,
"end": 4612,
"loc": {
"start": {
"line": 113,
"column": 12
},
"end": {
"line": 115,
"column": 13
}
},
"test": {
"type": "UnaryExpression",
"start": 4559,
"end": 4569,
"loc": {
"start": {
"line": 113,
"column": 16
},
"end": {
"line": 113,
"column": 26
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 4560,
"end": 4569,
"loc": {
"start": {
"line": 113,
"column": 17
},
"end": {
"line": 113,
"column": 26
},
"identifierName": "blueprint"
},
"name": "blueprint"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 4571,
"end": 4612,
"loc": {
"start": {
"line": 113,
"column": 28
},
"end": {
"line": 115,
"column": 13
}
},
"body": [
{
"type": "ReturnStatement",
"start": 4590,
"end": 4597,
"loc": {
"start": {
"line": 114,
"column": 16
},
"end": {
"line": 114,
"column": 23
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 4628,
"end": 4759,
"loc": {
"start": {
"line": 117,
"column": 12
},
"end": {
"line": 120,
"column": 13
}
},
"test": {
"type": "UnaryExpression",
"start": 4632,
"end": 4663,
"loc": {
"start": {
"line": 117,
"column": 16
},
"end": {
"line": 117,
"column": 47
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 4633,
"end": 4663,
"loc": {
"start": {
"line": 117,
"column": 17
},
"end": {
"line": 117,
"column": 47
}
},
"callee": {
"type": "MemberExpression",
"start": 4633,
"end": 4652,
"loc": {
"start": {
"line": 117,
"column": 17
},
"end": {
"line": 117,
"column": 36
}
},
"object": {
"type": "Identifier",
"start": 4633,
"end": 4642,
"loc": {
"start": {
"line": 117,
"column": 17
},
"end": {
"line": 117,
"column": 26
},
"identifierName": "blueprint"
},
"name": "blueprint"
},
"property": {
"type": "Identifier",
"start": 4643,
"end": 4652,
"loc": {
"start": {
"line": 117,
"column": 27
},
"end": {
"line": 117,
"column": 36
},
"identifierName": "canAfford"
},
"name": "canAfford"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 4653,
"end": 4662,
"loc": {
"start": {
"line": 117,
"column": 37
},
"end": {
"line": 117,
"column": 46
}
},
"object": {
"type": "ThisExpression",
"start": 4653,
"end": 4657,
"loc": {
"start": {
"line": 117,
"column": 37
},
"end": {
"line": 117,
"column": 41
}
}
},
"property": {
"type": "Identifier",
"start": 4658,
"end": 4662,
"loc": {
"start": {
"line": 117,
"column": 42
},
"end": {
"line": 117,
"column": 46
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
}
]
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 4665,
"end": 4759,
"loc": {
"start": {
"line": 117,
"column": 49
},
"end": {
"line": 120,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 4684,
"end": 4719,
"loc": {
"start": {
"line": 118,
"column": 16
},
"end": {
"line": 118,
"column": 51
}
},
"expression": {
"type": "CallExpression",
"start": 4684,
"end": 4718,
"loc": {
"start": {
"line": 118,
"column": 16
},
"end": {
"line": 118,
"column": 50
}
},
"callee": {
"type": "MemberExpression",
"start": 4684,
"end": 4716,
"loc": {
"start": {
"line": 118,
"column": 16
},
"end": {
"line": 118,
"column": 48
}
},
"object": {
"type": "MemberExpression",
"start": 4684,
"end": 4704,
"loc": {
"start": {
"line": 118,
"column": 16
},
"end": {
"line": 118,
"column": 36
}
},
"object": {
"type": "MemberExpression",
"start": 4684,
"end": 4693,
"loc": {
"start": {
"line": 118,
"column": 16
},
"end": {
"line": 118,
"column": 25
}
},
"object": {
"type": "ThisExpression",
"start": 4684,
"end": 4688,
"loc": {
"start": {
"line": 118,
"column": 16
},
"end": {
"line": 118,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 4689,
"end": 4693,
"loc": {
"start": {
"line": 118,
"column": 21
},
"end": {
"line": 118,
"column": 25
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4694,
"end": 4704,
"loc": {
"start": {
"line": 118,
"column": 26
},
"end": {
"line": 118,
"column": 36
},
"identifierName": "soundProxy"
},
"name": "soundProxy"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4705,
"end": 4716,
"loc": {
"start": {
"line": 118,
"column": 37
},
"end": {
"line": 118,
"column": 48
},
"identifierName": "playUiError"
},
"name": "playUiError"
},
"computed": false
},
"arguments": []
}
},
{
"type": "ReturnStatement",
"start": 4737,
"end": 4744,
"loc": {
"start": {
"line": 119,
"column": 16
},
"end": {
"line": 119,
"column": 23
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 4775,
"end": 4828,
"loc": {
"start": {
"line": 122,
"column": 12
},
"end": {
"line": 122,
"column": 65
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4781,
"end": 4827,
"loc": {
"start": {
"line": 122,
"column": 18
},
"end": {
"line": 122,
"column": 64
}
},
"id": {
"type": "Identifier",
"start": 4781,
"end": 4789,
"loc": {
"start": {
"line": 122,
"column": 18
},
"end": {
"line": 122,
"column": 26
},
"identifierName": "worldPos"
},
"name": "worldPos"
},
"init": {
"type": "CallExpression",
"start": 4792,
"end": 4827,
"loc": {
"start": {
"line": 122,
"column": 29
},
"end": {
"line": 122,
"column": 64
}
},
"callee": {
"type": "MemberExpression",
"start": 4792,
"end": 4822,
"loc": {
"start": {
"line": 122,
"column": 29
},
"end": {
"line": 122,
"column": 59
}
},
"object": {
"type": "MemberExpression",
"start": 4792,
"end": 4808,
"loc": {
"start": {
"line": 122,
"column": 29
},
"end": {
"line": 122,
"column": 45
}
},
"object": {
"type": "MemberExpression",
"start": 4792,
"end": 4801,
"loc": {
"start": {
"line": 122,
"column": 29
},
"end": {
"line": 122,
"column": 38
}
},
"object": {
"type": "ThisExpression",
"start": 4792,
"end": 4796,
"loc": {
"start": {
"line": 122,
"column": 29
},
"end": {
"line": 122,
"column": 33
}
}
},
"property": {
"type": "Identifier",
"start": 4797,
"end": 4801,
"loc": {
"start": {
"line": 122,
"column": 34
},
"end": {
"line": 122,
"column": 38
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4802,
"end": 4808,
"loc": {
"start": {
"line": 122,
"column": 39
},
"end": {
"line": 122,
"column": 45
},
"identifierName": "camera"
},
"name": "camera"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4809,
"end": 4822,
"loc": {
"start": {
"line": 122,
"column": 46
},
"end": {
"line": 122,
"column": 59
},
"identifierName": "screenToWorld"
},
"name": "screenToWorld"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 4823,
"end": 4826,
"loc": {
"start": {
"line": 122,
"column": 60
},
"end": {
"line": 122,
"column": 63
},
"identifierName": "pos"
},
"name": "pos"
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 4842,
"end": 4878,
"loc": {
"start": {
"line": 123,
"column": 12
},
"end": {
"line": 123,
"column": 48
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4848,
"end": 4877,
"loc": {
"start": {
"line": 123,
"column": 18
},
"end": {
"line": 123,
"column": 47
}
},
"id": {
"type": "Identifier",
"start": 4848,
"end": 4852,
"loc": {
"start": {
"line": 123,
"column": 18
},
"end": {
"line": 123,
"column": 22
},
"identifierName": "tile"
},
"name": "tile"
},
"init": {
"type": "CallExpression",
"start": 4855,
"end": 4877,
"loc": {
"start": {
"line": 123,
"column": 25
},
"end": {
"line": 123,
"column": 47
}
},
"callee": {
"type": "MemberExpression",
"start": 4855,
"end": 4875,
"loc": {
"start": {
"line": 123,
"column": 25
},
"end": {
"line": 123,
"column": 45
}
},
"object": {
"type": "Identifier",
"start": 4855,
"end": 4863,
"loc": {
"start": {
"line": 123,
"column": 25
},
"end": {
"line": 123,
"column": 33
},
"identifierName": "worldPos"
},
"name": "worldPos"
},
"property": {
"type": "Identifier",
"start": 4864,
"end": 4875,
"loc": {
"start": {
"line": 123,
"column": 34
},
"end": {
"line": 123,
"column": 45
},
"identifierName": "toTileSpace"
},
"name": "toTileSpace"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 4892,
"end": 5169,
"loc": {
"start": {
"line": 124,
"column": 12
},
"end": {
"line": 128,
"column": 13
}
},
"test": {
"type": "CallExpression",
"start": 4896,
"end": 4931,
"loc": {
"start": {
"line": 124,
"column": 16
},
"end": {
"line": 124,
"column": 51
}
},
"callee": {
"type": "MemberExpression",
"start": 4896,
"end": 4914,
"loc": {
"start": {
"line": 124,
"column": 16
},
"end": {
"line": 124,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 4896,
"end": 4905,
"loc": {
"start": {
"line": 124,
"column": 16
},
"end": {
"line": 124,
"column": 25
},
"identifierName": "blueprint"
},
"name": "blueprint"
},
"property": {
"type": "Identifier",
"start": 4906,
"end": 4914,
"loc": {
"start": {
"line": 124,
"column": 26
},
"end": {
"line": 124,
"column": 34
},
"identifierName": "tryPlace"
},
"name": "tryPlace"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 4915,
"end": 4924,
"loc": {
"start": {
"line": 124,
"column": 35
},
"end": {
"line": 124,
"column": 44
}
},
"object": {
"type": "ThisExpression",
"start": 4915,
"end": 4919,
"loc": {
"start": {
"line": 124,
"column": 35
},
"end": {
"line": 124,
"column": 39
}
}
},
"property": {
"type": "Identifier",
"start": 4920,
"end": 4924,
"loc": {
"start": {
"line": 124,
"column": 40
},
"end": {
"line": 124,
"column": 44
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
{
"type": "Identifier",
"start": 4926,
"end": 4930,
"loc": {
"start": {
"line": 124,
"column": 46
},
"end": {
"line": 124,
"column": 50
},
"identifierName": "tile"
},
"name": "tile"
}
]
},
"consequent": {
"type": "BlockStatement",
"start": 4933,
"end": 5169,
"loc": {
"start": {
"line": 124,
"column": 53
},
"end": {
"line": 128,
"column": 13
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 4952,
"end": 4985,
"loc": {
"start": {
"line": 125,
"column": 16
},
"end": {
"line": 125,
"column": 49
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4958,
"end": 4984,
"loc": {
"start": {
"line": 125,
"column": 22
},
"end": {
"line": 125,
"column": 48
}
},
"id": {
"type": "Identifier",
"start": 4958,
"end": 4962,
"loc": {
"start": {
"line": 125,
"column": 22
},
"end": {
"line": 125,
"column": 26
},
"identifierName": "cost"
},
"name": "cost"
},
"init": {
"type": "CallExpression",
"start": 4965,
"end": 4984,
"loc": {
"start": {
"line": 125,
"column": 29
},
"end": {
"line": 125,
"column": 48
}
},
"callee": {
"type": "MemberExpression",
"start": 4965,
"end": 4982,
"loc": {
"start": {
"line": 125,
"column": 29
},
"end": {
"line": 125,
"column": 46
}
},
"object": {
"type": "Identifier",
"start": 4965,
"end": 4974,
"loc": {
"start": {
"line": 125,
"column": 29
},
"end": {
"line": 125,
"column": 38
},
"identifierName": "blueprint"
},
"name": "blueprint"
},
"property": {
"type": "Identifier",
"start": 4975,
"end": 4982,
"loc": {
"start": {
"line": 125,
"column": 39
},
"end": {
"line": 125,
"column": 46
},
"identifierName": "getCost"
},
"name": "getCost"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 5003,
"end": 5086,
"loc": {
"start": {
"line": 126,
"column": 16
},
"end": {
"line": 126,
"column": 99
}
},
"expression": {
"type": "CallExpression",
"start": 5003,
"end": 5085,
"loc": {
"start": {
"line": 126,
"column": 16
},
"end": {
"line": 126,
"column": 98
}
},
"callee": {
"type": "MemberExpression",
"start": 5003,
"end": 5036,
"loc": {
"start": {
"line": 126,
"column": 16
},
"end": {
"line": 126,
"column": 49
}
},
"object": {
"type": "MemberExpression",
"start": 5003,
"end": 5021,
"loc": {
"start": {
"line": 126,
"column": 16
},
"end": {
"line": 126,
"column": 34
}
},
"object": {
"type": "MemberExpression",
"start": 5003,
"end": 5012,
"loc": {
"start": {
"line": 126,
"column": 16
},
"end": {
"line": 126,
"column": 25
}
},
"object": {
"type": "ThisExpression",
"start": 5003,
"end": 5007,
"loc": {
"start": {
"line": 126,
"column": 16
},
"end": {
"line": 126,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 5008,
"end": 5012,
"loc": {
"start": {
"line": 126,
"column": 21
},
"end": {
"line": 126,
"column": 25
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5013,
"end": 5021,
"loc": {
"start": {
"line": 126,
"column": 26
},
"end": {
"line": 126,
"column": 34
},
"identifierName": "hubGoals"
},
"name": "hubGoals"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5022,
"end": 5036,
"loc": {
"start": {
"line": 126,
"column": 35
},
"end": {
"line": 126,
"column": 49
},
"identifierName": "takeShapeByKey"
},
"name": "takeShapeByKey"
},
"computed": false
},
"arguments": [
{
"type": "CallExpression",
"start": 5037,
"end": 5078,
"loc": {
"start": {
"line": 126,
"column": 50
},
"end": {
"line": 126,
"column": 91
}
},
"callee": {
"type": "MemberExpression",
"start": 5037,
"end": 5076,
"loc": {
"start": {
"line": 126,
"column": 50
},
"end": {
"line": 126,
"column": 89
}
},
"object": {
"type": "MemberExpression",
"start": 5037,
"end": 5055,
"loc": {
"start": {
"line": 126,
"column": 50
},
"end": {
"line": 126,
"column": 68
}
},
"object": {
"type": "MemberExpression",
"start": 5037,
"end": 5046,
"loc": {
"start": {
"line": 126,
"column": 50
},
"end": {
"line": 126,
"column": 59
}
},
"object": {
"type": "ThisExpression",
"start": 5037,
"end": 5041,
"loc": {
"start": {
"line": 126,
"column": 50
},
"end": {
"line": 126,
"column": 54
}
}
},
"property": {
"type": "Identifier",
"start": 5042,
"end": 5046,
"loc": {
"start": {
"line": 126,
"column": 55
},
"end": {
"line": 126,
"column": 59
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5047,
"end": 5055,
"loc": {
"start": {
"line": 126,
"column": 60
},
"end": {
"line": 126,
"column": 68
},
"identifierName": "gameMode"
},
"name": "gameMode"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5056,
"end": 5076,
"loc": {
"start": {
"line": 126,
"column": 69
},
"end": {
"line": 126,
"column": 89
},
"identifierName": "getBlueprintShapeKey"
},
"name": "getBlueprintShapeKey"
},
"computed": false
},
"arguments": []
},
{
"type": "Identifier",
"start": 5080,
"end": 5084,
"loc": {
"start": {
"line": 126,
"column": 93
},
"end": {
"line": 126,
"column": 97
},
"identifierName": "cost"
},
"name": "cost"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 5104,
"end": 5154,
"loc": {
"start": {
"line": 127,
"column": 16
},
"end": {
"line": 127,
"column": 66
}
},
"expression": {
"type": "CallExpression",
"start": 5104,
"end": 5153,
"loc": {
"start": {
"line": 127,
"column": 16
},
"end": {
"line": 127,
"column": 65
}
},
"callee": {
"type": "MemberExpression",
"start": 5104,
"end": 5131,
"loc": {
"start": {
"line": 127,
"column": 16
},
"end": {
"line": 127,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 5104,
"end": 5124,
"loc": {
"start": {
"line": 127,
"column": 16
},
"end": {
"line": 127,
"column": 36
}
},
"object": {
"type": "MemberExpression",
"start": 5104,
"end": 5113,
"loc": {
"start": {
"line": 127,
"column": 16
},
"end": {
"line": 127,
"column": 25
}
},
"object": {
"type": "ThisExpression",
"start": 5104,
"end": 5108,
"loc": {
"start": {
"line": 127,
"column": 16
},
"end": {
"line": 127,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 5109,
"end": 5113,
"loc": {
"start": {
"line": 127,
"column": 21
},
"end": {
"line": 127,
"column": 25
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5114,
"end": 5124,
"loc": {
"start": {
"line": 127,
"column": 26
},
"end": {
"line": 127,
"column": 36
},
"identifierName": "soundProxy"
},
"name": "soundProxy"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5125,
"end": 5131,
"loc": {
"start": {
"line": 127,
"column": 37
},
"end": {
"line": 127,
"column": 43
},
"identifierName": "playUi"
},
"name": "playUi"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 5132,
"end": 5152,
"loc": {
"start": {
"line": 127,
"column": 44
},
"end": {
"line": 127,
"column": 64
}
},
"object": {
"type": "Identifier",
"start": 5132,
"end": 5138,
"loc": {
"start": {
"line": 127,
"column": 44
},
"end": {
"line": 127,
"column": 50
},
"identifierName": "SOUNDS"
},
"name": "SOUNDS"
},
"property": {
"type": "Identifier",
"start": 5139,
"end": 5152,
"loc": {
"start": {
"line": 127,
"column": 51
},
"end": {
"line": 127,
"column": 64
},
"identifierName": "placeBuilding"
},
"name": "placeBuilding"
},
"computed": false
}
]
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ReturnStatement",
"start": 5183,
"end": 5207,
"loc": {
"start": {
"line": 129,
"column": 12
},
"end": {
"line": 129,
"column": 36
}
},
"argument": {
"type": "Identifier",
"start": 5190,
"end": 5206,
"loc": {
"start": {
"line": 129,
"column": 19
},
"end": {
"line": 129,
"column": 35
},
"identifierName": "STOP_PROPAGATION"
},
"name": "STOP_PROPAGATION"
}
}
],
"directives": []
},
"alternate": null
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * mouse down pre handler\r\n * @param {Vector} pos\r\n * @param {enumMouseButton} button\r\n ",
"start": 4089,
"end": 4200,
"loc": {
"start": {
"line": 100,
"column": 4
},
"end": {
"line": 104,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Mose move handler\r\n ",
"start": 5233,
"end": 5271,
"loc": {
"start": {
"line": 133,
"column": 4
},
"end": {
"line": 135,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 5277,
"end": 5449,
"loc": {
"start": {
"line": 136,
"column": 4
},
"end": {
"line": 141,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 5277,
"end": 5288,
"loc": {
"start": {
"line": 136,
"column": 4
},
"end": {
"line": 136,
"column": 15
},
"identifierName": "onMouseMove"
},
"name": "onMouseMove",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 5291,
"end": 5449,
"loc": {
"start": {
"line": 136,
"column": 18
},
"end": {
"line": 141,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 5359,
"end": 5442,
"loc": {
"start": {
"line": 138,
"column": 8
},
"end": {
"line": 140,
"column": 9
}
},
"test": {
"type": "CallExpression",
"start": 5363,
"end": 5390,
"loc": {
"start": {
"line": 138,
"column": 12
},
"end": {
"line": 138,
"column": 39
}
},
"callee": {
"type": "MemberExpression",
"start": 5363,
"end": 5388,
"loc": {
"start": {
"line": 138,
"column": 12
},
"end": {
"line": 138,
"column": 37
}
},
"object": {
"type": "MemberExpression",
"start": 5363,
"end": 5384,
"loc": {
"start": {
"line": 138,
"column": 12
},
"end": {
"line": 138,
"column": 33
}
},
"object": {
"type": "ThisExpression",
"start": 5363,
"end": 5367,
"loc": {
"start": {
"line": 138,
"column": 12
},
"end": {
"line": 138,
"column": 16
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 5368,
"end": 5384,
"loc": {
"start": {
"line": 138,
"column": 17
},
"end": {
"line": 138,
"column": 33
},
"identifierName": "currentBlueprint"
},
"name": "currentBlueprint"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 5385,
"end": 5388,
"loc": {
"start": {
"line": 138,
"column": 34
},
"end": {
"line": 138,
"column": 37
},
"identifierName": "get"
},
"name": "get"
},
"computed": false,
"leadingComments": null
},
"arguments": [],
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 5392,
"end": 5442,
"loc": {
"start": {
"line": 138,
"column": 41
},
"end": {
"line": 140,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 5407,
"end": 5431,
"loc": {
"start": {
"line": 139,
"column": 12
},
"end": {
"line": 139,
"column": 36
}
},
"argument": {
"type": "Identifier",
"start": 5414,
"end": 5430,
"loc": {
"start": {
"line": 139,
"column": 19
},
"end": {
"line": 139,
"column": 35
},
"identifierName": "STOP_PROPAGATION"
},
"name": "STOP_PROPAGATION"
}
}
],
"directives": []
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Prevent movement while blueprint is selected",
"start": 5302,
"end": 5349,
"loc": {
"start": {
"line": 137,
"column": 8
},
"end": {
"line": 137,
"column": 55
}
}
}
]
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Mose move handler\r\n ",
"start": 5233,
"end": 5271,
"loc": {
"start": {
"line": 133,
"column": 4
},
"end": {
"line": 135,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Called when an array of bulidings was selected\r\n * @param {Array<number>} uids\r\n ",
"start": 5457,
"end": 5560,
"loc": {
"start": {
"line": 143,
"column": 4
},
"end": {
"line": 146,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 5566,
"end": 5748,
"loc": {
"start": {
"line": 147,
"column": 4
},
"end": {
"line": 152,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 5566,
"end": 5594,
"loc": {
"start": {
"line": 147,
"column": 4
},
"end": {
"line": 147,
"column": 32
},
"identifierName": "createBlueprintFromBuildings"
},
"name": "createBlueprintFromBuildings",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 5595,
"end": 5599,
"loc": {
"start": {
"line": 147,
"column": 33
},
"end": {
"line": 147,
"column": 37
},
"identifierName": "uids"
},
"name": "uids"
}
],
"body": {
"type": "BlockStatement",
"start": 5601,
"end": 5748,
"loc": {
"start": {
"line": 147,
"column": 39
},
"end": {
"line": 152,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 5612,
"end": 5668,
"loc": {
"start": {
"line": 148,
"column": 8
},
"end": {
"line": 150,
"column": 9
}
},
"test": {
"type": "BinaryExpression",
"start": 5616,
"end": 5633,
"loc": {
"start": {
"line": 148,
"column": 12
},
"end": {
"line": 148,
"column": 29
}
},
"left": {
"type": "MemberExpression",
"start": 5616,
"end": 5627,
"loc": {
"start": {
"line": 148,
"column": 12
},
"end": {
"line": 148,
"column": 23
}
},
"object": {
"type": "Identifier",
"start": 5616,
"end": 5620,
"loc": {
"start": {
"line": 148,
"column": 12
},
"end": {
"line": 148,
"column": 16
},
"identifierName": "uids"
},
"name": "uids"
},
"property": {
"type": "Identifier",
"start": 5621,
"end": 5627,
"loc": {
"start": {
"line": 148,
"column": 17
},
"end": {
"line": 148,
"column": 23
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
},
"operator": "===",
"right": {
"type": "NumericLiteral",
"start": 5632,
"end": 5633,
"loc": {
"start": {
"line": 148,
"column": 28
},
"end": {
"line": 148,
"column": 29
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
},
"consequent": {
"type": "BlockStatement",
"start": 5635,
"end": 5668,
"loc": {
"start": {
"line": 148,
"column": 31
},
"end": {
"line": 150,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 5650,
"end": 5657,
"loc": {
"start": {
"line": 149,
"column": 12
},
"end": {
"line": 149,
"column": 19
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 5678,
"end": 5741,
"loc": {
"start": {
"line": 151,
"column": 8
},
"end": {
"line": 151,
"column": 71
}
},
"expression": {
"type": "CallExpression",
"start": 5678,
"end": 5740,
"loc": {
"start": {
"line": 151,
"column": 8
},
"end": {
"line": 151,
"column": 70
}
},
"callee": {
"type": "MemberExpression",
"start": 5678,
"end": 5703,
"loc": {
"start": {
"line": 151,
"column": 8
},
"end": {
"line": 151,
"column": 33
}
},
"object": {
"type": "MemberExpression",
"start": 5678,
"end": 5699,
"loc": {
"start": {
"line": 151,
"column": 8
},
"end": {
"line": 151,
"column": 29
}
},
"object": {
"type": "ThisExpression",
"start": 5678,
"end": 5682,
"loc": {
"start": {
"line": 151,
"column": 8
},
"end": {
"line": 151,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 5683,
"end": 5699,
"loc": {
"start": {
"line": 151,
"column": 13
},
"end": {
"line": 151,
"column": 29
},
"identifierName": "currentBlueprint"
},
"name": "currentBlueprint"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5700,
"end": 5703,
"loc": {
"start": {
"line": 151,
"column": 30
},
"end": {
"line": 151,
"column": 33
},
"identifierName": "set"
},
"name": "set"
},
"computed": false
},
"arguments": [
{
"type": "CallExpression",
"start": 5704,
"end": 5739,
"loc": {
"start": {
"line": 151,
"column": 34
},
"end": {
"line": 151,
"column": 69
}
},
"callee": {
"type": "MemberExpression",
"start": 5704,
"end": 5722,
"loc": {
"start": {
"line": 151,
"column": 34
},
"end": {
"line": 151,
"column": 52
}
},
"object": {
"type": "Identifier",
"start": 5704,
"end": 5713,
"loc": {
"start": {
"line": 151,
"column": 34
},
"end": {
"line": 151,
"column": 43
},
"identifierName": "Blueprint"
},
"name": "Blueprint"
},
"property": {
"type": "Identifier",
"start": 5714,
"end": 5722,
"loc": {
"start": {
"line": 151,
"column": 44
},
"end": {
"line": 151,
"column": 52
},
"identifierName": "fromUids"
},
"name": "fromUids"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 5723,
"end": 5732,
"loc": {
"start": {
"line": 151,
"column": 53
},
"end": {
"line": 151,
"column": 62
}
},
"object": {
"type": "ThisExpression",
"start": 5723,
"end": 5727,
"loc": {
"start": {
"line": 151,
"column": 53
},
"end": {
"line": 151,
"column": 57
}
}
},
"property": {
"type": "Identifier",
"start": 5728,
"end": 5732,
"loc": {
"start": {
"line": 151,
"column": 58
},
"end": {
"line": 151,
"column": 62
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
{
"type": "Identifier",
"start": 5734,
"end": 5738,
"loc": {
"start": {
"line": 151,
"column": 64
},
"end": {
"line": 151,
"column": 68
},
"identifierName": "uids"
},
"name": "uids"
}
]
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Called when an array of bulidings was selected\r\n * @param {Array<number>} uids\r\n ",
"start": 5457,
"end": 5560,
"loc": {
"start": {
"line": 143,
"column": 4
},
"end": {
"line": 146,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Attempts to rotate the current blueprint\r\n ",
"start": 5756,
"end": 5817,
"loc": {
"start": {
"line": 154,
"column": 4
},
"end": {
"line": 156,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 5823,
"end": 6160,
"loc": {
"start": {
"line": 157,
"column": 4
},
"end": {
"line": 165,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 5823,
"end": 5838,
"loc": {
"start": {
"line": 157,
"column": 4
},
"end": {
"line": 157,
"column": 19
},
"identifierName": "rotateBlueprint"
},
"name": "rotateBlueprint",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 5841,
"end": 6160,
"loc": {
"start": {
"line": 157,
"column": 22
},
"end": {
"line": 165,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 5852,
"end": 6153,
"loc": {
"start": {
"line": 158,
"column": 8
},
"end": {
"line": 164,
"column": 9
}
},
"test": {
"type": "CallExpression",
"start": 5856,
"end": 5883,
"loc": {
"start": {
"line": 158,
"column": 12
},
"end": {
"line": 158,
"column": 39
}
},
"callee": {
"type": "MemberExpression",
"start": 5856,
"end": 5881,
"loc": {
"start": {
"line": 158,
"column": 12
},
"end": {
"line": 158,
"column": 37
}
},
"object": {
"type": "MemberExpression",
"start": 5856,
"end": 5877,
"loc": {
"start": {
"line": 158,
"column": 12
},
"end": {
"line": 158,
"column": 33
}
},
"object": {
"type": "ThisExpression",
"start": 5856,
"end": 5860,
"loc": {
"start": {
"line": 158,
"column": 12
},
"end": {
"line": 158,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 5861,
"end": 5877,
"loc": {
"start": {
"line": 158,
"column": 17
},
"end": {
"line": 158,
"column": 33
},
"identifierName": "currentBlueprint"
},
"name": "currentBlueprint"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5878,
"end": 5881,
"loc": {
"start": {
"line": 158,
"column": 34
},
"end": {
"line": 158,
"column": 37
},
"identifierName": "get"
},
"name": "get"
},
"computed": false
},
"arguments": []
},
"consequent": {
"type": "BlockStatement",
"start": 5885,
"end": 6153,
"loc": {
"start": {
"line": 158,
"column": 41
},
"end": {
"line": 164,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 5900,
"end": 6142,
"loc": {
"start": {
"line": 159,
"column": 12
},
"end": {
"line": 163,
"column": 13
}
},
"test": {
"type": "MemberExpression",
"start": 5904,
"end": 5987,
"loc": {
"start": {
"line": 159,
"column": 16
},
"end": {
"line": 159,
"column": 99
}
},
"object": {
"type": "CallExpression",
"start": 5904,
"end": 5979,
"loc": {
"start": {
"line": 159,
"column": 16
},
"end": {
"line": 159,
"column": 91
}
},
"callee": {
"type": "MemberExpression",
"start": 5904,
"end": 5934,
"loc": {
"start": {
"line": 159,
"column": 16
},
"end": {
"line": 159,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 5904,
"end": 5923,
"loc": {
"start": {
"line": 159,
"column": 16
},
"end": {
"line": 159,
"column": 35
}
},
"object": {
"type": "MemberExpression",
"start": 5904,
"end": 5913,
"loc": {
"start": {
"line": 159,
"column": 16
},
"end": {
"line": 159,
"column": 25
}
},
"object": {
"type": "ThisExpression",
"start": 5904,
"end": 5908,
"loc": {
"start": {
"line": 159,
"column": 16
},
"end": {
"line": 159,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 5909,
"end": 5913,
"loc": {
"start": {
"line": 159,
"column": 21
},
"end": {
"line": 159,
"column": 25
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5914,
"end": 5923,
"loc": {
"start": {
"line": 159,
"column": 26
},
"end": {
"line": 159,
"column": 35
},
"identifierName": "keyMapper"
},
"name": "keyMapper"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5924,
"end": 5934,
"loc": {
"start": {
"line": 159,
"column": 36
},
"end": {
"line": 159,
"column": 46
},
"identifierName": "getBinding"
},
"name": "getBinding"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 5935,
"end": 5978,
"loc": {
"start": {
"line": 159,
"column": 47
},
"end": {
"line": 159,
"column": 90
}
},
"object": {
"type": "MemberExpression",
"start": 5935,
"end": 5956,
"loc": {
"start": {
"line": 159,
"column": 47
},
"end": {
"line": 159,
"column": 68
}
},
"object": {
"type": "Identifier",
"start": 5935,
"end": 5946,
"loc": {
"start": {
"line": 159,
"column": 47
},
"end": {
"line": 159,
"column": 58
},
"identifierName": "KEYMAPPINGS"
},
"name": "KEYMAPPINGS"
},
"property": {
"type": "Identifier",
"start": 5947,
"end": 5956,
"loc": {
"start": {
"line": 159,
"column": 59
},
"end": {
"line": 159,
"column": 68
},
"identifierName": "placement"
},
"name": "placement"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5957,
"end": 5978,
"loc": {
"start": {
"line": 159,
"column": 69
},
"end": {
"line": 159,
"column": 90
},
"identifierName": "rotateInverseModifier"
},
"name": "rotateInverseModifier"
},
"computed": false
}
]
},
"property": {
"type": "Identifier",
"start": 5980,
"end": 5987,
"loc": {
"start": {
"line": 159,
"column": 92
},
"end": {
"line": 159,
"column": 99
},
"identifierName": "pressed"
},
"name": "pressed"
},
"computed": false
},
"consequent": {
"type": "BlockStatement",
"start": 5989,
"end": 6063,
"loc": {
"start": {
"line": 159,
"column": 101
},
"end": {
"line": 161,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 6008,
"end": 6048,
"loc": {
"start": {
"line": 160,
"column": 16
},
"end": {
"line": 160,
"column": 56
}
},
"expression": {
"type": "CallExpression",
"start": 6008,
"end": 6047,
"loc": {
"start": {
"line": 160,
"column": 16
},
"end": {
"line": 160,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 6008,
"end": 6045,
"loc": {
"start": {
"line": 160,
"column": 16
},
"end": {
"line": 160,
"column": 53
}
},
"object": {
"type": "CallExpression",
"start": 6008,
"end": 6035,
"loc": {
"start": {
"line": 160,
"column": 16
},
"end": {
"line": 160,
"column": 43
}
},
"callee": {
"type": "MemberExpression",
"start": 6008,
"end": 6033,
"loc": {
"start": {
"line": 160,
"column": 16
},
"end": {
"line": 160,
"column": 41
}
},
"object": {
"type": "MemberExpression",
"start": 6008,
"end": 6029,
"loc": {
"start": {
"line": 160,
"column": 16
},
"end": {
"line": 160,
"column": 37
}
},
"object": {
"type": "ThisExpression",
"start": 6008,
"end": 6012,
"loc": {
"start": {
"line": 160,
"column": 16
},
"end": {
"line": 160,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 6013,
"end": 6029,
"loc": {
"start": {
"line": 160,
"column": 21
},
"end": {
"line": 160,
"column": 37
},
"identifierName": "currentBlueprint"
},
"name": "currentBlueprint"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6030,
"end": 6033,
"loc": {
"start": {
"line": 160,
"column": 38
},
"end": {
"line": 160,
"column": 41
},
"identifierName": "get"
},
"name": "get"
},
"computed": false
},
"arguments": []
},
"property": {
"type": "Identifier",
"start": 6036,
"end": 6045,
"loc": {
"start": {
"line": 160,
"column": 44
},
"end": {
"line": 160,
"column": 53
},
"identifierName": "rotateCcw"
},
"name": "rotateCcw"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 6069,
"end": 6142,
"loc": {
"start": {
"line": 161,
"column": 19
},
"end": {
"line": 163,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 6088,
"end": 6127,
"loc": {
"start": {
"line": 162,
"column": 16
},
"end": {
"line": 162,
"column": 55
}
},
"expression": {
"type": "CallExpression",
"start": 6088,
"end": 6126,
"loc": {
"start": {
"line": 162,
"column": 16
},
"end": {
"line": 162,
"column": 54
}
},
"callee": {
"type": "MemberExpression",
"start": 6088,
"end": 6124,
"loc": {
"start": {
"line": 162,
"column": 16
},
"end": {
"line": 162,
"column": 52
}
},
"object": {
"type": "CallExpression",
"start": 6088,
"end": 6115,
"loc": {
"start": {
"line": 162,
"column": 16
},
"end": {
"line": 162,
"column": 43
}
},
"callee": {
"type": "MemberExpression",
"start": 6088,
"end": 6113,
"loc": {
"start": {
"line": 162,
"column": 16
},
"end": {
"line": 162,
"column": 41
}
},
"object": {
"type": "MemberExpression",
"start": 6088,
"end": 6109,
"loc": {
"start": {
"line": 162,
"column": 16
},
"end": {
"line": 162,
"column": 37
}
},
"object": {
"type": "ThisExpression",
"start": 6088,
"end": 6092,
"loc": {
"start": {
"line": 162,
"column": 16
},
"end": {
"line": 162,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 6093,
"end": 6109,
"loc": {
"start": {
"line": 162,
"column": 21
},
"end": {
"line": 162,
"column": 37
},
"identifierName": "currentBlueprint"
},
"name": "currentBlueprint"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6110,
"end": 6113,
"loc": {
"start": {
"line": 162,
"column": 38
},
"end": {
"line": 162,
"column": 41
},
"identifierName": "get"
},
"name": "get"
},
"computed": false
},
"arguments": []
},
"property": {
"type": "Identifier",
"start": 6116,
"end": 6124,
"loc": {
"start": {
"line": 162,
"column": 44
},
"end": {
"line": 162,
"column": 52
},
"identifierName": "rotateCw"
},
"name": "rotateCw"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Attempts to rotate the current blueprint\r\n ",
"start": 5756,
"end": 5817,
"loc": {
"start": {
"line": 154,
"column": 4
},
"end": {
"line": 156,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Attempts to paste the last blueprint\r\n ",
"start": 6168,
"end": 6225,
"loc": {
"start": {
"line": 167,
"column": 4
},
"end": {
"line": 169,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 6231,
"end": 6723,
"loc": {
"start": {
"line": 170,
"column": 4
},
"end": {
"line": 183,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 6231,
"end": 6245,
"loc": {
"start": {
"line": 170,
"column": 4
},
"end": {
"line": 170,
"column": 18
},
"identifierName": "pasteBlueprint"
},
"name": "pasteBlueprint",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 6248,
"end": 6723,
"loc": {
"start": {
"line": 170,
"column": 21
},
"end": {
"line": 183,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 6259,
"end": 6716,
"loc": {
"start": {
"line": 171,
"column": 8
},
"end": {
"line": 182,
"column": 9
}
},
"test": {
"type": "BinaryExpression",
"start": 6263,
"end": 6294,
"loc": {
"start": {
"line": 171,
"column": 12
},
"end": {
"line": 171,
"column": 43
}
},
"left": {
"type": "MemberExpression",
"start": 6263,
"end": 6285,
"loc": {
"start": {
"line": 171,
"column": 12
},
"end": {
"line": 171,
"column": 34
}
},
"object": {
"type": "ThisExpression",
"start": 6263,
"end": 6267,
"loc": {
"start": {
"line": 171,
"column": 12
},
"end": {
"line": 171,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 6268,
"end": 6285,
"loc": {
"start": {
"line": 171,
"column": 17
},
"end": {
"line": 171,
"column": 34
},
"identifierName": "lastBlueprintUsed"
},
"name": "lastBlueprintUsed"
},
"computed": false
},
"operator": "!==",
"right": {
"type": "NullLiteral",
"start": 6290,
"end": 6294,
"loc": {
"start": {
"line": 171,
"column": 39
},
"end": {
"line": 171,
"column": 43
}
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 6296,
"end": 6649,
"loc": {
"start": {
"line": 171,
"column": 45
},
"end": {
"line": 180,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 6311,
"end": 6501,
"loc": {
"start": {
"line": 172,
"column": 12
},
"end": {
"line": 176,
"column": 13
}
},
"test": {
"type": "BinaryExpression",
"start": 6315,
"end": 6370,
"loc": {
"start": {
"line": 172,
"column": 16
},
"end": {
"line": 172,
"column": 71
}
},
"left": {
"type": "MemberExpression",
"start": 6315,
"end": 6343,
"loc": {
"start": {
"line": 172,
"column": 16
},
"end": {
"line": 172,
"column": 44
}
},
"object": {
"type": "MemberExpression",
"start": 6315,
"end": 6337,
"loc": {
"start": {
"line": 172,
"column": 16
},
"end": {
"line": 172,
"column": 38
}
},
"object": {
"type": "ThisExpression",
"start": 6315,
"end": 6319,
"loc": {
"start": {
"line": 172,
"column": 16
},
"end": {
"line": 172,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 6320,
"end": 6337,
"loc": {
"start": {
"line": 172,
"column": 21
},
"end": {
"line": 172,
"column": 38
},
"identifierName": "lastBlueprintUsed"
},
"name": "lastBlueprintUsed"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6338,
"end": 6343,
"loc": {
"start": {
"line": 172,
"column": 39
},
"end": {
"line": 172,
"column": 44
},
"identifierName": "layer"
},
"name": "layer"
},
"computed": false
},
"operator": "!==",
"right": {
"type": "MemberExpression",
"start": 6348,
"end": 6370,
"loc": {
"start": {
"line": 172,
"column": 49
},
"end": {
"line": 172,
"column": 71
}
},
"object": {
"type": "MemberExpression",
"start": 6348,
"end": 6357,
"loc": {
"start": {
"line": 172,
"column": 49
},
"end": {
"line": 172,
"column": 58
}
},
"object": {
"type": "ThisExpression",
"start": 6348,
"end": 6352,
"loc": {
"start": {
"line": 172,
"column": 49
},
"end": {
"line": 172,
"column": 53
}
}
},
"property": {
"type": "Identifier",
"start": 6353,
"end": 6357,
"loc": {
"start": {
"line": 172,
"column": 54
},
"end": {
"line": 172,
"column": 58
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6358,
"end": 6370,
"loc": {
"start": {
"line": 172,
"column": 59
},
"end": {
"line": 172,
"column": 71
},
"identifierName": "currentLayer"
},
"name": "currentLayer"
},
"computed": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 6372,
"end": 6501,
"loc": {
"start": {
"line": 172,
"column": 73
},
"end": {
"line": 176,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 6426,
"end": 6461,
"loc": {
"start": {
"line": 174,
"column": 16
},
"end": {
"line": 174,
"column": 51
}
},
"expression": {
"type": "CallExpression",
"start": 6426,
"end": 6460,
"loc": {
"start": {
"line": 174,
"column": 16
},
"end": {
"line": 174,
"column": 50
}
},
"callee": {
"type": "MemberExpression",
"start": 6426,
"end": 6458,
"loc": {
"start": {
"line": 174,
"column": 16
},
"end": {
"line": 174,
"column": 48
}
},
"object": {
"type": "MemberExpression",
"start": 6426,
"end": 6446,
"loc": {
"start": {
"line": 174,
"column": 16
},
"end": {
"line": 174,
"column": 36
}
},
"object": {
"type": "MemberExpression",
"start": 6426,
"end": 6435,
"loc": {
"start": {
"line": 174,
"column": 16
},
"end": {
"line": 174,
"column": 25
}
},
"object": {
"type": "ThisExpression",
"start": 6426,
"end": 6430,
"loc": {
"start": {
"line": 174,
"column": 16
},
"end": {
"line": 174,
"column": 20
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 6431,
"end": 6435,
"loc": {
"start": {
"line": 174,
"column": 21
},
"end": {
"line": 174,
"column": 25
},
"identifierName": "root"
},
"name": "root"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 6436,
"end": 6446,
"loc": {
"start": {
"line": 174,
"column": 26
},
"end": {
"line": 174,
"column": 36
},
"identifierName": "soundProxy"
},
"name": "soundProxy"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 6447,
"end": 6458,
"loc": {
"start": {
"line": 174,
"column": 37
},
"end": {
"line": 174,
"column": 48
},
"identifierName": "playUiError"
},
"name": "playUiError"
},
"computed": false,
"leadingComments": null
},
"arguments": [],
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Not compatible",
"start": 6391,
"end": 6408,
"loc": {
"start": {
"line": 173,
"column": 16
},
"end": {
"line": 173,
"column": 33
}
}
}
]
},
{
"type": "ReturnStatement",
"start": 6479,
"end": 6486,
"loc": {
"start": {
"line": 175,
"column": 16
},
"end": {
"line": 175,
"column": 23
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 6517,
"end": 6574,
"loc": {
"start": {
"line": 178,
"column": 12
},
"end": {
"line": 178,
"column": 69
}
},
"expression": {
"type": "CallExpression",
"start": 6517,
"end": 6573,
"loc": {
"start": {
"line": 178,
"column": 12
},
"end": {
"line": 178,
"column": 68
}
},
"callee": {
"type": "MemberExpression",
"start": 6517,
"end": 6571,
"loc": {
"start": {
"line": 178,
"column": 12
},
"end": {
"line": 178,
"column": 66
}
},
"object": {
"type": "MemberExpression",
"start": 6517,
"end": 6562,
"loc": {
"start": {
"line": 178,
"column": 12
},
"end": {
"line": 178,
"column": 57
}
},
"object": {
"type": "MemberExpression",
"start": 6517,
"end": 6538,
"loc": {
"start": {
"line": 178,
"column": 12
},
"end": {
"line": 178,
"column": 33
}
},
"object": {
"type": "MemberExpression",
"start": 6517,
"end": 6530,
"loc": {
"start": {
"line": 178,
"column": 12
},
"end": {
"line": 178,
"column": 25
}
},
"object": {
"type": "MemberExpression",
"start": 6517,
"end": 6526,
"loc": {
"start": {
"line": 178,
"column": 12
},
"end": {
"line": 178,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 6517,
"end": 6521,
"loc": {
"start": {
"line": 178,
"column": 12
},
"end": {
"line": 178,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 6522,
"end": 6526,
"loc": {
"start": {
"line": 178,
"column": 17
},
"end": {
"line": 178,
"column": 21
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6527,
"end": 6530,
"loc": {
"start": {
"line": 178,
"column": 22
},
"end": {
"line": 178,
"column": 25
},
"identifierName": "hud"
},
"name": "hud"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6531,
"end": 6538,
"loc": {
"start": {
"line": 178,
"column": 26
},
"end": {
"line": 178,
"column": 33
},
"identifierName": "signals"
},
"name": "signals"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6539,
"end": 6562,
"loc": {
"start": {
"line": 178,
"column": 34
},
"end": {
"line": 178,
"column": 57
},
"identifierName": "pasteBlueprintRequested"
},
"name": "pasteBlueprintRequested"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6563,
"end": 6571,
"loc": {
"start": {
"line": 178,
"column": 58
},
"end": {
"line": 178,
"column": 66
},
"identifierName": "dispatch"
},
"name": "dispatch"
},
"computed": false
},
"arguments": []
}
},
{
"type": "ExpressionStatement",
"start": 6588,
"end": 6638,
"loc": {
"start": {
"line": 179,
"column": 12
},
"end": {
"line": 179,
"column": 62
}
},
"expression": {
"type": "CallExpression",
"start": 6588,
"end": 6637,
"loc": {
"start": {
"line": 179,
"column": 12
},
"end": {
"line": 179,
"column": 61
}
},
"callee": {
"type": "MemberExpression",
"start": 6588,
"end": 6613,
"loc": {
"start": {
"line": 179,
"column": 12
},
"end": {
"line": 179,
"column": 37
}
},
"object": {
"type": "MemberExpression",
"start": 6588,
"end": 6609,
"loc": {
"start": {
"line": 179,
"column": 12
},
"end": {
"line": 179,
"column": 33
}
},
"object": {
"type": "ThisExpression",
"start": 6588,
"end": 6592,
"loc": {
"start": {
"line": 179,
"column": 12
},
"end": {
"line": 179,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 6593,
"end": 6609,
"loc": {
"start": {
"line": 179,
"column": 17
},
"end": {
"line": 179,
"column": 33
},
"identifierName": "currentBlueprint"
},
"name": "currentBlueprint"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6610,
"end": 6613,
"loc": {
"start": {
"line": 179,
"column": 34
},
"end": {
"line": 179,
"column": 37
},
"identifierName": "set"
},
"name": "set"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 6614,
"end": 6636,
"loc": {
"start": {
"line": 179,
"column": 38
},
"end": {
"line": 179,
"column": 60
}
},
"object": {
"type": "ThisExpression",
"start": 6614,
"end": 6618,
"loc": {
"start": {
"line": 179,
"column": 38
},
"end": {
"line": 179,
"column": 42
}
}
},
"property": {
"type": "Identifier",
"start": 6619,
"end": 6636,
"loc": {
"start": {
"line": 179,
"column": 43
},
"end": {
"line": 179,
"column": 60
},
"identifierName": "lastBlueprintUsed"
},
"name": "lastBlueprintUsed"
},
"computed": false
}
]
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 6655,
"end": 6716,
"loc": {
"start": {
"line": 180,
"column": 15
},
"end": {
"line": 182,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 6670,
"end": 6705,
"loc": {
"start": {
"line": 181,
"column": 12
},
"end": {
"line": 181,
"column": 47
}
},
"expression": {
"type": "CallExpression",
"start": 6670,
"end": 6704,
"loc": {
"start": {
"line": 181,
"column": 12
},
"end": {
"line": 181,
"column": 46
}
},
"callee": {
"type": "MemberExpression",
"start": 6670,
"end": 6702,
"loc": {
"start": {
"line": 181,
"column": 12
},
"end": {
"line": 181,
"column": 44
}
},
"object": {
"type": "MemberExpression",
"start": 6670,
"end": 6690,
"loc": {
"start": {
"line": 181,
"column": 12
},
"end": {
"line": 181,
"column": 32
}
},
"object": {
"type": "MemberExpression",
"start": 6670,
"end": 6679,
"loc": {
"start": {
"line": 181,
"column": 12
},
"end": {
"line": 181,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 6670,
"end": 6674,
"loc": {
"start": {
"line": 181,
"column": 12
},
"end": {
"line": 181,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 6675,
"end": 6679,
"loc": {
"start": {
"line": 181,
"column": 17
},
"end": {
"line": 181,
"column": 21
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6680,
"end": 6690,
"loc": {
"start": {
"line": 181,
"column": 22
},
"end": {
"line": 181,
"column": 32
},
"identifierName": "soundProxy"
},
"name": "soundProxy"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6691,
"end": 6702,
"loc": {
"start": {
"line": 181,
"column": 33
},
"end": {
"line": 181,
"column": 44
},
"identifierName": "playUiError"
},
"name": "playUiError"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Attempts to paste the last blueprint\r\n ",
"start": 6168,
"end": 6225,
"loc": {
"start": {
"line": 167,
"column": 4
},
"end": {
"line": 169,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {DrawParameters} parameters\r\n ",
"start": 6731,
"end": 6794,
"loc": {
"start": {
"line": 185,
"column": 4
},
"end": {
"line": 188,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 6800,
"end": 7257,
"loc": {
"start": {
"line": 189,
"column": 4
},
"end": {
"line": 203,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 6800,
"end": 6804,
"loc": {
"start": {
"line": 189,
"column": 4
},
"end": {
"line": 189,
"column": 8
},
"identifierName": "draw"
},
"name": "draw",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 6805,
"end": 6815,
"loc": {
"start": {
"line": 189,
"column": 9
},
"end": {
"line": 189,
"column": 19
},
"identifierName": "parameters"
},
"name": "parameters"
}
],
"body": {
"type": "BlockStatement",
"start": 6817,
"end": 7257,
"loc": {
"start": {
"line": 189,
"column": 21
},
"end": {
"line": 203,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 6828,
"end": 6874,
"loc": {
"start": {
"line": 190,
"column": 8
},
"end": {
"line": 190,
"column": 54
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6834,
"end": 6873,
"loc": {
"start": {
"line": 190,
"column": 14
},
"end": {
"line": 190,
"column": 53
}
},
"id": {
"type": "Identifier",
"start": 6834,
"end": 6843,
"loc": {
"start": {
"line": 190,
"column": 14
},
"end": {
"line": 190,
"column": 23
},
"identifierName": "blueprint"
},
"name": "blueprint"
},
"init": {
"type": "CallExpression",
"start": 6846,
"end": 6873,
"loc": {
"start": {
"line": 190,
"column": 26
},
"end": {
"line": 190,
"column": 53
}
},
"callee": {
"type": "MemberExpression",
"start": 6846,
"end": 6871,
"loc": {
"start": {
"line": 190,
"column": 26
},
"end": {
"line": 190,
"column": 51
}
},
"object": {
"type": "MemberExpression",
"start": 6846,
"end": 6867,
"loc": {
"start": {
"line": 190,
"column": 26
},
"end": {
"line": 190,
"column": 47
}
},
"object": {
"type": "ThisExpression",
"start": 6846,
"end": 6850,
"loc": {
"start": {
"line": 190,
"column": 26
},
"end": {
"line": 190,
"column": 30
}
}
},
"property": {
"type": "Identifier",
"start": 6851,
"end": 6867,
"loc": {
"start": {
"line": 190,
"column": 31
},
"end": {
"line": 190,
"column": 47
},
"identifierName": "currentBlueprint"
},
"name": "currentBlueprint"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6868,
"end": 6871,
"loc": {
"start": {
"line": 190,
"column": 48
},
"end": {
"line": 190,
"column": 51
},
"identifierName": "get"
},
"name": "get"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 6884,
"end": 6933,
"loc": {
"start": {
"line": 191,
"column": 8
},
"end": {
"line": 193,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 6888,
"end": 6898,
"loc": {
"start": {
"line": 191,
"column": 12
},
"end": {
"line": 191,
"column": 22
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 6889,
"end": 6898,
"loc": {
"start": {
"line": 191,
"column": 13
},
"end": {
"line": 191,
"column": 22
},
"identifierName": "blueprint"
},
"name": "blueprint"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 6900,
"end": 6933,
"loc": {
"start": {
"line": 191,
"column": 24
},
"end": {
"line": 193,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 6915,
"end": 6922,
"loc": {
"start": {
"line": 192,
"column": 12
},
"end": {
"line": 192,
"column": 19
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 6943,
"end": 6993,
"loc": {
"start": {
"line": 194,
"column": 8
},
"end": {
"line": 194,
"column": 58
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6949,
"end": 6992,
"loc": {
"start": {
"line": 194,
"column": 14
},
"end": {
"line": 194,
"column": 57
}
},
"id": {
"type": "Identifier",
"start": 6949,
"end": 6962,
"loc": {
"start": {
"line": 194,
"column": 14
},
"end": {
"line": 194,
"column": 27
},
"identifierName": "mousePosition"
},
"name": "mousePosition"
},
"init": {
"type": "MemberExpression",
"start": 6965,
"end": 6992,
"loc": {
"start": {
"line": 194,
"column": 30
},
"end": {
"line": 194,
"column": 57
}
},
"object": {
"type": "MemberExpression",
"start": 6965,
"end": 6978,
"loc": {
"start": {
"line": 194,
"column": 30
},
"end": {
"line": 194,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 6965,
"end": 6974,
"loc": {
"start": {
"line": 194,
"column": 30
},
"end": {
"line": 194,
"column": 39
}
},
"object": {
"type": "ThisExpression",
"start": 6965,
"end": 6969,
"loc": {
"start": {
"line": 194,
"column": 30
},
"end": {
"line": 194,
"column": 34
}
}
},
"property": {
"type": "Identifier",
"start": 6970,
"end": 6974,
"loc": {
"start": {
"line": 194,
"column": 35
},
"end": {
"line": 194,
"column": 39
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6975,
"end": 6978,
"loc": {
"start": {
"line": 194,
"column": 40
},
"end": {
"line": 194,
"column": 43
},
"identifierName": "app"
},
"name": "app"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6979,
"end": 6992,
"loc": {
"start": {
"line": 194,
"column": 44
},
"end": {
"line": 194,
"column": 57
},
"identifierName": "mousePosition"
},
"name": "mousePosition"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 7003,
"end": 7086,
"loc": {
"start": {
"line": 195,
"column": 8
},
"end": {
"line": 198,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 7007,
"end": 7021,
"loc": {
"start": {
"line": 195,
"column": 12
},
"end": {
"line": 195,
"column": 26
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 7008,
"end": 7021,
"loc": {
"start": {
"line": 195,
"column": 13
},
"end": {
"line": 195,
"column": 26
},
"identifierName": "mousePosition"
},
"name": "mousePosition"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 7023,
"end": 7086,
"loc": {
"start": {
"line": 195,
"column": 28
},
"end": {
"line": 198,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 7068,
"end": 7075,
"loc": {
"start": {
"line": 197,
"column": 12
},
"end": {
"line": 197,
"column": 19
}
},
"argument": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Not on screen",
"start": 7038,
"end": 7054,
"loc": {
"start": {
"line": 196,
"column": 12
},
"end": {
"line": 196,
"column": 28
}
}
}
]
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 7098,
"end": 7161,
"loc": {
"start": {
"line": 200,
"column": 8
},
"end": {
"line": 200,
"column": 71
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 7104,
"end": 7160,
"loc": {
"start": {
"line": 200,
"column": 14
},
"end": {
"line": 200,
"column": 70
}
},
"id": {
"type": "Identifier",
"start": 7104,
"end": 7112,
"loc": {
"start": {
"line": 200,
"column": 14
},
"end": {
"line": 200,
"column": 22
},
"identifierName": "worldPos"
},
"name": "worldPos"
},
"init": {
"type": "CallExpression",
"start": 7115,
"end": 7160,
"loc": {
"start": {
"line": 200,
"column": 25
},
"end": {
"line": 200,
"column": 70
}
},
"callee": {
"type": "MemberExpression",
"start": 7115,
"end": 7145,
"loc": {
"start": {
"line": 200,
"column": 25
},
"end": {
"line": 200,
"column": 55
}
},
"object": {
"type": "MemberExpression",
"start": 7115,
"end": 7131,
"loc": {
"start": {
"line": 200,
"column": 25
},
"end": {
"line": 200,
"column": 41
}
},
"object": {
"type": "MemberExpression",
"start": 7115,
"end": 7124,
"loc": {
"start": {
"line": 200,
"column": 25
},
"end": {
"line": 200,
"column": 34
}
},
"object": {
"type": "ThisExpression",
"start": 7115,
"end": 7119,
"loc": {
"start": {
"line": 200,
"column": 25
},
"end": {
"line": 200,
"column": 29
}
}
},
"property": {
"type": "Identifier",
"start": 7120,
"end": 7124,
"loc": {
"start": {
"line": 200,
"column": 30
},
"end": {
"line": 200,
"column": 34
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7125,
"end": 7131,
"loc": {
"start": {
"line": 200,
"column": 35
},
"end": {
"line": 200,
"column": 41
},
"identifierName": "camera"
},
"name": "camera"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7132,
"end": 7145,
"loc": {
"start": {
"line": 200,
"column": 42
},
"end": {
"line": 200,
"column": 55
},
"identifierName": "screenToWorld"
},
"name": "screenToWorld"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 7146,
"end": 7159,
"loc": {
"start": {
"line": 200,
"column": 56
},
"end": {
"line": 200,
"column": 69
},
"identifierName": "mousePosition"
},
"name": "mousePosition"
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 7171,
"end": 7207,
"loc": {
"start": {
"line": 201,
"column": 8
},
"end": {
"line": 201,
"column": 44
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 7177,
"end": 7206,
"loc": {
"start": {
"line": 201,
"column": 14
},
"end": {
"line": 201,
"column": 43
}
},
"id": {
"type": "Identifier",
"start": 7177,
"end": 7181,
"loc": {
"start": {
"line": 201,
"column": 14
},
"end": {
"line": 201,
"column": 18
},
"identifierName": "tile"
},
"name": "tile"
},
"init": {
"type": "CallExpression",
"start": 7184,
"end": 7206,
"loc": {
"start": {
"line": 201,
"column": 21
},
"end": {
"line": 201,
"column": 43
}
},
"callee": {
"type": "MemberExpression",
"start": 7184,
"end": 7204,
"loc": {
"start": {
"line": 201,
"column": 21
},
"end": {
"line": 201,
"column": 41
}
},
"object": {
"type": "Identifier",
"start": 7184,
"end": 7192,
"loc": {
"start": {
"line": 201,
"column": 21
},
"end": {
"line": 201,
"column": 29
},
"identifierName": "worldPos"
},
"name": "worldPos"
},
"property": {
"type": "Identifier",
"start": 7193,
"end": 7204,
"loc": {
"start": {
"line": 201,
"column": 30
},
"end": {
"line": 201,
"column": 41
},
"identifierName": "toTileSpace"
},
"name": "toTileSpace"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 7217,
"end": 7250,
"loc": {
"start": {
"line": 202,
"column": 8
},
"end": {
"line": 202,
"column": 41
}
},
"expression": {
"type": "CallExpression",
"start": 7217,
"end": 7249,
"loc": {
"start": {
"line": 202,
"column": 8
},
"end": {
"line": 202,
"column": 40
}
},
"callee": {
"type": "MemberExpression",
"start": 7217,
"end": 7231,
"loc": {
"start": {
"line": 202,
"column": 8
},
"end": {
"line": 202,
"column": 22
}
},
"object": {
"type": "Identifier",
"start": 7217,
"end": 7226,
"loc": {
"start": {
"line": 202,
"column": 8
},
"end": {
"line": 202,
"column": 17
},
"identifierName": "blueprint"
},
"name": "blueprint"
},
"property": {
"type": "Identifier",
"start": 7227,
"end": 7231,
"loc": {
"start": {
"line": 202,
"column": 18
},
"end": {
"line": 202,
"column": 22
},
"identifierName": "draw"
},
"name": "draw"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 7232,
"end": 7242,
"loc": {
"start": {
"line": 202,
"column": 23
},
"end": {
"line": 202,
"column": 33
},
"identifierName": "parameters"
},
"name": "parameters"
},
{
"type": "Identifier",
"start": 7244,
"end": 7248,
"loc": {
"start": {
"line": 202,
"column": 35
},
"end": {
"line": 202,
"column": 39
},
"identifierName": "tile"
},
"name": "tile"
}
]
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {DrawParameters} parameters\r\n ",
"start": 6731,
"end": 6794,
"loc": {
"start": {
"line": 185,
"column": 4
},
"end": {
"line": 188,
"column": 7
}
}
}
]
}
]
},
"leadingComments": [],
"trailingComments": []
}
}
],
"directives": []
},
"comments": [
{
"type": "CommentBlock",
"value": "* @type {TypedTrackedState<Blueprint?>} ",
"start": 1517,
"end": 1561,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 52
}
}
},
{
"type": "CommentBlock",
"value": "* @type {Blueprint?} ",
"start": 1653,
"end": 1678,
"loc": {
"start": {
"line": 34,
"column": 8
},
"end": {
"line": 34,
"column": 33
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Called when the layer was changed\r\n * @param {Layer} layer\r\n ",
"start": 2863,
"end": 2946,
"loc": {
"start": {
"line": 61,
"column": 4
},
"end": {
"line": 64,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " Check if the layer of the blueprint differs and thus we have to deselect it",
"start": 2988,
"end": 3066,
"loc": {
"start": {
"line": 66,
"column": 8
},
"end": {
"line": 66,
"column": 86
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Called when the blueprint is now affordable or not\r\n * @param {boolean} canAfford\r\n ",
"start": 3285,
"end": 3391,
"loc": {
"start": {
"line": 75,
"column": 4
},
"end": {
"line": 78,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Called when the blueprint was changed\r\n * @param {Blueprint} blueprint\r\n ",
"start": 3784,
"end": 3879,
"loc": {
"start": {
"line": 89,
"column": 4
},
"end": {
"line": 92,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * mouse down pre handler\r\n * @param {Vector} pos\r\n * @param {enumMouseButton} button\r\n ",
"start": 4089,
"end": 4200,
"loc": {
"start": {
"line": 100,
"column": 4
},
"end": {
"line": 104,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Mose move handler\r\n ",
"start": 5233,
"end": 5271,
"loc": {
"start": {
"line": 133,
"column": 4
},
"end": {
"line": 135,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " Prevent movement while blueprint is selected",
"start": 5302,
"end": 5349,
"loc": {
"start": {
"line": 137,
"column": 8
},
"end": {
"line": 137,
"column": 55
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Called when an array of bulidings was selected\r\n * @param {Array<number>} uids\r\n ",
"start": 5457,
"end": 5560,
"loc": {
"start": {
"line": 143,
"column": 4
},
"end": {
"line": 146,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Attempts to rotate the current blueprint\r\n ",
"start": 5756,
"end": 5817,
"loc": {
"start": {
"line": 154,
"column": 4
},
"end": {
"line": 156,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Attempts to paste the last blueprint\r\n ",
"start": 6168,
"end": 6225,
"loc": {
"start": {
"line": 167,
"column": 4
},
"end": {
"line": 169,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " Not compatible",
"start": 6391,
"end": 6408,
"loc": {
"start": {
"line": 173,
"column": 16
},
"end": {
"line": 173,
"column": 33
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {DrawParameters} parameters\r\n ",
"start": 6731,
"end": 6794,
"loc": {
"start": {
"line": 185,
"column": 4
},
"end": {
"line": 188,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " Not on screen",
"start": 7038,
"end": 7054,
"loc": {
"start": {
"line": 196,
"column": 12
},
"end": {
"line": 196,
"column": 28
}
}
}
],
"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": "DrawParameters",
"start": 9,
"end": 23,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 24,
"end": 25,
"loc": {
"start": {
"line": 1,
"column": 24
},
"end": {
"line": 1,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 26,
"end": 30,
"loc": {
"start": {
"line": 1,
"column": 26
},
"end": {
"line": 1,
"column": 30
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../../core/draw_parameters",
"start": 31,
"end": 62,
"loc": {
"start": {
"line": 1,
"column": 31
},
"end": {
"line": 1,
"column": 62
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 62,
"end": 63,
"loc": {
"start": {
"line": 1,
"column": 62
},
"end": {
"line": 1,
"column": 63
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 65,
"end": 71,
"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": 72,
"end": 73,
"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": "STOP_PROPAGATION",
"start": 74,
"end": 90,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 25
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 91,
"end": 92,
"loc": {
"start": {
"line": 2,
"column": 26
},
"end": {
"line": 2,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 93,
"end": 97,
"loc": {
"start": {
"line": 2,
"column": 28
},
"end": {
"line": 2,
"column": 32
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../../core/signal",
"start": 98,
"end": 120,
"loc": {
"start": {
"line": 2,
"column": 33
},
"end": {
"line": 2,
"column": 55
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 120,
"end": 121,
"loc": {
"start": {
"line": 2,
"column": 55
},
"end": {
"line": 2,
"column": 56
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 123,
"end": 129,
"loc": {
"start": {
"line": 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": 130,
"end": 131,
"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": "TrackedState",
"start": 132,
"end": 144,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 21
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 145,
"end": 146,
"loc": {
"start": {
"line": 3,
"column": 22
},
"end": {
"line": 3,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 147,
"end": 151,
"loc": {
"start": {
"line": 3,
"column": 24
},
"end": {
"line": 3,
"column": 28
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../../core/tracked_state",
"start": 152,
"end": 181,
"loc": {
"start": {
"line": 3,
"column": 29
},
"end": {
"line": 3,
"column": 58
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 181,
"end": 182,
"loc": {
"start": {
"line": 3,
"column": 58
},
"end": {
"line": 3,
"column": 59
}
}
},
{
"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": 184,
"end": 190,
"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": 191,
"end": 192,
"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": "makeDiv",
"start": 193,
"end": 200,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 16
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 201,
"end": 202,
"loc": {
"start": {
"line": 4,
"column": 17
},
"end": {
"line": 4,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 203,
"end": 207,
"loc": {
"start": {
"line": 4,
"column": 19
},
"end": {
"line": 4,
"column": 23
}
}
},
{
"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": 208,
"end": 229,
"loc": {
"start": {
"line": 4,
"column": 24
},
"end": {
"line": 4,
"column": 45
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 229,
"end": 230,
"loc": {
"start": {
"line": 4,
"column": 45
},
"end": {
"line": 4,
"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": 232,
"end": 238,
"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": 239,
"end": 240,
"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": "Vector",
"start": 241,
"end": 247,
"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": 248,
"end": 249,
"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": 250,
"end": 254,
"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": "../../../core/vector",
"start": 255,
"end": 277,
"loc": {
"start": {
"line": 5,
"column": 23
},
"end": {
"line": 5,
"column": 45
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 277,
"end": 278,
"loc": {
"start": {
"line": 5,
"column": 45
},
"end": {
"line": 5,
"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": 280,
"end": 286,
"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": 287,
"end": 288,
"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": "SOUNDS",
"start": 289,
"end": 295,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 15
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 296,
"end": 297,
"loc": {
"start": {
"line": 6,
"column": 16
},
"end": {
"line": 6,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 298,
"end": 302,
"loc": {
"start": {
"line": 6,
"column": 18
},
"end": {
"line": 6,
"column": 22
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../../platform/sound",
"start": 303,
"end": 328,
"loc": {
"start": {
"line": 6,
"column": 23
},
"end": {
"line": 6,
"column": 48
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 328,
"end": 329,
"loc": {
"start": {
"line": 6,
"column": 48
},
"end": {
"line": 6,
"column": 49
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 331,
"end": 337,
"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": 338,
"end": 339,
"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": "T",
"start": 340,
"end": 341,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 10
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 342,
"end": 343,
"loc": {
"start": {
"line": 7,
"column": 11
},
"end": {
"line": 7,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 344,
"end": 348,
"loc": {
"start": {
"line": 7,
"column": 13
},
"end": {
"line": 7,
"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": 349,
"end": 372,
"loc": {
"start": {
"line": 7,
"column": 18
},
"end": {
"line": 7,
"column": 41
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 372,
"end": 373,
"loc": {
"start": {
"line": 7,
"column": 41
},
"end": {
"line": 7,
"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": 375,
"end": 381,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 8,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 382,
"end": 383,
"loc": {
"start": {
"line": 8,
"column": 7
},
"end": {
"line": 8,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Blueprint",
"start": 384,
"end": 393,
"loc": {
"start": {
"line": 8,
"column": 9
},
"end": {
"line": 8,
"column": 18
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 394,
"end": 395,
"loc": {
"start": {
"line": 8,
"column": 19
},
"end": {
"line": 8,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 396,
"end": 400,
"loc": {
"start": {
"line": 8,
"column": 21
},
"end": {
"line": 8,
"column": 25
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../blueprint",
"start": 401,
"end": 418,
"loc": {
"start": {
"line": 8,
"column": 26
},
"end": {
"line": 8,
"column": 43
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 418,
"end": 419,
"loc": {
"start": {
"line": 8,
"column": 43
},
"end": {
"line": 8,
"column": 44
}
}
},
{
"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": 421,
"end": 427,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 428,
"end": 429,
"loc": {
"start": {
"line": 9,
"column": 7
},
"end": {
"line": 9,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumMouseButton",
"start": 430,
"end": 445,
"loc": {
"start": {
"line": 9,
"column": 9
},
"end": {
"line": 9,
"column": 24
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 446,
"end": 447,
"loc": {
"start": {
"line": 9,
"column": 25
},
"end": {
"line": 9,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 448,
"end": 452,
"loc": {
"start": {
"line": 9,
"column": 27
},
"end": {
"line": 9,
"column": 31
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../camera",
"start": 453,
"end": 467,
"loc": {
"start": {
"line": 9,
"column": 32
},
"end": {
"line": 9,
"column": 46
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 467,
"end": 468,
"loc": {
"start": {
"line": 9,
"column": 46
},
"end": {
"line": 9,
"column": 47
}
}
},
{
"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": 470,
"end": 476,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 10,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 477,
"end": 478,
"loc": {
"start": {
"line": 10,
"column": 7
},
"end": {
"line": 10,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "KEYMAPPINGS",
"start": 479,
"end": 490,
"loc": {
"start": {
"line": 10,
"column": 9
},
"end": {
"line": 10,
"column": 20
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 491,
"end": 492,
"loc": {
"start": {
"line": 10,
"column": 21
},
"end": {
"line": 10,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 493,
"end": 497,
"loc": {
"start": {
"line": 10,
"column": 23
},
"end": {
"line": 10,
"column": 27
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../key_action_mapper",
"start": 498,
"end": 523,
"loc": {
"start": {
"line": 10,
"column": 28
},
"end": {
"line": 10,
"column": 53
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 523,
"end": 524,
"loc": {
"start": {
"line": 10,
"column": 53
},
"end": {
"line": 10,
"column": 54
}
}
},
{
"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": 526,
"end": 532,
"loc": {
"start": {
"line": 11,
"column": 0
},
"end": {
"line": 11,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 533,
"end": 534,
"loc": {
"start": {
"line": 11,
"column": 7
},
"end": {
"line": 11,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "BaseHUDPart",
"start": 535,
"end": 546,
"loc": {
"start": {
"line": 11,
"column": 9
},
"end": {
"line": 11,
"column": 20
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 547,
"end": 548,
"loc": {
"start": {
"line": 11,
"column": 21
},
"end": {
"line": 11,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 549,
"end": 553,
"loc": {
"start": {
"line": 11,
"column": 23
},
"end": {
"line": 11,
"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": 554,
"end": 572,
"loc": {
"start": {
"line": 11,
"column": 28
},
"end": {
"line": 11,
"column": 46
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 572,
"end": 573,
"loc": {
"start": {
"line": 11,
"column": 46
},
"end": {
"line": 11,
"column": 47
}
}
},
{
"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": 575,
"end": 581,
"loc": {
"start": {
"line": 12,
"column": 0
},
"end": {
"line": 12,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 582,
"end": 583,
"loc": {
"start": {
"line": 12,
"column": 7
},
"end": {
"line": 12,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "DynamicDomAttach",
"start": 584,
"end": 600,
"loc": {
"start": {
"line": 12,
"column": 9
},
"end": {
"line": 12,
"column": 25
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 601,
"end": 602,
"loc": {
"start": {
"line": 12,
"column": 26
},
"end": {
"line": 12,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 603,
"end": 607,
"loc": {
"start": {
"line": 12,
"column": 28
},
"end": {
"line": 12,
"column": 32
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../dynamic_dom_attach",
"start": 608,
"end": 631,
"loc": {
"start": {
"line": 12,
"column": 33
},
"end": {
"line": 12,
"column": 56
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 631,
"end": 632,
"loc": {
"start": {
"line": 12,
"column": 56
},
"end": {
"line": 12,
"column": 57
}
}
},
{
"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": 636,
"end": 642,
"loc": {
"start": {
"line": 14,
"column": 0
},
"end": {
"line": 14,
"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": 643,
"end": 648,
"loc": {
"start": {
"line": 14,
"column": 7
},
"end": {
"line": 14,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "HUDBlueprintPlacer",
"start": 649,
"end": 667,
"loc": {
"start": {
"line": 14,
"column": 13
},
"end": {
"line": 14,
"column": 31
}
}
},
{
"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": 668,
"end": 675,
"loc": {
"start": {
"line": 14,
"column": 32
},
"end": {
"line": 14,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "BaseHUDPart",
"start": 676,
"end": 687,
"loc": {
"start": {
"line": 14,
"column": 40
},
"end": {
"line": 14,
"column": 51
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 688,
"end": 689,
"loc": {
"start": {
"line": 14,
"column": 52
},
"end": {
"line": 14,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "createElements",
"start": 695,
"end": 709,
"loc": {
"start": {
"line": 15,
"column": 4
},
"end": {
"line": 15,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 709,
"end": 710,
"loc": {
"start": {
"line": 15,
"column": 18
},
"end": {
"line": 15,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parent",
"start": 710,
"end": 716,
"loc": {
"start": {
"line": 15,
"column": 19
},
"end": {
"line": 15,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 716,
"end": 717,
"loc": {
"start": {
"line": 15,
"column": 25
},
"end": {
"line": 15,
"column": 26
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 718,
"end": 719,
"loc": {
"start": {
"line": 15,
"column": 27
},
"end": {
"line": 15,
"column": 28
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 729,
"end": 734,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "blueprintCostShape",
"start": 735,
"end": 753,
"loc": {
"start": {
"line": 16,
"column": 14
},
"end": {
"line": 16,
"column": 32
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 754,
"end": 755,
"loc": {
"start": {
"line": 16,
"column": 33
},
"end": {
"line": 16,
"column": 34
}
}
},
{
"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": 756,
"end": 760,
"loc": {
"start": {
"line": 16,
"column": 35
},
"end": {
"line": 16,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 760,
"end": 761,
"loc": {
"start": {
"line": 16,
"column": 39
},
"end": {
"line": 16,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 761,
"end": 765,
"loc": {
"start": {
"line": 16,
"column": 40
},
"end": {
"line": 16,
"column": 44
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 765,
"end": 766,
"loc": {
"start": {
"line": 16,
"column": 44
},
"end": {
"line": 16,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "shapeDefinitionMgr",
"start": 766,
"end": 784,
"loc": {
"start": {
"line": 16,
"column": 45
},
"end": {
"line": 16,
"column": 63
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 784,
"end": 785,
"loc": {
"start": {
"line": 16,
"column": 63
},
"end": {
"line": 16,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getShapeFromShortKey",
"start": 785,
"end": 805,
"loc": {
"start": {
"line": 16,
"column": 64
},
"end": {
"line": 16,
"column": 84
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 805,
"end": 806,
"loc": {
"start": {
"line": 16,
"column": 84
},
"end": {
"line": 16,
"column": 85
}
}
},
{
"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": 820,
"end": 824,
"loc": {
"start": {
"line": 17,
"column": 12
},
"end": {
"line": 17,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 824,
"end": 825,
"loc": {
"start": {
"line": 17,
"column": 16
},
"end": {
"line": 17,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 825,
"end": 829,
"loc": {
"start": {
"line": 17,
"column": 17
},
"end": {
"line": 17,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 829,
"end": 830,
"loc": {
"start": {
"line": 17,
"column": 21
},
"end": {
"line": 17,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "gameMode",
"start": 830,
"end": 838,
"loc": {
"start": {
"line": 17,
"column": 22
},
"end": {
"line": 17,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 838,
"end": 839,
"loc": {
"start": {
"line": 17,
"column": 30
},
"end": {
"line": 17,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getBlueprintShapeKey",
"start": 839,
"end": 859,
"loc": {
"start": {
"line": 17,
"column": 31
},
"end": {
"line": 17,
"column": 51
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 859,
"end": 860,
"loc": {
"start": {
"line": 17,
"column": 51
},
"end": {
"line": 17,
"column": 52
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 860,
"end": 861,
"loc": {
"start": {
"line": 17,
"column": 52
},
"end": {
"line": 17,
"column": 53
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 871,
"end": 872,
"loc": {
"start": {
"line": 18,
"column": 8
},
"end": {
"line": 18,
"column": 9
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 872,
"end": 873,
"loc": {
"start": {
"line": 18,
"column": 9
},
"end": {
"line": 18,
"column": 10
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 883,
"end": 888,
"loc": {
"start": {
"line": 19,
"column": 8
},
"end": {
"line": 19,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "blueprintCostShapeCanvas",
"start": 889,
"end": 913,
"loc": {
"start": {
"line": 19,
"column": 14
},
"end": {
"line": 19,
"column": 38
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 914,
"end": 915,
"loc": {
"start": {
"line": 19,
"column": 39
},
"end": {
"line": 19,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "blueprintCostShape",
"start": 916,
"end": 934,
"loc": {
"start": {
"line": 19,
"column": 41
},
"end": {
"line": 19,
"column": 59
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 934,
"end": 935,
"loc": {
"start": {
"line": 19,
"column": 59
},
"end": {
"line": 19,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "generateAsCanvas",
"start": 935,
"end": 951,
"loc": {
"start": {
"line": 19,
"column": 60
},
"end": {
"line": 19,
"column": 76
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 951,
"end": 952,
"loc": {
"start": {
"line": 19,
"column": 76
},
"end": {
"line": 19,
"column": 77
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 80,
"start": 952,
"end": 954,
"loc": {
"start": {
"line": 19,
"column": 77
},
"end": {
"line": 19,
"column": 79
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 954,
"end": 955,
"loc": {
"start": {
"line": 19,
"column": 79
},
"end": {
"line": 19,
"column": 80
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 955,
"end": 956,
"loc": {
"start": {
"line": 19,
"column": 80
},
"end": {
"line": 19,
"column": 81
}
}
},
{
"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": 968,
"end": 972,
"loc": {
"start": {
"line": 21,
"column": 8
},
"end": {
"line": 21,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 972,
"end": 973,
"loc": {
"start": {
"line": 21,
"column": 12
},
"end": {
"line": 21,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "costDisplayParent",
"start": 973,
"end": 990,
"loc": {
"start": {
"line": 21,
"column": 13
},
"end": {
"line": 21,
"column": 30
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 991,
"end": 992,
"loc": {
"start": {
"line": 21,
"column": 31
},
"end": {
"line": 21,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "makeDiv",
"start": 993,
"end": 1000,
"loc": {
"start": {
"line": 21,
"column": 33
},
"end": {
"line": 21,
"column": 40
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1000,
"end": 1001,
"loc": {
"start": {
"line": 21,
"column": 40
},
"end": {
"line": 21,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parent",
"start": 1001,
"end": 1007,
"loc": {
"start": {
"line": 21,
"column": 41
},
"end": {
"line": 21,
"column": 47
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1007,
"end": 1008,
"loc": {
"start": {
"line": 21,
"column": 47
},
"end": {
"line": 21,
"column": 48
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "ingame_HUD_BlueprintPlacer",
"start": 1009,
"end": 1037,
"loc": {
"start": {
"line": 21,
"column": 49
},
"end": {
"line": 21,
"column": 77
}
}
},
{
"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": 21,
"column": 77
},
"end": {
"line": 21,
"column": 78
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1039,
"end": 1040,
"loc": {
"start": {
"line": 21,
"column": 79
},
"end": {
"line": 21,
"column": 80
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1040,
"end": 1041,
"loc": {
"start": {
"line": 21,
"column": 80
},
"end": {
"line": 21,
"column": 81
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1041,
"end": 1042,
"loc": {
"start": {
"line": 21,
"column": 81
},
"end": {
"line": 21,
"column": 82
}
}
},
{
"type": {
"label": "`",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1043,
"end": 1044,
"loc": {
"start": {
"line": 21,
"column": 83
},
"end": {
"line": 21,
"column": 84
}
}
},
{
"type": {
"label": "template",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "",
"start": 1044,
"end": 1044,
"loc": {
"start": {
"line": 21,
"column": 84
},
"end": {
"line": 21,
"column": 84
}
}
},
{
"type": {
"label": "`",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1044,
"end": 1045,
"loc": {
"start": {
"line": 21,
"column": 84
},
"end": {
"line": 21,
"column": 85
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1045,
"end": 1046,
"loc": {
"start": {
"line": 21,
"column": 85
},
"end": {
"line": 21,
"column": 86
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1046,
"end": 1047,
"loc": {
"start": {
"line": 21,
"column": 86
},
"end": {
"line": 21,
"column": 87
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "makeDiv",
"start": 1059,
"end": 1066,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 23,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1066,
"end": 1067,
"loc": {
"start": {
"line": 23,
"column": 15
},
"end": {
"line": 23,
"column": 16
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1067,
"end": 1071,
"loc": {
"start": {
"line": 23,
"column": 16
},
"end": {
"line": 23,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1071,
"end": 1072,
"loc": {
"start": {
"line": 23,
"column": 20
},
"end": {
"line": 23,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "costDisplayParent",
"start": 1072,
"end": 1089,
"loc": {
"start": {
"line": 23,
"column": 21
},
"end": {
"line": 23,
"column": 38
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1089,
"end": 1090,
"loc": {
"start": {
"line": 23,
"column": 38
},
"end": {
"line": 23,
"column": 39
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 1091,
"end": 1095,
"loc": {
"start": {
"line": 23,
"column": 40
},
"end": {
"line": 23,
"column": 44
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1095,
"end": 1096,
"loc": {
"start": {
"line": 23,
"column": 44
},
"end": {
"line": 23,
"column": 45
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1097,
"end": 1098,
"loc": {
"start": {
"line": 23,
"column": 46
},
"end": {
"line": 23,
"column": 47
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "label",
"start": 1098,
"end": 1105,
"loc": {
"start": {
"line": 23,
"column": 47
},
"end": {
"line": 23,
"column": 54
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1105,
"end": 1106,
"loc": {
"start": {
"line": 23,
"column": 54
},
"end": {
"line": 23,
"column": 55
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1106,
"end": 1107,
"loc": {
"start": {
"line": 23,
"column": 55
},
"end": {
"line": 23,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "T",
"start": 1108,
"end": 1109,
"loc": {
"start": {
"line": 23,
"column": 57
},
"end": {
"line": 23,
"column": 58
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1109,
"end": 1110,
"loc": {
"start": {
"line": 23,
"column": 58
},
"end": {
"line": 23,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ingame",
"start": 1110,
"end": 1116,
"loc": {
"start": {
"line": 23,
"column": 59
},
"end": {
"line": 23,
"column": 65
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1116,
"end": 1117,
"loc": {
"start": {
"line": 23,
"column": 65
},
"end": {
"line": 23,
"column": 66
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "blueprintPlacer",
"start": 1117,
"end": 1132,
"loc": {
"start": {
"line": 23,
"column": 66
},
"end": {
"line": 23,
"column": 81
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1132,
"end": 1133,
"loc": {
"start": {
"line": 23,
"column": 81
},
"end": {
"line": 23,
"column": 82
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cost",
"start": 1133,
"end": 1137,
"loc": {
"start": {
"line": 23,
"column": 82
},
"end": {
"line": 23,
"column": 86
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1137,
"end": 1138,
"loc": {
"start": {
"line": 23,
"column": 86
},
"end": {
"line": 23,
"column": 87
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1138,
"end": 1139,
"loc": {
"start": {
"line": 23,
"column": 87
},
"end": {
"line": 23,
"column": 88
}
}
},
{
"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": 1149,
"end": 1154,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 24,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "costContainer",
"start": 1155,
"end": 1168,
"loc": {
"start": {
"line": 24,
"column": 14
},
"end": {
"line": 24,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1169,
"end": 1170,
"loc": {
"start": {
"line": 24,
"column": 28
},
"end": {
"line": 24,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "makeDiv",
"start": 1171,
"end": 1178,
"loc": {
"start": {
"line": 24,
"column": 30
},
"end": {
"line": 24,
"column": 37
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1178,
"end": 1179,
"loc": {
"start": {
"line": 24,
"column": 37
},
"end": {
"line": 24,
"column": 38
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1179,
"end": 1183,
"loc": {
"start": {
"line": 24,
"column": 38
},
"end": {
"line": 24,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1183,
"end": 1184,
"loc": {
"start": {
"line": 24,
"column": 42
},
"end": {
"line": 24,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "costDisplayParent",
"start": 1184,
"end": 1201,
"loc": {
"start": {
"line": 24,
"column": 43
},
"end": {
"line": 24,
"column": 60
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1201,
"end": 1202,
"loc": {
"start": {
"line": 24,
"column": 60
},
"end": {
"line": 24,
"column": 61
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 1203,
"end": 1207,
"loc": {
"start": {
"line": 24,
"column": 62
},
"end": {
"line": 24,
"column": 66
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1207,
"end": 1208,
"loc": {
"start": {
"line": 24,
"column": 66
},
"end": {
"line": 24,
"column": 67
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1209,
"end": 1210,
"loc": {
"start": {
"line": 24,
"column": 68
},
"end": {
"line": 24,
"column": 69
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "costContainer",
"start": 1210,
"end": 1225,
"loc": {
"start": {
"line": 24,
"column": 69
},
"end": {
"line": 24,
"column": 84
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1225,
"end": 1226,
"loc": {
"start": {
"line": 24,
"column": 84
},
"end": {
"line": 24,
"column": 85
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1226,
"end": 1227,
"loc": {
"start": {
"line": 24,
"column": 85
},
"end": {
"line": 24,
"column": 86
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "",
"start": 1228,
"end": 1230,
"loc": {
"start": {
"line": 24,
"column": 87
},
"end": {
"line": 24,
"column": 89
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1230,
"end": 1231,
"loc": {
"start": {
"line": 24,
"column": 89
},
"end": {
"line": 24,
"column": 90
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1231,
"end": 1232,
"loc": {
"start": {
"line": 24,
"column": 90
},
"end": {
"line": 24,
"column": 91
}
}
},
{
"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": 1242,
"end": 1246,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1246,
"end": 1247,
"loc": {
"start": {
"line": 25,
"column": 12
},
"end": {
"line": 25,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "costDisplayText",
"start": 1247,
"end": 1262,
"loc": {
"start": {
"line": 25,
"column": 13
},
"end": {
"line": 25,
"column": 28
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1263,
"end": 1264,
"loc": {
"start": {
"line": 25,
"column": 29
},
"end": {
"line": 25,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "makeDiv",
"start": 1265,
"end": 1272,
"loc": {
"start": {
"line": 25,
"column": 31
},
"end": {
"line": 25,
"column": 38
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1272,
"end": 1273,
"loc": {
"start": {
"line": 25,
"column": 38
},
"end": {
"line": 25,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "costContainer",
"start": 1273,
"end": 1286,
"loc": {
"start": {
"line": 25,
"column": 39
},
"end": {
"line": 25,
"column": 52
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1286,
"end": 1287,
"loc": {
"start": {
"line": 25,
"column": 52
},
"end": {
"line": 25,
"column": 53
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 1288,
"end": 1292,
"loc": {
"start": {
"line": 25,
"column": 54
},
"end": {
"line": 25,
"column": 58
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1292,
"end": 1293,
"loc": {
"start": {
"line": 25,
"column": 58
},
"end": {
"line": 25,
"column": 59
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1294,
"end": 1295,
"loc": {
"start": {
"line": 25,
"column": 60
},
"end": {
"line": 25,
"column": 61
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "costText",
"start": 1295,
"end": 1305,
"loc": {
"start": {
"line": 25,
"column": 61
},
"end": {
"line": 25,
"column": 71
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1305,
"end": 1306,
"loc": {
"start": {
"line": 25,
"column": 71
},
"end": {
"line": 25,
"column": 72
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1306,
"end": 1307,
"loc": {
"start": {
"line": 25,
"column": 72
},
"end": {
"line": 25,
"column": 73
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "",
"start": 1308,
"end": 1310,
"loc": {
"start": {
"line": 25,
"column": 74
},
"end": {
"line": 25,
"column": 76
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1310,
"end": 1311,
"loc": {
"start": {
"line": 25,
"column": 76
},
"end": {
"line": 25,
"column": 77
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1311,
"end": 1312,
"loc": {
"start": {
"line": 25,
"column": 77
},
"end": {
"line": 25,
"column": 78
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "costContainer",
"start": 1322,
"end": 1335,
"loc": {
"start": {
"line": 26,
"column": 8
},
"end": {
"line": 26,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1335,
"end": 1336,
"loc": {
"start": {
"line": 26,
"column": 21
},
"end": {
"line": 26,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "appendChild",
"start": 1336,
"end": 1347,
"loc": {
"start": {
"line": 26,
"column": 22
},
"end": {
"line": 26,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1347,
"end": 1348,
"loc": {
"start": {
"line": 26,
"column": 33
},
"end": {
"line": 26,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "blueprintCostShapeCanvas",
"start": 1348,
"end": 1372,
"loc": {
"start": {
"line": 26,
"column": 34
},
"end": {
"line": 26,
"column": 58
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1372,
"end": 1373,
"loc": {
"start": {
"line": 26,
"column": 58
},
"end": {
"line": 26,
"column": 59
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1373,
"end": 1374,
"loc": {
"start": {
"line": 26,
"column": 59
},
"end": {
"line": 26,
"column": 60
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1380,
"end": 1381,
"loc": {
"start": {
"line": 27,
"column": 4
},
"end": {
"line": 27,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "initialize",
"start": 1389,
"end": 1399,
"loc": {
"start": {
"line": 29,
"column": 4
},
"end": {
"line": 29,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1399,
"end": 1400,
"loc": {
"start": {
"line": 29,
"column": 14
},
"end": {
"line": 29,
"column": 15
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1400,
"end": 1401,
"loc": {
"start": {
"line": 29,
"column": 15
},
"end": {
"line": 29,
"column": 16
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1402,
"end": 1403,
"loc": {
"start": {
"line": 29,
"column": 17
},
"end": {
"line": 29,
"column": 18
}
}
},
{
"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": 1413,
"end": 1417,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1417,
"end": 1418,
"loc": {
"start": {
"line": 30,
"column": 12
},
"end": {
"line": 30,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 1418,
"end": 1422,
"loc": {
"start": {
"line": 30,
"column": 13
},
"end": {
"line": 30,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1422,
"end": 1423,
"loc": {
"start": {
"line": 30,
"column": 17
},
"end": {
"line": 30,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hud",
"start": 1423,
"end": 1426,
"loc": {
"start": {
"line": 30,
"column": 18
},
"end": {
"line": 30,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1426,
"end": 1427,
"loc": {
"start": {
"line": 30,
"column": 21
},
"end": {
"line": 30,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "signals",
"start": 1427,
"end": 1434,
"loc": {
"start": {
"line": 30,
"column": 22
},
"end": {
"line": 30,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1434,
"end": 1435,
"loc": {
"start": {
"line": 30,
"column": 29
},
"end": {
"line": 30,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buildingsSelectedForCopy",
"start": 1435,
"end": 1459,
"loc": {
"start": {
"line": 30,
"column": 30
},
"end": {
"line": 30,
"column": 54
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1459,
"end": 1460,
"loc": {
"start": {
"line": 30,
"column": 54
},
"end": {
"line": 30,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 1460,
"end": 1463,
"loc": {
"start": {
"line": 30,
"column": 55
},
"end": {
"line": 30,
"column": 58
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1463,
"end": 1464,
"loc": {
"start": {
"line": 30,
"column": 58
},
"end": {
"line": 30,
"column": 59
}
}
},
{
"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": 1464,
"end": 1468,
"loc": {
"start": {
"line": 30,
"column": 59
},
"end": {
"line": 30,
"column": 63
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1468,
"end": 1469,
"loc": {
"start": {
"line": 30,
"column": 63
},
"end": {
"line": 30,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "createBlueprintFromBuildings",
"start": 1469,
"end": 1497,
"loc": {
"start": {
"line": 30,
"column": 64
},
"end": {
"line": 30,
"column": 92
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1497,
"end": 1498,
"loc": {
"start": {
"line": 30,
"column": 92
},
"end": {
"line": 30,
"column": 93
}
}
},
{
"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": 1499,
"end": 1503,
"loc": {
"start": {
"line": 30,
"column": 94
},
"end": {
"line": 30,
"column": 98
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1503,
"end": 1504,
"loc": {
"start": {
"line": 30,
"column": 98
},
"end": {
"line": 30,
"column": 99
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1504,
"end": 1505,
"loc": {
"start": {
"line": 30,
"column": 99
},
"end": {
"line": 30,
"column": 100
}
}
},
{
"type": "CommentBlock",
"value": "* @type {TypedTrackedState<Blueprint?>} ",
"start": 1517,
"end": 1561,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 52
}
}
},
{
"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": 1571,
"end": 1575,
"loc": {
"start": {
"line": 33,
"column": 8
},
"end": {
"line": 33,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1575,
"end": 1576,
"loc": {
"start": {
"line": 33,
"column": 12
},
"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": "currentBlueprint",
"start": 1576,
"end": 1592,
"loc": {
"start": {
"line": 33,
"column": 13
},
"end": {
"line": 33,
"column": 29
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1593,
"end": 1594,
"loc": {
"start": {
"line": 33,
"column": 30
},
"end": {
"line": 33,
"column": 31
}
}
},
{
"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": 1595,
"end": 1598,
"loc": {
"start": {
"line": 33,
"column": 32
},
"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": "TrackedState",
"start": 1599,
"end": 1611,
"loc": {
"start": {
"line": 33,
"column": 36
},
"end": {
"line": 33,
"column": 48
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1611,
"end": 1612,
"loc": {
"start": {
"line": 33,
"column": 48
},
"end": {
"line": 33,
"column": 49
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1612,
"end": 1616,
"loc": {
"start": {
"line": 33,
"column": 49
},
"end": {
"line": 33,
"column": 53
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1616,
"end": 1617,
"loc": {
"start": {
"line": 33,
"column": 53
},
"end": {
"line": 33,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "onBlueprintChanged",
"start": 1617,
"end": 1635,
"loc": {
"start": {
"line": 33,
"column": 54
},
"end": {
"line": 33,
"column": 72
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1635,
"end": 1636,
"loc": {
"start": {
"line": 33,
"column": 72
},
"end": {
"line": 33,
"column": 73
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1637,
"end": 1641,
"loc": {
"start": {
"line": 33,
"column": 74
},
"end": {
"line": 33,
"column": 78
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1641,
"end": 1642,
"loc": {
"start": {
"line": 33,
"column": 78
},
"end": {
"line": 33,
"column": 79
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1642,
"end": 1643,
"loc": {
"start": {
"line": 33,
"column": 79
},
"end": {
"line": 33,
"column": 80
}
}
},
{
"type": "CommentBlock",
"value": "* @type {Blueprint?} ",
"start": 1653,
"end": 1678,
"loc": {
"start": {
"line": 34,
"column": 8
},
"end": {
"line": 34,
"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": 1688,
"end": 1692,
"loc": {
"start": {
"line": 35,
"column": 8
},
"end": {
"line": 35,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1692,
"end": 1693,
"loc": {
"start": {
"line": 35,
"column": 12
},
"end": {
"line": 35,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "lastBlueprintUsed",
"start": 1693,
"end": 1710,
"loc": {
"start": {
"line": 35,
"column": 13
},
"end": {
"line": 35,
"column": 30
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1711,
"end": 1712,
"loc": {
"start": {
"line": 35,
"column": 31
},
"end": {
"line": 35,
"column": 32
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 1713,
"end": 1717,
"loc": {
"start": {
"line": 35,
"column": 33
},
"end": {
"line": 35,
"column": 37
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1717,
"end": 1718,
"loc": {
"start": {
"line": 35,
"column": 37
},
"end": {
"line": 35,
"column": 38
}
}
},
{
"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": 1730,
"end": 1735,
"loc": {
"start": {
"line": 37,
"column": 8
},
"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": "keyActionMapper",
"start": 1736,
"end": 1751,
"loc": {
"start": {
"line": 37,
"column": 14
},
"end": {
"line": 37,
"column": 29
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1752,
"end": 1753,
"loc": {
"start": {
"line": 37,
"column": 30
},
"end": {
"line": 37,
"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": 1754,
"end": 1758,
"loc": {
"start": {
"line": 37,
"column": 32
},
"end": {
"line": 37,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1758,
"end": 1759,
"loc": {
"start": {
"line": 37,
"column": 36
},
"end": {
"line": 37,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 1759,
"end": 1763,
"loc": {
"start": {
"line": 37,
"column": 37
},
"end": {
"line": 37,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1763,
"end": 1764,
"loc": {
"start": {
"line": 37,
"column": 41
},
"end": {
"line": 37,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "keyMapper",
"start": 1764,
"end": 1773,
"loc": {
"start": {
"line": 37,
"column": 42
},
"end": {
"line": 37,
"column": 51
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1773,
"end": 1774,
"loc": {
"start": {
"line": 37,
"column": 51
},
"end": {
"line": 37,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "keyActionMapper",
"start": 1784,
"end": 1799,
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 38,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1799,
"end": 1800,
"loc": {
"start": {
"line": 38,
"column": 23
},
"end": {
"line": 38,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getBinding",
"start": 1800,
"end": 1810,
"loc": {
"start": {
"line": 38,
"column": 24
},
"end": {
"line": 38,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1810,
"end": 1811,
"loc": {
"start": {
"line": 38,
"column": 34
},
"end": {
"line": 38,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "KEYMAPPINGS",
"start": 1811,
"end": 1822,
"loc": {
"start": {
"line": 38,
"column": 35
},
"end": {
"line": 38,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1822,
"end": 1823,
"loc": {
"start": {
"line": 38,
"column": 46
},
"end": {
"line": 38,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "general",
"start": 1823,
"end": 1830,
"loc": {
"start": {
"line": 38,
"column": 47
},
"end": {
"line": 38,
"column": 54
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1830,
"end": 1831,
"loc": {
"start": {
"line": 38,
"column": 54
},
"end": {
"line": 38,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "back",
"start": 1831,
"end": 1835,
"loc": {
"start": {
"line": 38,
"column": 55
},
"end": {
"line": 38,
"column": 59
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1835,
"end": 1836,
"loc": {
"start": {
"line": 38,
"column": 59
},
"end": {
"line": 38,
"column": 60
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1836,
"end": 1837,
"loc": {
"start": {
"line": 38,
"column": 60
},
"end": {
"line": 38,
"column": 61
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 1837,
"end": 1840,
"loc": {
"start": {
"line": 38,
"column": 61
},
"end": {
"line": 38,
"column": 64
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1840,
"end": 1841,
"loc": {
"start": {
"line": 38,
"column": 64
},
"end": {
"line": 38,
"column": 65
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1841,
"end": 1845,
"loc": {
"start": {
"line": 38,
"column": 65
},
"end": {
"line": 38,
"column": 69
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1845,
"end": 1846,
"loc": {
"start": {
"line": 38,
"column": 69
},
"end": {
"line": 38,
"column": 70
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "abortPlacement",
"start": 1846,
"end": 1860,
"loc": {
"start": {
"line": 38,
"column": 70
},
"end": {
"line": 38,
"column": 84
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1860,
"end": 1861,
"loc": {
"start": {
"line": 38,
"column": 84
},
"end": {
"line": 38,
"column": 85
}
}
},
{
"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": 1862,
"end": 1866,
"loc": {
"start": {
"line": 38,
"column": 86
},
"end": {
"line": 38,
"column": 90
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1866,
"end": 1867,
"loc": {
"start": {
"line": 38,
"column": 90
},
"end": {
"line": 38,
"column": 91
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1867,
"end": 1868,
"loc": {
"start": {
"line": 38,
"column": 91
},
"end": {
"line": 38,
"column": 92
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "keyActionMapper",
"start": 1878,
"end": 1893,
"loc": {
"start": {
"line": 39,
"column": 8
},
"end": {
"line": 39,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1893,
"end": 1894,
"loc": {
"start": {
"line": 39,
"column": 23
},
"end": {
"line": 39,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getBinding",
"start": 1894,
"end": 1904,
"loc": {
"start": {
"line": 39,
"column": 24
},
"end": {
"line": 39,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1904,
"end": 1905,
"loc": {
"start": {
"line": 39,
"column": 34
},
"end": {
"line": 39,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "KEYMAPPINGS",
"start": 1905,
"end": 1916,
"loc": {
"start": {
"line": 39,
"column": 35
},
"end": {
"line": 39,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1916,
"end": 1917,
"loc": {
"start": {
"line": 39,
"column": 46
},
"end": {
"line": 39,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "placement",
"start": 1917,
"end": 1926,
"loc": {
"start": {
"line": 39,
"column": 47
},
"end": {
"line": 39,
"column": 56
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1926,
"end": 1927,
"loc": {
"start": {
"line": 39,
"column": 56
},
"end": {
"line": 39,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pipette",
"start": 1927,
"end": 1934,
"loc": {
"start": {
"line": 39,
"column": 57
},
"end": {
"line": 39,
"column": 64
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1934,
"end": 1935,
"loc": {
"start": {
"line": 39,
"column": 64
},
"end": {
"line": 39,
"column": 65
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1935,
"end": 1936,
"loc": {
"start": {
"line": 39,
"column": 65
},
"end": {
"line": 39,
"column": 66
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 1936,
"end": 1939,
"loc": {
"start": {
"line": 39,
"column": 66
},
"end": {
"line": 39,
"column": 69
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1939,
"end": 1940,
"loc": {
"start": {
"line": 39,
"column": 69
},
"end": {
"line": 39,
"column": 70
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1940,
"end": 1944,
"loc": {
"start": {
"line": 39,
"column": 70
},
"end": {
"line": 39,
"column": 74
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1944,
"end": 1945,
"loc": {
"start": {
"line": 39,
"column": 74
},
"end": {
"line": 39,
"column": 75
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "abortPlacement",
"start": 1945,
"end": 1959,
"loc": {
"start": {
"line": 39,
"column": 75
},
"end": {
"line": 39,
"column": 89
}
}
},
{
"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": 39,
"column": 89
},
"end": {
"line": 39,
"column": 90
}
}
},
{
"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": 1961,
"end": 1965,
"loc": {
"start": {
"line": 39,
"column": 91
},
"end": {
"line": 39,
"column": 95
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1965,
"end": 1966,
"loc": {
"start": {
"line": 39,
"column": 95
},
"end": {
"line": 39,
"column": 96
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1966,
"end": 1967,
"loc": {
"start": {
"line": 39,
"column": 96
},
"end": {
"line": 39,
"column": 97
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "keyActionMapper",
"start": 1977,
"end": 1992,
"loc": {
"start": {
"line": 40,
"column": 8
},
"end": {
"line": 40,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1992,
"end": 1993,
"loc": {
"start": {
"line": 40,
"column": 23
},
"end": {
"line": 40,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getBinding",
"start": 1993,
"end": 2003,
"loc": {
"start": {
"line": 40,
"column": 24
},
"end": {
"line": 40,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2003,
"end": 2004,
"loc": {
"start": {
"line": 40,
"column": 34
},
"end": {
"line": 40,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "KEYMAPPINGS",
"start": 2004,
"end": 2015,
"loc": {
"start": {
"line": 40,
"column": 35
},
"end": {
"line": 40,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2015,
"end": 2016,
"loc": {
"start": {
"line": 40,
"column": 46
},
"end": {
"line": 40,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "placement",
"start": 2016,
"end": 2025,
"loc": {
"start": {
"line": 40,
"column": 47
},
"end": {
"line": 40,
"column": 56
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2025,
"end": 2026,
"loc": {
"start": {
"line": 40,
"column": 56
},
"end": {
"line": 40,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotateWhilePlacing",
"start": 2026,
"end": 2044,
"loc": {
"start": {
"line": 40,
"column": 57
},
"end": {
"line": 40,
"column": 75
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2044,
"end": 2045,
"loc": {
"start": {
"line": 40,
"column": 75
},
"end": {
"line": 40,
"column": 76
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2045,
"end": 2046,
"loc": {
"start": {
"line": 40,
"column": 76
},
"end": {
"line": 40,
"column": 77
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 2046,
"end": 2049,
"loc": {
"start": {
"line": 40,
"column": 77
},
"end": {
"line": 40,
"column": 80
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2049,
"end": 2050,
"loc": {
"start": {
"line": 40,
"column": 80
},
"end": {
"line": 40,
"column": 81
}
}
},
{
"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": 2050,
"end": 2054,
"loc": {
"start": {
"line": 40,
"column": 81
},
"end": {
"line": 40,
"column": 85
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2054,
"end": 2055,
"loc": {
"start": {
"line": 40,
"column": 85
},
"end": {
"line": 40,
"column": 86
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotateBlueprint",
"start": 2055,
"end": 2070,
"loc": {
"start": {
"line": 40,
"column": 86
},
"end": {
"line": 40,
"column": 101
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2070,
"end": 2071,
"loc": {
"start": {
"line": 40,
"column": 101
},
"end": {
"line": 40,
"column": 102
}
}
},
{
"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": 2072,
"end": 2076,
"loc": {
"start": {
"line": 40,
"column": 103
},
"end": {
"line": 40,
"column": 107
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2076,
"end": 2077,
"loc": {
"start": {
"line": 40,
"column": 107
},
"end": {
"line": 40,
"column": 108
}
}
},
{
"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": 40,
"column": 108
},
"end": {
"line": 40,
"column": 109
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "keyActionMapper",
"start": 2088,
"end": 2103,
"loc": {
"start": {
"line": 41,
"column": 8
},
"end": {
"line": 41,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2103,
"end": 2104,
"loc": {
"start": {
"line": 41,
"column": 23
},
"end": {
"line": 41,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getBinding",
"start": 2104,
"end": 2114,
"loc": {
"start": {
"line": 41,
"column": 24
},
"end": {
"line": 41,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2114,
"end": 2115,
"loc": {
"start": {
"line": 41,
"column": 34
},
"end": {
"line": 41,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "KEYMAPPINGS",
"start": 2115,
"end": 2126,
"loc": {
"start": {
"line": 41,
"column": 35
},
"end": {
"line": 41,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2126,
"end": 2127,
"loc": {
"start": {
"line": 41,
"column": 46
},
"end": {
"line": 41,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "massSelect",
"start": 2127,
"end": 2137,
"loc": {
"start": {
"line": 41,
"column": 47
},
"end": {
"line": 41,
"column": 57
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2137,
"end": 2138,
"loc": {
"start": {
"line": 41,
"column": 57
},
"end": {
"line": 41,
"column": 58
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pasteLastBlueprint",
"start": 2138,
"end": 2156,
"loc": {
"start": {
"line": 41,
"column": 58
},
"end": {
"line": 41,
"column": 76
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2156,
"end": 2157,
"loc": {
"start": {
"line": 41,
"column": 76
},
"end": {
"line": 41,
"column": 77
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2157,
"end": 2158,
"loc": {
"start": {
"line": 41,
"column": 77
},
"end": {
"line": 41,
"column": 78
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 2158,
"end": 2161,
"loc": {
"start": {
"line": 41,
"column": 78
},
"end": {
"line": 41,
"column": 81
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2161,
"end": 2162,
"loc": {
"start": {
"line": 41,
"column": 81
},
"end": {
"line": 41,
"column": 82
}
}
},
{
"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": 2162,
"end": 2166,
"loc": {
"start": {
"line": 41,
"column": 82
},
"end": {
"line": 41,
"column": 86
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2166,
"end": 2167,
"loc": {
"start": {
"line": 41,
"column": 86
},
"end": {
"line": 41,
"column": 87
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pasteBlueprint",
"start": 2167,
"end": 2181,
"loc": {
"start": {
"line": 41,
"column": 87
},
"end": {
"line": 41,
"column": 101
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2181,
"end": 2182,
"loc": {
"start": {
"line": 41,
"column": 101
},
"end": {
"line": 41,
"column": 102
}
}
},
{
"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": 2183,
"end": 2187,
"loc": {
"start": {
"line": 41,
"column": 103
},
"end": {
"line": 41,
"column": 107
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2187,
"end": 2188,
"loc": {
"start": {
"line": 41,
"column": 107
},
"end": {
"line": 41,
"column": 108
}
}
},
{
"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": 41,
"column": 108
},
"end": {
"line": 41,
"column": 109
}
}
},
{
"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": 2201,
"end": 2205,
"loc": {
"start": {
"line": 43,
"column": 8
},
"end": {
"line": 43,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2205,
"end": 2206,
"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": "root",
"start": 2206,
"end": 2210,
"loc": {
"start": {
"line": 43,
"column": 13
},
"end": {
"line": 43,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2210,
"end": 2211,
"loc": {
"start": {
"line": 43,
"column": 17
},
"end": {
"line": 43,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "camera",
"start": 2211,
"end": 2217,
"loc": {
"start": {
"line": 43,
"column": 18
},
"end": {
"line": 43,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2217,
"end": 2218,
"loc": {
"start": {
"line": 43,
"column": 24
},
"end": {
"line": 43,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "downPreHandler",
"start": 2218,
"end": 2232,
"loc": {
"start": {
"line": 43,
"column": 25
},
"end": {
"line": 43,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2232,
"end": 2233,
"loc": {
"start": {
"line": 43,
"column": 39
},
"end": {
"line": 43,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 2233,
"end": 2236,
"loc": {
"start": {
"line": 43,
"column": 40
},
"end": {
"line": 43,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2236,
"end": 2237,
"loc": {
"start": {
"line": 43,
"column": 43
},
"end": {
"line": 43,
"column": 44
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 2237,
"end": 2241,
"loc": {
"start": {
"line": 43,
"column": 44
},
"end": {
"line": 43,
"column": 48
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2241,
"end": 2242,
"loc": {
"start": {
"line": 43,
"column": 48
},
"end": {
"line": 43,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "onMouseDown",
"start": 2242,
"end": 2253,
"loc": {
"start": {
"line": 43,
"column": 49
},
"end": {
"line": 43,
"column": 60
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2253,
"end": 2254,
"loc": {
"start": {
"line": 43,
"column": 60
},
"end": {
"line": 43,
"column": 61
}
}
},
{
"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": 2255,
"end": 2259,
"loc": {
"start": {
"line": 43,
"column": 62
},
"end": {
"line": 43,
"column": 66
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2259,
"end": 2260,
"loc": {
"start": {
"line": 43,
"column": 66
},
"end": {
"line": 43,
"column": 67
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2260,
"end": 2261,
"loc": {
"start": {
"line": 43,
"column": 67
},
"end": {
"line": 43,
"column": 68
}
}
},
{
"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": 2271,
"end": 2275,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 44,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2275,
"end": 2276,
"loc": {
"start": {
"line": 44,
"column": 12
},
"end": {
"line": 44,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 2276,
"end": 2280,
"loc": {
"start": {
"line": 44,
"column": 13
},
"end": {
"line": 44,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2280,
"end": 2281,
"loc": {
"start": {
"line": 44,
"column": 17
},
"end": {
"line": 44,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "camera",
"start": 2281,
"end": 2287,
"loc": {
"start": {
"line": 44,
"column": 18
},
"end": {
"line": 44,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2287,
"end": 2288,
"loc": {
"start": {
"line": 44,
"column": 24
},
"end": {
"line": 44,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "movePreHandler",
"start": 2288,
"end": 2302,
"loc": {
"start": {
"line": 44,
"column": 25
},
"end": {
"line": 44,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2302,
"end": 2303,
"loc": {
"start": {
"line": 44,
"column": 39
},
"end": {
"line": 44,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 2303,
"end": 2306,
"loc": {
"start": {
"line": 44,
"column": 40
},
"end": {
"line": 44,
"column": 43
}
}
},
{
"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": 44,
"column": 43
},
"end": {
"line": 44,
"column": 44
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 2307,
"end": 2311,
"loc": {
"start": {
"line": 44,
"column": 44
},
"end": {
"line": 44,
"column": 48
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2311,
"end": 2312,
"loc": {
"start": {
"line": 44,
"column": 48
},
"end": {
"line": 44,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "onMouseMove",
"start": 2312,
"end": 2323,
"loc": {
"start": {
"line": 44,
"column": 49
},
"end": {
"line": 44,
"column": 60
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2323,
"end": 2324,
"loc": {
"start": {
"line": 44,
"column": 60
},
"end": {
"line": 44,
"column": 61
}
}
},
{
"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": 2325,
"end": 2329,
"loc": {
"start": {
"line": 44,
"column": 62
},
"end": {
"line": 44,
"column": 66
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2329,
"end": 2330,
"loc": {
"start": {
"line": 44,
"column": 66
},
"end": {
"line": 44,
"column": 67
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2330,
"end": 2331,
"loc": {
"start": {
"line": 44,
"column": 67
},
"end": {
"line": 44,
"column": 68
}
}
},
{
"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": 2343,
"end": 2347,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2347,
"end": 2348,
"loc": {
"start": {
"line": 46,
"column": 12
},
"end": {
"line": 46,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 2348,
"end": 2352,
"loc": {
"start": {
"line": 46,
"column": 13
},
"end": {
"line": 46,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2352,
"end": 2353,
"loc": {
"start": {
"line": 46,
"column": 17
},
"end": {
"line": 46,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hud",
"start": 2353,
"end": 2356,
"loc": {
"start": {
"line": 46,
"column": 18
},
"end": {
"line": 46,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2356,
"end": 2357,
"loc": {
"start": {
"line": 46,
"column": 21
},
"end": {
"line": 46,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "signals",
"start": 2357,
"end": 2364,
"loc": {
"start": {
"line": 46,
"column": 22
},
"end": {
"line": 46,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2364,
"end": 2365,
"loc": {
"start": {
"line": 46,
"column": 29
},
"end": {
"line": 46,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "selectedPlacementBuildingChanged",
"start": 2365,
"end": 2397,
"loc": {
"start": {
"line": 46,
"column": 30
},
"end": {
"line": 46,
"column": 62
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2397,
"end": 2398,
"loc": {
"start": {
"line": 46,
"column": 62
},
"end": {
"line": 46,
"column": 63
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 2398,
"end": 2401,
"loc": {
"start": {
"line": 46,
"column": 63
},
"end": {
"line": 46,
"column": 66
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2401,
"end": 2402,
"loc": {
"start": {
"line": 46,
"column": 66
},
"end": {
"line": 46,
"column": 67
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 2402,
"end": 2406,
"loc": {
"start": {
"line": 46,
"column": 67
},
"end": {
"line": 46,
"column": 71
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2406,
"end": 2407,
"loc": {
"start": {
"line": 46,
"column": 71
},
"end": {
"line": 46,
"column": 72
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "abortPlacement",
"start": 2407,
"end": 2421,
"loc": {
"start": {
"line": 46,
"column": 72
},
"end": {
"line": 46,
"column": 86
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2421,
"end": 2422,
"loc": {
"start": {
"line": 46,
"column": 86
},
"end": {
"line": 46,
"column": 87
}
}
},
{
"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": 2423,
"end": 2427,
"loc": {
"start": {
"line": 46,
"column": 88
},
"end": {
"line": 46,
"column": 92
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2427,
"end": 2428,
"loc": {
"start": {
"line": 46,
"column": 92
},
"end": {
"line": 46,
"column": 93
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2428,
"end": 2429,
"loc": {
"start": {
"line": 46,
"column": 93
},
"end": {
"line": 46,
"column": 94
}
}
},
{
"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": 2439,
"end": 2443,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 47,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2443,
"end": 2444,
"loc": {
"start": {
"line": 47,
"column": 12
},
"end": {
"line": 47,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 2444,
"end": 2448,
"loc": {
"start": {
"line": 47,
"column": 13
},
"end": {
"line": 47,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2448,
"end": 2449,
"loc": {
"start": {
"line": 47,
"column": 17
},
"end": {
"line": 47,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "signals",
"start": 2449,
"end": 2456,
"loc": {
"start": {
"line": 47,
"column": 18
},
"end": {
"line": 47,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2456,
"end": 2457,
"loc": {
"start": {
"line": 47,
"column": 25
},
"end": {
"line": 47,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "editModeChanged",
"start": 2457,
"end": 2472,
"loc": {
"start": {
"line": 47,
"column": 26
},
"end": {
"line": 47,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2472,
"end": 2473,
"loc": {
"start": {
"line": 47,
"column": 41
},
"end": {
"line": 47,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 2473,
"end": 2476,
"loc": {
"start": {
"line": 47,
"column": 42
},
"end": {
"line": 47,
"column": 45
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2476,
"end": 2477,
"loc": {
"start": {
"line": 47,
"column": 45
},
"end": {
"line": 47,
"column": 46
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 2477,
"end": 2481,
"loc": {
"start": {
"line": 47,
"column": 46
},
"end": {
"line": 47,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2481,
"end": 2482,
"loc": {
"start": {
"line": 47,
"column": 50
},
"end": {
"line": 47,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "onEditModeChanged",
"start": 2482,
"end": 2499,
"loc": {
"start": {
"line": 47,
"column": 51
},
"end": {
"line": 47,
"column": 68
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2499,
"end": 2500,
"loc": {
"start": {
"line": 47,
"column": 68
},
"end": {
"line": 47,
"column": 69
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 2501,
"end": 2505,
"loc": {
"start": {
"line": 47,
"column": 70
},
"end": {
"line": 47,
"column": 74
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2505,
"end": 2506,
"loc": {
"start": {
"line": 47,
"column": 74
},
"end": {
"line": 47,
"column": 75
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2506,
"end": 2507,
"loc": {
"start": {
"line": 47,
"column": 75
},
"end": {
"line": 47,
"column": 76
}
}
},
{
"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": 2519,
"end": 2523,
"loc": {
"start": {
"line": 49,
"column": 8
},
"end": {
"line": 49,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2523,
"end": 2524,
"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": "domAttach",
"start": 2524,
"end": 2533,
"loc": {
"start": {
"line": 49,
"column": 13
},
"end": {
"line": 49,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2534,
"end": 2535,
"loc": {
"start": {
"line": 49,
"column": 23
},
"end": {
"line": 49,
"column": 24
}
}
},
{
"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": 2536,
"end": 2539,
"loc": {
"start": {
"line": 49,
"column": 25
},
"end": {
"line": 49,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "DynamicDomAttach",
"start": 2540,
"end": 2556,
"loc": {
"start": {
"line": 49,
"column": 29
},
"end": {
"line": 49,
"column": 45
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2556,
"end": 2557,
"loc": {
"start": {
"line": 49,
"column": 45
},
"end": {
"line": 49,
"column": 46
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 2557,
"end": 2561,
"loc": {
"start": {
"line": 49,
"column": 46
},
"end": {
"line": 49,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2561,
"end": 2562,
"loc": {
"start": {
"line": 49,
"column": 50
},
"end": {
"line": 49,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 2562,
"end": 2566,
"loc": {
"start": {
"line": 49,
"column": 51
},
"end": {
"line": 49,
"column": 55
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2566,
"end": 2567,
"loc": {
"start": {
"line": 49,
"column": 55
},
"end": {
"line": 49,
"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": 2568,
"end": 2572,
"loc": {
"start": {
"line": 49,
"column": 57
},
"end": {
"line": 49,
"column": 61
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2572,
"end": 2573,
"loc": {
"start": {
"line": 49,
"column": 61
},
"end": {
"line": 49,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "costDisplayParent",
"start": 2573,
"end": 2590,
"loc": {
"start": {
"line": 49,
"column": 62
},
"end": {
"line": 49,
"column": 79
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2590,
"end": 2591,
"loc": {
"start": {
"line": 49,
"column": 79
},
"end": {
"line": 49,
"column": 80
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2591,
"end": 2592,
"loc": {
"start": {
"line": 49,
"column": 80
},
"end": {
"line": 49,
"column": 81
}
}
},
{
"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": 2602,
"end": 2606,
"loc": {
"start": {
"line": 50,
"column": 8
},
"end": {
"line": 50,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2606,
"end": 2607,
"loc": {
"start": {
"line": 50,
"column": 12
},
"end": {
"line": 50,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "trackedCanAfford",
"start": 2607,
"end": 2623,
"loc": {
"start": {
"line": 50,
"column": 13
},
"end": {
"line": 50,
"column": 29
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2624,
"end": 2625,
"loc": {
"start": {
"line": 50,
"column": 30
},
"end": {
"line": 50,
"column": 31
}
}
},
{
"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": 2626,
"end": 2629,
"loc": {
"start": {
"line": 50,
"column": 32
},
"end": {
"line": 50,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "TrackedState",
"start": 2630,
"end": 2642,
"loc": {
"start": {
"line": 50,
"column": 36
},
"end": {
"line": 50,
"column": 48
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2642,
"end": 2643,
"loc": {
"start": {
"line": 50,
"column": 48
},
"end": {
"line": 50,
"column": 49
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 2643,
"end": 2647,
"loc": {
"start": {
"line": 50,
"column": 49
},
"end": {
"line": 50,
"column": 53
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2647,
"end": 2648,
"loc": {
"start": {
"line": 50,
"column": 53
},
"end": {
"line": 50,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "onCanAffordChanged",
"start": 2648,
"end": 2666,
"loc": {
"start": {
"line": 50,
"column": 54
},
"end": {
"line": 50,
"column": 72
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2666,
"end": 2667,
"loc": {
"start": {
"line": 50,
"column": 72
},
"end": {
"line": 50,
"column": 73
}
}
},
{
"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": 2668,
"end": 2672,
"loc": {
"start": {
"line": 50,
"column": 74
},
"end": {
"line": 50,
"column": 78
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2672,
"end": 2673,
"loc": {
"start": {
"line": 50,
"column": 78
},
"end": {
"line": 50,
"column": 79
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2673,
"end": 2674,
"loc": {
"start": {
"line": 50,
"column": 79
},
"end": {
"line": 50,
"column": 80
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2680,
"end": 2681,
"loc": {
"start": {
"line": 51,
"column": 4
},
"end": {
"line": 51,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "abortPlacement",
"start": 2689,
"end": 2703,
"loc": {
"start": {
"line": 53,
"column": 4
},
"end": {
"line": 53,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2703,
"end": 2704,
"loc": {
"start": {
"line": 53,
"column": 18
},
"end": {
"line": 53,
"column": 19
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2704,
"end": 2705,
"loc": {
"start": {
"line": 53,
"column": 19
},
"end": {
"line": 53,
"column": 20
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2706,
"end": 2707,
"loc": {
"start": {
"line": 53,
"column": 21
},
"end": {
"line": 53,
"column": 22
}
}
},
{
"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": 2717,
"end": 2719,
"loc": {
"start": {
"line": 54,
"column": 8
},
"end": {
"line": 54,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2720,
"end": 2721,
"loc": {
"start": {
"line": 54,
"column": 11
},
"end": {
"line": 54,
"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": 2721,
"end": 2725,
"loc": {
"start": {
"line": 54,
"column": 12
},
"end": {
"line": 54,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2725,
"end": 2726,
"loc": {
"start": {
"line": 54,
"column": 16
},
"end": {
"line": 54,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentBlueprint",
"start": 2726,
"end": 2742,
"loc": {
"start": {
"line": 54,
"column": 17
},
"end": {
"line": 54,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2742,
"end": 2743,
"loc": {
"start": {
"line": 54,
"column": 33
},
"end": {
"line": 54,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "get",
"start": 2743,
"end": 2746,
"loc": {
"start": {
"line": 54,
"column": 34
},
"end": {
"line": 54,
"column": 37
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2746,
"end": 2747,
"loc": {
"start": {
"line": 54,
"column": 37
},
"end": {
"line": 54,
"column": 38
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2747,
"end": 2748,
"loc": {
"start": {
"line": 54,
"column": 38
},
"end": {
"line": 54,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2748,
"end": 2749,
"loc": {
"start": {
"line": 54,
"column": 39
},
"end": {
"line": 54,
"column": 40
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2750,
"end": 2751,
"loc": {
"start": {
"line": 54,
"column": 41
},
"end": {
"line": 54,
"column": 42
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 2765,
"end": 2769,
"loc": {
"start": {
"line": 55,
"column": 12
},
"end": {
"line": 55,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2769,
"end": 2770,
"loc": {
"start": {
"line": 55,
"column": 16
},
"end": {
"line": 55,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentBlueprint",
"start": 2770,
"end": 2786,
"loc": {
"start": {
"line": 55,
"column": 17
},
"end": {
"line": 55,
"column": 33
}
}
},
{
"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": 55,
"column": 33
},
"end": {
"line": 55,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "set",
"start": 2787,
"end": 2790,
"loc": {
"start": {
"line": 55,
"column": 34
},
"end": {
"line": 55,
"column": 37
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2790,
"end": 2791,
"loc": {
"start": {
"line": 55,
"column": 37
},
"end": {
"line": 55,
"column": 38
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 2791,
"end": 2795,
"loc": {
"start": {
"line": 55,
"column": 38
},
"end": {
"line": 55,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2795,
"end": 2796,
"loc": {
"start": {
"line": 55,
"column": 42
},
"end": {
"line": 55,
"column": 43
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2796,
"end": 2797,
"loc": {
"start": {
"line": 55,
"column": 43
},
"end": {
"line": 55,
"column": 44
}
}
},
{
"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": 2813,
"end": 2819,
"loc": {
"start": {
"line": 57,
"column": 12
},
"end": {
"line": 57,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "STOP_PROPAGATION",
"start": 2820,
"end": 2836,
"loc": {
"start": {
"line": 57,
"column": 19
},
"end": {
"line": 57,
"column": 35
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2836,
"end": 2837,
"loc": {
"start": {
"line": 57,
"column": 35
},
"end": {
"line": 57,
"column": 36
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2847,
"end": 2848,
"loc": {
"start": {
"line": 58,
"column": 8
},
"end": {
"line": 58,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2854,
"end": 2855,
"loc": {
"start": {
"line": 59,
"column": 4
},
"end": {
"line": 59,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Called when the layer was changed\r\n * @param {Layer} layer\r\n ",
"start": 2863,
"end": 2946,
"loc": {
"start": {
"line": 61,
"column": 4
},
"end": {
"line": 64,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "onEditModeChanged",
"start": 2952,
"end": 2969,
"loc": {
"start": {
"line": 65,
"column": 4
},
"end": {
"line": 65,
"column": 21
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2969,
"end": 2970,
"loc": {
"start": {
"line": 65,
"column": 21
},
"end": {
"line": 65,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "layer",
"start": 2970,
"end": 2975,
"loc": {
"start": {
"line": 65,
"column": 22
},
"end": {
"line": 65,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2975,
"end": 2976,
"loc": {
"start": {
"line": 65,
"column": 27
},
"end": {
"line": 65,
"column": 28
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2977,
"end": 2978,
"loc": {
"start": {
"line": 65,
"column": 29
},
"end": {
"line": 65,
"column": 30
}
}
},
{
"type": "CommentLine",
"value": " Check if the layer of the blueprint differs and thus we have to deselect it",
"start": 2988,
"end": 3066,
"loc": {
"start": {
"line": 66,
"column": 8
},
"end": {
"line": 66,
"column": 86
}
}
},
{
"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": 3076,
"end": 3081,
"loc": {
"start": {
"line": 67,
"column": 8
},
"end": {
"line": 67,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "blueprint",
"start": 3082,
"end": 3091,
"loc": {
"start": {
"line": 67,
"column": 14
},
"end": {
"line": 67,
"column": 23
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3092,
"end": 3093,
"loc": {
"start": {
"line": 67,
"column": 24
},
"end": {
"line": 67,
"column": 25
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 3094,
"end": 3098,
"loc": {
"start": {
"line": 67,
"column": 26
},
"end": {
"line": 67,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3098,
"end": 3099,
"loc": {
"start": {
"line": 67,
"column": 30
},
"end": {
"line": 67,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentBlueprint",
"start": 3099,
"end": 3115,
"loc": {
"start": {
"line": 67,
"column": 31
},
"end": {
"line": 67,
"column": 47
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3115,
"end": 3116,
"loc": {
"start": {
"line": 67,
"column": 47
},
"end": {
"line": 67,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "get",
"start": 3116,
"end": 3119,
"loc": {
"start": {
"line": 67,
"column": 48
},
"end": {
"line": 67,
"column": 51
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3119,
"end": 3120,
"loc": {
"start": {
"line": 67,
"column": 51
},
"end": {
"line": 67,
"column": 52
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3120,
"end": 3121,
"loc": {
"start": {
"line": 67,
"column": 52
},
"end": {
"line": 67,
"column": 53
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3121,
"end": 3122,
"loc": {
"start": {
"line": 67,
"column": 53
},
"end": {
"line": 67,
"column": 54
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 3132,
"end": 3134,
"loc": {
"start": {
"line": 68,
"column": 8
},
"end": {
"line": 68,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3135,
"end": 3136,
"loc": {
"start": {
"line": 68,
"column": 11
},
"end": {
"line": 68,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "blueprint",
"start": 3136,
"end": 3145,
"loc": {
"start": {
"line": 68,
"column": 12
},
"end": {
"line": 68,
"column": 21
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3145,
"end": 3146,
"loc": {
"start": {
"line": 68,
"column": 21
},
"end": {
"line": 68,
"column": 22
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3147,
"end": 3148,
"loc": {
"start": {
"line": 68,
"column": 23
},
"end": {
"line": 68,
"column": 24
}
}
},
{
"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": 3162,
"end": 3164,
"loc": {
"start": {
"line": 69,
"column": 12
},
"end": {
"line": 69,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3165,
"end": 3166,
"loc": {
"start": {
"line": 69,
"column": 15
},
"end": {
"line": 69,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "blueprint",
"start": 3166,
"end": 3175,
"loc": {
"start": {
"line": 69,
"column": 16
},
"end": {
"line": 69,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3175,
"end": 3176,
"loc": {
"start": {
"line": 69,
"column": 25
},
"end": {
"line": 69,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "layer",
"start": 3176,
"end": 3181,
"loc": {
"start": {
"line": 69,
"column": 26
},
"end": {
"line": 69,
"column": 31
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 3182,
"end": 3185,
"loc": {
"start": {
"line": 69,
"column": 32
},
"end": {
"line": 69,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "layer",
"start": 3186,
"end": 3191,
"loc": {
"start": {
"line": 69,
"column": 36
},
"end": {
"line": 69,
"column": 41
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3191,
"end": 3192,
"loc": {
"start": {
"line": 69,
"column": 41
},
"end": {
"line": 69,
"column": 42
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3193,
"end": 3194,
"loc": {
"start": {
"line": 69,
"column": 43
},
"end": {
"line": 69,
"column": 44
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 3212,
"end": 3216,
"loc": {
"start": {
"line": 70,
"column": 16
},
"end": {
"line": 70,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3216,
"end": 3217,
"loc": {
"start": {
"line": 70,
"column": 20
},
"end": {
"line": 70,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentBlueprint",
"start": 3217,
"end": 3233,
"loc": {
"start": {
"line": 70,
"column": 21
},
"end": {
"line": 70,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3233,
"end": 3234,
"loc": {
"start": {
"line": 70,
"column": 37
},
"end": {
"line": 70,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "set",
"start": 3234,
"end": 3237,
"loc": {
"start": {
"line": 70,
"column": 38
},
"end": {
"line": 70,
"column": 41
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3237,
"end": 3238,
"loc": {
"start": {
"line": 70,
"column": 41
},
"end": {
"line": 70,
"column": 42
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 3238,
"end": 3242,
"loc": {
"start": {
"line": 70,
"column": 42
},
"end": {
"line": 70,
"column": 46
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3242,
"end": 3243,
"loc": {
"start": {
"line": 70,
"column": 46
},
"end": {
"line": 70,
"column": 47
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3243,
"end": 3244,
"loc": {
"start": {
"line": 70,
"column": 47
},
"end": {
"line": 70,
"column": 48
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3258,
"end": 3259,
"loc": {
"start": {
"line": 71,
"column": 12
},
"end": {
"line": 71,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3269,
"end": 3270,
"loc": {
"start": {
"line": 72,
"column": 8
},
"end": {
"line": 72,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3276,
"end": 3277,
"loc": {
"start": {
"line": 73,
"column": 4
},
"end": {
"line": 73,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Called when the blueprint is now affordable or not\r\n * @param {boolean} canAfford\r\n ",
"start": 3285,
"end": 3391,
"loc": {
"start": {
"line": 75,
"column": 4
},
"end": {
"line": 78,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "onCanAffordChanged",
"start": 3397,
"end": 3415,
"loc": {
"start": {
"line": 79,
"column": 4
},
"end": {
"line": 79,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3415,
"end": 3416,
"loc": {
"start": {
"line": 79,
"column": 22
},
"end": {
"line": 79,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "canAfford",
"start": 3416,
"end": 3425,
"loc": {
"start": {
"line": 79,
"column": 23
},
"end": {
"line": 79,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3425,
"end": 3426,
"loc": {
"start": {
"line": 79,
"column": 32
},
"end": {
"line": 79,
"column": 33
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3427,
"end": 3428,
"loc": {
"start": {
"line": 79,
"column": 34
},
"end": {
"line": 79,
"column": 35
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 3438,
"end": 3442,
"loc": {
"start": {
"line": 80,
"column": 8
},
"end": {
"line": 80,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3442,
"end": 3443,
"loc": {
"start": {
"line": 80,
"column": 12
},
"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": "costDisplayParent",
"start": 3443,
"end": 3460,
"loc": {
"start": {
"line": 80,
"column": 13
},
"end": {
"line": 80,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3460,
"end": 3461,
"loc": {
"start": {
"line": 80,
"column": 30
},
"end": {
"line": 80,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "classList",
"start": 3461,
"end": 3470,
"loc": {
"start": {
"line": 80,
"column": 31
},
"end": {
"line": 80,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3470,
"end": 3471,
"loc": {
"start": {
"line": 80,
"column": 40
},
"end": {
"line": 80,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "toggle",
"start": 3471,
"end": 3477,
"loc": {
"start": {
"line": 80,
"column": 41
},
"end": {
"line": 80,
"column": 47
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3477,
"end": 3478,
"loc": {
"start": {
"line": 80,
"column": 47
},
"end": {
"line": 80,
"column": 48
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "canAfford",
"start": 3478,
"end": 3489,
"loc": {
"start": {
"line": 80,
"column": 48
},
"end": {
"line": 80,
"column": 59
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3489,
"end": 3490,
"loc": {
"start": {
"line": 80,
"column": 59
},
"end": {
"line": 80,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "canAfford",
"start": 3491,
"end": 3500,
"loc": {
"start": {
"line": 80,
"column": 61
},
"end": {
"line": 80,
"column": 70
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3500,
"end": 3501,
"loc": {
"start": {
"line": 80,
"column": 70
},
"end": {
"line": 80,
"column": 71
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3501,
"end": 3502,
"loc": {
"start": {
"line": 80,
"column": 71
},
"end": {
"line": 80,
"column": 72
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3508,
"end": 3509,
"loc": {
"start": {
"line": 81,
"column": 4
},
"end": {
"line": 81,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "update",
"start": 3517,
"end": 3523,
"loc": {
"start": {
"line": 83,
"column": 4
},
"end": {
"line": 83,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3523,
"end": 3524,
"loc": {
"start": {
"line": 83,
"column": 10
},
"end": {
"line": 83,
"column": 11
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3524,
"end": 3525,
"loc": {
"start": {
"line": 83,
"column": 11
},
"end": {
"line": 83,
"column": 12
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3526,
"end": 3527,
"loc": {
"start": {
"line": 83,
"column": 13
},
"end": {
"line": 83,
"column": 14
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 3537,
"end": 3542,
"loc": {
"start": {
"line": 84,
"column": 8
},
"end": {
"line": 84,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentBlueprint",
"start": 3543,
"end": 3559,
"loc": {
"start": {
"line": 84,
"column": 14
},
"end": {
"line": 84,
"column": 30
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3560,
"end": 3561,
"loc": {
"start": {
"line": 84,
"column": 31
},
"end": {
"line": 84,
"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": 3562,
"end": 3566,
"loc": {
"start": {
"line": 84,
"column": 33
},
"end": {
"line": 84,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3566,
"end": 3567,
"loc": {
"start": {
"line": 84,
"column": 37
},
"end": {
"line": 84,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentBlueprint",
"start": 3567,
"end": 3583,
"loc": {
"start": {
"line": 84,
"column": 38
},
"end": {
"line": 84,
"column": 54
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3583,
"end": 3584,
"loc": {
"start": {
"line": 84,
"column": 54
},
"end": {
"line": 84,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "get",
"start": 3584,
"end": 3587,
"loc": {
"start": {
"line": 84,
"column": 55
},
"end": {
"line": 84,
"column": 58
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3587,
"end": 3588,
"loc": {
"start": {
"line": 84,
"column": 58
},
"end": {
"line": 84,
"column": 59
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3588,
"end": 3589,
"loc": {
"start": {
"line": 84,
"column": 59
},
"end": {
"line": 84,
"column": 60
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3589,
"end": 3590,
"loc": {
"start": {
"line": 84,
"column": 60
},
"end": {
"line": 84,
"column": 61
}
}
},
{
"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": 3600,
"end": 3604,
"loc": {
"start": {
"line": 85,
"column": 8
},
"end": {
"line": 85,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3604,
"end": 3605,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "domAttach",
"start": 3605,
"end": 3614,
"loc": {
"start": {
"line": 85,
"column": 13
},
"end": {
"line": 85,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3614,
"end": 3615,
"loc": {
"start": {
"line": 85,
"column": 22
},
"end": {
"line": 85,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "update",
"start": 3615,
"end": 3621,
"loc": {
"start": {
"line": 85,
"column": 23
},
"end": {
"line": 85,
"column": 29
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3621,
"end": 3622,
"loc": {
"start": {
"line": 85,
"column": 29
},
"end": {
"line": 85,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentBlueprint",
"start": 3622,
"end": 3638,
"loc": {
"start": {
"line": 85,
"column": 30
},
"end": {
"line": 85,
"column": 46
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 3639,
"end": 3641,
"loc": {
"start": {
"line": 85,
"column": 47
},
"end": {
"line": 85,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentBlueprint",
"start": 3642,
"end": 3658,
"loc": {
"start": {
"line": 85,
"column": 50
},
"end": {
"line": 85,
"column": 66
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3658,
"end": 3659,
"loc": {
"start": {
"line": 85,
"column": 66
},
"end": {
"line": 85,
"column": 67
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getCost",
"start": 3659,
"end": 3666,
"loc": {
"start": {
"line": 85,
"column": 67
},
"end": {
"line": 85,
"column": 74
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3666,
"end": 3667,
"loc": {
"start": {
"line": 85,
"column": 74
},
"end": {
"line": 85,
"column": 75
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3667,
"end": 3668,
"loc": {
"start": {
"line": 85,
"column": 75
},
"end": {
"line": 85,
"column": 76
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": ">",
"start": 3669,
"end": 3670,
"loc": {
"start": {
"line": 85,
"column": 77
},
"end": {
"line": 85,
"column": 78
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 3671,
"end": 3672,
"loc": {
"start": {
"line": 85,
"column": 79
},
"end": {
"line": 85,
"column": 80
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3672,
"end": 3673,
"loc": {
"start": {
"line": 85,
"column": 80
},
"end": {
"line": 85,
"column": 81
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3673,
"end": 3674,
"loc": {
"start": {
"line": 85,
"column": 81
},
"end": {
"line": 85,
"column": 82
}
}
},
{
"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": 3684,
"end": 3688,
"loc": {
"start": {
"line": 86,
"column": 8
},
"end": {
"line": 86,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3688,
"end": 3689,
"loc": {
"start": {
"line": 86,
"column": 12
},
"end": {
"line": 86,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "trackedCanAfford",
"start": 3689,
"end": 3705,
"loc": {
"start": {
"line": 86,
"column": 13
},
"end": {
"line": 86,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3705,
"end": 3706,
"loc": {
"start": {
"line": 86,
"column": 29
},
"end": {
"line": 86,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "set",
"start": 3706,
"end": 3709,
"loc": {
"start": {
"line": 86,
"column": 30
},
"end": {
"line": 86,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3709,
"end": 3710,
"loc": {
"start": {
"line": 86,
"column": 33
},
"end": {
"line": 86,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentBlueprint",
"start": 3710,
"end": 3726,
"loc": {
"start": {
"line": 86,
"column": 34
},
"end": {
"line": 86,
"column": 50
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 3727,
"end": 3729,
"loc": {
"start": {
"line": 86,
"column": 51
},
"end": {
"line": 86,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentBlueprint",
"start": 3730,
"end": 3746,
"loc": {
"start": {
"line": 86,
"column": 54
},
"end": {
"line": 86,
"column": 70
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3746,
"end": 3747,
"loc": {
"start": {
"line": 86,
"column": 70
},
"end": {
"line": 86,
"column": 71
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "canAfford",
"start": 3747,
"end": 3756,
"loc": {
"start": {
"line": 86,
"column": 71
},
"end": {
"line": 86,
"column": 80
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3756,
"end": 3757,
"loc": {
"start": {
"line": 86,
"column": 80
},
"end": {
"line": 86,
"column": 81
}
}
},
{
"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": 3757,
"end": 3761,
"loc": {
"start": {
"line": 86,
"column": 81
},
"end": {
"line": 86,
"column": 85
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3761,
"end": 3762,
"loc": {
"start": {
"line": 86,
"column": 85
},
"end": {
"line": 86,
"column": 86
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 3762,
"end": 3766,
"loc": {
"start": {
"line": 86,
"column": 86
},
"end": {
"line": 86,
"column": 90
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3766,
"end": 3767,
"loc": {
"start": {
"line": 86,
"column": 90
},
"end": {
"line": 86,
"column": 91
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3767,
"end": 3768,
"loc": {
"start": {
"line": 86,
"column": 91
},
"end": {
"line": 86,
"column": 92
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3768,
"end": 3769,
"loc": {
"start": {
"line": 86,
"column": 92
},
"end": {
"line": 86,
"column": 93
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3775,
"end": 3776,
"loc": {
"start": {
"line": 87,
"column": 4
},
"end": {
"line": 87,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Called when the blueprint was changed\r\n * @param {Blueprint} blueprint\r\n ",
"start": 3784,
"end": 3879,
"loc": {
"start": {
"line": 89,
"column": 4
},
"end": {
"line": 92,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "onBlueprintChanged",
"start": 3885,
"end": 3903,
"loc": {
"start": {
"line": 93,
"column": 4
},
"end": {
"line": 93,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3903,
"end": 3904,
"loc": {
"start": {
"line": 93,
"column": 22
},
"end": {
"line": 93,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "blueprint",
"start": 3904,
"end": 3913,
"loc": {
"start": {
"line": 93,
"column": 23
},
"end": {
"line": 93,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3913,
"end": 3914,
"loc": {
"start": {
"line": 93,
"column": 32
},
"end": {
"line": 93,
"column": 33
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3915,
"end": 3916,
"loc": {
"start": {
"line": 93,
"column": 34
},
"end": {
"line": 93,
"column": 35
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 3926,
"end": 3928,
"loc": {
"start": {
"line": 94,
"column": 8
},
"end": {
"line": 94,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3929,
"end": 3930,
"loc": {
"start": {
"line": 94,
"column": 11
},
"end": {
"line": 94,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "blueprint",
"start": 3930,
"end": 3939,
"loc": {
"start": {
"line": 94,
"column": 12
},
"end": {
"line": 94,
"column": 21
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3939,
"end": 3940,
"loc": {
"start": {
"line": 94,
"column": 21
},
"end": {
"line": 94,
"column": 22
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3941,
"end": 3942,
"loc": {
"start": {
"line": 94,
"column": 23
},
"end": {
"line": 94,
"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": 3956,
"end": 3960,
"loc": {
"start": {
"line": 95,
"column": 12
},
"end": {
"line": 95,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3960,
"end": 3961,
"loc": {
"start": {
"line": 95,
"column": 16
},
"end": {
"line": 95,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "lastBlueprintUsed",
"start": 3961,
"end": 3978,
"loc": {
"start": {
"line": 95,
"column": 17
},
"end": {
"line": 95,
"column": 34
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3979,
"end": 3980,
"loc": {
"start": {
"line": 95,
"column": 35
},
"end": {
"line": 95,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "blueprint",
"start": 3981,
"end": 3990,
"loc": {
"start": {
"line": 95,
"column": 37
},
"end": {
"line": 95,
"column": 46
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3990,
"end": 3991,
"loc": {
"start": {
"line": 95,
"column": 46
},
"end": {
"line": 95,
"column": 47
}
}
},
{
"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": 4005,
"end": 4009,
"loc": {
"start": {
"line": 96,
"column": 12
},
"end": {
"line": 96,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4009,
"end": 4010,
"loc": {
"start": {
"line": 96,
"column": 16
},
"end": {
"line": 96,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "costDisplayText",
"start": 4010,
"end": 4025,
"loc": {
"start": {
"line": 96,
"column": 17
},
"end": {
"line": 96,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4025,
"end": 4026,
"loc": {
"start": {
"line": 96,
"column": 32
},
"end": {
"line": 96,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "innerText",
"start": 4026,
"end": 4035,
"loc": {
"start": {
"line": 96,
"column": 33
},
"end": {
"line": 96,
"column": 42
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4036,
"end": 4037,
"loc": {
"start": {
"line": 96,
"column": 43
},
"end": {
"line": 96,
"column": 44
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "",
"start": 4038,
"end": 4040,
"loc": {
"start": {
"line": 96,
"column": 45
},
"end": {
"line": 96,
"column": 47
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 4041,
"end": 4042,
"loc": {
"start": {
"line": 96,
"column": 48
},
"end": {
"line": 96,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "blueprint",
"start": 4043,
"end": 4052,
"loc": {
"start": {
"line": 96,
"column": 50
},
"end": {
"line": 96,
"column": 59
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4052,
"end": 4053,
"loc": {
"start": {
"line": 96,
"column": 59
},
"end": {
"line": 96,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getCost",
"start": 4053,
"end": 4060,
"loc": {
"start": {
"line": 96,
"column": 60
},
"end": {
"line": 96,
"column": 67
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4060,
"end": 4061,
"loc": {
"start": {
"line": 96,
"column": 67
},
"end": {
"line": 96,
"column": 68
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4061,
"end": 4062,
"loc": {
"start": {
"line": 96,
"column": 68
},
"end": {
"line": 96,
"column": 69
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4062,
"end": 4063,
"loc": {
"start": {
"line": 96,
"column": 69
},
"end": {
"line": 96,
"column": 70
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4073,
"end": 4074,
"loc": {
"start": {
"line": 97,
"column": 8
},
"end": {
"line": 97,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4080,
"end": 4081,
"loc": {
"start": {
"line": 98,
"column": 4
},
"end": {
"line": 98,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * mouse down pre handler\r\n * @param {Vector} pos\r\n * @param {enumMouseButton} button\r\n ",
"start": 4089,
"end": 4200,
"loc": {
"start": {
"line": 100,
"column": 4
},
"end": {
"line": 104,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "onMouseDown",
"start": 4206,
"end": 4217,
"loc": {
"start": {
"line": 105,
"column": 4
},
"end": {
"line": 105,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4217,
"end": 4218,
"loc": {
"start": {
"line": 105,
"column": 15
},
"end": {
"line": 105,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pos",
"start": 4218,
"end": 4221,
"loc": {
"start": {
"line": 105,
"column": 16
},
"end": {
"line": 105,
"column": 19
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4221,
"end": 4222,
"loc": {
"start": {
"line": 105,
"column": 19
},
"end": {
"line": 105,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "button",
"start": 4223,
"end": 4229,
"loc": {
"start": {
"line": 105,
"column": 21
},
"end": {
"line": 105,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4229,
"end": 4230,
"loc": {
"start": {
"line": 105,
"column": 27
},
"end": {
"line": 105,
"column": 28
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4231,
"end": 4232,
"loc": {
"start": {
"line": 105,
"column": 29
},
"end": {
"line": 105,
"column": 30
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 4242,
"end": 4244,
"loc": {
"start": {
"line": 106,
"column": 8
},
"end": {
"line": 106,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4245,
"end": 4246,
"loc": {
"start": {
"line": 106,
"column": 11
},
"end": {
"line": 106,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "button",
"start": 4246,
"end": 4252,
"loc": {
"start": {
"line": 106,
"column": 12
},
"end": {
"line": 106,
"column": 18
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 4253,
"end": 4256,
"loc": {
"start": {
"line": 106,
"column": 19
},
"end": {
"line": 106,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumMouseButton",
"start": 4257,
"end": 4272,
"loc": {
"start": {
"line": 106,
"column": 23
},
"end": {
"line": 106,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4272,
"end": 4273,
"loc": {
"start": {
"line": 106,
"column": 38
},
"end": {
"line": 106,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "right",
"start": 4273,
"end": 4278,
"loc": {
"start": {
"line": 106,
"column": 39
},
"end": {
"line": 106,
"column": 44
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4278,
"end": 4279,
"loc": {
"start": {
"line": 106,
"column": 44
},
"end": {
"line": 106,
"column": 45
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4280,
"end": 4281,
"loc": {
"start": {
"line": 106,
"column": 46
},
"end": {
"line": 106,
"column": 47
}
}
},
{
"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": 4295,
"end": 4297,
"loc": {
"start": {
"line": 107,
"column": 12
},
"end": {
"line": 107,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4298,
"end": 4299,
"loc": {
"start": {
"line": 107,
"column": 15
},
"end": {
"line": 107,
"column": 16
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 4299,
"end": 4303,
"loc": {
"start": {
"line": 107,
"column": 16
},
"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": 4303,
"end": 4304,
"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": "currentBlueprint",
"start": 4304,
"end": 4320,
"loc": {
"start": {
"line": 107,
"column": 21
},
"end": {
"line": 107,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4320,
"end": 4321,
"loc": {
"start": {
"line": 107,
"column": 37
},
"end": {
"line": 107,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "get",
"start": 4321,
"end": 4324,
"loc": {
"start": {
"line": 107,
"column": 38
},
"end": {
"line": 107,
"column": 41
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4324,
"end": 4325,
"loc": {
"start": {
"line": 107,
"column": 41
},
"end": {
"line": 107,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4325,
"end": 4326,
"loc": {
"start": {
"line": 107,
"column": 42
},
"end": {
"line": 107,
"column": 43
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4326,
"end": 4327,
"loc": {
"start": {
"line": 107,
"column": 43
},
"end": {
"line": 107,
"column": 44
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4328,
"end": 4329,
"loc": {
"start": {
"line": 107,
"column": 45
},
"end": {
"line": 107,
"column": 46
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 4347,
"end": 4351,
"loc": {
"start": {
"line": 108,
"column": 16
},
"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": 4351,
"end": 4352,
"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": "abortPlacement",
"start": 4352,
"end": 4366,
"loc": {
"start": {
"line": 108,
"column": 21
},
"end": {
"line": 108,
"column": 35
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4366,
"end": 4367,
"loc": {
"start": {
"line": 108,
"column": 35
},
"end": {
"line": 108,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4367,
"end": 4368,
"loc": {
"start": {
"line": 108,
"column": 36
},
"end": {
"line": 108,
"column": 37
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4368,
"end": 4369,
"loc": {
"start": {
"line": 108,
"column": 37
},
"end": {
"line": 108,
"column": 38
}
}
},
{
"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": 4387,
"end": 4393,
"loc": {
"start": {
"line": 109,
"column": 16
},
"end": {
"line": 109,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "STOP_PROPAGATION",
"start": 4394,
"end": 4410,
"loc": {
"start": {
"line": 109,
"column": 23
},
"end": {
"line": 109,
"column": 39
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4410,
"end": 4411,
"loc": {
"start": {
"line": 109,
"column": 39
},
"end": {
"line": 109,
"column": 40
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4425,
"end": 4426,
"loc": {
"start": {
"line": 110,
"column": 12
},
"end": {
"line": 110,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4436,
"end": 4437,
"loc": {
"start": {
"line": 111,
"column": 8
},
"end": {
"line": 111,
"column": 9
}
}
},
{
"type": {
"label": "else",
"keyword": "else",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "else",
"start": 4438,
"end": 4442,
"loc": {
"start": {
"line": 111,
"column": 10
},
"end": {
"line": 111,
"column": 14
}
}
},
{
"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": 4443,
"end": 4445,
"loc": {
"start": {
"line": 111,
"column": 15
},
"end": {
"line": 111,
"column": 17
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4446,
"end": 4447,
"loc": {
"start": {
"line": 111,
"column": 18
},
"end": {
"line": 111,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "button",
"start": 4447,
"end": 4453,
"loc": {
"start": {
"line": 111,
"column": 19
},
"end": {
"line": 111,
"column": 25
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 4454,
"end": 4457,
"loc": {
"start": {
"line": 111,
"column": 26
},
"end": {
"line": 111,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumMouseButton",
"start": 4458,
"end": 4473,
"loc": {
"start": {
"line": 111,
"column": 30
},
"end": {
"line": 111,
"column": 45
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4473,
"end": 4474,
"loc": {
"start": {
"line": 111,
"column": 45
},
"end": {
"line": 111,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "left",
"start": 4474,
"end": 4478,
"loc": {
"start": {
"line": 111,
"column": 46
},
"end": {
"line": 111,
"column": 50
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4478,
"end": 4479,
"loc": {
"start": {
"line": 111,
"column": 50
},
"end": {
"line": 111,
"column": 51
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4480,
"end": 4481,
"loc": {
"start": {
"line": 111,
"column": 52
},
"end": {
"line": 111,
"column": 53
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 4495,
"end": 4500,
"loc": {
"start": {
"line": 112,
"column": 12
},
"end": {
"line": 112,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "blueprint",
"start": 4501,
"end": 4510,
"loc": {
"start": {
"line": 112,
"column": 18
},
"end": {
"line": 112,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4511,
"end": 4512,
"loc": {
"start": {
"line": 112,
"column": 28
},
"end": {
"line": 112,
"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": 4513,
"end": 4517,
"loc": {
"start": {
"line": 112,
"column": 30
},
"end": {
"line": 112,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4517,
"end": 4518,
"loc": {
"start": {
"line": 112,
"column": 34
},
"end": {
"line": 112,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentBlueprint",
"start": 4518,
"end": 4534,
"loc": {
"start": {
"line": 112,
"column": 35
},
"end": {
"line": 112,
"column": 51
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4534,
"end": 4535,
"loc": {
"start": {
"line": 112,
"column": 51
},
"end": {
"line": 112,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "get",
"start": 4535,
"end": 4538,
"loc": {
"start": {
"line": 112,
"column": 52
},
"end": {
"line": 112,
"column": 55
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4538,
"end": 4539,
"loc": {
"start": {
"line": 112,
"column": 55
},
"end": {
"line": 112,
"column": 56
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4539,
"end": 4540,
"loc": {
"start": {
"line": 112,
"column": 56
},
"end": {
"line": 112,
"column": 57
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4540,
"end": 4541,
"loc": {
"start": {
"line": 112,
"column": 57
},
"end": {
"line": 112,
"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": 4555,
"end": 4557,
"loc": {
"start": {
"line": 113,
"column": 12
},
"end": {
"line": 113,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4558,
"end": 4559,
"loc": {
"start": {
"line": 113,
"column": 15
},
"end": {
"line": 113,
"column": 16
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 4559,
"end": 4560,
"loc": {
"start": {
"line": 113,
"column": 16
},
"end": {
"line": 113,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "blueprint",
"start": 4560,
"end": 4569,
"loc": {
"start": {
"line": 113,
"column": 17
},
"end": {
"line": 113,
"column": 26
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4569,
"end": 4570,
"loc": {
"start": {
"line": 113,
"column": 26
},
"end": {
"line": 113,
"column": 27
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4571,
"end": 4572,
"loc": {
"start": {
"line": 113,
"column": 28
},
"end": {
"line": 113,
"column": 29
}
}
},
{
"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": 4590,
"end": 4596,
"loc": {
"start": {
"line": 114,
"column": 16
},
"end": {
"line": 114,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4596,
"end": 4597,
"loc": {
"start": {
"line": 114,
"column": 22
},
"end": {
"line": 114,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4611,
"end": 4612,
"loc": {
"start": {
"line": 115,
"column": 12
},
"end": {
"line": 115,
"column": 13
}
}
},
{
"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": 4628,
"end": 4630,
"loc": {
"start": {
"line": 117,
"column": 12
},
"end": {
"line": 117,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4631,
"end": 4632,
"loc": {
"start": {
"line": 117,
"column": 15
},
"end": {
"line": 117,
"column": 16
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 4632,
"end": 4633,
"loc": {
"start": {
"line": 117,
"column": 16
},
"end": {
"line": 117,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "blueprint",
"start": 4633,
"end": 4642,
"loc": {
"start": {
"line": 117,
"column": 17
},
"end": {
"line": 117,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4642,
"end": 4643,
"loc": {
"start": {
"line": 117,
"column": 26
},
"end": {
"line": 117,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "canAfford",
"start": 4643,
"end": 4652,
"loc": {
"start": {
"line": 117,
"column": 27
},
"end": {
"line": 117,
"column": 36
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4652,
"end": 4653,
"loc": {
"start": {
"line": 117,
"column": 36
},
"end": {
"line": 117,
"column": 37
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 4653,
"end": 4657,
"loc": {
"start": {
"line": 117,
"column": 37
},
"end": {
"line": 117,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4657,
"end": 4658,
"loc": {
"start": {
"line": 117,
"column": 41
},
"end": {
"line": 117,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 4658,
"end": 4662,
"loc": {
"start": {
"line": 117,
"column": 42
},
"end": {
"line": 117,
"column": 46
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4662,
"end": 4663,
"loc": {
"start": {
"line": 117,
"column": 46
},
"end": {
"line": 117,
"column": 47
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4663,
"end": 4664,
"loc": {
"start": {
"line": 117,
"column": 47
},
"end": {
"line": 117,
"column": 48
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4665,
"end": 4666,
"loc": {
"start": {
"line": 117,
"column": 49
},
"end": {
"line": 117,
"column": 50
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 4684,
"end": 4688,
"loc": {
"start": {
"line": 118,
"column": 16
},
"end": {
"line": 118,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4688,
"end": 4689,
"loc": {
"start": {
"line": 118,
"column": 20
},
"end": {
"line": 118,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 4689,
"end": 4693,
"loc": {
"start": {
"line": 118,
"column": 21
},
"end": {
"line": 118,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4693,
"end": 4694,
"loc": {
"start": {
"line": 118,
"column": 25
},
"end": {
"line": 118,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "soundProxy",
"start": 4694,
"end": 4704,
"loc": {
"start": {
"line": 118,
"column": 26
},
"end": {
"line": 118,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4704,
"end": 4705,
"loc": {
"start": {
"line": 118,
"column": 36
},
"end": {
"line": 118,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "playUiError",
"start": 4705,
"end": 4716,
"loc": {
"start": {
"line": 118,
"column": 37
},
"end": {
"line": 118,
"column": 48
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4716,
"end": 4717,
"loc": {
"start": {
"line": 118,
"column": 48
},
"end": {
"line": 118,
"column": 49
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4717,
"end": 4718,
"loc": {
"start": {
"line": 118,
"column": 49
},
"end": {
"line": 118,
"column": 50
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4718,
"end": 4719,
"loc": {
"start": {
"line": 118,
"column": 50
},
"end": {
"line": 118,
"column": 51
}
}
},
{
"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": 4737,
"end": 4743,
"loc": {
"start": {
"line": 119,
"column": 16
},
"end": {
"line": 119,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4743,
"end": 4744,
"loc": {
"start": {
"line": 119,
"column": 22
},
"end": {
"line": 119,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4758,
"end": 4759,
"loc": {
"start": {
"line": 120,
"column": 12
},
"end": {
"line": 120,
"column": 13
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 4775,
"end": 4780,
"loc": {
"start": {
"line": 122,
"column": 12
},
"end": {
"line": 122,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "worldPos",
"start": 4781,
"end": 4789,
"loc": {
"start": {
"line": 122,
"column": 18
},
"end": {
"line": 122,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4790,
"end": 4791,
"loc": {
"start": {
"line": 122,
"column": 27
},
"end": {
"line": 122,
"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": 4792,
"end": 4796,
"loc": {
"start": {
"line": 122,
"column": 29
},
"end": {
"line": 122,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4796,
"end": 4797,
"loc": {
"start": {
"line": 122,
"column": 33
},
"end": {
"line": 122,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 4797,
"end": 4801,
"loc": {
"start": {
"line": 122,
"column": 34
},
"end": {
"line": 122,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4801,
"end": 4802,
"loc": {
"start": {
"line": 122,
"column": 38
},
"end": {
"line": 122,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "camera",
"start": 4802,
"end": 4808,
"loc": {
"start": {
"line": 122,
"column": 39
},
"end": {
"line": 122,
"column": 45
}
}
},
{
"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": 122,
"column": 45
},
"end": {
"line": 122,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "screenToWorld",
"start": 4809,
"end": 4822,
"loc": {
"start": {
"line": 122,
"column": 46
},
"end": {
"line": 122,
"column": 59
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4822,
"end": 4823,
"loc": {
"start": {
"line": 122,
"column": 59
},
"end": {
"line": 122,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pos",
"start": 4823,
"end": 4826,
"loc": {
"start": {
"line": 122,
"column": 60
},
"end": {
"line": 122,
"column": 63
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4826,
"end": 4827,
"loc": {
"start": {
"line": 122,
"column": 63
},
"end": {
"line": 122,
"column": 64
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4827,
"end": 4828,
"loc": {
"start": {
"line": 122,
"column": 64
},
"end": {
"line": 122,
"column": 65
}
}
},
{
"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": 4842,
"end": 4847,
"loc": {
"start": {
"line": 123,
"column": 12
},
"end": {
"line": 123,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tile",
"start": 4848,
"end": 4852,
"loc": {
"start": {
"line": 123,
"column": 18
},
"end": {
"line": 123,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4853,
"end": 4854,
"loc": {
"start": {
"line": 123,
"column": 23
},
"end": {
"line": 123,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "worldPos",
"start": 4855,
"end": 4863,
"loc": {
"start": {
"line": 123,
"column": 25
},
"end": {
"line": 123,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4863,
"end": 4864,
"loc": {
"start": {
"line": 123,
"column": 33
},
"end": {
"line": 123,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "toTileSpace",
"start": 4864,
"end": 4875,
"loc": {
"start": {
"line": 123,
"column": 34
},
"end": {
"line": 123,
"column": 45
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4875,
"end": 4876,
"loc": {
"start": {
"line": 123,
"column": 45
},
"end": {
"line": 123,
"column": 46
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4876,
"end": 4877,
"loc": {
"start": {
"line": 123,
"column": 46
},
"end": {
"line": 123,
"column": 47
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4877,
"end": 4878,
"loc": {
"start": {
"line": 123,
"column": 47
},
"end": {
"line": 123,
"column": 48
}
}
},
{
"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": 4892,
"end": 4894,
"loc": {
"start": {
"line": 124,
"column": 12
},
"end": {
"line": 124,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4895,
"end": 4896,
"loc": {
"start": {
"line": 124,
"column": 15
},
"end": {
"line": 124,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "blueprint",
"start": 4896,
"end": 4905,
"loc": {
"start": {
"line": 124,
"column": 16
},
"end": {
"line": 124,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4905,
"end": 4906,
"loc": {
"start": {
"line": 124,
"column": 25
},
"end": {
"line": 124,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tryPlace",
"start": 4906,
"end": 4914,
"loc": {
"start": {
"line": 124,
"column": 26
},
"end": {
"line": 124,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4914,
"end": 4915,
"loc": {
"start": {
"line": 124,
"column": 34
},
"end": {
"line": 124,
"column": 35
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 4915,
"end": 4919,
"loc": {
"start": {
"line": 124,
"column": 35
},
"end": {
"line": 124,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4919,
"end": 4920,
"loc": {
"start": {
"line": 124,
"column": 39
},
"end": {
"line": 124,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 4920,
"end": 4924,
"loc": {
"start": {
"line": 124,
"column": 40
},
"end": {
"line": 124,
"column": 44
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4924,
"end": 4925,
"loc": {
"start": {
"line": 124,
"column": 44
},
"end": {
"line": 124,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tile",
"start": 4926,
"end": 4930,
"loc": {
"start": {
"line": 124,
"column": 46
},
"end": {
"line": 124,
"column": 50
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4930,
"end": 4931,
"loc": {
"start": {
"line": 124,
"column": 50
},
"end": {
"line": 124,
"column": 51
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4931,
"end": 4932,
"loc": {
"start": {
"line": 124,
"column": 51
},
"end": {
"line": 124,
"column": 52
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4933,
"end": 4934,
"loc": {
"start": {
"line": 124,
"column": 53
},
"end": {
"line": 124,
"column": 54
}
}
},
{
"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": 4952,
"end": 4957,
"loc": {
"start": {
"line": 125,
"column": 16
},
"end": {
"line": 125,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cost",
"start": 4958,
"end": 4962,
"loc": {
"start": {
"line": 125,
"column": 22
},
"end": {
"line": 125,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4963,
"end": 4964,
"loc": {
"start": {
"line": 125,
"column": 27
},
"end": {
"line": 125,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "blueprint",
"start": 4965,
"end": 4974,
"loc": {
"start": {
"line": 125,
"column": 29
},
"end": {
"line": 125,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4974,
"end": 4975,
"loc": {
"start": {
"line": 125,
"column": 38
},
"end": {
"line": 125,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getCost",
"start": 4975,
"end": 4982,
"loc": {
"start": {
"line": 125,
"column": 39
},
"end": {
"line": 125,
"column": 46
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4982,
"end": 4983,
"loc": {
"start": {
"line": 125,
"column": 46
},
"end": {
"line": 125,
"column": 47
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4983,
"end": 4984,
"loc": {
"start": {
"line": 125,
"column": 47
},
"end": {
"line": 125,
"column": 48
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4984,
"end": 4985,
"loc": {
"start": {
"line": 125,
"column": 48
},
"end": {
"line": 125,
"column": 49
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 5003,
"end": 5007,
"loc": {
"start": {
"line": 126,
"column": 16
},
"end": {
"line": 126,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5007,
"end": 5008,
"loc": {
"start": {
"line": 126,
"column": 20
},
"end": {
"line": 126,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 5008,
"end": 5012,
"loc": {
"start": {
"line": 126,
"column": 21
},
"end": {
"line": 126,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5012,
"end": 5013,
"loc": {
"start": {
"line": 126,
"column": 25
},
"end": {
"line": 126,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hubGoals",
"start": 5013,
"end": 5021,
"loc": {
"start": {
"line": 126,
"column": 26
},
"end": {
"line": 126,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5021,
"end": 5022,
"loc": {
"start": {
"line": 126,
"column": 34
},
"end": {
"line": 126,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "takeShapeByKey",
"start": 5022,
"end": 5036,
"loc": {
"start": {
"line": 126,
"column": 35
},
"end": {
"line": 126,
"column": 49
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5036,
"end": 5037,
"loc": {
"start": {
"line": 126,
"column": 49
},
"end": {
"line": 126,
"column": 50
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 5037,
"end": 5041,
"loc": {
"start": {
"line": 126,
"column": 50
},
"end": {
"line": 126,
"column": 54
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5041,
"end": 5042,
"loc": {
"start": {
"line": 126,
"column": 54
},
"end": {
"line": 126,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 5042,
"end": 5046,
"loc": {
"start": {
"line": 126,
"column": 55
},
"end": {
"line": 126,
"column": 59
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5046,
"end": 5047,
"loc": {
"start": {
"line": 126,
"column": 59
},
"end": {
"line": 126,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "gameMode",
"start": 5047,
"end": 5055,
"loc": {
"start": {
"line": 126,
"column": 60
},
"end": {
"line": 126,
"column": 68
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5055,
"end": 5056,
"loc": {
"start": {
"line": 126,
"column": 68
},
"end": {
"line": 126,
"column": 69
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getBlueprintShapeKey",
"start": 5056,
"end": 5076,
"loc": {
"start": {
"line": 126,
"column": 69
},
"end": {
"line": 126,
"column": 89
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5076,
"end": 5077,
"loc": {
"start": {
"line": 126,
"column": 89
},
"end": {
"line": 126,
"column": 90
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5077,
"end": 5078,
"loc": {
"start": {
"line": 126,
"column": 90
},
"end": {
"line": 126,
"column": 91
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5078,
"end": 5079,
"loc": {
"start": {
"line": 126,
"column": 91
},
"end": {
"line": 126,
"column": 92
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cost",
"start": 5080,
"end": 5084,
"loc": {
"start": {
"line": 126,
"column": 93
},
"end": {
"line": 126,
"column": 97
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5084,
"end": 5085,
"loc": {
"start": {
"line": 126,
"column": 97
},
"end": {
"line": 126,
"column": 98
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5085,
"end": 5086,
"loc": {
"start": {
"line": 126,
"column": 98
},
"end": {
"line": 126,
"column": 99
}
}
},
{
"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": 5104,
"end": 5108,
"loc": {
"start": {
"line": 127,
"column": 16
},
"end": {
"line": 127,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5108,
"end": 5109,
"loc": {
"start": {
"line": 127,
"column": 20
},
"end": {
"line": 127,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 5109,
"end": 5113,
"loc": {
"start": {
"line": 127,
"column": 21
},
"end": {
"line": 127,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5113,
"end": 5114,
"loc": {
"start": {
"line": 127,
"column": 25
},
"end": {
"line": 127,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "soundProxy",
"start": 5114,
"end": 5124,
"loc": {
"start": {
"line": 127,
"column": 26
},
"end": {
"line": 127,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5124,
"end": 5125,
"loc": {
"start": {
"line": 127,
"column": 36
},
"end": {
"line": 127,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "playUi",
"start": 5125,
"end": 5131,
"loc": {
"start": {
"line": 127,
"column": 37
},
"end": {
"line": 127,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5131,
"end": 5132,
"loc": {
"start": {
"line": 127,
"column": 43
},
"end": {
"line": 127,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "SOUNDS",
"start": 5132,
"end": 5138,
"loc": {
"start": {
"line": 127,
"column": 44
},
"end": {
"line": 127,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5138,
"end": 5139,
"loc": {
"start": {
"line": 127,
"column": 50
},
"end": {
"line": 127,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "placeBuilding",
"start": 5139,
"end": 5152,
"loc": {
"start": {
"line": 127,
"column": 51
},
"end": {
"line": 127,
"column": 64
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5152,
"end": 5153,
"loc": {
"start": {
"line": 127,
"column": 64
},
"end": {
"line": 127,
"column": 65
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5153,
"end": 5154,
"loc": {
"start": {
"line": 127,
"column": 65
},
"end": {
"line": 127,
"column": 66
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5168,
"end": 5169,
"loc": {
"start": {
"line": 128,
"column": 12
},
"end": {
"line": 128,
"column": 13
}
}
},
{
"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": 5183,
"end": 5189,
"loc": {
"start": {
"line": 129,
"column": 12
},
"end": {
"line": 129,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "STOP_PROPAGATION",
"start": 5190,
"end": 5206,
"loc": {
"start": {
"line": 129,
"column": 19
},
"end": {
"line": 129,
"column": 35
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5206,
"end": 5207,
"loc": {
"start": {
"line": 129,
"column": 35
},
"end": {
"line": 129,
"column": 36
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5217,
"end": 5218,
"loc": {
"start": {
"line": 130,
"column": 8
},
"end": {
"line": 130,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5224,
"end": 5225,
"loc": {
"start": {
"line": 131,
"column": 4
},
"end": {
"line": 131,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Mose move handler\r\n ",
"start": 5233,
"end": 5271,
"loc": {
"start": {
"line": 133,
"column": 4
},
"end": {
"line": 135,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "onMouseMove",
"start": 5277,
"end": 5288,
"loc": {
"start": {
"line": 136,
"column": 4
},
"end": {
"line": 136,
"column": 15
}
}
},
{
"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": 136,
"column": 15
},
"end": {
"line": 136,
"column": 16
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5289,
"end": 5290,
"loc": {
"start": {
"line": 136,
"column": 16
},
"end": {
"line": 136,
"column": 17
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5291,
"end": 5292,
"loc": {
"start": {
"line": 136,
"column": 18
},
"end": {
"line": 136,
"column": 19
}
}
},
{
"type": "CommentLine",
"value": " Prevent movement while blueprint is selected",
"start": 5302,
"end": 5349,
"loc": {
"start": {
"line": 137,
"column": 8
},
"end": {
"line": 137,
"column": 55
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 5359,
"end": 5361,
"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": 5362,
"end": 5363,
"loc": {
"start": {
"line": 138,
"column": 11
},
"end": {
"line": 138,
"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": 5363,
"end": 5367,
"loc": {
"start": {
"line": 138,
"column": 12
},
"end": {
"line": 138,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5367,
"end": 5368,
"loc": {
"start": {
"line": 138,
"column": 16
},
"end": {
"line": 138,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentBlueprint",
"start": 5368,
"end": 5384,
"loc": {
"start": {
"line": 138,
"column": 17
},
"end": {
"line": 138,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5384,
"end": 5385,
"loc": {
"start": {
"line": 138,
"column": 33
},
"end": {
"line": 138,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "get",
"start": 5385,
"end": 5388,
"loc": {
"start": {
"line": 138,
"column": 34
},
"end": {
"line": 138,
"column": 37
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5388,
"end": 5389,
"loc": {
"start": {
"line": 138,
"column": 37
},
"end": {
"line": 138,
"column": 38
}
}
},
{
"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": 138,
"column": 38
},
"end": {
"line": 138,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5390,
"end": 5391,
"loc": {
"start": {
"line": 138,
"column": 39
},
"end": {
"line": 138,
"column": 40
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5392,
"end": 5393,
"loc": {
"start": {
"line": 138,
"column": 41
},
"end": {
"line": 138,
"column": 42
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 5407,
"end": 5413,
"loc": {
"start": {
"line": 139,
"column": 12
},
"end": {
"line": 139,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "STOP_PROPAGATION",
"start": 5414,
"end": 5430,
"loc": {
"start": {
"line": 139,
"column": 19
},
"end": {
"line": 139,
"column": 35
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5430,
"end": 5431,
"loc": {
"start": {
"line": 139,
"column": 35
},
"end": {
"line": 139,
"column": 36
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5441,
"end": 5442,
"loc": {
"start": {
"line": 140,
"column": 8
},
"end": {
"line": 140,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5448,
"end": 5449,
"loc": {
"start": {
"line": 141,
"column": 4
},
"end": {
"line": 141,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Called when an array of bulidings was selected\r\n * @param {Array<number>} uids\r\n ",
"start": 5457,
"end": 5560,
"loc": {
"start": {
"line": 143,
"column": 4
},
"end": {
"line": 146,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "createBlueprintFromBuildings",
"start": 5566,
"end": 5594,
"loc": {
"start": {
"line": 147,
"column": 4
},
"end": {
"line": 147,
"column": 32
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5594,
"end": 5595,
"loc": {
"start": {
"line": 147,
"column": 32
},
"end": {
"line": 147,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "uids",
"start": 5595,
"end": 5599,
"loc": {
"start": {
"line": 147,
"column": 33
},
"end": {
"line": 147,
"column": 37
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5599,
"end": 5600,
"loc": {
"start": {
"line": 147,
"column": 37
},
"end": {
"line": 147,
"column": 38
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5601,
"end": 5602,
"loc": {
"start": {
"line": 147,
"column": 39
},
"end": {
"line": 147,
"column": 40
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 5612,
"end": 5614,
"loc": {
"start": {
"line": 148,
"column": 8
},
"end": {
"line": 148,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5615,
"end": 5616,
"loc": {
"start": {
"line": 148,
"column": 11
},
"end": {
"line": 148,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "uids",
"start": 5616,
"end": 5620,
"loc": {
"start": {
"line": 148,
"column": 12
},
"end": {
"line": 148,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5620,
"end": 5621,
"loc": {
"start": {
"line": 148,
"column": 16
},
"end": {
"line": 148,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 5621,
"end": 5627,
"loc": {
"start": {
"line": 148,
"column": 17
},
"end": {
"line": 148,
"column": 23
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 5628,
"end": 5631,
"loc": {
"start": {
"line": 148,
"column": 24
},
"end": {
"line": 148,
"column": 27
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 5632,
"end": 5633,
"loc": {
"start": {
"line": 148,
"column": 28
},
"end": {
"line": 148,
"column": 29
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5633,
"end": 5634,
"loc": {
"start": {
"line": 148,
"column": 29
},
"end": {
"line": 148,
"column": 30
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5635,
"end": 5636,
"loc": {
"start": {
"line": 148,
"column": 31
},
"end": {
"line": 148,
"column": 32
}
}
},
{
"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": 5650,
"end": 5656,
"loc": {
"start": {
"line": 149,
"column": 12
},
"end": {
"line": 149,
"column": 18
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5656,
"end": 5657,
"loc": {
"start": {
"line": 149,
"column": 18
},
"end": {
"line": 149,
"column": 19
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5667,
"end": 5668,
"loc": {
"start": {
"line": 150,
"column": 8
},
"end": {
"line": 150,
"column": 9
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 5678,
"end": 5682,
"loc": {
"start": {
"line": 151,
"column": 8
},
"end": {
"line": 151,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5682,
"end": 5683,
"loc": {
"start": {
"line": 151,
"column": 12
},
"end": {
"line": 151,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentBlueprint",
"start": 5683,
"end": 5699,
"loc": {
"start": {
"line": 151,
"column": 13
},
"end": {
"line": 151,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5699,
"end": 5700,
"loc": {
"start": {
"line": 151,
"column": 29
},
"end": {
"line": 151,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "set",
"start": 5700,
"end": 5703,
"loc": {
"start": {
"line": 151,
"column": 30
},
"end": {
"line": 151,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5703,
"end": 5704,
"loc": {
"start": {
"line": 151,
"column": 33
},
"end": {
"line": 151,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Blueprint",
"start": 5704,
"end": 5713,
"loc": {
"start": {
"line": 151,
"column": 34
},
"end": {
"line": 151,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5713,
"end": 5714,
"loc": {
"start": {
"line": 151,
"column": 43
},
"end": {
"line": 151,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fromUids",
"start": 5714,
"end": 5722,
"loc": {
"start": {
"line": 151,
"column": 44
},
"end": {
"line": 151,
"column": 52
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5722,
"end": 5723,
"loc": {
"start": {
"line": 151,
"column": 52
},
"end": {
"line": 151,
"column": 53
}
}
},
{
"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": 5723,
"end": 5727,
"loc": {
"start": {
"line": 151,
"column": 53
},
"end": {
"line": 151,
"column": 57
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5727,
"end": 5728,
"loc": {
"start": {
"line": 151,
"column": 57
},
"end": {
"line": 151,
"column": 58
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 5728,
"end": 5732,
"loc": {
"start": {
"line": 151,
"column": 58
},
"end": {
"line": 151,
"column": 62
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5732,
"end": 5733,
"loc": {
"start": {
"line": 151,
"column": 62
},
"end": {
"line": 151,
"column": 63
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "uids",
"start": 5734,
"end": 5738,
"loc": {
"start": {
"line": 151,
"column": 64
},
"end": {
"line": 151,
"column": 68
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5738,
"end": 5739,
"loc": {
"start": {
"line": 151,
"column": 68
},
"end": {
"line": 151,
"column": 69
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5739,
"end": 5740,
"loc": {
"start": {
"line": 151,
"column": 69
},
"end": {
"line": 151,
"column": 70
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5740,
"end": 5741,
"loc": {
"start": {
"line": 151,
"column": 70
},
"end": {
"line": 151,
"column": 71
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5747,
"end": 5748,
"loc": {
"start": {
"line": 152,
"column": 4
},
"end": {
"line": 152,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Attempts to rotate the current blueprint\r\n ",
"start": 5756,
"end": 5817,
"loc": {
"start": {
"line": 154,
"column": 4
},
"end": {
"line": 156,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotateBlueprint",
"start": 5823,
"end": 5838,
"loc": {
"start": {
"line": 157,
"column": 4
},
"end": {
"line": 157,
"column": 19
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5838,
"end": 5839,
"loc": {
"start": {
"line": 157,
"column": 19
},
"end": {
"line": 157,
"column": 20
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5839,
"end": 5840,
"loc": {
"start": {
"line": 157,
"column": 20
},
"end": {
"line": 157,
"column": 21
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5841,
"end": 5842,
"loc": {
"start": {
"line": 157,
"column": 22
},
"end": {
"line": 157,
"column": 23
}
}
},
{
"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": 5852,
"end": 5854,
"loc": {
"start": {
"line": 158,
"column": 8
},
"end": {
"line": 158,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5855,
"end": 5856,
"loc": {
"start": {
"line": 158,
"column": 11
},
"end": {
"line": 158,
"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": 5856,
"end": 5860,
"loc": {
"start": {
"line": 158,
"column": 12
},
"end": {
"line": 158,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5860,
"end": 5861,
"loc": {
"start": {
"line": 158,
"column": 16
},
"end": {
"line": 158,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentBlueprint",
"start": 5861,
"end": 5877,
"loc": {
"start": {
"line": 158,
"column": 17
},
"end": {
"line": 158,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5877,
"end": 5878,
"loc": {
"start": {
"line": 158,
"column": 33
},
"end": {
"line": 158,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "get",
"start": 5878,
"end": 5881,
"loc": {
"start": {
"line": 158,
"column": 34
},
"end": {
"line": 158,
"column": 37
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5881,
"end": 5882,
"loc": {
"start": {
"line": 158,
"column": 37
},
"end": {
"line": 158,
"column": 38
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5882,
"end": 5883,
"loc": {
"start": {
"line": 158,
"column": 38
},
"end": {
"line": 158,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5883,
"end": 5884,
"loc": {
"start": {
"line": 158,
"column": 39
},
"end": {
"line": 158,
"column": 40
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5885,
"end": 5886,
"loc": {
"start": {
"line": 158,
"column": 41
},
"end": {
"line": 158,
"column": 42
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 5900,
"end": 5902,
"loc": {
"start": {
"line": 159,
"column": 12
},
"end": {
"line": 159,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5903,
"end": 5904,
"loc": {
"start": {
"line": 159,
"column": 15
},
"end": {
"line": 159,
"column": 16
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 5904,
"end": 5908,
"loc": {
"start": {
"line": 159,
"column": 16
},
"end": {
"line": 159,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5908,
"end": 5909,
"loc": {
"start": {
"line": 159,
"column": 20
},
"end": {
"line": 159,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 5909,
"end": 5913,
"loc": {
"start": {
"line": 159,
"column": 21
},
"end": {
"line": 159,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5913,
"end": 5914,
"loc": {
"start": {
"line": 159,
"column": 25
},
"end": {
"line": 159,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "keyMapper",
"start": 5914,
"end": 5923,
"loc": {
"start": {
"line": 159,
"column": 26
},
"end": {
"line": 159,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5923,
"end": 5924,
"loc": {
"start": {
"line": 159,
"column": 35
},
"end": {
"line": 159,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getBinding",
"start": 5924,
"end": 5934,
"loc": {
"start": {
"line": 159,
"column": 36
},
"end": {
"line": 159,
"column": 46
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5934,
"end": 5935,
"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": "KEYMAPPINGS",
"start": 5935,
"end": 5946,
"loc": {
"start": {
"line": 159,
"column": 47
},
"end": {
"line": 159,
"column": 58
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5946,
"end": 5947,
"loc": {
"start": {
"line": 159,
"column": 58
},
"end": {
"line": 159,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "placement",
"start": 5947,
"end": 5956,
"loc": {
"start": {
"line": 159,
"column": 59
},
"end": {
"line": 159,
"column": 68
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5956,
"end": 5957,
"loc": {
"start": {
"line": 159,
"column": 68
},
"end": {
"line": 159,
"column": 69
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotateInverseModifier",
"start": 5957,
"end": 5978,
"loc": {
"start": {
"line": 159,
"column": 69
},
"end": {
"line": 159,
"column": 90
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5978,
"end": 5979,
"loc": {
"start": {
"line": 159,
"column": 90
},
"end": {
"line": 159,
"column": 91
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5979,
"end": 5980,
"loc": {
"start": {
"line": 159,
"column": 91
},
"end": {
"line": 159,
"column": 92
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pressed",
"start": 5980,
"end": 5987,
"loc": {
"start": {
"line": 159,
"column": 92
},
"end": {
"line": 159,
"column": 99
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5987,
"end": 5988,
"loc": {
"start": {
"line": 159,
"column": 99
},
"end": {
"line": 159,
"column": 100
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5989,
"end": 5990,
"loc": {
"start": {
"line": 159,
"column": 101
},
"end": {
"line": 159,
"column": 102
}
}
},
{
"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": 6008,
"end": 6012,
"loc": {
"start": {
"line": 160,
"column": 16
},
"end": {
"line": 160,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6012,
"end": 6013,
"loc": {
"start": {
"line": 160,
"column": 20
},
"end": {
"line": 160,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentBlueprint",
"start": 6013,
"end": 6029,
"loc": {
"start": {
"line": 160,
"column": 21
},
"end": {
"line": 160,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6029,
"end": 6030,
"loc": {
"start": {
"line": 160,
"column": 37
},
"end": {
"line": 160,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "get",
"start": 6030,
"end": 6033,
"loc": {
"start": {
"line": 160,
"column": 38
},
"end": {
"line": 160,
"column": 41
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6033,
"end": 6034,
"loc": {
"start": {
"line": 160,
"column": 41
},
"end": {
"line": 160,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6034,
"end": 6035,
"loc": {
"start": {
"line": 160,
"column": 42
},
"end": {
"line": 160,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6035,
"end": 6036,
"loc": {
"start": {
"line": 160,
"column": 43
},
"end": {
"line": 160,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotateCcw",
"start": 6036,
"end": 6045,
"loc": {
"start": {
"line": 160,
"column": 44
},
"end": {
"line": 160,
"column": 53
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6045,
"end": 6046,
"loc": {
"start": {
"line": 160,
"column": 53
},
"end": {
"line": 160,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6046,
"end": 6047,
"loc": {
"start": {
"line": 160,
"column": 54
},
"end": {
"line": 160,
"column": 55
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6047,
"end": 6048,
"loc": {
"start": {
"line": 160,
"column": 55
},
"end": {
"line": 160,
"column": 56
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6062,
"end": 6063,
"loc": {
"start": {
"line": 161,
"column": 12
},
"end": {
"line": 161,
"column": 13
}
}
},
{
"type": {
"label": "else",
"keyword": "else",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "else",
"start": 6064,
"end": 6068,
"loc": {
"start": {
"line": 161,
"column": 14
},
"end": {
"line": 161,
"column": 18
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6069,
"end": 6070,
"loc": {
"start": {
"line": 161,
"column": 19
},
"end": {
"line": 161,
"column": 20
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 6088,
"end": 6092,
"loc": {
"start": {
"line": 162,
"column": 16
},
"end": {
"line": 162,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6092,
"end": 6093,
"loc": {
"start": {
"line": 162,
"column": 20
},
"end": {
"line": 162,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentBlueprint",
"start": 6093,
"end": 6109,
"loc": {
"start": {
"line": 162,
"column": 21
},
"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": 6109,
"end": 6110,
"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": "get",
"start": 6110,
"end": 6113,
"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": 6113,
"end": 6114,
"loc": {
"start": {
"line": 162,
"column": 41
},
"end": {
"line": 162,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6114,
"end": 6115,
"loc": {
"start": {
"line": 162,
"column": 42
},
"end": {
"line": 162,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6115,
"end": 6116,
"loc": {
"start": {
"line": 162,
"column": 43
},
"end": {
"line": 162,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotateCw",
"start": 6116,
"end": 6124,
"loc": {
"start": {
"line": 162,
"column": 44
},
"end": {
"line": 162,
"column": 52
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6124,
"end": 6125,
"loc": {
"start": {
"line": 162,
"column": 52
},
"end": {
"line": 162,
"column": 53
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6125,
"end": 6126,
"loc": {
"start": {
"line": 162,
"column": 53
},
"end": {
"line": 162,
"column": 54
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6126,
"end": 6127,
"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": 6141,
"end": 6142,
"loc": {
"start": {
"line": 163,
"column": 12
},
"end": {
"line": 163,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6152,
"end": 6153,
"loc": {
"start": {
"line": 164,
"column": 8
},
"end": {
"line": 164,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6159,
"end": 6160,
"loc": {
"start": {
"line": 165,
"column": 4
},
"end": {
"line": 165,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Attempts to paste the last blueprint\r\n ",
"start": 6168,
"end": 6225,
"loc": {
"start": {
"line": 167,
"column": 4
},
"end": {
"line": 169,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pasteBlueprint",
"start": 6231,
"end": 6245,
"loc": {
"start": {
"line": 170,
"column": 4
},
"end": {
"line": 170,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6245,
"end": 6246,
"loc": {
"start": {
"line": 170,
"column": 18
},
"end": {
"line": 170,
"column": 19
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6246,
"end": 6247,
"loc": {
"start": {
"line": 170,
"column": 19
},
"end": {
"line": 170,
"column": 20
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6248,
"end": 6249,
"loc": {
"start": {
"line": 170,
"column": 21
},
"end": {
"line": 170,
"column": 22
}
}
},
{
"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": 6259,
"end": 6261,
"loc": {
"start": {
"line": 171,
"column": 8
},
"end": {
"line": 171,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6262,
"end": 6263,
"loc": {
"start": {
"line": 171,
"column": 11
},
"end": {
"line": 171,
"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": 6263,
"end": 6267,
"loc": {
"start": {
"line": 171,
"column": 12
},
"end": {
"line": 171,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6267,
"end": 6268,
"loc": {
"start": {
"line": 171,
"column": 16
},
"end": {
"line": 171,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "lastBlueprintUsed",
"start": 6268,
"end": 6285,
"loc": {
"start": {
"line": 171,
"column": 17
},
"end": {
"line": 171,
"column": 34
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 6286,
"end": 6289,
"loc": {
"start": {
"line": 171,
"column": 35
},
"end": {
"line": 171,
"column": 38
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 6290,
"end": 6294,
"loc": {
"start": {
"line": 171,
"column": 39
},
"end": {
"line": 171,
"column": 43
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6294,
"end": 6295,
"loc": {
"start": {
"line": 171,
"column": 43
},
"end": {
"line": 171,
"column": 44
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6296,
"end": 6297,
"loc": {
"start": {
"line": 171,
"column": 45
},
"end": {
"line": 171,
"column": 46
}
}
},
{
"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": 6311,
"end": 6313,
"loc": {
"start": {
"line": 172,
"column": 12
},
"end": {
"line": 172,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6314,
"end": 6315,
"loc": {
"start": {
"line": 172,
"column": 15
},
"end": {
"line": 172,
"column": 16
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 6315,
"end": 6319,
"loc": {
"start": {
"line": 172,
"column": 16
},
"end": {
"line": 172,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6319,
"end": 6320,
"loc": {
"start": {
"line": 172,
"column": 20
},
"end": {
"line": 172,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "lastBlueprintUsed",
"start": 6320,
"end": 6337,
"loc": {
"start": {
"line": 172,
"column": 21
},
"end": {
"line": 172,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6337,
"end": 6338,
"loc": {
"start": {
"line": 172,
"column": 38
},
"end": {
"line": 172,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "layer",
"start": 6338,
"end": 6343,
"loc": {
"start": {
"line": 172,
"column": 39
},
"end": {
"line": 172,
"column": 44
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 6344,
"end": 6347,
"loc": {
"start": {
"line": 172,
"column": 45
},
"end": {
"line": 172,
"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": 6348,
"end": 6352,
"loc": {
"start": {
"line": 172,
"column": 49
},
"end": {
"line": 172,
"column": 53
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6352,
"end": 6353,
"loc": {
"start": {
"line": 172,
"column": 53
},
"end": {
"line": 172,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 6353,
"end": 6357,
"loc": {
"start": {
"line": 172,
"column": 54
},
"end": {
"line": 172,
"column": 58
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6357,
"end": 6358,
"loc": {
"start": {
"line": 172,
"column": 58
},
"end": {
"line": 172,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentLayer",
"start": 6358,
"end": 6370,
"loc": {
"start": {
"line": 172,
"column": 59
},
"end": {
"line": 172,
"column": 71
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6370,
"end": 6371,
"loc": {
"start": {
"line": 172,
"column": 71
},
"end": {
"line": 172,
"column": 72
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6372,
"end": 6373,
"loc": {
"start": {
"line": 172,
"column": 73
},
"end": {
"line": 172,
"column": 74
}
}
},
{
"type": "CommentLine",
"value": " Not compatible",
"start": 6391,
"end": 6408,
"loc": {
"start": {
"line": 173,
"column": 16
},
"end": {
"line": 173,
"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": 6426,
"end": 6430,
"loc": {
"start": {
"line": 174,
"column": 16
},
"end": {
"line": 174,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6430,
"end": 6431,
"loc": {
"start": {
"line": 174,
"column": 20
},
"end": {
"line": 174,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 6431,
"end": 6435,
"loc": {
"start": {
"line": 174,
"column": 21
},
"end": {
"line": 174,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6435,
"end": 6436,
"loc": {
"start": {
"line": 174,
"column": 25
},
"end": {
"line": 174,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "soundProxy",
"start": 6436,
"end": 6446,
"loc": {
"start": {
"line": 174,
"column": 26
},
"end": {
"line": 174,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6446,
"end": 6447,
"loc": {
"start": {
"line": 174,
"column": 36
},
"end": {
"line": 174,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "playUiError",
"start": 6447,
"end": 6458,
"loc": {
"start": {
"line": 174,
"column": 37
},
"end": {
"line": 174,
"column": 48
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6458,
"end": 6459,
"loc": {
"start": {
"line": 174,
"column": 48
},
"end": {
"line": 174,
"column": 49
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6459,
"end": 6460,
"loc": {
"start": {
"line": 174,
"column": 49
},
"end": {
"line": 174,
"column": 50
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6460,
"end": 6461,
"loc": {
"start": {
"line": 174,
"column": 50
},
"end": {
"line": 174,
"column": 51
}
}
},
{
"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": 6479,
"end": 6485,
"loc": {
"start": {
"line": 175,
"column": 16
},
"end": {
"line": 175,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6485,
"end": 6486,
"loc": {
"start": {
"line": 175,
"column": 22
},
"end": {
"line": 175,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6500,
"end": 6501,
"loc": {
"start": {
"line": 176,
"column": 12
},
"end": {
"line": 176,
"column": 13
}
}
},
{
"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": 6517,
"end": 6521,
"loc": {
"start": {
"line": 178,
"column": 12
},
"end": {
"line": 178,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6521,
"end": 6522,
"loc": {
"start": {
"line": 178,
"column": 16
},
"end": {
"line": 178,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 6522,
"end": 6526,
"loc": {
"start": {
"line": 178,
"column": 17
},
"end": {
"line": 178,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6526,
"end": 6527,
"loc": {
"start": {
"line": 178,
"column": 21
},
"end": {
"line": 178,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hud",
"start": 6527,
"end": 6530,
"loc": {
"start": {
"line": 178,
"column": 22
},
"end": {
"line": 178,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6530,
"end": 6531,
"loc": {
"start": {
"line": 178,
"column": 25
},
"end": {
"line": 178,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "signals",
"start": 6531,
"end": 6538,
"loc": {
"start": {
"line": 178,
"column": 26
},
"end": {
"line": 178,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6538,
"end": 6539,
"loc": {
"start": {
"line": 178,
"column": 33
},
"end": {
"line": 178,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pasteBlueprintRequested",
"start": 6539,
"end": 6562,
"loc": {
"start": {
"line": 178,
"column": 34
},
"end": {
"line": 178,
"column": 57
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6562,
"end": 6563,
"loc": {
"start": {
"line": 178,
"column": 57
},
"end": {
"line": 178,
"column": 58
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dispatch",
"start": 6563,
"end": 6571,
"loc": {
"start": {
"line": 178,
"column": 58
},
"end": {
"line": 178,
"column": 66
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6571,
"end": 6572,
"loc": {
"start": {
"line": 178,
"column": 66
},
"end": {
"line": 178,
"column": 67
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6572,
"end": 6573,
"loc": {
"start": {
"line": 178,
"column": 67
},
"end": {
"line": 178,
"column": 68
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6573,
"end": 6574,
"loc": {
"start": {
"line": 178,
"column": 68
},
"end": {
"line": 178,
"column": 69
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 6588,
"end": 6592,
"loc": {
"start": {
"line": 179,
"column": 12
},
"end": {
"line": 179,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6592,
"end": 6593,
"loc": {
"start": {
"line": 179,
"column": 16
},
"end": {
"line": 179,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentBlueprint",
"start": 6593,
"end": 6609,
"loc": {
"start": {
"line": 179,
"column": 17
},
"end": {
"line": 179,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6609,
"end": 6610,
"loc": {
"start": {
"line": 179,
"column": 33
},
"end": {
"line": 179,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "set",
"start": 6610,
"end": 6613,
"loc": {
"start": {
"line": 179,
"column": 34
},
"end": {
"line": 179,
"column": 37
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6613,
"end": 6614,
"loc": {
"start": {
"line": 179,
"column": 37
},
"end": {
"line": 179,
"column": 38
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 6614,
"end": 6618,
"loc": {
"start": {
"line": 179,
"column": 38
},
"end": {
"line": 179,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6618,
"end": 6619,
"loc": {
"start": {
"line": 179,
"column": 42
},
"end": {
"line": 179,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "lastBlueprintUsed",
"start": 6619,
"end": 6636,
"loc": {
"start": {
"line": 179,
"column": 43
},
"end": {
"line": 179,
"column": 60
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6636,
"end": 6637,
"loc": {
"start": {
"line": 179,
"column": 60
},
"end": {
"line": 179,
"column": 61
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6637,
"end": 6638,
"loc": {
"start": {
"line": 179,
"column": 61
},
"end": {
"line": 179,
"column": 62
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6648,
"end": 6649,
"loc": {
"start": {
"line": 180,
"column": 8
},
"end": {
"line": 180,
"column": 9
}
}
},
{
"type": {
"label": "else",
"keyword": "else",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "else",
"start": 6650,
"end": 6654,
"loc": {
"start": {
"line": 180,
"column": 10
},
"end": {
"line": 180,
"column": 14
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6655,
"end": 6656,
"loc": {
"start": {
"line": 180,
"column": 15
},
"end": {
"line": 180,
"column": 16
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 6670,
"end": 6674,
"loc": {
"start": {
"line": 181,
"column": 12
},
"end": {
"line": 181,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6674,
"end": 6675,
"loc": {
"start": {
"line": 181,
"column": 16
},
"end": {
"line": 181,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 6675,
"end": 6679,
"loc": {
"start": {
"line": 181,
"column": 17
},
"end": {
"line": 181,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6679,
"end": 6680,
"loc": {
"start": {
"line": 181,
"column": 21
},
"end": {
"line": 181,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "soundProxy",
"start": 6680,
"end": 6690,
"loc": {
"start": {
"line": 181,
"column": 22
},
"end": {
"line": 181,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6690,
"end": 6691,
"loc": {
"start": {
"line": 181,
"column": 32
},
"end": {
"line": 181,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "playUiError",
"start": 6691,
"end": 6702,
"loc": {
"start": {
"line": 181,
"column": 33
},
"end": {
"line": 181,
"column": 44
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6702,
"end": 6703,
"loc": {
"start": {
"line": 181,
"column": 44
},
"end": {
"line": 181,
"column": 45
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6703,
"end": 6704,
"loc": {
"start": {
"line": 181,
"column": 45
},
"end": {
"line": 181,
"column": 46
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6704,
"end": 6705,
"loc": {
"start": {
"line": 181,
"column": 46
},
"end": {
"line": 181,
"column": 47
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6715,
"end": 6716,
"loc": {
"start": {
"line": 182,
"column": 8
},
"end": {
"line": 182,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6722,
"end": 6723,
"loc": {
"start": {
"line": 183,
"column": 4
},
"end": {
"line": 183,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {DrawParameters} parameters\r\n ",
"start": 6731,
"end": 6794,
"loc": {
"start": {
"line": 185,
"column": 4
},
"end": {
"line": 188,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "draw",
"start": 6800,
"end": 6804,
"loc": {
"start": {
"line": 189,
"column": 4
},
"end": {
"line": 189,
"column": 8
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6804,
"end": 6805,
"loc": {
"start": {
"line": 189,
"column": 8
},
"end": {
"line": 189,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 6805,
"end": 6815,
"loc": {
"start": {
"line": 189,
"column": 9
},
"end": {
"line": 189,
"column": 19
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6815,
"end": 6816,
"loc": {
"start": {
"line": 189,
"column": 19
},
"end": {
"line": 189,
"column": 20
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6817,
"end": 6818,
"loc": {
"start": {
"line": 189,
"column": 21
},
"end": {
"line": 189,
"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": 6828,
"end": 6833,
"loc": {
"start": {
"line": 190,
"column": 8
},
"end": {
"line": 190,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "blueprint",
"start": 6834,
"end": 6843,
"loc": {
"start": {
"line": 190,
"column": 14
},
"end": {
"line": 190,
"column": 23
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6844,
"end": 6845,
"loc": {
"start": {
"line": 190,
"column": 24
},
"end": {
"line": 190,
"column": 25
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 6846,
"end": 6850,
"loc": {
"start": {
"line": 190,
"column": 26
},
"end": {
"line": 190,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6850,
"end": 6851,
"loc": {
"start": {
"line": 190,
"column": 30
},
"end": {
"line": 190,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentBlueprint",
"start": 6851,
"end": 6867,
"loc": {
"start": {
"line": 190,
"column": 31
},
"end": {
"line": 190,
"column": 47
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6867,
"end": 6868,
"loc": {
"start": {
"line": 190,
"column": 47
},
"end": {
"line": 190,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "get",
"start": 6868,
"end": 6871,
"loc": {
"start": {
"line": 190,
"column": 48
},
"end": {
"line": 190,
"column": 51
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6871,
"end": 6872,
"loc": {
"start": {
"line": 190,
"column": 51
},
"end": {
"line": 190,
"column": 52
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6872,
"end": 6873,
"loc": {
"start": {
"line": 190,
"column": 52
},
"end": {
"line": 190,
"column": 53
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6873,
"end": 6874,
"loc": {
"start": {
"line": 190,
"column": 53
},
"end": {
"line": 190,
"column": 54
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 6884,
"end": 6886,
"loc": {
"start": {
"line": 191,
"column": 8
},
"end": {
"line": 191,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6887,
"end": 6888,
"loc": {
"start": {
"line": 191,
"column": 11
},
"end": {
"line": 191,
"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": 6888,
"end": 6889,
"loc": {
"start": {
"line": 191,
"column": 12
},
"end": {
"line": 191,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "blueprint",
"start": 6889,
"end": 6898,
"loc": {
"start": {
"line": 191,
"column": 13
},
"end": {
"line": 191,
"column": 22
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6898,
"end": 6899,
"loc": {
"start": {
"line": 191,
"column": 22
},
"end": {
"line": 191,
"column": 23
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6900,
"end": 6901,
"loc": {
"start": {
"line": 191,
"column": 24
},
"end": {
"line": 191,
"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": 6915,
"end": 6921,
"loc": {
"start": {
"line": 192,
"column": 12
},
"end": {
"line": 192,
"column": 18
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6921,
"end": 6922,
"loc": {
"start": {
"line": 192,
"column": 18
},
"end": {
"line": 192,
"column": 19
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6932,
"end": 6933,
"loc": {
"start": {
"line": 193,
"column": 8
},
"end": {
"line": 193,
"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": 6943,
"end": 6948,
"loc": {
"start": {
"line": 194,
"column": 8
},
"end": {
"line": 194,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "mousePosition",
"start": 6949,
"end": 6962,
"loc": {
"start": {
"line": 194,
"column": 14
},
"end": {
"line": 194,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6963,
"end": 6964,
"loc": {
"start": {
"line": 194,
"column": 28
},
"end": {
"line": 194,
"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": 6965,
"end": 6969,
"loc": {
"start": {
"line": 194,
"column": 30
},
"end": {
"line": 194,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6969,
"end": 6970,
"loc": {
"start": {
"line": 194,
"column": 34
},
"end": {
"line": 194,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 6970,
"end": 6974,
"loc": {
"start": {
"line": 194,
"column": 35
},
"end": {
"line": 194,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6974,
"end": 6975,
"loc": {
"start": {
"line": 194,
"column": 39
},
"end": {
"line": 194,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "app",
"start": 6975,
"end": 6978,
"loc": {
"start": {
"line": 194,
"column": 40
},
"end": {
"line": 194,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6978,
"end": 6979,
"loc": {
"start": {
"line": 194,
"column": 43
},
"end": {
"line": 194,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "mousePosition",
"start": 6979,
"end": 6992,
"loc": {
"start": {
"line": 194,
"column": 44
},
"end": {
"line": 194,
"column": 57
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6992,
"end": 6993,
"loc": {
"start": {
"line": 194,
"column": 57
},
"end": {
"line": 194,
"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": 7003,
"end": 7005,
"loc": {
"start": {
"line": 195,
"column": 8
},
"end": {
"line": 195,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7006,
"end": 7007,
"loc": {
"start": {
"line": 195,
"column": 11
},
"end": {
"line": 195,
"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": 7007,
"end": 7008,
"loc": {
"start": {
"line": 195,
"column": 12
},
"end": {
"line": 195,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "mousePosition",
"start": 7008,
"end": 7021,
"loc": {
"start": {
"line": 195,
"column": 13
},
"end": {
"line": 195,
"column": 26
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7021,
"end": 7022,
"loc": {
"start": {
"line": 195,
"column": 26
},
"end": {
"line": 195,
"column": 27
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7023,
"end": 7024,
"loc": {
"start": {
"line": 195,
"column": 28
},
"end": {
"line": 195,
"column": 29
}
}
},
{
"type": "CommentLine",
"value": " Not on screen",
"start": 7038,
"end": 7054,
"loc": {
"start": {
"line": 196,
"column": 12
},
"end": {
"line": 196,
"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": 7068,
"end": 7074,
"loc": {
"start": {
"line": 197,
"column": 12
},
"end": {
"line": 197,
"column": 18
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7074,
"end": 7075,
"loc": {
"start": {
"line": 197,
"column": 18
},
"end": {
"line": 197,
"column": 19
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7085,
"end": 7086,
"loc": {
"start": {
"line": 198,
"column": 8
},
"end": {
"line": 198,
"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": 7098,
"end": 7103,
"loc": {
"start": {
"line": 200,
"column": 8
},
"end": {
"line": 200,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "worldPos",
"start": 7104,
"end": 7112,
"loc": {
"start": {
"line": 200,
"column": 14
},
"end": {
"line": 200,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7113,
"end": 7114,
"loc": {
"start": {
"line": 200,
"column": 23
},
"end": {
"line": 200,
"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": 7115,
"end": 7119,
"loc": {
"start": {
"line": 200,
"column": 25
},
"end": {
"line": 200,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7119,
"end": 7120,
"loc": {
"start": {
"line": 200,
"column": 29
},
"end": {
"line": 200,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 7120,
"end": 7124,
"loc": {
"start": {
"line": 200,
"column": 30
},
"end": {
"line": 200,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7124,
"end": 7125,
"loc": {
"start": {
"line": 200,
"column": 34
},
"end": {
"line": 200,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "camera",
"start": 7125,
"end": 7131,
"loc": {
"start": {
"line": 200,
"column": 35
},
"end": {
"line": 200,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7131,
"end": 7132,
"loc": {
"start": {
"line": 200,
"column": 41
},
"end": {
"line": 200,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "screenToWorld",
"start": 7132,
"end": 7145,
"loc": {
"start": {
"line": 200,
"column": 42
},
"end": {
"line": 200,
"column": 55
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7145,
"end": 7146,
"loc": {
"start": {
"line": 200,
"column": 55
},
"end": {
"line": 200,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "mousePosition",
"start": 7146,
"end": 7159,
"loc": {
"start": {
"line": 200,
"column": 56
},
"end": {
"line": 200,
"column": 69
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7159,
"end": 7160,
"loc": {
"start": {
"line": 200,
"column": 69
},
"end": {
"line": 200,
"column": 70
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7160,
"end": 7161,
"loc": {
"start": {
"line": 200,
"column": 70
},
"end": {
"line": 200,
"column": 71
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 7171,
"end": 7176,
"loc": {
"start": {
"line": 201,
"column": 8
},
"end": {
"line": 201,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tile",
"start": 7177,
"end": 7181,
"loc": {
"start": {
"line": 201,
"column": 14
},
"end": {
"line": 201,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7182,
"end": 7183,
"loc": {
"start": {
"line": 201,
"column": 19
},
"end": {
"line": 201,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "worldPos",
"start": 7184,
"end": 7192,
"loc": {
"start": {
"line": 201,
"column": 21
},
"end": {
"line": 201,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7192,
"end": 7193,
"loc": {
"start": {
"line": 201,
"column": 29
},
"end": {
"line": 201,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "toTileSpace",
"start": 7193,
"end": 7204,
"loc": {
"start": {
"line": 201,
"column": 30
},
"end": {
"line": 201,
"column": 41
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7204,
"end": 7205,
"loc": {
"start": {
"line": 201,
"column": 41
},
"end": {
"line": 201,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7205,
"end": 7206,
"loc": {
"start": {
"line": 201,
"column": 42
},
"end": {
"line": 201,
"column": 43
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7206,
"end": 7207,
"loc": {
"start": {
"line": 201,
"column": 43
},
"end": {
"line": 201,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "blueprint",
"start": 7217,
"end": 7226,
"loc": {
"start": {
"line": 202,
"column": 8
},
"end": {
"line": 202,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7226,
"end": 7227,
"loc": {
"start": {
"line": 202,
"column": 17
},
"end": {
"line": 202,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "draw",
"start": 7227,
"end": 7231,
"loc": {
"start": {
"line": 202,
"column": 18
},
"end": {
"line": 202,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7231,
"end": 7232,
"loc": {
"start": {
"line": 202,
"column": 22
},
"end": {
"line": 202,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 7232,
"end": 7242,
"loc": {
"start": {
"line": 202,
"column": 23
},
"end": {
"line": 202,
"column": 33
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7242,
"end": 7243,
"loc": {
"start": {
"line": 202,
"column": 33
},
"end": {
"line": 202,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tile",
"start": 7244,
"end": 7248,
"loc": {
"start": {
"line": 202,
"column": 35
},
"end": {
"line": 202,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7248,
"end": 7249,
"loc": {
"start": {
"line": 202,
"column": 39
},
"end": {
"line": 202,
"column": 40
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7249,
"end": 7250,
"loc": {
"start": {
"line": 202,
"column": 40
},
"end": {
"line": 202,
"column": 41
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7256,
"end": 7257,
"loc": {
"start": {
"line": 203,
"column": 4
},
"end": {
"line": 203,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7259,
"end": 7260,
"loc": {
"start": {
"line": 204,
"column": 0
},
"end": {
"line": 204,
"column": 1
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7262,
"end": 7262,
"loc": {
"start": {
"line": 205,
"column": 0
},
"end": {
"line": 205,
"column": 0
}
}
}
]
}