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

24482 lines
588 KiB
JSON

{
"type": "File",
"start": 0,
"end": 4759,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 181,
"column": 2
}
},
"program": {
"type": "Program",
"start": 0,
"end": 4759,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 181,
"column": 2
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 58,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 58
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 9,
"end": 22,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 22
}
},
"imported": {
"type": "Identifier",
"start": 9,
"end": 22,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 22
},
"identifierName": "enumDirection"
},
"name": "enumDirection"
},
"local": {
"type": "Identifier",
"start": 9,
"end": 22,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 22
},
"identifierName": "enumDirection"
},
"name": "enumDirection"
}
},
{
"type": "ImportSpecifier",
"start": 24,
"end": 30,
"loc": {
"start": {
"line": 1,
"column": 24
},
"end": {
"line": 1,
"column": 30
}
},
"imported": {
"type": "Identifier",
"start": 24,
"end": 30,
"loc": {
"start": {
"line": 1,
"column": 24
},
"end": {
"line": 1,
"column": 30
},
"identifierName": "Vector"
},
"name": "Vector"
},
"local": {
"type": "Identifier",
"start": 24,
"end": 30,
"loc": {
"start": {
"line": 1,
"column": 24
},
"end": {
"line": 1,
"column": 30
},
"identifierName": "Vector"
},
"name": "Vector"
}
}
],
"source": {
"type": "StringLiteral",
"start": 38,
"end": 57,
"loc": {
"start": {
"line": 1,
"column": 38
},
"end": {
"line": 1,
"column": 57
}
},
"extra": {
"rawValue": "../../core/vector",
"raw": "\"../../core/vector\""
},
"value": "../../core/vector"
}
},
{
"type": "ImportDeclaration",
"start": 60,
"end": 139,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 79
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 69,
"end": 84,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 24
}
},
"imported": {
"type": "Identifier",
"start": 69,
"end": 84,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 24
},
"identifierName": "enumPinSlotType"
},
"name": "enumPinSlotType"
},
"local": {
"type": "Identifier",
"start": 69,
"end": 84,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 24
},
"identifierName": "enumPinSlotType"
},
"name": "enumPinSlotType"
}
},
{
"type": "ImportSpecifier",
"start": 86,
"end": 104,
"loc": {
"start": {
"line": 2,
"column": 26
},
"end": {
"line": 2,
"column": 44
}
},
"imported": {
"type": "Identifier",
"start": 86,
"end": 104,
"loc": {
"start": {
"line": 2,
"column": 26
},
"end": {
"line": 2,
"column": 44
},
"identifierName": "WiredPinsComponent"
},
"name": "WiredPinsComponent"
},
"local": {
"type": "Identifier",
"start": 86,
"end": 104,
"loc": {
"start": {
"line": 2,
"column": 26
},
"end": {
"line": 2,
"column": 44
},
"identifierName": "WiredPinsComponent"
},
"name": "WiredPinsComponent"
}
}
],
"source": {
"type": "StringLiteral",
"start": 112,
"end": 138,
"loc": {
"start": {
"line": 2,
"column": 52
},
"end": {
"line": 2,
"column": 78
}
},
"extra": {
"rawValue": "../components/wired_pins",
"raw": "\"../components/wired_pins\""
},
"value": "../components/wired_pins"
}
},
{
"type": "ImportDeclaration",
"start": 141,
"end": 176,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 35
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 150,
"end": 156,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 15
}
},
"imported": {
"type": "Identifier",
"start": 150,
"end": 156,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 15
},
"identifierName": "Entity"
},
"name": "Entity"
},
"local": {
"type": "Identifier",
"start": 150,
"end": 156,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 15
},
"identifierName": "Entity"
},
"name": "Entity"
}
}
],
"source": {
"type": "StringLiteral",
"start": 164,
"end": 175,
"loc": {
"start": {
"line": 3,
"column": 23
},
"end": {
"line": 3,
"column": 34
}
},
"extra": {
"rawValue": "../entity",
"raw": "\"../entity\""
},
"value": "../entity"
}
},
{
"type": "ImportDeclaration",
"start": 178,
"end": 250,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 72
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 187,
"end": 209,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 31
}
},
"imported": {
"type": "Identifier",
"start": 187,
"end": 209,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 31
},
"identifierName": "defaultBuildingVariant"
},
"name": "defaultBuildingVariant"
},
"local": {
"type": "Identifier",
"start": 187,
"end": 209,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 31
},
"identifierName": "defaultBuildingVariant"
},
"name": "defaultBuildingVariant"
}
},
{
"type": "ImportSpecifier",
"start": 211,
"end": 223,
"loc": {
"start": {
"line": 4,
"column": 33
},
"end": {
"line": 4,
"column": 45
}
},
"imported": {
"type": "Identifier",
"start": 211,
"end": 223,
"loc": {
"start": {
"line": 4,
"column": 33
},
"end": {
"line": 4,
"column": 45
},
"identifierName": "MetaBuilding"
},
"name": "MetaBuilding"
},
"local": {
"type": "Identifier",
"start": 211,
"end": 223,
"loc": {
"start": {
"line": 4,
"column": 33
},
"end": {
"line": 4,
"column": 45
},
"identifierName": "MetaBuilding"
},
"name": "MetaBuilding"
}
}
],
"source": {
"type": "StringLiteral",
"start": 231,
"end": 249,
"loc": {
"start": {
"line": 4,
"column": 53
},
"end": {
"line": 4,
"column": 71
}
},
"extra": {
"rawValue": "../meta_building",
"raw": "\"../meta_building\""
},
"value": "../meta_building"
}
},
{
"type": "ImportDeclaration",
"start": 252,
"end": 287,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 35
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 261,
"end": 269,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 17
}
},
"imported": {
"type": "Identifier",
"start": 261,
"end": 269,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 17
},
"identifierName": "GameRoot"
},
"name": "GameRoot"
},
"local": {
"type": "Identifier",
"start": 261,
"end": 269,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 17
},
"identifierName": "GameRoot"
},
"name": "GameRoot"
}
}
],
"source": {
"type": "StringLiteral",
"start": 277,
"end": 286,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 5,
"column": 34
}
},
"extra": {
"rawValue": "../root",
"raw": "\"../root\""
},
"value": "../root"
}
},
{
"type": "ImportDeclaration",
"start": 289,
"end": 342,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 53
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 298,
"end": 312,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 23
}
},
"imported": {
"type": "Identifier",
"start": 298,
"end": 312,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 23
},
"identifierName": "LeverComponent"
},
"name": "LeverComponent"
},
"local": {
"type": "Identifier",
"start": 298,
"end": 312,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 23
},
"identifierName": "LeverComponent"
},
"name": "LeverComponent"
}
}
],
"source": {
"type": "StringLiteral",
"start": 320,
"end": 341,
"loc": {
"start": {
"line": 6,
"column": 31
},
"end": {
"line": 6,
"column": 52
}
},
"extra": {
"rawValue": "../components/lever",
"raw": "\"../components/lever\""
},
"value": "../components/lever"
}
},
{
"type": "ImportDeclaration",
"start": 344,
"end": 399,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 7,
"column": 55
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 353,
"end": 371,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 27
}
},
"imported": {
"type": "Identifier",
"start": 353,
"end": 371,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 27
},
"identifierName": "enumHubGoalRewards"
},
"name": "enumHubGoalRewards"
},
"local": {
"type": "Identifier",
"start": 353,
"end": 371,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 27
},
"identifierName": "enumHubGoalRewards"
},
"name": "enumHubGoalRewards"
}
}
],
"source": {
"type": "StringLiteral",
"start": 379,
"end": 398,
"loc": {
"start": {
"line": 7,
"column": 35
},
"end": {
"line": 7,
"column": 54
}
},
"extra": {
"rawValue": "../tutorial_goals",
"raw": "\"../tutorial_goals\""
},
"value": "../tutorial_goals"
}
},
{
"type": "ExportNamedDeclaration",
"start": 403,
"end": 3144,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 120,
"column": 1
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "ClassDeclaration",
"start": 410,
"end": 3144,
"loc": {
"start": {
"line": 9,
"column": 7
},
"end": {
"line": 120,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 416,
"end": 433,
"loc": {
"start": {
"line": 9,
"column": 13
},
"end": {
"line": 9,
"column": 30
},
"identifierName": "MetaLeverBuilding"
},
"name": "MetaLeverBuilding"
},
"superClass": {
"type": "Identifier",
"start": 442,
"end": 454,
"loc": {
"start": {
"line": 9,
"column": 39
},
"end": {
"line": 9,
"column": 51
},
"identifierName": "MetaBuilding"
},
"name": "MetaBuilding"
},
"body": {
"type": "ClassBody",
"start": 455,
"end": 3144,
"loc": {
"start": {
"line": 9,
"column": 52
},
"end": {
"line": 120,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 462,
"end": 509,
"loc": {
"start": {
"line": 10,
"column": 4
},
"end": {
"line": 12,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 462,
"end": 473,
"loc": {
"start": {
"line": 10,
"column": 4
},
"end": {
"line": 10,
"column": 15
},
"identifierName": "constructor"
},
"name": "constructor"
},
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 476,
"end": 509,
"loc": {
"start": {
"line": 10,
"column": 18
},
"end": {
"line": 12,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 487,
"end": 502,
"loc": {
"start": {
"line": 11,
"column": 8
},
"end": {
"line": 11,
"column": 23
}
},
"expression": {
"type": "CallExpression",
"start": 487,
"end": 501,
"loc": {
"start": {
"line": 11,
"column": 8
},
"end": {
"line": 11,
"column": 22
}
},
"callee": {
"type": "Super",
"start": 487,
"end": 492,
"loc": {
"start": {
"line": 11,
"column": 8
},
"end": {
"line": 11,
"column": 13
}
}
},
"arguments": [
{
"type": "StringLiteral",
"start": 493,
"end": 500,
"loc": {
"start": {
"line": 11,
"column": 14
},
"end": {
"line": 11,
"column": 21
}
},
"extra": {
"rawValue": "lever",
"raw": "\"lever\""
},
"value": "lever"
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 517,
"end": 561,
"loc": {
"start": {
"line": 14,
"column": 4
},
"end": {
"line": 16,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 567,
"end": 666,
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 19,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 567,
"end": 585,
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 17,
"column": 22
},
"identifierName": "getSilhouetteColor"
},
"name": "getSilhouetteColor",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 586,
"end": 593,
"loc": {
"start": {
"line": 17,
"column": 23
},
"end": {
"line": 17,
"column": 30
},
"identifierName": "variant"
},
"name": "variant"
}
],
"body": {
"type": "BlockStatement",
"start": 595,
"end": 666,
"loc": {
"start": {
"line": 17,
"column": 32
},
"end": {
"line": 19,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 606,
"end": 659,
"loc": {
"start": {
"line": 18,
"column": 8
},
"end": {
"line": 18,
"column": 61
}
},
"argument": {
"type": "CallExpression",
"start": 613,
"end": 658,
"loc": {
"start": {
"line": 18,
"column": 15
},
"end": {
"line": 18,
"column": 60
}
},
"callee": {
"type": "MemberExpression",
"start": 613,
"end": 656,
"loc": {
"start": {
"line": 18,
"column": 15
},
"end": {
"line": 18,
"column": 58
}
},
"object": {
"type": "MemberExpression",
"start": 613,
"end": 647,
"loc": {
"start": {
"line": 18,
"column": 15
},
"end": {
"line": 18,
"column": 49
}
},
"object": {
"type": "Identifier",
"start": 613,
"end": 630,
"loc": {
"start": {
"line": 18,
"column": 15
},
"end": {
"line": 18,
"column": 32
},
"identifierName": "MetaLeverBuilding"
},
"name": "MetaLeverBuilding"
},
"property": {
"type": "Identifier",
"start": 631,
"end": 647,
"loc": {
"start": {
"line": 18,
"column": 33
},
"end": {
"line": 18,
"column": 49
},
"identifierName": "silhouetteColors"
},
"name": "silhouetteColors"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 648,
"end": 655,
"loc": {
"start": {
"line": 18,
"column": 50
},
"end": {
"line": 18,
"column": 57
},
"identifierName": "variant"
},
"name": "variant"
},
"computed": true
},
"arguments": []
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 517,
"end": 561,
"loc": {
"start": {
"line": 14,
"column": 4
},
"end": {
"line": 16,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 674,
"end": 718,
"loc": {
"start": {
"line": 21,
"column": 4
},
"end": {
"line": 23,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 724,
"end": 812,
"loc": {
"start": {
"line": 24,
"column": 4
},
"end": {
"line": 26,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 724,
"end": 737,
"loc": {
"start": {
"line": 24,
"column": 4
},
"end": {
"line": 24,
"column": 17
},
"identifierName": "getDimensions"
},
"name": "getDimensions",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 738,
"end": 745,
"loc": {
"start": {
"line": 24,
"column": 18
},
"end": {
"line": 24,
"column": 25
},
"identifierName": "variant"
},
"name": "variant"
}
],
"body": {
"type": "BlockStatement",
"start": 747,
"end": 812,
"loc": {
"start": {
"line": 24,
"column": 27
},
"end": {
"line": 26,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 758,
"end": 805,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"column": 55
}
},
"argument": {
"type": "CallExpression",
"start": 765,
"end": 804,
"loc": {
"start": {
"line": 25,
"column": 15
},
"end": {
"line": 25,
"column": 54
}
},
"callee": {
"type": "MemberExpression",
"start": 765,
"end": 802,
"loc": {
"start": {
"line": 25,
"column": 15
},
"end": {
"line": 25,
"column": 52
}
},
"object": {
"type": "MemberExpression",
"start": 765,
"end": 793,
"loc": {
"start": {
"line": 25,
"column": 15
},
"end": {
"line": 25,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 765,
"end": 782,
"loc": {
"start": {
"line": 25,
"column": 15
},
"end": {
"line": 25,
"column": 32
},
"identifierName": "MetaLeverBuilding"
},
"name": "MetaLeverBuilding"
},
"property": {
"type": "Identifier",
"start": 783,
"end": 793,
"loc": {
"start": {
"line": 25,
"column": 33
},
"end": {
"line": 25,
"column": 43
},
"identifierName": "dimensions"
},
"name": "dimensions"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 794,
"end": 801,
"loc": {
"start": {
"line": 25,
"column": 44
},
"end": {
"line": 25,
"column": 51
},
"identifierName": "variant"
},
"name": "variant"
},
"computed": true
},
"arguments": []
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 674,
"end": 718,
"loc": {
"start": {
"line": 21,
"column": 4
},
"end": {
"line": 23,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {GameRoot} root\r\n ",
"start": 820,
"end": 863,
"loc": {
"start": {
"line": 28,
"column": 4
},
"end": {
"line": 30,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 869,
"end": 957,
"loc": {
"start": {
"line": 31,
"column": 4
},
"end": {
"line": 33,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 869,
"end": 882,
"loc": {
"start": {
"line": 31,
"column": 4
},
"end": {
"line": 31,
"column": 17
},
"identifierName": "getIsUnlocked"
},
"name": "getIsUnlocked",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 883,
"end": 887,
"loc": {
"start": {
"line": 31,
"column": 18
},
"end": {
"line": 31,
"column": 22
},
"identifierName": "root"
},
"name": "root"
}
],
"body": {
"type": "BlockStatement",
"start": 889,
"end": 957,
"loc": {
"start": {
"line": 31,
"column": 24
},
"end": {
"line": 33,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 900,
"end": 950,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 58
}
},
"argument": {
"type": "BinaryExpression",
"start": 907,
"end": 949,
"loc": {
"start": {
"line": 32,
"column": 15
},
"end": {
"line": 32,
"column": 57
}
},
"left": {
"type": "MemberExpression",
"start": 907,
"end": 945,
"loc": {
"start": {
"line": 32,
"column": 15
},
"end": {
"line": 32,
"column": 53
}
},
"object": {
"type": "CallExpression",
"start": 907,
"end": 938,
"loc": {
"start": {
"line": 32,
"column": 15
},
"end": {
"line": 32,
"column": 46
}
},
"callee": {
"type": "MemberExpression",
"start": 907,
"end": 932,
"loc": {
"start": {
"line": 32,
"column": 15
},
"end": {
"line": 32,
"column": 40
}
},
"object": {
"type": "ThisExpression",
"start": 907,
"end": 911,
"loc": {
"start": {
"line": 32,
"column": 15
},
"end": {
"line": 32,
"column": 19
}
}
},
"property": {
"type": "Identifier",
"start": 912,
"end": 932,
"loc": {
"start": {
"line": 32,
"column": 20
},
"end": {
"line": 32,
"column": 40
},
"identifierName": "getAvailableVariants"
},
"name": "getAvailableVariants"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 933,
"end": 937,
"loc": {
"start": {
"line": 32,
"column": 41
},
"end": {
"line": 32,
"column": 45
},
"identifierName": "root"
},
"name": "root"
}
]
},
"property": {
"type": "Identifier",
"start": 939,
"end": 945,
"loc": {
"start": {
"line": 32,
"column": 47
},
"end": {
"line": 32,
"column": 53
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
},
"operator": ">",
"right": {
"type": "NumericLiteral",
"start": 948,
"end": 949,
"loc": {
"start": {
"line": 32,
"column": 56
},
"end": {
"line": 32,
"column": 57
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {GameRoot} root\r\n ",
"start": 820,
"end": 863,
"loc": {
"start": {
"line": 28,
"column": 4
},
"end": {
"line": 30,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 965,
"end": 1009,
"loc": {
"start": {
"line": 35,
"column": 4
},
"end": {
"line": 37,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 1015,
"end": 1105,
"loc": {
"start": {
"line": 38,
"column": 4
},
"end": {
"line": 40,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1015,
"end": 1029,
"loc": {
"start": {
"line": 38,
"column": 4
},
"end": {
"line": 38,
"column": 18
},
"identifierName": "getIsRemovable"
},
"name": "getIsRemovable",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1030,
"end": 1037,
"loc": {
"start": {
"line": 38,
"column": 19
},
"end": {
"line": 38,
"column": 26
},
"identifierName": "variant"
},
"name": "variant"
}
],
"body": {
"type": "BlockStatement",
"start": 1039,
"end": 1105,
"loc": {
"start": {
"line": 38,
"column": 28
},
"end": {
"line": 40,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1050,
"end": 1098,
"loc": {
"start": {
"line": 39,
"column": 8
},
"end": {
"line": 39,
"column": 56
}
},
"argument": {
"type": "CallExpression",
"start": 1057,
"end": 1097,
"loc": {
"start": {
"line": 39,
"column": 15
},
"end": {
"line": 39,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 1057,
"end": 1095,
"loc": {
"start": {
"line": 39,
"column": 15
},
"end": {
"line": 39,
"column": 53
}
},
"object": {
"type": "MemberExpression",
"start": 1057,
"end": 1086,
"loc": {
"start": {
"line": 39,
"column": 15
},
"end": {
"line": 39,
"column": 44
}
},
"object": {
"type": "Identifier",
"start": 1057,
"end": 1074,
"loc": {
"start": {
"line": 39,
"column": 15
},
"end": {
"line": 39,
"column": 32
},
"identifierName": "MetaLeverBuilding"
},
"name": "MetaLeverBuilding"
},
"property": {
"type": "Identifier",
"start": 1075,
"end": 1086,
"loc": {
"start": {
"line": 39,
"column": 33
},
"end": {
"line": 39,
"column": 44
},
"identifierName": "isRemovable"
},
"name": "isRemovable"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1087,
"end": 1094,
"loc": {
"start": {
"line": 39,
"column": 45
},
"end": {
"line": 39,
"column": 52
},
"identifierName": "variant"
},
"name": "variant"
},
"computed": true
},
"arguments": []
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 965,
"end": 1009,
"loc": {
"start": {
"line": 35,
"column": 4
},
"end": {
"line": 37,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 1113,
"end": 1157,
"loc": {
"start": {
"line": 42,
"column": 4
},
"end": {
"line": 44,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 1163,
"end": 1255,
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 47,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1163,
"end": 1178,
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 45,
"column": 19
},
"identifierName": "getIsRotateable"
},
"name": "getIsRotateable",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1179,
"end": 1186,
"loc": {
"start": {
"line": 45,
"column": 20
},
"end": {
"line": 45,
"column": 27
},
"identifierName": "variant"
},
"name": "variant"
}
],
"body": {
"type": "BlockStatement",
"start": 1188,
"end": 1255,
"loc": {
"start": {
"line": 45,
"column": 29
},
"end": {
"line": 47,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1199,
"end": 1248,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 57
}
},
"argument": {
"type": "CallExpression",
"start": 1206,
"end": 1247,
"loc": {
"start": {
"line": 46,
"column": 15
},
"end": {
"line": 46,
"column": 56
}
},
"callee": {
"type": "MemberExpression",
"start": 1206,
"end": 1245,
"loc": {
"start": {
"line": 46,
"column": 15
},
"end": {
"line": 46,
"column": 54
}
},
"object": {
"type": "MemberExpression",
"start": 1206,
"end": 1236,
"loc": {
"start": {
"line": 46,
"column": 15
},
"end": {
"line": 46,
"column": 45
}
},
"object": {
"type": "Identifier",
"start": 1206,
"end": 1223,
"loc": {
"start": {
"line": 46,
"column": 15
},
"end": {
"line": 46,
"column": 32
},
"identifierName": "MetaLeverBuilding"
},
"name": "MetaLeverBuilding"
},
"property": {
"type": "Identifier",
"start": 1224,
"end": 1236,
"loc": {
"start": {
"line": 46,
"column": 33
},
"end": {
"line": 46,
"column": 45
},
"identifierName": "isRotateable"
},
"name": "isRotateable"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1237,
"end": 1244,
"loc": {
"start": {
"line": 46,
"column": 46
},
"end": {
"line": 46,
"column": 53
},
"identifierName": "variant"
},
"name": "variant"
},
"computed": true
},
"arguments": []
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 1113,
"end": 1157,
"loc": {
"start": {
"line": 42,
"column": 4
},
"end": {
"line": 44,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {GameRoot} root\r\n ",
"start": 1263,
"end": 1306,
"loc": {
"start": {
"line": 49,
"column": 4
},
"end": {
"line": 51,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 1312,
"end": 1589,
"loc": {
"start": {
"line": 52,
"column": 4
},
"end": {
"line": 61,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1312,
"end": 1332,
"loc": {
"start": {
"line": 52,
"column": 4
},
"end": {
"line": 52,
"column": 24
},
"identifierName": "getAvailableVariants"
},
"name": "getAvailableVariants",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1333,
"end": 1337,
"loc": {
"start": {
"line": 52,
"column": 25
},
"end": {
"line": 52,
"column": 29
},
"identifierName": "root"
},
"name": "root"
}
],
"body": {
"type": "BlockStatement",
"start": 1339,
"end": 1589,
"loc": {
"start": {
"line": 52,
"column": 31
},
"end": {
"line": 61,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 1350,
"end": 1401,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 53,
"column": 59
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1356,
"end": 1400,
"loc": {
"start": {
"line": 53,
"column": 14
},
"end": {
"line": 53,
"column": 58
}
},
"id": {
"type": "Identifier",
"start": 1356,
"end": 1364,
"loc": {
"start": {
"line": 53,
"column": 14
},
"end": {
"line": 53,
"column": 22
},
"identifierName": "variants"
},
"name": "variants"
},
"init": {
"type": "MemberExpression",
"start": 1367,
"end": 1400,
"loc": {
"start": {
"line": 53,
"column": 25
},
"end": {
"line": 53,
"column": 58
}
},
"object": {
"type": "Identifier",
"start": 1367,
"end": 1384,
"loc": {
"start": {
"line": 53,
"column": 25
},
"end": {
"line": 53,
"column": 42
},
"identifierName": "MetaLeverBuilding"
},
"name": "MetaLeverBuilding"
},
"property": {
"type": "Identifier",
"start": 1385,
"end": 1400,
"loc": {
"start": {
"line": 53,
"column": 43
},
"end": {
"line": 53,
"column": 58
},
"identifierName": "avaibleVariants"
},
"name": "avaibleVariants"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 1413,
"end": 1432,
"loc": {
"start": {
"line": 55,
"column": 8
},
"end": {
"line": 55,
"column": 27
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1417,
"end": 1431,
"loc": {
"start": {
"line": 55,
"column": 12
},
"end": {
"line": 55,
"column": 26
}
},
"id": {
"type": "Identifier",
"start": 1417,
"end": 1426,
"loc": {
"start": {
"line": 55,
"column": 12
},
"end": {
"line": 55,
"column": 21
},
"identifierName": "available"
},
"name": "available"
},
"init": {
"type": "ArrayExpression",
"start": 1429,
"end": 1431,
"loc": {
"start": {
"line": 55,
"column": 24
},
"end": {
"line": 55,
"column": 26
}
},
"elements": []
}
}
],
"kind": "let"
},
{
"type": "ForInStatement",
"start": 1442,
"end": 1553,
"loc": {
"start": {
"line": 56,
"column": 8
},
"end": {
"line": 58,
"column": 9
}
},
"left": {
"type": "VariableDeclaration",
"start": 1447,
"end": 1460,
"loc": {
"start": {
"line": 56,
"column": 13
},
"end": {
"line": 56,
"column": 26
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1453,
"end": 1460,
"loc": {
"start": {
"line": 56,
"column": 19
},
"end": {
"line": 56,
"column": 26
}
},
"id": {
"type": "Identifier",
"start": 1453,
"end": 1460,
"loc": {
"start": {
"line": 56,
"column": 19
},
"end": {
"line": 56,
"column": 26
},
"identifierName": "variant"
},
"name": "variant"
},
"init": null
}
],
"kind": "const"
},
"right": {
"type": "Identifier",
"start": 1464,
"end": 1472,
"loc": {
"start": {
"line": 56,
"column": 30
},
"end": {
"line": 56,
"column": 38
},
"identifierName": "variants"
},
"name": "variants"
},
"body": {
"type": "BlockStatement",
"start": 1474,
"end": 1553,
"loc": {
"start": {
"line": 56,
"column": 40
},
"end": {
"line": 58,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 1489,
"end": 1542,
"loc": {
"start": {
"line": 57,
"column": 12
},
"end": {
"line": 57,
"column": 65
}
},
"test": {
"type": "CallExpression",
"start": 1493,
"end": 1516,
"loc": {
"start": {
"line": 57,
"column": 16
},
"end": {
"line": 57,
"column": 39
}
},
"callee": {
"type": "MemberExpression",
"start": 1493,
"end": 1510,
"loc": {
"start": {
"line": 57,
"column": 16
},
"end": {
"line": 57,
"column": 33
}
},
"object": {
"type": "Identifier",
"start": 1493,
"end": 1501,
"loc": {
"start": {
"line": 57,
"column": 16
},
"end": {
"line": 57,
"column": 24
},
"identifierName": "variants"
},
"name": "variants"
},
"property": {
"type": "Identifier",
"start": 1502,
"end": 1509,
"loc": {
"start": {
"line": 57,
"column": 25
},
"end": {
"line": 57,
"column": 32
},
"identifierName": "variant"
},
"name": "variant"
},
"computed": true
},
"arguments": [
{
"type": "Identifier",
"start": 1511,
"end": 1515,
"loc": {
"start": {
"line": 57,
"column": 34
},
"end": {
"line": 57,
"column": 38
},
"identifierName": "root"
},
"name": "root"
}
]
},
"consequent": {
"type": "ExpressionStatement",
"start": 1518,
"end": 1542,
"loc": {
"start": {
"line": 57,
"column": 41
},
"end": {
"line": 57,
"column": 65
}
},
"expression": {
"type": "CallExpression",
"start": 1518,
"end": 1541,
"loc": {
"start": {
"line": 57,
"column": 41
},
"end": {
"line": 57,
"column": 64
}
},
"callee": {
"type": "MemberExpression",
"start": 1518,
"end": 1532,
"loc": {
"start": {
"line": 57,
"column": 41
},
"end": {
"line": 57,
"column": 55
}
},
"object": {
"type": "Identifier",
"start": 1518,
"end": 1527,
"loc": {
"start": {
"line": 57,
"column": 41
},
"end": {
"line": 57,
"column": 50
},
"identifierName": "available"
},
"name": "available"
},
"property": {
"type": "Identifier",
"start": 1528,
"end": 1532,
"loc": {
"start": {
"line": 57,
"column": 51
},
"end": {
"line": 57,
"column": 55
},
"identifierName": "push"
},
"name": "push"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1533,
"end": 1540,
"loc": {
"start": {
"line": 57,
"column": 56
},
"end": {
"line": 57,
"column": 63
},
"identifierName": "variant"
},
"name": "variant"
}
]
}
},
"alternate": null
}
],
"directives": []
}
},
{
"type": "ReturnStatement",
"start": 1565,
"end": 1582,
"loc": {
"start": {
"line": 60,
"column": 8
},
"end": {
"line": 60,
"column": 25
}
},
"argument": {
"type": "Identifier",
"start": 1572,
"end": 1581,
"loc": {
"start": {
"line": 60,
"column": 15
},
"end": {
"line": 60,
"column": 24
},
"identifierName": "available"
},
"name": "available"
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {GameRoot} root\r\n ",
"start": 1263,
"end": 1306,
"loc": {
"start": {
"line": 49,
"column": 4
},
"end": {
"line": 51,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Returns the edit layer of the building\r\n * @param {GameRoot} root\r\n * @param {string} variant\r\n * @returns {Layer}\r\n ",
"start": 1597,
"end": 1744,
"loc": {
"start": {
"line": 63,
"column": 4
},
"end": {
"line": 68,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 1750,
"end": 1870,
"loc": {
"start": {
"line": 69,
"column": 4
},
"end": {
"line": 72,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1750,
"end": 1758,
"loc": {
"start": {
"line": 69,
"column": 4
},
"end": {
"line": 69,
"column": 12
},
"identifierName": "getLayer"
},
"name": "getLayer",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1759,
"end": 1763,
"loc": {
"start": {
"line": 69,
"column": 13
},
"end": {
"line": 69,
"column": 17
},
"identifierName": "root"
},
"name": "root"
},
{
"type": "Identifier",
"start": 1765,
"end": 1772,
"loc": {
"start": {
"line": 69,
"column": 19
},
"end": {
"line": 69,
"column": 26
},
"identifierName": "variant"
},
"name": "variant"
}
],
"body": {
"type": "BlockStatement",
"start": 1774,
"end": 1870,
"loc": {
"start": {
"line": 69,
"column": 28
},
"end": {
"line": 72,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1808,
"end": 1863,
"loc": {
"start": {
"line": 71,
"column": 8
},
"end": {
"line": 71,
"column": 63
}
},
"argument": {
"type": "CallExpression",
"start": 1815,
"end": 1862,
"loc": {
"start": {
"line": 71,
"column": 15
},
"end": {
"line": 71,
"column": 62
}
},
"callee": {
"type": "MemberExpression",
"start": 1815,
"end": 1856,
"loc": {
"start": {
"line": 71,
"column": 15
},
"end": {
"line": 71,
"column": 56
}
},
"object": {
"type": "MemberExpression",
"start": 1815,
"end": 1847,
"loc": {
"start": {
"line": 71,
"column": 15
},
"end": {
"line": 71,
"column": 47
}
},
"object": {
"type": "Identifier",
"start": 1815,
"end": 1832,
"loc": {
"start": {
"line": 71,
"column": 15
},
"end": {
"line": 71,
"column": 32
},
"identifierName": "MetaLeverBuilding"
},
"name": "MetaLeverBuilding",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 1833,
"end": 1847,
"loc": {
"start": {
"line": 71,
"column": 33
},
"end": {
"line": 71,
"column": 47
},
"identifierName": "layerByVariant"
},
"name": "layerByVariant"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 1848,
"end": 1855,
"loc": {
"start": {
"line": 71,
"column": 48
},
"end": {
"line": 71,
"column": 55
},
"identifierName": "variant"
},
"name": "variant"
},
"computed": true,
"leadingComments": null
},
"arguments": [
{
"type": "Identifier",
"start": 1857,
"end": 1861,
"loc": {
"start": {
"line": 71,
"column": 57
},
"end": {
"line": 71,
"column": 61
},
"identifierName": "root"
},
"name": "root"
}
],
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " @ts-ignore",
"start": 1785,
"end": 1798,
"loc": {
"start": {
"line": 70,
"column": 8
},
"end": {
"line": 70,
"column": 21
}
}
}
]
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Returns the edit layer of the building\r\n * @param {GameRoot} root\r\n * @param {string} variant\r\n * @returns {Layer}\r\n ",
"start": 1597,
"end": 1744,
"loc": {
"start": {
"line": 63,
"column": 4
},
"end": {
"line": 68,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 1878,
"end": 1922,
"loc": {
"start": {
"line": 74,
"column": 4
},
"end": {
"line": 76,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 1928,
"end": 2024,
"loc": {
"start": {
"line": 77,
"column": 4
},
"end": {
"line": 79,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1928,
"end": 1947,
"loc": {
"start": {
"line": 77,
"column": 4
},
"end": {
"line": 77,
"column": 23
},
"identifierName": "getShowLayerPreview"
},
"name": "getShowLayerPreview",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1948,
"end": 1955,
"loc": {
"start": {
"line": 77,
"column": 24
},
"end": {
"line": 77,
"column": 31
},
"identifierName": "variant"
},
"name": "variant"
}
],
"body": {
"type": "BlockStatement",
"start": 1957,
"end": 2024,
"loc": {
"start": {
"line": 77,
"column": 33
},
"end": {
"line": 79,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1968,
"end": 2017,
"loc": {
"start": {
"line": 78,
"column": 8
},
"end": {
"line": 78,
"column": 57
}
},
"argument": {
"type": "CallExpression",
"start": 1975,
"end": 2016,
"loc": {
"start": {
"line": 78,
"column": 15
},
"end": {
"line": 78,
"column": 56
}
},
"callee": {
"type": "MemberExpression",
"start": 1975,
"end": 2014,
"loc": {
"start": {
"line": 78,
"column": 15
},
"end": {
"line": 78,
"column": 54
}
},
"object": {
"type": "MemberExpression",
"start": 1975,
"end": 2005,
"loc": {
"start": {
"line": 78,
"column": 15
},
"end": {
"line": 78,
"column": 45
}
},
"object": {
"type": "Identifier",
"start": 1975,
"end": 1992,
"loc": {
"start": {
"line": 78,
"column": 15
},
"end": {
"line": 78,
"column": 32
},
"identifierName": "MetaLeverBuilding"
},
"name": "MetaLeverBuilding"
},
"property": {
"type": "Identifier",
"start": 1993,
"end": 2005,
"loc": {
"start": {
"line": 78,
"column": 33
},
"end": {
"line": 78,
"column": 45
},
"identifierName": "layerPreview"
},
"name": "layerPreview"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2006,
"end": 2013,
"loc": {
"start": {
"line": 78,
"column": 46
},
"end": {
"line": 78,
"column": 53
},
"identifierName": "variant"
},
"name": "variant"
},
"computed": true
},
"arguments": []
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 1878,
"end": 1922,
"loc": {
"start": {
"line": 74,
"column": 4
},
"end": {
"line": 76,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {number} rotation\r\n * @param {number} rotationVariant\r\n * @param {string} variant\r\n * @param {Entity} entity\r\n * @returns {Array<number>|null}\r\n ",
"start": 2032,
"end": 2218,
"loc": {
"start": {
"line": 81,
"column": 4
},
"end": {
"line": 87,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 2224,
"end": 2453,
"loc": {
"start": {
"line": 88,
"column": 4
},
"end": {
"line": 91,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2224,
"end": 2253,
"loc": {
"start": {
"line": 88,
"column": 4
},
"end": {
"line": 88,
"column": 33
},
"identifierName": "getSpecialOverlayRenderMatrix"
},
"name": "getSpecialOverlayRenderMatrix",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2254,
"end": 2262,
"loc": {
"start": {
"line": 88,
"column": 34
},
"end": {
"line": 88,
"column": 42
},
"identifierName": "rotation"
},
"name": "rotation"
},
{
"type": "Identifier",
"start": 2264,
"end": 2279,
"loc": {
"start": {
"line": 88,
"column": 44
},
"end": {
"line": 88,
"column": 59
},
"identifierName": "rotationVariant"
},
"name": "rotationVariant"
},
{
"type": "Identifier",
"start": 2281,
"end": 2288,
"loc": {
"start": {
"line": 88,
"column": 61
},
"end": {
"line": 88,
"column": 68
},
"identifierName": "variant"
},
"name": "variant"
},
{
"type": "Identifier",
"start": 2290,
"end": 2296,
"loc": {
"start": {
"line": 88,
"column": 70
},
"end": {
"line": 88,
"column": 76
},
"identifierName": "entity"
},
"name": "entity"
}
],
"body": {
"type": "BlockStatement",
"start": 2298,
"end": 2453,
"loc": {
"start": {
"line": 88,
"column": 78
},
"end": {
"line": 91,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 2309,
"end": 2392,
"loc": {
"start": {
"line": 89,
"column": 8
},
"end": {
"line": 89,
"column": 91
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2313,
"end": 2391,
"loc": {
"start": {
"line": 89,
"column": 12
},
"end": {
"line": 89,
"column": 90
}
},
"id": {
"type": "Identifier",
"start": 2313,
"end": 2321,
"loc": {
"start": {
"line": 89,
"column": 12
},
"end": {
"line": 89,
"column": 20
},
"identifierName": "matrices"
},
"name": "matrices"
},
"init": {
"type": "CallExpression",
"start": 2324,
"end": 2391,
"loc": {
"start": {
"line": 89,
"column": 23
},
"end": {
"line": 89,
"column": 90
}
},
"callee": {
"type": "MemberExpression",
"start": 2324,
"end": 2366,
"loc": {
"start": {
"line": 89,
"column": 23
},
"end": {
"line": 89,
"column": 65
}
},
"object": {
"type": "MemberExpression",
"start": 2324,
"end": 2357,
"loc": {
"start": {
"line": 89,
"column": 23
},
"end": {
"line": 89,
"column": 56
}
},
"object": {
"type": "Identifier",
"start": 2324,
"end": 2341,
"loc": {
"start": {
"line": 89,
"column": 23
},
"end": {
"line": 89,
"column": 40
},
"identifierName": "MetaLeverBuilding"
},
"name": "MetaLeverBuilding"
},
"property": {
"type": "Identifier",
"start": 2342,
"end": 2357,
"loc": {
"start": {
"line": 89,
"column": 41
},
"end": {
"line": 89,
"column": 56
},
"identifierName": "overlayMatrices"
},
"name": "overlayMatrices"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2358,
"end": 2365,
"loc": {
"start": {
"line": 89,
"column": 57
},
"end": {
"line": 89,
"column": 64
},
"identifierName": "variant"
},
"name": "variant"
},
"computed": true
},
"arguments": [
{
"type": "Identifier",
"start": 2367,
"end": 2373,
"loc": {
"start": {
"line": 89,
"column": 66
},
"end": {
"line": 89,
"column": 72
},
"identifierName": "entity"
},
"name": "entity"
},
{
"type": "Identifier",
"start": 2375,
"end": 2390,
"loc": {
"start": {
"line": 89,
"column": 74
},
"end": {
"line": 89,
"column": 89
},
"identifierName": "rotationVariant"
},
"name": "rotationVariant"
}
]
}
}
],
"kind": "let"
},
{
"type": "ReturnStatement",
"start": 2402,
"end": 2446,
"loc": {
"start": {
"line": 90,
"column": 8
},
"end": {
"line": 90,
"column": 52
}
},
"argument": {
"type": "ConditionalExpression",
"start": 2409,
"end": 2445,
"loc": {
"start": {
"line": 90,
"column": 15
},
"end": {
"line": 90,
"column": 51
}
},
"test": {
"type": "Identifier",
"start": 2409,
"end": 2417,
"loc": {
"start": {
"line": 90,
"column": 15
},
"end": {
"line": 90,
"column": 23
},
"identifierName": "matrices"
},
"name": "matrices"
},
"consequent": {
"type": "MemberExpression",
"start": 2420,
"end": 2438,
"loc": {
"start": {
"line": 90,
"column": 26
},
"end": {
"line": 90,
"column": 44
}
},
"object": {
"type": "Identifier",
"start": 2420,
"end": 2428,
"loc": {
"start": {
"line": 90,
"column": 26
},
"end": {
"line": 90,
"column": 34
},
"identifierName": "matrices"
},
"name": "matrices"
},
"property": {
"type": "Identifier",
"start": 2429,
"end": 2437,
"loc": {
"start": {
"line": 90,
"column": 35
},
"end": {
"line": 90,
"column": 43
},
"identifierName": "rotation"
},
"name": "rotation"
},
"computed": true
},
"alternate": {
"type": "NullLiteral",
"start": 2441,
"end": 2445,
"loc": {
"start": {
"line": 90,
"column": 47
},
"end": {
"line": 90,
"column": 51
}
}
}
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {number} rotation\r\n * @param {number} rotationVariant\r\n * @param {string} variant\r\n * @param {Entity} entity\r\n * @returns {Array<number>|null}\r\n ",
"start": 2032,
"end": 2218,
"loc": {
"start": {
"line": 81,
"column": 4
},
"end": {
"line": 87,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 2461,
"end": 2503,
"loc": {
"start": {
"line": 93,
"column": 4
},
"end": {
"line": 95,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2461,
"end": 2470,
"loc": {
"start": {
"line": 93,
"column": 4
},
"end": {
"line": 93,
"column": 13
},
"identifierName": "getSprite"
},
"name": "getSprite"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 2473,
"end": 2503,
"loc": {
"start": {
"line": 93,
"column": 16
},
"end": {
"line": 95,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 2484,
"end": 2496,
"loc": {
"start": {
"line": 94,
"column": 8
},
"end": {
"line": 94,
"column": 20
}
},
"argument": {
"type": "NullLiteral",
"start": 2491,
"end": 2495,
"loc": {
"start": {
"line": 94,
"column": 15
},
"end": {
"line": 94,
"column": 19
}
}
}
}
],
"directives": [],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 2511,
"end": 2555,
"loc": {
"start": {
"line": 97,
"column": 4
},
"end": {
"line": 99,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 2561,
"end": 2649,
"loc": {
"start": {
"line": 100,
"column": 4
},
"end": {
"line": 102,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2561,
"end": 2574,
"loc": {
"start": {
"line": 100,
"column": 4
},
"end": {
"line": 100,
"column": 17
},
"identifierName": "getRenderPins"
},
"name": "getRenderPins",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2575,
"end": 2582,
"loc": {
"start": {
"line": 100,
"column": 18
},
"end": {
"line": 100,
"column": 25
},
"identifierName": "variant"
},
"name": "variant"
}
],
"body": {
"type": "BlockStatement",
"start": 2584,
"end": 2649,
"loc": {
"start": {
"line": 100,
"column": 27
},
"end": {
"line": 102,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 2595,
"end": 2642,
"loc": {
"start": {
"line": 101,
"column": 8
},
"end": {
"line": 101,
"column": 55
}
},
"argument": {
"type": "CallExpression",
"start": 2602,
"end": 2641,
"loc": {
"start": {
"line": 101,
"column": 15
},
"end": {
"line": 101,
"column": 54
}
},
"callee": {
"type": "MemberExpression",
"start": 2602,
"end": 2639,
"loc": {
"start": {
"line": 101,
"column": 15
},
"end": {
"line": 101,
"column": 52
}
},
"object": {
"type": "MemberExpression",
"start": 2602,
"end": 2630,
"loc": {
"start": {
"line": 101,
"column": 15
},
"end": {
"line": 101,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 2602,
"end": 2619,
"loc": {
"start": {
"line": 101,
"column": 15
},
"end": {
"line": 101,
"column": 32
},
"identifierName": "MetaLeverBuilding"
},
"name": "MetaLeverBuilding"
},
"property": {
"type": "Identifier",
"start": 2620,
"end": 2630,
"loc": {
"start": {
"line": 101,
"column": 33
},
"end": {
"line": 101,
"column": 43
},
"identifierName": "renderPins"
},
"name": "renderPins"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2631,
"end": 2638,
"loc": {
"start": {
"line": 101,
"column": 44
},
"end": {
"line": 101,
"column": 51
},
"identifierName": "variant"
},
"name": "variant"
},
"computed": true
},
"arguments": []
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 2511,
"end": 2555,
"loc": {
"start": {
"line": 97,
"column": 4
},
"end": {
"line": 99,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Creates the entity at the given location\r\n * @param {Entity} entity\r\n ",
"start": 2657,
"end": 2749,
"loc": {
"start": {
"line": 104,
"column": 4
},
"end": {
"line": 107,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 2755,
"end": 2873,
"loc": {
"start": {
"line": 108,
"column": 4
},
"end": {
"line": 110,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2755,
"end": 2776,
"loc": {
"start": {
"line": 108,
"column": 4
},
"end": {
"line": 108,
"column": 25
},
"identifierName": "setupEntityComponents"
},
"name": "setupEntityComponents",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2777,
"end": 2783,
"loc": {
"start": {
"line": 108,
"column": 26
},
"end": {
"line": 108,
"column": 32
},
"identifierName": "entity"
},
"name": "entity"
}
],
"body": {
"type": "BlockStatement",
"start": 2785,
"end": 2873,
"loc": {
"start": {
"line": 108,
"column": 34
},
"end": {
"line": 110,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2796,
"end": 2866,
"loc": {
"start": {
"line": 109,
"column": 8
},
"end": {
"line": 109,
"column": 78
}
},
"expression": {
"type": "CallExpression",
"start": 2796,
"end": 2865,
"loc": {
"start": {
"line": 109,
"column": 8
},
"end": {
"line": 109,
"column": 77
}
},
"callee": {
"type": "MemberExpression",
"start": 2796,
"end": 2843,
"loc": {
"start": {
"line": 109,
"column": 8
},
"end": {
"line": 109,
"column": 55
}
},
"object": {
"type": "MemberExpression",
"start": 2796,
"end": 2835,
"loc": {
"start": {
"line": 109,
"column": 8
},
"end": {
"line": 109,
"column": 47
}
},
"object": {
"type": "Identifier",
"start": 2796,
"end": 2813,
"loc": {
"start": {
"line": 109,
"column": 8
},
"end": {
"line": 109,
"column": 25
},
"identifierName": "MetaLeverBuilding"
},
"name": "MetaLeverBuilding"
},
"property": {
"type": "Identifier",
"start": 2814,
"end": 2835,
"loc": {
"start": {
"line": 109,
"column": 26
},
"end": {
"line": 109,
"column": 47
},
"identifierName": "setupEntityComponents"
},
"name": "setupEntityComponents"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2836,
"end": 2843,
"loc": {
"start": {
"line": 109,
"column": 48
},
"end": {
"line": 109,
"column": 55
},
"identifierName": "forEach"
},
"name": "forEach"
},
"computed": false
},
"arguments": [
{
"type": "ArrowFunctionExpression",
"start": 2844,
"end": 2864,
"loc": {
"start": {
"line": 109,
"column": 56
},
"end": {
"line": 109,
"column": 76
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2844,
"end": 2848,
"loc": {
"start": {
"line": 109,
"column": 56
},
"end": {
"line": 109,
"column": 60
},
"identifierName": "func"
},
"name": "func"
}
],
"body": {
"type": "CallExpression",
"start": 2852,
"end": 2864,
"loc": {
"start": {
"line": 109,
"column": 64
},
"end": {
"line": 109,
"column": 76
}
},
"callee": {
"type": "Identifier",
"start": 2852,
"end": 2856,
"loc": {
"start": {
"line": 109,
"column": 64
},
"end": {
"line": 109,
"column": 68
},
"identifierName": "func"
},
"name": "func"
},
"arguments": [
{
"type": "Identifier",
"start": 2857,
"end": 2863,
"loc": {
"start": {
"line": 109,
"column": 69
},
"end": {
"line": 109,
"column": 75
},
"identifierName": "entity"
},
"name": "entity"
}
]
}
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Creates the entity at the given location\r\n * @param {Entity} entity\r\n ",
"start": 2657,
"end": 2749,
"loc": {
"start": {
"line": 104,
"column": 4
},
"end": {
"line": 107,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {Entity} entity\r\n * @param {number} rotationVariant\r\n * @param {string} variant\r\n ",
"start": 2881,
"end": 2996,
"loc": {
"start": {
"line": 112,
"column": 4
},
"end": {
"line": 116,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 3002,
"end": 3141,
"loc": {
"start": {
"line": 117,
"column": 4
},
"end": {
"line": 119,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3002,
"end": 3016,
"loc": {
"start": {
"line": 117,
"column": 4
},
"end": {
"line": 117,
"column": 18
},
"identifierName": "updateVariants"
},
"name": "updateVariants",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 3017,
"end": 3023,
"loc": {
"start": {
"line": 117,
"column": 19
},
"end": {
"line": 117,
"column": 25
},
"identifierName": "entity"
},
"name": "entity"
},
{
"type": "Identifier",
"start": 3025,
"end": 3040,
"loc": {
"start": {
"line": 117,
"column": 27
},
"end": {
"line": 117,
"column": 42
},
"identifierName": "rotationVariant"
},
"name": "rotationVariant"
},
{
"type": "Identifier",
"start": 3042,
"end": 3049,
"loc": {
"start": {
"line": 117,
"column": 44
},
"end": {
"line": 117,
"column": 51
},
"identifierName": "variant"
},
"name": "variant"
}
],
"body": {
"type": "BlockStatement",
"start": 3051,
"end": 3141,
"loc": {
"start": {
"line": 117,
"column": 53
},
"end": {
"line": 119,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 3062,
"end": 3134,
"loc": {
"start": {
"line": 118,
"column": 8
},
"end": {
"line": 118,
"column": 80
}
},
"expression": {
"type": "CallExpression",
"start": 3062,
"end": 3133,
"loc": {
"start": {
"line": 118,
"column": 8
},
"end": {
"line": 118,
"column": 79
}
},
"callee": {
"type": "MemberExpression",
"start": 3062,
"end": 3108,
"loc": {
"start": {
"line": 118,
"column": 8
},
"end": {
"line": 118,
"column": 54
}
},
"object": {
"type": "MemberExpression",
"start": 3062,
"end": 3099,
"loc": {
"start": {
"line": 118,
"column": 8
},
"end": {
"line": 118,
"column": 45
}
},
"object": {
"type": "Identifier",
"start": 3062,
"end": 3079,
"loc": {
"start": {
"line": 118,
"column": 8
},
"end": {
"line": 118,
"column": 25
},
"identifierName": "MetaLeverBuilding"
},
"name": "MetaLeverBuilding"
},
"property": {
"type": "Identifier",
"start": 3080,
"end": 3099,
"loc": {
"start": {
"line": 118,
"column": 26
},
"end": {
"line": 118,
"column": 45
},
"identifierName": "componentVariations"
},
"name": "componentVariations"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3100,
"end": 3107,
"loc": {
"start": {
"line": 118,
"column": 46
},
"end": {
"line": 118,
"column": 53
},
"identifierName": "variant"
},
"name": "variant"
},
"computed": true
},
"arguments": [
{
"type": "Identifier",
"start": 3109,
"end": 3115,
"loc": {
"start": {
"line": 118,
"column": 55
},
"end": {
"line": 118,
"column": 61
},
"identifierName": "entity"
},
"name": "entity"
},
{
"type": "Identifier",
"start": 3117,
"end": 3132,
"loc": {
"start": {
"line": 118,
"column": 63
},
"end": {
"line": 118,
"column": 78
},
"identifierName": "rotationVariant"
},
"name": "rotationVariant"
}
]
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {Entity} entity\r\n * @param {number} rotationVariant\r\n * @param {string} variant\r\n ",
"start": 2881,
"end": 2996,
"loc": {
"start": {
"line": 112,
"column": 4
},
"end": {
"line": 116,
"column": 7
}
}
}
]
}
]
},
"leadingComments": [],
"trailingComments": []
}
},
{
"type": "ExpressionStatement",
"start": 3148,
"end": 3534,
"loc": {
"start": {
"line": 122,
"column": 0
},
"end": {
"line": 134,
"column": 2
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3148,
"end": 3533,
"loc": {
"start": {
"line": 122,
"column": 0
},
"end": {
"line": 134,
"column": 1
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3148,
"end": 3187,
"loc": {
"start": {
"line": 122,
"column": 0
},
"end": {
"line": 122,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 3148,
"end": 3165,
"loc": {
"start": {
"line": 122,
"column": 0
},
"end": {
"line": 122,
"column": 17
},
"identifierName": "MetaLeverBuilding"
},
"name": "MetaLeverBuilding"
},
"property": {
"type": "Identifier",
"start": 3166,
"end": 3187,
"loc": {
"start": {
"line": 122,
"column": 18
},
"end": {
"line": 122,
"column": 39
},
"identifierName": "setupEntityComponents"
},
"name": "setupEntityComponents"
},
"computed": false
},
"right": {
"type": "ArrayExpression",
"start": 3190,
"end": 3533,
"loc": {
"start": {
"line": 122,
"column": 42
},
"end": {
"line": 134,
"column": 1
}
},
"elements": [
{
"type": "ArrowFunctionExpression",
"start": 3197,
"end": 3469,
"loc": {
"start": {
"line": 123,
"column": 4
},
"end": {
"line": 132,
"column": 5
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [
{
"type": "Identifier",
"start": 3197,
"end": 3203,
"loc": {
"start": {
"line": 123,
"column": 4
},
"end": {
"line": 123,
"column": 10
},
"identifierName": "entity"
},
"name": "entity"
}
],
"body": {
"type": "CallExpression",
"start": 3212,
"end": 3469,
"loc": {
"start": {
"line": 124,
"column": 4
},
"end": {
"line": 132,
"column": 5
}
},
"callee": {
"type": "MemberExpression",
"start": 3212,
"end": 3231,
"loc": {
"start": {
"line": 124,
"column": 4
},
"end": {
"line": 124,
"column": 23
}
},
"object": {
"type": "Identifier",
"start": 3212,
"end": 3218,
"loc": {
"start": {
"line": 124,
"column": 4
},
"end": {
"line": 124,
"column": 10
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 3219,
"end": 3231,
"loc": {
"start": {
"line": 124,
"column": 11
},
"end": {
"line": 124,
"column": 23
},
"identifierName": "addComponent"
},
"name": "addComponent"
},
"computed": false
},
"arguments": [
{
"type": "NewExpression",
"start": 3242,
"end": 3462,
"loc": {
"start": {
"line": 125,
"column": 8
},
"end": {
"line": 131,
"column": 10
}
},
"callee": {
"type": "Identifier",
"start": 3246,
"end": 3264,
"loc": {
"start": {
"line": 125,
"column": 12
},
"end": {
"line": 125,
"column": 30
},
"identifierName": "WiredPinsComponent"
},
"name": "WiredPinsComponent"
},
"arguments": [
{
"type": "ObjectExpression",
"start": 3265,
"end": 3461,
"loc": {
"start": {
"line": 125,
"column": 31
},
"end": {
"line": 131,
"column": 9
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 3280,
"end": 3449,
"loc": {
"start": {
"line": 126,
"column": 12
},
"end": {
"line": 130,
"column": 16
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3280,
"end": 3285,
"loc": {
"start": {
"line": 126,
"column": 12
},
"end": {
"line": 126,
"column": 17
},
"identifierName": "slots"
},
"name": "slots"
},
"value": {
"type": "ArrayExpression",
"start": 3287,
"end": 3449,
"loc": {
"start": {
"line": 126,
"column": 19
},
"end": {
"line": 130,
"column": 16
}
},
"elements": [
{
"type": "ObjectExpression",
"start": 3288,
"end": 3446,
"loc": {
"start": {
"line": 126,
"column": 20
},
"end": {
"line": 130,
"column": 13
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 3307,
"end": 3328,
"loc": {
"start": {
"line": 127,
"column": 16
},
"end": {
"line": 127,
"column": 37
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3307,
"end": 3310,
"loc": {
"start": {
"line": 127,
"column": 16
},
"end": {
"line": 127,
"column": 19
},
"identifierName": "pos"
},
"name": "pos"
},
"value": {
"type": "NewExpression",
"start": 3312,
"end": 3328,
"loc": {
"start": {
"line": 127,
"column": 21
},
"end": {
"line": 127,
"column": 37
}
},
"callee": {
"type": "Identifier",
"start": 3316,
"end": 3322,
"loc": {
"start": {
"line": 127,
"column": 25
},
"end": {
"line": 127,
"column": 31
},
"identifierName": "Vector"
},
"name": "Vector"
},
"arguments": [
{
"type": "NumericLiteral",
"start": 3323,
"end": 3324,
"loc": {
"start": {
"line": 127,
"column": 32
},
"end": {
"line": 127,
"column": 33
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
{
"type": "NumericLiteral",
"start": 3326,
"end": 3327,
"loc": {
"start": {
"line": 127,
"column": 35
},
"end": {
"line": 127,
"column": 36
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
]
}
},
{
"type": "ObjectProperty",
"start": 3347,
"end": 3375,
"loc": {
"start": {
"line": 128,
"column": 16
},
"end": {
"line": 128,
"column": 44
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3347,
"end": 3356,
"loc": {
"start": {
"line": 128,
"column": 16
},
"end": {
"line": 128,
"column": 25
},
"identifierName": "direction"
},
"name": "direction"
},
"value": {
"type": "MemberExpression",
"start": 3358,
"end": 3375,
"loc": {
"start": {
"line": 128,
"column": 27
},
"end": {
"line": 128,
"column": 44
}
},
"object": {
"type": "Identifier",
"start": 3358,
"end": 3371,
"loc": {
"start": {
"line": 128,
"column": 27
},
"end": {
"line": 128,
"column": 40
},
"identifierName": "enumDirection"
},
"name": "enumDirection"
},
"property": {
"type": "Identifier",
"start": 3372,
"end": 3375,
"loc": {
"start": {
"line": 128,
"column": 41
},
"end": {
"line": 128,
"column": 44
},
"identifierName": "top"
},
"name": "top"
},
"computed": false
}
},
{
"type": "ObjectProperty",
"start": 3394,
"end": 3430,
"loc": {
"start": {
"line": 129,
"column": 16
},
"end": {
"line": 129,
"column": 52
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3394,
"end": 3398,
"loc": {
"start": {
"line": 129,
"column": 16
},
"end": {
"line": 129,
"column": 20
},
"identifierName": "type"
},
"name": "type"
},
"value": {
"type": "MemberExpression",
"start": 3400,
"end": 3430,
"loc": {
"start": {
"line": 129,
"column": 22
},
"end": {
"line": 129,
"column": 52
}
},
"object": {
"type": "Identifier",
"start": 3400,
"end": 3415,
"loc": {
"start": {
"line": 129,
"column": 22
},
"end": {
"line": 129,
"column": 37
},
"identifierName": "enumPinSlotType"
},
"name": "enumPinSlotType"
},
"property": {
"type": "Identifier",
"start": 3416,
"end": 3430,
"loc": {
"start": {
"line": 129,
"column": 38
},
"end": {
"line": 129,
"column": 52
},
"identifierName": "logicalEjector"
},
"name": "logicalEjector"
},
"computed": false
}
}
]
}
]
}
}
]
}
]
}
]
}
},
{
"type": "ArrowFunctionExpression",
"start": 3476,
"end": 3529,
"loc": {
"start": {
"line": 133,
"column": 4
},
"end": {
"line": 133,
"column": 57
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [
{
"type": "Identifier",
"start": 3476,
"end": 3482,
"loc": {
"start": {
"line": 133,
"column": 4
},
"end": {
"line": 133,
"column": 10
},
"identifierName": "entity"
},
"name": "entity"
}
],
"body": {
"type": "CallExpression",
"start": 3486,
"end": 3529,
"loc": {
"start": {
"line": 133,
"column": 14
},
"end": {
"line": 133,
"column": 57
}
},
"callee": {
"type": "MemberExpression",
"start": 3486,
"end": 3505,
"loc": {
"start": {
"line": 133,
"column": 14
},
"end": {
"line": 133,
"column": 33
}
},
"object": {
"type": "Identifier",
"start": 3486,
"end": 3492,
"loc": {
"start": {
"line": 133,
"column": 14
},
"end": {
"line": 133,
"column": 20
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 3493,
"end": 3505,
"loc": {
"start": {
"line": 133,
"column": 21
},
"end": {
"line": 133,
"column": 33
},
"identifierName": "addComponent"
},
"name": "addComponent"
},
"computed": false
},
"arguments": [
{
"type": "NewExpression",
"start": 3506,
"end": 3528,
"loc": {
"start": {
"line": 133,
"column": 34
},
"end": {
"line": 133,
"column": 56
}
},
"callee": {
"type": "Identifier",
"start": 3510,
"end": 3524,
"loc": {
"start": {
"line": 133,
"column": 38
},
"end": {
"line": 133,
"column": 52
},
"identifierName": "LeverComponent"
},
"name": "LeverComponent"
},
"arguments": [
{
"type": "ObjectExpression",
"start": 3525,
"end": 3527,
"loc": {
"start": {
"line": 133,
"column": 53
},
"end": {
"line": 133,
"column": 55
}
},
"properties": []
}
]
}
]
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 3538,
"end": 3645,
"loc": {
"start": {
"line": 136,
"column": 0
},
"end": {
"line": 138,
"column": 2
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3538,
"end": 3644,
"loc": {
"start": {
"line": 136,
"column": 0
},
"end": {
"line": 138,
"column": 1
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3538,
"end": 3571,
"loc": {
"start": {
"line": 136,
"column": 0
},
"end": {
"line": 136,
"column": 33
}
},
"object": {
"type": "Identifier",
"start": 3538,
"end": 3555,
"loc": {
"start": {
"line": 136,
"column": 0
},
"end": {
"line": 136,
"column": 17
},
"identifierName": "MetaLeverBuilding"
},
"name": "MetaLeverBuilding"
},
"property": {
"type": "Identifier",
"start": 3556,
"end": 3571,
"loc": {
"start": {
"line": 136,
"column": 18
},
"end": {
"line": 136,
"column": 33
},
"identifierName": "overlayMatrices"
},
"name": "overlayMatrices"
},
"computed": false
},
"right": {
"type": "ObjectExpression",
"start": 3574,
"end": 3644,
"loc": {
"start": {
"line": 136,
"column": 36
},
"end": {
"line": 138,
"column": 1
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 3581,
"end": 3640,
"loc": {
"start": {
"line": 137,
"column": 4
},
"end": {
"line": 137,
"column": 63
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "Identifier",
"start": 3582,
"end": 3604,
"loc": {
"start": {
"line": 137,
"column": 5
},
"end": {
"line": 137,
"column": 27
},
"identifierName": "defaultBuildingVariant"
},
"name": "defaultBuildingVariant"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 3607,
"end": 3640,
"loc": {
"start": {
"line": 137,
"column": 30
},
"end": {
"line": 137,
"column": 63
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [
{
"type": "Identifier",
"start": 3608,
"end": 3614,
"loc": {
"start": {
"line": 137,
"column": 31
},
"end": {
"line": 137,
"column": 37
},
"identifierName": "entity"
},
"name": "entity"
},
{
"type": "Identifier",
"start": 3616,
"end": 3631,
"loc": {
"start": {
"line": 137,
"column": 39
},
"end": {
"line": 137,
"column": 54
},
"identifierName": "rotationVariant"
},
"name": "rotationVariant"
}
],
"body": {
"type": "NullLiteral",
"start": 3636,
"end": 3640,
"loc": {
"start": {
"line": 137,
"column": 59
},
"end": {
"line": 137,
"column": 63
}
}
}
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 3649,
"end": 3740,
"loc": {
"start": {
"line": 140,
"column": 0
},
"end": {
"line": 142,
"column": 2
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3649,
"end": 3739,
"loc": {
"start": {
"line": 140,
"column": 0
},
"end": {
"line": 142,
"column": 1
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3649,
"end": 3677,
"loc": {
"start": {
"line": 140,
"column": 0
},
"end": {
"line": 140,
"column": 28
}
},
"object": {
"type": "Identifier",
"start": 3649,
"end": 3666,
"loc": {
"start": {
"line": 140,
"column": 0
},
"end": {
"line": 140,
"column": 17
},
"identifierName": "MetaLeverBuilding"
},
"name": "MetaLeverBuilding"
},
"property": {
"type": "Identifier",
"start": 3667,
"end": 3677,
"loc": {
"start": {
"line": 140,
"column": 18
},
"end": {
"line": 140,
"column": 28
},
"identifierName": "dimensions"
},
"name": "dimensions"
},
"computed": false
},
"right": {
"type": "ObjectExpression",
"start": 3680,
"end": 3739,
"loc": {
"start": {
"line": 140,
"column": 31
},
"end": {
"line": 142,
"column": 1
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 3687,
"end": 3735,
"loc": {
"start": {
"line": 141,
"column": 4
},
"end": {
"line": 141,
"column": 52
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "Identifier",
"start": 3688,
"end": 3710,
"loc": {
"start": {
"line": 141,
"column": 5
},
"end": {
"line": 141,
"column": 27
},
"identifierName": "defaultBuildingVariant"
},
"name": "defaultBuildingVariant"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 3713,
"end": 3735,
"loc": {
"start": {
"line": 141,
"column": 30
},
"end": {
"line": 141,
"column": 52
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [],
"body": {
"type": "NewExpression",
"start": 3719,
"end": 3735,
"loc": {
"start": {
"line": 141,
"column": 36
},
"end": {
"line": 141,
"column": 52
}
},
"callee": {
"type": "Identifier",
"start": 3723,
"end": 3729,
"loc": {
"start": {
"line": 141,
"column": 40
},
"end": {
"line": 141,
"column": 46
},
"identifierName": "Vector"
},
"name": "Vector"
},
"arguments": [
{
"type": "NumericLiteral",
"start": 3730,
"end": 3731,
"loc": {
"start": {
"line": 141,
"column": 47
},
"end": {
"line": 141,
"column": 48
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
{
"type": "NumericLiteral",
"start": 3733,
"end": 3734,
"loc": {
"start": {
"line": 141,
"column": 50
},
"end": {
"line": 141,
"column": 51
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
]
}
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 3744,
"end": 3834,
"loc": {
"start": {
"line": 144,
"column": 0
},
"end": {
"line": 146,
"column": 2
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3744,
"end": 3833,
"loc": {
"start": {
"line": 144,
"column": 0
},
"end": {
"line": 146,
"column": 1
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3744,
"end": 3778,
"loc": {
"start": {
"line": 144,
"column": 0
},
"end": {
"line": 144,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 3744,
"end": 3761,
"loc": {
"start": {
"line": 144,
"column": 0
},
"end": {
"line": 144,
"column": 17
},
"identifierName": "MetaLeverBuilding"
},
"name": "MetaLeverBuilding"
},
"property": {
"type": "Identifier",
"start": 3762,
"end": 3778,
"loc": {
"start": {
"line": 144,
"column": 18
},
"end": {
"line": 144,
"column": 34
},
"identifierName": "silhouetteColors"
},
"name": "silhouetteColors"
},
"computed": false
},
"right": {
"type": "ObjectExpression",
"start": 3781,
"end": 3833,
"loc": {
"start": {
"line": 144,
"column": 37
},
"end": {
"line": 146,
"column": 1
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 3788,
"end": 3829,
"loc": {
"start": {
"line": 145,
"column": 4
},
"end": {
"line": 145,
"column": 45
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "Identifier",
"start": 3789,
"end": 3811,
"loc": {
"start": {
"line": 145,
"column": 5
},
"end": {
"line": 145,
"column": 27
},
"identifierName": "defaultBuildingVariant"
},
"name": "defaultBuildingVariant"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 3814,
"end": 3829,
"loc": {
"start": {
"line": 145,
"column": 30
},
"end": {
"line": 145,
"column": 45
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [],
"body": {
"type": "StringLiteral",
"start": 3820,
"end": 3829,
"loc": {
"start": {
"line": 145,
"column": 36
},
"end": {
"line": 145,
"column": 45
}
},
"extra": {
"rawValue": "#1a678b",
"raw": "\"#1a678b\""
},
"value": "#1a678b"
}
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 3838,
"end": 3918,
"loc": {
"start": {
"line": 148,
"column": 0
},
"end": {
"line": 150,
"column": 2
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3838,
"end": 3917,
"loc": {
"start": {
"line": 148,
"column": 0
},
"end": {
"line": 150,
"column": 1
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3838,
"end": 3867,
"loc": {
"start": {
"line": 148,
"column": 0
},
"end": {
"line": 148,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 3838,
"end": 3855,
"loc": {
"start": {
"line": 148,
"column": 0
},
"end": {
"line": 148,
"column": 17
},
"identifierName": "MetaLeverBuilding"
},
"name": "MetaLeverBuilding"
},
"property": {
"type": "Identifier",
"start": 3856,
"end": 3867,
"loc": {
"start": {
"line": 148,
"column": 18
},
"end": {
"line": 148,
"column": 29
},
"identifierName": "isRemovable"
},
"name": "isRemovable"
},
"computed": false
},
"right": {
"type": "ObjectExpression",
"start": 3870,
"end": 3917,
"loc": {
"start": {
"line": 148,
"column": 32
},
"end": {
"line": 150,
"column": 1
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 3877,
"end": 3913,
"loc": {
"start": {
"line": 149,
"column": 4
},
"end": {
"line": 149,
"column": 40
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "Identifier",
"start": 3878,
"end": 3900,
"loc": {
"start": {
"line": 149,
"column": 5
},
"end": {
"line": 149,
"column": 27
},
"identifierName": "defaultBuildingVariant"
},
"name": "defaultBuildingVariant"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 3903,
"end": 3913,
"loc": {
"start": {
"line": 149,
"column": 30
},
"end": {
"line": 149,
"column": 40
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [],
"body": {
"type": "BooleanLiteral",
"start": 3909,
"end": 3913,
"loc": {
"start": {
"line": 149,
"column": 36
},
"end": {
"line": 149,
"column": 40
}
},
"value": true
}
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 3922,
"end": 4003,
"loc": {
"start": {
"line": 152,
"column": 0
},
"end": {
"line": 154,
"column": 2
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3922,
"end": 4002,
"loc": {
"start": {
"line": 152,
"column": 0
},
"end": {
"line": 154,
"column": 1
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3922,
"end": 3952,
"loc": {
"start": {
"line": 152,
"column": 0
},
"end": {
"line": 152,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 3922,
"end": 3939,
"loc": {
"start": {
"line": 152,
"column": 0
},
"end": {
"line": 152,
"column": 17
},
"identifierName": "MetaLeverBuilding"
},
"name": "MetaLeverBuilding"
},
"property": {
"type": "Identifier",
"start": 3940,
"end": 3952,
"loc": {
"start": {
"line": 152,
"column": 18
},
"end": {
"line": 152,
"column": 30
},
"identifierName": "isRotateable"
},
"name": "isRotateable"
},
"computed": false
},
"right": {
"type": "ObjectExpression",
"start": 3955,
"end": 4002,
"loc": {
"start": {
"line": 152,
"column": 33
},
"end": {
"line": 154,
"column": 1
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 3962,
"end": 3998,
"loc": {
"start": {
"line": 153,
"column": 4
},
"end": {
"line": 153,
"column": 40
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "Identifier",
"start": 3963,
"end": 3985,
"loc": {
"start": {
"line": 153,
"column": 5
},
"end": {
"line": 153,
"column": 27
},
"identifierName": "defaultBuildingVariant"
},
"name": "defaultBuildingVariant"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 3988,
"end": 3998,
"loc": {
"start": {
"line": 153,
"column": 30
},
"end": {
"line": 153,
"column": 40
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [],
"body": {
"type": "BooleanLiteral",
"start": 3994,
"end": 3998,
"loc": {
"start": {
"line": 153,
"column": 36
},
"end": {
"line": 153,
"column": 40
}
},
"value": true
}
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 4007,
"end": 4180,
"loc": {
"start": {
"line": 156,
"column": 0
},
"end": {
"line": 159,
"column": 2
}
},
"expression": {
"type": "AssignmentExpression",
"start": 4007,
"end": 4179,
"loc": {
"start": {
"line": 156,
"column": 0
},
"end": {
"line": 159,
"column": 1
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 4007,
"end": 4040,
"loc": {
"start": {
"line": 156,
"column": 0
},
"end": {
"line": 156,
"column": 33
}
},
"object": {
"type": "Identifier",
"start": 4007,
"end": 4024,
"loc": {
"start": {
"line": 156,
"column": 0
},
"end": {
"line": 156,
"column": 17
},
"identifierName": "MetaLeverBuilding"
},
"name": "MetaLeverBuilding"
},
"property": {
"type": "Identifier",
"start": 4025,
"end": 4040,
"loc": {
"start": {
"line": 156,
"column": 18
},
"end": {
"line": 156,
"column": 33
},
"identifierName": "avaibleVariants"
},
"name": "avaibleVariants"
},
"computed": false
},
"right": {
"type": "ObjectExpression",
"start": 4043,
"end": 4179,
"loc": {
"start": {
"line": 156,
"column": 36
},
"end": {
"line": 159,
"column": 1
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 4050,
"end": 4175,
"loc": {
"start": {
"line": 157,
"column": 4
},
"end": {
"line": 158,
"column": 90
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "Identifier",
"start": 4051,
"end": 4073,
"loc": {
"start": {
"line": 157,
"column": 5
},
"end": {
"line": 157,
"column": 27
},
"identifierName": "defaultBuildingVariant"
},
"name": "defaultBuildingVariant"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 4076,
"end": 4175,
"loc": {
"start": {
"line": 157,
"column": 30
},
"end": {
"line": 158,
"column": 90
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [
{
"type": "Identifier",
"start": 4076,
"end": 4080,
"loc": {
"start": {
"line": 157,
"column": 30
},
"end": {
"line": 157,
"column": 34
},
"identifierName": "root"
},
"name": "root"
}
],
"body": {
"type": "CallExpression",
"start": 4093,
"end": 4175,
"loc": {
"start": {
"line": 158,
"column": 8
},
"end": {
"line": 158,
"column": 90
}
},
"callee": {
"type": "MemberExpression",
"start": 4093,
"end": 4123,
"loc": {
"start": {
"line": 158,
"column": 8
},
"end": {
"line": 158,
"column": 38
}
},
"object": {
"type": "MemberExpression",
"start": 4093,
"end": 4106,
"loc": {
"start": {
"line": 158,
"column": 8
},
"end": {
"line": 158,
"column": 21
}
},
"object": {
"type": "Identifier",
"start": 4093,
"end": 4097,
"loc": {
"start": {
"line": 158,
"column": 8
},
"end": {
"line": 158,
"column": 12
},
"identifierName": "root"
},
"name": "root"
},
"property": {
"type": "Identifier",
"start": 4098,
"end": 4106,
"loc": {
"start": {
"line": 158,
"column": 13
},
"end": {
"line": 158,
"column": 21
},
"identifierName": "hubGoals"
},
"name": "hubGoals"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4107,
"end": 4123,
"loc": {
"start": {
"line": 158,
"column": 22
},
"end": {
"line": 158,
"column": 38
},
"identifierName": "isRewardUnlocked"
},
"name": "isRewardUnlocked"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 4124,
"end": 4174,
"loc": {
"start": {
"line": 158,
"column": 39
},
"end": {
"line": 158,
"column": 89
}
},
"object": {
"type": "Identifier",
"start": 4124,
"end": 4142,
"loc": {
"start": {
"line": 158,
"column": 39
},
"end": {
"line": 158,
"column": 57
},
"identifierName": "enumHubGoalRewards"
},
"name": "enumHubGoalRewards"
},
"property": {
"type": "Identifier",
"start": 4143,
"end": 4174,
"loc": {
"start": {
"line": 158,
"column": 58
},
"end": {
"line": 158,
"column": 89
},
"identifierName": "reward_wires_painter_and_levers"
},
"name": "reward_wires_painter_and_levers"
},
"computed": false
}
]
}
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 4184,
"end": 4274,
"loc": {
"start": {
"line": 161,
"column": 0
},
"end": {
"line": 163,
"column": 2
}
},
"expression": {
"type": "AssignmentExpression",
"start": 4184,
"end": 4273,
"loc": {
"start": {
"line": 161,
"column": 0
},
"end": {
"line": 163,
"column": 1
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 4184,
"end": 4216,
"loc": {
"start": {
"line": 161,
"column": 0
},
"end": {
"line": 161,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 4184,
"end": 4201,
"loc": {
"start": {
"line": 161,
"column": 0
},
"end": {
"line": 161,
"column": 17
},
"identifierName": "MetaLeverBuilding"
},
"name": "MetaLeverBuilding"
},
"property": {
"type": "Identifier",
"start": 4202,
"end": 4216,
"loc": {
"start": {
"line": 161,
"column": 18
},
"end": {
"line": 161,
"column": 32
},
"identifierName": "layerByVariant"
},
"name": "layerByVariant"
},
"computed": false
},
"right": {
"type": "ObjectExpression",
"start": 4219,
"end": 4273,
"loc": {
"start": {
"line": 161,
"column": 35
},
"end": {
"line": 163,
"column": 1
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 4226,
"end": 4269,
"loc": {
"start": {
"line": 162,
"column": 4
},
"end": {
"line": 162,
"column": 47
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "Identifier",
"start": 4227,
"end": 4249,
"loc": {
"start": {
"line": 162,
"column": 5
},
"end": {
"line": 162,
"column": 27
},
"identifierName": "defaultBuildingVariant"
},
"name": "defaultBuildingVariant"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 4252,
"end": 4269,
"loc": {
"start": {
"line": 162,
"column": 30
},
"end": {
"line": 162,
"column": 47
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [
{
"type": "Identifier",
"start": 4252,
"end": 4256,
"loc": {
"start": {
"line": 162,
"column": 30
},
"end": {
"line": 162,
"column": 34
},
"identifierName": "root"
},
"name": "root"
}
],
"body": {
"type": "StringLiteral",
"start": 4260,
"end": 4269,
"loc": {
"start": {
"line": 162,
"column": 38
},
"end": {
"line": 162,
"column": 47
}
},
"extra": {
"rawValue": "regular",
"raw": "\"regular\""
},
"value": "regular"
}
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 4278,
"end": 4362,
"loc": {
"start": {
"line": 165,
"column": 0
},
"end": {
"line": 167,
"column": 2
}
},
"expression": {
"type": "AssignmentExpression",
"start": 4278,
"end": 4361,
"loc": {
"start": {
"line": 165,
"column": 0
},
"end": {
"line": 167,
"column": 1
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 4278,
"end": 4308,
"loc": {
"start": {
"line": 165,
"column": 0
},
"end": {
"line": 165,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 4278,
"end": 4295,
"loc": {
"start": {
"line": 165,
"column": 0
},
"end": {
"line": 165,
"column": 17
},
"identifierName": "MetaLeverBuilding"
},
"name": "MetaLeverBuilding"
},
"property": {
"type": "Identifier",
"start": 4296,
"end": 4308,
"loc": {
"start": {
"line": 165,
"column": 18
},
"end": {
"line": 165,
"column": 30
},
"identifierName": "layerPreview"
},
"name": "layerPreview"
},
"computed": false
},
"right": {
"type": "ObjectExpression",
"start": 4311,
"end": 4361,
"loc": {
"start": {
"line": 165,
"column": 33
},
"end": {
"line": 167,
"column": 1
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 4318,
"end": 4357,
"loc": {
"start": {
"line": 166,
"column": 4
},
"end": {
"line": 166,
"column": 43
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "Identifier",
"start": 4319,
"end": 4341,
"loc": {
"start": {
"line": 166,
"column": 5
},
"end": {
"line": 166,
"column": 27
},
"identifierName": "defaultBuildingVariant"
},
"name": "defaultBuildingVariant"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 4344,
"end": 4357,
"loc": {
"start": {
"line": 166,
"column": 30
},
"end": {
"line": 166,
"column": 43
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [],
"body": {
"type": "StringLiteral",
"start": 4350,
"end": 4357,
"loc": {
"start": {
"line": 166,
"column": 36
},
"end": {
"line": 166,
"column": 43
}
},
"extra": {
"rawValue": "wires",
"raw": "\"wires\""
},
"value": "wires"
}
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 4366,
"end": 4445,
"loc": {
"start": {
"line": 169,
"column": 0
},
"end": {
"line": 171,
"column": 2
}
},
"expression": {
"type": "AssignmentExpression",
"start": 4366,
"end": 4444,
"loc": {
"start": {
"line": 169,
"column": 0
},
"end": {
"line": 171,
"column": 1
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 4366,
"end": 4394,
"loc": {
"start": {
"line": 169,
"column": 0
},
"end": {
"line": 169,
"column": 28
}
},
"object": {
"type": "Identifier",
"start": 4366,
"end": 4383,
"loc": {
"start": {
"line": 169,
"column": 0
},
"end": {
"line": 169,
"column": 17
},
"identifierName": "MetaLeverBuilding"
},
"name": "MetaLeverBuilding"
},
"property": {
"type": "Identifier",
"start": 4384,
"end": 4394,
"loc": {
"start": {
"line": 169,
"column": 18
},
"end": {
"line": 169,
"column": 28
},
"identifierName": "renderPins"
},
"name": "renderPins"
},
"computed": false
},
"right": {
"type": "ObjectExpression",
"start": 4397,
"end": 4444,
"loc": {
"start": {
"line": 169,
"column": 31
},
"end": {
"line": 171,
"column": 1
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 4404,
"end": 4440,
"loc": {
"start": {
"line": 170,
"column": 4
},
"end": {
"line": 170,
"column": 40
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "Identifier",
"start": 4405,
"end": 4427,
"loc": {
"start": {
"line": 170,
"column": 5
},
"end": {
"line": 170,
"column": 27
},
"identifierName": "defaultBuildingVariant"
},
"name": "defaultBuildingVariant"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 4430,
"end": 4440,
"loc": {
"start": {
"line": 170,
"column": 30
},
"end": {
"line": 170,
"column": 40
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [],
"body": {
"type": "BooleanLiteral",
"start": 4436,
"end": 4440,
"loc": {
"start": {
"line": 170,
"column": 36
},
"end": {
"line": 170,
"column": 40
}
},
"value": true
}
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 4449,
"end": 4759,
"loc": {
"start": {
"line": 173,
"column": 0
},
"end": {
"line": 181,
"column": 2
}
},
"expression": {
"type": "AssignmentExpression",
"start": 4449,
"end": 4758,
"loc": {
"start": {
"line": 173,
"column": 0
},
"end": {
"line": 181,
"column": 1
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 4449,
"end": 4486,
"loc": {
"start": {
"line": 173,
"column": 0
},
"end": {
"line": 173,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 4449,
"end": 4466,
"loc": {
"start": {
"line": 173,
"column": 0
},
"end": {
"line": 173,
"column": 17
},
"identifierName": "MetaLeverBuilding"
},
"name": "MetaLeverBuilding"
},
"property": {
"type": "Identifier",
"start": 4467,
"end": 4486,
"loc": {
"start": {
"line": 173,
"column": 18
},
"end": {
"line": 173,
"column": 37
},
"identifierName": "componentVariations"
},
"name": "componentVariations"
},
"computed": false
},
"right": {
"type": "ObjectExpression",
"start": 4489,
"end": 4758,
"loc": {
"start": {
"line": 173,
"column": 40
},
"end": {
"line": 181,
"column": 1
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 4496,
"end": 4754,
"loc": {
"start": {
"line": 174,
"column": 4
},
"end": {
"line": 180,
"column": 5
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "Identifier",
"start": 4497,
"end": 4519,
"loc": {
"start": {
"line": 174,
"column": 5
},
"end": {
"line": 174,
"column": 27
},
"identifierName": "defaultBuildingVariant"
},
"name": "defaultBuildingVariant"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 4522,
"end": 4754,
"loc": {
"start": {
"line": 174,
"column": 30
},
"end": {
"line": 180,
"column": 5
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 4523,
"end": 4529,
"loc": {
"start": {
"line": 174,
"column": 31
},
"end": {
"line": 174,
"column": 37
},
"identifierName": "entity"
},
"name": "entity"
},
{
"type": "Identifier",
"start": 4531,
"end": 4546,
"loc": {
"start": {
"line": 174,
"column": 39
},
"end": {
"line": 174,
"column": 54
},
"identifierName": "rotationVariant"
},
"name": "rotationVariant"
}
],
"body": {
"type": "BlockStatement",
"start": 4551,
"end": 4754,
"loc": {
"start": {
"line": 174,
"column": 59
},
"end": {
"line": 180,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 4562,
"end": 4747,
"loc": {
"start": {
"line": 175,
"column": 8
},
"end": {
"line": 179,
"column": 14
}
},
"expression": {
"type": "CallExpression",
"start": 4562,
"end": 4746,
"loc": {
"start": {
"line": 175,
"column": 8
},
"end": {
"line": 179,
"column": 13
}
},
"callee": {
"type": "MemberExpression",
"start": 4562,
"end": 4598,
"loc": {
"start": {
"line": 175,
"column": 8
},
"end": {
"line": 175,
"column": 44
}
},
"object": {
"type": "MemberExpression",
"start": 4562,
"end": 4589,
"loc": {
"start": {
"line": 175,
"column": 8
},
"end": {
"line": 175,
"column": 35
}
},
"object": {
"type": "MemberExpression",
"start": 4562,
"end": 4579,
"loc": {
"start": {
"line": 175,
"column": 8
},
"end": {
"line": 175,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 4562,
"end": 4568,
"loc": {
"start": {
"line": 175,
"column": 8
},
"end": {
"line": 175,
"column": 14
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 4569,
"end": 4579,
"loc": {
"start": {
"line": 175,
"column": 15
},
"end": {
"line": 175,
"column": 25
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4580,
"end": 4589,
"loc": {
"start": {
"line": 175,
"column": 26
},
"end": {
"line": 175,
"column": 35
},
"identifierName": "WiredPins"
},
"name": "WiredPins"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4590,
"end": 4598,
"loc": {
"start": {
"line": 175,
"column": 36
},
"end": {
"line": 175,
"column": 44
},
"identifierName": "setSlots"
},
"name": "setSlots"
},
"computed": false
},
"arguments": [
{
"type": "ArrayExpression",
"start": 4599,
"end": 4745,
"loc": {
"start": {
"line": 175,
"column": 45
},
"end": {
"line": 179,
"column": 12
}
},
"elements": [
{
"type": "ObjectExpression",
"start": 4600,
"end": 4742,
"loc": {
"start": {
"line": 175,
"column": 46
},
"end": {
"line": 179,
"column": 9
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 4615,
"end": 4636,
"loc": {
"start": {
"line": 176,
"column": 12
},
"end": {
"line": 176,
"column": 33
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 4615,
"end": 4618,
"loc": {
"start": {
"line": 176,
"column": 12
},
"end": {
"line": 176,
"column": 15
},
"identifierName": "pos"
},
"name": "pos"
},
"value": {
"type": "NewExpression",
"start": 4620,
"end": 4636,
"loc": {
"start": {
"line": 176,
"column": 17
},
"end": {
"line": 176,
"column": 33
}
},
"callee": {
"type": "Identifier",
"start": 4624,
"end": 4630,
"loc": {
"start": {
"line": 176,
"column": 21
},
"end": {
"line": 176,
"column": 27
},
"identifierName": "Vector"
},
"name": "Vector"
},
"arguments": [
{
"type": "NumericLiteral",
"start": 4631,
"end": 4632,
"loc": {
"start": {
"line": 176,
"column": 28
},
"end": {
"line": 176,
"column": 29
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
{
"type": "NumericLiteral",
"start": 4634,
"end": 4635,
"loc": {
"start": {
"line": 176,
"column": 31
},
"end": {
"line": 176,
"column": 32
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
]
}
},
{
"type": "ObjectProperty",
"start": 4651,
"end": 4679,
"loc": {
"start": {
"line": 177,
"column": 12
},
"end": {
"line": 177,
"column": 40
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 4651,
"end": 4660,
"loc": {
"start": {
"line": 177,
"column": 12
},
"end": {
"line": 177,
"column": 21
},
"identifierName": "direction"
},
"name": "direction"
},
"value": {
"type": "MemberExpression",
"start": 4662,
"end": 4679,
"loc": {
"start": {
"line": 177,
"column": 23
},
"end": {
"line": 177,
"column": 40
}
},
"object": {
"type": "Identifier",
"start": 4662,
"end": 4675,
"loc": {
"start": {
"line": 177,
"column": 23
},
"end": {
"line": 177,
"column": 36
},
"identifierName": "enumDirection"
},
"name": "enumDirection"
},
"property": {
"type": "Identifier",
"start": 4676,
"end": 4679,
"loc": {
"start": {
"line": 177,
"column": 37
},
"end": {
"line": 177,
"column": 40
},
"identifierName": "top"
},
"name": "top"
},
"computed": false
}
},
{
"type": "ObjectProperty",
"start": 4694,
"end": 4730,
"loc": {
"start": {
"line": 178,
"column": 12
},
"end": {
"line": 178,
"column": 48
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 4694,
"end": 4698,
"loc": {
"start": {
"line": 178,
"column": 12
},
"end": {
"line": 178,
"column": 16
},
"identifierName": "type"
},
"name": "type"
},
"value": {
"type": "MemberExpression",
"start": 4700,
"end": 4730,
"loc": {
"start": {
"line": 178,
"column": 18
},
"end": {
"line": 178,
"column": 48
}
},
"object": {
"type": "Identifier",
"start": 4700,
"end": 4715,
"loc": {
"start": {
"line": 178,
"column": 18
},
"end": {
"line": 178,
"column": 33
},
"identifierName": "enumPinSlotType"
},
"name": "enumPinSlotType"
},
"property": {
"type": "Identifier",
"start": 4716,
"end": 4730,
"loc": {
"start": {
"line": 178,
"column": 34
},
"end": {
"line": 178,
"column": 48
},
"identifierName": "logicalEjector"
},
"name": "logicalEjector"
},
"computed": false
}
}
]
}
]
}
]
}
}
],
"directives": []
}
}
}
]
}
}
}
],
"directives": []
},
"comments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 517,
"end": 561,
"loc": {
"start": {
"line": 14,
"column": 4
},
"end": {
"line": 16,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 674,
"end": 718,
"loc": {
"start": {
"line": 21,
"column": 4
},
"end": {
"line": 23,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {GameRoot} root\r\n ",
"start": 820,
"end": 863,
"loc": {
"start": {
"line": 28,
"column": 4
},
"end": {
"line": 30,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 965,
"end": 1009,
"loc": {
"start": {
"line": 35,
"column": 4
},
"end": {
"line": 37,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 1113,
"end": 1157,
"loc": {
"start": {
"line": 42,
"column": 4
},
"end": {
"line": 44,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {GameRoot} root\r\n ",
"start": 1263,
"end": 1306,
"loc": {
"start": {
"line": 49,
"column": 4
},
"end": {
"line": 51,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Returns the edit layer of the building\r\n * @param {GameRoot} root\r\n * @param {string} variant\r\n * @returns {Layer}\r\n ",
"start": 1597,
"end": 1744,
"loc": {
"start": {
"line": 63,
"column": 4
},
"end": {
"line": 68,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " @ts-ignore",
"start": 1785,
"end": 1798,
"loc": {
"start": {
"line": 70,
"column": 8
},
"end": {
"line": 70,
"column": 21
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 1878,
"end": 1922,
"loc": {
"start": {
"line": 74,
"column": 4
},
"end": {
"line": 76,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {number} rotation\r\n * @param {number} rotationVariant\r\n * @param {string} variant\r\n * @param {Entity} entity\r\n * @returns {Array<number>|null}\r\n ",
"start": 2032,
"end": 2218,
"loc": {
"start": {
"line": 81,
"column": 4
},
"end": {
"line": 87,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 2511,
"end": 2555,
"loc": {
"start": {
"line": 97,
"column": 4
},
"end": {
"line": 99,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Creates the entity at the given location\r\n * @param {Entity} entity\r\n ",
"start": 2657,
"end": 2749,
"loc": {
"start": {
"line": 104,
"column": 4
},
"end": {
"line": 107,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {Entity} entity\r\n * @param {number} rotationVariant\r\n * @param {string} variant\r\n ",
"start": 2881,
"end": 2996,
"loc": {
"start": {
"line": 112,
"column": 4
},
"end": {
"line": 116,
"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": "enumDirection",
"start": 9,
"end": 22,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 22
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 22,
"end": 23,
"loc": {
"start": {
"line": 1,
"column": 22
},
"end": {
"line": 1,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Vector",
"start": 24,
"end": 30,
"loc": {
"start": {
"line": 1,
"column": 24
},
"end": {
"line": 1,
"column": 30
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 31,
"end": 32,
"loc": {
"start": {
"line": 1,
"column": 31
},
"end": {
"line": 1,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 33,
"end": 37,
"loc": {
"start": {
"line": 1,
"column": 33
},
"end": {
"line": 1,
"column": 37
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../core/vector",
"start": 38,
"end": 57,
"loc": {
"start": {
"line": 1,
"column": 38
},
"end": {
"line": 1,
"column": 57
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 57,
"end": 58,
"loc": {
"start": {
"line": 1,
"column": 57
},
"end": {
"line": 1,
"column": 58
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 60,
"end": 66,
"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": 67,
"end": 68,
"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": "enumPinSlotType",
"start": 69,
"end": 84,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 24
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 84,
"end": 85,
"loc": {
"start": {
"line": 2,
"column": 24
},
"end": {
"line": 2,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "WiredPinsComponent",
"start": 86,
"end": 104,
"loc": {
"start": {
"line": 2,
"column": 26
},
"end": {
"line": 2,
"column": 44
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 105,
"end": 106,
"loc": {
"start": {
"line": 2,
"column": 45
},
"end": {
"line": 2,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 107,
"end": 111,
"loc": {
"start": {
"line": 2,
"column": 47
},
"end": {
"line": 2,
"column": 51
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../components/wired_pins",
"start": 112,
"end": 138,
"loc": {
"start": {
"line": 2,
"column": 52
},
"end": {
"line": 2,
"column": 78
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 138,
"end": 139,
"loc": {
"start": {
"line": 2,
"column": 78
},
"end": {
"line": 2,
"column": 79
}
}
},
{
"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": 141,
"end": 147,
"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": 148,
"end": 149,
"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": "Entity",
"start": 150,
"end": 156,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 15
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 157,
"end": 158,
"loc": {
"start": {
"line": 3,
"column": 16
},
"end": {
"line": 3,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 159,
"end": 163,
"loc": {
"start": {
"line": 3,
"column": 18
},
"end": {
"line": 3,
"column": 22
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../entity",
"start": 164,
"end": 175,
"loc": {
"start": {
"line": 3,
"column": 23
},
"end": {
"line": 3,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 175,
"end": 176,
"loc": {
"start": {
"line": 3,
"column": 34
},
"end": {
"line": 3,
"column": 35
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 178,
"end": 184,
"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": 185,
"end": 186,
"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": "defaultBuildingVariant",
"start": 187,
"end": 209,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 31
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 209,
"end": 210,
"loc": {
"start": {
"line": 4,
"column": 31
},
"end": {
"line": 4,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaBuilding",
"start": 211,
"end": 223,
"loc": {
"start": {
"line": 4,
"column": 33
},
"end": {
"line": 4,
"column": 45
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 224,
"end": 225,
"loc": {
"start": {
"line": 4,
"column": 46
},
"end": {
"line": 4,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 226,
"end": 230,
"loc": {
"start": {
"line": 4,
"column": 48
},
"end": {
"line": 4,
"column": 52
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../meta_building",
"start": 231,
"end": 249,
"loc": {
"start": {
"line": 4,
"column": 53
},
"end": {
"line": 4,
"column": 71
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 249,
"end": 250,
"loc": {
"start": {
"line": 4,
"column": 71
},
"end": {
"line": 4,
"column": 72
}
}
},
{
"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": 252,
"end": 258,
"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": 259,
"end": 260,
"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": "GameRoot",
"start": 261,
"end": 269,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 270,
"end": 271,
"loc": {
"start": {
"line": 5,
"column": 18
},
"end": {
"line": 5,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 272,
"end": 276,
"loc": {
"start": {
"line": 5,
"column": 20
},
"end": {
"line": 5,
"column": 24
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../root",
"start": 277,
"end": 286,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 5,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 286,
"end": 287,
"loc": {
"start": {
"line": 5,
"column": 34
},
"end": {
"line": 5,
"column": 35
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 289,
"end": 295,
"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": 296,
"end": 297,
"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": "LeverComponent",
"start": 298,
"end": 312,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 313,
"end": 314,
"loc": {
"start": {
"line": 6,
"column": 24
},
"end": {
"line": 6,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 315,
"end": 319,
"loc": {
"start": {
"line": 6,
"column": 26
},
"end": {
"line": 6,
"column": 30
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../components/lever",
"start": 320,
"end": 341,
"loc": {
"start": {
"line": 6,
"column": 31
},
"end": {
"line": 6,
"column": 52
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 341,
"end": 342,
"loc": {
"start": {
"line": 6,
"column": 52
},
"end": {
"line": 6,
"column": 53
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 344,
"end": 350,
"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": 351,
"end": 352,
"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": "enumHubGoalRewards",
"start": 353,
"end": 371,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 27
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 372,
"end": 373,
"loc": {
"start": {
"line": 7,
"column": 28
},
"end": {
"line": 7,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 374,
"end": 378,
"loc": {
"start": {
"line": 7,
"column": 30
},
"end": {
"line": 7,
"column": 34
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../tutorial_goals",
"start": 379,
"end": 398,
"loc": {
"start": {
"line": 7,
"column": 35
},
"end": {
"line": 7,
"column": 54
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 398,
"end": 399,
"loc": {
"start": {
"line": 7,
"column": 54
},
"end": {
"line": 7,
"column": 55
}
}
},
{
"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": 403,
"end": 409,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"column": 6
}
}
},
{
"type": {
"label": "class",
"keyword": "class",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "class",
"start": 410,
"end": 415,
"loc": {
"start": {
"line": 9,
"column": 7
},
"end": {
"line": 9,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaLeverBuilding",
"start": 416,
"end": 433,
"loc": {
"start": {
"line": 9,
"column": 13
},
"end": {
"line": 9,
"column": 30
}
}
},
{
"type": {
"label": "extends",
"keyword": "extends",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "extends",
"start": 434,
"end": 441,
"loc": {
"start": {
"line": 9,
"column": 31
},
"end": {
"line": 9,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaBuilding",
"start": 442,
"end": 454,
"loc": {
"start": {
"line": 9,
"column": 39
},
"end": {
"line": 9,
"column": 51
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 455,
"end": 456,
"loc": {
"start": {
"line": 9,
"column": 52
},
"end": {
"line": 9,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 462,
"end": 473,
"loc": {
"start": {
"line": 10,
"column": 4
},
"end": {
"line": 10,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 473,
"end": 474,
"loc": {
"start": {
"line": 10,
"column": 15
},
"end": {
"line": 10,
"column": 16
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 474,
"end": 475,
"loc": {
"start": {
"line": 10,
"column": 16
},
"end": {
"line": 10,
"column": 17
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 476,
"end": 477,
"loc": {
"start": {
"line": 10,
"column": 18
},
"end": {
"line": 10,
"column": 19
}
}
},
{
"type": {
"label": "super",
"keyword": "super",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "super",
"start": 487,
"end": 492,
"loc": {
"start": {
"line": 11,
"column": 8
},
"end": {
"line": 11,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 492,
"end": 493,
"loc": {
"start": {
"line": 11,
"column": 13
},
"end": {
"line": 11,
"column": 14
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "lever",
"start": 493,
"end": 500,
"loc": {
"start": {
"line": 11,
"column": 14
},
"end": {
"line": 11,
"column": 21
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 500,
"end": 501,
"loc": {
"start": {
"line": 11,
"column": 21
},
"end": {
"line": 11,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 501,
"end": 502,
"loc": {
"start": {
"line": 11,
"column": 22
},
"end": {
"line": 11,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 508,
"end": 509,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 12,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 517,
"end": 561,
"loc": {
"start": {
"line": 14,
"column": 4
},
"end": {
"line": 16,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getSilhouetteColor",
"start": 567,
"end": 585,
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 17,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 585,
"end": 586,
"loc": {
"start": {
"line": 17,
"column": 22
},
"end": {
"line": 17,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 586,
"end": 593,
"loc": {
"start": {
"line": 17,
"column": 23
},
"end": {
"line": 17,
"column": 30
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 593,
"end": 594,
"loc": {
"start": {
"line": 17,
"column": 30
},
"end": {
"line": 17,
"column": 31
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 595,
"end": 596,
"loc": {
"start": {
"line": 17,
"column": 32
},
"end": {
"line": 17,
"column": 33
}
}
},
{
"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": 606,
"end": 612,
"loc": {
"start": {
"line": 18,
"column": 8
},
"end": {
"line": 18,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaLeverBuilding",
"start": 613,
"end": 630,
"loc": {
"start": {
"line": 18,
"column": 15
},
"end": {
"line": 18,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 630,
"end": 631,
"loc": {
"start": {
"line": 18,
"column": 32
},
"end": {
"line": 18,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "silhouetteColors",
"start": 631,
"end": 647,
"loc": {
"start": {
"line": 18,
"column": 33
},
"end": {
"line": 18,
"column": 49
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 647,
"end": 648,
"loc": {
"start": {
"line": 18,
"column": 49
},
"end": {
"line": 18,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 648,
"end": 655,
"loc": {
"start": {
"line": 18,
"column": 50
},
"end": {
"line": 18,
"column": 57
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 655,
"end": 656,
"loc": {
"start": {
"line": 18,
"column": 57
},
"end": {
"line": 18,
"column": 58
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 656,
"end": 657,
"loc": {
"start": {
"line": 18,
"column": 58
},
"end": {
"line": 18,
"column": 59
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 657,
"end": 658,
"loc": {
"start": {
"line": 18,
"column": 59
},
"end": {
"line": 18,
"column": 60
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 658,
"end": 659,
"loc": {
"start": {
"line": 18,
"column": 60
},
"end": {
"line": 18,
"column": 61
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 665,
"end": 666,
"loc": {
"start": {
"line": 19,
"column": 4
},
"end": {
"line": 19,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 674,
"end": 718,
"loc": {
"start": {
"line": 21,
"column": 4
},
"end": {
"line": 23,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getDimensions",
"start": 724,
"end": 737,
"loc": {
"start": {
"line": 24,
"column": 4
},
"end": {
"line": 24,
"column": 17
}
}
},
{
"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": 24,
"column": 17
},
"end": {
"line": 24,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 738,
"end": 745,
"loc": {
"start": {
"line": 24,
"column": 18
},
"end": {
"line": 24,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 745,
"end": 746,
"loc": {
"start": {
"line": 24,
"column": 25
},
"end": {
"line": 24,
"column": 26
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 747,
"end": 748,
"loc": {
"start": {
"line": 24,
"column": 27
},
"end": {
"line": 24,
"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": 758,
"end": 764,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaLeverBuilding",
"start": 765,
"end": 782,
"loc": {
"start": {
"line": 25,
"column": 15
},
"end": {
"line": 25,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 782,
"end": 783,
"loc": {
"start": {
"line": 25,
"column": 32
},
"end": {
"line": 25,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dimensions",
"start": 783,
"end": 793,
"loc": {
"start": {
"line": 25,
"column": 33
},
"end": {
"line": 25,
"column": 43
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 793,
"end": 794,
"loc": {
"start": {
"line": 25,
"column": 43
},
"end": {
"line": 25,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 794,
"end": 801,
"loc": {
"start": {
"line": 25,
"column": 44
},
"end": {
"line": 25,
"column": 51
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 801,
"end": 802,
"loc": {
"start": {
"line": 25,
"column": 51
},
"end": {
"line": 25,
"column": 52
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 802,
"end": 803,
"loc": {
"start": {
"line": 25,
"column": 52
},
"end": {
"line": 25,
"column": 53
}
}
},
{
"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": 25,
"column": 53
},
"end": {
"line": 25,
"column": 54
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 804,
"end": 805,
"loc": {
"start": {
"line": 25,
"column": 54
},
"end": {
"line": 25,
"column": 55
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 811,
"end": 812,
"loc": {
"start": {
"line": 26,
"column": 4
},
"end": {
"line": 26,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {GameRoot} root\r\n ",
"start": 820,
"end": 863,
"loc": {
"start": {
"line": 28,
"column": 4
},
"end": {
"line": 30,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getIsUnlocked",
"start": 869,
"end": 882,
"loc": {
"start": {
"line": 31,
"column": 4
},
"end": {
"line": 31,
"column": 17
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 882,
"end": 883,
"loc": {
"start": {
"line": 31,
"column": 17
},
"end": {
"line": 31,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 883,
"end": 887,
"loc": {
"start": {
"line": 31,
"column": 18
},
"end": {
"line": 31,
"column": 22
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 887,
"end": 888,
"loc": {
"start": {
"line": 31,
"column": 22
},
"end": {
"line": 31,
"column": 23
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 889,
"end": 890,
"loc": {
"start": {
"line": 31,
"column": 24
},
"end": {
"line": 31,
"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": 900,
"end": 906,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 14
}
}
},
{
"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": 907,
"end": 911,
"loc": {
"start": {
"line": 32,
"column": 15
},
"end": {
"line": 32,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 911,
"end": 912,
"loc": {
"start": {
"line": 32,
"column": 19
},
"end": {
"line": 32,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getAvailableVariants",
"start": 912,
"end": 932,
"loc": {
"start": {
"line": 32,
"column": 20
},
"end": {
"line": 32,
"column": 40
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 932,
"end": 933,
"loc": {
"start": {
"line": 32,
"column": 40
},
"end": {
"line": 32,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 933,
"end": 937,
"loc": {
"start": {
"line": 32,
"column": 41
},
"end": {
"line": 32,
"column": 45
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 937,
"end": 938,
"loc": {
"start": {
"line": 32,
"column": 45
},
"end": {
"line": 32,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 938,
"end": 939,
"loc": {
"start": {
"line": 32,
"column": 46
},
"end": {
"line": 32,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 939,
"end": 945,
"loc": {
"start": {
"line": 32,
"column": 47
},
"end": {
"line": 32,
"column": 53
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": ">",
"start": 946,
"end": 947,
"loc": {
"start": {
"line": 32,
"column": 54
},
"end": {
"line": 32,
"column": 55
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 948,
"end": 949,
"loc": {
"start": {
"line": 32,
"column": 56
},
"end": {
"line": 32,
"column": 57
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 949,
"end": 950,
"loc": {
"start": {
"line": 32,
"column": 57
},
"end": {
"line": 32,
"column": 58
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 956,
"end": 957,
"loc": {
"start": {
"line": 33,
"column": 4
},
"end": {
"line": 33,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 965,
"end": 1009,
"loc": {
"start": {
"line": 35,
"column": 4
},
"end": {
"line": 37,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getIsRemovable",
"start": 1015,
"end": 1029,
"loc": {
"start": {
"line": 38,
"column": 4
},
"end": {
"line": 38,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1029,
"end": 1030,
"loc": {
"start": {
"line": 38,
"column": 18
},
"end": {
"line": 38,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 1030,
"end": 1037,
"loc": {
"start": {
"line": 38,
"column": 19
},
"end": {
"line": 38,
"column": 26
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1037,
"end": 1038,
"loc": {
"start": {
"line": 38,
"column": 26
},
"end": {
"line": 38,
"column": 27
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1039,
"end": 1040,
"loc": {
"start": {
"line": 38,
"column": 28
},
"end": {
"line": 38,
"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": 1050,
"end": 1056,
"loc": {
"start": {
"line": 39,
"column": 8
},
"end": {
"line": 39,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaLeverBuilding",
"start": 1057,
"end": 1074,
"loc": {
"start": {
"line": 39,
"column": 15
},
"end": {
"line": 39,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1074,
"end": 1075,
"loc": {
"start": {
"line": 39,
"column": 32
},
"end": {
"line": 39,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isRemovable",
"start": 1075,
"end": 1086,
"loc": {
"start": {
"line": 39,
"column": 33
},
"end": {
"line": 39,
"column": 44
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1086,
"end": 1087,
"loc": {
"start": {
"line": 39,
"column": 44
},
"end": {
"line": 39,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 1087,
"end": 1094,
"loc": {
"start": {
"line": 39,
"column": 45
},
"end": {
"line": 39,
"column": 52
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1094,
"end": 1095,
"loc": {
"start": {
"line": 39,
"column": 52
},
"end": {
"line": 39,
"column": 53
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1095,
"end": 1096,
"loc": {
"start": {
"line": 39,
"column": 53
},
"end": {
"line": 39,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1096,
"end": 1097,
"loc": {
"start": {
"line": 39,
"column": 54
},
"end": {
"line": 39,
"column": 55
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1097,
"end": 1098,
"loc": {
"start": {
"line": 39,
"column": 55
},
"end": {
"line": 39,
"column": 56
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1104,
"end": 1105,
"loc": {
"start": {
"line": 40,
"column": 4
},
"end": {
"line": 40,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 1113,
"end": 1157,
"loc": {
"start": {
"line": 42,
"column": 4
},
"end": {
"line": 44,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getIsRotateable",
"start": 1163,
"end": 1178,
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 45,
"column": 19
}
}
},
{
"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": 45,
"column": 19
},
"end": {
"line": 45,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 1179,
"end": 1186,
"loc": {
"start": {
"line": 45,
"column": 20
},
"end": {
"line": 45,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1186,
"end": 1187,
"loc": {
"start": {
"line": 45,
"column": 27
},
"end": {
"line": 45,
"column": 28
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1188,
"end": 1189,
"loc": {
"start": {
"line": 45,
"column": 29
},
"end": {
"line": 45,
"column": 30
}
}
},
{
"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": 1199,
"end": 1205,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaLeverBuilding",
"start": 1206,
"end": 1223,
"loc": {
"start": {
"line": 46,
"column": 15
},
"end": {
"line": 46,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1223,
"end": 1224,
"loc": {
"start": {
"line": 46,
"column": 32
},
"end": {
"line": 46,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isRotateable",
"start": 1224,
"end": 1236,
"loc": {
"start": {
"line": 46,
"column": 33
},
"end": {
"line": 46,
"column": 45
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1236,
"end": 1237,
"loc": {
"start": {
"line": 46,
"column": 45
},
"end": {
"line": 46,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 1237,
"end": 1244,
"loc": {
"start": {
"line": 46,
"column": 46
},
"end": {
"line": 46,
"column": 53
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1244,
"end": 1245,
"loc": {
"start": {
"line": 46,
"column": 53
},
"end": {
"line": 46,
"column": 54
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1245,
"end": 1246,
"loc": {
"start": {
"line": 46,
"column": 54
},
"end": {
"line": 46,
"column": 55
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1246,
"end": 1247,
"loc": {
"start": {
"line": 46,
"column": 55
},
"end": {
"line": 46,
"column": 56
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1247,
"end": 1248,
"loc": {
"start": {
"line": 46,
"column": 56
},
"end": {
"line": 46,
"column": 57
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1254,
"end": 1255,
"loc": {
"start": {
"line": 47,
"column": 4
},
"end": {
"line": 47,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {GameRoot} root\r\n ",
"start": 1263,
"end": 1306,
"loc": {
"start": {
"line": 49,
"column": 4
},
"end": {
"line": 51,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getAvailableVariants",
"start": 1312,
"end": 1332,
"loc": {
"start": {
"line": 52,
"column": 4
},
"end": {
"line": 52,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1332,
"end": 1333,
"loc": {
"start": {
"line": 52,
"column": 24
},
"end": {
"line": 52,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 1333,
"end": 1337,
"loc": {
"start": {
"line": 52,
"column": 25
},
"end": {
"line": 52,
"column": 29
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1337,
"end": 1338,
"loc": {
"start": {
"line": 52,
"column": 29
},
"end": {
"line": 52,
"column": 30
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1339,
"end": 1340,
"loc": {
"start": {
"line": 52,
"column": 31
},
"end": {
"line": 52,
"column": 32
}
}
},
{
"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": 1350,
"end": 1355,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 53,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variants",
"start": 1356,
"end": 1364,
"loc": {
"start": {
"line": 53,
"column": 14
},
"end": {
"line": 53,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1365,
"end": 1366,
"loc": {
"start": {
"line": 53,
"column": 23
},
"end": {
"line": 53,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaLeverBuilding",
"start": 1367,
"end": 1384,
"loc": {
"start": {
"line": 53,
"column": 25
},
"end": {
"line": 53,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1384,
"end": 1385,
"loc": {
"start": {
"line": 53,
"column": 42
},
"end": {
"line": 53,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "avaibleVariants",
"start": 1385,
"end": 1400,
"loc": {
"start": {
"line": 53,
"column": 43
},
"end": {
"line": 53,
"column": 58
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1400,
"end": 1401,
"loc": {
"start": {
"line": 53,
"column": 58
},
"end": {
"line": 53,
"column": 59
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 1413,
"end": 1416,
"loc": {
"start": {
"line": 55,
"column": 8
},
"end": {
"line": 55,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "available",
"start": 1417,
"end": 1426,
"loc": {
"start": {
"line": 55,
"column": 12
},
"end": {
"line": 55,
"column": 21
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1427,
"end": 1428,
"loc": {
"start": {
"line": 55,
"column": 22
},
"end": {
"line": 55,
"column": 23
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1429,
"end": 1430,
"loc": {
"start": {
"line": 55,
"column": 24
},
"end": {
"line": 55,
"column": 25
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1430,
"end": 1431,
"loc": {
"start": {
"line": 55,
"column": 25
},
"end": {
"line": 55,
"column": 26
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1431,
"end": 1432,
"loc": {
"start": {
"line": 55,
"column": 26
},
"end": {
"line": 55,
"column": 27
}
}
},
{
"type": {
"label": "for",
"keyword": "for",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": true,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "for",
"start": 1442,
"end": 1445,
"loc": {
"start": {
"line": 56,
"column": 8
},
"end": {
"line": 56,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1446,
"end": 1447,
"loc": {
"start": {
"line": 56,
"column": 12
},
"end": {
"line": 56,
"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": 1447,
"end": 1452,
"loc": {
"start": {
"line": 56,
"column": 13
},
"end": {
"line": 56,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 1453,
"end": 1460,
"loc": {
"start": {
"line": 56,
"column": 19
},
"end": {
"line": 56,
"column": 26
}
}
},
{
"type": {
"label": "in",
"keyword": "in",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "in",
"start": 1461,
"end": 1463,
"loc": {
"start": {
"line": 56,
"column": 27
},
"end": {
"line": 56,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variants",
"start": 1464,
"end": 1472,
"loc": {
"start": {
"line": 56,
"column": 30
},
"end": {
"line": 56,
"column": 38
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1472,
"end": 1473,
"loc": {
"start": {
"line": 56,
"column": 38
},
"end": {
"line": 56,
"column": 39
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1474,
"end": 1475,
"loc": {
"start": {
"line": 56,
"column": 40
},
"end": {
"line": 56,
"column": 41
}
}
},
{
"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": 1489,
"end": 1491,
"loc": {
"start": {
"line": 57,
"column": 12
},
"end": {
"line": 57,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1492,
"end": 1493,
"loc": {
"start": {
"line": 57,
"column": 15
},
"end": {
"line": 57,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variants",
"start": 1493,
"end": 1501,
"loc": {
"start": {
"line": 57,
"column": 16
},
"end": {
"line": 57,
"column": 24
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1501,
"end": 1502,
"loc": {
"start": {
"line": 57,
"column": 24
},
"end": {
"line": 57,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 1502,
"end": 1509,
"loc": {
"start": {
"line": 57,
"column": 25
},
"end": {
"line": 57,
"column": 32
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1509,
"end": 1510,
"loc": {
"start": {
"line": 57,
"column": 32
},
"end": {
"line": 57,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1510,
"end": 1511,
"loc": {
"start": {
"line": 57,
"column": 33
},
"end": {
"line": 57,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 1511,
"end": 1515,
"loc": {
"start": {
"line": 57,
"column": 34
},
"end": {
"line": 57,
"column": 38
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1515,
"end": 1516,
"loc": {
"start": {
"line": 57,
"column": 38
},
"end": {
"line": 57,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1516,
"end": 1517,
"loc": {
"start": {
"line": 57,
"column": 39
},
"end": {
"line": 57,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "available",
"start": 1518,
"end": 1527,
"loc": {
"start": {
"line": 57,
"column": 41
},
"end": {
"line": 57,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1527,
"end": 1528,
"loc": {
"start": {
"line": 57,
"column": 50
},
"end": {
"line": 57,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "push",
"start": 1528,
"end": 1532,
"loc": {
"start": {
"line": 57,
"column": 51
},
"end": {
"line": 57,
"column": 55
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1532,
"end": 1533,
"loc": {
"start": {
"line": 57,
"column": 55
},
"end": {
"line": 57,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 1533,
"end": 1540,
"loc": {
"start": {
"line": 57,
"column": 56
},
"end": {
"line": 57,
"column": 63
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1540,
"end": 1541,
"loc": {
"start": {
"line": 57,
"column": 63
},
"end": {
"line": 57,
"column": 64
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1541,
"end": 1542,
"loc": {
"start": {
"line": 57,
"column": 64
},
"end": {
"line": 57,
"column": 65
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1552,
"end": 1553,
"loc": {
"start": {
"line": 58,
"column": 8
},
"end": {
"line": 58,
"column": 9
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 1565,
"end": 1571,
"loc": {
"start": {
"line": 60,
"column": 8
},
"end": {
"line": 60,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "available",
"start": 1572,
"end": 1581,
"loc": {
"start": {
"line": 60,
"column": 15
},
"end": {
"line": 60,
"column": 24
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1581,
"end": 1582,
"loc": {
"start": {
"line": 60,
"column": 24
},
"end": {
"line": 60,
"column": 25
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1588,
"end": 1589,
"loc": {
"start": {
"line": 61,
"column": 4
},
"end": {
"line": 61,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Returns the edit layer of the building\r\n * @param {GameRoot} root\r\n * @param {string} variant\r\n * @returns {Layer}\r\n ",
"start": 1597,
"end": 1744,
"loc": {
"start": {
"line": 63,
"column": 4
},
"end": {
"line": 68,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getLayer",
"start": 1750,
"end": 1758,
"loc": {
"start": {
"line": 69,
"column": 4
},
"end": {
"line": 69,
"column": 12
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1758,
"end": 1759,
"loc": {
"start": {
"line": 69,
"column": 12
},
"end": {
"line": 69,
"column": 13
}
}
},
{
"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": 69,
"column": 13
},
"end": {
"line": 69,
"column": 17
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1763,
"end": 1764,
"loc": {
"start": {
"line": 69,
"column": 17
},
"end": {
"line": 69,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 1765,
"end": 1772,
"loc": {
"start": {
"line": 69,
"column": 19
},
"end": {
"line": 69,
"column": 26
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1772,
"end": 1773,
"loc": {
"start": {
"line": 69,
"column": 26
},
"end": {
"line": 69,
"column": 27
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1774,
"end": 1775,
"loc": {
"start": {
"line": 69,
"column": 28
},
"end": {
"line": 69,
"column": 29
}
}
},
{
"type": "CommentLine",
"value": " @ts-ignore",
"start": 1785,
"end": 1798,
"loc": {
"start": {
"line": 70,
"column": 8
},
"end": {
"line": 70,
"column": 21
}
}
},
{
"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": 1808,
"end": 1814,
"loc": {
"start": {
"line": 71,
"column": 8
},
"end": {
"line": 71,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaLeverBuilding",
"start": 1815,
"end": 1832,
"loc": {
"start": {
"line": 71,
"column": 15
},
"end": {
"line": 71,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1832,
"end": 1833,
"loc": {
"start": {
"line": 71,
"column": 32
},
"end": {
"line": 71,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "layerByVariant",
"start": 1833,
"end": 1847,
"loc": {
"start": {
"line": 71,
"column": 33
},
"end": {
"line": 71,
"column": 47
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1847,
"end": 1848,
"loc": {
"start": {
"line": 71,
"column": 47
},
"end": {
"line": 71,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 1848,
"end": 1855,
"loc": {
"start": {
"line": 71,
"column": 48
},
"end": {
"line": 71,
"column": 55
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1855,
"end": 1856,
"loc": {
"start": {
"line": 71,
"column": 55
},
"end": {
"line": 71,
"column": 56
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1856,
"end": 1857,
"loc": {
"start": {
"line": 71,
"column": 56
},
"end": {
"line": 71,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 1857,
"end": 1861,
"loc": {
"start": {
"line": 71,
"column": 57
},
"end": {
"line": 71,
"column": 61
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1861,
"end": 1862,
"loc": {
"start": {
"line": 71,
"column": 61
},
"end": {
"line": 71,
"column": 62
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1862,
"end": 1863,
"loc": {
"start": {
"line": 71,
"column": 62
},
"end": {
"line": 71,
"column": 63
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1869,
"end": 1870,
"loc": {
"start": {
"line": 72,
"column": 4
},
"end": {
"line": 72,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 1878,
"end": 1922,
"loc": {
"start": {
"line": 74,
"column": 4
},
"end": {
"line": 76,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getShowLayerPreview",
"start": 1928,
"end": 1947,
"loc": {
"start": {
"line": 77,
"column": 4
},
"end": {
"line": 77,
"column": 23
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1947,
"end": 1948,
"loc": {
"start": {
"line": 77,
"column": 23
},
"end": {
"line": 77,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 1948,
"end": 1955,
"loc": {
"start": {
"line": 77,
"column": 24
},
"end": {
"line": 77,
"column": 31
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1955,
"end": 1956,
"loc": {
"start": {
"line": 77,
"column": 31
},
"end": {
"line": 77,
"column": 32
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1957,
"end": 1958,
"loc": {
"start": {
"line": 77,
"column": 33
},
"end": {
"line": 77,
"column": 34
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 1968,
"end": 1974,
"loc": {
"start": {
"line": 78,
"column": 8
},
"end": {
"line": 78,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaLeverBuilding",
"start": 1975,
"end": 1992,
"loc": {
"start": {
"line": 78,
"column": 15
},
"end": {
"line": 78,
"column": 32
}
}
},
{
"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": 78,
"column": 32
},
"end": {
"line": 78,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "layerPreview",
"start": 1993,
"end": 2005,
"loc": {
"start": {
"line": 78,
"column": 33
},
"end": {
"line": 78,
"column": 45
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2005,
"end": 2006,
"loc": {
"start": {
"line": 78,
"column": 45
},
"end": {
"line": 78,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 2006,
"end": 2013,
"loc": {
"start": {
"line": 78,
"column": 46
},
"end": {
"line": 78,
"column": 53
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2013,
"end": 2014,
"loc": {
"start": {
"line": 78,
"column": 53
},
"end": {
"line": 78,
"column": 54
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2014,
"end": 2015,
"loc": {
"start": {
"line": 78,
"column": 54
},
"end": {
"line": 78,
"column": 55
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2015,
"end": 2016,
"loc": {
"start": {
"line": 78,
"column": 55
},
"end": {
"line": 78,
"column": 56
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2016,
"end": 2017,
"loc": {
"start": {
"line": 78,
"column": 56
},
"end": {
"line": 78,
"column": 57
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2023,
"end": 2024,
"loc": {
"start": {
"line": 79,
"column": 4
},
"end": {
"line": 79,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {number} rotation\r\n * @param {number} rotationVariant\r\n * @param {string} variant\r\n * @param {Entity} entity\r\n * @returns {Array<number>|null}\r\n ",
"start": 2032,
"end": 2218,
"loc": {
"start": {
"line": 81,
"column": 4
},
"end": {
"line": 87,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getSpecialOverlayRenderMatrix",
"start": 2224,
"end": 2253,
"loc": {
"start": {
"line": 88,
"column": 4
},
"end": {
"line": 88,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2253,
"end": 2254,
"loc": {
"start": {
"line": 88,
"column": 33
},
"end": {
"line": 88,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotation",
"start": 2254,
"end": 2262,
"loc": {
"start": {
"line": 88,
"column": 34
},
"end": {
"line": 88,
"column": 42
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2262,
"end": 2263,
"loc": {
"start": {
"line": 88,
"column": 42
},
"end": {
"line": 88,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotationVariant",
"start": 2264,
"end": 2279,
"loc": {
"start": {
"line": 88,
"column": 44
},
"end": {
"line": 88,
"column": 59
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2279,
"end": 2280,
"loc": {
"start": {
"line": 88,
"column": 59
},
"end": {
"line": 88,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 2281,
"end": 2288,
"loc": {
"start": {
"line": 88,
"column": 61
},
"end": {
"line": 88,
"column": 68
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2288,
"end": 2289,
"loc": {
"start": {
"line": 88,
"column": 68
},
"end": {
"line": 88,
"column": 69
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2290,
"end": 2296,
"loc": {
"start": {
"line": 88,
"column": 70
},
"end": {
"line": 88,
"column": 76
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2296,
"end": 2297,
"loc": {
"start": {
"line": 88,
"column": 76
},
"end": {
"line": 88,
"column": 77
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2298,
"end": 2299,
"loc": {
"start": {
"line": 88,
"column": 78
},
"end": {
"line": 88,
"column": 79
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 2309,
"end": 2312,
"loc": {
"start": {
"line": 89,
"column": 8
},
"end": {
"line": 89,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "matrices",
"start": 2313,
"end": 2321,
"loc": {
"start": {
"line": 89,
"column": 12
},
"end": {
"line": 89,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2322,
"end": 2323,
"loc": {
"start": {
"line": 89,
"column": 21
},
"end": {
"line": 89,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaLeverBuilding",
"start": 2324,
"end": 2341,
"loc": {
"start": {
"line": 89,
"column": 23
},
"end": {
"line": 89,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2341,
"end": 2342,
"loc": {
"start": {
"line": 89,
"column": 40
},
"end": {
"line": 89,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "overlayMatrices",
"start": 2342,
"end": 2357,
"loc": {
"start": {
"line": 89,
"column": 41
},
"end": {
"line": 89,
"column": 56
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2357,
"end": 2358,
"loc": {
"start": {
"line": 89,
"column": 56
},
"end": {
"line": 89,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 2358,
"end": 2365,
"loc": {
"start": {
"line": 89,
"column": 57
},
"end": {
"line": 89,
"column": 64
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2365,
"end": 2366,
"loc": {
"start": {
"line": 89,
"column": 64
},
"end": {
"line": 89,
"column": 65
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2366,
"end": 2367,
"loc": {
"start": {
"line": 89,
"column": 65
},
"end": {
"line": 89,
"column": 66
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2367,
"end": 2373,
"loc": {
"start": {
"line": 89,
"column": 66
},
"end": {
"line": 89,
"column": 72
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2373,
"end": 2374,
"loc": {
"start": {
"line": 89,
"column": 72
},
"end": {
"line": 89,
"column": 73
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotationVariant",
"start": 2375,
"end": 2390,
"loc": {
"start": {
"line": 89,
"column": 74
},
"end": {
"line": 89,
"column": 89
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2390,
"end": 2391,
"loc": {
"start": {
"line": 89,
"column": 89
},
"end": {
"line": 89,
"column": 90
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2391,
"end": 2392,
"loc": {
"start": {
"line": 89,
"column": 90
},
"end": {
"line": 89,
"column": 91
}
}
},
{
"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": 2402,
"end": 2408,
"loc": {
"start": {
"line": 90,
"column": 8
},
"end": {
"line": 90,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "matrices",
"start": 2409,
"end": 2417,
"loc": {
"start": {
"line": 90,
"column": 15
},
"end": {
"line": 90,
"column": 23
}
}
},
{
"type": {
"label": "?",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2418,
"end": 2419,
"loc": {
"start": {
"line": 90,
"column": 24
},
"end": {
"line": 90,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "matrices",
"start": 2420,
"end": 2428,
"loc": {
"start": {
"line": 90,
"column": 26
},
"end": {
"line": 90,
"column": 34
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2428,
"end": 2429,
"loc": {
"start": {
"line": 90,
"column": 34
},
"end": {
"line": 90,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotation",
"start": 2429,
"end": 2437,
"loc": {
"start": {
"line": 90,
"column": 35
},
"end": {
"line": 90,
"column": 43
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2437,
"end": 2438,
"loc": {
"start": {
"line": 90,
"column": 43
},
"end": {
"line": 90,
"column": 44
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2439,
"end": 2440,
"loc": {
"start": {
"line": 90,
"column": 45
},
"end": {
"line": 90,
"column": 46
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 2441,
"end": 2445,
"loc": {
"start": {
"line": 90,
"column": 47
},
"end": {
"line": 90,
"column": 51
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2445,
"end": 2446,
"loc": {
"start": {
"line": 90,
"column": 51
},
"end": {
"line": 90,
"column": 52
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2452,
"end": 2453,
"loc": {
"start": {
"line": 91,
"column": 4
},
"end": {
"line": 91,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getSprite",
"start": 2461,
"end": 2470,
"loc": {
"start": {
"line": 93,
"column": 4
},
"end": {
"line": 93,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2470,
"end": 2471,
"loc": {
"start": {
"line": 93,
"column": 13
},
"end": {
"line": 93,
"column": 14
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2471,
"end": 2472,
"loc": {
"start": {
"line": 93,
"column": 14
},
"end": {
"line": 93,
"column": 15
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2473,
"end": 2474,
"loc": {
"start": {
"line": 93,
"column": 16
},
"end": {
"line": 93,
"column": 17
}
}
},
{
"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": 2484,
"end": 2490,
"loc": {
"start": {
"line": 94,
"column": 8
},
"end": {
"line": 94,
"column": 14
}
}
},
{
"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": 2491,
"end": 2495,
"loc": {
"start": {
"line": 94,
"column": 15
},
"end": {
"line": 94,
"column": 19
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2495,
"end": 2496,
"loc": {
"start": {
"line": 94,
"column": 19
},
"end": {
"line": 94,
"column": 20
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2502,
"end": 2503,
"loc": {
"start": {
"line": 95,
"column": 4
},
"end": {
"line": 95,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 2511,
"end": 2555,
"loc": {
"start": {
"line": 97,
"column": 4
},
"end": {
"line": 99,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getRenderPins",
"start": 2561,
"end": 2574,
"loc": {
"start": {
"line": 100,
"column": 4
},
"end": {
"line": 100,
"column": 17
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2574,
"end": 2575,
"loc": {
"start": {
"line": 100,
"column": 17
},
"end": {
"line": 100,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 2575,
"end": 2582,
"loc": {
"start": {
"line": 100,
"column": 18
},
"end": {
"line": 100,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2582,
"end": 2583,
"loc": {
"start": {
"line": 100,
"column": 25
},
"end": {
"line": 100,
"column": 26
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2584,
"end": 2585,
"loc": {
"start": {
"line": 100,
"column": 27
},
"end": {
"line": 100,
"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": 2595,
"end": 2601,
"loc": {
"start": {
"line": 101,
"column": 8
},
"end": {
"line": 101,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaLeverBuilding",
"start": 2602,
"end": 2619,
"loc": {
"start": {
"line": 101,
"column": 15
},
"end": {
"line": 101,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2619,
"end": 2620,
"loc": {
"start": {
"line": 101,
"column": 32
},
"end": {
"line": 101,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "renderPins",
"start": 2620,
"end": 2630,
"loc": {
"start": {
"line": 101,
"column": 33
},
"end": {
"line": 101,
"column": 43
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2630,
"end": 2631,
"loc": {
"start": {
"line": 101,
"column": 43
},
"end": {
"line": 101,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 2631,
"end": 2638,
"loc": {
"start": {
"line": 101,
"column": 44
},
"end": {
"line": 101,
"column": 51
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2638,
"end": 2639,
"loc": {
"start": {
"line": 101,
"column": 51
},
"end": {
"line": 101,
"column": 52
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2639,
"end": 2640,
"loc": {
"start": {
"line": 101,
"column": 52
},
"end": {
"line": 101,
"column": 53
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2640,
"end": 2641,
"loc": {
"start": {
"line": 101,
"column": 53
},
"end": {
"line": 101,
"column": 54
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2641,
"end": 2642,
"loc": {
"start": {
"line": 101,
"column": 54
},
"end": {
"line": 101,
"column": 55
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2648,
"end": 2649,
"loc": {
"start": {
"line": 102,
"column": 4
},
"end": {
"line": 102,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Creates the entity at the given location\r\n * @param {Entity} entity\r\n ",
"start": 2657,
"end": 2749,
"loc": {
"start": {
"line": 104,
"column": 4
},
"end": {
"line": 107,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setupEntityComponents",
"start": 2755,
"end": 2776,
"loc": {
"start": {
"line": 108,
"column": 4
},
"end": {
"line": 108,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2776,
"end": 2777,
"loc": {
"start": {
"line": 108,
"column": 25
},
"end": {
"line": 108,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2777,
"end": 2783,
"loc": {
"start": {
"line": 108,
"column": 26
},
"end": {
"line": 108,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2783,
"end": 2784,
"loc": {
"start": {
"line": 108,
"column": 32
},
"end": {
"line": 108,
"column": 33
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2785,
"end": 2786,
"loc": {
"start": {
"line": 108,
"column": 34
},
"end": {
"line": 108,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaLeverBuilding",
"start": 2796,
"end": 2813,
"loc": {
"start": {
"line": 109,
"column": 8
},
"end": {
"line": 109,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2813,
"end": 2814,
"loc": {
"start": {
"line": 109,
"column": 25
},
"end": {
"line": 109,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setupEntityComponents",
"start": 2814,
"end": 2835,
"loc": {
"start": {
"line": 109,
"column": 26
},
"end": {
"line": 109,
"column": 47
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2835,
"end": 2836,
"loc": {
"start": {
"line": 109,
"column": 47
},
"end": {
"line": 109,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "forEach",
"start": 2836,
"end": 2843,
"loc": {
"start": {
"line": 109,
"column": 48
},
"end": {
"line": 109,
"column": 55
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2843,
"end": 2844,
"loc": {
"start": {
"line": 109,
"column": 55
},
"end": {
"line": 109,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "func",
"start": 2844,
"end": 2848,
"loc": {
"start": {
"line": 109,
"column": 56
},
"end": {
"line": 109,
"column": 60
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2849,
"end": 2851,
"loc": {
"start": {
"line": 109,
"column": 61
},
"end": {
"line": 109,
"column": 63
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "func",
"start": 2852,
"end": 2856,
"loc": {
"start": {
"line": 109,
"column": 64
},
"end": {
"line": 109,
"column": 68
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2856,
"end": 2857,
"loc": {
"start": {
"line": 109,
"column": 68
},
"end": {
"line": 109,
"column": 69
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2857,
"end": 2863,
"loc": {
"start": {
"line": 109,
"column": 69
},
"end": {
"line": 109,
"column": 75
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2863,
"end": 2864,
"loc": {
"start": {
"line": 109,
"column": 75
},
"end": {
"line": 109,
"column": 76
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2864,
"end": 2865,
"loc": {
"start": {
"line": 109,
"column": 76
},
"end": {
"line": 109,
"column": 77
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2865,
"end": 2866,
"loc": {
"start": {
"line": 109,
"column": 77
},
"end": {
"line": 109,
"column": 78
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2872,
"end": 2873,
"loc": {
"start": {
"line": 110,
"column": 4
},
"end": {
"line": 110,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {Entity} entity\r\n * @param {number} rotationVariant\r\n * @param {string} variant\r\n ",
"start": 2881,
"end": 2996,
"loc": {
"start": {
"line": 112,
"column": 4
},
"end": {
"line": 116,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "updateVariants",
"start": 3002,
"end": 3016,
"loc": {
"start": {
"line": 117,
"column": 4
},
"end": {
"line": 117,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3016,
"end": 3017,
"loc": {
"start": {
"line": 117,
"column": 18
},
"end": {
"line": 117,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 3017,
"end": 3023,
"loc": {
"start": {
"line": 117,
"column": 19
},
"end": {
"line": 117,
"column": 25
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3023,
"end": 3024,
"loc": {
"start": {
"line": 117,
"column": 25
},
"end": {
"line": 117,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotationVariant",
"start": 3025,
"end": 3040,
"loc": {
"start": {
"line": 117,
"column": 27
},
"end": {
"line": 117,
"column": 42
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3040,
"end": 3041,
"loc": {
"start": {
"line": 117,
"column": 42
},
"end": {
"line": 117,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 3042,
"end": 3049,
"loc": {
"start": {
"line": 117,
"column": 44
},
"end": {
"line": 117,
"column": 51
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3049,
"end": 3050,
"loc": {
"start": {
"line": 117,
"column": 51
},
"end": {
"line": 117,
"column": 52
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3051,
"end": 3052,
"loc": {
"start": {
"line": 117,
"column": 53
},
"end": {
"line": 117,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaLeverBuilding",
"start": 3062,
"end": 3079,
"loc": {
"start": {
"line": 118,
"column": 8
},
"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": 3079,
"end": 3080,
"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": "componentVariations",
"start": 3080,
"end": 3099,
"loc": {
"start": {
"line": 118,
"column": 26
},
"end": {
"line": 118,
"column": 45
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3099,
"end": 3100,
"loc": {
"start": {
"line": 118,
"column": 45
},
"end": {
"line": 118,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 3100,
"end": 3107,
"loc": {
"start": {
"line": 118,
"column": 46
},
"end": {
"line": 118,
"column": 53
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3107,
"end": 3108,
"loc": {
"start": {
"line": 118,
"column": 53
},
"end": {
"line": 118,
"column": 54
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3108,
"end": 3109,
"loc": {
"start": {
"line": 118,
"column": 54
},
"end": {
"line": 118,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 3109,
"end": 3115,
"loc": {
"start": {
"line": 118,
"column": 55
},
"end": {
"line": 118,
"column": 61
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3115,
"end": 3116,
"loc": {
"start": {
"line": 118,
"column": 61
},
"end": {
"line": 118,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotationVariant",
"start": 3117,
"end": 3132,
"loc": {
"start": {
"line": 118,
"column": 63
},
"end": {
"line": 118,
"column": 78
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3132,
"end": 3133,
"loc": {
"start": {
"line": 118,
"column": 78
},
"end": {
"line": 118,
"column": 79
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3133,
"end": 3134,
"loc": {
"start": {
"line": 118,
"column": 79
},
"end": {
"line": 118,
"column": 80
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3140,
"end": 3141,
"loc": {
"start": {
"line": 119,
"column": 4
},
"end": {
"line": 119,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3143,
"end": 3144,
"loc": {
"start": {
"line": 120,
"column": 0
},
"end": {
"line": 120,
"column": 1
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaLeverBuilding",
"start": 3148,
"end": 3165,
"loc": {
"start": {
"line": 122,
"column": 0
},
"end": {
"line": 122,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3165,
"end": 3166,
"loc": {
"start": {
"line": 122,
"column": 17
},
"end": {
"line": 122,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setupEntityComponents",
"start": 3166,
"end": 3187,
"loc": {
"start": {
"line": 122,
"column": 18
},
"end": {
"line": 122,
"column": 39
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3188,
"end": 3189,
"loc": {
"start": {
"line": 122,
"column": 40
},
"end": {
"line": 122,
"column": 41
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3190,
"end": 3191,
"loc": {
"start": {
"line": 122,
"column": 42
},
"end": {
"line": 122,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 3197,
"end": 3203,
"loc": {
"start": {
"line": 123,
"column": 4
},
"end": {
"line": 123,
"column": 10
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3204,
"end": 3206,
"loc": {
"start": {
"line": 123,
"column": 11
},
"end": {
"line": 123,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 3212,
"end": 3218,
"loc": {
"start": {
"line": 124,
"column": 4
},
"end": {
"line": 124,
"column": 10
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3218,
"end": 3219,
"loc": {
"start": {
"line": 124,
"column": 10
},
"end": {
"line": 124,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "addComponent",
"start": 3219,
"end": 3231,
"loc": {
"start": {
"line": 124,
"column": 11
},
"end": {
"line": 124,
"column": 23
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3231,
"end": 3232,
"loc": {
"start": {
"line": 124,
"column": 23
},
"end": {
"line": 124,
"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": 3242,
"end": 3245,
"loc": {
"start": {
"line": 125,
"column": 8
},
"end": {
"line": 125,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "WiredPinsComponent",
"start": 3246,
"end": 3264,
"loc": {
"start": {
"line": 125,
"column": 12
},
"end": {
"line": 125,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3264,
"end": 3265,
"loc": {
"start": {
"line": 125,
"column": 30
},
"end": {
"line": 125,
"column": 31
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3265,
"end": 3266,
"loc": {
"start": {
"line": 125,
"column": 31
},
"end": {
"line": 125,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slots",
"start": 3280,
"end": 3285,
"loc": {
"start": {
"line": 126,
"column": 12
},
"end": {
"line": 126,
"column": 17
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3285,
"end": 3286,
"loc": {
"start": {
"line": 126,
"column": 17
},
"end": {
"line": 126,
"column": 18
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3287,
"end": 3288,
"loc": {
"start": {
"line": 126,
"column": 19
},
"end": {
"line": 126,
"column": 20
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3288,
"end": 3289,
"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": "pos",
"start": 3307,
"end": 3310,
"loc": {
"start": {
"line": 127,
"column": 16
},
"end": {
"line": 127,
"column": 19
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3310,
"end": 3311,
"loc": {
"start": {
"line": 127,
"column": 19
},
"end": {
"line": 127,
"column": 20
}
}
},
{
"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": 3312,
"end": 3315,
"loc": {
"start": {
"line": 127,
"column": 21
},
"end": {
"line": 127,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Vector",
"start": 3316,
"end": 3322,
"loc": {
"start": {
"line": 127,
"column": 25
},
"end": {
"line": 127,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3322,
"end": 3323,
"loc": {
"start": {
"line": 127,
"column": 31
},
"end": {
"line": 127,
"column": 32
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 3323,
"end": 3324,
"loc": {
"start": {
"line": 127,
"column": 32
},
"end": {
"line": 127,
"column": 33
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3324,
"end": 3325,
"loc": {
"start": {
"line": 127,
"column": 33
},
"end": {
"line": 127,
"column": 34
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 3326,
"end": 3327,
"loc": {
"start": {
"line": 127,
"column": 35
},
"end": {
"line": 127,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3327,
"end": 3328,
"loc": {
"start": {
"line": 127,
"column": 36
},
"end": {
"line": 127,
"column": 37
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3328,
"end": 3329,
"loc": {
"start": {
"line": 127,
"column": 37
},
"end": {
"line": 127,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "direction",
"start": 3347,
"end": 3356,
"loc": {
"start": {
"line": 128,
"column": 16
},
"end": {
"line": 128,
"column": 25
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3356,
"end": 3357,
"loc": {
"start": {
"line": 128,
"column": 25
},
"end": {
"line": 128,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumDirection",
"start": 3358,
"end": 3371,
"loc": {
"start": {
"line": 128,
"column": 27
},
"end": {
"line": 128,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3371,
"end": 3372,
"loc": {
"start": {
"line": 128,
"column": 40
},
"end": {
"line": 128,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "top",
"start": 3372,
"end": 3375,
"loc": {
"start": {
"line": 128,
"column": 41
},
"end": {
"line": 128,
"column": 44
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3375,
"end": 3376,
"loc": {
"start": {
"line": 128,
"column": 44
},
"end": {
"line": 128,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "type",
"start": 3394,
"end": 3398,
"loc": {
"start": {
"line": 129,
"column": 16
},
"end": {
"line": 129,
"column": 20
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3398,
"end": 3399,
"loc": {
"start": {
"line": 129,
"column": 20
},
"end": {
"line": 129,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumPinSlotType",
"start": 3400,
"end": 3415,
"loc": {
"start": {
"line": 129,
"column": 22
},
"end": {
"line": 129,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3415,
"end": 3416,
"loc": {
"start": {
"line": 129,
"column": 37
},
"end": {
"line": 129,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logicalEjector",
"start": 3416,
"end": 3430,
"loc": {
"start": {
"line": 129,
"column": 38
},
"end": {
"line": 129,
"column": 52
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3430,
"end": 3431,
"loc": {
"start": {
"line": 129,
"column": 52
},
"end": {
"line": 129,
"column": 53
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3445,
"end": 3446,
"loc": {
"start": {
"line": 130,
"column": 12
},
"end": {
"line": 130,
"column": 13
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3446,
"end": 3447,
"loc": {
"start": {
"line": 130,
"column": 13
},
"end": {
"line": 130,
"column": 14
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3448,
"end": 3449,
"loc": {
"start": {
"line": 130,
"column": 15
},
"end": {
"line": 130,
"column": 16
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3449,
"end": 3450,
"loc": {
"start": {
"line": 130,
"column": 16
},
"end": {
"line": 130,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3460,
"end": 3461,
"loc": {
"start": {
"line": 131,
"column": 8
},
"end": {
"line": 131,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3461,
"end": 3462,
"loc": {
"start": {
"line": 131,
"column": 9
},
"end": {
"line": 131,
"column": 10
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3468,
"end": 3469,
"loc": {
"start": {
"line": 132,
"column": 4
},
"end": {
"line": 132,
"column": 5
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3469,
"end": 3470,
"loc": {
"start": {
"line": 132,
"column": 5
},
"end": {
"line": 132,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 3476,
"end": 3482,
"loc": {
"start": {
"line": 133,
"column": 4
},
"end": {
"line": 133,
"column": 10
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3483,
"end": 3485,
"loc": {
"start": {
"line": 133,
"column": 11
},
"end": {
"line": 133,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 3486,
"end": 3492,
"loc": {
"start": {
"line": 133,
"column": 14
},
"end": {
"line": 133,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3492,
"end": 3493,
"loc": {
"start": {
"line": 133,
"column": 20
},
"end": {
"line": 133,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "addComponent",
"start": 3493,
"end": 3505,
"loc": {
"start": {
"line": 133,
"column": 21
},
"end": {
"line": 133,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3505,
"end": 3506,
"loc": {
"start": {
"line": 133,
"column": 33
},
"end": {
"line": 133,
"column": 34
}
}
},
{
"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": 3506,
"end": 3509,
"loc": {
"start": {
"line": 133,
"column": 34
},
"end": {
"line": 133,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "LeverComponent",
"start": 3510,
"end": 3524,
"loc": {
"start": {
"line": 133,
"column": 38
},
"end": {
"line": 133,
"column": 52
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3524,
"end": 3525,
"loc": {
"start": {
"line": 133,
"column": 52
},
"end": {
"line": 133,
"column": 53
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3525,
"end": 3526,
"loc": {
"start": {
"line": 133,
"column": 53
},
"end": {
"line": 133,
"column": 54
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3526,
"end": 3527,
"loc": {
"start": {
"line": 133,
"column": 54
},
"end": {
"line": 133,
"column": 55
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3527,
"end": 3528,
"loc": {
"start": {
"line": 133,
"column": 55
},
"end": {
"line": 133,
"column": 56
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3528,
"end": 3529,
"loc": {
"start": {
"line": 133,
"column": 56
},
"end": {
"line": 133,
"column": 57
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3529,
"end": 3530,
"loc": {
"start": {
"line": 133,
"column": 57
},
"end": {
"line": 133,
"column": 58
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3532,
"end": 3533,
"loc": {
"start": {
"line": 134,
"column": 0
},
"end": {
"line": 134,
"column": 1
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3533,
"end": 3534,
"loc": {
"start": {
"line": 134,
"column": 1
},
"end": {
"line": 134,
"column": 2
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaLeverBuilding",
"start": 3538,
"end": 3555,
"loc": {
"start": {
"line": 136,
"column": 0
},
"end": {
"line": 136,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3555,
"end": 3556,
"loc": {
"start": {
"line": 136,
"column": 17
},
"end": {
"line": 136,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "overlayMatrices",
"start": 3556,
"end": 3571,
"loc": {
"start": {
"line": 136,
"column": 18
},
"end": {
"line": 136,
"column": 33
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3572,
"end": 3573,
"loc": {
"start": {
"line": 136,
"column": 34
},
"end": {
"line": 136,
"column": 35
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3574,
"end": 3575,
"loc": {
"start": {
"line": 136,
"column": 36
},
"end": {
"line": 136,
"column": 37
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3581,
"end": 3582,
"loc": {
"start": {
"line": 137,
"column": 4
},
"end": {
"line": 137,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "defaultBuildingVariant",
"start": 3582,
"end": 3604,
"loc": {
"start": {
"line": 137,
"column": 5
},
"end": {
"line": 137,
"column": 27
}
}
},
{
"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": 137,
"column": 27
},
"end": {
"line": 137,
"column": 28
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3605,
"end": 3606,
"loc": {
"start": {
"line": 137,
"column": 28
},
"end": {
"line": 137,
"column": 29
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3607,
"end": 3608,
"loc": {
"start": {
"line": 137,
"column": 30
},
"end": {
"line": 137,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 3608,
"end": 3614,
"loc": {
"start": {
"line": 137,
"column": 31
},
"end": {
"line": 137,
"column": 37
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3614,
"end": 3615,
"loc": {
"start": {
"line": 137,
"column": 37
},
"end": {
"line": 137,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotationVariant",
"start": 3616,
"end": 3631,
"loc": {
"start": {
"line": 137,
"column": 39
},
"end": {
"line": 137,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3631,
"end": 3632,
"loc": {
"start": {
"line": 137,
"column": 54
},
"end": {
"line": 137,
"column": 55
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3633,
"end": 3635,
"loc": {
"start": {
"line": 137,
"column": 56
},
"end": {
"line": 137,
"column": 58
}
}
},
{
"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": 3636,
"end": 3640,
"loc": {
"start": {
"line": 137,
"column": 59
},
"end": {
"line": 137,
"column": 63
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3640,
"end": 3641,
"loc": {
"start": {
"line": 137,
"column": 63
},
"end": {
"line": 137,
"column": 64
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3643,
"end": 3644,
"loc": {
"start": {
"line": 138,
"column": 0
},
"end": {
"line": 138,
"column": 1
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3644,
"end": 3645,
"loc": {
"start": {
"line": 138,
"column": 1
},
"end": {
"line": 138,
"column": 2
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaLeverBuilding",
"start": 3649,
"end": 3666,
"loc": {
"start": {
"line": 140,
"column": 0
},
"end": {
"line": 140,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3666,
"end": 3667,
"loc": {
"start": {
"line": 140,
"column": 17
},
"end": {
"line": 140,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dimensions",
"start": 3667,
"end": 3677,
"loc": {
"start": {
"line": 140,
"column": 18
},
"end": {
"line": 140,
"column": 28
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3678,
"end": 3679,
"loc": {
"start": {
"line": 140,
"column": 29
},
"end": {
"line": 140,
"column": 30
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3680,
"end": 3681,
"loc": {
"start": {
"line": 140,
"column": 31
},
"end": {
"line": 140,
"column": 32
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3687,
"end": 3688,
"loc": {
"start": {
"line": 141,
"column": 4
},
"end": {
"line": 141,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "defaultBuildingVariant",
"start": 3688,
"end": 3710,
"loc": {
"start": {
"line": 141,
"column": 5
},
"end": {
"line": 141,
"column": 27
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3710,
"end": 3711,
"loc": {
"start": {
"line": 141,
"column": 27
},
"end": {
"line": 141,
"column": 28
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3711,
"end": 3712,
"loc": {
"start": {
"line": 141,
"column": 28
},
"end": {
"line": 141,
"column": 29
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3713,
"end": 3714,
"loc": {
"start": {
"line": 141,
"column": 30
},
"end": {
"line": 141,
"column": 31
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3714,
"end": 3715,
"loc": {
"start": {
"line": 141,
"column": 31
},
"end": {
"line": 141,
"column": 32
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3716,
"end": 3718,
"loc": {
"start": {
"line": 141,
"column": 33
},
"end": {
"line": 141,
"column": 35
}
}
},
{
"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": 3719,
"end": 3722,
"loc": {
"start": {
"line": 141,
"column": 36
},
"end": {
"line": 141,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Vector",
"start": 3723,
"end": 3729,
"loc": {
"start": {
"line": 141,
"column": 40
},
"end": {
"line": 141,
"column": 46
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3729,
"end": 3730,
"loc": {
"start": {
"line": 141,
"column": 46
},
"end": {
"line": 141,
"column": 47
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 3730,
"end": 3731,
"loc": {
"start": {
"line": 141,
"column": 47
},
"end": {
"line": 141,
"column": 48
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3731,
"end": 3732,
"loc": {
"start": {
"line": 141,
"column": 48
},
"end": {
"line": 141,
"column": 49
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 3733,
"end": 3734,
"loc": {
"start": {
"line": 141,
"column": 50
},
"end": {
"line": 141,
"column": 51
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3734,
"end": 3735,
"loc": {
"start": {
"line": 141,
"column": 51
},
"end": {
"line": 141,
"column": 52
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3735,
"end": 3736,
"loc": {
"start": {
"line": 141,
"column": 52
},
"end": {
"line": 141,
"column": 53
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3738,
"end": 3739,
"loc": {
"start": {
"line": 142,
"column": 0
},
"end": {
"line": 142,
"column": 1
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3739,
"end": 3740,
"loc": {
"start": {
"line": 142,
"column": 1
},
"end": {
"line": 142,
"column": 2
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaLeverBuilding",
"start": 3744,
"end": 3761,
"loc": {
"start": {
"line": 144,
"column": 0
},
"end": {
"line": 144,
"column": 17
}
}
},
{
"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": 144,
"column": 17
},
"end": {
"line": 144,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "silhouetteColors",
"start": 3762,
"end": 3778,
"loc": {
"start": {
"line": 144,
"column": 18
},
"end": {
"line": 144,
"column": 34
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3779,
"end": 3780,
"loc": {
"start": {
"line": 144,
"column": 35
},
"end": {
"line": 144,
"column": 36
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3781,
"end": 3782,
"loc": {
"start": {
"line": 144,
"column": 37
},
"end": {
"line": 144,
"column": 38
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3788,
"end": 3789,
"loc": {
"start": {
"line": 145,
"column": 4
},
"end": {
"line": 145,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "defaultBuildingVariant",
"start": 3789,
"end": 3811,
"loc": {
"start": {
"line": 145,
"column": 5
},
"end": {
"line": 145,
"column": 27
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3811,
"end": 3812,
"loc": {
"start": {
"line": 145,
"column": 27
},
"end": {
"line": 145,
"column": 28
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3812,
"end": 3813,
"loc": {
"start": {
"line": 145,
"column": 28
},
"end": {
"line": 145,
"column": 29
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3814,
"end": 3815,
"loc": {
"start": {
"line": 145,
"column": 30
},
"end": {
"line": 145,
"column": 31
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3815,
"end": 3816,
"loc": {
"start": {
"line": 145,
"column": 31
},
"end": {
"line": 145,
"column": 32
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3817,
"end": 3819,
"loc": {
"start": {
"line": 145,
"column": 33
},
"end": {
"line": 145,
"column": 35
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "#1a678b",
"start": 3820,
"end": 3829,
"loc": {
"start": {
"line": 145,
"column": 36
},
"end": {
"line": 145,
"column": 45
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3829,
"end": 3830,
"loc": {
"start": {
"line": 145,
"column": 45
},
"end": {
"line": 145,
"column": 46
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3832,
"end": 3833,
"loc": {
"start": {
"line": 146,
"column": 0
},
"end": {
"line": 146,
"column": 1
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3833,
"end": 3834,
"loc": {
"start": {
"line": 146,
"column": 1
},
"end": {
"line": 146,
"column": 2
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaLeverBuilding",
"start": 3838,
"end": 3855,
"loc": {
"start": {
"line": 148,
"column": 0
},
"end": {
"line": 148,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3855,
"end": 3856,
"loc": {
"start": {
"line": 148,
"column": 17
},
"end": {
"line": 148,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isRemovable",
"start": 3856,
"end": 3867,
"loc": {
"start": {
"line": 148,
"column": 18
},
"end": {
"line": 148,
"column": 29
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3868,
"end": 3869,
"loc": {
"start": {
"line": 148,
"column": 30
},
"end": {
"line": 148,
"column": 31
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3870,
"end": 3871,
"loc": {
"start": {
"line": 148,
"column": 32
},
"end": {
"line": 148,
"column": 33
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3877,
"end": 3878,
"loc": {
"start": {
"line": 149,
"column": 4
},
"end": {
"line": 149,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "defaultBuildingVariant",
"start": 3878,
"end": 3900,
"loc": {
"start": {
"line": 149,
"column": 5
},
"end": {
"line": 149,
"column": 27
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3900,
"end": 3901,
"loc": {
"start": {
"line": 149,
"column": 27
},
"end": {
"line": 149,
"column": 28
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3901,
"end": 3902,
"loc": {
"start": {
"line": 149,
"column": 28
},
"end": {
"line": 149,
"column": 29
}
}
},
{
"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": 149,
"column": 30
},
"end": {
"line": 149,
"column": 31
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3904,
"end": 3905,
"loc": {
"start": {
"line": 149,
"column": 31
},
"end": {
"line": 149,
"column": 32
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3906,
"end": 3908,
"loc": {
"start": {
"line": 149,
"column": 33
},
"end": {
"line": 149,
"column": 35
}
}
},
{
"type": {
"label": "true",
"keyword": "true",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "true",
"start": 3909,
"end": 3913,
"loc": {
"start": {
"line": 149,
"column": 36
},
"end": {
"line": 149,
"column": 40
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3913,
"end": 3914,
"loc": {
"start": {
"line": 149,
"column": 40
},
"end": {
"line": 149,
"column": 41
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3916,
"end": 3917,
"loc": {
"start": {
"line": 150,
"column": 0
},
"end": {
"line": 150,
"column": 1
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3917,
"end": 3918,
"loc": {
"start": {
"line": 150,
"column": 1
},
"end": {
"line": 150,
"column": 2
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaLeverBuilding",
"start": 3922,
"end": 3939,
"loc": {
"start": {
"line": 152,
"column": 0
},
"end": {
"line": 152,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3939,
"end": 3940,
"loc": {
"start": {
"line": 152,
"column": 17
},
"end": {
"line": 152,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isRotateable",
"start": 3940,
"end": 3952,
"loc": {
"start": {
"line": 152,
"column": 18
},
"end": {
"line": 152,
"column": 30
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3953,
"end": 3954,
"loc": {
"start": {
"line": 152,
"column": 31
},
"end": {
"line": 152,
"column": 32
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3955,
"end": 3956,
"loc": {
"start": {
"line": 152,
"column": 33
},
"end": {
"line": 152,
"column": 34
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3962,
"end": 3963,
"loc": {
"start": {
"line": 153,
"column": 4
},
"end": {
"line": 153,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "defaultBuildingVariant",
"start": 3963,
"end": 3985,
"loc": {
"start": {
"line": 153,
"column": 5
},
"end": {
"line": 153,
"column": 27
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3985,
"end": 3986,
"loc": {
"start": {
"line": 153,
"column": 27
},
"end": {
"line": 153,
"column": 28
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3986,
"end": 3987,
"loc": {
"start": {
"line": 153,
"column": 28
},
"end": {
"line": 153,
"column": 29
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3988,
"end": 3989,
"loc": {
"start": {
"line": 153,
"column": 30
},
"end": {
"line": 153,
"column": 31
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3989,
"end": 3990,
"loc": {
"start": {
"line": 153,
"column": 31
},
"end": {
"line": 153,
"column": 32
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3991,
"end": 3993,
"loc": {
"start": {
"line": 153,
"column": 33
},
"end": {
"line": 153,
"column": 35
}
}
},
{
"type": {
"label": "true",
"keyword": "true",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "true",
"start": 3994,
"end": 3998,
"loc": {
"start": {
"line": 153,
"column": 36
},
"end": {
"line": 153,
"column": 40
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3998,
"end": 3999,
"loc": {
"start": {
"line": 153,
"column": 40
},
"end": {
"line": 153,
"column": 41
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4001,
"end": 4002,
"loc": {
"start": {
"line": 154,
"column": 0
},
"end": {
"line": 154,
"column": 1
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4002,
"end": 4003,
"loc": {
"start": {
"line": 154,
"column": 1
},
"end": {
"line": 154,
"column": 2
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaLeverBuilding",
"start": 4007,
"end": 4024,
"loc": {
"start": {
"line": 156,
"column": 0
},
"end": {
"line": 156,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4024,
"end": 4025,
"loc": {
"start": {
"line": 156,
"column": 17
},
"end": {
"line": 156,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "avaibleVariants",
"start": 4025,
"end": 4040,
"loc": {
"start": {
"line": 156,
"column": 18
},
"end": {
"line": 156,
"column": 33
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4041,
"end": 4042,
"loc": {
"start": {
"line": 156,
"column": 34
},
"end": {
"line": 156,
"column": 35
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4043,
"end": 4044,
"loc": {
"start": {
"line": 156,
"column": 36
},
"end": {
"line": 156,
"column": 37
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4050,
"end": 4051,
"loc": {
"start": {
"line": 157,
"column": 4
},
"end": {
"line": 157,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "defaultBuildingVariant",
"start": 4051,
"end": 4073,
"loc": {
"start": {
"line": 157,
"column": 5
},
"end": {
"line": 157,
"column": 27
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4073,
"end": 4074,
"loc": {
"start": {
"line": 157,
"column": 27
},
"end": {
"line": 157,
"column": 28
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4074,
"end": 4075,
"loc": {
"start": {
"line": 157,
"column": 28
},
"end": {
"line": 157,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 4076,
"end": 4080,
"loc": {
"start": {
"line": 157,
"column": 30
},
"end": {
"line": 157,
"column": 34
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4081,
"end": 4083,
"loc": {
"start": {
"line": 157,
"column": 35
},
"end": {
"line": 157,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 4093,
"end": 4097,
"loc": {
"start": {
"line": 158,
"column": 8
},
"end": {
"line": 158,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4097,
"end": 4098,
"loc": {
"start": {
"line": 158,
"column": 12
},
"end": {
"line": 158,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hubGoals",
"start": 4098,
"end": 4106,
"loc": {
"start": {
"line": 158,
"column": 13
},
"end": {
"line": 158,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4106,
"end": 4107,
"loc": {
"start": {
"line": 158,
"column": 21
},
"end": {
"line": 158,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isRewardUnlocked",
"start": 4107,
"end": 4123,
"loc": {
"start": {
"line": 158,
"column": 22
},
"end": {
"line": 158,
"column": 38
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4123,
"end": 4124,
"loc": {
"start": {
"line": 158,
"column": 38
},
"end": {
"line": 158,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumHubGoalRewards",
"start": 4124,
"end": 4142,
"loc": {
"start": {
"line": 158,
"column": 39
},
"end": {
"line": 158,
"column": 57
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4142,
"end": 4143,
"loc": {
"start": {
"line": 158,
"column": 57
},
"end": {
"line": 158,
"column": 58
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "reward_wires_painter_and_levers",
"start": 4143,
"end": 4174,
"loc": {
"start": {
"line": 158,
"column": 58
},
"end": {
"line": 158,
"column": 89
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4174,
"end": 4175,
"loc": {
"start": {
"line": 158,
"column": 89
},
"end": {
"line": 158,
"column": 90
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4175,
"end": 4176,
"loc": {
"start": {
"line": 158,
"column": 90
},
"end": {
"line": 158,
"column": 91
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4178,
"end": 4179,
"loc": {
"start": {
"line": 159,
"column": 0
},
"end": {
"line": 159,
"column": 1
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4179,
"end": 4180,
"loc": {
"start": {
"line": 159,
"column": 1
},
"end": {
"line": 159,
"column": 2
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaLeverBuilding",
"start": 4184,
"end": 4201,
"loc": {
"start": {
"line": 161,
"column": 0
},
"end": {
"line": 161,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4201,
"end": 4202,
"loc": {
"start": {
"line": 161,
"column": 17
},
"end": {
"line": 161,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "layerByVariant",
"start": 4202,
"end": 4216,
"loc": {
"start": {
"line": 161,
"column": 18
},
"end": {
"line": 161,
"column": 32
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4217,
"end": 4218,
"loc": {
"start": {
"line": 161,
"column": 33
},
"end": {
"line": 161,
"column": 34
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4219,
"end": 4220,
"loc": {
"start": {
"line": 161,
"column": 35
},
"end": {
"line": 161,
"column": 36
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4226,
"end": 4227,
"loc": {
"start": {
"line": 162,
"column": 4
},
"end": {
"line": 162,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "defaultBuildingVariant",
"start": 4227,
"end": 4249,
"loc": {
"start": {
"line": 162,
"column": 5
},
"end": {
"line": 162,
"column": 27
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4249,
"end": 4250,
"loc": {
"start": {
"line": 162,
"column": 27
},
"end": {
"line": 162,
"column": 28
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4250,
"end": 4251,
"loc": {
"start": {
"line": 162,
"column": 28
},
"end": {
"line": 162,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 4252,
"end": 4256,
"loc": {
"start": {
"line": 162,
"column": 30
},
"end": {
"line": 162,
"column": 34
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4257,
"end": 4259,
"loc": {
"start": {
"line": 162,
"column": 35
},
"end": {
"line": 162,
"column": 37
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "regular",
"start": 4260,
"end": 4269,
"loc": {
"start": {
"line": 162,
"column": 38
},
"end": {
"line": 162,
"column": 47
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4269,
"end": 4270,
"loc": {
"start": {
"line": 162,
"column": 47
},
"end": {
"line": 162,
"column": 48
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4272,
"end": 4273,
"loc": {
"start": {
"line": 163,
"column": 0
},
"end": {
"line": 163,
"column": 1
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4273,
"end": 4274,
"loc": {
"start": {
"line": 163,
"column": 1
},
"end": {
"line": 163,
"column": 2
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaLeverBuilding",
"start": 4278,
"end": 4295,
"loc": {
"start": {
"line": 165,
"column": 0
},
"end": {
"line": 165,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4295,
"end": 4296,
"loc": {
"start": {
"line": 165,
"column": 17
},
"end": {
"line": 165,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "layerPreview",
"start": 4296,
"end": 4308,
"loc": {
"start": {
"line": 165,
"column": 18
},
"end": {
"line": 165,
"column": 30
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4309,
"end": 4310,
"loc": {
"start": {
"line": 165,
"column": 31
},
"end": {
"line": 165,
"column": 32
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4311,
"end": 4312,
"loc": {
"start": {
"line": 165,
"column": 33
},
"end": {
"line": 165,
"column": 34
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4318,
"end": 4319,
"loc": {
"start": {
"line": 166,
"column": 4
},
"end": {
"line": 166,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "defaultBuildingVariant",
"start": 4319,
"end": 4341,
"loc": {
"start": {
"line": 166,
"column": 5
},
"end": {
"line": 166,
"column": 27
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4341,
"end": 4342,
"loc": {
"start": {
"line": 166,
"column": 27
},
"end": {
"line": 166,
"column": 28
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4342,
"end": 4343,
"loc": {
"start": {
"line": 166,
"column": 28
},
"end": {
"line": 166,
"column": 29
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4344,
"end": 4345,
"loc": {
"start": {
"line": 166,
"column": 30
},
"end": {
"line": 166,
"column": 31
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4345,
"end": 4346,
"loc": {
"start": {
"line": 166,
"column": 31
},
"end": {
"line": 166,
"column": 32
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4347,
"end": 4349,
"loc": {
"start": {
"line": 166,
"column": 33
},
"end": {
"line": 166,
"column": 35
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "wires",
"start": 4350,
"end": 4357,
"loc": {
"start": {
"line": 166,
"column": 36
},
"end": {
"line": 166,
"column": 43
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4357,
"end": 4358,
"loc": {
"start": {
"line": 166,
"column": 43
},
"end": {
"line": 166,
"column": 44
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4360,
"end": 4361,
"loc": {
"start": {
"line": 167,
"column": 0
},
"end": {
"line": 167,
"column": 1
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4361,
"end": 4362,
"loc": {
"start": {
"line": 167,
"column": 1
},
"end": {
"line": 167,
"column": 2
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaLeverBuilding",
"start": 4366,
"end": 4383,
"loc": {
"start": {
"line": 169,
"column": 0
},
"end": {
"line": 169,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4383,
"end": 4384,
"loc": {
"start": {
"line": 169,
"column": 17
},
"end": {
"line": 169,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "renderPins",
"start": 4384,
"end": 4394,
"loc": {
"start": {
"line": 169,
"column": 18
},
"end": {
"line": 169,
"column": 28
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4395,
"end": 4396,
"loc": {
"start": {
"line": 169,
"column": 29
},
"end": {
"line": 169,
"column": 30
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4397,
"end": 4398,
"loc": {
"start": {
"line": 169,
"column": 31
},
"end": {
"line": 169,
"column": 32
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4404,
"end": 4405,
"loc": {
"start": {
"line": 170,
"column": 4
},
"end": {
"line": 170,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "defaultBuildingVariant",
"start": 4405,
"end": 4427,
"loc": {
"start": {
"line": 170,
"column": 5
},
"end": {
"line": 170,
"column": 27
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4427,
"end": 4428,
"loc": {
"start": {
"line": 170,
"column": 27
},
"end": {
"line": 170,
"column": 28
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4428,
"end": 4429,
"loc": {
"start": {
"line": 170,
"column": 28
},
"end": {
"line": 170,
"column": 29
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4430,
"end": 4431,
"loc": {
"start": {
"line": 170,
"column": 30
},
"end": {
"line": 170,
"column": 31
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4431,
"end": 4432,
"loc": {
"start": {
"line": 170,
"column": 31
},
"end": {
"line": 170,
"column": 32
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4433,
"end": 4435,
"loc": {
"start": {
"line": 170,
"column": 33
},
"end": {
"line": 170,
"column": 35
}
}
},
{
"type": {
"label": "true",
"keyword": "true",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "true",
"start": 4436,
"end": 4440,
"loc": {
"start": {
"line": 170,
"column": 36
},
"end": {
"line": 170,
"column": 40
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4440,
"end": 4441,
"loc": {
"start": {
"line": 170,
"column": 40
},
"end": {
"line": 170,
"column": 41
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4443,
"end": 4444,
"loc": {
"start": {
"line": 171,
"column": 0
},
"end": {
"line": 171,
"column": 1
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4444,
"end": 4445,
"loc": {
"start": {
"line": 171,
"column": 1
},
"end": {
"line": 171,
"column": 2
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaLeverBuilding",
"start": 4449,
"end": 4466,
"loc": {
"start": {
"line": 173,
"column": 0
},
"end": {
"line": 173,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4466,
"end": 4467,
"loc": {
"start": {
"line": 173,
"column": 17
},
"end": {
"line": 173,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "componentVariations",
"start": 4467,
"end": 4486,
"loc": {
"start": {
"line": 173,
"column": 18
},
"end": {
"line": 173,
"column": 37
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4487,
"end": 4488,
"loc": {
"start": {
"line": 173,
"column": 38
},
"end": {
"line": 173,
"column": 39
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4489,
"end": 4490,
"loc": {
"start": {
"line": 173,
"column": 40
},
"end": {
"line": 173,
"column": 41
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4496,
"end": 4497,
"loc": {
"start": {
"line": 174,
"column": 4
},
"end": {
"line": 174,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "defaultBuildingVariant",
"start": 4497,
"end": 4519,
"loc": {
"start": {
"line": 174,
"column": 5
},
"end": {
"line": 174,
"column": 27
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4519,
"end": 4520,
"loc": {
"start": {
"line": 174,
"column": 27
},
"end": {
"line": 174,
"column": 28
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4520,
"end": 4521,
"loc": {
"start": {
"line": 174,
"column": 28
},
"end": {
"line": 174,
"column": 29
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4522,
"end": 4523,
"loc": {
"start": {
"line": 174,
"column": 30
},
"end": {
"line": 174,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 4523,
"end": 4529,
"loc": {
"start": {
"line": 174,
"column": 31
},
"end": {
"line": 174,
"column": 37
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4529,
"end": 4530,
"loc": {
"start": {
"line": 174,
"column": 37
},
"end": {
"line": 174,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotationVariant",
"start": 4531,
"end": 4546,
"loc": {
"start": {
"line": 174,
"column": 39
},
"end": {
"line": 174,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4546,
"end": 4547,
"loc": {
"start": {
"line": 174,
"column": 54
},
"end": {
"line": 174,
"column": 55
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4548,
"end": 4550,
"loc": {
"start": {
"line": 174,
"column": 56
},
"end": {
"line": 174,
"column": 58
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4551,
"end": 4552,
"loc": {
"start": {
"line": 174,
"column": 59
},
"end": {
"line": 174,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 4562,
"end": 4568,
"loc": {
"start": {
"line": 175,
"column": 8
},
"end": {
"line": 175,
"column": 14
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4568,
"end": 4569,
"loc": {
"start": {
"line": 175,
"column": 14
},
"end": {
"line": 175,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 4569,
"end": 4579,
"loc": {
"start": {
"line": 175,
"column": 15
},
"end": {
"line": 175,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4579,
"end": 4580,
"loc": {
"start": {
"line": 175,
"column": 25
},
"end": {
"line": 175,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "WiredPins",
"start": 4580,
"end": 4589,
"loc": {
"start": {
"line": 175,
"column": 26
},
"end": {
"line": 175,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4589,
"end": 4590,
"loc": {
"start": {
"line": 175,
"column": 35
},
"end": {
"line": 175,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setSlots",
"start": 4590,
"end": 4598,
"loc": {
"start": {
"line": 175,
"column": 36
},
"end": {
"line": 175,
"column": 44
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4598,
"end": 4599,
"loc": {
"start": {
"line": 175,
"column": 44
},
"end": {
"line": 175,
"column": 45
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4599,
"end": 4600,
"loc": {
"start": {
"line": 175,
"column": 45
},
"end": {
"line": 175,
"column": 46
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4600,
"end": 4601,
"loc": {
"start": {
"line": 175,
"column": 46
},
"end": {
"line": 175,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pos",
"start": 4615,
"end": 4618,
"loc": {
"start": {
"line": 176,
"column": 12
},
"end": {
"line": 176,
"column": 15
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4618,
"end": 4619,
"loc": {
"start": {
"line": 176,
"column": 15
},
"end": {
"line": 176,
"column": 16
}
}
},
{
"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": 4620,
"end": 4623,
"loc": {
"start": {
"line": 176,
"column": 17
},
"end": {
"line": 176,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Vector",
"start": 4624,
"end": 4630,
"loc": {
"start": {
"line": 176,
"column": 21
},
"end": {
"line": 176,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4630,
"end": 4631,
"loc": {
"start": {
"line": 176,
"column": 27
},
"end": {
"line": 176,
"column": 28
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 4631,
"end": 4632,
"loc": {
"start": {
"line": 176,
"column": 28
},
"end": {
"line": 176,
"column": 29
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4632,
"end": 4633,
"loc": {
"start": {
"line": 176,
"column": 29
},
"end": {
"line": 176,
"column": 30
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 4634,
"end": 4635,
"loc": {
"start": {
"line": 176,
"column": 31
},
"end": {
"line": 176,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4635,
"end": 4636,
"loc": {
"start": {
"line": 176,
"column": 32
},
"end": {
"line": 176,
"column": 33
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4636,
"end": 4637,
"loc": {
"start": {
"line": 176,
"column": 33
},
"end": {
"line": 176,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "direction",
"start": 4651,
"end": 4660,
"loc": {
"start": {
"line": 177,
"column": 12
},
"end": {
"line": 177,
"column": 21
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4660,
"end": 4661,
"loc": {
"start": {
"line": 177,
"column": 21
},
"end": {
"line": 177,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumDirection",
"start": 4662,
"end": 4675,
"loc": {
"start": {
"line": 177,
"column": 23
},
"end": {
"line": 177,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4675,
"end": 4676,
"loc": {
"start": {
"line": 177,
"column": 36
},
"end": {
"line": 177,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "top",
"start": 4676,
"end": 4679,
"loc": {
"start": {
"line": 177,
"column": 37
},
"end": {
"line": 177,
"column": 40
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4679,
"end": 4680,
"loc": {
"start": {
"line": 177,
"column": 40
},
"end": {
"line": 177,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "type",
"start": 4694,
"end": 4698,
"loc": {
"start": {
"line": 178,
"column": 12
},
"end": {
"line": 178,
"column": 16
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4698,
"end": 4699,
"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": "enumPinSlotType",
"start": 4700,
"end": 4715,
"loc": {
"start": {
"line": 178,
"column": 18
},
"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": 4715,
"end": 4716,
"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": "logicalEjector",
"start": 4716,
"end": 4730,
"loc": {
"start": {
"line": 178,
"column": 34
},
"end": {
"line": 178,
"column": 48
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4730,
"end": 4731,
"loc": {
"start": {
"line": 178,
"column": 48
},
"end": {
"line": 178,
"column": 49
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4741,
"end": 4742,
"loc": {
"start": {
"line": 179,
"column": 8
},
"end": {
"line": 179,
"column": 9
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4742,
"end": 4743,
"loc": {
"start": {
"line": 179,
"column": 9
},
"end": {
"line": 179,
"column": 10
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4744,
"end": 4745,
"loc": {
"start": {
"line": 179,
"column": 11
},
"end": {
"line": 179,
"column": 12
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4745,
"end": 4746,
"loc": {
"start": {
"line": 179,
"column": 12
},
"end": {
"line": 179,
"column": 13
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4746,
"end": 4747,
"loc": {
"start": {
"line": 179,
"column": 13
},
"end": {
"line": 179,
"column": 14
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4753,
"end": 4754,
"loc": {
"start": {
"line": 180,
"column": 4
},
"end": {
"line": 180,
"column": 5
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4754,
"end": 4755,
"loc": {
"start": {
"line": 180,
"column": 5
},
"end": {
"line": 180,
"column": 6
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4757,
"end": 4758,
"loc": {
"start": {
"line": 181,
"column": 0
},
"end": {
"line": 181,
"column": 1
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4758,
"end": 4759,
"loc": {
"start": {
"line": 181,
"column": 1
},
"end": {
"line": 181,
"column": 2
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4759,
"end": 4759,
"loc": {
"start": {
"line": 181,
"column": 2
},
"end": {
"line": 181,
"column": 2
}
}
}
]
}