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

6862 lines
181 KiB
JSON

{
"type": "File",
"start": 0,
"end": 1146,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 32,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 1146,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 32,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 56,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 56
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 9,
"end": 25,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 25
}
},
"imported": {
"type": "Identifier",
"start": 9,
"end": 25,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 25
},
"identifierName": "STOP_PROPAGATION"
},
"name": "STOP_PROPAGATION"
},
"local": {
"type": "Identifier",
"start": 9,
"end": 25,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 25
},
"identifierName": "STOP_PROPAGATION"
},
"name": "STOP_PROPAGATION"
}
}
],
"source": {
"type": "StringLiteral",
"start": 33,
"end": 55,
"loc": {
"start": {
"line": 1,
"column": 33
},
"end": {
"line": 1,
"column": 55
}
},
"extra": {
"rawValue": "../../../core/signal",
"raw": "\"../../../core/signal\""
},
"value": "../../../core/signal"
}
},
{
"type": "ImportDeclaration",
"start": 58,
"end": 104,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 46
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 67,
"end": 73,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 15
}
},
"imported": {
"type": "Identifier",
"start": 67,
"end": 73,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 15
},
"identifierName": "Vector"
},
"name": "Vector"
},
"local": {
"type": "Identifier",
"start": 67,
"end": 73,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 15
},
"identifierName": "Vector"
},
"name": "Vector"
}
}
],
"source": {
"type": "StringLiteral",
"start": 81,
"end": 103,
"loc": {
"start": {
"line": 2,
"column": 23
},
"end": {
"line": 2,
"column": 45
}
},
"extra": {
"rawValue": "../../../core/vector",
"raw": "\"../../../core/vector\""
},
"value": "../../../core/vector"
}
},
{
"type": "ImportDeclaration",
"start": 106,
"end": 153,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 47
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 115,
"end": 130,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 24
}
},
"imported": {
"type": "Identifier",
"start": 115,
"end": 130,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 24
},
"identifierName": "enumMouseButton"
},
"name": "enumMouseButton"
},
"local": {
"type": "Identifier",
"start": 115,
"end": 130,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 24
},
"identifierName": "enumMouseButton"
},
"name": "enumMouseButton"
}
}
],
"source": {
"type": "StringLiteral",
"start": 138,
"end": 152,
"loc": {
"start": {
"line": 3,
"column": 32
},
"end": {
"line": 3,
"column": 46
}
},
"extra": {
"rawValue": "../../camera",
"raw": "\"../../camera\""
},
"value": "../../camera"
}
},
{
"type": "ImportDeclaration",
"start": 155,
"end": 202,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 47
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 164,
"end": 175,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 20
}
},
"imported": {
"type": "Identifier",
"start": 164,
"end": 175,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 20
},
"identifierName": "BaseHUDPart"
},
"name": "BaseHUDPart"
},
"local": {
"type": "Identifier",
"start": 164,
"end": 175,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 20
},
"identifierName": "BaseHUDPart"
},
"name": "BaseHUDPart"
}
}
],
"source": {
"type": "StringLiteral",
"start": 183,
"end": 201,
"loc": {
"start": {
"line": 4,
"column": 28
},
"end": {
"line": 4,
"column": 46
}
},
"extra": {
"rawValue": "../base_hud_part",
"raw": "\"../base_hud_part\""
},
"value": "../base_hud_part"
}
},
{
"type": "ExportNamedDeclaration",
"start": 206,
"end": 1144,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 31,
"column": 1
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "ClassDeclaration",
"start": 213,
"end": 1144,
"loc": {
"start": {
"line": 6,
"column": 7
},
"end": {
"line": 31,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 219,
"end": 233,
"loc": {
"start": {
"line": 6,
"column": 13
},
"end": {
"line": 6,
"column": 27
},
"identifierName": "HUDLeverToggle"
},
"name": "HUDLeverToggle"
},
"superClass": {
"type": "Identifier",
"start": 242,
"end": 253,
"loc": {
"start": {
"line": 6,
"column": 36
},
"end": {
"line": 6,
"column": 47
},
"identifierName": "BaseHUDPart"
},
"name": "BaseHUDPart"
},
"body": {
"type": "ClassBody",
"start": 254,
"end": 1144,
"loc": {
"start": {
"line": 6,
"column": 48
},
"end": {
"line": 31,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 261,
"end": 355,
"loc": {
"start": {
"line": 7,
"column": 4
},
"end": {
"line": 9,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 261,
"end": 271,
"loc": {
"start": {
"line": 7,
"column": 4
},
"end": {
"line": 7,
"column": 14
},
"identifierName": "initialize"
},
"name": "initialize"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 274,
"end": 355,
"loc": {
"start": {
"line": 7,
"column": 17
},
"end": {
"line": 9,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 285,
"end": 348,
"loc": {
"start": {
"line": 8,
"column": 8
},
"end": {
"line": 8,
"column": 71
}
},
"expression": {
"type": "CallExpression",
"start": 285,
"end": 347,
"loc": {
"start": {
"line": 8,
"column": 8
},
"end": {
"line": 8,
"column": 70
}
},
"callee": {
"type": "MemberExpression",
"start": 285,
"end": 320,
"loc": {
"start": {
"line": 8,
"column": 8
},
"end": {
"line": 8,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 285,
"end": 316,
"loc": {
"start": {
"line": 8,
"column": 8
},
"end": {
"line": 8,
"column": 39
}
},
"object": {
"type": "MemberExpression",
"start": 285,
"end": 301,
"loc": {
"start": {
"line": 8,
"column": 8
},
"end": {
"line": 8,
"column": 24
}
},
"object": {
"type": "MemberExpression",
"start": 285,
"end": 294,
"loc": {
"start": {
"line": 8,
"column": 8
},
"end": {
"line": 8,
"column": 17
}
},
"object": {
"type": "ThisExpression",
"start": 285,
"end": 289,
"loc": {
"start": {
"line": 8,
"column": 8
},
"end": {
"line": 8,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 290,
"end": 294,
"loc": {
"start": {
"line": 8,
"column": 13
},
"end": {
"line": 8,
"column": 17
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 295,
"end": 301,
"loc": {
"start": {
"line": 8,
"column": 18
},
"end": {
"line": 8,
"column": 24
},
"identifierName": "camera"
},
"name": "camera"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 302,
"end": 316,
"loc": {
"start": {
"line": 8,
"column": 25
},
"end": {
"line": 8,
"column": 39
},
"identifierName": "downPreHandler"
},
"name": "downPreHandler"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 317,
"end": 320,
"loc": {
"start": {
"line": 8,
"column": 40
},
"end": {
"line": 8,
"column": 43
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 321,
"end": 340,
"loc": {
"start": {
"line": 8,
"column": 44
},
"end": {
"line": 8,
"column": 63
}
},
"object": {
"type": "ThisExpression",
"start": 321,
"end": 325,
"loc": {
"start": {
"line": 8,
"column": 44
},
"end": {
"line": 8,
"column": 48
}
}
},
"property": {
"type": "Identifier",
"start": 326,
"end": 340,
"loc": {
"start": {
"line": 8,
"column": 49
},
"end": {
"line": 8,
"column": 63
},
"identifierName": "downPreHandler"
},
"name": "downPreHandler"
},
"computed": false
},
{
"type": "ThisExpression",
"start": 342,
"end": 346,
"loc": {
"start": {
"line": 8,
"column": 65
},
"end": {
"line": 8,
"column": 69
}
}
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {Vector} pos\r\n * @param {enumMouseButton} button\r\n ",
"start": 363,
"end": 443,
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 14,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 449,
"end": 1141,
"loc": {
"start": {
"line": 15,
"column": 4
},
"end": {
"line": 30,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 449,
"end": 463,
"loc": {
"start": {
"line": 15,
"column": 4
},
"end": {
"line": 15,
"column": 18
},
"identifierName": "downPreHandler"
},
"name": "downPreHandler",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 464,
"end": 467,
"loc": {
"start": {
"line": 15,
"column": 19
},
"end": {
"line": 15,
"column": 22
},
"identifierName": "pos"
},
"name": "pos"
},
{
"type": "Identifier",
"start": 469,
"end": 475,
"loc": {
"start": {
"line": 15,
"column": 24
},
"end": {
"line": 15,
"column": 30
},
"identifierName": "button"
},
"name": "button"
}
],
"body": {
"type": "BlockStatement",
"start": 477,
"end": 1141,
"loc": {
"start": {
"line": 15,
"column": 32
},
"end": {
"line": 30,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 488,
"end": 551,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 71
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 494,
"end": 550,
"loc": {
"start": {
"line": 16,
"column": 14
},
"end": {
"line": 16,
"column": 70
}
},
"id": {
"type": "Identifier",
"start": 494,
"end": 498,
"loc": {
"start": {
"line": 16,
"column": 14
},
"end": {
"line": 16,
"column": 18
},
"identifierName": "tile"
},
"name": "tile"
},
"init": {
"type": "CallExpression",
"start": 501,
"end": 550,
"loc": {
"start": {
"line": 16,
"column": 21
},
"end": {
"line": 16,
"column": 70
}
},
"callee": {
"type": "MemberExpression",
"start": 501,
"end": 548,
"loc": {
"start": {
"line": 16,
"column": 21
},
"end": {
"line": 16,
"column": 68
}
},
"object": {
"type": "CallExpression",
"start": 501,
"end": 536,
"loc": {
"start": {
"line": 16,
"column": 21
},
"end": {
"line": 16,
"column": 56
}
},
"callee": {
"type": "MemberExpression",
"start": 501,
"end": 531,
"loc": {
"start": {
"line": 16,
"column": 21
},
"end": {
"line": 16,
"column": 51
}
},
"object": {
"type": "MemberExpression",
"start": 501,
"end": 517,
"loc": {
"start": {
"line": 16,
"column": 21
},
"end": {
"line": 16,
"column": 37
}
},
"object": {
"type": "MemberExpression",
"start": 501,
"end": 510,
"loc": {
"start": {
"line": 16,
"column": 21
},
"end": {
"line": 16,
"column": 30
}
},
"object": {
"type": "ThisExpression",
"start": 501,
"end": 505,
"loc": {
"start": {
"line": 16,
"column": 21
},
"end": {
"line": 16,
"column": 25
}
}
},
"property": {
"type": "Identifier",
"start": 506,
"end": 510,
"loc": {
"start": {
"line": 16,
"column": 26
},
"end": {
"line": 16,
"column": 30
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 511,
"end": 517,
"loc": {
"start": {
"line": 16,
"column": 31
},
"end": {
"line": 16,
"column": 37
},
"identifierName": "camera"
},
"name": "camera"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 518,
"end": 531,
"loc": {
"start": {
"line": 16,
"column": 38
},
"end": {
"line": 16,
"column": 51
},
"identifierName": "screenToWorld"
},
"name": "screenToWorld"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 532,
"end": 535,
"loc": {
"start": {
"line": 16,
"column": 52
},
"end": {
"line": 16,
"column": 55
},
"identifierName": "pos"
},
"name": "pos"
}
]
},
"property": {
"type": "Identifier",
"start": 537,
"end": 548,
"loc": {
"start": {
"line": 16,
"column": 57
},
"end": {
"line": 16,
"column": 68
},
"identifierName": "toTileSpace"
},
"name": "toTileSpace"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 561,
"end": 637,
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 17,
"column": 84
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 567,
"end": 636,
"loc": {
"start": {
"line": 17,
"column": 14
},
"end": {
"line": 17,
"column": 83
}
},
"id": {
"type": "Identifier",
"start": 567,
"end": 575,
"loc": {
"start": {
"line": 17,
"column": 14
},
"end": {
"line": 17,
"column": 22
},
"identifierName": "contents"
},
"name": "contents"
},
"init": {
"type": "CallExpression",
"start": 578,
"end": 636,
"loc": {
"start": {
"line": 17,
"column": 25
},
"end": {
"line": 17,
"column": 83
}
},
"callee": {
"type": "MemberExpression",
"start": 578,
"end": 609,
"loc": {
"start": {
"line": 17,
"column": 25
},
"end": {
"line": 17,
"column": 56
}
},
"object": {
"type": "MemberExpression",
"start": 578,
"end": 591,
"loc": {
"start": {
"line": 17,
"column": 25
},
"end": {
"line": 17,
"column": 38
}
},
"object": {
"type": "MemberExpression",
"start": 578,
"end": 587,
"loc": {
"start": {
"line": 17,
"column": 25
},
"end": {
"line": 17,
"column": 34
}
},
"object": {
"type": "ThisExpression",
"start": 578,
"end": 582,
"loc": {
"start": {
"line": 17,
"column": 25
},
"end": {
"line": 17,
"column": 29
}
}
},
"property": {
"type": "Identifier",
"start": 583,
"end": 587,
"loc": {
"start": {
"line": 17,
"column": 30
},
"end": {
"line": 17,
"column": 34
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 588,
"end": 591,
"loc": {
"start": {
"line": 17,
"column": 35
},
"end": {
"line": 17,
"column": 38
},
"identifierName": "map"
},
"name": "map"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 592,
"end": 609,
"loc": {
"start": {
"line": 17,
"column": 39
},
"end": {
"line": 17,
"column": 56
},
"identifierName": "getLayerContentXY"
},
"name": "getLayerContentXY"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 610,
"end": 616,
"loc": {
"start": {
"line": 17,
"column": 57
},
"end": {
"line": 17,
"column": 63
}
},
"object": {
"type": "Identifier",
"start": 610,
"end": 614,
"loc": {
"start": {
"line": 17,
"column": 57
},
"end": {
"line": 17,
"column": 61
},
"identifierName": "tile"
},
"name": "tile"
},
"property": {
"type": "Identifier",
"start": 615,
"end": 616,
"loc": {
"start": {
"line": 17,
"column": 62
},
"end": {
"line": 17,
"column": 63
},
"identifierName": "x"
},
"name": "x"
},
"computed": false
},
{
"type": "MemberExpression",
"start": 618,
"end": 624,
"loc": {
"start": {
"line": 17,
"column": 65
},
"end": {
"line": 17,
"column": 71
}
},
"object": {
"type": "Identifier",
"start": 618,
"end": 622,
"loc": {
"start": {
"line": 17,
"column": 65
},
"end": {
"line": 17,
"column": 69
},
"identifierName": "tile"
},
"name": "tile"
},
"property": {
"type": "Identifier",
"start": 623,
"end": 624,
"loc": {
"start": {
"line": 17,
"column": 70
},
"end": {
"line": 17,
"column": 71
},
"identifierName": "y"
},
"name": "y"
},
"computed": false
},
{
"type": "StringLiteral",
"start": 626,
"end": 635,
"loc": {
"start": {
"line": 17,
"column": 73
},
"end": {
"line": 17,
"column": 82
}
},
"extra": {
"rawValue": "regular",
"raw": "\"regular\""
},
"value": "regular"
}
]
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 647,
"end": 1134,
"loc": {
"start": {
"line": 18,
"column": 8
},
"end": {
"line": 29,
"column": 9
}
},
"test": {
"type": "Identifier",
"start": 651,
"end": 659,
"loc": {
"start": {
"line": 18,
"column": 12
},
"end": {
"line": 18,
"column": 20
},
"identifierName": "contents"
},
"name": "contents"
},
"consequent": {
"type": "BlockStatement",
"start": 661,
"end": 1134,
"loc": {
"start": {
"line": 18,
"column": 22
},
"end": {
"line": 29,
"column": 9
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 676,
"end": 720,
"loc": {
"start": {
"line": 19,
"column": 12
},
"end": {
"line": 19,
"column": 56
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 682,
"end": 719,
"loc": {
"start": {
"line": 19,
"column": 18
},
"end": {
"line": 19,
"column": 55
}
},
"id": {
"type": "Identifier",
"start": 682,
"end": 691,
"loc": {
"start": {
"line": 19,
"column": 18
},
"end": {
"line": 19,
"column": 27
},
"identifierName": "leverComp"
},
"name": "leverComp"
},
"init": {
"type": "MemberExpression",
"start": 694,
"end": 719,
"loc": {
"start": {
"line": 19,
"column": 30
},
"end": {
"line": 19,
"column": 55
}
},
"object": {
"type": "MemberExpression",
"start": 694,
"end": 713,
"loc": {
"start": {
"line": 19,
"column": 30
},
"end": {
"line": 19,
"column": 49
}
},
"object": {
"type": "Identifier",
"start": 694,
"end": 702,
"loc": {
"start": {
"line": 19,
"column": 30
},
"end": {
"line": 19,
"column": 38
},
"identifierName": "contents"
},
"name": "contents"
},
"property": {
"type": "Identifier",
"start": 703,
"end": 713,
"loc": {
"start": {
"line": 19,
"column": 39
},
"end": {
"line": 19,
"column": 49
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 714,
"end": 719,
"loc": {
"start": {
"line": 19,
"column": 50
},
"end": {
"line": 19,
"column": 55
},
"identifierName": "Lever"
},
"name": "Lever"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 734,
"end": 1123,
"loc": {
"start": {
"line": 20,
"column": 12
},
"end": {
"line": 28,
"column": 13
}
},
"test": {
"type": "Identifier",
"start": 738,
"end": 747,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 25
},
"identifierName": "leverComp"
},
"name": "leverComp"
},
"consequent": {
"type": "BlockStatement",
"start": 749,
"end": 1123,
"loc": {
"start": {
"line": 20,
"column": 27
},
"end": {
"line": 28,
"column": 13
}
},
"body": [
{
"type": "IfStatement",
"start": 768,
"end": 1108,
"loc": {
"start": {
"line": 21,
"column": 16
},
"end": {
"line": 27,
"column": 17
}
},
"test": {
"type": "BinaryExpression",
"start": 772,
"end": 803,
"loc": {
"start": {
"line": 21,
"column": 20
},
"end": {
"line": 21,
"column": 51
}
},
"left": {
"type": "Identifier",
"start": 772,
"end": 778,
"loc": {
"start": {
"line": 21,
"column": 20
},
"end": {
"line": 21,
"column": 26
},
"identifierName": "button"
},
"name": "button"
},
"operator": "===",
"right": {
"type": "MemberExpression",
"start": 783,
"end": 803,
"loc": {
"start": {
"line": 21,
"column": 31
},
"end": {
"line": 21,
"column": 51
}
},
"object": {
"type": "Identifier",
"start": 783,
"end": 798,
"loc": {
"start": {
"line": 21,
"column": 31
},
"end": {
"line": 21,
"column": 46
},
"identifierName": "enumMouseButton"
},
"name": "enumMouseButton"
},
"property": {
"type": "Identifier",
"start": 799,
"end": 803,
"loc": {
"start": {
"line": 21,
"column": 47
},
"end": {
"line": 21,
"column": 51
},
"identifierName": "left"
},
"name": "left"
},
"computed": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 805,
"end": 932,
"loc": {
"start": {
"line": 21,
"column": 53
},
"end": {
"line": 24,
"column": 17
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 828,
"end": 867,
"loc": {
"start": {
"line": 22,
"column": 20
},
"end": {
"line": 22,
"column": 59
}
},
"expression": {
"type": "AssignmentExpression",
"start": 828,
"end": 866,
"loc": {
"start": {
"line": 22,
"column": 20
},
"end": {
"line": 22,
"column": 58
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 828,
"end": 845,
"loc": {
"start": {
"line": 22,
"column": 20
},
"end": {
"line": 22,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 828,
"end": 837,
"loc": {
"start": {
"line": 22,
"column": 20
},
"end": {
"line": 22,
"column": 29
},
"identifierName": "leverComp"
},
"name": "leverComp"
},
"property": {
"type": "Identifier",
"start": 838,
"end": 845,
"loc": {
"start": {
"line": 22,
"column": 30
},
"end": {
"line": 22,
"column": 37
},
"identifierName": "toggled"
},
"name": "toggled"
},
"computed": false
},
"right": {
"type": "UnaryExpression",
"start": 848,
"end": 866,
"loc": {
"start": {
"line": 22,
"column": 40
},
"end": {
"line": 22,
"column": 58
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 849,
"end": 866,
"loc": {
"start": {
"line": 22,
"column": 41
},
"end": {
"line": 22,
"column": 58
}
},
"object": {
"type": "Identifier",
"start": 849,
"end": 858,
"loc": {
"start": {
"line": 22,
"column": 41
},
"end": {
"line": 22,
"column": 50
},
"identifierName": "leverComp"
},
"name": "leverComp"
},
"property": {
"type": "Identifier",
"start": 859,
"end": 866,
"loc": {
"start": {
"line": 22,
"column": 51
},
"end": {
"line": 22,
"column": 58
},
"identifierName": "toggled"
},
"name": "toggled"
},
"computed": false
},
"extra": {
"parenthesizedArgument": false
}
}
}
},
{
"type": "ReturnStatement",
"start": 889,
"end": 913,
"loc": {
"start": {
"line": 23,
"column": 20
},
"end": {
"line": 23,
"column": 44
}
},
"argument": {
"type": "Identifier",
"start": 896,
"end": 912,
"loc": {
"start": {
"line": 23,
"column": 27
},
"end": {
"line": 23,
"column": 43
},
"identifierName": "STOP_PROPAGATION"
},
"name": "STOP_PROPAGATION"
}
}
],
"directives": []
},
"alternate": {
"type": "IfStatement",
"start": 938,
"end": 1108,
"loc": {
"start": {
"line": 24,
"column": 23
},
"end": {
"line": 27,
"column": 17
}
},
"test": {
"type": "BinaryExpression",
"start": 942,
"end": 974,
"loc": {
"start": {
"line": 24,
"column": 27
},
"end": {
"line": 24,
"column": 59
}
},
"left": {
"type": "Identifier",
"start": 942,
"end": 948,
"loc": {
"start": {
"line": 24,
"column": 27
},
"end": {
"line": 24,
"column": 33
},
"identifierName": "button"
},
"name": "button"
},
"operator": "===",
"right": {
"type": "MemberExpression",
"start": 953,
"end": 974,
"loc": {
"start": {
"line": 24,
"column": 38
},
"end": {
"line": 24,
"column": 59
}
},
"object": {
"type": "Identifier",
"start": 953,
"end": 968,
"loc": {
"start": {
"line": 24,
"column": 38
},
"end": {
"line": 24,
"column": 53
},
"identifierName": "enumMouseButton"
},
"name": "enumMouseButton"
},
"property": {
"type": "Identifier",
"start": 969,
"end": 974,
"loc": {
"start": {
"line": 24,
"column": 54
},
"end": {
"line": 24,
"column": 59
},
"identifierName": "right"
},
"name": "right"
},
"computed": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 976,
"end": 1108,
"loc": {
"start": {
"line": 24,
"column": 61
},
"end": {
"line": 27,
"column": 17
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 999,
"end": 1043,
"loc": {
"start": {
"line": 25,
"column": 20
},
"end": {
"line": 25,
"column": 64
}
},
"expression": {
"type": "CallExpression",
"start": 999,
"end": 1042,
"loc": {
"start": {
"line": 25,
"column": 20
},
"end": {
"line": 25,
"column": 63
}
},
"callee": {
"type": "MemberExpression",
"start": 999,
"end": 1032,
"loc": {
"start": {
"line": 25,
"column": 20
},
"end": {
"line": 25,
"column": 53
}
},
"object": {
"type": "MemberExpression",
"start": 999,
"end": 1014,
"loc": {
"start": {
"line": 25,
"column": 20
},
"end": {
"line": 25,
"column": 35
}
},
"object": {
"type": "MemberExpression",
"start": 999,
"end": 1008,
"loc": {
"start": {
"line": 25,
"column": 20
},
"end": {
"line": 25,
"column": 29
}
},
"object": {
"type": "ThisExpression",
"start": 999,
"end": 1003,
"loc": {
"start": {
"line": 25,
"column": 20
},
"end": {
"line": 25,
"column": 24
}
}
},
"property": {
"type": "Identifier",
"start": 1004,
"end": 1008,
"loc": {
"start": {
"line": 25,
"column": 25
},
"end": {
"line": 25,
"column": 29
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1009,
"end": 1014,
"loc": {
"start": {
"line": 25,
"column": 30
},
"end": {
"line": 25,
"column": 35
},
"identifierName": "logic"
},
"name": "logic"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1015,
"end": 1032,
"loc": {
"start": {
"line": 25,
"column": 36
},
"end": {
"line": 25,
"column": 53
},
"identifierName": "tryDeleteBuilding"
},
"name": "tryDeleteBuilding"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1033,
"end": 1041,
"loc": {
"start": {
"line": 25,
"column": 54
},
"end": {
"line": 25,
"column": 62
},
"identifierName": "contents"
},
"name": "contents"
}
]
}
},
{
"type": "ReturnStatement",
"start": 1065,
"end": 1089,
"loc": {
"start": {
"line": 26,
"column": 20
},
"end": {
"line": 26,
"column": 44
}
},
"argument": {
"type": "Identifier",
"start": 1072,
"end": 1088,
"loc": {
"start": {
"line": 26,
"column": 27
},
"end": {
"line": 26,
"column": 43
},
"identifierName": "STOP_PROPAGATION"
},
"name": "STOP_PROPAGATION"
}
}
],
"directives": []
},
"alternate": null
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {Vector} pos\r\n * @param {enumMouseButton} button\r\n ",
"start": 363,
"end": 443,
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 14,
"column": 7
}
}
}
]
}
]
},
"leadingComments": [],
"trailingComments": []
}
}
],
"directives": []
},
"comments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {Vector} pos\r\n * @param {enumMouseButton} button\r\n ",
"start": 363,
"end": 443,
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 14,
"column": 7
}
}
}
],
"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": "STOP_PROPAGATION",
"start": 9,
"end": 25,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 25
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 26,
"end": 27,
"loc": {
"start": {
"line": 1,
"column": 26
},
"end": {
"line": 1,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 28,
"end": 32,
"loc": {
"start": {
"line": 1,
"column": 28
},
"end": {
"line": 1,
"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": 33,
"end": 55,
"loc": {
"start": {
"line": 1,
"column": 33
},
"end": {
"line": 1,
"column": 55
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 55,
"end": 56,
"loc": {
"start": {
"line": 1,
"column": 55
},
"end": {
"line": 1,
"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": 58,
"end": 64,
"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": 65,
"end": 66,
"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": "Vector",
"start": 67,
"end": 73,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 15
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 74,
"end": 75,
"loc": {
"start": {
"line": 2,
"column": 16
},
"end": {
"line": 2,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 76,
"end": 80,
"loc": {
"start": {
"line": 2,
"column": 18
},
"end": {
"line": 2,
"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": 81,
"end": 103,
"loc": {
"start": {
"line": 2,
"column": 23
},
"end": {
"line": 2,
"column": 45
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 103,
"end": 104,
"loc": {
"start": {
"line": 2,
"column": 45
},
"end": {
"line": 2,
"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": 106,
"end": 112,
"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": 113,
"end": 114,
"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": "enumMouseButton",
"start": 115,
"end": 130,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 24
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 131,
"end": 132,
"loc": {
"start": {
"line": 3,
"column": 25
},
"end": {
"line": 3,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 133,
"end": 137,
"loc": {
"start": {
"line": 3,
"column": 27
},
"end": {
"line": 3,
"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": 138,
"end": 152,
"loc": {
"start": {
"line": 3,
"column": 32
},
"end": {
"line": 3,
"column": 46
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 152,
"end": 153,
"loc": {
"start": {
"line": 3,
"column": 46
},
"end": {
"line": 3,
"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": 155,
"end": 161,
"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": 162,
"end": 163,
"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": "BaseHUDPart",
"start": 164,
"end": 175,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 20
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 176,
"end": 177,
"loc": {
"start": {
"line": 4,
"column": 21
},
"end": {
"line": 4,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 178,
"end": 182,
"loc": {
"start": {
"line": 4,
"column": 23
},
"end": {
"line": 4,
"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": 183,
"end": 201,
"loc": {
"start": {
"line": 4,
"column": 28
},
"end": {
"line": 4,
"column": 46
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 201,
"end": 202,
"loc": {
"start": {
"line": 4,
"column": 46
},
"end": {
"line": 4,
"column": 47
}
}
},
{
"type": {
"label": "export",
"keyword": "export",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "export",
"start": 206,
"end": 212,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 6
}
}
},
{
"type": {
"label": "class",
"keyword": "class",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "class",
"start": 213,
"end": 218,
"loc": {
"start": {
"line": 6,
"column": 7
},
"end": {
"line": 6,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "HUDLeverToggle",
"start": 219,
"end": 233,
"loc": {
"start": {
"line": 6,
"column": 13
},
"end": {
"line": 6,
"column": 27
}
}
},
{
"type": {
"label": "extends",
"keyword": "extends",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "extends",
"start": 234,
"end": 241,
"loc": {
"start": {
"line": 6,
"column": 28
},
"end": {
"line": 6,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "BaseHUDPart",
"start": 242,
"end": 253,
"loc": {
"start": {
"line": 6,
"column": 36
},
"end": {
"line": 6,
"column": 47
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 254,
"end": 255,
"loc": {
"start": {
"line": 6,
"column": 48
},
"end": {
"line": 6,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "initialize",
"start": 261,
"end": 271,
"loc": {
"start": {
"line": 7,
"column": 4
},
"end": {
"line": 7,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 271,
"end": 272,
"loc": {
"start": {
"line": 7,
"column": 14
},
"end": {
"line": 7,
"column": 15
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 272,
"end": 273,
"loc": {
"start": {
"line": 7,
"column": 15
},
"end": {
"line": 7,
"column": 16
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 274,
"end": 275,
"loc": {
"start": {
"line": 7,
"column": 17
},
"end": {
"line": 7,
"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": 285,
"end": 289,
"loc": {
"start": {
"line": 8,
"column": 8
},
"end": {
"line": 8,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 289,
"end": 290,
"loc": {
"start": {
"line": 8,
"column": 12
},
"end": {
"line": 8,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 290,
"end": 294,
"loc": {
"start": {
"line": 8,
"column": 13
},
"end": {
"line": 8,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 294,
"end": 295,
"loc": {
"start": {
"line": 8,
"column": 17
},
"end": {
"line": 8,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "camera",
"start": 295,
"end": 301,
"loc": {
"start": {
"line": 8,
"column": 18
},
"end": {
"line": 8,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 301,
"end": 302,
"loc": {
"start": {
"line": 8,
"column": 24
},
"end": {
"line": 8,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "downPreHandler",
"start": 302,
"end": 316,
"loc": {
"start": {
"line": 8,
"column": 25
},
"end": {
"line": 8,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 316,
"end": 317,
"loc": {
"start": {
"line": 8,
"column": 39
},
"end": {
"line": 8,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 317,
"end": 320,
"loc": {
"start": {
"line": 8,
"column": 40
},
"end": {
"line": 8,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 320,
"end": 321,
"loc": {
"start": {
"line": 8,
"column": 43
},
"end": {
"line": 8,
"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": 321,
"end": 325,
"loc": {
"start": {
"line": 8,
"column": 44
},
"end": {
"line": 8,
"column": 48
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 325,
"end": 326,
"loc": {
"start": {
"line": 8,
"column": 48
},
"end": {
"line": 8,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "downPreHandler",
"start": 326,
"end": 340,
"loc": {
"start": {
"line": 8,
"column": 49
},
"end": {
"line": 8,
"column": 63
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 340,
"end": 341,
"loc": {
"start": {
"line": 8,
"column": 63
},
"end": {
"line": 8,
"column": 64
}
}
},
{
"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": 342,
"end": 346,
"loc": {
"start": {
"line": 8,
"column": 65
},
"end": {
"line": 8,
"column": 69
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 346,
"end": 347,
"loc": {
"start": {
"line": 8,
"column": 69
},
"end": {
"line": 8,
"column": 70
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 347,
"end": 348,
"loc": {
"start": {
"line": 8,
"column": 70
},
"end": {
"line": 8,
"column": 71
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 354,
"end": 355,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 9,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {Vector} pos\r\n * @param {enumMouseButton} button\r\n ",
"start": 363,
"end": 443,
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 14,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "downPreHandler",
"start": 449,
"end": 463,
"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": 463,
"end": 464,
"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": "pos",
"start": 464,
"end": 467,
"loc": {
"start": {
"line": 15,
"column": 19
},
"end": {
"line": 15,
"column": 22
}
}
},
{
"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": 15,
"column": 22
},
"end": {
"line": 15,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "button",
"start": 469,
"end": 475,
"loc": {
"start": {
"line": 15,
"column": 24
},
"end": {
"line": 15,
"column": 30
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 475,
"end": 476,
"loc": {
"start": {
"line": 15,
"column": 30
},
"end": {
"line": 15,
"column": 31
}
}
},
{
"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": 15,
"column": 32
},
"end": {
"line": 15,
"column": 33
}
}
},
{
"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": 488,
"end": 493,
"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": "tile",
"start": 494,
"end": 498,
"loc": {
"start": {
"line": 16,
"column": 14
},
"end": {
"line": 16,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 499,
"end": 500,
"loc": {
"start": {
"line": 16,
"column": 19
},
"end": {
"line": 16,
"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": 501,
"end": 505,
"loc": {
"start": {
"line": 16,
"column": 21
},
"end": {
"line": 16,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 505,
"end": 506,
"loc": {
"start": {
"line": 16,
"column": 25
},
"end": {
"line": 16,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 506,
"end": 510,
"loc": {
"start": {
"line": 16,
"column": 26
},
"end": {
"line": 16,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 510,
"end": 511,
"loc": {
"start": {
"line": 16,
"column": 30
},
"end": {
"line": 16,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "camera",
"start": 511,
"end": 517,
"loc": {
"start": {
"line": 16,
"column": 31
},
"end": {
"line": 16,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 517,
"end": 518,
"loc": {
"start": {
"line": 16,
"column": 37
},
"end": {
"line": 16,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "screenToWorld",
"start": 518,
"end": 531,
"loc": {
"start": {
"line": 16,
"column": 38
},
"end": {
"line": 16,
"column": 51
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 531,
"end": 532,
"loc": {
"start": {
"line": 16,
"column": 51
},
"end": {
"line": 16,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pos",
"start": 532,
"end": 535,
"loc": {
"start": {
"line": 16,
"column": 52
},
"end": {
"line": 16,
"column": 55
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 535,
"end": 536,
"loc": {
"start": {
"line": 16,
"column": 55
},
"end": {
"line": 16,
"column": 56
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 536,
"end": 537,
"loc": {
"start": {
"line": 16,
"column": 56
},
"end": {
"line": 16,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "toTileSpace",
"start": 537,
"end": 548,
"loc": {
"start": {
"line": 16,
"column": 57
},
"end": {
"line": 16,
"column": 68
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 548,
"end": 549,
"loc": {
"start": {
"line": 16,
"column": 68
},
"end": {
"line": 16,
"column": 69
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 549,
"end": 550,
"loc": {
"start": {
"line": 16,
"column": 69
},
"end": {
"line": 16,
"column": 70
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 550,
"end": 551,
"loc": {
"start": {
"line": 16,
"column": 70
},
"end": {
"line": 16,
"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": 561,
"end": 566,
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 17,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "contents",
"start": 567,
"end": 575,
"loc": {
"start": {
"line": 17,
"column": 14
},
"end": {
"line": 17,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 576,
"end": 577,
"loc": {
"start": {
"line": 17,
"column": 23
},
"end": {
"line": 17,
"column": 24
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 578,
"end": 582,
"loc": {
"start": {
"line": 17,
"column": 25
},
"end": {
"line": 17,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 582,
"end": 583,
"loc": {
"start": {
"line": 17,
"column": 29
},
"end": {
"line": 17,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 583,
"end": 587,
"loc": {
"start": {
"line": 17,
"column": 30
},
"end": {
"line": 17,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 587,
"end": 588,
"loc": {
"start": {
"line": 17,
"column": 34
},
"end": {
"line": 17,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "map",
"start": 588,
"end": 591,
"loc": {
"start": {
"line": 17,
"column": 35
},
"end": {
"line": 17,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 591,
"end": 592,
"loc": {
"start": {
"line": 17,
"column": 38
},
"end": {
"line": 17,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getLayerContentXY",
"start": 592,
"end": 609,
"loc": {
"start": {
"line": 17,
"column": 39
},
"end": {
"line": 17,
"column": 56
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 609,
"end": 610,
"loc": {
"start": {
"line": 17,
"column": 56
},
"end": {
"line": 17,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tile",
"start": 610,
"end": 614,
"loc": {
"start": {
"line": 17,
"column": 57
},
"end": {
"line": 17,
"column": 61
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 614,
"end": 615,
"loc": {
"start": {
"line": 17,
"column": 61
},
"end": {
"line": 17,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 615,
"end": 616,
"loc": {
"start": {
"line": 17,
"column": 62
},
"end": {
"line": 17,
"column": 63
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 616,
"end": 617,
"loc": {
"start": {
"line": 17,
"column": 63
},
"end": {
"line": 17,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tile",
"start": 618,
"end": 622,
"loc": {
"start": {
"line": 17,
"column": 65
},
"end": {
"line": 17,
"column": 69
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 622,
"end": 623,
"loc": {
"start": {
"line": 17,
"column": 69
},
"end": {
"line": 17,
"column": 70
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 623,
"end": 624,
"loc": {
"start": {
"line": 17,
"column": 70
},
"end": {
"line": 17,
"column": 71
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 624,
"end": 625,
"loc": {
"start": {
"line": 17,
"column": 71
},
"end": {
"line": 17,
"column": 72
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "regular",
"start": 626,
"end": 635,
"loc": {
"start": {
"line": 17,
"column": 73
},
"end": {
"line": 17,
"column": 82
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 635,
"end": 636,
"loc": {
"start": {
"line": 17,
"column": 82
},
"end": {
"line": 17,
"column": 83
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 636,
"end": 637,
"loc": {
"start": {
"line": 17,
"column": 83
},
"end": {
"line": 17,
"column": 84
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 647,
"end": 649,
"loc": {
"start": {
"line": 18,
"column": 8
},
"end": {
"line": 18,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 650,
"end": 651,
"loc": {
"start": {
"line": 18,
"column": 11
},
"end": {
"line": 18,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "contents",
"start": 651,
"end": 659,
"loc": {
"start": {
"line": 18,
"column": 12
},
"end": {
"line": 18,
"column": 20
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 659,
"end": 660,
"loc": {
"start": {
"line": 18,
"column": 20
},
"end": {
"line": 18,
"column": 21
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 661,
"end": 662,
"loc": {
"start": {
"line": 18,
"column": 22
},
"end": {
"line": 18,
"column": 23
}
}
},
{
"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": 676,
"end": 681,
"loc": {
"start": {
"line": 19,
"column": 12
},
"end": {
"line": 19,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "leverComp",
"start": 682,
"end": 691,
"loc": {
"start": {
"line": 19,
"column": 18
},
"end": {
"line": 19,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 692,
"end": 693,
"loc": {
"start": {
"line": 19,
"column": 28
},
"end": {
"line": 19,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "contents",
"start": 694,
"end": 702,
"loc": {
"start": {
"line": 19,
"column": 30
},
"end": {
"line": 19,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 702,
"end": 703,
"loc": {
"start": {
"line": 19,
"column": 38
},
"end": {
"line": 19,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 703,
"end": 713,
"loc": {
"start": {
"line": 19,
"column": 39
},
"end": {
"line": 19,
"column": 49
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 713,
"end": 714,
"loc": {
"start": {
"line": 19,
"column": 49
},
"end": {
"line": 19,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Lever",
"start": 714,
"end": 719,
"loc": {
"start": {
"line": 19,
"column": 50
},
"end": {
"line": 19,
"column": 55
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 719,
"end": 720,
"loc": {
"start": {
"line": 19,
"column": 55
},
"end": {
"line": 19,
"column": 56
}
}
},
{
"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": 734,
"end": 736,
"loc": {
"start": {
"line": 20,
"column": 12
},
"end": {
"line": 20,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 737,
"end": 738,
"loc": {
"start": {
"line": 20,
"column": 15
},
"end": {
"line": 20,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "leverComp",
"start": 738,
"end": 747,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 747,
"end": 748,
"loc": {
"start": {
"line": 20,
"column": 25
},
"end": {
"line": 20,
"column": 26
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 749,
"end": 750,
"loc": {
"start": {
"line": 20,
"column": 27
},
"end": {
"line": 20,
"column": 28
}
}
},
{
"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": 768,
"end": 770,
"loc": {
"start": {
"line": 21,
"column": 16
},
"end": {
"line": 21,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 771,
"end": 772,
"loc": {
"start": {
"line": 21,
"column": 19
},
"end": {
"line": 21,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "button",
"start": 772,
"end": 778,
"loc": {
"start": {
"line": 21,
"column": 20
},
"end": {
"line": 21,
"column": 26
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 779,
"end": 782,
"loc": {
"start": {
"line": 21,
"column": 27
},
"end": {
"line": 21,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumMouseButton",
"start": 783,
"end": 798,
"loc": {
"start": {
"line": 21,
"column": 31
},
"end": {
"line": 21,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 798,
"end": 799,
"loc": {
"start": {
"line": 21,
"column": 46
},
"end": {
"line": 21,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "left",
"start": 799,
"end": 803,
"loc": {
"start": {
"line": 21,
"column": 47
},
"end": {
"line": 21,
"column": 51
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 803,
"end": 804,
"loc": {
"start": {
"line": 21,
"column": 51
},
"end": {
"line": 21,
"column": 52
}
}
},
{
"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": 21,
"column": 53
},
"end": {
"line": 21,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "leverComp",
"start": 828,
"end": 837,
"loc": {
"start": {
"line": 22,
"column": 20
},
"end": {
"line": 22,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 837,
"end": 838,
"loc": {
"start": {
"line": 22,
"column": 29
},
"end": {
"line": 22,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "toggled",
"start": 838,
"end": 845,
"loc": {
"start": {
"line": 22,
"column": 30
},
"end": {
"line": 22,
"column": 37
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 846,
"end": 847,
"loc": {
"start": {
"line": 22,
"column": 38
},
"end": {
"line": 22,
"column": 39
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 848,
"end": 849,
"loc": {
"start": {
"line": 22,
"column": 40
},
"end": {
"line": 22,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "leverComp",
"start": 849,
"end": 858,
"loc": {
"start": {
"line": 22,
"column": 41
},
"end": {
"line": 22,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 858,
"end": 859,
"loc": {
"start": {
"line": 22,
"column": 50
},
"end": {
"line": 22,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "toggled",
"start": 859,
"end": 866,
"loc": {
"start": {
"line": 22,
"column": 51
},
"end": {
"line": 22,
"column": 58
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 866,
"end": 867,
"loc": {
"start": {
"line": 22,
"column": 58
},
"end": {
"line": 22,
"column": 59
}
}
},
{
"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": 889,
"end": 895,
"loc": {
"start": {
"line": 23,
"column": 20
},
"end": {
"line": 23,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "STOP_PROPAGATION",
"start": 896,
"end": 912,
"loc": {
"start": {
"line": 23,
"column": 27
},
"end": {
"line": 23,
"column": 43
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 912,
"end": 913,
"loc": {
"start": {
"line": 23,
"column": 43
},
"end": {
"line": 23,
"column": 44
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 931,
"end": 932,
"loc": {
"start": {
"line": 24,
"column": 16
},
"end": {
"line": 24,
"column": 17
}
}
},
{
"type": {
"label": "else",
"keyword": "else",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "else",
"start": 933,
"end": 937,
"loc": {
"start": {
"line": 24,
"column": 18
},
"end": {
"line": 24,
"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": 938,
"end": 940,
"loc": {
"start": {
"line": 24,
"column": 23
},
"end": {
"line": 24,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 941,
"end": 942,
"loc": {
"start": {
"line": 24,
"column": 26
},
"end": {
"line": 24,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "button",
"start": 942,
"end": 948,
"loc": {
"start": {
"line": 24,
"column": 27
},
"end": {
"line": 24,
"column": 33
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 949,
"end": 952,
"loc": {
"start": {
"line": 24,
"column": 34
},
"end": {
"line": 24,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumMouseButton",
"start": 953,
"end": 968,
"loc": {
"start": {
"line": 24,
"column": 38
},
"end": {
"line": 24,
"column": 53
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 968,
"end": 969,
"loc": {
"start": {
"line": 24,
"column": 53
},
"end": {
"line": 24,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "right",
"start": 969,
"end": 974,
"loc": {
"start": {
"line": 24,
"column": 54
},
"end": {
"line": 24,
"column": 59
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 974,
"end": 975,
"loc": {
"start": {
"line": 24,
"column": 59
},
"end": {
"line": 24,
"column": 60
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 976,
"end": 977,
"loc": {
"start": {
"line": 24,
"column": 61
},
"end": {
"line": 24,
"column": 62
}
}
},
{
"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": 999,
"end": 1003,
"loc": {
"start": {
"line": 25,
"column": 20
},
"end": {
"line": 25,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1003,
"end": 1004,
"loc": {
"start": {
"line": 25,
"column": 24
},
"end": {
"line": 25,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 1004,
"end": 1008,
"loc": {
"start": {
"line": 25,
"column": 25
},
"end": {
"line": 25,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1008,
"end": 1009,
"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": "logic",
"start": 1009,
"end": 1014,
"loc": {
"start": {
"line": 25,
"column": 30
},
"end": {
"line": 25,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1014,
"end": 1015,
"loc": {
"start": {
"line": 25,
"column": 35
},
"end": {
"line": 25,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tryDeleteBuilding",
"start": 1015,
"end": 1032,
"loc": {
"start": {
"line": 25,
"column": 36
},
"end": {
"line": 25,
"column": 53
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1032,
"end": 1033,
"loc": {
"start": {
"line": 25,
"column": 53
},
"end": {
"line": 25,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "contents",
"start": 1033,
"end": 1041,
"loc": {
"start": {
"line": 25,
"column": 54
},
"end": {
"line": 25,
"column": 62
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1041,
"end": 1042,
"loc": {
"start": {
"line": 25,
"column": 62
},
"end": {
"line": 25,
"column": 63
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1042,
"end": 1043,
"loc": {
"start": {
"line": 25,
"column": 63
},
"end": {
"line": 25,
"column": 64
}
}
},
{
"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": 1065,
"end": 1071,
"loc": {
"start": {
"line": 26,
"column": 20
},
"end": {
"line": 26,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "STOP_PROPAGATION",
"start": 1072,
"end": 1088,
"loc": {
"start": {
"line": 26,
"column": 27
},
"end": {
"line": 26,
"column": 43
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1088,
"end": 1089,
"loc": {
"start": {
"line": 26,
"column": 43
},
"end": {
"line": 26,
"column": 44
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1107,
"end": 1108,
"loc": {
"start": {
"line": 27,
"column": 16
},
"end": {
"line": 27,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1122,
"end": 1123,
"loc": {
"start": {
"line": 28,
"column": 12
},
"end": {
"line": 28,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1133,
"end": 1134,
"loc": {
"start": {
"line": 29,
"column": 8
},
"end": {
"line": 29,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1140,
"end": 1141,
"loc": {
"start": {
"line": 30,
"column": 4
},
"end": {
"line": 30,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1143,
"end": 1144,
"loc": {
"start": {
"line": 31,
"column": 0
},
"end": {
"line": 31,
"column": 1
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1146,
"end": 1146,
"loc": {
"start": {
"line": 32,
"column": 0
},
"end": {
"line": 32,
"column": 0
}
}
}
]
}