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

22663 lines
543 KiB
JSON

{
"type": "File",
"start": 0,
"end": 4312,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 164,
"column": 2
}
},
"program": {
"type": "Program",
"start": 0,
"end": 4312,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 164,
"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": 346,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 57
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 298,
"end": 314,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 25
}
},
"imported": {
"type": "Identifier",
"start": 298,
"end": 314,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 25
},
"identifierName": "DisplayComponent"
},
"name": "DisplayComponent"
},
"local": {
"type": "Identifier",
"start": 298,
"end": 314,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 25
},
"identifierName": "DisplayComponent"
},
"name": "DisplayComponent"
}
}
],
"source": {
"type": "StringLiteral",
"start": 322,
"end": 345,
"loc": {
"start": {
"line": 6,
"column": 33
},
"end": {
"line": 6,
"column": 56
}
},
"extra": {
"rawValue": "../components/display",
"raw": "\"../components/display\""
},
"value": "../components/display"
}
},
{
"type": "ImportDeclaration",
"start": 348,
"end": 403,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 7,
"column": 55
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 357,
"end": 375,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 27
}
},
"imported": {
"type": "Identifier",
"start": 357,
"end": 375,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 27
},
"identifierName": "enumHubGoalRewards"
},
"name": "enumHubGoalRewards"
},
"local": {
"type": "Identifier",
"start": 357,
"end": 375,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 27
},
"identifierName": "enumHubGoalRewards"
},
"name": "enumHubGoalRewards"
}
}
],
"source": {
"type": "StringLiteral",
"start": 383,
"end": 402,
"loc": {
"start": {
"line": 7,
"column": 35
},
"end": {
"line": 7,
"column": 54
}
},
"extra": {
"rawValue": "../tutorial_goals",
"raw": "\"../tutorial_goals\""
},
"value": "../tutorial_goals"
}
},
{
"type": "ExportNamedDeclaration",
"start": 407,
"end": 2693,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 104,
"column": 1
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "ClassDeclaration",
"start": 414,
"end": 2693,
"loc": {
"start": {
"line": 9,
"column": 7
},
"end": {
"line": 104,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 420,
"end": 439,
"loc": {
"start": {
"line": 9,
"column": 13
},
"end": {
"line": 9,
"column": 32
},
"identifierName": "MetaDisplayBuilding"
},
"name": "MetaDisplayBuilding"
},
"superClass": {
"type": "Identifier",
"start": 448,
"end": 460,
"loc": {
"start": {
"line": 9,
"column": 41
},
"end": {
"line": 9,
"column": 53
},
"identifierName": "MetaBuilding"
},
"name": "MetaBuilding"
},
"body": {
"type": "ClassBody",
"start": 461,
"end": 2693,
"loc": {
"start": {
"line": 9,
"column": 54
},
"end": {
"line": 104,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 468,
"end": 517,
"loc": {
"start": {
"line": 10,
"column": 4
},
"end": {
"line": 12,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 468,
"end": 479,
"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": 482,
"end": 517,
"loc": {
"start": {
"line": 10,
"column": 18
},
"end": {
"line": 12,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 493,
"end": 510,
"loc": {
"start": {
"line": 11,
"column": 8
},
"end": {
"line": 11,
"column": 25
}
},
"expression": {
"type": "CallExpression",
"start": 493,
"end": 509,
"loc": {
"start": {
"line": 11,
"column": 8
},
"end": {
"line": 11,
"column": 24
}
},
"callee": {
"type": "Super",
"start": 493,
"end": 498,
"loc": {
"start": {
"line": 11,
"column": 8
},
"end": {
"line": 11,
"column": 13
}
}
},
"arguments": [
{
"type": "StringLiteral",
"start": 499,
"end": 508,
"loc": {
"start": {
"line": 11,
"column": 14
},
"end": {
"line": 11,
"column": 23
}
},
"extra": {
"rawValue": "display",
"raw": "\"display\""
},
"value": "display"
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 525,
"end": 569,
"loc": {
"start": {
"line": 14,
"column": 4
},
"end": {
"line": 16,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 575,
"end": 676,
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 19,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 575,
"end": 593,
"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": 594,
"end": 601,
"loc": {
"start": {
"line": 17,
"column": 23
},
"end": {
"line": 17,
"column": 30
},
"identifierName": "variant"
},
"name": "variant"
}
],
"body": {
"type": "BlockStatement",
"start": 603,
"end": 676,
"loc": {
"start": {
"line": 17,
"column": 32
},
"end": {
"line": 19,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 614,
"end": 669,
"loc": {
"start": {
"line": 18,
"column": 8
},
"end": {
"line": 18,
"column": 63
}
},
"argument": {
"type": "CallExpression",
"start": 621,
"end": 668,
"loc": {
"start": {
"line": 18,
"column": 15
},
"end": {
"line": 18,
"column": 62
}
},
"callee": {
"type": "MemberExpression",
"start": 621,
"end": 666,
"loc": {
"start": {
"line": 18,
"column": 15
},
"end": {
"line": 18,
"column": 60
}
},
"object": {
"type": "MemberExpression",
"start": 621,
"end": 657,
"loc": {
"start": {
"line": 18,
"column": 15
},
"end": {
"line": 18,
"column": 51
}
},
"object": {
"type": "Identifier",
"start": 621,
"end": 640,
"loc": {
"start": {
"line": 18,
"column": 15
},
"end": {
"line": 18,
"column": 34
},
"identifierName": "MetaDisplayBuilding"
},
"name": "MetaDisplayBuilding"
},
"property": {
"type": "Identifier",
"start": 641,
"end": 657,
"loc": {
"start": {
"line": 18,
"column": 35
},
"end": {
"line": 18,
"column": 51
},
"identifierName": "silhouetteColors"
},
"name": "silhouetteColors"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 658,
"end": 665,
"loc": {
"start": {
"line": 18,
"column": 52
},
"end": {
"line": 18,
"column": 59
},
"identifierName": "variant"
},
"name": "variant"
},
"computed": true
},
"arguments": []
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 525,
"end": 569,
"loc": {
"start": {
"line": 14,
"column": 4
},
"end": {
"line": 16,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {GameRoot} root\r\n ",
"start": 684,
"end": 727,
"loc": {
"start": {
"line": 21,
"column": 4
},
"end": {
"line": 23,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 733,
"end": 821,
"loc": {
"start": {
"line": 24,
"column": 4
},
"end": {
"line": 26,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 733,
"end": 746,
"loc": {
"start": {
"line": 24,
"column": 4
},
"end": {
"line": 24,
"column": 17
},
"identifierName": "getIsUnlocked"
},
"name": "getIsUnlocked",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 747,
"end": 751,
"loc": {
"start": {
"line": 24,
"column": 18
},
"end": {
"line": 24,
"column": 22
},
"identifierName": "root"
},
"name": "root"
}
],
"body": {
"type": "BlockStatement",
"start": 753,
"end": 821,
"loc": {
"start": {
"line": 24,
"column": 24
},
"end": {
"line": 26,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 764,
"end": 814,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"column": 58
}
},
"argument": {
"type": "BinaryExpression",
"start": 771,
"end": 813,
"loc": {
"start": {
"line": 25,
"column": 15
},
"end": {
"line": 25,
"column": 57
}
},
"left": {
"type": "MemberExpression",
"start": 771,
"end": 809,
"loc": {
"start": {
"line": 25,
"column": 15
},
"end": {
"line": 25,
"column": 53
}
},
"object": {
"type": "CallExpression",
"start": 771,
"end": 802,
"loc": {
"start": {
"line": 25,
"column": 15
},
"end": {
"line": 25,
"column": 46
}
},
"callee": {
"type": "MemberExpression",
"start": 771,
"end": 796,
"loc": {
"start": {
"line": 25,
"column": 15
},
"end": {
"line": 25,
"column": 40
}
},
"object": {
"type": "ThisExpression",
"start": 771,
"end": 775,
"loc": {
"start": {
"line": 25,
"column": 15
},
"end": {
"line": 25,
"column": 19
}
}
},
"property": {
"type": "Identifier",
"start": 776,
"end": 796,
"loc": {
"start": {
"line": 25,
"column": 20
},
"end": {
"line": 25,
"column": 40
},
"identifierName": "getAvailableVariants"
},
"name": "getAvailableVariants"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 797,
"end": 801,
"loc": {
"start": {
"line": 25,
"column": 41
},
"end": {
"line": 25,
"column": 45
},
"identifierName": "root"
},
"name": "root"
}
]
},
"property": {
"type": "Identifier",
"start": 803,
"end": 809,
"loc": {
"start": {
"line": 25,
"column": 47
},
"end": {
"line": 25,
"column": 53
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
},
"operator": ">",
"right": {
"type": "NumericLiteral",
"start": 812,
"end": 813,
"loc": {
"start": {
"line": 25,
"column": 56
},
"end": {
"line": 25,
"column": 57
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {GameRoot} root\r\n ",
"start": 684,
"end": 727,
"loc": {
"start": {
"line": 21,
"column": 4
},
"end": {
"line": 23,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {GameRoot} root\r\n ",
"start": 829,
"end": 872,
"loc": {
"start": {
"line": 28,
"column": 4
},
"end": {
"line": 30,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 878,
"end": 1157,
"loc": {
"start": {
"line": 31,
"column": 4
},
"end": {
"line": 40,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 878,
"end": 898,
"loc": {
"start": {
"line": 31,
"column": 4
},
"end": {
"line": 31,
"column": 24
},
"identifierName": "getAvailableVariants"
},
"name": "getAvailableVariants",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 899,
"end": 903,
"loc": {
"start": {
"line": 31,
"column": 25
},
"end": {
"line": 31,
"column": 29
},
"identifierName": "root"
},
"name": "root"
}
],
"body": {
"type": "BlockStatement",
"start": 905,
"end": 1157,
"loc": {
"start": {
"line": 31,
"column": 31
},
"end": {
"line": 40,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 916,
"end": 969,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 61
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 922,
"end": 968,
"loc": {
"start": {
"line": 32,
"column": 14
},
"end": {
"line": 32,
"column": 60
}
},
"id": {
"type": "Identifier",
"start": 922,
"end": 930,
"loc": {
"start": {
"line": 32,
"column": 14
},
"end": {
"line": 32,
"column": 22
},
"identifierName": "variants"
},
"name": "variants"
},
"init": {
"type": "MemberExpression",
"start": 933,
"end": 968,
"loc": {
"start": {
"line": 32,
"column": 25
},
"end": {
"line": 32,
"column": 60
}
},
"object": {
"type": "Identifier",
"start": 933,
"end": 952,
"loc": {
"start": {
"line": 32,
"column": 25
},
"end": {
"line": 32,
"column": 44
},
"identifierName": "MetaDisplayBuilding"
},
"name": "MetaDisplayBuilding"
},
"property": {
"type": "Identifier",
"start": 953,
"end": 968,
"loc": {
"start": {
"line": 32,
"column": 45
},
"end": {
"line": 32,
"column": 60
},
"identifierName": "avaibleVariants"
},
"name": "avaibleVariants"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 981,
"end": 1000,
"loc": {
"start": {
"line": 34,
"column": 8
},
"end": {
"line": 34,
"column": 27
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 985,
"end": 999,
"loc": {
"start": {
"line": 34,
"column": 12
},
"end": {
"line": 34,
"column": 26
}
},
"id": {
"type": "Identifier",
"start": 985,
"end": 994,
"loc": {
"start": {
"line": 34,
"column": 12
},
"end": {
"line": 34,
"column": 21
},
"identifierName": "available"
},
"name": "available"
},
"init": {
"type": "ArrayExpression",
"start": 997,
"end": 999,
"loc": {
"start": {
"line": 34,
"column": 24
},
"end": {
"line": 34,
"column": 26
}
},
"elements": []
}
}
],
"kind": "let"
},
{
"type": "ForInStatement",
"start": 1010,
"end": 1121,
"loc": {
"start": {
"line": 35,
"column": 8
},
"end": {
"line": 37,
"column": 9
}
},
"left": {
"type": "VariableDeclaration",
"start": 1015,
"end": 1028,
"loc": {
"start": {
"line": 35,
"column": 13
},
"end": {
"line": 35,
"column": 26
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1021,
"end": 1028,
"loc": {
"start": {
"line": 35,
"column": 19
},
"end": {
"line": 35,
"column": 26
}
},
"id": {
"type": "Identifier",
"start": 1021,
"end": 1028,
"loc": {
"start": {
"line": 35,
"column": 19
},
"end": {
"line": 35,
"column": 26
},
"identifierName": "variant"
},
"name": "variant"
},
"init": null
}
],
"kind": "const"
},
"right": {
"type": "Identifier",
"start": 1032,
"end": 1040,
"loc": {
"start": {
"line": 35,
"column": 30
},
"end": {
"line": 35,
"column": 38
},
"identifierName": "variants"
},
"name": "variants"
},
"body": {
"type": "BlockStatement",
"start": 1042,
"end": 1121,
"loc": {
"start": {
"line": 35,
"column": 40
},
"end": {
"line": 37,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 1057,
"end": 1110,
"loc": {
"start": {
"line": 36,
"column": 12
},
"end": {
"line": 36,
"column": 65
}
},
"test": {
"type": "CallExpression",
"start": 1061,
"end": 1084,
"loc": {
"start": {
"line": 36,
"column": 16
},
"end": {
"line": 36,
"column": 39
}
},
"callee": {
"type": "MemberExpression",
"start": 1061,
"end": 1078,
"loc": {
"start": {
"line": 36,
"column": 16
},
"end": {
"line": 36,
"column": 33
}
},
"object": {
"type": "Identifier",
"start": 1061,
"end": 1069,
"loc": {
"start": {
"line": 36,
"column": 16
},
"end": {
"line": 36,
"column": 24
},
"identifierName": "variants"
},
"name": "variants"
},
"property": {
"type": "Identifier",
"start": 1070,
"end": 1077,
"loc": {
"start": {
"line": 36,
"column": 25
},
"end": {
"line": 36,
"column": 32
},
"identifierName": "variant"
},
"name": "variant"
},
"computed": true
},
"arguments": [
{
"type": "Identifier",
"start": 1079,
"end": 1083,
"loc": {
"start": {
"line": 36,
"column": 34
},
"end": {
"line": 36,
"column": 38
},
"identifierName": "root"
},
"name": "root"
}
]
},
"consequent": {
"type": "ExpressionStatement",
"start": 1086,
"end": 1110,
"loc": {
"start": {
"line": 36,
"column": 41
},
"end": {
"line": 36,
"column": 65
}
},
"expression": {
"type": "CallExpression",
"start": 1086,
"end": 1109,
"loc": {
"start": {
"line": 36,
"column": 41
},
"end": {
"line": 36,
"column": 64
}
},
"callee": {
"type": "MemberExpression",
"start": 1086,
"end": 1100,
"loc": {
"start": {
"line": 36,
"column": 41
},
"end": {
"line": 36,
"column": 55
}
},
"object": {
"type": "Identifier",
"start": 1086,
"end": 1095,
"loc": {
"start": {
"line": 36,
"column": 41
},
"end": {
"line": 36,
"column": 50
},
"identifierName": "available"
},
"name": "available"
},
"property": {
"type": "Identifier",
"start": 1096,
"end": 1100,
"loc": {
"start": {
"line": 36,
"column": 51
},
"end": {
"line": 36,
"column": 55
},
"identifierName": "push"
},
"name": "push"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1101,
"end": 1108,
"loc": {
"start": {
"line": 36,
"column": 56
},
"end": {
"line": 36,
"column": 63
},
"identifierName": "variant"
},
"name": "variant"
}
]
}
},
"alternate": null
}
],
"directives": []
}
},
{
"type": "ReturnStatement",
"start": 1133,
"end": 1150,
"loc": {
"start": {
"line": 39,
"column": 8
},
"end": {
"line": 39,
"column": 25
}
},
"argument": {
"type": "Identifier",
"start": 1140,
"end": 1149,
"loc": {
"start": {
"line": 39,
"column": 15
},
"end": {
"line": 39,
"column": 24
},
"identifierName": "available"
},
"name": "available"
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {GameRoot} root\r\n ",
"start": 829,
"end": 872,
"loc": {
"start": {
"line": 28,
"column": 4
},
"end": {
"line": 30,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 1165,
"end": 1209,
"loc": {
"start": {
"line": 42,
"column": 4
},
"end": {
"line": 44,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 1215,
"end": 1307,
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 47,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1215,
"end": 1229,
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 45,
"column": 18
},
"identifierName": "getIsRemovable"
},
"name": "getIsRemovable",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1230,
"end": 1237,
"loc": {
"start": {
"line": 45,
"column": 19
},
"end": {
"line": 45,
"column": 26
},
"identifierName": "variant"
},
"name": "variant"
}
],
"body": {
"type": "BlockStatement",
"start": 1239,
"end": 1307,
"loc": {
"start": {
"line": 45,
"column": 28
},
"end": {
"line": 47,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1250,
"end": 1300,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 58
}
},
"argument": {
"type": "CallExpression",
"start": 1257,
"end": 1299,
"loc": {
"start": {
"line": 46,
"column": 15
},
"end": {
"line": 46,
"column": 57
}
},
"callee": {
"type": "MemberExpression",
"start": 1257,
"end": 1297,
"loc": {
"start": {
"line": 46,
"column": 15
},
"end": {
"line": 46,
"column": 55
}
},
"object": {
"type": "MemberExpression",
"start": 1257,
"end": 1288,
"loc": {
"start": {
"line": 46,
"column": 15
},
"end": {
"line": 46,
"column": 46
}
},
"object": {
"type": "Identifier",
"start": 1257,
"end": 1276,
"loc": {
"start": {
"line": 46,
"column": 15
},
"end": {
"line": 46,
"column": 34
},
"identifierName": "MetaDisplayBuilding"
},
"name": "MetaDisplayBuilding"
},
"property": {
"type": "Identifier",
"start": 1277,
"end": 1288,
"loc": {
"start": {
"line": 46,
"column": 35
},
"end": {
"line": 46,
"column": 46
},
"identifierName": "isRemovable"
},
"name": "isRemovable"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1289,
"end": 1296,
"loc": {
"start": {
"line": 46,
"column": 47
},
"end": {
"line": 46,
"column": 54
},
"identifierName": "variant"
},
"name": "variant"
},
"computed": true
},
"arguments": []
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 1165,
"end": 1209,
"loc": {
"start": {
"line": 42,
"column": 4
},
"end": {
"line": 44,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 1315,
"end": 1359,
"loc": {
"start": {
"line": 49,
"column": 4
},
"end": {
"line": 51,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 1365,
"end": 1459,
"loc": {
"start": {
"line": 52,
"column": 4
},
"end": {
"line": 54,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1365,
"end": 1380,
"loc": {
"start": {
"line": 52,
"column": 4
},
"end": {
"line": 52,
"column": 19
},
"identifierName": "getIsRotateable"
},
"name": "getIsRotateable",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1381,
"end": 1388,
"loc": {
"start": {
"line": 52,
"column": 20
},
"end": {
"line": 52,
"column": 27
},
"identifierName": "variant"
},
"name": "variant"
}
],
"body": {
"type": "BlockStatement",
"start": 1390,
"end": 1459,
"loc": {
"start": {
"line": 52,
"column": 29
},
"end": {
"line": 54,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1401,
"end": 1452,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 53,
"column": 59
}
},
"argument": {
"type": "CallExpression",
"start": 1408,
"end": 1451,
"loc": {
"start": {
"line": 53,
"column": 15
},
"end": {
"line": 53,
"column": 58
}
},
"callee": {
"type": "MemberExpression",
"start": 1408,
"end": 1449,
"loc": {
"start": {
"line": 53,
"column": 15
},
"end": {
"line": 53,
"column": 56
}
},
"object": {
"type": "MemberExpression",
"start": 1408,
"end": 1440,
"loc": {
"start": {
"line": 53,
"column": 15
},
"end": {
"line": 53,
"column": 47
}
},
"object": {
"type": "Identifier",
"start": 1408,
"end": 1427,
"loc": {
"start": {
"line": 53,
"column": 15
},
"end": {
"line": 53,
"column": 34
},
"identifierName": "MetaDisplayBuilding"
},
"name": "MetaDisplayBuilding"
},
"property": {
"type": "Identifier",
"start": 1428,
"end": 1440,
"loc": {
"start": {
"line": 53,
"column": 35
},
"end": {
"line": 53,
"column": 47
},
"identifierName": "isRotateable"
},
"name": "isRotateable"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1441,
"end": 1448,
"loc": {
"start": {
"line": 53,
"column": 48
},
"end": {
"line": 53,
"column": 55
},
"identifierName": "variant"
},
"name": "variant"
},
"computed": true
},
"arguments": []
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 1315,
"end": 1359,
"loc": {
"start": {
"line": 49,
"column": 4
},
"end": {
"line": 51,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 1467,
"end": 1511,
"loc": {
"start": {
"line": 56,
"column": 4
},
"end": {
"line": 58,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 1517,
"end": 1607,
"loc": {
"start": {
"line": 59,
"column": 4
},
"end": {
"line": 61,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1517,
"end": 1530,
"loc": {
"start": {
"line": 59,
"column": 4
},
"end": {
"line": 59,
"column": 17
},
"identifierName": "getDimensions"
},
"name": "getDimensions",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1531,
"end": 1538,
"loc": {
"start": {
"line": 59,
"column": 18
},
"end": {
"line": 59,
"column": 25
},
"identifierName": "variant"
},
"name": "variant"
}
],
"body": {
"type": "BlockStatement",
"start": 1540,
"end": 1607,
"loc": {
"start": {
"line": 59,
"column": 27
},
"end": {
"line": 61,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1551,
"end": 1600,
"loc": {
"start": {
"line": 60,
"column": 8
},
"end": {
"line": 60,
"column": 57
}
},
"argument": {
"type": "CallExpression",
"start": 1558,
"end": 1599,
"loc": {
"start": {
"line": 60,
"column": 15
},
"end": {
"line": 60,
"column": 56
}
},
"callee": {
"type": "MemberExpression",
"start": 1558,
"end": 1597,
"loc": {
"start": {
"line": 60,
"column": 15
},
"end": {
"line": 60,
"column": 54
}
},
"object": {
"type": "MemberExpression",
"start": 1558,
"end": 1588,
"loc": {
"start": {
"line": 60,
"column": 15
},
"end": {
"line": 60,
"column": 45
}
},
"object": {
"type": "Identifier",
"start": 1558,
"end": 1577,
"loc": {
"start": {
"line": 60,
"column": 15
},
"end": {
"line": 60,
"column": 34
},
"identifierName": "MetaDisplayBuilding"
},
"name": "MetaDisplayBuilding"
},
"property": {
"type": "Identifier",
"start": 1578,
"end": 1588,
"loc": {
"start": {
"line": 60,
"column": 35
},
"end": {
"line": 60,
"column": 45
},
"identifierName": "dimensions"
},
"name": "dimensions"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1589,
"end": 1596,
"loc": {
"start": {
"line": 60,
"column": 46
},
"end": {
"line": 60,
"column": 53
},
"identifierName": "variant"
},
"name": "variant"
},
"computed": true
},
"arguments": []
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 1467,
"end": 1511,
"loc": {
"start": {
"line": 56,
"column": 4
},
"end": {
"line": 58,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 1615,
"end": 1659,
"loc": {
"start": {
"line": 63,
"column": 4
},
"end": {
"line": 65,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 1665,
"end": 1763,
"loc": {
"start": {
"line": 66,
"column": 4
},
"end": {
"line": 68,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1665,
"end": 1684,
"loc": {
"start": {
"line": 66,
"column": 4
},
"end": {
"line": 66,
"column": 23
},
"identifierName": "getShowLayerPreview"
},
"name": "getShowLayerPreview",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1685,
"end": 1692,
"loc": {
"start": {
"line": 66,
"column": 24
},
"end": {
"line": 66,
"column": 31
},
"identifierName": "variant"
},
"name": "variant"
}
],
"body": {
"type": "BlockStatement",
"start": 1694,
"end": 1763,
"loc": {
"start": {
"line": 66,
"column": 33
},
"end": {
"line": 68,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1705,
"end": 1756,
"loc": {
"start": {
"line": 67,
"column": 8
},
"end": {
"line": 67,
"column": 59
}
},
"argument": {
"type": "CallExpression",
"start": 1712,
"end": 1755,
"loc": {
"start": {
"line": 67,
"column": 15
},
"end": {
"line": 67,
"column": 58
}
},
"callee": {
"type": "MemberExpression",
"start": 1712,
"end": 1753,
"loc": {
"start": {
"line": 67,
"column": 15
},
"end": {
"line": 67,
"column": 56
}
},
"object": {
"type": "MemberExpression",
"start": 1712,
"end": 1744,
"loc": {
"start": {
"line": 67,
"column": 15
},
"end": {
"line": 67,
"column": 47
}
},
"object": {
"type": "Identifier",
"start": 1712,
"end": 1731,
"loc": {
"start": {
"line": 67,
"column": 15
},
"end": {
"line": 67,
"column": 34
},
"identifierName": "MetaDisplayBuilding"
},
"name": "MetaDisplayBuilding"
},
"property": {
"type": "Identifier",
"start": 1732,
"end": 1744,
"loc": {
"start": {
"line": 67,
"column": 35
},
"end": {
"line": 67,
"column": 47
},
"identifierName": "layerPreview"
},
"name": "layerPreview"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1745,
"end": 1752,
"loc": {
"start": {
"line": 67,
"column": 48
},
"end": {
"line": 67,
"column": 55
},
"identifierName": "variant"
},
"name": "variant"
},
"computed": true
},
"arguments": []
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 1615,
"end": 1659,
"loc": {
"start": {
"line": 63,
"column": 4
},
"end": {
"line": 65,
"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": 1771,
"end": 1918,
"loc": {
"start": {
"line": 70,
"column": 4
},
"end": {
"line": 75,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 1924,
"end": 2046,
"loc": {
"start": {
"line": 76,
"column": 4
},
"end": {
"line": 79,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1924,
"end": 1932,
"loc": {
"start": {
"line": 76,
"column": 4
},
"end": {
"line": 76,
"column": 12
},
"identifierName": "getLayer"
},
"name": "getLayer",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1933,
"end": 1937,
"loc": {
"start": {
"line": 76,
"column": 13
},
"end": {
"line": 76,
"column": 17
},
"identifierName": "root"
},
"name": "root"
},
{
"type": "Identifier",
"start": 1939,
"end": 1946,
"loc": {
"start": {
"line": 76,
"column": 19
},
"end": {
"line": 76,
"column": 26
},
"identifierName": "variant"
},
"name": "variant"
}
],
"body": {
"type": "BlockStatement",
"start": 1948,
"end": 2046,
"loc": {
"start": {
"line": 76,
"column": 28
},
"end": {
"line": 79,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1982,
"end": 2039,
"loc": {
"start": {
"line": 78,
"column": 8
},
"end": {
"line": 78,
"column": 65
}
},
"argument": {
"type": "CallExpression",
"start": 1989,
"end": 2038,
"loc": {
"start": {
"line": 78,
"column": 15
},
"end": {
"line": 78,
"column": 64
}
},
"callee": {
"type": "MemberExpression",
"start": 1989,
"end": 2032,
"loc": {
"start": {
"line": 78,
"column": 15
},
"end": {
"line": 78,
"column": 58
}
},
"object": {
"type": "MemberExpression",
"start": 1989,
"end": 2023,
"loc": {
"start": {
"line": 78,
"column": 15
},
"end": {
"line": 78,
"column": 49
}
},
"object": {
"type": "Identifier",
"start": 1989,
"end": 2008,
"loc": {
"start": {
"line": 78,
"column": 15
},
"end": {
"line": 78,
"column": 34
},
"identifierName": "MetaDisplayBuilding"
},
"name": "MetaDisplayBuilding",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 2009,
"end": 2023,
"loc": {
"start": {
"line": 78,
"column": 35
},
"end": {
"line": 78,
"column": 49
},
"identifierName": "layerByVariant"
},
"name": "layerByVariant"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 2024,
"end": 2031,
"loc": {
"start": {
"line": 78,
"column": 50
},
"end": {
"line": 78,
"column": 57
},
"identifierName": "variant"
},
"name": "variant"
},
"computed": true,
"leadingComments": null
},
"arguments": [
{
"type": "Identifier",
"start": 2033,
"end": 2037,
"loc": {
"start": {
"line": 78,
"column": 59
},
"end": {
"line": 78,
"column": 63
},
"identifierName": "root"
},
"name": "root"
}
],
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " @ts-ignore",
"start": 1959,
"end": 1972,
"loc": {
"start": {
"line": 77,
"column": 8
},
"end": {
"line": 77,
"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": 1771,
"end": 1918,
"loc": {
"start": {
"line": 70,
"column": 4
},
"end": {
"line": 75,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 2054,
"end": 2098,
"loc": {
"start": {
"line": 81,
"column": 4
},
"end": {
"line": 83,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 2104,
"end": 2194,
"loc": {
"start": {
"line": 84,
"column": 4
},
"end": {
"line": 86,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2104,
"end": 2117,
"loc": {
"start": {
"line": 84,
"column": 4
},
"end": {
"line": 84,
"column": 17
},
"identifierName": "getRenderPins"
},
"name": "getRenderPins",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2118,
"end": 2125,
"loc": {
"start": {
"line": 84,
"column": 18
},
"end": {
"line": 84,
"column": 25
},
"identifierName": "variant"
},
"name": "variant"
}
],
"body": {
"type": "BlockStatement",
"start": 2127,
"end": 2194,
"loc": {
"start": {
"line": 84,
"column": 27
},
"end": {
"line": 86,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 2138,
"end": 2187,
"loc": {
"start": {
"line": 85,
"column": 8
},
"end": {
"line": 85,
"column": 57
}
},
"argument": {
"type": "CallExpression",
"start": 2145,
"end": 2186,
"loc": {
"start": {
"line": 85,
"column": 15
},
"end": {
"line": 85,
"column": 56
}
},
"callee": {
"type": "MemberExpression",
"start": 2145,
"end": 2184,
"loc": {
"start": {
"line": 85,
"column": 15
},
"end": {
"line": 85,
"column": 54
}
},
"object": {
"type": "MemberExpression",
"start": 2145,
"end": 2175,
"loc": {
"start": {
"line": 85,
"column": 15
},
"end": {
"line": 85,
"column": 45
}
},
"object": {
"type": "Identifier",
"start": 2145,
"end": 2164,
"loc": {
"start": {
"line": 85,
"column": 15
},
"end": {
"line": 85,
"column": 34
},
"identifierName": "MetaDisplayBuilding"
},
"name": "MetaDisplayBuilding"
},
"property": {
"type": "Identifier",
"start": 2165,
"end": 2175,
"loc": {
"start": {
"line": 85,
"column": 35
},
"end": {
"line": 85,
"column": 45
},
"identifierName": "renderPins"
},
"name": "renderPins"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2176,
"end": 2183,
"loc": {
"start": {
"line": 85,
"column": 46
},
"end": {
"line": 85,
"column": 53
},
"identifierName": "variant"
},
"name": "variant"
},
"computed": true
},
"arguments": []
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 2054,
"end": 2098,
"loc": {
"start": {
"line": 81,
"column": 4
},
"end": {
"line": 83,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Creates the entity at the given location\r\n * @param {Entity} entity\r\n ",
"start": 2202,
"end": 2294,
"loc": {
"start": {
"line": 88,
"column": 4
},
"end": {
"line": 91,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 2300,
"end": 2420,
"loc": {
"start": {
"line": 92,
"column": 4
},
"end": {
"line": 94,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2300,
"end": 2321,
"loc": {
"start": {
"line": 92,
"column": 4
},
"end": {
"line": 92,
"column": 25
},
"identifierName": "setupEntityComponents"
},
"name": "setupEntityComponents",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2322,
"end": 2328,
"loc": {
"start": {
"line": 92,
"column": 26
},
"end": {
"line": 92,
"column": 32
},
"identifierName": "entity"
},
"name": "entity"
}
],
"body": {
"type": "BlockStatement",
"start": 2330,
"end": 2420,
"loc": {
"start": {
"line": 92,
"column": 34
},
"end": {
"line": 94,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2341,
"end": 2413,
"loc": {
"start": {
"line": 93,
"column": 8
},
"end": {
"line": 93,
"column": 80
}
},
"expression": {
"type": "CallExpression",
"start": 2341,
"end": 2412,
"loc": {
"start": {
"line": 93,
"column": 8
},
"end": {
"line": 93,
"column": 79
}
},
"callee": {
"type": "MemberExpression",
"start": 2341,
"end": 2390,
"loc": {
"start": {
"line": 93,
"column": 8
},
"end": {
"line": 93,
"column": 57
}
},
"object": {
"type": "MemberExpression",
"start": 2341,
"end": 2382,
"loc": {
"start": {
"line": 93,
"column": 8
},
"end": {
"line": 93,
"column": 49
}
},
"object": {
"type": "Identifier",
"start": 2341,
"end": 2360,
"loc": {
"start": {
"line": 93,
"column": 8
},
"end": {
"line": 93,
"column": 27
},
"identifierName": "MetaDisplayBuilding"
},
"name": "MetaDisplayBuilding"
},
"property": {
"type": "Identifier",
"start": 2361,
"end": 2382,
"loc": {
"start": {
"line": 93,
"column": 28
},
"end": {
"line": 93,
"column": 49
},
"identifierName": "setupEntityComponents"
},
"name": "setupEntityComponents"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2383,
"end": 2390,
"loc": {
"start": {
"line": 93,
"column": 50
},
"end": {
"line": 93,
"column": 57
},
"identifierName": "forEach"
},
"name": "forEach"
},
"computed": false
},
"arguments": [
{
"type": "ArrowFunctionExpression",
"start": 2391,
"end": 2411,
"loc": {
"start": {
"line": 93,
"column": 58
},
"end": {
"line": 93,
"column": 78
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2391,
"end": 2395,
"loc": {
"start": {
"line": 93,
"column": 58
},
"end": {
"line": 93,
"column": 62
},
"identifierName": "func"
},
"name": "func"
}
],
"body": {
"type": "CallExpression",
"start": 2399,
"end": 2411,
"loc": {
"start": {
"line": 93,
"column": 66
},
"end": {
"line": 93,
"column": 78
}
},
"callee": {
"type": "Identifier",
"start": 2399,
"end": 2403,
"loc": {
"start": {
"line": 93,
"column": 66
},
"end": {
"line": 93,
"column": 70
},
"identifierName": "func"
},
"name": "func"
},
"arguments": [
{
"type": "Identifier",
"start": 2404,
"end": 2410,
"loc": {
"start": {
"line": 93,
"column": 71
},
"end": {
"line": 93,
"column": 77
},
"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": 2202,
"end": 2294,
"loc": {
"start": {
"line": 88,
"column": 4
},
"end": {
"line": 91,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {Entity} entity\r\n * @param {number} rotationVariant\r\n * @param {string} variant\r\n ",
"start": 2428,
"end": 2543,
"loc": {
"start": {
"line": 96,
"column": 4
},
"end": {
"line": 100,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 2549,
"end": 2690,
"loc": {
"start": {
"line": 101,
"column": 4
},
"end": {
"line": 103,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2549,
"end": 2563,
"loc": {
"start": {
"line": 101,
"column": 4
},
"end": {
"line": 101,
"column": 18
},
"identifierName": "updateVariants"
},
"name": "updateVariants",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2564,
"end": 2570,
"loc": {
"start": {
"line": 101,
"column": 19
},
"end": {
"line": 101,
"column": 25
},
"identifierName": "entity"
},
"name": "entity"
},
{
"type": "Identifier",
"start": 2572,
"end": 2587,
"loc": {
"start": {
"line": 101,
"column": 27
},
"end": {
"line": 101,
"column": 42
},
"identifierName": "rotationVariant"
},
"name": "rotationVariant"
},
{
"type": "Identifier",
"start": 2589,
"end": 2596,
"loc": {
"start": {
"line": 101,
"column": 44
},
"end": {
"line": 101,
"column": 51
},
"identifierName": "variant"
},
"name": "variant"
}
],
"body": {
"type": "BlockStatement",
"start": 2598,
"end": 2690,
"loc": {
"start": {
"line": 101,
"column": 53
},
"end": {
"line": 103,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2609,
"end": 2683,
"loc": {
"start": {
"line": 102,
"column": 8
},
"end": {
"line": 102,
"column": 82
}
},
"expression": {
"type": "CallExpression",
"start": 2609,
"end": 2682,
"loc": {
"start": {
"line": 102,
"column": 8
},
"end": {
"line": 102,
"column": 81
}
},
"callee": {
"type": "MemberExpression",
"start": 2609,
"end": 2657,
"loc": {
"start": {
"line": 102,
"column": 8
},
"end": {
"line": 102,
"column": 56
}
},
"object": {
"type": "MemberExpression",
"start": 2609,
"end": 2648,
"loc": {
"start": {
"line": 102,
"column": 8
},
"end": {
"line": 102,
"column": 47
}
},
"object": {
"type": "Identifier",
"start": 2609,
"end": 2628,
"loc": {
"start": {
"line": 102,
"column": 8
},
"end": {
"line": 102,
"column": 27
},
"identifierName": "MetaDisplayBuilding"
},
"name": "MetaDisplayBuilding"
},
"property": {
"type": "Identifier",
"start": 2629,
"end": 2648,
"loc": {
"start": {
"line": 102,
"column": 28
},
"end": {
"line": 102,
"column": 47
},
"identifierName": "componentVariations"
},
"name": "componentVariations"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2649,
"end": 2656,
"loc": {
"start": {
"line": 102,
"column": 48
},
"end": {
"line": 102,
"column": 55
},
"identifierName": "variant"
},
"name": "variant"
},
"computed": true
},
"arguments": [
{
"type": "Identifier",
"start": 2658,
"end": 2664,
"loc": {
"start": {
"line": 102,
"column": 57
},
"end": {
"line": 102,
"column": 63
},
"identifierName": "entity"
},
"name": "entity"
},
{
"type": "Identifier",
"start": 2666,
"end": 2681,
"loc": {
"start": {
"line": 102,
"column": 65
},
"end": {
"line": 102,
"column": 80
},
"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": 2428,
"end": 2543,
"loc": {
"start": {
"line": 96,
"column": 4
},
"end": {
"line": 100,
"column": 7
}
}
}
]
}
]
},
"leadingComments": [],
"trailingComments": []
}
},
{
"type": "ExpressionStatement",
"start": 2697,
"end": 3089,
"loc": {
"start": {
"line": 106,
"column": 0
},
"end": {
"line": 118,
"column": 2
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2697,
"end": 3088,
"loc": {
"start": {
"line": 106,
"column": 0
},
"end": {
"line": 118,
"column": 1
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2697,
"end": 2738,
"loc": {
"start": {
"line": 106,
"column": 0
},
"end": {
"line": 106,
"column": 41
}
},
"object": {
"type": "Identifier",
"start": 2697,
"end": 2716,
"loc": {
"start": {
"line": 106,
"column": 0
},
"end": {
"line": 106,
"column": 19
},
"identifierName": "MetaDisplayBuilding"
},
"name": "MetaDisplayBuilding"
},
"property": {
"type": "Identifier",
"start": 2717,
"end": 2738,
"loc": {
"start": {
"line": 106,
"column": 20
},
"end": {
"line": 106,
"column": 41
},
"identifierName": "setupEntityComponents"
},
"name": "setupEntityComponents"
},
"computed": false
},
"right": {
"type": "ArrayExpression",
"start": 2741,
"end": 3088,
"loc": {
"start": {
"line": 106,
"column": 44
},
"end": {
"line": 118,
"column": 1
}
},
"elements": [
{
"type": "ArrowFunctionExpression",
"start": 2748,
"end": 3024,
"loc": {
"start": {
"line": 107,
"column": 4
},
"end": {
"line": 116,
"column": 5
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2748,
"end": 2754,
"loc": {
"start": {
"line": 107,
"column": 4
},
"end": {
"line": 107,
"column": 10
},
"identifierName": "entity"
},
"name": "entity"
}
],
"body": {
"type": "CallExpression",
"start": 2763,
"end": 3024,
"loc": {
"start": {
"line": 108,
"column": 4
},
"end": {
"line": 116,
"column": 5
}
},
"callee": {
"type": "MemberExpression",
"start": 2763,
"end": 2782,
"loc": {
"start": {
"line": 108,
"column": 4
},
"end": {
"line": 108,
"column": 23
}
},
"object": {
"type": "Identifier",
"start": 2763,
"end": 2769,
"loc": {
"start": {
"line": 108,
"column": 4
},
"end": {
"line": 108,
"column": 10
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 2770,
"end": 2782,
"loc": {
"start": {
"line": 108,
"column": 11
},
"end": {
"line": 108,
"column": 23
},
"identifierName": "addComponent"
},
"name": "addComponent"
},
"computed": false
},
"arguments": [
{
"type": "NewExpression",
"start": 2793,
"end": 3017,
"loc": {
"start": {
"line": 109,
"column": 8
},
"end": {
"line": 115,
"column": 10
}
},
"callee": {
"type": "Identifier",
"start": 2797,
"end": 2815,
"loc": {
"start": {
"line": 109,
"column": 12
},
"end": {
"line": 109,
"column": 30
},
"identifierName": "WiredPinsComponent"
},
"name": "WiredPinsComponent"
},
"arguments": [
{
"type": "ObjectExpression",
"start": 2816,
"end": 3016,
"loc": {
"start": {
"line": 109,
"column": 31
},
"end": {
"line": 115,
"column": 9
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 2831,
"end": 3004,
"loc": {
"start": {
"line": 110,
"column": 12
},
"end": {
"line": 114,
"column": 16
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2831,
"end": 2836,
"loc": {
"start": {
"line": 110,
"column": 12
},
"end": {
"line": 110,
"column": 17
},
"identifierName": "slots"
},
"name": "slots"
},
"value": {
"type": "ArrayExpression",
"start": 2838,
"end": 3004,
"loc": {
"start": {
"line": 110,
"column": 19
},
"end": {
"line": 114,
"column": 16
}
},
"elements": [
{
"type": "ObjectExpression",
"start": 2839,
"end": 3001,
"loc": {
"start": {
"line": 110,
"column": 20
},
"end": {
"line": 114,
"column": 13
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 2858,
"end": 2879,
"loc": {
"start": {
"line": 111,
"column": 16
},
"end": {
"line": 111,
"column": 37
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2858,
"end": 2861,
"loc": {
"start": {
"line": 111,
"column": 16
},
"end": {
"line": 111,
"column": 19
},
"identifierName": "pos"
},
"name": "pos"
},
"value": {
"type": "NewExpression",
"start": 2863,
"end": 2879,
"loc": {
"start": {
"line": 111,
"column": 21
},
"end": {
"line": 111,
"column": 37
}
},
"callee": {
"type": "Identifier",
"start": 2867,
"end": 2873,
"loc": {
"start": {
"line": 111,
"column": 25
},
"end": {
"line": 111,
"column": 31
},
"identifierName": "Vector"
},
"name": "Vector"
},
"arguments": [
{
"type": "NumericLiteral",
"start": 2874,
"end": 2875,
"loc": {
"start": {
"line": 111,
"column": 32
},
"end": {
"line": 111,
"column": 33
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
{
"type": "NumericLiteral",
"start": 2877,
"end": 2878,
"loc": {
"start": {
"line": 111,
"column": 35
},
"end": {
"line": 111,
"column": 36
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
]
}
},
{
"type": "ObjectProperty",
"start": 2898,
"end": 2929,
"loc": {
"start": {
"line": 112,
"column": 16
},
"end": {
"line": 112,
"column": 47
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2898,
"end": 2907,
"loc": {
"start": {
"line": 112,
"column": 16
},
"end": {
"line": 112,
"column": 25
},
"identifierName": "direction"
},
"name": "direction"
},
"value": {
"type": "MemberExpression",
"start": 2909,
"end": 2929,
"loc": {
"start": {
"line": 112,
"column": 27
},
"end": {
"line": 112,
"column": 47
}
},
"object": {
"type": "Identifier",
"start": 2909,
"end": 2922,
"loc": {
"start": {
"line": 112,
"column": 27
},
"end": {
"line": 112,
"column": 40
},
"identifierName": "enumDirection"
},
"name": "enumDirection"
},
"property": {
"type": "Identifier",
"start": 2923,
"end": 2929,
"loc": {
"start": {
"line": 112,
"column": 41
},
"end": {
"line": 112,
"column": 47
},
"identifierName": "bottom"
},
"name": "bottom"
},
"computed": false
}
},
{
"type": "ObjectProperty",
"start": 2948,
"end": 2985,
"loc": {
"start": {
"line": 113,
"column": 16
},
"end": {
"line": 113,
"column": 53
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2948,
"end": 2952,
"loc": {
"start": {
"line": 113,
"column": 16
},
"end": {
"line": 113,
"column": 20
},
"identifierName": "type"
},
"name": "type"
},
"value": {
"type": "MemberExpression",
"start": 2954,
"end": 2985,
"loc": {
"start": {
"line": 113,
"column": 22
},
"end": {
"line": 113,
"column": 53
}
},
"object": {
"type": "Identifier",
"start": 2954,
"end": 2969,
"loc": {
"start": {
"line": 113,
"column": 22
},
"end": {
"line": 113,
"column": 37
},
"identifierName": "enumPinSlotType"
},
"name": "enumPinSlotType"
},
"property": {
"type": "Identifier",
"start": 2970,
"end": 2985,
"loc": {
"start": {
"line": 113,
"column": 38
},
"end": {
"line": 113,
"column": 53
},
"identifierName": "logicalAcceptor"
},
"name": "logicalAcceptor"
},
"computed": false
}
}
]
}
]
}
}
]
}
]
}
]
}
},
{
"type": "ArrowFunctionExpression",
"start": 3031,
"end": 3084,
"loc": {
"start": {
"line": 117,
"column": 4
},
"end": {
"line": 117,
"column": 57
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [
{
"type": "Identifier",
"start": 3031,
"end": 3037,
"loc": {
"start": {
"line": 117,
"column": 4
},
"end": {
"line": 117,
"column": 10
},
"identifierName": "entity"
},
"name": "entity"
}
],
"body": {
"type": "CallExpression",
"start": 3041,
"end": 3084,
"loc": {
"start": {
"line": 117,
"column": 14
},
"end": {
"line": 117,
"column": 57
}
},
"callee": {
"type": "MemberExpression",
"start": 3041,
"end": 3060,
"loc": {
"start": {
"line": 117,
"column": 14
},
"end": {
"line": 117,
"column": 33
}
},
"object": {
"type": "Identifier",
"start": 3041,
"end": 3047,
"loc": {
"start": {
"line": 117,
"column": 14
},
"end": {
"line": 117,
"column": 20
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 3048,
"end": 3060,
"loc": {
"start": {
"line": 117,
"column": 21
},
"end": {
"line": 117,
"column": 33
},
"identifierName": "addComponent"
},
"name": "addComponent"
},
"computed": false
},
"arguments": [
{
"type": "NewExpression",
"start": 3061,
"end": 3083,
"loc": {
"start": {
"line": 117,
"column": 34
},
"end": {
"line": 117,
"column": 56
}
},
"callee": {
"type": "Identifier",
"start": 3065,
"end": 3081,
"loc": {
"start": {
"line": 117,
"column": 38
},
"end": {
"line": 117,
"column": 54
},
"identifierName": "DisplayComponent"
},
"name": "DisplayComponent"
},
"arguments": []
}
]
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 3093,
"end": 3202,
"loc": {
"start": {
"line": 120,
"column": 0
},
"end": {
"line": 122,
"column": 2
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3093,
"end": 3201,
"loc": {
"start": {
"line": 120,
"column": 0
},
"end": {
"line": 122,
"column": 1
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3093,
"end": 3128,
"loc": {
"start": {
"line": 120,
"column": 0
},
"end": {
"line": 120,
"column": 35
}
},
"object": {
"type": "Identifier",
"start": 3093,
"end": 3112,
"loc": {
"start": {
"line": 120,
"column": 0
},
"end": {
"line": 120,
"column": 19
},
"identifierName": "MetaDisplayBuilding"
},
"name": "MetaDisplayBuilding"
},
"property": {
"type": "Identifier",
"start": 3113,
"end": 3128,
"loc": {
"start": {
"line": 120,
"column": 20
},
"end": {
"line": 120,
"column": 35
},
"identifierName": "overlayMatrices"
},
"name": "overlayMatrices"
},
"computed": false
},
"right": {
"type": "ObjectExpression",
"start": 3131,
"end": 3201,
"loc": {
"start": {
"line": 120,
"column": 38
},
"end": {
"line": 122,
"column": 1
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 3138,
"end": 3197,
"loc": {
"start": {
"line": 121,
"column": 4
},
"end": {
"line": 121,
"column": 63
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "Identifier",
"start": 3139,
"end": 3161,
"loc": {
"start": {
"line": 121,
"column": 5
},
"end": {
"line": 121,
"column": 27
},
"identifierName": "defaultBuildingVariant"
},
"name": "defaultBuildingVariant"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 3164,
"end": 3197,
"loc": {
"start": {
"line": 121,
"column": 30
},
"end": {
"line": 121,
"column": 63
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [
{
"type": "Identifier",
"start": 3165,
"end": 3171,
"loc": {
"start": {
"line": 121,
"column": 31
},
"end": {
"line": 121,
"column": 37
},
"identifierName": "entity"
},
"name": "entity"
},
{
"type": "Identifier",
"start": 3173,
"end": 3188,
"loc": {
"start": {
"line": 121,
"column": 39
},
"end": {
"line": 121,
"column": 54
},
"identifierName": "rotationVariant"
},
"name": "rotationVariant"
}
],
"body": {
"type": "NullLiteral",
"start": 3193,
"end": 3197,
"loc": {
"start": {
"line": 121,
"column": 59
},
"end": {
"line": 121,
"column": 63
}
}
}
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 3206,
"end": 3299,
"loc": {
"start": {
"line": 124,
"column": 0
},
"end": {
"line": 126,
"column": 2
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3206,
"end": 3298,
"loc": {
"start": {
"line": 124,
"column": 0
},
"end": {
"line": 126,
"column": 1
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3206,
"end": 3236,
"loc": {
"start": {
"line": 124,
"column": 0
},
"end": {
"line": 124,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 3206,
"end": 3225,
"loc": {
"start": {
"line": 124,
"column": 0
},
"end": {
"line": 124,
"column": 19
},
"identifierName": "MetaDisplayBuilding"
},
"name": "MetaDisplayBuilding"
},
"property": {
"type": "Identifier",
"start": 3226,
"end": 3236,
"loc": {
"start": {
"line": 124,
"column": 20
},
"end": {
"line": 124,
"column": 30
},
"identifierName": "dimensions"
},
"name": "dimensions"
},
"computed": false
},
"right": {
"type": "ObjectExpression",
"start": 3239,
"end": 3298,
"loc": {
"start": {
"line": 124,
"column": 33
},
"end": {
"line": 126,
"column": 1
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 3246,
"end": 3294,
"loc": {
"start": {
"line": 125,
"column": 4
},
"end": {
"line": 125,
"column": 52
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "Identifier",
"start": 3247,
"end": 3269,
"loc": {
"start": {
"line": 125,
"column": 5
},
"end": {
"line": 125,
"column": 27
},
"identifierName": "defaultBuildingVariant"
},
"name": "defaultBuildingVariant"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 3272,
"end": 3294,
"loc": {
"start": {
"line": 125,
"column": 30
},
"end": {
"line": 125,
"column": 52
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [],
"body": {
"type": "NewExpression",
"start": 3278,
"end": 3294,
"loc": {
"start": {
"line": 125,
"column": 36
},
"end": {
"line": 125,
"column": 52
}
},
"callee": {
"type": "Identifier",
"start": 3282,
"end": 3288,
"loc": {
"start": {
"line": 125,
"column": 40
},
"end": {
"line": 125,
"column": 46
},
"identifierName": "Vector"
},
"name": "Vector"
},
"arguments": [
{
"type": "NumericLiteral",
"start": 3289,
"end": 3290,
"loc": {
"start": {
"line": 125,
"column": 47
},
"end": {
"line": 125,
"column": 48
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
{
"type": "NumericLiteral",
"start": 3292,
"end": 3293,
"loc": {
"start": {
"line": 125,
"column": 50
},
"end": {
"line": 125,
"column": 51
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
]
}
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 3303,
"end": 3395,
"loc": {
"start": {
"line": 128,
"column": 0
},
"end": {
"line": 130,
"column": 2
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3303,
"end": 3394,
"loc": {
"start": {
"line": 128,
"column": 0
},
"end": {
"line": 130,
"column": 1
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3303,
"end": 3339,
"loc": {
"start": {
"line": 128,
"column": 0
},
"end": {
"line": 128,
"column": 36
}
},
"object": {
"type": "Identifier",
"start": 3303,
"end": 3322,
"loc": {
"start": {
"line": 128,
"column": 0
},
"end": {
"line": 128,
"column": 19
},
"identifierName": "MetaDisplayBuilding"
},
"name": "MetaDisplayBuilding"
},
"property": {
"type": "Identifier",
"start": 3323,
"end": 3339,
"loc": {
"start": {
"line": 128,
"column": 20
},
"end": {
"line": 128,
"column": 36
},
"identifierName": "silhouetteColors"
},
"name": "silhouetteColors"
},
"computed": false
},
"right": {
"type": "ObjectExpression",
"start": 3342,
"end": 3394,
"loc": {
"start": {
"line": 128,
"column": 39
},
"end": {
"line": 130,
"column": 1
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 3349,
"end": 3390,
"loc": {
"start": {
"line": 129,
"column": 4
},
"end": {
"line": 129,
"column": 45
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "Identifier",
"start": 3350,
"end": 3372,
"loc": {
"start": {
"line": 129,
"column": 5
},
"end": {
"line": 129,
"column": 27
},
"identifierName": "defaultBuildingVariant"
},
"name": "defaultBuildingVariant"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 3375,
"end": 3390,
"loc": {
"start": {
"line": 129,
"column": 30
},
"end": {
"line": 129,
"column": 45
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [],
"body": {
"type": "StringLiteral",
"start": 3381,
"end": 3390,
"loc": {
"start": {
"line": 129,
"column": 36
},
"end": {
"line": 129,
"column": 45
}
},
"extra": {
"rawValue": "#aaaaaa",
"raw": "\"#aaaaaa\""
},
"value": "#aaaaaa"
}
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 3399,
"end": 3481,
"loc": {
"start": {
"line": 132,
"column": 0
},
"end": {
"line": 134,
"column": 2
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3399,
"end": 3480,
"loc": {
"start": {
"line": 132,
"column": 0
},
"end": {
"line": 134,
"column": 1
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3399,
"end": 3430,
"loc": {
"start": {
"line": 132,
"column": 0
},
"end": {
"line": 132,
"column": 31
}
},
"object": {
"type": "Identifier",
"start": 3399,
"end": 3418,
"loc": {
"start": {
"line": 132,
"column": 0
},
"end": {
"line": 132,
"column": 19
},
"identifierName": "MetaDisplayBuilding"
},
"name": "MetaDisplayBuilding"
},
"property": {
"type": "Identifier",
"start": 3419,
"end": 3430,
"loc": {
"start": {
"line": 132,
"column": 20
},
"end": {
"line": 132,
"column": 31
},
"identifierName": "isRemovable"
},
"name": "isRemovable"
},
"computed": false
},
"right": {
"type": "ObjectExpression",
"start": 3433,
"end": 3480,
"loc": {
"start": {
"line": 132,
"column": 34
},
"end": {
"line": 134,
"column": 1
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 3440,
"end": 3476,
"loc": {
"start": {
"line": 133,
"column": 4
},
"end": {
"line": 133,
"column": 40
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "Identifier",
"start": 3441,
"end": 3463,
"loc": {
"start": {
"line": 133,
"column": 5
},
"end": {
"line": 133,
"column": 27
},
"identifierName": "defaultBuildingVariant"
},
"name": "defaultBuildingVariant"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 3466,
"end": 3476,
"loc": {
"start": {
"line": 133,
"column": 30
},
"end": {
"line": 133,
"column": 40
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [],
"body": {
"type": "BooleanLiteral",
"start": 3472,
"end": 3476,
"loc": {
"start": {
"line": 133,
"column": 36
},
"end": {
"line": 133,
"column": 40
}
},
"value": true
}
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 3485,
"end": 3568,
"loc": {
"start": {
"line": 136,
"column": 0
},
"end": {
"line": 138,
"column": 2
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3485,
"end": 3567,
"loc": {
"start": {
"line": 136,
"column": 0
},
"end": {
"line": 138,
"column": 1
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3485,
"end": 3517,
"loc": {
"start": {
"line": 136,
"column": 0
},
"end": {
"line": 136,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 3485,
"end": 3504,
"loc": {
"start": {
"line": 136,
"column": 0
},
"end": {
"line": 136,
"column": 19
},
"identifierName": "MetaDisplayBuilding"
},
"name": "MetaDisplayBuilding"
},
"property": {
"type": "Identifier",
"start": 3505,
"end": 3517,
"loc": {
"start": {
"line": 136,
"column": 20
},
"end": {
"line": 136,
"column": 32
},
"identifierName": "isRotateable"
},
"name": "isRotateable"
},
"computed": false
},
"right": {
"type": "ObjectExpression",
"start": 3520,
"end": 3567,
"loc": {
"start": {
"line": 136,
"column": 35
},
"end": {
"line": 138,
"column": 1
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 3527,
"end": 3563,
"loc": {
"start": {
"line": 137,
"column": 4
},
"end": {
"line": 137,
"column": 40
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "Identifier",
"start": 3528,
"end": 3550,
"loc": {
"start": {
"line": 137,
"column": 5
},
"end": {
"line": 137,
"column": 27
},
"identifierName": "defaultBuildingVariant"
},
"name": "defaultBuildingVariant"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 3553,
"end": 3563,
"loc": {
"start": {
"line": 137,
"column": 30
},
"end": {
"line": 137,
"column": 40
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [],
"body": {
"type": "BooleanLiteral",
"start": 3559,
"end": 3563,
"loc": {
"start": {
"line": 137,
"column": 36
},
"end": {
"line": 137,
"column": 40
}
},
"value": true
}
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 3572,
"end": 3721,
"loc": {
"start": {
"line": 140,
"column": 0
},
"end": {
"line": 142,
"column": 2
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3572,
"end": 3720,
"loc": {
"start": {
"line": 140,
"column": 0
},
"end": {
"line": 142,
"column": 1
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3572,
"end": 3607,
"loc": {
"start": {
"line": 140,
"column": 0
},
"end": {
"line": 140,
"column": 35
}
},
"object": {
"type": "Identifier",
"start": 3572,
"end": 3591,
"loc": {
"start": {
"line": 140,
"column": 0
},
"end": {
"line": 140,
"column": 19
},
"identifierName": "MetaDisplayBuilding"
},
"name": "MetaDisplayBuilding"
},
"property": {
"type": "Identifier",
"start": 3592,
"end": 3607,
"loc": {
"start": {
"line": 140,
"column": 20
},
"end": {
"line": 140,
"column": 35
},
"identifierName": "avaibleVariants"
},
"name": "avaibleVariants"
},
"computed": false
},
"right": {
"type": "ObjectExpression",
"start": 3610,
"end": 3720,
"loc": {
"start": {
"line": 140,
"column": 38
},
"end": {
"line": 142,
"column": 1
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 3617,
"end": 3716,
"loc": {
"start": {
"line": 141,
"column": 4
},
"end": {
"line": 141,
"column": 103
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "Identifier",
"start": 3618,
"end": 3640,
"loc": {
"start": {
"line": 141,
"column": 5
},
"end": {
"line": 141,
"column": 27
},
"identifierName": "defaultBuildingVariant"
},
"name": "defaultBuildingVariant"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 3643,
"end": 3716,
"loc": {
"start": {
"line": 141,
"column": 30
},
"end": {
"line": 141,
"column": 103
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [
{
"type": "Identifier",
"start": 3643,
"end": 3647,
"loc": {
"start": {
"line": 141,
"column": 30
},
"end": {
"line": 141,
"column": 34
},
"identifierName": "root"
},
"name": "root"
}
],
"body": {
"type": "CallExpression",
"start": 3651,
"end": 3716,
"loc": {
"start": {
"line": 141,
"column": 38
},
"end": {
"line": 141,
"column": 103
}
},
"callee": {
"type": "MemberExpression",
"start": 3651,
"end": 3681,
"loc": {
"start": {
"line": 141,
"column": 38
},
"end": {
"line": 141,
"column": 68
}
},
"object": {
"type": "MemberExpression",
"start": 3651,
"end": 3664,
"loc": {
"start": {
"line": 141,
"column": 38
},
"end": {
"line": 141,
"column": 51
}
},
"object": {
"type": "Identifier",
"start": 3651,
"end": 3655,
"loc": {
"start": {
"line": 141,
"column": 38
},
"end": {
"line": 141,
"column": 42
},
"identifierName": "root"
},
"name": "root"
},
"property": {
"type": "Identifier",
"start": 3656,
"end": 3664,
"loc": {
"start": {
"line": 141,
"column": 43
},
"end": {
"line": 141,
"column": 51
},
"identifierName": "hubGoals"
},
"name": "hubGoals"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3665,
"end": 3681,
"loc": {
"start": {
"line": 141,
"column": 52
},
"end": {
"line": 141,
"column": 68
},
"identifierName": "isRewardUnlocked"
},
"name": "isRewardUnlocked"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 3682,
"end": 3715,
"loc": {
"start": {
"line": 141,
"column": 69
},
"end": {
"line": 141,
"column": 102
}
},
"object": {
"type": "Identifier",
"start": 3682,
"end": 3700,
"loc": {
"start": {
"line": 141,
"column": 69
},
"end": {
"line": 141,
"column": 87
},
"identifierName": "enumHubGoalRewards"
},
"name": "enumHubGoalRewards"
},
"property": {
"type": "Identifier",
"start": 3701,
"end": 3715,
"loc": {
"start": {
"line": 141,
"column": 88
},
"end": {
"line": 141,
"column": 102
},
"identifierName": "reward_display"
},
"name": "reward_display"
},
"computed": false
}
]
}
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 3725,
"end": 3817,
"loc": {
"start": {
"line": 144,
"column": 0
},
"end": {
"line": 146,
"column": 2
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3725,
"end": 3816,
"loc": {
"start": {
"line": 144,
"column": 0
},
"end": {
"line": 146,
"column": 1
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3725,
"end": 3759,
"loc": {
"start": {
"line": 144,
"column": 0
},
"end": {
"line": 144,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 3725,
"end": 3744,
"loc": {
"start": {
"line": 144,
"column": 0
},
"end": {
"line": 144,
"column": 19
},
"identifierName": "MetaDisplayBuilding"
},
"name": "MetaDisplayBuilding"
},
"property": {
"type": "Identifier",
"start": 3745,
"end": 3759,
"loc": {
"start": {
"line": 144,
"column": 20
},
"end": {
"line": 144,
"column": 34
},
"identifierName": "layerByVariant"
},
"name": "layerByVariant"
},
"computed": false
},
"right": {
"type": "ObjectExpression",
"start": 3762,
"end": 3816,
"loc": {
"start": {
"line": 144,
"column": 37
},
"end": {
"line": 146,
"column": 1
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 3769,
"end": 3812,
"loc": {
"start": {
"line": 145,
"column": 4
},
"end": {
"line": 145,
"column": 47
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "Identifier",
"start": 3770,
"end": 3792,
"loc": {
"start": {
"line": 145,
"column": 5
},
"end": {
"line": 145,
"column": 27
},
"identifierName": "defaultBuildingVariant"
},
"name": "defaultBuildingVariant"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 3795,
"end": 3812,
"loc": {
"start": {
"line": 145,
"column": 30
},
"end": {
"line": 145,
"column": 47
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [
{
"type": "Identifier",
"start": 3795,
"end": 3799,
"loc": {
"start": {
"line": 145,
"column": 30
},
"end": {
"line": 145,
"column": 34
},
"identifierName": "root"
},
"name": "root"
}
],
"body": {
"type": "StringLiteral",
"start": 3803,
"end": 3812,
"loc": {
"start": {
"line": 145,
"column": 38
},
"end": {
"line": 145,
"column": 47
}
},
"extra": {
"rawValue": "regular",
"raw": "\"regular\""
},
"value": "regular"
}
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 3821,
"end": 3907,
"loc": {
"start": {
"line": 148,
"column": 0
},
"end": {
"line": 150,
"column": 2
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3821,
"end": 3906,
"loc": {
"start": {
"line": 148,
"column": 0
},
"end": {
"line": 150,
"column": 1
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3821,
"end": 3853,
"loc": {
"start": {
"line": 148,
"column": 0
},
"end": {
"line": 148,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 3821,
"end": 3840,
"loc": {
"start": {
"line": 148,
"column": 0
},
"end": {
"line": 148,
"column": 19
},
"identifierName": "MetaDisplayBuilding"
},
"name": "MetaDisplayBuilding"
},
"property": {
"type": "Identifier",
"start": 3841,
"end": 3853,
"loc": {
"start": {
"line": 148,
"column": 20
},
"end": {
"line": 148,
"column": 32
},
"identifierName": "layerPreview"
},
"name": "layerPreview"
},
"computed": false
},
"right": {
"type": "ObjectExpression",
"start": 3856,
"end": 3906,
"loc": {
"start": {
"line": 148,
"column": 35
},
"end": {
"line": 150,
"column": 1
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 3863,
"end": 3902,
"loc": {
"start": {
"line": 149,
"column": 4
},
"end": {
"line": 149,
"column": 43
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "Identifier",
"start": 3864,
"end": 3886,
"loc": {
"start": {
"line": 149,
"column": 5
},
"end": {
"line": 149,
"column": 27
},
"identifierName": "defaultBuildingVariant"
},
"name": "defaultBuildingVariant"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 3889,
"end": 3902,
"loc": {
"start": {
"line": 149,
"column": 30
},
"end": {
"line": 149,
"column": 43
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [],
"body": {
"type": "StringLiteral",
"start": 3895,
"end": 3902,
"loc": {
"start": {
"line": 149,
"column": 36
},
"end": {
"line": 149,
"column": 43
}
},
"extra": {
"rawValue": "wires",
"raw": "\"wires\""
},
"value": "wires"
}
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 3911,
"end": 3992,
"loc": {
"start": {
"line": 152,
"column": 0
},
"end": {
"line": 154,
"column": 2
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3911,
"end": 3991,
"loc": {
"start": {
"line": 152,
"column": 0
},
"end": {
"line": 154,
"column": 1
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3911,
"end": 3941,
"loc": {
"start": {
"line": 152,
"column": 0
},
"end": {
"line": 152,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 3911,
"end": 3930,
"loc": {
"start": {
"line": 152,
"column": 0
},
"end": {
"line": 152,
"column": 19
},
"identifierName": "MetaDisplayBuilding"
},
"name": "MetaDisplayBuilding"
},
"property": {
"type": "Identifier",
"start": 3931,
"end": 3941,
"loc": {
"start": {
"line": 152,
"column": 20
},
"end": {
"line": 152,
"column": 30
},
"identifierName": "renderPins"
},
"name": "renderPins"
},
"computed": false
},
"right": {
"type": "ObjectExpression",
"start": 3944,
"end": 3991,
"loc": {
"start": {
"line": 152,
"column": 33
},
"end": {
"line": 154,
"column": 1
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 3951,
"end": 3987,
"loc": {
"start": {
"line": 153,
"column": 4
},
"end": {
"line": 153,
"column": 40
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "Identifier",
"start": 3952,
"end": 3974,
"loc": {
"start": {
"line": 153,
"column": 5
},
"end": {
"line": 153,
"column": 27
},
"identifierName": "defaultBuildingVariant"
},
"name": "defaultBuildingVariant"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 3977,
"end": 3987,
"loc": {
"start": {
"line": 153,
"column": 30
},
"end": {
"line": 153,
"column": 40
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [],
"body": {
"type": "BooleanLiteral",
"start": 3983,
"end": 3987,
"loc": {
"start": {
"line": 153,
"column": 36
},
"end": {
"line": 153,
"column": 40
}
},
"value": true
}
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 3996,
"end": 4312,
"loc": {
"start": {
"line": 156,
"column": 0
},
"end": {
"line": 164,
"column": 2
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3996,
"end": 4311,
"loc": {
"start": {
"line": 156,
"column": 0
},
"end": {
"line": 164,
"column": 1
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3996,
"end": 4035,
"loc": {
"start": {
"line": 156,
"column": 0
},
"end": {
"line": 156,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 3996,
"end": 4015,
"loc": {
"start": {
"line": 156,
"column": 0
},
"end": {
"line": 156,
"column": 19
},
"identifierName": "MetaDisplayBuilding"
},
"name": "MetaDisplayBuilding"
},
"property": {
"type": "Identifier",
"start": 4016,
"end": 4035,
"loc": {
"start": {
"line": 156,
"column": 20
},
"end": {
"line": 156,
"column": 39
},
"identifierName": "componentVariations"
},
"name": "componentVariations"
},
"computed": false
},
"right": {
"type": "ObjectExpression",
"start": 4038,
"end": 4311,
"loc": {
"start": {
"line": 156,
"column": 42
},
"end": {
"line": 164,
"column": 1
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 4045,
"end": 4307,
"loc": {
"start": {
"line": 157,
"column": 4
},
"end": {
"line": 163,
"column": 5
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "Identifier",
"start": 4046,
"end": 4068,
"loc": {
"start": {
"line": 157,
"column": 5
},
"end": {
"line": 157,
"column": 27
},
"identifierName": "defaultBuildingVariant"
},
"name": "defaultBuildingVariant"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 4071,
"end": 4307,
"loc": {
"start": {
"line": 157,
"column": 30
},
"end": {
"line": 163,
"column": 5
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 4072,
"end": 4078,
"loc": {
"start": {
"line": 157,
"column": 31
},
"end": {
"line": 157,
"column": 37
},
"identifierName": "entity"
},
"name": "entity"
},
{
"type": "Identifier",
"start": 4080,
"end": 4095,
"loc": {
"start": {
"line": 157,
"column": 39
},
"end": {
"line": 157,
"column": 54
},
"identifierName": "rotationVariant"
},
"name": "rotationVariant"
}
],
"body": {
"type": "BlockStatement",
"start": 4100,
"end": 4307,
"loc": {
"start": {
"line": 157,
"column": 59
},
"end": {
"line": 163,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 4111,
"end": 4300,
"loc": {
"start": {
"line": 158,
"column": 8
},
"end": {
"line": 162,
"column": 14
}
},
"expression": {
"type": "CallExpression",
"start": 4111,
"end": 4299,
"loc": {
"start": {
"line": 158,
"column": 8
},
"end": {
"line": 162,
"column": 13
}
},
"callee": {
"type": "MemberExpression",
"start": 4111,
"end": 4147,
"loc": {
"start": {
"line": 158,
"column": 8
},
"end": {
"line": 158,
"column": 44
}
},
"object": {
"type": "MemberExpression",
"start": 4111,
"end": 4138,
"loc": {
"start": {
"line": 158,
"column": 8
},
"end": {
"line": 158,
"column": 35
}
},
"object": {
"type": "MemberExpression",
"start": 4111,
"end": 4128,
"loc": {
"start": {
"line": 158,
"column": 8
},
"end": {
"line": 158,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 4111,
"end": 4117,
"loc": {
"start": {
"line": 158,
"column": 8
},
"end": {
"line": 158,
"column": 14
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 4118,
"end": 4128,
"loc": {
"start": {
"line": 158,
"column": 15
},
"end": {
"line": 158,
"column": 25
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4129,
"end": 4138,
"loc": {
"start": {
"line": 158,
"column": 26
},
"end": {
"line": 158,
"column": 35
},
"identifierName": "WiredPins"
},
"name": "WiredPins"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4139,
"end": 4147,
"loc": {
"start": {
"line": 158,
"column": 36
},
"end": {
"line": 158,
"column": 44
},
"identifierName": "setSlots"
},
"name": "setSlots"
},
"computed": false
},
"arguments": [
{
"type": "ArrayExpression",
"start": 4148,
"end": 4298,
"loc": {
"start": {
"line": 158,
"column": 45
},
"end": {
"line": 162,
"column": 12
}
},
"elements": [
{
"type": "ObjectExpression",
"start": 4149,
"end": 4295,
"loc": {
"start": {
"line": 158,
"column": 46
},
"end": {
"line": 162,
"column": 9
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 4164,
"end": 4185,
"loc": {
"start": {
"line": 159,
"column": 12
},
"end": {
"line": 159,
"column": 33
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 4164,
"end": 4167,
"loc": {
"start": {
"line": 159,
"column": 12
},
"end": {
"line": 159,
"column": 15
},
"identifierName": "pos"
},
"name": "pos"
},
"value": {
"type": "NewExpression",
"start": 4169,
"end": 4185,
"loc": {
"start": {
"line": 159,
"column": 17
},
"end": {
"line": 159,
"column": 33
}
},
"callee": {
"type": "Identifier",
"start": 4173,
"end": 4179,
"loc": {
"start": {
"line": 159,
"column": 21
},
"end": {
"line": 159,
"column": 27
},
"identifierName": "Vector"
},
"name": "Vector"
},
"arguments": [
{
"type": "NumericLiteral",
"start": 4180,
"end": 4181,
"loc": {
"start": {
"line": 159,
"column": 28
},
"end": {
"line": 159,
"column": 29
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
{
"type": "NumericLiteral",
"start": 4183,
"end": 4184,
"loc": {
"start": {
"line": 159,
"column": 31
},
"end": {
"line": 159,
"column": 32
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
]
}
},
{
"type": "ObjectProperty",
"start": 4200,
"end": 4231,
"loc": {
"start": {
"line": 160,
"column": 12
},
"end": {
"line": 160,
"column": 43
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 4200,
"end": 4209,
"loc": {
"start": {
"line": 160,
"column": 12
},
"end": {
"line": 160,
"column": 21
},
"identifierName": "direction"
},
"name": "direction"
},
"value": {
"type": "MemberExpression",
"start": 4211,
"end": 4231,
"loc": {
"start": {
"line": 160,
"column": 23
},
"end": {
"line": 160,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 4211,
"end": 4224,
"loc": {
"start": {
"line": 160,
"column": 23
},
"end": {
"line": 160,
"column": 36
},
"identifierName": "enumDirection"
},
"name": "enumDirection"
},
"property": {
"type": "Identifier",
"start": 4225,
"end": 4231,
"loc": {
"start": {
"line": 160,
"column": 37
},
"end": {
"line": 160,
"column": 43
},
"identifierName": "bottom"
},
"name": "bottom"
},
"computed": false
}
},
{
"type": "ObjectProperty",
"start": 4246,
"end": 4283,
"loc": {
"start": {
"line": 161,
"column": 12
},
"end": {
"line": 161,
"column": 49
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 4246,
"end": 4250,
"loc": {
"start": {
"line": 161,
"column": 12
},
"end": {
"line": 161,
"column": 16
},
"identifierName": "type"
},
"name": "type"
},
"value": {
"type": "MemberExpression",
"start": 4252,
"end": 4283,
"loc": {
"start": {
"line": 161,
"column": 18
},
"end": {
"line": 161,
"column": 49
}
},
"object": {
"type": "Identifier",
"start": 4252,
"end": 4267,
"loc": {
"start": {
"line": 161,
"column": 18
},
"end": {
"line": 161,
"column": 33
},
"identifierName": "enumPinSlotType"
},
"name": "enumPinSlotType"
},
"property": {
"type": "Identifier",
"start": 4268,
"end": 4283,
"loc": {
"start": {
"line": 161,
"column": 34
},
"end": {
"line": 161,
"column": 49
},
"identifierName": "logicalAcceptor"
},
"name": "logicalAcceptor"
},
"computed": false
}
}
]
}
]
}
]
}
}
],
"directives": []
}
}
}
]
}
}
}
],
"directives": []
},
"comments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 525,
"end": 569,
"loc": {
"start": {
"line": 14,
"column": 4
},
"end": {
"line": 16,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {GameRoot} root\r\n ",
"start": 684,
"end": 727,
"loc": {
"start": {
"line": 21,
"column": 4
},
"end": {
"line": 23,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {GameRoot} root\r\n ",
"start": 829,
"end": 872,
"loc": {
"start": {
"line": 28,
"column": 4
},
"end": {
"line": 30,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 1165,
"end": 1209,
"loc": {
"start": {
"line": 42,
"column": 4
},
"end": {
"line": 44,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 1315,
"end": 1359,
"loc": {
"start": {
"line": 49,
"column": 4
},
"end": {
"line": 51,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 1467,
"end": 1511,
"loc": {
"start": {
"line": 56,
"column": 4
},
"end": {
"line": 58,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 1615,
"end": 1659,
"loc": {
"start": {
"line": 63,
"column": 4
},
"end": {
"line": 65,
"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": 1771,
"end": 1918,
"loc": {
"start": {
"line": 70,
"column": 4
},
"end": {
"line": 75,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " @ts-ignore",
"start": 1959,
"end": 1972,
"loc": {
"start": {
"line": 77,
"column": 8
},
"end": {
"line": 77,
"column": 21
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 2054,
"end": 2098,
"loc": {
"start": {
"line": 81,
"column": 4
},
"end": {
"line": 83,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Creates the entity at the given location\r\n * @param {Entity} entity\r\n ",
"start": 2202,
"end": 2294,
"loc": {
"start": {
"line": 88,
"column": 4
},
"end": {
"line": 91,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {Entity} entity\r\n * @param {number} rotationVariant\r\n * @param {string} variant\r\n ",
"start": 2428,
"end": 2543,
"loc": {
"start": {
"line": 96,
"column": 4
},
"end": {
"line": 100,
"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": "DisplayComponent",
"start": 298,
"end": 314,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 25
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 315,
"end": 316,
"loc": {
"start": {
"line": 6,
"column": 26
},
"end": {
"line": 6,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 317,
"end": 321,
"loc": {
"start": {
"line": 6,
"column": 28
},
"end": {
"line": 6,
"column": 32
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../components/display",
"start": 322,
"end": 345,
"loc": {
"start": {
"line": 6,
"column": 33
},
"end": {
"line": 6,
"column": 56
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 345,
"end": 346,
"loc": {
"start": {
"line": 6,
"column": 56
},
"end": {
"line": 6,
"column": 57
}
}
},
{
"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": 348,
"end": 354,
"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": 355,
"end": 356,
"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": 357,
"end": 375,
"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": 376,
"end": 377,
"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": 378,
"end": 382,
"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": 383,
"end": 402,
"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": 402,
"end": 403,
"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": 407,
"end": 413,
"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": 414,
"end": 419,
"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": "MetaDisplayBuilding",
"start": 420,
"end": 439,
"loc": {
"start": {
"line": 9,
"column": 13
},
"end": {
"line": 9,
"column": 32
}
}
},
{
"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": 440,
"end": 447,
"loc": {
"start": {
"line": 9,
"column": 33
},
"end": {
"line": 9,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaBuilding",
"start": 448,
"end": 460,
"loc": {
"start": {
"line": 9,
"column": 41
},
"end": {
"line": 9,
"column": 53
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 461,
"end": 462,
"loc": {
"start": {
"line": 9,
"column": 54
},
"end": {
"line": 9,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 468,
"end": 479,
"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": 479,
"end": 480,
"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": 480,
"end": 481,
"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": 482,
"end": 483,
"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": 493,
"end": 498,
"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": 498,
"end": 499,
"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": "display",
"start": 499,
"end": 508,
"loc": {
"start": {
"line": 11,
"column": 14
},
"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": 11,
"column": 23
},
"end": {
"line": 11,
"column": 24
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 509,
"end": 510,
"loc": {
"start": {
"line": 11,
"column": 24
},
"end": {
"line": 11,
"column": 25
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 516,
"end": 517,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 12,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 525,
"end": 569,
"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": 575,
"end": 593,
"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": 593,
"end": 594,
"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": 594,
"end": 601,
"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": 601,
"end": 602,
"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": 603,
"end": 604,
"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": 614,
"end": 620,
"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": "MetaDisplayBuilding",
"start": 621,
"end": 640,
"loc": {
"start": {
"line": 18,
"column": 15
},
"end": {
"line": 18,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 640,
"end": 641,
"loc": {
"start": {
"line": 18,
"column": 34
},
"end": {
"line": 18,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "silhouetteColors",
"start": 641,
"end": 657,
"loc": {
"start": {
"line": 18,
"column": 35
},
"end": {
"line": 18,
"column": 51
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 657,
"end": 658,
"loc": {
"start": {
"line": 18,
"column": 51
},
"end": {
"line": 18,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 658,
"end": 665,
"loc": {
"start": {
"line": 18,
"column": 52
},
"end": {
"line": 18,
"column": 59
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 665,
"end": 666,
"loc": {
"start": {
"line": 18,
"column": 59
},
"end": {
"line": 18,
"column": 60
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 666,
"end": 667,
"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": 667,
"end": 668,
"loc": {
"start": {
"line": 18,
"column": 61
},
"end": {
"line": 18,
"column": 62
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 668,
"end": 669,
"loc": {
"start": {
"line": 18,
"column": 62
},
"end": {
"line": 18,
"column": 63
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 675,
"end": 676,
"loc": {
"start": {
"line": 19,
"column": 4
},
"end": {
"line": 19,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {GameRoot} root\r\n ",
"start": 684,
"end": 727,
"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": "getIsUnlocked",
"start": 733,
"end": 746,
"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": 746,
"end": 747,
"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": "root",
"start": 747,
"end": 751,
"loc": {
"start": {
"line": 24,
"column": 18
},
"end": {
"line": 24,
"column": 22
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 751,
"end": 752,
"loc": {
"start": {
"line": 24,
"column": 22
},
"end": {
"line": 24,
"column": 23
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 753,
"end": 754,
"loc": {
"start": {
"line": 24,
"column": 24
},
"end": {
"line": 24,
"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": 764,
"end": 770,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"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": 771,
"end": 775,
"loc": {
"start": {
"line": 25,
"column": 15
},
"end": {
"line": 25,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 775,
"end": 776,
"loc": {
"start": {
"line": 25,
"column": 19
},
"end": {
"line": 25,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getAvailableVariants",
"start": 776,
"end": 796,
"loc": {
"start": {
"line": 25,
"column": 20
},
"end": {
"line": 25,
"column": 40
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 796,
"end": 797,
"loc": {
"start": {
"line": 25,
"column": 40
},
"end": {
"line": 25,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 797,
"end": 801,
"loc": {
"start": {
"line": 25,
"column": 41
},
"end": {
"line": 25,
"column": 45
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 801,
"end": 802,
"loc": {
"start": {
"line": 25,
"column": 45
},
"end": {
"line": 25,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 802,
"end": 803,
"loc": {
"start": {
"line": 25,
"column": 46
},
"end": {
"line": 25,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 803,
"end": 809,
"loc": {
"start": {
"line": 25,
"column": 47
},
"end": {
"line": 25,
"column": 53
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": ">",
"start": 810,
"end": 811,
"loc": {
"start": {
"line": 25,
"column": 54
},
"end": {
"line": 25,
"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": 812,
"end": 813,
"loc": {
"start": {
"line": 25,
"column": 56
},
"end": {
"line": 25,
"column": 57
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 813,
"end": 814,
"loc": {
"start": {
"line": 25,
"column": 57
},
"end": {
"line": 25,
"column": 58
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 820,
"end": 821,
"loc": {
"start": {
"line": 26,
"column": 4
},
"end": {
"line": 26,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {GameRoot} root\r\n ",
"start": 829,
"end": 872,
"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": "getAvailableVariants",
"start": 878,
"end": 898,
"loc": {
"start": {
"line": 31,
"column": 4
},
"end": {
"line": 31,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 898,
"end": 899,
"loc": {
"start": {
"line": 31,
"column": 24
},
"end": {
"line": 31,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 899,
"end": 903,
"loc": {
"start": {
"line": 31,
"column": 25
},
"end": {
"line": 31,
"column": 29
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 903,
"end": 904,
"loc": {
"start": {
"line": 31,
"column": 29
},
"end": {
"line": 31,
"column": 30
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 905,
"end": 906,
"loc": {
"start": {
"line": 31,
"column": 31
},
"end": {
"line": 31,
"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": 916,
"end": 921,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variants",
"start": 922,
"end": 930,
"loc": {
"start": {
"line": 32,
"column": 14
},
"end": {
"line": 32,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 931,
"end": 932,
"loc": {
"start": {
"line": 32,
"column": 23
},
"end": {
"line": 32,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaDisplayBuilding",
"start": 933,
"end": 952,
"loc": {
"start": {
"line": 32,
"column": 25
},
"end": {
"line": 32,
"column": 44
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 952,
"end": 953,
"loc": {
"start": {
"line": 32,
"column": 44
},
"end": {
"line": 32,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "avaibleVariants",
"start": 953,
"end": 968,
"loc": {
"start": {
"line": 32,
"column": 45
},
"end": {
"line": 32,
"column": 60
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 968,
"end": 969,
"loc": {
"start": {
"line": 32,
"column": 60
},
"end": {
"line": 32,
"column": 61
}
}
},
{
"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": 981,
"end": 984,
"loc": {
"start": {
"line": 34,
"column": 8
},
"end": {
"line": 34,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "available",
"start": 985,
"end": 994,
"loc": {
"start": {
"line": 34,
"column": 12
},
"end": {
"line": 34,
"column": 21
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 995,
"end": 996,
"loc": {
"start": {
"line": 34,
"column": 22
},
"end": {
"line": 34,
"column": 23
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 997,
"end": 998,
"loc": {
"start": {
"line": 34,
"column": 24
},
"end": {
"line": 34,
"column": 25
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 998,
"end": 999,
"loc": {
"start": {
"line": 34,
"column": 25
},
"end": {
"line": 34,
"column": 26
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 999,
"end": 1000,
"loc": {
"start": {
"line": 34,
"column": 26
},
"end": {
"line": 34,
"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": 1010,
"end": 1013,
"loc": {
"start": {
"line": 35,
"column": 8
},
"end": {
"line": 35,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1014,
"end": 1015,
"loc": {
"start": {
"line": 35,
"column": 12
},
"end": {
"line": 35,
"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": 1015,
"end": 1020,
"loc": {
"start": {
"line": 35,
"column": 13
},
"end": {
"line": 35,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 1021,
"end": 1028,
"loc": {
"start": {
"line": 35,
"column": 19
},
"end": {
"line": 35,
"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": 1029,
"end": 1031,
"loc": {
"start": {
"line": 35,
"column": 27
},
"end": {
"line": 35,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variants",
"start": 1032,
"end": 1040,
"loc": {
"start": {
"line": 35,
"column": 30
},
"end": {
"line": 35,
"column": 38
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1040,
"end": 1041,
"loc": {
"start": {
"line": 35,
"column": 38
},
"end": {
"line": 35,
"column": 39
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1042,
"end": 1043,
"loc": {
"start": {
"line": 35,
"column": 40
},
"end": {
"line": 35,
"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": 1057,
"end": 1059,
"loc": {
"start": {
"line": 36,
"column": 12
},
"end": {
"line": 36,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1060,
"end": 1061,
"loc": {
"start": {
"line": 36,
"column": 15
},
"end": {
"line": 36,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variants",
"start": 1061,
"end": 1069,
"loc": {
"start": {
"line": 36,
"column": 16
},
"end": {
"line": 36,
"column": 24
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1069,
"end": 1070,
"loc": {
"start": {
"line": 36,
"column": 24
},
"end": {
"line": 36,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 1070,
"end": 1077,
"loc": {
"start": {
"line": 36,
"column": 25
},
"end": {
"line": 36,
"column": 32
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1077,
"end": 1078,
"loc": {
"start": {
"line": 36,
"column": 32
},
"end": {
"line": 36,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1078,
"end": 1079,
"loc": {
"start": {
"line": 36,
"column": 33
},
"end": {
"line": 36,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 1079,
"end": 1083,
"loc": {
"start": {
"line": 36,
"column": 34
},
"end": {
"line": 36,
"column": 38
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1083,
"end": 1084,
"loc": {
"start": {
"line": 36,
"column": 38
},
"end": {
"line": 36,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1084,
"end": 1085,
"loc": {
"start": {
"line": 36,
"column": 39
},
"end": {
"line": 36,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "available",
"start": 1086,
"end": 1095,
"loc": {
"start": {
"line": 36,
"column": 41
},
"end": {
"line": 36,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1095,
"end": 1096,
"loc": {
"start": {
"line": 36,
"column": 50
},
"end": {
"line": 36,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "push",
"start": 1096,
"end": 1100,
"loc": {
"start": {
"line": 36,
"column": 51
},
"end": {
"line": 36,
"column": 55
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1100,
"end": 1101,
"loc": {
"start": {
"line": 36,
"column": 55
},
"end": {
"line": 36,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 1101,
"end": 1108,
"loc": {
"start": {
"line": 36,
"column": 56
},
"end": {
"line": 36,
"column": 63
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1108,
"end": 1109,
"loc": {
"start": {
"line": 36,
"column": 63
},
"end": {
"line": 36,
"column": 64
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1109,
"end": 1110,
"loc": {
"start": {
"line": 36,
"column": 64
},
"end": {
"line": 36,
"column": 65
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1120,
"end": 1121,
"loc": {
"start": {
"line": 37,
"column": 8
},
"end": {
"line": 37,
"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": 1133,
"end": 1139,
"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": "available",
"start": 1140,
"end": 1149,
"loc": {
"start": {
"line": 39,
"column": 15
},
"end": {
"line": 39,
"column": 24
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1149,
"end": 1150,
"loc": {
"start": {
"line": 39,
"column": 24
},
"end": {
"line": 39,
"column": 25
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1156,
"end": 1157,
"loc": {
"start": {
"line": 40,
"column": 4
},
"end": {
"line": 40,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 1165,
"end": 1209,
"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": "getIsRemovable",
"start": 1215,
"end": 1229,
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 45,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1229,
"end": 1230,
"loc": {
"start": {
"line": 45,
"column": 18
},
"end": {
"line": 45,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 1230,
"end": 1237,
"loc": {
"start": {
"line": 45,
"column": 19
},
"end": {
"line": 45,
"column": 26
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1237,
"end": 1238,
"loc": {
"start": {
"line": 45,
"column": 26
},
"end": {
"line": 45,
"column": 27
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1239,
"end": 1240,
"loc": {
"start": {
"line": 45,
"column": 28
},
"end": {
"line": 45,
"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": 1250,
"end": 1256,
"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": "MetaDisplayBuilding",
"start": 1257,
"end": 1276,
"loc": {
"start": {
"line": 46,
"column": 15
},
"end": {
"line": 46,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1276,
"end": 1277,
"loc": {
"start": {
"line": 46,
"column": 34
},
"end": {
"line": 46,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isRemovable",
"start": 1277,
"end": 1288,
"loc": {
"start": {
"line": 46,
"column": 35
},
"end": {
"line": 46,
"column": 46
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1288,
"end": 1289,
"loc": {
"start": {
"line": 46,
"column": 46
},
"end": {
"line": 46,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 1289,
"end": 1296,
"loc": {
"start": {
"line": 46,
"column": 47
},
"end": {
"line": 46,
"column": 54
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1296,
"end": 1297,
"loc": {
"start": {
"line": 46,
"column": 54
},
"end": {
"line": 46,
"column": 55
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1297,
"end": 1298,
"loc": {
"start": {
"line": 46,
"column": 55
},
"end": {
"line": 46,
"column": 56
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1298,
"end": 1299,
"loc": {
"start": {
"line": 46,
"column": 56
},
"end": {
"line": 46,
"column": 57
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1299,
"end": 1300,
"loc": {
"start": {
"line": 46,
"column": 57
},
"end": {
"line": 46,
"column": 58
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1306,
"end": 1307,
"loc": {
"start": {
"line": 47,
"column": 4
},
"end": {
"line": 47,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 1315,
"end": 1359,
"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": "getIsRotateable",
"start": 1365,
"end": 1380,
"loc": {
"start": {
"line": 52,
"column": 4
},
"end": {
"line": 52,
"column": 19
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1380,
"end": 1381,
"loc": {
"start": {
"line": 52,
"column": 19
},
"end": {
"line": 52,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 1381,
"end": 1388,
"loc": {
"start": {
"line": 52,
"column": 20
},
"end": {
"line": 52,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1388,
"end": 1389,
"loc": {
"start": {
"line": 52,
"column": 27
},
"end": {
"line": 52,
"column": 28
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1390,
"end": 1391,
"loc": {
"start": {
"line": 52,
"column": 29
},
"end": {
"line": 52,
"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": 1401,
"end": 1407,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 53,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaDisplayBuilding",
"start": 1408,
"end": 1427,
"loc": {
"start": {
"line": 53,
"column": 15
},
"end": {
"line": 53,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1427,
"end": 1428,
"loc": {
"start": {
"line": 53,
"column": 34
},
"end": {
"line": 53,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isRotateable",
"start": 1428,
"end": 1440,
"loc": {
"start": {
"line": 53,
"column": 35
},
"end": {
"line": 53,
"column": 47
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1440,
"end": 1441,
"loc": {
"start": {
"line": 53,
"column": 47
},
"end": {
"line": 53,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 1441,
"end": 1448,
"loc": {
"start": {
"line": 53,
"column": 48
},
"end": {
"line": 53,
"column": 55
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1448,
"end": 1449,
"loc": {
"start": {
"line": 53,
"column": 55
},
"end": {
"line": 53,
"column": 56
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1449,
"end": 1450,
"loc": {
"start": {
"line": 53,
"column": 56
},
"end": {
"line": 53,
"column": 57
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1450,
"end": 1451,
"loc": {
"start": {
"line": 53,
"column": 57
},
"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": 1451,
"end": 1452,
"loc": {
"start": {
"line": 53,
"column": 58
},
"end": {
"line": 53,
"column": 59
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1458,
"end": 1459,
"loc": {
"start": {
"line": 54,
"column": 4
},
"end": {
"line": 54,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 1467,
"end": 1511,
"loc": {
"start": {
"line": 56,
"column": 4
},
"end": {
"line": 58,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getDimensions",
"start": 1517,
"end": 1530,
"loc": {
"start": {
"line": 59,
"column": 4
},
"end": {
"line": 59,
"column": 17
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1530,
"end": 1531,
"loc": {
"start": {
"line": 59,
"column": 17
},
"end": {
"line": 59,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 1531,
"end": 1538,
"loc": {
"start": {
"line": 59,
"column": 18
},
"end": {
"line": 59,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1538,
"end": 1539,
"loc": {
"start": {
"line": 59,
"column": 25
},
"end": {
"line": 59,
"column": 26
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1540,
"end": 1541,
"loc": {
"start": {
"line": 59,
"column": 27
},
"end": {
"line": 59,
"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": 1551,
"end": 1557,
"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": "MetaDisplayBuilding",
"start": 1558,
"end": 1577,
"loc": {
"start": {
"line": 60,
"column": 15
},
"end": {
"line": 60,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1577,
"end": 1578,
"loc": {
"start": {
"line": 60,
"column": 34
},
"end": {
"line": 60,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dimensions",
"start": 1578,
"end": 1588,
"loc": {
"start": {
"line": 60,
"column": 35
},
"end": {
"line": 60,
"column": 45
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1588,
"end": 1589,
"loc": {
"start": {
"line": 60,
"column": 45
},
"end": {
"line": 60,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 1589,
"end": 1596,
"loc": {
"start": {
"line": 60,
"column": 46
},
"end": {
"line": 60,
"column": 53
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1596,
"end": 1597,
"loc": {
"start": {
"line": 60,
"column": 53
},
"end": {
"line": 60,
"column": 54
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1597,
"end": 1598,
"loc": {
"start": {
"line": 60,
"column": 54
},
"end": {
"line": 60,
"column": 55
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1598,
"end": 1599,
"loc": {
"start": {
"line": 60,
"column": 55
},
"end": {
"line": 60,
"column": 56
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1599,
"end": 1600,
"loc": {
"start": {
"line": 60,
"column": 56
},
"end": {
"line": 60,
"column": 57
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1606,
"end": 1607,
"loc": {
"start": {
"line": 61,
"column": 4
},
"end": {
"line": 61,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 1615,
"end": 1659,
"loc": {
"start": {
"line": 63,
"column": 4
},
"end": {
"line": 65,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getShowLayerPreview",
"start": 1665,
"end": 1684,
"loc": {
"start": {
"line": 66,
"column": 4
},
"end": {
"line": 66,
"column": 23
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1684,
"end": 1685,
"loc": {
"start": {
"line": 66,
"column": 23
},
"end": {
"line": 66,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 1685,
"end": 1692,
"loc": {
"start": {
"line": 66,
"column": 24
},
"end": {
"line": 66,
"column": 31
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1692,
"end": 1693,
"loc": {
"start": {
"line": 66,
"column": 31
},
"end": {
"line": 66,
"column": 32
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1694,
"end": 1695,
"loc": {
"start": {
"line": 66,
"column": 33
},
"end": {
"line": 66,
"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": 1705,
"end": 1711,
"loc": {
"start": {
"line": 67,
"column": 8
},
"end": {
"line": 67,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaDisplayBuilding",
"start": 1712,
"end": 1731,
"loc": {
"start": {
"line": 67,
"column": 15
},
"end": {
"line": 67,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1731,
"end": 1732,
"loc": {
"start": {
"line": 67,
"column": 34
},
"end": {
"line": 67,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "layerPreview",
"start": 1732,
"end": 1744,
"loc": {
"start": {
"line": 67,
"column": 35
},
"end": {
"line": 67,
"column": 47
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1744,
"end": 1745,
"loc": {
"start": {
"line": 67,
"column": 47
},
"end": {
"line": 67,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 1745,
"end": 1752,
"loc": {
"start": {
"line": 67,
"column": 48
},
"end": {
"line": 67,
"column": 55
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1752,
"end": 1753,
"loc": {
"start": {
"line": 67,
"column": 55
},
"end": {
"line": 67,
"column": 56
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1753,
"end": 1754,
"loc": {
"start": {
"line": 67,
"column": 56
},
"end": {
"line": 67,
"column": 57
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1754,
"end": 1755,
"loc": {
"start": {
"line": 67,
"column": 57
},
"end": {
"line": 67,
"column": 58
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1755,
"end": 1756,
"loc": {
"start": {
"line": 67,
"column": 58
},
"end": {
"line": 67,
"column": 59
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1762,
"end": 1763,
"loc": {
"start": {
"line": 68,
"column": 4
},
"end": {
"line": 68,
"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": 1771,
"end": 1918,
"loc": {
"start": {
"line": 70,
"column": 4
},
"end": {
"line": 75,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getLayer",
"start": 1924,
"end": 1932,
"loc": {
"start": {
"line": 76,
"column": 4
},
"end": {
"line": 76,
"column": 12
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1932,
"end": 1933,
"loc": {
"start": {
"line": 76,
"column": 12
},
"end": {
"line": 76,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 1933,
"end": 1937,
"loc": {
"start": {
"line": 76,
"column": 13
},
"end": {
"line": 76,
"column": 17
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1937,
"end": 1938,
"loc": {
"start": {
"line": 76,
"column": 17
},
"end": {
"line": 76,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 1939,
"end": 1946,
"loc": {
"start": {
"line": 76,
"column": 19
},
"end": {
"line": 76,
"column": 26
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1946,
"end": 1947,
"loc": {
"start": {
"line": 76,
"column": 26
},
"end": {
"line": 76,
"column": 27
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1948,
"end": 1949,
"loc": {
"start": {
"line": 76,
"column": 28
},
"end": {
"line": 76,
"column": 29
}
}
},
{
"type": "CommentLine",
"value": " @ts-ignore",
"start": 1959,
"end": 1972,
"loc": {
"start": {
"line": 77,
"column": 8
},
"end": {
"line": 77,
"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": 1982,
"end": 1988,
"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": "MetaDisplayBuilding",
"start": 1989,
"end": 2008,
"loc": {
"start": {
"line": 78,
"column": 15
},
"end": {
"line": 78,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2008,
"end": 2009,
"loc": {
"start": {
"line": 78,
"column": 34
},
"end": {
"line": 78,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "layerByVariant",
"start": 2009,
"end": 2023,
"loc": {
"start": {
"line": 78,
"column": 35
},
"end": {
"line": 78,
"column": 49
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2023,
"end": 2024,
"loc": {
"start": {
"line": 78,
"column": 49
},
"end": {
"line": 78,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 2024,
"end": 2031,
"loc": {
"start": {
"line": 78,
"column": 50
},
"end": {
"line": 78,
"column": 57
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2031,
"end": 2032,
"loc": {
"start": {
"line": 78,
"column": 57
},
"end": {
"line": 78,
"column": 58
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2032,
"end": 2033,
"loc": {
"start": {
"line": 78,
"column": 58
},
"end": {
"line": 78,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 2033,
"end": 2037,
"loc": {
"start": {
"line": 78,
"column": 59
},
"end": {
"line": 78,
"column": 63
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2037,
"end": 2038,
"loc": {
"start": {
"line": 78,
"column": 63
},
"end": {
"line": 78,
"column": 64
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2038,
"end": 2039,
"loc": {
"start": {
"line": 78,
"column": 64
},
"end": {
"line": 78,
"column": 65
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2045,
"end": 2046,
"loc": {
"start": {
"line": 79,
"column": 4
},
"end": {
"line": 79,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 2054,
"end": 2098,
"loc": {
"start": {
"line": 81,
"column": 4
},
"end": {
"line": 83,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getRenderPins",
"start": 2104,
"end": 2117,
"loc": {
"start": {
"line": 84,
"column": 4
},
"end": {
"line": 84,
"column": 17
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2117,
"end": 2118,
"loc": {
"start": {
"line": 84,
"column": 17
},
"end": {
"line": 84,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 2118,
"end": 2125,
"loc": {
"start": {
"line": 84,
"column": 18
},
"end": {
"line": 84,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2125,
"end": 2126,
"loc": {
"start": {
"line": 84,
"column": 25
},
"end": {
"line": 84,
"column": 26
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2127,
"end": 2128,
"loc": {
"start": {
"line": 84,
"column": 27
},
"end": {
"line": 84,
"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": 2138,
"end": 2144,
"loc": {
"start": {
"line": 85,
"column": 8
},
"end": {
"line": 85,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaDisplayBuilding",
"start": 2145,
"end": 2164,
"loc": {
"start": {
"line": 85,
"column": 15
},
"end": {
"line": 85,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2164,
"end": 2165,
"loc": {
"start": {
"line": 85,
"column": 34
},
"end": {
"line": 85,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "renderPins",
"start": 2165,
"end": 2175,
"loc": {
"start": {
"line": 85,
"column": 35
},
"end": {
"line": 85,
"column": 45
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2175,
"end": 2176,
"loc": {
"start": {
"line": 85,
"column": 45
},
"end": {
"line": 85,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 2176,
"end": 2183,
"loc": {
"start": {
"line": 85,
"column": 46
},
"end": {
"line": 85,
"column": 53
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2183,
"end": 2184,
"loc": {
"start": {
"line": 85,
"column": 53
},
"end": {
"line": 85,
"column": 54
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2184,
"end": 2185,
"loc": {
"start": {
"line": 85,
"column": 54
},
"end": {
"line": 85,
"column": 55
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2185,
"end": 2186,
"loc": {
"start": {
"line": 85,
"column": 55
},
"end": {
"line": 85,
"column": 56
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2186,
"end": 2187,
"loc": {
"start": {
"line": 85,
"column": 56
},
"end": {
"line": 85,
"column": 57
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2193,
"end": 2194,
"loc": {
"start": {
"line": 86,
"column": 4
},
"end": {
"line": 86,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Creates the entity at the given location\r\n * @param {Entity} entity\r\n ",
"start": 2202,
"end": 2294,
"loc": {
"start": {
"line": 88,
"column": 4
},
"end": {
"line": 91,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setupEntityComponents",
"start": 2300,
"end": 2321,
"loc": {
"start": {
"line": 92,
"column": 4
},
"end": {
"line": 92,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2321,
"end": 2322,
"loc": {
"start": {
"line": 92,
"column": 25
},
"end": {
"line": 92,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2322,
"end": 2328,
"loc": {
"start": {
"line": 92,
"column": 26
},
"end": {
"line": 92,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2328,
"end": 2329,
"loc": {
"start": {
"line": 92,
"column": 32
},
"end": {
"line": 92,
"column": 33
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2330,
"end": 2331,
"loc": {
"start": {
"line": 92,
"column": 34
},
"end": {
"line": 92,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaDisplayBuilding",
"start": 2341,
"end": 2360,
"loc": {
"start": {
"line": 93,
"column": 8
},
"end": {
"line": 93,
"column": 27
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2360,
"end": 2361,
"loc": {
"start": {
"line": 93,
"column": 27
},
"end": {
"line": 93,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setupEntityComponents",
"start": 2361,
"end": 2382,
"loc": {
"start": {
"line": 93,
"column": 28
},
"end": {
"line": 93,
"column": 49
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2382,
"end": 2383,
"loc": {
"start": {
"line": 93,
"column": 49
},
"end": {
"line": 93,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "forEach",
"start": 2383,
"end": 2390,
"loc": {
"start": {
"line": 93,
"column": 50
},
"end": {
"line": 93,
"column": 57
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2390,
"end": 2391,
"loc": {
"start": {
"line": 93,
"column": 57
},
"end": {
"line": 93,
"column": 58
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "func",
"start": 2391,
"end": 2395,
"loc": {
"start": {
"line": 93,
"column": 58
},
"end": {
"line": 93,
"column": 62
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2396,
"end": 2398,
"loc": {
"start": {
"line": 93,
"column": 63
},
"end": {
"line": 93,
"column": 65
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "func",
"start": 2399,
"end": 2403,
"loc": {
"start": {
"line": 93,
"column": 66
},
"end": {
"line": 93,
"column": 70
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2403,
"end": 2404,
"loc": {
"start": {
"line": 93,
"column": 70
},
"end": {
"line": 93,
"column": 71
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2404,
"end": 2410,
"loc": {
"start": {
"line": 93,
"column": 71
},
"end": {
"line": 93,
"column": 77
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2410,
"end": 2411,
"loc": {
"start": {
"line": 93,
"column": 77
},
"end": {
"line": 93,
"column": 78
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2411,
"end": 2412,
"loc": {
"start": {
"line": 93,
"column": 78
},
"end": {
"line": 93,
"column": 79
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2412,
"end": 2413,
"loc": {
"start": {
"line": 93,
"column": 79
},
"end": {
"line": 93,
"column": 80
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2419,
"end": 2420,
"loc": {
"start": {
"line": 94,
"column": 4
},
"end": {
"line": 94,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {Entity} entity\r\n * @param {number} rotationVariant\r\n * @param {string} variant\r\n ",
"start": 2428,
"end": 2543,
"loc": {
"start": {
"line": 96,
"column": 4
},
"end": {
"line": 100,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "updateVariants",
"start": 2549,
"end": 2563,
"loc": {
"start": {
"line": 101,
"column": 4
},
"end": {
"line": 101,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2563,
"end": 2564,
"loc": {
"start": {
"line": 101,
"column": 18
},
"end": {
"line": 101,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2564,
"end": 2570,
"loc": {
"start": {
"line": 101,
"column": 19
},
"end": {
"line": 101,
"column": 25
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2570,
"end": 2571,
"loc": {
"start": {
"line": 101,
"column": 25
},
"end": {
"line": 101,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotationVariant",
"start": 2572,
"end": 2587,
"loc": {
"start": {
"line": 101,
"column": 27
},
"end": {
"line": 101,
"column": 42
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2587,
"end": 2588,
"loc": {
"start": {
"line": 101,
"column": 42
},
"end": {
"line": 101,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 2589,
"end": 2596,
"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
},
"start": 2596,
"end": 2597,
"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": 2598,
"end": 2599,
"loc": {
"start": {
"line": 101,
"column": 53
},
"end": {
"line": 101,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaDisplayBuilding",
"start": 2609,
"end": 2628,
"loc": {
"start": {
"line": 102,
"column": 8
},
"end": {
"line": 102,
"column": 27
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2628,
"end": 2629,
"loc": {
"start": {
"line": 102,
"column": 27
},
"end": {
"line": 102,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "componentVariations",
"start": 2629,
"end": 2648,
"loc": {
"start": {
"line": 102,
"column": 28
},
"end": {
"line": 102,
"column": 47
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2648,
"end": 2649,
"loc": {
"start": {
"line": 102,
"column": 47
},
"end": {
"line": 102,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 2649,
"end": 2656,
"loc": {
"start": {
"line": 102,
"column": 48
},
"end": {
"line": 102,
"column": 55
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2656,
"end": 2657,
"loc": {
"start": {
"line": 102,
"column": 55
},
"end": {
"line": 102,
"column": 56
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2657,
"end": 2658,
"loc": {
"start": {
"line": 102,
"column": 56
},
"end": {
"line": 102,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2658,
"end": 2664,
"loc": {
"start": {
"line": 102,
"column": 57
},
"end": {
"line": 102,
"column": 63
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2664,
"end": 2665,
"loc": {
"start": {
"line": 102,
"column": 63
},
"end": {
"line": 102,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotationVariant",
"start": 2666,
"end": 2681,
"loc": {
"start": {
"line": 102,
"column": 65
},
"end": {
"line": 102,
"column": 80
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2681,
"end": 2682,
"loc": {
"start": {
"line": 102,
"column": 80
},
"end": {
"line": 102,
"column": 81
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2682,
"end": 2683,
"loc": {
"start": {
"line": 102,
"column": 81
},
"end": {
"line": 102,
"column": 82
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2689,
"end": 2690,
"loc": {
"start": {
"line": 103,
"column": 4
},
"end": {
"line": 103,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2692,
"end": 2693,
"loc": {
"start": {
"line": 104,
"column": 0
},
"end": {
"line": 104,
"column": 1
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaDisplayBuilding",
"start": 2697,
"end": 2716,
"loc": {
"start": {
"line": 106,
"column": 0
},
"end": {
"line": 106,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2716,
"end": 2717,
"loc": {
"start": {
"line": 106,
"column": 19
},
"end": {
"line": 106,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setupEntityComponents",
"start": 2717,
"end": 2738,
"loc": {
"start": {
"line": 106,
"column": 20
},
"end": {
"line": 106,
"column": 41
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2739,
"end": 2740,
"loc": {
"start": {
"line": 106,
"column": 42
},
"end": {
"line": 106,
"column": 43
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2741,
"end": 2742,
"loc": {
"start": {
"line": 106,
"column": 44
},
"end": {
"line": 106,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2748,
"end": 2754,
"loc": {
"start": {
"line": 107,
"column": 4
},
"end": {
"line": 107,
"column": 10
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2755,
"end": 2757,
"loc": {
"start": {
"line": 107,
"column": 11
},
"end": {
"line": 107,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2763,
"end": 2769,
"loc": {
"start": {
"line": 108,
"column": 4
},
"end": {
"line": 108,
"column": 10
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2769,
"end": 2770,
"loc": {
"start": {
"line": 108,
"column": 10
},
"end": {
"line": 108,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "addComponent",
"start": 2770,
"end": 2782,
"loc": {
"start": {
"line": 108,
"column": 11
},
"end": {
"line": 108,
"column": 23
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2782,
"end": 2783,
"loc": {
"start": {
"line": 108,
"column": 23
},
"end": {
"line": 108,
"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": 2793,
"end": 2796,
"loc": {
"start": {
"line": 109,
"column": 8
},
"end": {
"line": 109,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "WiredPinsComponent",
"start": 2797,
"end": 2815,
"loc": {
"start": {
"line": 109,
"column": 12
},
"end": {
"line": 109,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2815,
"end": 2816,
"loc": {
"start": {
"line": 109,
"column": 30
},
"end": {
"line": 109,
"column": 31
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2816,
"end": 2817,
"loc": {
"start": {
"line": 109,
"column": 31
},
"end": {
"line": 109,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slots",
"start": 2831,
"end": 2836,
"loc": {
"start": {
"line": 110,
"column": 12
},
"end": {
"line": 110,
"column": 17
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2836,
"end": 2837,
"loc": {
"start": {
"line": 110,
"column": 17
},
"end": {
"line": 110,
"column": 18
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2838,
"end": 2839,
"loc": {
"start": {
"line": 110,
"column": 19
},
"end": {
"line": 110,
"column": 20
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2839,
"end": 2840,
"loc": {
"start": {
"line": 110,
"column": 20
},
"end": {
"line": 110,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pos",
"start": 2858,
"end": 2861,
"loc": {
"start": {
"line": 111,
"column": 16
},
"end": {
"line": 111,
"column": 19
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2861,
"end": 2862,
"loc": {
"start": {
"line": 111,
"column": 19
},
"end": {
"line": 111,
"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": 2863,
"end": 2866,
"loc": {
"start": {
"line": 111,
"column": 21
},
"end": {
"line": 111,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Vector",
"start": 2867,
"end": 2873,
"loc": {
"start": {
"line": 111,
"column": 25
},
"end": {
"line": 111,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2873,
"end": 2874,
"loc": {
"start": {
"line": 111,
"column": 31
},
"end": {
"line": 111,
"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": 2874,
"end": 2875,
"loc": {
"start": {
"line": 111,
"column": 32
},
"end": {
"line": 111,
"column": 33
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2875,
"end": 2876,
"loc": {
"start": {
"line": 111,
"column": 33
},
"end": {
"line": 111,
"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": 2877,
"end": 2878,
"loc": {
"start": {
"line": 111,
"column": 35
},
"end": {
"line": 111,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2878,
"end": 2879,
"loc": {
"start": {
"line": 111,
"column": 36
},
"end": {
"line": 111,
"column": 37
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2879,
"end": 2880,
"loc": {
"start": {
"line": 111,
"column": 37
},
"end": {
"line": 111,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "direction",
"start": 2898,
"end": 2907,
"loc": {
"start": {
"line": 112,
"column": 16
},
"end": {
"line": 112,
"column": 25
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2907,
"end": 2908,
"loc": {
"start": {
"line": 112,
"column": 25
},
"end": {
"line": 112,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumDirection",
"start": 2909,
"end": 2922,
"loc": {
"start": {
"line": 112,
"column": 27
},
"end": {
"line": 112,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2922,
"end": 2923,
"loc": {
"start": {
"line": 112,
"column": 40
},
"end": {
"line": 112,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bottom",
"start": 2923,
"end": 2929,
"loc": {
"start": {
"line": 112,
"column": 41
},
"end": {
"line": 112,
"column": 47
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2929,
"end": 2930,
"loc": {
"start": {
"line": 112,
"column": 47
},
"end": {
"line": 112,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "type",
"start": 2948,
"end": 2952,
"loc": {
"start": {
"line": 113,
"column": 16
},
"end": {
"line": 113,
"column": 20
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2952,
"end": 2953,
"loc": {
"start": {
"line": 113,
"column": 20
},
"end": {
"line": 113,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumPinSlotType",
"start": 2954,
"end": 2969,
"loc": {
"start": {
"line": 113,
"column": 22
},
"end": {
"line": 113,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2969,
"end": 2970,
"loc": {
"start": {
"line": 113,
"column": 37
},
"end": {
"line": 113,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logicalAcceptor",
"start": 2970,
"end": 2985,
"loc": {
"start": {
"line": 113,
"column": 38
},
"end": {
"line": 113,
"column": 53
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2985,
"end": 2986,
"loc": {
"start": {
"line": 113,
"column": 53
},
"end": {
"line": 113,
"column": 54
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3000,
"end": 3001,
"loc": {
"start": {
"line": 114,
"column": 12
},
"end": {
"line": 114,
"column": 13
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3001,
"end": 3002,
"loc": {
"start": {
"line": 114,
"column": 13
},
"end": {
"line": 114,
"column": 14
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3003,
"end": 3004,
"loc": {
"start": {
"line": 114,
"column": 15
},
"end": {
"line": 114,
"column": 16
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3004,
"end": 3005,
"loc": {
"start": {
"line": 114,
"column": 16
},
"end": {
"line": 114,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3015,
"end": 3016,
"loc": {
"start": {
"line": 115,
"column": 8
},
"end": {
"line": 115,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3016,
"end": 3017,
"loc": {
"start": {
"line": 115,
"column": 9
},
"end": {
"line": 115,
"column": 10
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3023,
"end": 3024,
"loc": {
"start": {
"line": 116,
"column": 4
},
"end": {
"line": 116,
"column": 5
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3024,
"end": 3025,
"loc": {
"start": {
"line": 116,
"column": 5
},
"end": {
"line": 116,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 3031,
"end": 3037,
"loc": {
"start": {
"line": 117,
"column": 4
},
"end": {
"line": 117,
"column": 10
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3038,
"end": 3040,
"loc": {
"start": {
"line": 117,
"column": 11
},
"end": {
"line": 117,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 3041,
"end": 3047,
"loc": {
"start": {
"line": 117,
"column": 14
},
"end": {
"line": 117,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3047,
"end": 3048,
"loc": {
"start": {
"line": 117,
"column": 20
},
"end": {
"line": 117,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "addComponent",
"start": 3048,
"end": 3060,
"loc": {
"start": {
"line": 117,
"column": 21
},
"end": {
"line": 117,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3060,
"end": 3061,
"loc": {
"start": {
"line": 117,
"column": 33
},
"end": {
"line": 117,
"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": 3061,
"end": 3064,
"loc": {
"start": {
"line": 117,
"column": 34
},
"end": {
"line": 117,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "DisplayComponent",
"start": 3065,
"end": 3081,
"loc": {
"start": {
"line": 117,
"column": 38
},
"end": {
"line": 117,
"column": 54
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3081,
"end": 3082,
"loc": {
"start": {
"line": 117,
"column": 54
},
"end": {
"line": 117,
"column": 55
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3082,
"end": 3083,
"loc": {
"start": {
"line": 117,
"column": 55
},
"end": {
"line": 117,
"column": 56
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3083,
"end": 3084,
"loc": {
"start": {
"line": 117,
"column": 56
},
"end": {
"line": 117,
"column": 57
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3084,
"end": 3085,
"loc": {
"start": {
"line": 117,
"column": 57
},
"end": {
"line": 117,
"column": 58
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3087,
"end": 3088,
"loc": {
"start": {
"line": 118,
"column": 0
},
"end": {
"line": 118,
"column": 1
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3088,
"end": 3089,
"loc": {
"start": {
"line": 118,
"column": 1
},
"end": {
"line": 118,
"column": 2
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaDisplayBuilding",
"start": 3093,
"end": 3112,
"loc": {
"start": {
"line": 120,
"column": 0
},
"end": {
"line": 120,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3112,
"end": 3113,
"loc": {
"start": {
"line": 120,
"column": 19
},
"end": {
"line": 120,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "overlayMatrices",
"start": 3113,
"end": 3128,
"loc": {
"start": {
"line": 120,
"column": 20
},
"end": {
"line": 120,
"column": 35
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3129,
"end": 3130,
"loc": {
"start": {
"line": 120,
"column": 36
},
"end": {
"line": 120,
"column": 37
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3131,
"end": 3132,
"loc": {
"start": {
"line": 120,
"column": 38
},
"end": {
"line": 120,
"column": 39
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3138,
"end": 3139,
"loc": {
"start": {
"line": 121,
"column": 4
},
"end": {
"line": 121,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "defaultBuildingVariant",
"start": 3139,
"end": 3161,
"loc": {
"start": {
"line": 121,
"column": 5
},
"end": {
"line": 121,
"column": 27
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3161,
"end": 3162,
"loc": {
"start": {
"line": 121,
"column": 27
},
"end": {
"line": 121,
"column": 28
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3162,
"end": 3163,
"loc": {
"start": {
"line": 121,
"column": 28
},
"end": {
"line": 121,
"column": 29
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3164,
"end": 3165,
"loc": {
"start": {
"line": 121,
"column": 30
},
"end": {
"line": 121,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 3165,
"end": 3171,
"loc": {
"start": {
"line": 121,
"column": 31
},
"end": {
"line": 121,
"column": 37
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3171,
"end": 3172,
"loc": {
"start": {
"line": 121,
"column": 37
},
"end": {
"line": 121,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotationVariant",
"start": 3173,
"end": 3188,
"loc": {
"start": {
"line": 121,
"column": 39
},
"end": {
"line": 121,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3188,
"end": 3189,
"loc": {
"start": {
"line": 121,
"column": 54
},
"end": {
"line": 121,
"column": 55
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3190,
"end": 3192,
"loc": {
"start": {
"line": 121,
"column": 56
},
"end": {
"line": 121,
"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": 3193,
"end": 3197,
"loc": {
"start": {
"line": 121,
"column": 59
},
"end": {
"line": 121,
"column": 63
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3197,
"end": 3198,
"loc": {
"start": {
"line": 121,
"column": 63
},
"end": {
"line": 121,
"column": 64
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3200,
"end": 3201,
"loc": {
"start": {
"line": 122,
"column": 0
},
"end": {
"line": 122,
"column": 1
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3201,
"end": 3202,
"loc": {
"start": {
"line": 122,
"column": 1
},
"end": {
"line": 122,
"column": 2
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaDisplayBuilding",
"start": 3206,
"end": 3225,
"loc": {
"start": {
"line": 124,
"column": 0
},
"end": {
"line": 124,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3225,
"end": 3226,
"loc": {
"start": {
"line": 124,
"column": 19
},
"end": {
"line": 124,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dimensions",
"start": 3226,
"end": 3236,
"loc": {
"start": {
"line": 124,
"column": 20
},
"end": {
"line": 124,
"column": 30
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3237,
"end": 3238,
"loc": {
"start": {
"line": 124,
"column": 31
},
"end": {
"line": 124,
"column": 32
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3239,
"end": 3240,
"loc": {
"start": {
"line": 124,
"column": 33
},
"end": {
"line": 124,
"column": 34
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3246,
"end": 3247,
"loc": {
"start": {
"line": 125,
"column": 4
},
"end": {
"line": 125,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "defaultBuildingVariant",
"start": 3247,
"end": 3269,
"loc": {
"start": {
"line": 125,
"column": 5
},
"end": {
"line": 125,
"column": 27
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3269,
"end": 3270,
"loc": {
"start": {
"line": 125,
"column": 27
},
"end": {
"line": 125,
"column": 28
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3270,
"end": 3271,
"loc": {
"start": {
"line": 125,
"column": 28
},
"end": {
"line": 125,
"column": 29
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3272,
"end": 3273,
"loc": {
"start": {
"line": 125,
"column": 30
},
"end": {
"line": 125,
"column": 31
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3273,
"end": 3274,
"loc": {
"start": {
"line": 125,
"column": 31
},
"end": {
"line": 125,
"column": 32
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3275,
"end": 3277,
"loc": {
"start": {
"line": 125,
"column": 33
},
"end": {
"line": 125,
"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": 3278,
"end": 3281,
"loc": {
"start": {
"line": 125,
"column": 36
},
"end": {
"line": 125,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Vector",
"start": 3282,
"end": 3288,
"loc": {
"start": {
"line": 125,
"column": 40
},
"end": {
"line": 125,
"column": 46
}
}
},
{
"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": 125,
"column": 46
},
"end": {
"line": 125,
"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": 3289,
"end": 3290,
"loc": {
"start": {
"line": 125,
"column": 47
},
"end": {
"line": 125,
"column": 48
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3290,
"end": 3291,
"loc": {
"start": {
"line": 125,
"column": 48
},
"end": {
"line": 125,
"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": 3292,
"end": 3293,
"loc": {
"start": {
"line": 125,
"column": 50
},
"end": {
"line": 125,
"column": 51
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3293,
"end": 3294,
"loc": {
"start": {
"line": 125,
"column": 51
},
"end": {
"line": 125,
"column": 52
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3294,
"end": 3295,
"loc": {
"start": {
"line": 125,
"column": 52
},
"end": {
"line": 125,
"column": 53
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3297,
"end": 3298,
"loc": {
"start": {
"line": 126,
"column": 0
},
"end": {
"line": 126,
"column": 1
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3298,
"end": 3299,
"loc": {
"start": {
"line": 126,
"column": 1
},
"end": {
"line": 126,
"column": 2
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaDisplayBuilding",
"start": 3303,
"end": 3322,
"loc": {
"start": {
"line": 128,
"column": 0
},
"end": {
"line": 128,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3322,
"end": 3323,
"loc": {
"start": {
"line": 128,
"column": 19
},
"end": {
"line": 128,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "silhouetteColors",
"start": 3323,
"end": 3339,
"loc": {
"start": {
"line": 128,
"column": 20
},
"end": {
"line": 128,
"column": 36
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3340,
"end": 3341,
"loc": {
"start": {
"line": 128,
"column": 37
},
"end": {
"line": 128,
"column": 38
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3342,
"end": 3343,
"loc": {
"start": {
"line": 128,
"column": 39
},
"end": {
"line": 128,
"column": 40
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3349,
"end": 3350,
"loc": {
"start": {
"line": 129,
"column": 4
},
"end": {
"line": 129,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "defaultBuildingVariant",
"start": 3350,
"end": 3372,
"loc": {
"start": {
"line": 129,
"column": 5
},
"end": {
"line": 129,
"column": 27
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3372,
"end": 3373,
"loc": {
"start": {
"line": 129,
"column": 27
},
"end": {
"line": 129,
"column": 28
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3373,
"end": 3374,
"loc": {
"start": {
"line": 129,
"column": 28
},
"end": {
"line": 129,
"column": 29
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3375,
"end": 3376,
"loc": {
"start": {
"line": 129,
"column": 30
},
"end": {
"line": 129,
"column": 31
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3376,
"end": 3377,
"loc": {
"start": {
"line": 129,
"column": 31
},
"end": {
"line": 129,
"column": 32
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3378,
"end": 3380,
"loc": {
"start": {
"line": 129,
"column": 33
},
"end": {
"line": 129,
"column": 35
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "#aaaaaa",
"start": 3381,
"end": 3390,
"loc": {
"start": {
"line": 129,
"column": 36
},
"end": {
"line": 129,
"column": 45
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3390,
"end": 3391,
"loc": {
"start": {
"line": 129,
"column": 45
},
"end": {
"line": 129,
"column": 46
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3393,
"end": 3394,
"loc": {
"start": {
"line": 130,
"column": 0
},
"end": {
"line": 130,
"column": 1
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3394,
"end": 3395,
"loc": {
"start": {
"line": 130,
"column": 1
},
"end": {
"line": 130,
"column": 2
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaDisplayBuilding",
"start": 3399,
"end": 3418,
"loc": {
"start": {
"line": 132,
"column": 0
},
"end": {
"line": 132,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3418,
"end": 3419,
"loc": {
"start": {
"line": 132,
"column": 19
},
"end": {
"line": 132,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isRemovable",
"start": 3419,
"end": 3430,
"loc": {
"start": {
"line": 132,
"column": 20
},
"end": {
"line": 132,
"column": 31
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3431,
"end": 3432,
"loc": {
"start": {
"line": 132,
"column": 32
},
"end": {
"line": 132,
"column": 33
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3433,
"end": 3434,
"loc": {
"start": {
"line": 132,
"column": 34
},
"end": {
"line": 132,
"column": 35
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3440,
"end": 3441,
"loc": {
"start": {
"line": 133,
"column": 4
},
"end": {
"line": 133,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "defaultBuildingVariant",
"start": 3441,
"end": 3463,
"loc": {
"start": {
"line": 133,
"column": 5
},
"end": {
"line": 133,
"column": 27
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3463,
"end": 3464,
"loc": {
"start": {
"line": 133,
"column": 27
},
"end": {
"line": 133,
"column": 28
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3464,
"end": 3465,
"loc": {
"start": {
"line": 133,
"column": 28
},
"end": {
"line": 133,
"column": 29
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3466,
"end": 3467,
"loc": {
"start": {
"line": 133,
"column": 30
},
"end": {
"line": 133,
"column": 31
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3467,
"end": 3468,
"loc": {
"start": {
"line": 133,
"column": 31
},
"end": {
"line": 133,
"column": 32
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3469,
"end": 3471,
"loc": {
"start": {
"line": 133,
"column": 33
},
"end": {
"line": 133,
"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": 3472,
"end": 3476,
"loc": {
"start": {
"line": 133,
"column": 36
},
"end": {
"line": 133,
"column": 40
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3476,
"end": 3477,
"loc": {
"start": {
"line": 133,
"column": 40
},
"end": {
"line": 133,
"column": 41
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3479,
"end": 3480,
"loc": {
"start": {
"line": 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": 3480,
"end": 3481,
"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": "MetaDisplayBuilding",
"start": 3485,
"end": 3504,
"loc": {
"start": {
"line": 136,
"column": 0
},
"end": {
"line": 136,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3504,
"end": 3505,
"loc": {
"start": {
"line": 136,
"column": 19
},
"end": {
"line": 136,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isRotateable",
"start": 3505,
"end": 3517,
"loc": {
"start": {
"line": 136,
"column": 20
},
"end": {
"line": 136,
"column": 32
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3518,
"end": 3519,
"loc": {
"start": {
"line": 136,
"column": 33
},
"end": {
"line": 136,
"column": 34
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3520,
"end": 3521,
"loc": {
"start": {
"line": 136,
"column": 35
},
"end": {
"line": 136,
"column": 36
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3527,
"end": 3528,
"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": 3528,
"end": 3550,
"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": 3550,
"end": 3551,
"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": 3551,
"end": 3552,
"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": 3553,
"end": 3554,
"loc": {
"start": {
"line": 137,
"column": 30
},
"end": {
"line": 137,
"column": 31
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3554,
"end": 3555,
"loc": {
"start": {
"line": 137,
"column": 31
},
"end": {
"line": 137,
"column": 32
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3556,
"end": 3558,
"loc": {
"start": {
"line": 137,
"column": 33
},
"end": {
"line": 137,
"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": 3559,
"end": 3563,
"loc": {
"start": {
"line": 137,
"column": 36
},
"end": {
"line": 137,
"column": 40
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3563,
"end": 3564,
"loc": {
"start": {
"line": 137,
"column": 40
},
"end": {
"line": 137,
"column": 41
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3566,
"end": 3567,
"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": 3567,
"end": 3568,
"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": "MetaDisplayBuilding",
"start": 3572,
"end": 3591,
"loc": {
"start": {
"line": 140,
"column": 0
},
"end": {
"line": 140,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3591,
"end": 3592,
"loc": {
"start": {
"line": 140,
"column": 19
},
"end": {
"line": 140,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "avaibleVariants",
"start": 3592,
"end": 3607,
"loc": {
"start": {
"line": 140,
"column": 20
},
"end": {
"line": 140,
"column": 35
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3608,
"end": 3609,
"loc": {
"start": {
"line": 140,
"column": 36
},
"end": {
"line": 140,
"column": 37
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3610,
"end": 3611,
"loc": {
"start": {
"line": 140,
"column": 38
},
"end": {
"line": 140,
"column": 39
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3617,
"end": 3618,
"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": 3618,
"end": 3640,
"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": 3640,
"end": 3641,
"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": 3641,
"end": 3642,
"loc": {
"start": {
"line": 141,
"column": 28
},
"end": {
"line": 141,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 3643,
"end": 3647,
"loc": {
"start": {
"line": 141,
"column": 30
},
"end": {
"line": 141,
"column": 34
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3648,
"end": 3650,
"loc": {
"start": {
"line": 141,
"column": 35
},
"end": {
"line": 141,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 3651,
"end": 3655,
"loc": {
"start": {
"line": 141,
"column": 38
},
"end": {
"line": 141,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3655,
"end": 3656,
"loc": {
"start": {
"line": 141,
"column": 42
},
"end": {
"line": 141,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hubGoals",
"start": 3656,
"end": 3664,
"loc": {
"start": {
"line": 141,
"column": 43
},
"end": {
"line": 141,
"column": 51
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3664,
"end": 3665,
"loc": {
"start": {
"line": 141,
"column": 51
},
"end": {
"line": 141,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isRewardUnlocked",
"start": 3665,
"end": 3681,
"loc": {
"start": {
"line": 141,
"column": 52
},
"end": {
"line": 141,
"column": 68
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3681,
"end": 3682,
"loc": {
"start": {
"line": 141,
"column": 68
},
"end": {
"line": 141,
"column": 69
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumHubGoalRewards",
"start": 3682,
"end": 3700,
"loc": {
"start": {
"line": 141,
"column": 69
},
"end": {
"line": 141,
"column": 87
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3700,
"end": 3701,
"loc": {
"start": {
"line": 141,
"column": 87
},
"end": {
"line": 141,
"column": 88
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "reward_display",
"start": 3701,
"end": 3715,
"loc": {
"start": {
"line": 141,
"column": 88
},
"end": {
"line": 141,
"column": 102
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3715,
"end": 3716,
"loc": {
"start": {
"line": 141,
"column": 102
},
"end": {
"line": 141,
"column": 103
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3716,
"end": 3717,
"loc": {
"start": {
"line": 141,
"column": 103
},
"end": {
"line": 141,
"column": 104
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3719,
"end": 3720,
"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": 3720,
"end": 3721,
"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": "MetaDisplayBuilding",
"start": 3725,
"end": 3744,
"loc": {
"start": {
"line": 144,
"column": 0
},
"end": {
"line": 144,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3744,
"end": 3745,
"loc": {
"start": {
"line": 144,
"column": 19
},
"end": {
"line": 144,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "layerByVariant",
"start": 3745,
"end": 3759,
"loc": {
"start": {
"line": 144,
"column": 20
},
"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": 3760,
"end": 3761,
"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": 3762,
"end": 3763,
"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": 3769,
"end": 3770,
"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": 3770,
"end": 3792,
"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": 3792,
"end": 3793,
"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": 3793,
"end": 3794,
"loc": {
"start": {
"line": 145,
"column": 28
},
"end": {
"line": 145,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 3795,
"end": 3799,
"loc": {
"start": {
"line": 145,
"column": 30
},
"end": {
"line": 145,
"column": 34
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3800,
"end": 3802,
"loc": {
"start": {
"line": 145,
"column": 35
},
"end": {
"line": 145,
"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": 3803,
"end": 3812,
"loc": {
"start": {
"line": 145,
"column": 38
},
"end": {
"line": 145,
"column": 47
}
}
},
{
"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": 47
},
"end": {
"line": 145,
"column": 48
}
}
},
{
"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": 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": 3816,
"end": 3817,
"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": "MetaDisplayBuilding",
"start": 3821,
"end": 3840,
"loc": {
"start": {
"line": 148,
"column": 0
},
"end": {
"line": 148,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3840,
"end": 3841,
"loc": {
"start": {
"line": 148,
"column": 19
},
"end": {
"line": 148,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "layerPreview",
"start": 3841,
"end": 3853,
"loc": {
"start": {
"line": 148,
"column": 20
},
"end": {
"line": 148,
"column": 32
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3854,
"end": 3855,
"loc": {
"start": {
"line": 148,
"column": 33
},
"end": {
"line": 148,
"column": 34
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3856,
"end": 3857,
"loc": {
"start": {
"line": 148,
"column": 35
},
"end": {
"line": 148,
"column": 36
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3863,
"end": 3864,
"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": 3864,
"end": 3886,
"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": 3886,
"end": 3887,
"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": 3887,
"end": 3888,
"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": 3889,
"end": 3890,
"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": 3890,
"end": 3891,
"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": 3892,
"end": 3894,
"loc": {
"start": {
"line": 149,
"column": 33
},
"end": {
"line": 149,
"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": 3895,
"end": 3902,
"loc": {
"start": {
"line": 149,
"column": 36
},
"end": {
"line": 149,
"column": 43
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3902,
"end": 3903,
"loc": {
"start": {
"line": 149,
"column": 43
},
"end": {
"line": 149,
"column": 44
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3905,
"end": 3906,
"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": 3906,
"end": 3907,
"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": "MetaDisplayBuilding",
"start": 3911,
"end": 3930,
"loc": {
"start": {
"line": 152,
"column": 0
},
"end": {
"line": 152,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3930,
"end": 3931,
"loc": {
"start": {
"line": 152,
"column": 19
},
"end": {
"line": 152,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "renderPins",
"start": 3931,
"end": 3941,
"loc": {
"start": {
"line": 152,
"column": 20
},
"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": 3942,
"end": 3943,
"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": 3944,
"end": 3945,
"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": 3951,
"end": 3952,
"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": 3952,
"end": 3974,
"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": 3974,
"end": 3975,
"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": 3975,
"end": 3976,
"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": 3977,
"end": 3978,
"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": 3978,
"end": 3979,
"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": 3980,
"end": 3982,
"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": 3983,
"end": 3987,
"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": 3987,
"end": 3988,
"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": 3990,
"end": 3991,
"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": 3991,
"end": 3992,
"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": "MetaDisplayBuilding",
"start": 3996,
"end": 4015,
"loc": {
"start": {
"line": 156,
"column": 0
},
"end": {
"line": 156,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4015,
"end": 4016,
"loc": {
"start": {
"line": 156,
"column": 19
},
"end": {
"line": 156,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "componentVariations",
"start": 4016,
"end": 4035,
"loc": {
"start": {
"line": 156,
"column": 20
},
"end": {
"line": 156,
"column": 39
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4036,
"end": 4037,
"loc": {
"start": {
"line": 156,
"column": 40
},
"end": {
"line": 156,
"column": 41
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4038,
"end": 4039,
"loc": {
"start": {
"line": 156,
"column": 42
},
"end": {
"line": 156,
"column": 43
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4045,
"end": 4046,
"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": 4046,
"end": 4068,
"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": 4068,
"end": 4069,
"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": 4069,
"end": 4070,
"loc": {
"start": {
"line": 157,
"column": 28
},
"end": {
"line": 157,
"column": 29
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4071,
"end": 4072,
"loc": {
"start": {
"line": 157,
"column": 30
},
"end": {
"line": 157,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 4072,
"end": 4078,
"loc": {
"start": {
"line": 157,
"column": 31
},
"end": {
"line": 157,
"column": 37
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4078,
"end": 4079,
"loc": {
"start": {
"line": 157,
"column": 37
},
"end": {
"line": 157,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotationVariant",
"start": 4080,
"end": 4095,
"loc": {
"start": {
"line": 157,
"column": 39
},
"end": {
"line": 157,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4095,
"end": 4096,
"loc": {
"start": {
"line": 157,
"column": 54
},
"end": {
"line": 157,
"column": 55
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4097,
"end": 4099,
"loc": {
"start": {
"line": 157,
"column": 56
},
"end": {
"line": 157,
"column": 58
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4100,
"end": 4101,
"loc": {
"start": {
"line": 157,
"column": 59
},
"end": {
"line": 157,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 4111,
"end": 4117,
"loc": {
"start": {
"line": 158,
"column": 8
},
"end": {
"line": 158,
"column": 14
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4117,
"end": 4118,
"loc": {
"start": {
"line": 158,
"column": 14
},
"end": {
"line": 158,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 4118,
"end": 4128,
"loc": {
"start": {
"line": 158,
"column": 15
},
"end": {
"line": 158,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4128,
"end": 4129,
"loc": {
"start": {
"line": 158,
"column": 25
},
"end": {
"line": 158,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "WiredPins",
"start": 4129,
"end": 4138,
"loc": {
"start": {
"line": 158,
"column": 26
},
"end": {
"line": 158,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4138,
"end": 4139,
"loc": {
"start": {
"line": 158,
"column": 35
},
"end": {
"line": 158,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setSlots",
"start": 4139,
"end": 4147,
"loc": {
"start": {
"line": 158,
"column": 36
},
"end": {
"line": 158,
"column": 44
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4147,
"end": 4148,
"loc": {
"start": {
"line": 158,
"column": 44
},
"end": {
"line": 158,
"column": 45
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4148,
"end": 4149,
"loc": {
"start": {
"line": 158,
"column": 45
},
"end": {
"line": 158,
"column": 46
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4149,
"end": 4150,
"loc": {
"start": {
"line": 158,
"column": 46
},
"end": {
"line": 158,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pos",
"start": 4164,
"end": 4167,
"loc": {
"start": {
"line": 159,
"column": 12
},
"end": {
"line": 159,
"column": 15
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4167,
"end": 4168,
"loc": {
"start": {
"line": 159,
"column": 15
},
"end": {
"line": 159,
"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": 4169,
"end": 4172,
"loc": {
"start": {
"line": 159,
"column": 17
},
"end": {
"line": 159,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Vector",
"start": 4173,
"end": 4179,
"loc": {
"start": {
"line": 159,
"column": 21
},
"end": {
"line": 159,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4179,
"end": 4180,
"loc": {
"start": {
"line": 159,
"column": 27
},
"end": {
"line": 159,
"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": 4180,
"end": 4181,
"loc": {
"start": {
"line": 159,
"column": 28
},
"end": {
"line": 159,
"column": 29
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4181,
"end": 4182,
"loc": {
"start": {
"line": 159,
"column": 29
},
"end": {
"line": 159,
"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": 4183,
"end": 4184,
"loc": {
"start": {
"line": 159,
"column": 31
},
"end": {
"line": 159,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4184,
"end": 4185,
"loc": {
"start": {
"line": 159,
"column": 32
},
"end": {
"line": 159,
"column": 33
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4185,
"end": 4186,
"loc": {
"start": {
"line": 159,
"column": 33
},
"end": {
"line": 159,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "direction",
"start": 4200,
"end": 4209,
"loc": {
"start": {
"line": 160,
"column": 12
},
"end": {
"line": 160,
"column": 21
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4209,
"end": 4210,
"loc": {
"start": {
"line": 160,
"column": 21
},
"end": {
"line": 160,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumDirection",
"start": 4211,
"end": 4224,
"loc": {
"start": {
"line": 160,
"column": 23
},
"end": {
"line": 160,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4224,
"end": 4225,
"loc": {
"start": {
"line": 160,
"column": 36
},
"end": {
"line": 160,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bottom",
"start": 4225,
"end": 4231,
"loc": {
"start": {
"line": 160,
"column": 37
},
"end": {
"line": 160,
"column": 43
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4231,
"end": 4232,
"loc": {
"start": {
"line": 160,
"column": 43
},
"end": {
"line": 160,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "type",
"start": 4246,
"end": 4250,
"loc": {
"start": {
"line": 161,
"column": 12
},
"end": {
"line": 161,
"column": 16
}
}
},
{
"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": 161,
"column": 16
},
"end": {
"line": 161,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumPinSlotType",
"start": 4252,
"end": 4267,
"loc": {
"start": {
"line": 161,
"column": 18
},
"end": {
"line": 161,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4267,
"end": 4268,
"loc": {
"start": {
"line": 161,
"column": 33
},
"end": {
"line": 161,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logicalAcceptor",
"start": 4268,
"end": 4283,
"loc": {
"start": {
"line": 161,
"column": 34
},
"end": {
"line": 161,
"column": 49
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4283,
"end": 4284,
"loc": {
"start": {
"line": 161,
"column": 49
},
"end": {
"line": 161,
"column": 50
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4294,
"end": 4295,
"loc": {
"start": {
"line": 162,
"column": 8
},
"end": {
"line": 162,
"column": 9
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4295,
"end": 4296,
"loc": {
"start": {
"line": 162,
"column": 9
},
"end": {
"line": 162,
"column": 10
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4297,
"end": 4298,
"loc": {
"start": {
"line": 162,
"column": 11
},
"end": {
"line": 162,
"column": 12
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4298,
"end": 4299,
"loc": {
"start": {
"line": 162,
"column": 12
},
"end": {
"line": 162,
"column": 13
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4299,
"end": 4300,
"loc": {
"start": {
"line": 162,
"column": 13
},
"end": {
"line": 162,
"column": 14
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4306,
"end": 4307,
"loc": {
"start": {
"line": 163,
"column": 4
},
"end": {
"line": 163,
"column": 5
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4307,
"end": 4308,
"loc": {
"start": {
"line": 163,
"column": 5
},
"end": {
"line": 163,
"column": 6
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4310,
"end": 4311,
"loc": {
"start": {
"line": 164,
"column": 0
},
"end": {
"line": 164,
"column": 1
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4311,
"end": 4312,
"loc": {
"start": {
"line": 164,
"column": 1
},
"end": {
"line": 164,
"column": 2
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4312,
"end": 4312,
"loc": {
"start": {
"line": 164,
"column": 2
},
"end": {
"line": 164,
"column": 2
}
}
}
]
}