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

54479 lines
1.3 MiB

{
"type": "File",
"start": 0,
"end": 11452,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 374,
"column": 2
}
},
"program": {
"type": "Program",
"start": 0,
"end": 11452,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 374,
"column": 2
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 43,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 43
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 9,
"end": 15,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 15
}
},
"imported": {
"type": "Identifier",
"start": 9,
"end": 15,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 15
},
"identifierName": "Loader"
},
"name": "Loader"
},
"local": {
"type": "Identifier",
"start": 9,
"end": 15,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 15
},
"identifierName": "Loader"
},
"name": "Loader"
}
}
],
"source": {
"type": "StringLiteral",
"start": 23,
"end": 42,
"loc": {
"start": {
"line": 1,
"column": 23
},
"end": {
"line": 1,
"column": 42
}
},
"extra": {
"rawValue": "../../core/loader",
"raw": "\"../../core/loader\""
},
"value": "../../core/loader"
}
},
{
"type": "ImportDeclaration",
"start": 45,
"end": 126,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 81
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 54,
"end": 74,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 29
}
},
"imported": {
"type": "Identifier",
"start": 54,
"end": 74,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 29
},
"identifierName": "formatItemsPerSecond"
},
"name": "formatItemsPerSecond"
},
"local": {
"type": "Identifier",
"start": 54,
"end": 74,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 29
},
"identifierName": "formatItemsPerSecond"
},
"name": "formatItemsPerSecond"
}
},
{
"type": "ImportSpecifier",
"start": 76,
"end": 99,
"loc": {
"start": {
"line": 2,
"column": 31
},
"end": {
"line": 2,
"column": 54
}
},
"imported": {
"type": "Identifier",
"start": 76,
"end": 99,
"loc": {
"start": {
"line": 2,
"column": 31
},
"end": {
"line": 2,
"column": 54
},
"identifierName": "generateMatrixRotations"
},
"name": "generateMatrixRotations"
},
"local": {
"type": "Identifier",
"start": 76,
"end": 99,
"loc": {
"start": {
"line": 2,
"column": 31
},
"end": {
"line": 2,
"column": 54
},
"identifierName": "generateMatrixRotations"
},
"name": "generateMatrixRotations"
}
}
],
"source": {
"type": "StringLiteral",
"start": 107,
"end": 125,
"loc": {
"start": {
"line": 2,
"column": 62
},
"end": {
"line": 2,
"column": 80
}
},
"extra": {
"rawValue": "../../core/utils",
"raw": "\"../../core/utils\""
},
"value": "../../core/utils"
}
},
{
"type": "ImportDeclaration",
"start": 128,
"end": 208,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 80
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 137,
"end": 157,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 29
}
},
"imported": {
"type": "Identifier",
"start": 137,
"end": 157,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 29
},
"identifierName": "enumAngleToDirection"
},
"name": "enumAngleToDirection"
},
"local": {
"type": "Identifier",
"start": 137,
"end": 157,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 29
},
"identifierName": "enumAngleToDirection"
},
"name": "enumAngleToDirection"
}
},
{
"type": "ImportSpecifier",
"start": 159,
"end": 172,
"loc": {
"start": {
"line": 3,
"column": 31
},
"end": {
"line": 3,
"column": 44
}
},
"imported": {
"type": "Identifier",
"start": 159,
"end": 172,
"loc": {
"start": {
"line": 3,
"column": 31
},
"end": {
"line": 3,
"column": 44
},
"identifierName": "enumDirection"
},
"name": "enumDirection"
},
"local": {
"type": "Identifier",
"start": 159,
"end": 172,
"loc": {
"start": {
"line": 3,
"column": 31
},
"end": {
"line": 3,
"column": 44
},
"identifierName": "enumDirection"
},
"name": "enumDirection"
}
},
{
"type": "ImportSpecifier",
"start": 174,
"end": 180,
"loc": {
"start": {
"line": 3,
"column": 46
},
"end": {
"line": 3,
"column": 52
}
},
"imported": {
"type": "Identifier",
"start": 174,
"end": 180,
"loc": {
"start": {
"line": 3,
"column": 46
},
"end": {
"line": 3,
"column": 52
},
"identifierName": "Vector"
},
"name": "Vector"
},
"local": {
"type": "Identifier",
"start": 174,
"end": 180,
"loc": {
"start": {
"line": 3,
"column": 46
},
"end": {
"line": 3,
"column": 52
},
"identifierName": "Vector"
},
"name": "Vector"
}
}
],
"source": {
"type": "StringLiteral",
"start": 188,
"end": 207,
"loc": {
"start": {
"line": 3,
"column": 60
},
"end": {
"line": 3,
"column": 79
}
},
"extra": {
"rawValue": "../../core/vector",
"raw": "\"../../core/vector\""
},
"value": "../../core/vector"
}
},
{
"type": "ImportDeclaration",
"start": 210,
"end": 256,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 46
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 219,
"end": 225,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 15
}
},
"imported": {
"type": "Identifier",
"start": 219,
"end": 225,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 15
},
"identifierName": "SOUNDS"
},
"name": "SOUNDS"
},
"local": {
"type": "Identifier",
"start": 219,
"end": 225,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 15
},
"identifierName": "SOUNDS"
},
"name": "SOUNDS"
}
}
],
"source": {
"type": "StringLiteral",
"start": 233,
"end": 255,
"loc": {
"start": {
"line": 4,
"column": 23
},
"end": {
"line": 4,
"column": 45
}
},
"extra": {
"rawValue": "../../platform/sound",
"raw": "\"../../platform/sound\""
},
"value": "../../platform/sound"
}
},
{
"type": "ImportDeclaration",
"start": 258,
"end": 297,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 39
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 267,
"end": 268,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 10
}
},
"imported": {
"type": "Identifier",
"start": 267,
"end": 268,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 10
},
"identifierName": "T"
},
"name": "T"
},
"local": {
"type": "Identifier",
"start": 267,
"end": 268,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 10
},
"identifierName": "T"
},
"name": "T"
}
}
],
"source": {
"type": "StringLiteral",
"start": 276,
"end": 296,
"loc": {
"start": {
"line": 5,
"column": 18
},
"end": {
"line": 5,
"column": 38
}
},
"extra": {
"rawValue": "../../translations",
"raw": "\"../../translations\""
},
"value": "../../translations"
}
},
{
"type": "ImportDeclaration",
"start": 299,
"end": 350,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 51
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 308,
"end": 321,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 22
}
},
"imported": {
"type": "Identifier",
"start": 308,
"end": 321,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 22
},
"identifierName": "BeltComponent"
},
"name": "BeltComponent"
},
"local": {
"type": "Identifier",
"start": 308,
"end": 321,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 22
},
"identifierName": "BeltComponent"
},
"name": "BeltComponent"
}
}
],
"source": {
"type": "StringLiteral",
"start": 329,
"end": 349,
"loc": {
"start": {
"line": 6,
"column": 30
},
"end": {
"line": 6,
"column": 50
}
},
"extra": {
"rawValue": "../components/belt",
"raw": "\"../components/belt\""
},
"value": "../components/belt"
}
},
{
"type": "ImportDeclaration",
"start": 352,
"end": 387,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 7,
"column": 35
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 361,
"end": 367,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 15
}
},
"imported": {
"type": "Identifier",
"start": 361,
"end": 367,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 15
},
"identifierName": "Entity"
},
"name": "Entity"
},
"local": {
"type": "Identifier",
"start": 361,
"end": 367,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 15
},
"identifierName": "Entity"
},
"name": "Entity"
}
}
],
"source": {
"type": "StringLiteral",
"start": 375,
"end": 386,
"loc": {
"start": {
"line": 7,
"column": 23
},
"end": {
"line": 7,
"column": 34
}
},
"extra": {
"rawValue": "../entity",
"raw": "\"../entity\""
},
"value": "../entity"
}
},
{
"type": "ImportDeclaration",
"start": 389,
"end": 461,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 8,
"column": 72
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 398,
"end": 420,
"loc": {
"start": {
"line": 8,
"column": 9
},
"end": {
"line": 8,
"column": 31
}
},
"imported": {
"type": "Identifier",
"start": 398,
"end": 420,
"loc": {
"start": {
"line": 8,
"column": 9
},
"end": {
"line": 8,
"column": 31
},
"identifierName": "defaultBuildingVariant"
},
"name": "defaultBuildingVariant"
},
"local": {
"type": "Identifier",
"start": 398,
"end": 420,
"loc": {
"start": {
"line": 8,
"column": 9
},
"end": {
"line": 8,
"column": 31
},
"identifierName": "defaultBuildingVariant"
},
"name": "defaultBuildingVariant"
}
},
{
"type": "ImportSpecifier",
"start": 422,
"end": 434,
"loc": {
"start": {
"line": 8,
"column": 33
},
"end": {
"line": 8,
"column": 45
}
},
"imported": {
"type": "Identifier",
"start": 422,
"end": 434,
"loc": {
"start": {
"line": 8,
"column": 33
},
"end": {
"line": 8,
"column": 45
},
"identifierName": "MetaBuilding"
},
"name": "MetaBuilding"
},
"local": {
"type": "Identifier",
"start": 422,
"end": 434,
"loc": {
"start": {
"line": 8,
"column": 33
},
"end": {
"line": 8,
"column": 45
},
"identifierName": "MetaBuilding"
},
"name": "MetaBuilding"
}
}
],
"source": {
"type": "StringLiteral",
"start": 442,
"end": 460,
"loc": {
"start": {
"line": 8,
"column": 53
},
"end": {
"line": 8,
"column": 71
}
},
"extra": {
"rawValue": "../meta_building",
"raw": "\"../meta_building\""
},
"value": "../meta_building"
}
},
{
"type": "ImportDeclaration",
"start": 463,
"end": 498,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"column": 35
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 472,
"end": 480,
"loc": {
"start": {
"line": 9,
"column": 9
},
"end": {
"line": 9,
"column": 17
}
},
"imported": {
"type": "Identifier",
"start": 472,
"end": 480,
"loc": {
"start": {
"line": 9,
"column": 9
},
"end": {
"line": 9,
"column": 17
},
"identifierName": "GameRoot"
},
"name": "GameRoot"
},
"local": {
"type": "Identifier",
"start": 472,
"end": 480,
"loc": {
"start": {
"line": 9,
"column": 9
},
"end": {
"line": 9,
"column": 17
},
"identifierName": "GameRoot"
},
"name": "GameRoot"
}
}
],
"source": {
"type": "StringLiteral",
"start": 488,
"end": 497,
"loc": {
"start": {
"line": 9,
"column": 25
},
"end": {
"line": 9,
"column": 34
}
},
"extra": {
"rawValue": "../root",
"raw": "\"../root\""
},
"value": "../root"
}
},
{
"type": "ImportDeclaration",
"start": 500,
"end": 533,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 10,
"column": 33
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 509,
"end": 514,
"loc": {
"start": {
"line": 10,
"column": 9
},
"end": {
"line": 10,
"column": 14
}
},
"imported": {
"type": "Identifier",
"start": 509,
"end": 514,
"loc": {
"start": {
"line": 10,
"column": 9
},
"end": {
"line": 10,
"column": 14
},
"identifierName": "THEME"
},
"name": "THEME"
},
"local": {
"type": "Identifier",
"start": 509,
"end": 514,
"loc": {
"start": {
"line": 10,
"column": 9
},
"end": {
"line": 10,
"column": 14
},
"identifierName": "THEME"
},
"name": "THEME"
}
}
],
"source": {
"type": "StringLiteral",
"start": 522,
"end": 532,
"loc": {
"start": {
"line": 10,
"column": 22
},
"end": {
"line": 10,
"column": 32
}
},
"extra": {
"rawValue": "../theme",
"raw": "\"../theme\""
},
"value": "../theme"
}
},
{
"type": "ExportNamedDeclaration",
"start": 537,
"end": 9307,
"loc": {
"start": {
"line": 12,
"column": 0
},
"end": {
"line": 299,
"column": 1
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "ClassDeclaration",
"start": 544,
"end": 9307,
"loc": {
"start": {
"line": 12,
"column": 7
},
"end": {
"line": 299,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 550,
"end": 566,
"loc": {
"start": {
"line": 12,
"column": 13
},
"end": {
"line": 12,
"column": 29
},
"identifierName": "MetaBeltBuilding"
},
"name": "MetaBeltBuilding"
},
"superClass": {
"type": "Identifier",
"start": 575,
"end": 587,
"loc": {
"start": {
"line": 12,
"column": 38
},
"end": {
"line": 12,
"column": 50
},
"identifierName": "MetaBuilding"
},
"name": "MetaBuilding"
},
"body": {
"type": "ClassBody",
"start": 588,
"end": 9307,
"loc": {
"start": {
"line": 12,
"column": 51
},
"end": {
"line": 299,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 595,
"end": 641,
"loc": {
"start": {
"line": 13,
"column": 4
},
"end": {
"line": 15,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 595,
"end": 606,
"loc": {
"start": {
"line": 13,
"column": 4
},
"end": {
"line": 13,
"column": 15
},
"identifierName": "constructor"
},
"name": "constructor"
},
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 609,
"end": 641,
"loc": {
"start": {
"line": 13,
"column": 18
},
"end": {
"line": 15,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 620,
"end": 634,
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 22
}
},
"expression": {
"type": "CallExpression",
"start": 620,
"end": 633,
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 21
}
},
"callee": {
"type": "Super",
"start": 620,
"end": 625,
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 13
}
}
},
"arguments": [
{
"type": "StringLiteral",
"start": 626,
"end": 632,
"loc": {
"start": {
"line": 14,
"column": 14
},
"end": {
"line": 14,
"column": 20
}
},
"extra": {
"rawValue": "belt",
"raw": "\"belt\""
},
"value": "belt"
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 649,
"end": 693,
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 19,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 699,
"end": 797,
"loc": {
"start": {
"line": 20,
"column": 4
},
"end": {
"line": 22,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 699,
"end": 717,
"loc": {
"start": {
"line": 20,
"column": 4
},
"end": {
"line": 20,
"column": 22
},
"identifierName": "getSilhouetteColor"
},
"name": "getSilhouetteColor",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 718,
"end": 725,
"loc": {
"start": {
"line": 20,
"column": 23
},
"end": {
"line": 20,
"column": 30
},
"identifierName": "variant"
},
"name": "variant"
}
],
"body": {
"type": "BlockStatement",
"start": 727,
"end": 797,
"loc": {
"start": {
"line": 20,
"column": 32
},
"end": {
"line": 22,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 738,
"end": 790,
"loc": {
"start": {
"line": 21,
"column": 8
},
"end": {
"line": 21,
"column": 60
}
},
"argument": {
"type": "CallExpression",
"start": 745,
"end": 789,
"loc": {
"start": {
"line": 21,
"column": 15
},
"end": {
"line": 21,
"column": 59
}
},
"callee": {
"type": "MemberExpression",
"start": 745,
"end": 787,
"loc": {
"start": {
"line": 21,
"column": 15
},
"end": {
"line": 21,
"column": 57
}
},
"object": {
"type": "MemberExpression",
"start": 745,
"end": 778,
"loc": {
"start": {
"line": 21,
"column": 15
},
"end": {
"line": 21,
"column": 48
}
},
"object": {
"type": "Identifier",
"start": 745,
"end": 761,
"loc": {
"start": {
"line": 21,
"column": 15
},
"end": {
"line": 21,
"column": 31
},
"identifierName": "MetaBeltBuilding"
},
"name": "MetaBeltBuilding"
},
"property": {
"type": "Identifier",
"start": 762,
"end": 778,
"loc": {
"start": {
"line": 21,
"column": 32
},
"end": {
"line": 21,
"column": 48
},
"identifierName": "silhouetteColors"
},
"name": "silhouetteColors"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 779,
"end": 786,
"loc": {
"start": {
"line": 21,
"column": 49
},
"end": {
"line": 21,
"column": 56
},
"identifierName": "variant"
},
"name": "variant"
},
"computed": true
},
"arguments": []
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 649,
"end": 693,
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 19,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {GameRoot} root\r\n ",
"start": 805,
"end": 848,
"loc": {
"start": {
"line": 24,
"column": 4
},
"end": {
"line": 26,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 854,
"end": 942,
"loc": {
"start": {
"line": 27,
"column": 4
},
"end": {
"line": 29,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 854,
"end": 867,
"loc": {
"start": {
"line": 27,
"column": 4
},
"end": {
"line": 27,
"column": 17
},
"identifierName": "getIsUnlocked"
},
"name": "getIsUnlocked",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 868,
"end": 872,
"loc": {
"start": {
"line": 27,
"column": 18
},
"end": {
"line": 27,
"column": 22
},
"identifierName": "root"
},
"name": "root"
}
],
"body": {
"type": "BlockStatement",
"start": 874,
"end": 942,
"loc": {
"start": {
"line": 27,
"column": 24
},
"end": {
"line": 29,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 885,
"end": 935,
"loc": {
"start": {
"line": 28,
"column": 8
},
"end": {
"line": 28,
"column": 58
}
},
"argument": {
"type": "BinaryExpression",
"start": 892,
"end": 934,
"loc": {
"start": {
"line": 28,
"column": 15
},
"end": {
"line": 28,
"column": 57
}
},
"left": {
"type": "MemberExpression",
"start": 892,
"end": 930,
"loc": {
"start": {
"line": 28,
"column": 15
},
"end": {
"line": 28,
"column": 53
}
},
"object": {
"type": "CallExpression",
"start": 892,
"end": 923,
"loc": {
"start": {
"line": 28,
"column": 15
},
"end": {
"line": 28,
"column": 46
}
},
"callee": {
"type": "MemberExpression",
"start": 892,
"end": 917,
"loc": {
"start": {
"line": 28,
"column": 15
},
"end": {
"line": 28,
"column": 40
}
},
"object": {
"type": "ThisExpression",
"start": 892,
"end": 896,
"loc": {
"start": {
"line": 28,
"column": 15
},
"end": {
"line": 28,
"column": 19
}
}
},
"property": {
"type": "Identifier",
"start": 897,
"end": 917,
"loc": {
"start": {
"line": 28,
"column": 20
},
"end": {
"line": 28,
"column": 40
},
"identifierName": "getAvailableVariants"
},
"name": "getAvailableVariants"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 918,
"end": 922,
"loc": {
"start": {
"line": 28,
"column": 41
},
"end": {
"line": 28,
"column": 45
},
"identifierName": "root"
},
"name": "root"
}
]
},
"property": {
"type": "Identifier",
"start": 924,
"end": 930,
"loc": {
"start": {
"line": 28,
"column": 47
},
"end": {
"line": 28,
"column": 53
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
},
"operator": ">",
"right": {
"type": "NumericLiteral",
"start": 933,
"end": 934,
"loc": {
"start": {
"line": 28,
"column": 56
},
"end": {
"line": 28,
"column": 57
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {GameRoot} root\r\n ",
"start": 805,
"end": 848,
"loc": {
"start": {
"line": 24,
"column": 4
},
"end": {
"line": 26,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 950,
"end": 994,
"loc": {
"start": {
"line": 31,
"column": 4
},
"end": {
"line": 33,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 1000,
"end": 1089,
"loc": {
"start": {
"line": 34,
"column": 4
},
"end": {
"line": 36,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1000,
"end": 1014,
"loc": {
"start": {
"line": 34,
"column": 4
},
"end": {
"line": 34,
"column": 18
},
"identifierName": "getIsRemovable"
},
"name": "getIsRemovable",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1015,
"end": 1022,
"loc": {
"start": {
"line": 34,
"column": 19
},
"end": {
"line": 34,
"column": 26
},
"identifierName": "variant"
},
"name": "variant"
}
],
"body": {
"type": "BlockStatement",
"start": 1024,
"end": 1089,
"loc": {
"start": {
"line": 34,
"column": 28
},
"end": {
"line": 36,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1035,
"end": 1082,
"loc": {
"start": {
"line": 35,
"column": 8
},
"end": {
"line": 35,
"column": 55
}
},
"argument": {
"type": "CallExpression",
"start": 1042,
"end": 1081,
"loc": {
"start": {
"line": 35,
"column": 15
},
"end": {
"line": 35,
"column": 54
}
},
"callee": {
"type": "MemberExpression",
"start": 1042,
"end": 1079,
"loc": {
"start": {
"line": 35,
"column": 15
},
"end": {
"line": 35,
"column": 52
}
},
"object": {
"type": "MemberExpression",
"start": 1042,
"end": 1070,
"loc": {
"start": {
"line": 35,
"column": 15
},
"end": {
"line": 35,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 1042,
"end": 1058,
"loc": {
"start": {
"line": 35,
"column": 15
},
"end": {
"line": 35,
"column": 31
},
"identifierName": "MetaBeltBuilding"
},
"name": "MetaBeltBuilding"
},
"property": {
"type": "Identifier",
"start": 1059,
"end": 1070,
"loc": {
"start": {
"line": 35,
"column": 32
},
"end": {
"line": 35,
"column": 43
},
"identifierName": "isRemovable"
},
"name": "isRemovable"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1071,
"end": 1078,
"loc": {
"start": {
"line": 35,
"column": 44
},
"end": {
"line": 35,
"column": 51
},
"identifierName": "variant"
},
"name": "variant"
},
"computed": true
},
"arguments": []
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 950,
"end": 994,
"loc": {
"start": {
"line": 31,
"column": 4
},
"end": {
"line": 33,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 1097,
"end": 1141,
"loc": {
"start": {
"line": 38,
"column": 4
},
"end": {
"line": 40,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 1147,
"end": 1238,
"loc": {
"start": {
"line": 41,
"column": 4
},
"end": {
"line": 43,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1147,
"end": 1162,
"loc": {
"start": {
"line": 41,
"column": 4
},
"end": {
"line": 41,
"column": 19
},
"identifierName": "getIsRotateable"
},
"name": "getIsRotateable",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1163,
"end": 1170,
"loc": {
"start": {
"line": 41,
"column": 20
},
"end": {
"line": 41,
"column": 27
},
"identifierName": "variant"
},
"name": "variant"
}
],
"body": {
"type": "BlockStatement",
"start": 1172,
"end": 1238,
"loc": {
"start": {
"line": 41,
"column": 29
},
"end": {
"line": 43,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1183,
"end": 1231,
"loc": {
"start": {
"line": 42,
"column": 8
},
"end": {
"line": 42,
"column": 56
}
},
"argument": {
"type": "CallExpression",
"start": 1190,
"end": 1230,
"loc": {
"start": {
"line": 42,
"column": 15
},
"end": {
"line": 42,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 1190,
"end": 1228,
"loc": {
"start": {
"line": 42,
"column": 15
},
"end": {
"line": 42,
"column": 53
}
},
"object": {
"type": "MemberExpression",
"start": 1190,
"end": 1219,
"loc": {
"start": {
"line": 42,
"column": 15
},
"end": {
"line": 42,
"column": 44
}
},
"object": {
"type": "Identifier",
"start": 1190,
"end": 1206,
"loc": {
"start": {
"line": 42,
"column": 15
},
"end": {
"line": 42,
"column": 31
},
"identifierName": "MetaBeltBuilding"
},
"name": "MetaBeltBuilding"
},
"property": {
"type": "Identifier",
"start": 1207,
"end": 1219,
"loc": {
"start": {
"line": 42,
"column": 32
},
"end": {
"line": 42,
"column": 44
},
"identifierName": "isRotateable"
},
"name": "isRotateable"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1220,
"end": 1227,
"loc": {
"start": {
"line": 42,
"column": 45
},
"end": {
"line": 42,
"column": 52
},
"identifierName": "variant"
},
"name": "variant"
},
"computed": true
},
"arguments": []
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 1097,
"end": 1141,
"loc": {
"start": {
"line": 38,
"column": 4
},
"end": {
"line": 40,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {GameRoot} root\r\n ",
"start": 1246,
"end": 1289,
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 47,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 1295,
"end": 1571,
"loc": {
"start": {
"line": 48,
"column": 4
},
"end": {
"line": 57,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1295,
"end": 1315,
"loc": {
"start": {
"line": 48,
"column": 4
},
"end": {
"line": 48,
"column": 24
},
"identifierName": "getAvailableVariants"
},
"name": "getAvailableVariants",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1316,
"end": 1320,
"loc": {
"start": {
"line": 48,
"column": 25
},
"end": {
"line": 48,
"column": 29
},
"identifierName": "root"
},
"name": "root"
}
],
"body": {
"type": "BlockStatement",
"start": 1322,
"end": 1571,
"loc": {
"start": {
"line": 48,
"column": 31
},
"end": {
"line": 57,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 1333,
"end": 1383,
"loc": {
"start": {
"line": 49,
"column": 8
},
"end": {
"line": 49,
"column": 58
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1339,
"end": 1382,
"loc": {
"start": {
"line": 49,
"column": 14
},
"end": {
"line": 49,
"column": 57
}
},
"id": {
"type": "Identifier",
"start": 1339,
"end": 1347,
"loc": {
"start": {
"line": 49,
"column": 14
},
"end": {
"line": 49,
"column": 22
},
"identifierName": "variants"
},
"name": "variants"
},
"init": {
"type": "MemberExpression",
"start": 1350,
"end": 1382,
"loc": {
"start": {
"line": 49,
"column": 25
},
"end": {
"line": 49,
"column": 57
}
},
"object": {
"type": "Identifier",
"start": 1350,
"end": 1366,
"loc": {
"start": {
"line": 49,
"column": 25
},
"end": {
"line": 49,
"column": 41
},
"identifierName": "MetaBeltBuilding"
},
"name": "MetaBeltBuilding"
},
"property": {
"type": "Identifier",
"start": 1367,
"end": 1382,
"loc": {
"start": {
"line": 49,
"column": 42
},
"end": {
"line": 49,
"column": 57
},
"identifierName": "avaibleVariants"
},
"name": "avaibleVariants"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 1395,
"end": 1414,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 51,
"column": 27
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1399,
"end": 1413,
"loc": {
"start": {
"line": 51,
"column": 12
},
"end": {
"line": 51,
"column": 26
}
},
"id": {
"type": "Identifier",
"start": 1399,
"end": 1408,
"loc": {
"start": {
"line": 51,
"column": 12
},
"end": {
"line": 51,
"column": 21
},
"identifierName": "available"
},
"name": "available"
},
"init": {
"type": "ArrayExpression",
"start": 1411,
"end": 1413,
"loc": {
"start": {
"line": 51,
"column": 24
},
"end": {
"line": 51,
"column": 26
}
},
"elements": []
}
}
],
"kind": "let"
},
{
"type": "ForInStatement",
"start": 1424,
"end": 1535,
"loc": {
"start": {
"line": 52,
"column": 8
},
"end": {
"line": 54,
"column": 9
}
},
"left": {
"type": "VariableDeclaration",
"start": 1429,
"end": 1442,
"loc": {
"start": {
"line": 52,
"column": 13
},
"end": {
"line": 52,
"column": 26
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1435,
"end": 1442,
"loc": {
"start": {
"line": 52,
"column": 19
},
"end": {
"line": 52,
"column": 26
}
},
"id": {
"type": "Identifier",
"start": 1435,
"end": 1442,
"loc": {
"start": {
"line": 52,
"column": 19
},
"end": {
"line": 52,
"column": 26
},
"identifierName": "variant"
},
"name": "variant"
},
"init": null
}
],
"kind": "const"
},
"right": {
"type": "Identifier",
"start": 1446,
"end": 1454,
"loc": {
"start": {
"line": 52,
"column": 30
},
"end": {
"line": 52,
"column": 38
},
"identifierName": "variants"
},
"name": "variants"
},
"body": {
"type": "BlockStatement",
"start": 1456,
"end": 1535,
"loc": {
"start": {
"line": 52,
"column": 40
},
"end": {
"line": 54,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 1471,
"end": 1524,
"loc": {
"start": {
"line": 53,
"column": 12
},
"end": {
"line": 53,
"column": 65
}
},
"test": {
"type": "CallExpression",
"start": 1475,
"end": 1498,
"loc": {
"start": {
"line": 53,
"column": 16
},
"end": {
"line": 53,
"column": 39
}
},
"callee": {
"type": "MemberExpression",
"start": 1475,
"end": 1492,
"loc": {
"start": {
"line": 53,
"column": 16
},
"end": {
"line": 53,
"column": 33
}
},
"object": {
"type": "Identifier",
"start": 1475,
"end": 1483,
"loc": {
"start": {
"line": 53,
"column": 16
},
"end": {
"line": 53,
"column": 24
},
"identifierName": "variants"
},
"name": "variants"
},
"property": {
"type": "Identifier",
"start": 1484,
"end": 1491,
"loc": {
"start": {
"line": 53,
"column": 25
},
"end": {
"line": 53,
"column": 32
},
"identifierName": "variant"
},
"name": "variant"
},
"computed": true
},
"arguments": [
{
"type": "Identifier",
"start": 1493,
"end": 1497,
"loc": {
"start": {
"line": 53,
"column": 34
},
"end": {
"line": 53,
"column": 38
},
"identifierName": "root"
},
"name": "root"
}
]
},
"consequent": {
"type": "ExpressionStatement",
"start": 1500,
"end": 1524,
"loc": {
"start": {
"line": 53,
"column": 41
},
"end": {
"line": 53,
"column": 65
}
},
"expression": {
"type": "CallExpression",
"start": 1500,
"end": 1523,
"loc": {
"start": {
"line": 53,
"column": 41
},
"end": {
"line": 53,
"column": 64
}
},
"callee": {
"type": "MemberExpression",
"start": 1500,
"end": 1514,
"loc": {
"start": {
"line": 53,
"column": 41
},
"end": {
"line": 53,
"column": 55
}
},
"object": {
"type": "Identifier",
"start": 1500,
"end": 1509,
"loc": {
"start": {
"line": 53,
"column": 41
},
"end": {
"line": 53,
"column": 50
},
"identifierName": "available"
},
"name": "available"
},
"property": {
"type": "Identifier",
"start": 1510,
"end": 1514,
"loc": {
"start": {
"line": 53,
"column": 51
},
"end": {
"line": 53,
"column": 55
},
"identifierName": "push"
},
"name": "push"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1515,
"end": 1522,
"loc": {
"start": {
"line": 53,
"column": 56
},
"end": {
"line": 53,
"column": 63
},
"identifierName": "variant"
},
"name": "variant"
}
]
}
},
"alternate": null
}
],
"directives": []
}
},
{
"type": "ReturnStatement",
"start": 1547,
"end": 1564,
"loc": {
"start": {
"line": 56,
"column": 8
},
"end": {
"line": 56,
"column": 25
}
},
"argument": {
"type": "Identifier",
"start": 1554,
"end": 1563,
"loc": {
"start": {
"line": 56,
"column": 15
},
"end": {
"line": 56,
"column": 24
},
"identifierName": "available"
},
"name": "available"
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {GameRoot} root\r\n ",
"start": 1246,
"end": 1289,
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 47,
"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": 1579,
"end": 1726,
"loc": {
"start": {
"line": 59,
"column": 4
},
"end": {
"line": 64,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 1732,
"end": 1851,
"loc": {
"start": {
"line": 65,
"column": 4
},
"end": {
"line": 68,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1732,
"end": 1740,
"loc": {
"start": {
"line": 65,
"column": 4
},
"end": {
"line": 65,
"column": 12
},
"identifierName": "getLayer"
},
"name": "getLayer",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1741,
"end": 1745,
"loc": {
"start": {
"line": 65,
"column": 13
},
"end": {
"line": 65,
"column": 17
},
"identifierName": "root"
},
"name": "root"
},
{
"type": "Identifier",
"start": 1747,
"end": 1754,
"loc": {
"start": {
"line": 65,
"column": 19
},
"end": {
"line": 65,
"column": 26
},
"identifierName": "variant"
},
"name": "variant"
}
],
"body": {
"type": "BlockStatement",
"start": 1756,
"end": 1851,
"loc": {
"start": {
"line": 65,
"column": 28
},
"end": {
"line": 68,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1790,
"end": 1844,
"loc": {
"start": {
"line": 67,
"column": 8
},
"end": {
"line": 67,
"column": 62
}
},
"argument": {
"type": "CallExpression",
"start": 1797,
"end": 1843,
"loc": {
"start": {
"line": 67,
"column": 15
},
"end": {
"line": 67,
"column": 61
}
},
"callee": {
"type": "MemberExpression",
"start": 1797,
"end": 1837,
"loc": {
"start": {
"line": 67,
"column": 15
},
"end": {
"line": 67,
"column": 55
}
},
"object": {
"type": "MemberExpression",
"start": 1797,
"end": 1828,
"loc": {
"start": {
"line": 67,
"column": 15
},
"end": {
"line": 67,
"column": 46
}
},
"object": {
"type": "Identifier",
"start": 1797,
"end": 1813,
"loc": {
"start": {
"line": 67,
"column": 15
},
"end": {
"line": 67,
"column": 31
},
"identifierName": "MetaBeltBuilding"
},
"name": "MetaBeltBuilding",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 1814,
"end": 1828,
"loc": {
"start": {
"line": 67,
"column": 32
},
"end": {
"line": 67,
"column": 46
},
"identifierName": "layerByVariant"
},
"name": "layerByVariant"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 1829,
"end": 1836,
"loc": {
"start": {
"line": 67,
"column": 47
},
"end": {
"line": 67,
"column": 54
},
"identifierName": "variant"
},
"name": "variant"
},
"computed": true,
"leadingComments": null
},
"arguments": [
{
"type": "Identifier",
"start": 1838,
"end": 1842,
"loc": {
"start": {
"line": 67,
"column": 56
},
"end": {
"line": 67,
"column": 60
},
"identifierName": "root"
},
"name": "root"
}
],
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " @ts-ignore",
"start": 1767,
"end": 1780,
"loc": {
"start": {
"line": 66,
"column": 8
},
"end": {
"line": 66,
"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": 1579,
"end": 1726,
"loc": {
"start": {
"line": 59,
"column": 4
},
"end": {
"line": 64,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 1859,
"end": 1903,
"loc": {
"start": {
"line": 70,
"column": 4
},
"end": {
"line": 72,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 1909,
"end": 1996,
"loc": {
"start": {
"line": 73,
"column": 4
},
"end": {
"line": 75,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1909,
"end": 1922,
"loc": {
"start": {
"line": 73,
"column": 4
},
"end": {
"line": 73,
"column": 17
},
"identifierName": "getDimensions"
},
"name": "getDimensions",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1923,
"end": 1930,
"loc": {
"start": {
"line": 73,
"column": 18
},
"end": {
"line": 73,
"column": 25
},
"identifierName": "variant"
},
"name": "variant"
}
],
"body": {
"type": "BlockStatement",
"start": 1932,
"end": 1996,
"loc": {
"start": {
"line": 73,
"column": 27
},
"end": {
"line": 75,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1943,
"end": 1989,
"loc": {
"start": {
"line": 74,
"column": 8
},
"end": {
"line": 74,
"column": 54
}
},
"argument": {
"type": "CallExpression",
"start": 1950,
"end": 1988,
"loc": {
"start": {
"line": 74,
"column": 15
},
"end": {
"line": 74,
"column": 53
}
},
"callee": {
"type": "MemberExpression",
"start": 1950,
"end": 1986,
"loc": {
"start": {
"line": 74,
"column": 15
},
"end": {
"line": 74,
"column": 51
}
},
"object": {
"type": "MemberExpression",
"start": 1950,
"end": 1977,
"loc": {
"start": {
"line": 74,
"column": 15
},
"end": {
"line": 74,
"column": 42
}
},
"object": {
"type": "Identifier",
"start": 1950,
"end": 1966,
"loc": {
"start": {
"line": 74,
"column": 15
},
"end": {
"line": 74,
"column": 31
},
"identifierName": "MetaBeltBuilding"
},
"name": "MetaBeltBuilding"
},
"property": {
"type": "Identifier",
"start": 1967,
"end": 1977,
"loc": {
"start": {
"line": 74,
"column": 32
},
"end": {
"line": 74,
"column": 42
},
"identifierName": "dimensions"
},
"name": "dimensions"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1978,
"end": 1985,
"loc": {
"start": {
"line": 74,
"column": 43
},
"end": {
"line": 74,
"column": 50
},
"identifierName": "variant"
},
"name": "variant"
},
"computed": true
},
"arguments": []
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 1859,
"end": 1903,
"loc": {
"start": {
"line": 70,
"column": 4
},
"end": {
"line": 72,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {GameRoot} root\r\n * @param {string} variant\r\n * @returns {Array<[string, string]>}\r\n ",
"start": 2004,
"end": 2122,
"loc": {
"start": {
"line": 77,
"column": 4
},
"end": {
"line": 81,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 2128,
"end": 2245,
"loc": {
"start": {
"line": 82,
"column": 4
},
"end": {
"line": 84,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2128,
"end": 2151,
"loc": {
"start": {
"line": 82,
"column": 4
},
"end": {
"line": 82,
"column": 27
},
"identifierName": "getAdditionalStatistics"
},
"name": "getAdditionalStatistics",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2152,
"end": 2156,
"loc": {
"start": {
"line": 82,
"column": 28
},
"end": {
"line": 82,
"column": 32
},
"identifierName": "root"
},
"name": "root"
},
{
"type": "Identifier",
"start": 2158,
"end": 2165,
"loc": {
"start": {
"line": 82,
"column": 34
},
"end": {
"line": 82,
"column": 41
},
"identifierName": "variant"
},
"name": "variant"
}
],
"body": {
"type": "BlockStatement",
"start": 2167,
"end": 2245,
"loc": {
"start": {
"line": 82,
"column": 43
},
"end": {
"line": 84,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 2178,
"end": 2238,
"loc": {
"start": {
"line": 83,
"column": 8
},
"end": {
"line": 83,
"column": 68
}
},
"argument": {
"type": "CallExpression",
"start": 2185,
"end": 2237,
"loc": {
"start": {
"line": 83,
"column": 15
},
"end": {
"line": 83,
"column": 67
}
},
"callee": {
"type": "MemberExpression",
"start": 2185,
"end": 2231,
"loc": {
"start": {
"line": 83,
"column": 15
},
"end": {
"line": 83,
"column": 61
}
},
"object": {
"type": "MemberExpression",
"start": 2185,
"end": 2222,
"loc": {
"start": {
"line": 83,
"column": 15
},
"end": {
"line": 83,
"column": 52
}
},
"object": {
"type": "Identifier",
"start": 2185,
"end": 2201,
"loc": {
"start": {
"line": 83,
"column": 15
},
"end": {
"line": 83,
"column": 31
},
"identifierName": "MetaBeltBuilding"
},
"name": "MetaBeltBuilding"
},
"property": {
"type": "Identifier",
"start": 2202,
"end": 2222,
"loc": {
"start": {
"line": 83,
"column": 32
},
"end": {
"line": 83,
"column": 52
},
"identifierName": "additionalStatistics"
},
"name": "additionalStatistics"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2223,
"end": 2230,
"loc": {
"start": {
"line": 83,
"column": 53
},
"end": {
"line": 83,
"column": 60
},
"identifierName": "variant"
},
"name": "variant"
},
"computed": true
},
"arguments": [
{
"type": "Identifier",
"start": 2232,
"end": 2236,
"loc": {
"start": {
"line": 83,
"column": 62
},
"end": {
"line": 83,
"column": 66
},
"identifierName": "root"
},
"name": "root"
}
]
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {GameRoot} root\r\n * @param {string} variant\r\n * @returns {Array<[string, string]>}\r\n ",
"start": 2004,
"end": 2122,
"loc": {
"start": {
"line": 77,
"column": 4
},
"end": {
"line": 81,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 2253,
"end": 2346,
"loc": {
"start": {
"line": 86,
"column": 4
},
"end": {
"line": 88,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2253,
"end": 2269,
"loc": {
"start": {
"line": 86,
"column": 4
},
"end": {
"line": 86,
"column": 20
},
"identifierName": "getIsReplaceable"
},
"name": "getIsReplaceable"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2270,
"end": 2277,
"loc": {
"start": {
"line": 86,
"column": 21
},
"end": {
"line": 86,
"column": 28
},
"identifierName": "variant"
},
"name": "variant"
}
],
"body": {
"type": "BlockStatement",
"start": 2279,
"end": 2346,
"loc": {
"start": {
"line": 86,
"column": 30
},
"end": {
"line": 88,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 2290,
"end": 2339,
"loc": {
"start": {
"line": 87,
"column": 8
},
"end": {
"line": 87,
"column": 57
}
},
"argument": {
"type": "CallExpression",
"start": 2297,
"end": 2338,
"loc": {
"start": {
"line": 87,
"column": 15
},
"end": {
"line": 87,
"column": 56
}
},
"callee": {
"type": "MemberExpression",
"start": 2297,
"end": 2336,
"loc": {
"start": {
"line": 87,
"column": 15
},
"end": {
"line": 87,
"column": 54
}
},
"object": {
"type": "MemberExpression",
"start": 2297,
"end": 2327,
"loc": {
"start": {
"line": 87,
"column": 15
},
"end": {
"line": 87,
"column": 45
}
},
"object": {
"type": "Identifier",
"start": 2297,
"end": 2313,
"loc": {
"start": {
"line": 87,
"column": 15
},
"end": {
"line": 87,
"column": 31
},
"identifierName": "MetaBeltBuilding"
},
"name": "MetaBeltBuilding"
},
"property": {
"type": "Identifier",
"start": 2314,
"end": 2327,
"loc": {
"start": {
"line": 87,
"column": 32
},
"end": {
"line": 87,
"column": 45
},
"identifierName": "isReplaceable"
},
"name": "isReplaceable"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2328,
"end": 2335,
"loc": {
"start": {
"line": 87,
"column": 46
},
"end": {
"line": 87,
"column": 53
},
"identifierName": "variant"
},
"name": "variant"
},
"computed": true
},
"arguments": []
}
}
],
"directives": [],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 2354,
"end": 2398,
"loc": {
"start": {
"line": 90,
"column": 4
},
"end": {
"line": 92,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 2404,
"end": 2499,
"loc": {
"start": {
"line": 93,
"column": 4
},
"end": {
"line": 95,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2404,
"end": 2423,
"loc": {
"start": {
"line": 93,
"column": 4
},
"end": {
"line": 93,
"column": 23
},
"identifierName": "getShowLayerPreview"
},
"name": "getShowLayerPreview",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2424,
"end": 2431,
"loc": {
"start": {
"line": 93,
"column": 24
},
"end": {
"line": 93,
"column": 31
},
"identifierName": "variant"
},
"name": "variant"
}
],
"body": {
"type": "BlockStatement",
"start": 2433,
"end": 2499,
"loc": {
"start": {
"line": 93,
"column": 33
},
"end": {
"line": 95,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 2444,
"end": 2492,
"loc": {
"start": {
"line": 94,
"column": 8
},
"end": {
"line": 94,
"column": 56
}
},
"argument": {
"type": "CallExpression",
"start": 2451,
"end": 2491,
"loc": {
"start": {
"line": 94,
"column": 15
},
"end": {
"line": 94,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 2451,
"end": 2489,
"loc": {
"start": {
"line": 94,
"column": 15
},
"end": {
"line": 94,
"column": 53
}
},
"object": {
"type": "MemberExpression",
"start": 2451,
"end": 2480,
"loc": {
"start": {
"line": 94,
"column": 15
},
"end": {
"line": 94,
"column": 44
}
},
"object": {
"type": "Identifier",
"start": 2451,
"end": 2467,
"loc": {
"start": {
"line": 94,
"column": 15
},
"end": {
"line": 94,
"column": 31
},
"identifierName": "MetaBeltBuilding"
},
"name": "MetaBeltBuilding"
},
"property": {
"type": "Identifier",
"start": 2468,
"end": 2480,
"loc": {
"start": {
"line": 94,
"column": 32
},
"end": {
"line": 94,
"column": 44
},
"identifierName": "layerPreview"
},
"name": "layerPreview"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2481,
"end": 2488,
"loc": {
"start": {
"line": 94,
"column": 45
},
"end": {
"line": 94,
"column": 52
},
"identifierName": "variant"
},
"name": "variant"
},
"computed": true
},
"arguments": []
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 2354,
"end": 2398,
"loc": {
"start": {
"line": 90,
"column": 4
},
"end": {
"line": 92,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {number} rotation\r\n * @param {number} rotationVariant\r\n * @param {string} variant\r\n * @param {Entity} entity\r\n * @returns {Array<number>|null}\r\n ",
"start": 2507,
"end": 2693,
"loc": {
"start": {
"line": 97,
"column": 4
},
"end": {
"line": 103,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 2699,
"end": 3008,
"loc": {
"start": {
"line": 104,
"column": 4
},
"end": {
"line": 110,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2699,
"end": 2728,
"loc": {
"start": {
"line": 104,
"column": 4
},
"end": {
"line": 104,
"column": 33
},
"identifierName": "getSpecialOverlayRenderMatrix"
},
"name": "getSpecialOverlayRenderMatrix",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2729,
"end": 2737,
"loc": {
"start": {
"line": 104,
"column": 34
},
"end": {
"line": 104,
"column": 42
},
"identifierName": "rotation"
},
"name": "rotation"
},
{
"type": "Identifier",
"start": 2739,
"end": 2754,
"loc": {
"start": {
"line": 104,
"column": 44
},
"end": {
"line": 104,
"column": 59
},
"identifierName": "rotationVariant"
},
"name": "rotationVariant"
},
{
"type": "Identifier",
"start": 2756,
"end": 2763,
"loc": {
"start": {
"line": 104,
"column": 61
},
"end": {
"line": 104,
"column": 68
},
"identifierName": "variant"
},
"name": "variant"
},
{
"type": "Identifier",
"start": 2765,
"end": 2771,
"loc": {
"start": {
"line": 104,
"column": 70
},
"end": {
"line": 104,
"column": 76
},
"identifierName": "entity"
},
"name": "entity"
}
],
"body": {
"type": "BlockStatement",
"start": 2773,
"end": 3008,
"loc": {
"start": {
"line": 104,
"column": 78
},
"end": {
"line": 110,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 2784,
"end": 2947,
"loc": {
"start": {
"line": 105,
"column": 8
},
"end": {
"line": 108,
"column": 10
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2788,
"end": 2946,
"loc": {
"start": {
"line": 105,
"column": 12
},
"end": {
"line": 108,
"column": 9
}
},
"id": {
"type": "Identifier",
"start": 2788,
"end": 2796,
"loc": {
"start": {
"line": 105,
"column": 12
},
"end": {
"line": 105,
"column": 20
},
"identifierName": "matrices"
},
"name": "matrices"
},
"init": {
"type": "CallExpression",
"start": 2799,
"end": 2946,
"loc": {
"start": {
"line": 105,
"column": 23
},
"end": {
"line": 108,
"column": 9
}
},
"callee": {
"type": "MemberExpression",
"start": 2799,
"end": 2884,
"loc": {
"start": {
"line": 105,
"column": 23
},
"end": {
"line": 105,
"column": 108
}
},
"object": {
"type": "MemberExpression",
"start": 2799,
"end": 2831,
"loc": {
"start": {
"line": 105,
"column": 23
},
"end": {
"line": 105,
"column": 55
}
},
"object": {
"type": "Identifier",
"start": 2799,
"end": 2815,
"loc": {
"start": {
"line": 105,
"column": 23
},
"end": {
"line": 105,
"column": 39
},
"identifierName": "MetaBeltBuilding"
},
"name": "MetaBeltBuilding"
},
"property": {
"type": "Identifier",
"start": 2816,
"end": 2831,
"loc": {
"start": {
"line": 105,
"column": 40
},
"end": {
"line": 105,
"column": 55
},
"identifierName": "overlayMatrices"
},
"name": "overlayMatrices"
},
"computed": false
},
"property": {
"type": "MemberExpression",
"start": 2832,
"end": 2883,
"loc": {
"start": {
"line": 105,
"column": 56
},
"end": {
"line": 105,
"column": 107
}
},
"object": {
"type": "MemberExpression",
"start": 2832,
"end": 2866,
"loc": {
"start": {
"line": 105,
"column": 56
},
"end": {
"line": 105,
"column": 90
}
},
"object": {
"type": "Identifier",
"start": 2832,
"end": 2848,
"loc": {
"start": {
"line": 105,
"column": 56
},
"end": {
"line": 105,
"column": 72
},
"identifierName": "MetaBeltBuilding"
},
"name": "MetaBeltBuilding"
},
"property": {
"type": "Identifier",
"start": 2849,
"end": 2866,
"loc": {
"start": {
"line": 105,
"column": 73
},
"end": {
"line": 105,
"column": 90
},
"identifierName": "variantToRotation"
},
"name": "variantToRotation"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2867,
"end": 2882,
"loc": {
"start": {
"line": 105,
"column": 91
},
"end": {
"line": 105,
"column": 106
},
"identifierName": "rotationVariant"
},
"name": "rotationVariant"
},
"computed": true
},
"computed": true
},
"arguments": [
{
"type": "Identifier",
"start": 2899,
"end": 2905,
"loc": {
"start": {
"line": 106,
"column": 12
},
"end": {
"line": 106,
"column": 18
},
"identifierName": "entity"
},
"name": "entity"
},
{
"type": "Identifier",
"start": 2920,
"end": 2935,
"loc": {
"start": {
"line": 107,
"column": 12
},
"end": {
"line": 107,
"column": 27
},
"identifierName": "rotationVariant"
},
"name": "rotationVariant"
}
]
}
}
],
"kind": "let"
},
{
"type": "ReturnStatement",
"start": 2957,
"end": 3001,
"loc": {
"start": {
"line": 109,
"column": 8
},
"end": {
"line": 109,
"column": 52
}
},
"argument": {
"type": "ConditionalExpression",
"start": 2964,
"end": 3000,
"loc": {
"start": {
"line": 109,
"column": 15
},
"end": {
"line": 109,
"column": 51
}
},
"test": {
"type": "Identifier",
"start": 2964,
"end": 2972,
"loc": {
"start": {
"line": 109,
"column": 15
},
"end": {
"line": 109,
"column": 23
},
"identifierName": "matrices"
},
"name": "matrices"
},
"consequent": {
"type": "MemberExpression",
"start": 2975,
"end": 2993,
"loc": {
"start": {
"line": 109,
"column": 26
},
"end": {
"line": 109,
"column": 44
}
},
"object": {
"type": "Identifier",
"start": 2975,
"end": 2983,
"loc": {
"start": {
"line": 109,
"column": 26
},
"end": {
"line": 109,
"column": 34
},
"identifierName": "matrices"
},
"name": "matrices"
},
"property": {
"type": "Identifier",
"start": 2984,
"end": 2992,
"loc": {
"start": {
"line": 109,
"column": 35
},
"end": {
"line": 109,
"column": 43
},
"identifierName": "rotation"
},
"name": "rotation"
},
"computed": true
},
"alternate": {
"type": "NullLiteral",
"start": 2996,
"end": 3000,
"loc": {
"start": {
"line": 109,
"column": 47
},
"end": {
"line": 109,
"column": 51
}
}
}
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {number} rotation\r\n * @param {number} rotationVariant\r\n * @param {string} variant\r\n * @param {Entity} entity\r\n * @returns {Array<number>|null}\r\n ",
"start": 2507,
"end": 2693,
"loc": {
"start": {
"line": 97,
"column": 4
},
"end": {
"line": 103,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 3016,
"end": 3060,
"loc": {
"start": {
"line": 112,
"column": 4
},
"end": {
"line": 114,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 3066,
"end": 3153,
"loc": {
"start": {
"line": 115,
"column": 4
},
"end": {
"line": 117,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3066,
"end": 3079,
"loc": {
"start": {
"line": 115,
"column": 4
},
"end": {
"line": 115,
"column": 17
},
"identifierName": "getRenderPins"
},
"name": "getRenderPins",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 3080,
"end": 3087,
"loc": {
"start": {
"line": 115,
"column": 18
},
"end": {
"line": 115,
"column": 25
},
"identifierName": "variant"
},
"name": "variant"
}
],
"body": {
"type": "BlockStatement",
"start": 3089,
"end": 3153,
"loc": {
"start": {
"line": 115,
"column": 27
},
"end": {
"line": 117,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 3100,
"end": 3146,
"loc": {
"start": {
"line": 116,
"column": 8
},
"end": {
"line": 116,
"column": 54
}
},
"argument": {
"type": "CallExpression",
"start": 3107,
"end": 3145,
"loc": {
"start": {
"line": 116,
"column": 15
},
"end": {
"line": 116,
"column": 53
}
},
"callee": {
"type": "MemberExpression",
"start": 3107,
"end": 3143,
"loc": {
"start": {
"line": 116,
"column": 15
},
"end": {
"line": 116,
"column": 51
}
},
"object": {
"type": "MemberExpression",
"start": 3107,
"end": 3134,
"loc": {
"start": {
"line": 116,
"column": 15
},
"end": {
"line": 116,
"column": 42
}
},
"object": {
"type": "Identifier",
"start": 3107,
"end": 3123,
"loc": {
"start": {
"line": 116,
"column": 15
},
"end": {
"line": 116,
"column": 31
},
"identifierName": "MetaBeltBuilding"
},
"name": "MetaBeltBuilding"
},
"property": {
"type": "Identifier",
"start": 3124,
"end": 3134,
"loc": {
"start": {
"line": 116,
"column": 32
},
"end": {
"line": 116,
"column": 42
},
"identifierName": "renderPins"
},
"name": "renderPins"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3135,
"end": 3142,
"loc": {
"start": {
"line": 116,
"column": 43
},
"end": {
"line": 116,
"column": 50
},
"identifierName": "variant"
},
"name": "variant"
},
"computed": true
},
"arguments": []
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 3016,
"end": 3060,
"loc": {
"start": {
"line": 112,
"column": 4
},
"end": {
"line": 114,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 3161,
"end": 3257,
"loc": {
"start": {
"line": 119,
"column": 4
},
"end": {
"line": 121,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3161,
"end": 3178,
"loc": {
"start": {
"line": 119,
"column": 4
},
"end": {
"line": 119,
"column": 21
},
"identifierName": "getPlacementSound"
},
"name": "getPlacementSound"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 3179,
"end": 3186,
"loc": {
"start": {
"line": 119,
"column": 22
},
"end": {
"line": 119,
"column": 29
},
"identifierName": "variant"
},
"name": "variant"
}
],
"body": {
"type": "BlockStatement",
"start": 3188,
"end": 3257,
"loc": {
"start": {
"line": 119,
"column": 31
},
"end": {
"line": 121,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 3199,
"end": 3250,
"loc": {
"start": {
"line": 120,
"column": 8
},
"end": {
"line": 120,
"column": 59
}
},
"argument": {
"type": "CallExpression",
"start": 3206,
"end": 3249,
"loc": {
"start": {
"line": 120,
"column": 15
},
"end": {
"line": 120,
"column": 58
}
},
"callee": {
"type": "MemberExpression",
"start": 3206,
"end": 3247,
"loc": {
"start": {
"line": 120,
"column": 15
},
"end": {
"line": 120,
"column": 56
}
},
"object": {
"type": "MemberExpression",
"start": 3206,
"end": 3238,
"loc": {
"start": {
"line": 120,
"column": 15
},
"end": {
"line": 120,
"column": 47
}
},
"object": {
"type": "Identifier",
"start": 3206,
"end": 3222,
"loc": {
"start": {
"line": 120,
"column": 15
},
"end": {
"line": 120,
"column": 31
},
"identifierName": "MetaBeltBuilding"
},
"name": "MetaBeltBuilding"
},
"property": {
"type": "Identifier",
"start": 3223,
"end": 3238,
"loc": {
"start": {
"line": 120,
"column": 32
},
"end": {
"line": 120,
"column": 47
},
"identifierName": "placementSounds"
},
"name": "placementSounds"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3239,
"end": 3246,
"loc": {
"start": {
"line": 120,
"column": 48
},
"end": {
"line": 120,
"column": 55
},
"identifierName": "variant"
},
"name": "variant"
},
"computed": true
},
"arguments": []
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 3265,
"end": 3326,
"loc": {
"start": {
"line": 123,
"column": 4
},
"end": {
"line": 125,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3265,
"end": 3293,
"loc": {
"start": {
"line": 123,
"column": 4
},
"end": {
"line": 123,
"column": 32
},
"identifierName": "getHasDirectionLockAvailable"
},
"name": "getHasDirectionLockAvailable"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 3296,
"end": 3326,
"loc": {
"start": {
"line": 123,
"column": 35
},
"end": {
"line": 125,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 3307,
"end": 3319,
"loc": {
"start": {
"line": 124,
"column": 8
},
"end": {
"line": 124,
"column": 20
}
},
"argument": {
"type": "BooleanLiteral",
"start": 3314,
"end": 3318,
"loc": {
"start": {
"line": 124,
"column": 15
},
"end": {
"line": 124,
"column": 19
}
},
"value": true
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 3334,
"end": 3389,
"loc": {
"start": {
"line": 127,
"column": 4
},
"end": {
"line": 129,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3334,
"end": 3356,
"loc": {
"start": {
"line": 127,
"column": 4
},
"end": {
"line": 127,
"column": 26
},
"identifierName": "getStayInPlacementMode"
},
"name": "getStayInPlacementMode"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 3359,
"end": 3389,
"loc": {
"start": {
"line": 127,
"column": 29
},
"end": {
"line": 129,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 3370,
"end": 3382,
"loc": {
"start": {
"line": 128,
"column": 8
},
"end": {
"line": 128,
"column": 20
}
},
"argument": {
"type": "BooleanLiteral",
"start": 3377,
"end": 3381,
"loc": {
"start": {
"line": 128,
"column": 15
},
"end": {
"line": 128,
"column": 19
}
},
"value": true
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 3397,
"end": 3464,
"loc": {
"start": {
"line": 131,
"column": 4
},
"end": {
"line": 133,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3397,
"end": 3431,
"loc": {
"start": {
"line": 131,
"column": 4
},
"end": {
"line": 131,
"column": 38
},
"identifierName": "getRotateAutomaticallyWhilePlacing"
},
"name": "getRotateAutomaticallyWhilePlacing"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 3434,
"end": 3464,
"loc": {
"start": {
"line": 131,
"column": 41
},
"end": {
"line": 133,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 3445,
"end": 3457,
"loc": {
"start": {
"line": 132,
"column": 8
},
"end": {
"line": 132,
"column": 20
}
},
"argument": {
"type": "BooleanLiteral",
"start": 3452,
"end": 3456,
"loc": {
"start": {
"line": 132,
"column": 15
},
"end": {
"line": 132,
"column": 19
}
},
"value": true
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 3472,
"end": 3514,
"loc": {
"start": {
"line": 135,
"column": 4
},
"end": {
"line": 137,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3472,
"end": 3481,
"loc": {
"start": {
"line": 135,
"column": 4
},
"end": {
"line": 135,
"column": 13
},
"identifierName": "getSprite"
},
"name": "getSprite"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 3484,
"end": 3514,
"loc": {
"start": {
"line": 135,
"column": 16
},
"end": {
"line": 137,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 3495,
"end": 3507,
"loc": {
"start": {
"line": 136,
"column": 8
},
"end": {
"line": 136,
"column": 20
}
},
"argument": {
"type": "NullLiteral",
"start": 3502,
"end": 3506,
"loc": {
"start": {
"line": 136,
"column": 15
},
"end": {
"line": 136,
"column": 19
}
}
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 3522,
"end": 4253,
"loc": {
"start": {
"line": 139,
"column": 4
},
"end": {
"line": 158,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3522,
"end": 3538,
"loc": {
"start": {
"line": 139,
"column": 4
},
"end": {
"line": 139,
"column": 20
},
"identifierName": "getPreviewSprite"
},
"name": "getPreviewSprite"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 3539,
"end": 3554,
"loc": {
"start": {
"line": 139,
"column": 21
},
"end": {
"line": 139,
"column": 36
},
"identifierName": "rotationVariant"
},
"name": "rotationVariant"
}
],
"body": {
"type": "BlockStatement",
"start": 3556,
"end": 4253,
"loc": {
"start": {
"line": 139,
"column": 38
},
"end": {
"line": 158,
"column": 5
}
},
"body": [
{
"type": "SwitchStatement",
"start": 3567,
"end": 4246,
"loc": {
"start": {
"line": 140,
"column": 8
},
"end": {
"line": 157,
"column": 9
}
},
"discriminant": {
"type": "MemberExpression",
"start": 3575,
"end": 3626,
"loc": {
"start": {
"line": 140,
"column": 16
},
"end": {
"line": 140,
"column": 67
}
},
"object": {
"type": "MemberExpression",
"start": 3575,
"end": 3609,
"loc": {
"start": {
"line": 140,
"column": 16
},
"end": {
"line": 140,
"column": 50
}
},
"object": {
"type": "Identifier",
"start": 3575,
"end": 3591,
"loc": {
"start": {
"line": 140,
"column": 16
},
"end": {
"line": 140,
"column": 32
},
"identifierName": "MetaBeltBuilding"
},
"name": "MetaBeltBuilding"
},
"property": {
"type": "Identifier",
"start": 3592,
"end": 3609,
"loc": {
"start": {
"line": 140,
"column": 33
},
"end": {
"line": 140,
"column": 50
},
"identifierName": "variantToRotation"
},
"name": "variantToRotation"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3610,
"end": 3625,
"loc": {
"start": {
"line": 140,
"column": 51
},
"end": {
"line": 140,
"column": 66
},
"identifierName": "rotationVariant"
},
"name": "rotationVariant"
},
"computed": true
},
"cases": [
{
"type": "SwitchCase",
"start": 3643,
"end": 3784,
"loc": {
"start": {
"line": 141,
"column": 12
},
"end": {
"line": 144,
"column": 17
}
},
"consequent": [
{
"type": "BlockStatement",
"start": 3684,
"end": 3784,
"loc": {
"start": {
"line": 142,
"column": 16
},
"end": {
"line": 144,
"column": 17
}
},
"body": [
{
"type": "ReturnStatement",
"start": 3707,
"end": 3765,
"loc": {
"start": {
"line": 143,
"column": 20
},
"end": {
"line": 143,
"column": 78
}
},
"argument": {
"type": "CallExpression",
"start": 3714,
"end": 3764,
"loc": {
"start": {
"line": 143,
"column": 27
},
"end": {
"line": 143,
"column": 77
}
},
"callee": {
"type": "MemberExpression",
"start": 3714,
"end": 3730,
"loc": {
"start": {
"line": 143,
"column": 27
},
"end": {
"line": 143,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 3714,
"end": 3720,
"loc": {
"start": {
"line": 143,
"column": 27
},
"end": {
"line": 143,
"column": 33
},
"identifierName": "Loader"
},
"name": "Loader"
},
"property": {
"type": "Identifier",
"start": 3721,
"end": 3730,
"loc": {
"start": {
"line": 143,
"column": 34
},
"end": {
"line": 143,
"column": 43
},
"identifierName": "getSprite"
},
"name": "getSprite"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 3731,
"end": 3763,
"loc": {
"start": {
"line": 143,
"column": 44
},
"end": {
"line": 143,
"column": 76
}
},
"extra": {
"rawValue": "sprites/buildings/belt_top.png",
"raw": "\"sprites/buildings/belt_top.png\""
},
"value": "sprites/buildings/belt_top.png"
}
]
}
}
],
"directives": []
}
],
"test": {
"type": "MemberExpression",
"start": 3648,
"end": 3665,
"loc": {
"start": {
"line": 141,
"column": 17
},
"end": {
"line": 141,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 3648,
"end": 3661,
"loc": {
"start": {
"line": 141,
"column": 17
},
"end": {
"line": 141,
"column": 30
},
"identifierName": "enumDirection"
},
"name": "enumDirection"
},
"property": {
"type": "Identifier",
"start": 3662,
"end": 3665,
"loc": {
"start": {
"line": 141,
"column": 31
},
"end": {
"line": 141,
"column": 34
},
"identifierName": "top"
},
"name": "top"
},
"computed": false
}
},
{
"type": "SwitchCase",
"start": 3798,
"end": 3941,
"loc": {
"start": {
"line": 145,
"column": 12
},
"end": {
"line": 148,
"column": 17
}
},
"consequent": [
{
"type": "BlockStatement",
"start": 3840,
"end": 3941,
"loc": {
"start": {
"line": 146,
"column": 16
},
"end": {
"line": 148,
"column": 17
}
},
"body": [
{
"type": "ReturnStatement",
"start": 3863,
"end": 3922,
"loc": {
"start": {
"line": 147,
"column": 20
},
"end": {
"line": 147,
"column": 79
}
},
"argument": {
"type": "CallExpression",
"start": 3870,
"end": 3921,
"loc": {
"start": {
"line": 147,
"column": 27
},
"end": {
"line": 147,
"column": 78
}
},
"callee": {
"type": "MemberExpression",
"start": 3870,
"end": 3886,
"loc": {
"start": {
"line": 147,
"column": 27
},
"end": {
"line": 147,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 3870,
"end": 3876,
"loc": {
"start": {
"line": 147,
"column": 27
},
"end": {
"line": 147,
"column": 33
},
"identifierName": "Loader"
},
"name": "Loader"
},
"property": {
"type": "Identifier",
"start": 3877,
"end": 3886,
"loc": {
"start": {
"line": 147,
"column": 34
},
"end": {
"line": 147,
"column": 43
},
"identifierName": "getSprite"
},
"name": "getSprite"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 3887,
"end": 3920,
"loc": {
"start": {
"line": 147,
"column": 44
},
"end": {
"line": 147,
"column": 77
}
},
"extra": {
"rawValue": "sprites/buildings/belt_left.png",
"raw": "\"sprites/buildings/belt_left.png\""
},
"value": "sprites/buildings/belt_left.png"
}
]
}
}
],
"directives": []
}
],
"test": {
"type": "MemberExpression",
"start": 3803,
"end": 3821,
"loc": {
"start": {
"line": 145,
"column": 17
},
"end": {
"line": 145,
"column": 35
}
},
"object": {
"type": "Identifier",
"start": 3803,
"end": 3816,
"loc": {
"start": {
"line": 145,
"column": 17
},
"end": {
"line": 145,
"column": 30
},
"identifierName": "enumDirection"
},
"name": "enumDirection"
},
"property": {
"type": "Identifier",
"start": 3817,
"end": 3821,
"loc": {
"start": {
"line": 145,
"column": 31
},
"end": {
"line": 145,
"column": 35
},
"identifierName": "left"
},
"name": "left"
},
"computed": false
}
},
{
"type": "SwitchCase",
"start": 3955,
"end": 4100,
"loc": {
"start": {
"line": 149,
"column": 12
},
"end": {
"line": 152,
"column": 17
}
},
"consequent": [
{
"type": "BlockStatement",
"start": 3998,
"end": 4100,
"loc": {
"start": {
"line": 150,
"column": 16
},
"end": {
"line": 152,
"column": 17
}
},
"body": [
{
"type": "ReturnStatement",
"start": 4021,
"end": 4081,
"loc": {
"start": {
"line": 151,
"column": 20
},
"end": {
"line": 151,
"column": 80
}
},
"argument": {
"type": "CallExpression",
"start": 4028,
"end": 4080,
"loc": {
"start": {
"line": 151,
"column": 27
},
"end": {
"line": 151,
"column": 79
}
},
"callee": {
"type": "MemberExpression",
"start": 4028,
"end": 4044,
"loc": {
"start": {
"line": 151,
"column": 27
},
"end": {
"line": 151,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 4028,
"end": 4034,
"loc": {
"start": {
"line": 151,
"column": 27
},
"end": {
"line": 151,
"column": 33
},
"identifierName": "Loader"
},
"name": "Loader"
},
"property": {
"type": "Identifier",
"start": 4035,
"end": 4044,
"loc": {
"start": {
"line": 151,
"column": 34
},
"end": {
"line": 151,
"column": 43
},
"identifierName": "getSprite"
},
"name": "getSprite"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 4045,
"end": 4079,
"loc": {
"start": {
"line": 151,
"column": 44
},
"end": {
"line": 151,
"column": 78
}
},
"extra": {
"rawValue": "sprites/buildings/belt_right.png",
"raw": "\"sprites/buildings/belt_right.png\""
},
"value": "sprites/buildings/belt_right.png"
}
]
}
}
],
"directives": []
}
],
"test": {
"type": "MemberExpression",
"start": 3960,
"end": 3979,
"loc": {
"start": {
"line": 149,
"column": 17
},
"end": {
"line": 149,
"column": 36
}
},
"object": {
"type": "Identifier",
"start": 3960,
"end": 3973,
"loc": {
"start": {
"line": 149,
"column": 17
},
"end": {
"line": 149,
"column": 30
},
"identifierName": "enumDirection"
},
"name": "enumDirection"
},
"property": {
"type": "Identifier",
"start": 3974,
"end": 3979,
"loc": {
"start": {
"line": 149,
"column": 31
},
"end": {
"line": 149,
"column": 36
},
"identifierName": "right"
},
"name": "right"
},
"computed": false
}
},
{
"type": "SwitchCase",
"start": 4114,
"end": 4235,
"loc": {
"start": {
"line": 153,
"column": 12
},
"end": {
"line": 156,
"column": 17
}
},
"consequent": [
{
"type": "BlockStatement",
"start": 4140,
"end": 4235,
"loc": {
"start": {
"line": 154,
"column": 16
},
"end": {
"line": 156,
"column": 17
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 4163,
"end": 4216,
"loc": {
"start": {
"line": 155,
"column": 20
},
"end": {
"line": 155,
"column": 73
}
},
"expression": {
"type": "CallExpression",
"start": 4163,
"end": 4215,
"loc": {
"start": {
"line": 155,
"column": 20
},
"end": {
"line": 155,
"column": 72
}
},
"callee": {
"type": "Identifier",
"start": 4163,
"end": 4175,
"loc": {
"start": {
"line": 155,
"column": 20
},
"end": {
"line": 155,
"column": 32
},
"identifierName": "assertAlways"
},
"name": "assertAlways"
},
"arguments": [
{
"type": "BooleanLiteral",
"start": 4176,
"end": 4181,
"loc": {
"start": {
"line": 155,
"column": 33
},
"end": {
"line": 155,
"column": 38
}
},
"value": false
},
{
"type": "StringLiteral",
"start": 4183,
"end": 4214,
"loc": {
"start": {
"line": 155,
"column": 40
},
"end": {
"line": 155,
"column": 71
}
},
"extra": {
"rawValue": "Invalid belt rotation variant",
"raw": "\"Invalid belt rotation variant\""
},
"value": "Invalid belt rotation variant"
}
]
}
}
],
"directives": []
}
],
"test": null
}
]
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 4261,
"end": 4997,
"loc": {
"start": {
"line": 160,
"column": 4
},
"end": {
"line": 179,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 4261,
"end": 4279,
"loc": {
"start": {
"line": 160,
"column": 4
},
"end": {
"line": 160,
"column": 22
},
"identifierName": "getBlueprintSprite"
},
"name": "getBlueprintSprite"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 4280,
"end": 4295,
"loc": {
"start": {
"line": 160,
"column": 23
},
"end": {
"line": 160,
"column": 38
},
"identifierName": "rotationVariant"
},
"name": "rotationVariant"
}
],
"body": {
"type": "BlockStatement",
"start": 4297,
"end": 4997,
"loc": {
"start": {
"line": 160,
"column": 40
},
"end": {
"line": 179,
"column": 5
}
},
"body": [
{
"type": "SwitchStatement",
"start": 4308,
"end": 4990,
"loc": {
"start": {
"line": 161,
"column": 8
},
"end": {
"line": 178,
"column": 9
}
},
"discriminant": {
"type": "MemberExpression",
"start": 4316,
"end": 4367,
"loc": {
"start": {
"line": 161,
"column": 16
},
"end": {
"line": 161,
"column": 67
}
},
"object": {
"type": "MemberExpression",
"start": 4316,
"end": 4350,
"loc": {
"start": {
"line": 161,
"column": 16
},
"end": {
"line": 161,
"column": 50
}
},
"object": {
"type": "Identifier",
"start": 4316,
"end": 4332,
"loc": {
"start": {
"line": 161,
"column": 16
},
"end": {
"line": 161,
"column": 32
},
"identifierName": "MetaBeltBuilding"
},
"name": "MetaBeltBuilding"
},
"property": {
"type": "Identifier",
"start": 4333,
"end": 4350,
"loc": {
"start": {
"line": 161,
"column": 33
},
"end": {
"line": 161,
"column": 50
},
"identifierName": "variantToRotation"
},
"name": "variantToRotation"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4351,
"end": 4366,
"loc": {
"start": {
"line": 161,
"column": 51
},
"end": {
"line": 161,
"column": 66
},
"identifierName": "rotationVariant"
},
"name": "rotationVariant"
},
"computed": true
},
"cases": [
{
"type": "SwitchCase",
"start": 4384,
"end": 4526,
"loc": {
"start": {
"line": 162,
"column": 12
},
"end": {
"line": 165,
"column": 17
}
},
"consequent": [
{
"type": "BlockStatement",
"start": 4425,
"end": 4526,
"loc": {
"start": {
"line": 163,
"column": 16
},
"end": {
"line": 165,
"column": 17
}
},
"body": [
{
"type": "ReturnStatement",
"start": 4448,
"end": 4507,
"loc": {
"start": {
"line": 164,
"column": 20
},
"end": {
"line": 164,
"column": 79
}
},
"argument": {
"type": "CallExpression",
"start": 4455,
"end": 4506,
"loc": {
"start": {
"line": 164,
"column": 27
},
"end": {
"line": 164,
"column": 78
}
},
"callee": {
"type": "MemberExpression",
"start": 4455,
"end": 4471,
"loc": {
"start": {
"line": 164,
"column": 27
},
"end": {
"line": 164,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 4455,
"end": 4461,
"loc": {
"start": {
"line": 164,
"column": 27
},
"end": {
"line": 164,
"column": 33
},
"identifierName": "Loader"
},
"name": "Loader"
},
"property": {
"type": "Identifier",
"start": 4462,
"end": 4471,
"loc": {
"start": {
"line": 164,
"column": 34
},
"end": {
"line": 164,
"column": 43
},
"identifierName": "getSprite"
},
"name": "getSprite"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 4472,
"end": 4505,
"loc": {
"start": {
"line": 164,
"column": 44
},
"end": {
"line": 164,
"column": 77
}
},
"extra": {
"rawValue": "sprites/blueprints/belt_top.png",
"raw": "\"sprites/blueprints/belt_top.png\""
},
"value": "sprites/blueprints/belt_top.png"
}
]
}
}
],
"directives": []
}
],
"test": {
"type": "MemberExpression",
"start": 4389,
"end": 4406,
"loc": {
"start": {
"line": 162,
"column": 17
},
"end": {
"line": 162,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 4389,
"end": 4402,
"loc": {
"start": {
"line": 162,
"column": 17
},
"end": {
"line": 162,
"column": 30
},
"identifierName": "enumDirection"
},
"name": "enumDirection"
},
"property": {
"type": "Identifier",
"start": 4403,
"end": 4406,
"loc": {
"start": {
"line": 162,
"column": 31
},
"end": {
"line": 162,
"column": 34
},
"identifierName": "top"
},
"name": "top"
},
"computed": false
}
},
{
"type": "SwitchCase",
"start": 4540,
"end": 4684,
"loc": {
"start": {
"line": 166,
"column": 12
},
"end": {
"line": 169,
"column": 17
}
},
"consequent": [
{
"type": "BlockStatement",
"start": 4582,
"end": 4684,
"loc": {
"start": {
"line": 167,
"column": 16
},
"end": {
"line": 169,
"column": 17
}
},
"body": [
{
"type": "ReturnStatement",
"start": 4605,
"end": 4665,
"loc": {
"start": {
"line": 168,
"column": 20
},
"end": {
"line": 168,
"column": 80
}
},
"argument": {
"type": "CallExpression",
"start": 4612,
"end": 4664,
"loc": {
"start": {
"line": 168,
"column": 27
},
"end": {
"line": 168,
"column": 79
}
},
"callee": {
"type": "MemberExpression",
"start": 4612,
"end": 4628,
"loc": {
"start": {
"line": 168,
"column": 27
},
"end": {
"line": 168,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 4612,
"end": 4618,
"loc": {
"start": {
"line": 168,
"column": 27
},
"end": {
"line": 168,
"column": 33
},
"identifierName": "Loader"
},
"name": "Loader"
},
"property": {
"type": "Identifier",
"start": 4619,
"end": 4628,
"loc": {
"start": {
"line": 168,
"column": 34
},
"end": {
"line": 168,
"column": 43
},
"identifierName": "getSprite"
},
"name": "getSprite"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 4629,
"end": 4663,
"loc": {
"start": {
"line": 168,
"column": 44
},
"end": {
"line": 168,
"column": 78
}
},
"extra": {
"rawValue": "sprites/blueprints/belt_left.png",
"raw": "\"sprites/blueprints/belt_left.png\""
},
"value": "sprites/blueprints/belt_left.png"
}
]
}
}
],
"directives": []
}
],
"test": {
"type": "MemberExpression",
"start": 4545,
"end": 4563,
"loc": {
"start": {
"line": 166,
"column": 17
},
"end": {
"line": 166,
"column": 35
}
},
"object": {
"type": "Identifier",
"start": 4545,
"end": 4558,
"loc": {
"start": {
"line": 166,
"column": 17
},
"end": {
"line": 166,
"column": 30
},
"identifierName": "enumDirection"
},
"name": "enumDirection"
},
"property": {
"type": "Identifier",
"start": 4559,
"end": 4563,
"loc": {
"start": {
"line": 166,
"column": 31
},
"end": {
"line": 166,
"column": 35
},
"identifierName": "left"
},
"name": "left"
},
"computed": false
}
},
{
"type": "SwitchCase",
"start": 4698,
"end": 4844,
"loc": {
"start": {
"line": 170,
"column": 12
},
"end": {
"line": 173,
"column": 17
}
},
"consequent": [
{
"type": "BlockStatement",
"start": 4741,
"end": 4844,
"loc": {
"start": {
"line": 171,
"column": 16
},
"end": {
"line": 173,
"column": 17
}
},
"body": [
{
"type": "ReturnStatement",
"start": 4764,
"end": 4825,
"loc": {
"start": {
"line": 172,
"column": 20
},
"end": {
"line": 172,
"column": 81
}
},
"argument": {
"type": "CallExpression",
"start": 4771,
"end": 4824,
"loc": {
"start": {
"line": 172,
"column": 27
},
"end": {
"line": 172,
"column": 80
}
},
"callee": {
"type": "MemberExpression",
"start": 4771,
"end": 4787,
"loc": {
"start": {
"line": 172,
"column": 27
},
"end": {
"line": 172,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 4771,
"end": 4777,
"loc": {
"start": {
"line": 172,
"column": 27
},
"end": {
"line": 172,
"column": 33
},
"identifierName": "Loader"
},
"name": "Loader"
},
"property": {
"type": "Identifier",
"start": 4778,
"end": 4787,
"loc": {
"start": {
"line": 172,
"column": 34
},
"end": {
"line": 172,
"column": 43
},
"identifierName": "getSprite"
},
"name": "getSprite"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 4788,
"end": 4823,
"loc": {
"start": {
"line": 172,
"column": 44
},
"end": {
"line": 172,
"column": 79
}
},
"extra": {
"rawValue": "sprites/blueprints/belt_right.png",
"raw": "\"sprites/blueprints/belt_right.png\""
},
"value": "sprites/blueprints/belt_right.png"
}
]
}
}
],
"directives": []
}
],
"test": {
"type": "MemberExpression",
"start": 4703,
"end": 4722,
"loc": {
"start": {
"line": 170,
"column": 17
},
"end": {
"line": 170,
"column": 36
}
},
"object": {
"type": "Identifier",
"start": 4703,
"end": 4716,
"loc": {
"start": {
"line": 170,
"column": 17
},
"end": {
"line": 170,
"column": 30
},
"identifierName": "enumDirection"
},
"name": "enumDirection"
},
"property": {
"type": "Identifier",
"start": 4717,
"end": 4722,
"loc": {
"start": {
"line": 170,
"column": 31
},
"end": {
"line": 170,
"column": 36
},
"identifierName": "right"
},
"name": "right"
},
"computed": false
}
},
{
"type": "SwitchCase",
"start": 4858,
"end": 4979,
"loc": {
"start": {
"line": 174,
"column": 12
},
"end": {
"line": 177,
"column": 17
}
},
"consequent": [
{
"type": "BlockStatement",
"start": 4884,
"end": 4979,
"loc": {
"start": {
"line": 175,
"column": 16
},
"end": {
"line": 177,
"column": 17
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 4907,
"end": 4960,
"loc": {
"start": {
"line": 176,
"column": 20
},
"end": {
"line": 176,
"column": 73
}
},
"expression": {
"type": "CallExpression",
"start": 4907,
"end": 4959,
"loc": {
"start": {
"line": 176,
"column": 20
},
"end": {
"line": 176,
"column": 72
}
},
"callee": {
"type": "Identifier",
"start": 4907,
"end": 4919,
"loc": {
"start": {
"line": 176,
"column": 20
},
"end": {
"line": 176,
"column": 32
},
"identifierName": "assertAlways"
},
"name": "assertAlways"
},
"arguments": [
{
"type": "BooleanLiteral",
"start": 4920,
"end": 4925,
"loc": {
"start": {
"line": 176,
"column": 33
},
"end": {
"line": 176,
"column": 38
}
},
"value": false
},
{
"type": "StringLiteral",
"start": 4927,
"end": 4958,
"loc": {
"start": {
"line": 176,
"column": 40
},
"end": {
"line": 176,
"column": 71
}
},
"extra": {
"rawValue": "Invalid belt rotation variant",
"raw": "\"Invalid belt rotation variant\""
},
"value": "Invalid belt rotation variant"
}
]
}
}
],
"directives": []
}
],
"test": null
}
]
}
],
"directives": [],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Creates the entity at the given location\r\n * @param {Entity} entity\r\n ",
"start": 5005,
"end": 5097,
"loc": {
"start": {
"line": 181,
"column": 4
},
"end": {
"line": 184,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 5103,
"end": 5220,
"loc": {
"start": {
"line": 185,
"column": 4
},
"end": {
"line": 187,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 5103,
"end": 5124,
"loc": {
"start": {
"line": 185,
"column": 4
},
"end": {
"line": 185,
"column": 25
},
"identifierName": "setupEntityComponents"
},
"name": "setupEntityComponents",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 5125,
"end": 5131,
"loc": {
"start": {
"line": 185,
"column": 26
},
"end": {
"line": 185,
"column": 32
},
"identifierName": "entity"
},
"name": "entity"
}
],
"body": {
"type": "BlockStatement",
"start": 5133,
"end": 5220,
"loc": {
"start": {
"line": 185,
"column": 34
},
"end": {
"line": 187,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 5144,
"end": 5213,
"loc": {
"start": {
"line": 186,
"column": 8
},
"end": {
"line": 186,
"column": 77
}
},
"expression": {
"type": "CallExpression",
"start": 5144,
"end": 5212,
"loc": {
"start": {
"line": 186,
"column": 8
},
"end": {
"line": 186,
"column": 76
}
},
"callee": {
"type": "MemberExpression",
"start": 5144,
"end": 5190,
"loc": {
"start": {
"line": 186,
"column": 8
},
"end": {
"line": 186,
"column": 54
}
},
"object": {
"type": "MemberExpression",
"start": 5144,
"end": 5182,
"loc": {
"start": {
"line": 186,
"column": 8
},
"end": {
"line": 186,
"column": 46
}
},
"object": {
"type": "Identifier",
"start": 5144,
"end": 5160,
"loc": {
"start": {
"line": 186,
"column": 8
},
"end": {
"line": 186,
"column": 24
},
"identifierName": "MetaBeltBuilding"
},
"name": "MetaBeltBuilding"
},
"property": {
"type": "Identifier",
"start": 5161,
"end": 5182,
"loc": {
"start": {
"line": 186,
"column": 25
},
"end": {
"line": 186,
"column": 46
},
"identifierName": "setupEntityComponents"
},
"name": "setupEntityComponents"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5183,
"end": 5190,
"loc": {
"start": {
"line": 186,
"column": 47
},
"end": {
"line": 186,
"column": 54
},
"identifierName": "forEach"
},
"name": "forEach"
},
"computed": false
},
"arguments": [
{
"type": "ArrowFunctionExpression",
"start": 5191,
"end": 5211,
"loc": {
"start": {
"line": 186,
"column": 55
},
"end": {
"line": 186,
"column": 75
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [
{
"type": "Identifier",
"start": 5191,
"end": 5195,
"loc": {
"start": {
"line": 186,
"column": 55
},
"end": {
"line": 186,
"column": 59
},
"identifierName": "func"
},
"name": "func"
}
],
"body": {
"type": "CallExpression",
"start": 5199,
"end": 5211,
"loc": {
"start": {
"line": 186,
"column": 63
},
"end": {
"line": 186,
"column": 75
}
},
"callee": {
"type": "Identifier",
"start": 5199,
"end": 5203,
"loc": {
"start": {
"line": 186,
"column": 63
},
"end": {
"line": 186,
"column": 67
},
"identifierName": "func"
},
"name": "func"
},
"arguments": [
{
"type": "Identifier",
"start": 5204,
"end": 5210,
"loc": {
"start": {
"line": 186,
"column": 68
},
"end": {
"line": 186,
"column": 74
},
"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": 5005,
"end": 5097,
"loc": {
"start": {
"line": 181,
"column": 4
},
"end": {
"line": 184,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {Entity} entity\r\n * @param {number} rotationVariant\r\n * @param {string} variant\r\n ",
"start": 5228,
"end": 5343,
"loc": {
"start": {
"line": 189,
"column": 4
},
"end": {
"line": 193,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 5349,
"end": 5487,
"loc": {
"start": {
"line": 194,
"column": 4
},
"end": {
"line": 196,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 5349,
"end": 5363,
"loc": {
"start": {
"line": 194,
"column": 4
},
"end": {
"line": 194,
"column": 18
},
"identifierName": "updateVariants"
},
"name": "updateVariants",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 5364,
"end": 5370,
"loc": {
"start": {
"line": 194,
"column": 19
},
"end": {
"line": 194,
"column": 25
},
"identifierName": "entity"
},
"name": "entity"
},
{
"type": "Identifier",
"start": 5372,
"end": 5387,
"loc": {
"start": {
"line": 194,
"column": 27
},
"end": {
"line": 194,
"column": 42
},
"identifierName": "rotationVariant"
},
"name": "rotationVariant"
},
{
"type": "Identifier",
"start": 5389,
"end": 5396,
"loc": {
"start": {
"line": 194,
"column": 44
},
"end": {
"line": 194,
"column": 51
},
"identifierName": "variant"
},
"name": "variant"
}
],
"body": {
"type": "BlockStatement",
"start": 5398,
"end": 5487,
"loc": {
"start": {
"line": 194,
"column": 53
},
"end": {
"line": 196,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 5409,
"end": 5480,
"loc": {
"start": {
"line": 195,
"column": 8
},
"end": {
"line": 195,
"column": 79
}
},
"expression": {
"type": "CallExpression",
"start": 5409,
"end": 5479,
"loc": {
"start": {
"line": 195,
"column": 8
},
"end": {
"line": 195,
"column": 78
}
},
"callee": {
"type": "MemberExpression",
"start": 5409,
"end": 5454,
"loc": {
"start": {
"line": 195,
"column": 8
},
"end": {
"line": 195,
"column": 53
}
},
"object": {
"type": "MemberExpression",
"start": 5409,
"end": 5445,
"loc": {
"start": {
"line": 195,
"column": 8
},
"end": {
"line": 195,
"column": 44
}
},
"object": {
"type": "Identifier",
"start": 5409,
"end": 5425,
"loc": {
"start": {
"line": 195,
"column": 8
},
"end": {
"line": 195,
"column": 24
},
"identifierName": "MetaBeltBuilding"
},
"name": "MetaBeltBuilding"
},
"property": {
"type": "Identifier",
"start": 5426,
"end": 5445,
"loc": {
"start": {
"line": 195,
"column": 25
},
"end": {
"line": 195,
"column": 44
},
"identifierName": "componentVariations"
},
"name": "componentVariations"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5446,
"end": 5453,
"loc": {
"start": {
"line": 195,
"column": 45
},
"end": {
"line": 195,
"column": 52
},
"identifierName": "variant"
},
"name": "variant"
},
"computed": true
},
"arguments": [
{
"type": "Identifier",
"start": 5455,
"end": 5461,
"loc": {
"start": {
"line": 195,
"column": 54
},
"end": {
"line": 195,
"column": 60
},
"identifierName": "entity"
},
"name": "entity"
},
{
"type": "Identifier",
"start": 5463,
"end": 5478,
"loc": {
"start": {
"line": 195,
"column": 62
},
"end": {
"line": 195,
"column": 77
},
"identifierName": "rotationVariant"
},
"name": "rotationVariant"
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {Entity} entity\r\n * @param {number} rotationVariant\r\n * @param {string} variant\r\n ",
"start": 5228,
"end": 5343,
"loc": {
"start": {
"line": 189,
"column": 4
},
"end": {
"line": 193,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Should compute the optimal rotation variant on the given tile\r\n * @param {object} param0\r\n * @param {GameRoot} param0.root\r\n * @param {Vector} param0.tile\r\n * @param {number} param0.rotation\r\n * @param {string} param0.variant\r\n * @param {Layer} param0.layer\r\n * @return {{ rotation: number, rotationVariant: number, connectedEntities?: Array<Entity> }}\r\n ",
"start": 5495,
"end": 5896,
"loc": {
"start": {
"line": 198,
"column": 4
},
"end": {
"line": 207,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 5902,
"end": 9304,
"loc": {
"start": {
"line": 208,
"column": 4
},
"end": {
"line": 298,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 5902,
"end": 5949,
"loc": {
"start": {
"line": 208,
"column": 4
},
"end": {
"line": 208,
"column": 51
},
"identifierName": "computeOptimalDirectionAndRotationVariantAtTile"
},
"name": "computeOptimalDirectionAndRotationVariantAtTile",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "ObjectPattern",
"start": 5950,
"end": 5990,
"loc": {
"start": {
"line": 208,
"column": 52
},
"end": {
"line": 208,
"column": 92
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 5952,
"end": 5956,
"loc": {
"start": {
"line": 208,
"column": 54
},
"end": {
"line": 208,
"column": 58
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 5952,
"end": 5956,
"loc": {
"start": {
"line": 208,
"column": 54
},
"end": {
"line": 208,
"column": 58
},
"identifierName": "root"
},
"name": "root"
},
"value": {
"type": "Identifier",
"start": 5952,
"end": 5956,
"loc": {
"start": {
"line": 208,
"column": 54
},
"end": {
"line": 208,
"column": 58
},
"identifierName": "root"
},
"name": "root"
},
"extra": {
"shorthand": true
}
},
{
"type": "ObjectProperty",
"start": 5958,
"end": 5962,
"loc": {
"start": {
"line": 208,
"column": 60
},
"end": {
"line": 208,
"column": 64
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 5958,
"end": 5962,
"loc": {
"start": {
"line": 208,
"column": 60
},
"end": {
"line": 208,
"column": 64
},
"identifierName": "tile"
},
"name": "tile"
},
"value": {
"type": "Identifier",
"start": 5958,
"end": 5962,
"loc": {
"start": {
"line": 208,
"column": 60
},
"end": {
"line": 208,
"column": 64
},
"identifierName": "tile"
},
"name": "tile"
},
"extra": {
"shorthand": true
}
},
{
"type": "ObjectProperty",
"start": 5964,
"end": 5972,
"loc": {
"start": {
"line": 208,
"column": 66
},
"end": {
"line": 208,
"column": 74
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 5964,
"end": 5972,
"loc": {
"start": {
"line": 208,
"column": 66
},
"end": {
"line": 208,
"column": 74
},
"identifierName": "rotation"
},
"name": "rotation"
},
"value": {
"type": "Identifier",
"start": 5964,
"end": 5972,
"loc": {
"start": {
"line": 208,
"column": 66
},
"end": {
"line": 208,
"column": 74
},
"identifierName": "rotation"
},
"name": "rotation"
},
"extra": {
"shorthand": true
}
},
{
"type": "ObjectProperty",
"start": 5974,
"end": 5981,
"loc": {
"start": {
"line": 208,
"column": 76
},
"end": {
"line": 208,
"column": 83
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 5974,
"end": 5981,
"loc": {
"start": {
"line": 208,
"column": 76
},
"end": {
"line": 208,
"column": 83
},
"identifierName": "variant"
},
"name": "variant"
},
"value": {
"type": "Identifier",
"start": 5974,
"end": 5981,
"loc": {
"start": {
"line": 208,
"column": 76
},
"end": {
"line": 208,
"column": 83
},
"identifierName": "variant"
},
"name": "variant"
},
"extra": {
"shorthand": true
}
},
{
"type": "ObjectProperty",
"start": 5983,
"end": 5988,
"loc": {
"start": {
"line": 208,
"column": 85
},
"end": {
"line": 208,
"column": 90
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 5983,
"end": 5988,
"loc": {
"start": {
"line": 208,
"column": 85
},
"end": {
"line": 208,
"column": 90
},
"identifierName": "layer"
},
"name": "layer"
},
"value": {
"type": "Identifier",
"start": 5983,
"end": 5988,
"loc": {
"start": {
"line": 208,
"column": 85
},
"end": {
"line": 208,
"column": 90
},
"identifierName": "layer"
},
"name": "layer"
},
"extra": {
"shorthand": true
}
}
]
}
],
"body": {
"type": "BlockStatement",
"start": 5992,
"end": 9304,
"loc": {
"start": {
"line": 208,
"column": 94
},
"end": {
"line": 298,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 6003,
"end": 6055,
"loc": {
"start": {
"line": 209,
"column": 8
},
"end": {
"line": 209,
"column": 60
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6009,
"end": 6054,
"loc": {
"start": {
"line": 209,
"column": 14
},
"end": {
"line": 209,
"column": 59
}
},
"id": {
"type": "Identifier",
"start": 6009,
"end": 6021,
"loc": {
"start": {
"line": 209,
"column": 14
},
"end": {
"line": 209,
"column": 26
},
"identifierName": "topDirection"
},
"name": "topDirection"
},
"init": {
"type": "MemberExpression",
"start": 6024,
"end": 6054,
"loc": {
"start": {
"line": 209,
"column": 29
},
"end": {
"line": 209,
"column": 59
}
},
"object": {
"type": "Identifier",
"start": 6024,
"end": 6044,
"loc": {
"start": {
"line": 209,
"column": 29
},
"end": {
"line": 209,
"column": 49
},
"identifierName": "enumAngleToDirection"
},
"name": "enumAngleToDirection"
},
"property": {
"type": "Identifier",
"start": 6045,
"end": 6053,
"loc": {
"start": {
"line": 209,
"column": 50
},
"end": {
"line": 209,
"column": 58
},
"identifierName": "rotation"
},
"name": "rotation"
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 6065,
"end": 6132,
"loc": {
"start": {
"line": 210,
"column": 8
},
"end": {
"line": 210,
"column": 75
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6071,
"end": 6131,
"loc": {
"start": {
"line": 210,
"column": 14
},
"end": {
"line": 210,
"column": 74
}
},
"id": {
"type": "Identifier",
"start": 6071,
"end": 6085,
"loc": {
"start": {
"line": 210,
"column": 14
},
"end": {
"line": 210,
"column": 28
},
"identifierName": "rightDirection"
},
"name": "rightDirection"
},
"init": {
"type": "MemberExpression",
"start": 6088,
"end": 6131,
"loc": {
"start": {
"line": 210,
"column": 31
},
"end": {
"line": 210,
"column": 74
}
},
"object": {
"type": "Identifier",
"start": 6088,
"end": 6108,
"loc": {
"start": {
"line": 210,
"column": 31
},
"end": {
"line": 210,
"column": 51
},
"identifierName": "enumAngleToDirection"
},
"name": "enumAngleToDirection"
},
"property": {
"type": "BinaryExpression",
"start": 6109,
"end": 6130,
"loc": {
"start": {
"line": 210,
"column": 52
},
"end": {
"line": 210,
"column": 73
}
},
"left": {
"type": "BinaryExpression",
"start": 6110,
"end": 6123,
"loc": {
"start": {
"line": 210,
"column": 53
},
"end": {
"line": 210,
"column": 66
}
},
"left": {
"type": "Identifier",
"start": 6110,
"end": 6118,
"loc": {
"start": {
"line": 210,
"column": 53
},
"end": {
"line": 210,
"column": 61
},
"identifierName": "rotation"
},
"name": "rotation"
},
"operator": "+",
"right": {
"type": "NumericLiteral",
"start": 6121,
"end": 6123,
"loc": {
"start": {
"line": 210,
"column": 64
},
"end": {
"line": 210,
"column": 66
}
},
"extra": {
"rawValue": 90,
"raw": "90"
},
"value": 90
},
"extra": {
"parenthesized": true,
"parenStart": 6109
}
},
"operator": "%",
"right": {
"type": "NumericLiteral",
"start": 6127,
"end": 6130,
"loc": {
"start": {
"line": 210,
"column": 70
},
"end": {
"line": 210,
"column": 73
}
},
"extra": {
"rawValue": 360,
"raw": "360"
},
"value": 360
}
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 6142,
"end": 6211,
"loc": {
"start": {
"line": 211,
"column": 8
},
"end": {
"line": 211,
"column": 77
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6148,
"end": 6210,
"loc": {
"start": {
"line": 211,
"column": 14
},
"end": {
"line": 211,
"column": 76
}
},
"id": {
"type": "Identifier",
"start": 6148,
"end": 6163,
"loc": {
"start": {
"line": 211,
"column": 14
},
"end": {
"line": 211,
"column": 29
},
"identifierName": "bottomDirection"
},
"name": "bottomDirection"
},
"init": {
"type": "MemberExpression",
"start": 6166,
"end": 6210,
"loc": {
"start": {
"line": 211,
"column": 32
},
"end": {
"line": 211,
"column": 76
}
},
"object": {
"type": "Identifier",
"start": 6166,
"end": 6186,
"loc": {
"start": {
"line": 211,
"column": 32
},
"end": {
"line": 211,
"column": 52
},
"identifierName": "enumAngleToDirection"
},
"name": "enumAngleToDirection"
},
"property": {
"type": "BinaryExpression",
"start": 6187,
"end": 6209,
"loc": {
"start": {
"line": 211,
"column": 53
},
"end": {
"line": 211,
"column": 75
}
},
"left": {
"type": "BinaryExpression",
"start": 6188,
"end": 6202,
"loc": {
"start": {
"line": 211,
"column": 54
},
"end": {
"line": 211,
"column": 68
}
},
"left": {
"type": "Identifier",
"start": 6188,
"end": 6196,
"loc": {
"start": {
"line": 211,
"column": 54
},
"end": {
"line": 211,
"column": 62
},
"identifierName": "rotation"
},
"name": "rotation"
},
"operator": "+",
"right": {
"type": "NumericLiteral",
"start": 6199,
"end": 6202,
"loc": {
"start": {
"line": 211,
"column": 65
},
"end": {
"line": 211,
"column": 68
}
},
"extra": {
"rawValue": 180,
"raw": "180"
},
"value": 180
},
"extra": {
"parenthesized": true,
"parenStart": 6187
}
},
"operator": "%",
"right": {
"type": "NumericLiteral",
"start": 6206,
"end": 6209,
"loc": {
"start": {
"line": 211,
"column": 72
},
"end": {
"line": 211,
"column": 75
}
},
"extra": {
"rawValue": 360,
"raw": "360"
},
"value": 360
}
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 6221,
"end": 6288,
"loc": {
"start": {
"line": 212,
"column": 8
},
"end": {
"line": 212,
"column": 75
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6227,
"end": 6287,
"loc": {
"start": {
"line": 212,
"column": 14
},
"end": {
"line": 212,
"column": 74
}
},
"id": {
"type": "Identifier",
"start": 6227,
"end": 6240,
"loc": {
"start": {
"line": 212,
"column": 14
},
"end": {
"line": 212,
"column": 27
},
"identifierName": "leftDirection"
},
"name": "leftDirection"
},
"init": {
"type": "MemberExpression",
"start": 6243,
"end": 6287,
"loc": {
"start": {
"line": 212,
"column": 30
},
"end": {
"line": 212,
"column": 74
}
},
"object": {
"type": "Identifier",
"start": 6243,
"end": 6263,
"loc": {
"start": {
"line": 212,
"column": 30
},
"end": {
"line": 212,
"column": 50
},
"identifierName": "enumAngleToDirection"
},
"name": "enumAngleToDirection"
},
"property": {
"type": "BinaryExpression",
"start": 6264,
"end": 6286,
"loc": {
"start": {
"line": 212,
"column": 51
},
"end": {
"line": 212,
"column": 73
}
},
"left": {
"type": "BinaryExpression",
"start": 6265,
"end": 6279,
"loc": {
"start": {
"line": 212,
"column": 52
},
"end": {
"line": 212,
"column": 66
}
},
"left": {
"type": "Identifier",
"start": 6265,
"end": 6273,
"loc": {
"start": {
"line": 212,
"column": 52
},
"end": {
"line": 212,
"column": 60
},
"identifierName": "rotation"
},
"name": "rotation"
},
"operator": "+",
"right": {
"type": "NumericLiteral",
"start": 6276,
"end": 6279,
"loc": {
"start": {
"line": 212,
"column": 63
},
"end": {
"line": 212,
"column": 66
}
},
"extra": {
"rawValue": 270,
"raw": "270"
},
"value": 270
},
"extra": {
"parenthesized": true,
"parenStart": 6264
}
},
"operator": "%",
"right": {
"type": "NumericLiteral",
"start": 6283,
"end": 6286,
"loc": {
"start": {
"line": 212,
"column": 70
},
"end": {
"line": 212,
"column": 73
}
},
"extra": {
"rawValue": 360,
"raw": "360"
},
"value": 360
}
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 6300,
"end": 6379,
"loc": {
"start": {
"line": 214,
"column": 8
},
"end": {
"line": 214,
"column": 87
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6306,
"end": 6378,
"loc": {
"start": {
"line": 214,
"column": 14
},
"end": {
"line": 214,
"column": 86
}
},
"id": {
"type": "ObjectPattern",
"start": 6306,
"end": 6329,
"loc": {
"start": {
"line": 214,
"column": 14
},
"end": {
"line": 214,
"column": 37
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 6308,
"end": 6316,
"loc": {
"start": {
"line": 214,
"column": 16
},
"end": {
"line": 214,
"column": 24
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 6308,
"end": 6316,
"loc": {
"start": {
"line": 214,
"column": 16
},
"end": {
"line": 214,
"column": 24
},
"identifierName": "ejectors"
},
"name": "ejectors"
},
"value": {
"type": "Identifier",
"start": 6308,
"end": 6316,
"loc": {
"start": {
"line": 214,
"column": 16
},
"end": {
"line": 214,
"column": 24
},
"identifierName": "ejectors"
},
"name": "ejectors"
},
"extra": {
"shorthand": true
}
},
{
"type": "ObjectProperty",
"start": 6318,
"end": 6327,
"loc": {
"start": {
"line": 214,
"column": 26
},
"end": {
"line": 214,
"column": 35
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 6318,
"end": 6327,
"loc": {
"start": {
"line": 214,
"column": 26
},
"end": {
"line": 214,
"column": 35
},
"identifierName": "acceptors"
},
"name": "acceptors"
},
"value": {
"type": "Identifier",
"start": 6318,
"end": 6327,
"loc": {
"start": {
"line": 214,
"column": 26
},
"end": {
"line": 214,
"column": 35
},
"identifierName": "acceptors"
},
"name": "acceptors"
},
"extra": {
"shorthand": true
}
}
]
},
"init": {
"type": "CallExpression",
"start": 6332,
"end": 6378,
"loc": {
"start": {
"line": 214,
"column": 40
},
"end": {
"line": 214,
"column": 86
}
},
"callee": {
"type": "MemberExpression",
"start": 6332,
"end": 6372,
"loc": {
"start": {
"line": 214,
"column": 40
},
"end": {
"line": 214,
"column": 80
}
},
"object": {
"type": "MemberExpression",
"start": 6332,
"end": 6342,
"loc": {
"start": {
"line": 214,
"column": 40
},
"end": {
"line": 214,
"column": 50
}
},
"object": {
"type": "Identifier",
"start": 6332,
"end": 6336,
"loc": {
"start": {
"line": 214,
"column": 40
},
"end": {
"line": 214,
"column": 44
},
"identifierName": "root"
},
"name": "root"
},
"property": {
"type": "Identifier",
"start": 6337,
"end": 6342,
"loc": {
"start": {
"line": 214,
"column": 45
},
"end": {
"line": 214,
"column": 50
},
"identifierName": "logic"
},
"name": "logic"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6343,
"end": 6372,
"loc": {
"start": {
"line": 214,
"column": 51
},
"end": {
"line": 214,
"column": 80
},
"identifierName": "getEjectorsAndAcceptorsAtTile"
},
"name": "getEjectorsAndAcceptorsAtTile"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 6373,
"end": 6377,
"loc": {
"start": {
"line": 214,
"column": 81
},
"end": {
"line": 214,
"column": 85
},
"identifierName": "tile"
},
"name": "tile"
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 6391,
"end": 6420,
"loc": {
"start": {
"line": 216,
"column": 8
},
"end": {
"line": 216,
"column": 37
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6395,
"end": 6419,
"loc": {
"start": {
"line": 216,
"column": 12
},
"end": {
"line": 216,
"column": 36
}
},
"id": {
"type": "Identifier",
"start": 6395,
"end": 6411,
"loc": {
"start": {
"line": 216,
"column": 12
},
"end": {
"line": 216,
"column": 28
},
"identifierName": "hasBottomEjector"
},
"name": "hasBottomEjector"
},
"init": {
"type": "BooleanLiteral",
"start": 6414,
"end": 6419,
"loc": {
"start": {
"line": 216,
"column": 31
},
"end": {
"line": 216,
"column": 36
}
},
"value": false
}
}
],
"kind": "let"
},
{
"type": "VariableDeclaration",
"start": 6430,
"end": 6458,
"loc": {
"start": {
"line": 217,
"column": 8
},
"end": {
"line": 217,
"column": 36
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6434,
"end": 6457,
"loc": {
"start": {
"line": 217,
"column": 12
},
"end": {
"line": 217,
"column": 35
}
},
"id": {
"type": "Identifier",
"start": 6434,
"end": 6449,
"loc": {
"start": {
"line": 217,
"column": 12
},
"end": {
"line": 217,
"column": 27
},
"identifierName": "hasRightEjector"
},
"name": "hasRightEjector"
},
"init": {
"type": "BooleanLiteral",
"start": 6452,
"end": 6457,
"loc": {
"start": {
"line": 217,
"column": 30
},
"end": {
"line": 217,
"column": 35
}
},
"value": false
}
}
],
"kind": "let"
},
{
"type": "VariableDeclaration",
"start": 6468,
"end": 6495,
"loc": {
"start": {
"line": 218,
"column": 8
},
"end": {
"line": 218,
"column": 35
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6472,
"end": 6494,
"loc": {
"start": {
"line": 218,
"column": 12
},
"end": {
"line": 218,
"column": 34
}
},
"id": {
"type": "Identifier",
"start": 6472,
"end": 6486,
"loc": {
"start": {
"line": 218,
"column": 12
},
"end": {
"line": 218,
"column": 26
},
"identifierName": "hasLeftEjector"
},
"name": "hasLeftEjector"
},
"init": {
"type": "BooleanLiteral",
"start": 6489,
"end": 6494,
"loc": {
"start": {
"line": 218,
"column": 29
},
"end": {
"line": 218,
"column": 34
}
},
"value": false
}
}
],
"kind": "let"
},
{
"type": "VariableDeclaration",
"start": 6507,
"end": 6534,
"loc": {
"start": {
"line": 220,
"column": 8
},
"end": {
"line": 220,
"column": 35
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6511,
"end": 6533,
"loc": {
"start": {
"line": 220,
"column": 12
},
"end": {
"line": 220,
"column": 34
}
},
"id": {
"type": "Identifier",
"start": 6511,
"end": 6525,
"loc": {
"start": {
"line": 220,
"column": 12
},
"end": {
"line": 220,
"column": 26
},
"identifierName": "hasTopAcceptor"
},
"name": "hasTopAcceptor"
},
"init": {
"type": "BooleanLiteral",
"start": 6528,
"end": 6533,
"loc": {
"start": {
"line": 220,
"column": 29
},
"end": {
"line": 220,
"column": 34
}
},
"value": false
}
}
],
"kind": "let"
},
{
"type": "VariableDeclaration",
"start": 6544,
"end": 6572,
"loc": {
"start": {
"line": 221,
"column": 8
},
"end": {
"line": 221,
"column": 36
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6548,
"end": 6571,
"loc": {
"start": {
"line": 221,
"column": 12
},
"end": {
"line": 221,
"column": 35
}
},
"id": {
"type": "Identifier",
"start": 6548,
"end": 6563,
"loc": {
"start": {
"line": 221,
"column": 12
},
"end": {
"line": 221,
"column": 27
},
"identifierName": "hasLeftAcceptor"
},
"name": "hasLeftAcceptor"
},
"init": {
"type": "BooleanLiteral",
"start": 6566,
"end": 6571,
"loc": {
"start": {
"line": 221,
"column": 30
},
"end": {
"line": 221,
"column": 35
}
},
"value": false
}
}
],
"kind": "let"
},
{
"type": "VariableDeclaration",
"start": 6582,
"end": 6611,
"loc": {
"start": {
"line": 222,
"column": 8
},
"end": {
"line": 222,
"column": 37
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6586,
"end": 6610,
"loc": {
"start": {
"line": 222,
"column": 12
},
"end": {
"line": 222,
"column": 36
}
},
"id": {
"type": "Identifier",
"start": 6586,
"end": 6602,
"loc": {
"start": {
"line": 222,
"column": 12
},
"end": {
"line": 222,
"column": 28
},
"identifierName": "hasRightAcceptor"
},
"name": "hasRightAcceptor"
},
"init": {
"type": "BooleanLiteral",
"start": 6605,
"end": 6610,
"loc": {
"start": {
"line": 222,
"column": 31
},
"end": {
"line": 222,
"column": 36
}
},
"value": false
}
}
],
"kind": "let",
"trailingComments": [
{
"type": "CommentLine",
"value": " Check all ejectors",
"start": 6623,
"end": 6644,
"loc": {
"start": {
"line": 224,
"column": 8
},
"end": {
"line": 224,
"column": 29
}
}
}
]
},
{
"type": "ForStatement",
"start": 6654,
"end": 7078,
"loc": {
"start": {
"line": 225,
"column": 8
},
"end": {
"line": 235,
"column": 9
}
},
"init": {
"type": "VariableDeclaration",
"start": 6659,
"end": 6668,
"loc": {
"start": {
"line": 225,
"column": 13
},
"end": {
"line": 225,
"column": 22
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6663,
"end": 6668,
"loc": {
"start": {
"line": 225,
"column": 17
},
"end": {
"line": 225,
"column": 22
}
},
"id": {
"type": "Identifier",
"start": 6663,
"end": 6664,
"loc": {
"start": {
"line": 225,
"column": 17
},
"end": {
"line": 225,
"column": 18
},
"identifierName": "i"
},
"name": "i",
"leadingComments": null
},
"init": {
"type": "NumericLiteral",
"start": 6667,
"end": 6668,
"loc": {
"start": {
"line": 225,
"column": 21
},
"end": {
"line": 225,
"column": 22
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"leadingComments": null
}
],
"kind": "let",
"leadingComments": null
},
"test": {
"type": "BinaryExpression",
"start": 6670,
"end": 6689,
"loc": {
"start": {
"line": 225,
"column": 24
},
"end": {
"line": 225,
"column": 43
}
},
"left": {
"type": "Identifier",
"start": 6670,
"end": 6671,
"loc": {
"start": {
"line": 225,
"column": 24
},
"end": {
"line": 225,
"column": 25
},
"identifierName": "i"
},
"name": "i"
},
"operator": "<",
"right": {
"type": "MemberExpression",
"start": 6674,
"end": 6689,
"loc": {
"start": {
"line": 225,
"column": 28
},
"end": {
"line": 225,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 6674,
"end": 6682,
"loc": {
"start": {
"line": 225,
"column": 28
},
"end": {
"line": 225,
"column": 36
},
"identifierName": "ejectors"
},
"name": "ejectors"
},
"property": {
"type": "Identifier",
"start": 6683,
"end": 6689,
"loc": {
"start": {
"line": 225,
"column": 37
},
"end": {
"line": 225,
"column": 43
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
}
},
"update": {
"type": "UpdateExpression",
"start": 6691,
"end": 6694,
"loc": {
"start": {
"line": 225,
"column": 45
},
"end": {
"line": 225,
"column": 48
}
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 6693,
"end": 6694,
"loc": {
"start": {
"line": 225,
"column": 47
},
"end": {
"line": 225,
"column": 48
},
"identifierName": "i"
},
"name": "i"
},
"extra": {
"parenthesizedArgument": false
}
},
"body": {
"type": "BlockStatement",
"start": 6696,
"end": 7078,
"loc": {
"start": {
"line": 225,
"column": 50
},
"end": {
"line": 235,
"column": 9
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 6711,
"end": 6739,
"loc": {
"start": {
"line": 226,
"column": 12
},
"end": {
"line": 226,
"column": 40
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6717,
"end": 6738,
"loc": {
"start": {
"line": 226,
"column": 18
},
"end": {
"line": 226,
"column": 39
}
},
"id": {
"type": "Identifier",
"start": 6717,
"end": 6724,
"loc": {
"start": {
"line": 226,
"column": 18
},
"end": {
"line": 226,
"column": 25
},
"identifierName": "ejector"
},
"name": "ejector"
},
"init": {
"type": "MemberExpression",
"start": 6727,
"end": 6738,
"loc": {
"start": {
"line": 226,
"column": 28
},
"end": {
"line": 226,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 6727,
"end": 6735,
"loc": {
"start": {
"line": 226,
"column": 28
},
"end": {
"line": 226,
"column": 36
},
"identifierName": "ejectors"
},
"name": "ejectors"
},
"property": {
"type": "Identifier",
"start": 6736,
"end": 6737,
"loc": {
"start": {
"line": 226,
"column": 37
},
"end": {
"line": 226,
"column": 38
},
"identifierName": "i"
},
"name": "i"
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 6755,
"end": 7067,
"loc": {
"start": {
"line": 228,
"column": 12
},
"end": {
"line": 234,
"column": 13
}
},
"test": {
"type": "BinaryExpression",
"start": 6759,
"end": 6795,
"loc": {
"start": {
"line": 228,
"column": 16
},
"end": {
"line": 228,
"column": 52
}
},
"left": {
"type": "MemberExpression",
"start": 6759,
"end": 6778,
"loc": {
"start": {
"line": 228,
"column": 16
},
"end": {
"line": 228,
"column": 35
}
},
"object": {
"type": "Identifier",
"start": 6759,
"end": 6766,
"loc": {
"start": {
"line": 228,
"column": 16
},
"end": {
"line": 228,
"column": 23
},
"identifierName": "ejector"
},
"name": "ejector"
},
"property": {
"type": "Identifier",
"start": 6767,
"end": 6778,
"loc": {
"start": {
"line": 228,
"column": 24
},
"end": {
"line": 228,
"column": 35
},
"identifierName": "toDirection"
},
"name": "toDirection"
},
"computed": false
},
"operator": "===",
"right": {
"type": "Identifier",
"start": 6783,
"end": 6795,
"loc": {
"start": {
"line": 228,
"column": 40
},
"end": {
"line": 228,
"column": 52
},
"identifierName": "topDirection"
},
"name": "topDirection"
}
},
"consequent": {
"type": "BlockStatement",
"start": 6797,
"end": 6855,
"loc": {
"start": {
"line": 228,
"column": 54
},
"end": {
"line": 230,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 6816,
"end": 6840,
"loc": {
"start": {
"line": 229,
"column": 16
},
"end": {
"line": 229,
"column": 40
}
},
"expression": {
"type": "AssignmentExpression",
"start": 6816,
"end": 6839,
"loc": {
"start": {
"line": 229,
"column": 16
},
"end": {
"line": 229,
"column": 39
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 6816,
"end": 6832,
"loc": {
"start": {
"line": 229,
"column": 16
},
"end": {
"line": 229,
"column": 32
},
"identifierName": "hasBottomEjector"
},
"name": "hasBottomEjector"
},
"right": {
"type": "BooleanLiteral",
"start": 6835,
"end": 6839,
"loc": {
"start": {
"line": 229,
"column": 35
},
"end": {
"line": 229,
"column": 39
}
},
"value": true
}
}
}
],
"directives": []
},
"alternate": {
"type": "IfStatement",
"start": 6861,
"end": 7067,
"loc": {
"start": {
"line": 230,
"column": 19
},
"end": {
"line": 234,
"column": 13
}
},
"test": {
"type": "BinaryExpression",
"start": 6865,
"end": 6902,
"loc": {
"start": {
"line": 230,
"column": 23
},
"end": {
"line": 230,
"column": 60
}
},
"left": {
"type": "MemberExpression",
"start": 6865,
"end": 6884,
"loc": {
"start": {
"line": 230,
"column": 23
},
"end": {
"line": 230,
"column": 42
}
},
"object": {
"type": "Identifier",
"start": 6865,
"end": 6872,
"loc": {
"start": {
"line": 230,
"column": 23
},
"end": {
"line": 230,
"column": 30
},
"identifierName": "ejector"
},
"name": "ejector"
},
"property": {
"type": "Identifier",
"start": 6873,
"end": 6884,
"loc": {
"start": {
"line": 230,
"column": 31
},
"end": {
"line": 230,
"column": 42
},
"identifierName": "toDirection"
},
"name": "toDirection"
},
"computed": false
},
"operator": "===",
"right": {
"type": "Identifier",
"start": 6889,
"end": 6902,
"loc": {
"start": {
"line": 230,
"column": 47
},
"end": {
"line": 230,
"column": 60
},
"identifierName": "leftDirection"
},
"name": "leftDirection"
}
},
"consequent": {
"type": "BlockStatement",
"start": 6904,
"end": 6961,
"loc": {
"start": {
"line": 230,
"column": 62
},
"end": {
"line": 232,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 6923,
"end": 6946,
"loc": {
"start": {
"line": 231,
"column": 16
},
"end": {
"line": 231,
"column": 39
}
},
"expression": {
"type": "AssignmentExpression",
"start": 6923,
"end": 6945,
"loc": {
"start": {
"line": 231,
"column": 16
},
"end": {
"line": 231,
"column": 38
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 6923,
"end": 6938,
"loc": {
"start": {
"line": 231,
"column": 16
},
"end": {
"line": 231,
"column": 31
},
"identifierName": "hasRightEjector"
},
"name": "hasRightEjector"
},
"right": {
"type": "BooleanLiteral",
"start": 6941,
"end": 6945,
"loc": {
"start": {
"line": 231,
"column": 34
},
"end": {
"line": 231,
"column": 38
}
},
"value": true
}
}
}
],
"directives": []
},
"alternate": {
"type": "IfStatement",
"start": 6967,
"end": 7067,
"loc": {
"start": {
"line": 232,
"column": 19
},
"end": {
"line": 234,
"column": 13
}
},
"test": {
"type": "BinaryExpression",
"start": 6971,
"end": 7009,
"loc": {
"start": {
"line": 232,
"column": 23
},
"end": {
"line": 232,
"column": 61
}
},
"left": {
"type": "MemberExpression",
"start": 6971,
"end": 6990,
"loc": {
"start": {
"line": 232,
"column": 23
},
"end": {
"line": 232,
"column": 42
}
},
"object": {
"type": "Identifier",
"start": 6971,
"end": 6978,
"loc": {
"start": {
"line": 232,
"column": 23
},
"end": {
"line": 232,
"column": 30
},
"identifierName": "ejector"
},
"name": "ejector"
},
"property": {
"type": "Identifier",
"start": 6979,
"end": 6990,
"loc": {
"start": {
"line": 232,
"column": 31
},
"end": {
"line": 232,
"column": 42
},
"identifierName": "toDirection"
},
"name": "toDirection"
},
"computed": false
},
"operator": "===",
"right": {
"type": "Identifier",
"start": 6995,
"end": 7009,
"loc": {
"start": {
"line": 232,
"column": 47
},
"end": {
"line": 232,
"column": 61
},
"identifierName": "rightDirection"
},
"name": "rightDirection"
}
},
"consequent": {
"type": "BlockStatement",
"start": 7011,
"end": 7067,
"loc": {
"start": {
"line": 232,
"column": 63
},
"end": {
"line": 234,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 7030,
"end": 7052,
"loc": {
"start": {
"line": 233,
"column": 16
},
"end": {
"line": 233,
"column": 38
}
},
"expression": {
"type": "AssignmentExpression",
"start": 7030,
"end": 7051,
"loc": {
"start": {
"line": 233,
"column": 16
},
"end": {
"line": 233,
"column": 37
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 7030,
"end": 7044,
"loc": {
"start": {
"line": 233,
"column": 16
},
"end": {
"line": 233,
"column": 30
},
"identifierName": "hasLeftEjector"
},
"name": "hasLeftEjector"
},
"right": {
"type": "BooleanLiteral",
"start": 7047,
"end": 7051,
"loc": {
"start": {
"line": 233,
"column": 33
},
"end": {
"line": 233,
"column": 37
}
},
"value": true
}
}
}
],
"directives": []
},
"alternate": null
}
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Check all ejectors",
"start": 6623,
"end": 6644,
"loc": {
"start": {
"line": 224,
"column": 8
},
"end": {
"line": 224,
"column": 29
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " Check all acceptors",
"start": 7090,
"end": 7112,
"loc": {
"start": {
"line": 237,
"column": 8
},
"end": {
"line": 237,
"column": 30
}
}
}
]
},
{
"type": "ForStatement",
"start": 7122,
"end": 7559,
"loc": {
"start": {
"line": 238,
"column": 8
},
"end": {
"line": 247,
"column": 9
}
},
"init": {
"type": "VariableDeclaration",
"start": 7127,
"end": 7136,
"loc": {
"start": {
"line": 238,
"column": 13
},
"end": {
"line": 238,
"column": 22
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 7131,
"end": 7136,
"loc": {
"start": {
"line": 238,
"column": 17
},
"end": {
"line": 238,
"column": 22
}
},
"id": {
"type": "Identifier",
"start": 7131,
"end": 7132,
"loc": {
"start": {
"line": 238,
"column": 17
},
"end": {
"line": 238,
"column": 18
},
"identifierName": "i"
},
"name": "i",
"leadingComments": null
},
"init": {
"type": "NumericLiteral",
"start": 7135,
"end": 7136,
"loc": {
"start": {
"line": 238,
"column": 21
},
"end": {
"line": 238,
"column": 22
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"leadingComments": null
}
],
"kind": "let",
"leadingComments": null
},
"test": {
"type": "BinaryExpression",
"start": 7138,
"end": 7158,
"loc": {
"start": {
"line": 238,
"column": 24
},
"end": {
"line": 238,
"column": 44
}
},
"left": {
"type": "Identifier",
"start": 7138,
"end": 7139,
"loc": {
"start": {
"line": 238,
"column": 24
},
"end": {
"line": 238,
"column": 25
},
"identifierName": "i"
},
"name": "i"
},
"operator": "<",
"right": {
"type": "MemberExpression",
"start": 7142,
"end": 7158,
"loc": {
"start": {
"line": 238,
"column": 28
},
"end": {
"line": 238,
"column": 44
}
},
"object": {
"type": "Identifier",
"start": 7142,
"end": 7151,
"loc": {
"start": {
"line": 238,
"column": 28
},
"end": {
"line": 238,
"column": 37
},
"identifierName": "acceptors"
},
"name": "acceptors"
},
"property": {
"type": "Identifier",
"start": 7152,
"end": 7158,
"loc": {
"start": {
"line": 238,
"column": 38
},
"end": {
"line": 238,
"column": 44
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
}
},
"update": {
"type": "UpdateExpression",
"start": 7160,
"end": 7163,
"loc": {
"start": {
"line": 238,
"column": 46
},
"end": {
"line": 238,
"column": 49
}
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 7162,
"end": 7163,
"loc": {
"start": {
"line": 238,
"column": 48
},
"end": {
"line": 238,
"column": 49
},
"identifierName": "i"
},
"name": "i"
},
"extra": {
"parenthesizedArgument": false
}
},
"body": {
"type": "BlockStatement",
"start": 7165,
"end": 7559,
"loc": {
"start": {
"line": 238,
"column": 51
},
"end": {
"line": 247,
"column": 9
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 7180,
"end": 7210,
"loc": {
"start": {
"line": 239,
"column": 12
},
"end": {
"line": 239,
"column": 42
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 7186,
"end": 7209,
"loc": {
"start": {
"line": 239,
"column": 18
},
"end": {
"line": 239,
"column": 41
}
},
"id": {
"type": "Identifier",
"start": 7186,
"end": 7194,
"loc": {
"start": {
"line": 239,
"column": 18
},
"end": {
"line": 239,
"column": 26
},
"identifierName": "acceptor"
},
"name": "acceptor"
},
"init": {
"type": "MemberExpression",
"start": 7197,
"end": 7209,
"loc": {
"start": {
"line": 239,
"column": 29
},
"end": {
"line": 239,
"column": 41
}
},
"object": {
"type": "Identifier",
"start": 7197,
"end": 7206,
"loc": {
"start": {
"line": 239,
"column": 29
},
"end": {
"line": 239,
"column": 38
},
"identifierName": "acceptors"
},
"name": "acceptors"
},
"property": {
"type": "Identifier",
"start": 7207,
"end": 7208,
"loc": {
"start": {
"line": 239,
"column": 39
},
"end": {
"line": 239,
"column": 40
},
"identifierName": "i"
},
"name": "i"
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 7224,
"end": 7548,
"loc": {
"start": {
"line": 240,
"column": 12
},
"end": {
"line": 246,
"column": 13
}
},
"test": {
"type": "BinaryExpression",
"start": 7228,
"end": 7270,
"loc": {
"start": {
"line": 240,
"column": 16
},
"end": {
"line": 240,
"column": 58
}
},
"left": {
"type": "MemberExpression",
"start": 7228,
"end": 7250,
"loc": {
"start": {
"line": 240,
"column": 16
},
"end": {
"line": 240,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 7228,
"end": 7236,
"loc": {
"start": {
"line": 240,
"column": 16
},
"end": {
"line": 240,
"column": 24
},
"identifierName": "acceptor"
},
"name": "acceptor"
},
"property": {
"type": "Identifier",
"start": 7237,
"end": 7250,
"loc": {
"start": {
"line": 240,
"column": 25
},
"end": {
"line": 240,
"column": 38
},
"identifierName": "fromDirection"
},
"name": "fromDirection"
},
"computed": false
},
"operator": "===",
"right": {
"type": "Identifier",
"start": 7255,
"end": 7270,
"loc": {
"start": {
"line": 240,
"column": 43
},
"end": {
"line": 240,
"column": 58
},
"identifierName": "bottomDirection"
},
"name": "bottomDirection"
}
},
"consequent": {
"type": "BlockStatement",
"start": 7272,
"end": 7328,
"loc": {
"start": {
"line": 240,
"column": 60
},
"end": {
"line": 242,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 7291,
"end": 7313,
"loc": {
"start": {
"line": 241,
"column": 16
},
"end": {
"line": 241,
"column": 38
}
},
"expression": {
"type": "AssignmentExpression",
"start": 7291,
"end": 7312,
"loc": {
"start": {
"line": 241,
"column": 16
},
"end": {
"line": 241,
"column": 37
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 7291,
"end": 7305,
"loc": {
"start": {
"line": 241,
"column": 16
},
"end": {
"line": 241,
"column": 30
},
"identifierName": "hasTopAcceptor"
},
"name": "hasTopAcceptor"
},
"right": {
"type": "BooleanLiteral",
"start": 7308,
"end": 7312,
"loc": {
"start": {
"line": 241,
"column": 33
},
"end": {
"line": 241,
"column": 37
}
},
"value": true
}
}
}
],
"directives": []
},
"alternate": {
"type": "IfStatement",
"start": 7334,
"end": 7548,
"loc": {
"start": {
"line": 242,
"column": 19
},
"end": {
"line": 246,
"column": 13
}
},
"test": {
"type": "BinaryExpression",
"start": 7338,
"end": 7379,
"loc": {
"start": {
"line": 242,
"column": 23
},
"end": {
"line": 242,
"column": 64
}
},
"left": {
"type": "MemberExpression",
"start": 7338,
"end": 7360,
"loc": {
"start": {
"line": 242,
"column": 23
},
"end": {
"line": 242,
"column": 45
}
},
"object": {
"type": "Identifier",
"start": 7338,
"end": 7346,
"loc": {
"start": {
"line": 242,
"column": 23
},
"end": {
"line": 242,
"column": 31
},
"identifierName": "acceptor"
},
"name": "acceptor"
},
"property": {
"type": "Identifier",
"start": 7347,
"end": 7360,
"loc": {
"start": {
"line": 242,
"column": 32
},
"end": {
"line": 242,
"column": 45
},
"identifierName": "fromDirection"
},
"name": "fromDirection"
},
"computed": false
},
"operator": "===",
"right": {
"type": "Identifier",
"start": 7365,
"end": 7379,
"loc": {
"start": {
"line": 242,
"column": 50
},
"end": {
"line": 242,
"column": 64
},
"identifierName": "rightDirection"
},
"name": "rightDirection"
}
},
"consequent": {
"type": "BlockStatement",
"start": 7381,
"end": 7438,
"loc": {
"start": {
"line": 242,
"column": 66
},
"end": {
"line": 244,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 7400,
"end": 7423,
"loc": {
"start": {
"line": 243,
"column": 16
},
"end": {
"line": 243,
"column": 39
}
},
"expression": {
"type": "AssignmentExpression",
"start": 7400,
"end": 7422,
"loc": {
"start": {
"line": 243,
"column": 16
},
"end": {
"line": 243,
"column": 38
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 7400,
"end": 7415,
"loc": {
"start": {
"line": 243,
"column": 16
},
"end": {
"line": 243,
"column": 31
},
"identifierName": "hasLeftAcceptor"
},
"name": "hasLeftAcceptor"
},
"right": {
"type": "BooleanLiteral",
"start": 7418,
"end": 7422,
"loc": {
"start": {
"line": 243,
"column": 34
},
"end": {
"line": 243,
"column": 38
}
},
"value": true
}
}
}
],
"directives": []
},
"alternate": {
"type": "IfStatement",
"start": 7444,
"end": 7548,
"loc": {
"start": {
"line": 244,
"column": 19
},
"end": {
"line": 246,
"column": 13
}
},
"test": {
"type": "BinaryExpression",
"start": 7448,
"end": 7488,
"loc": {
"start": {
"line": 244,
"column": 23
},
"end": {
"line": 244,
"column": 63
}
},
"left": {
"type": "MemberExpression",
"start": 7448,
"end": 7470,
"loc": {
"start": {
"line": 244,
"column": 23
},
"end": {
"line": 244,
"column": 45
}
},
"object": {
"type": "Identifier",
"start": 7448,
"end": 7456,
"loc": {
"start": {
"line": 244,
"column": 23
},
"end": {
"line": 244,
"column": 31
},
"identifierName": "acceptor"
},
"name": "acceptor"
},
"property": {
"type": "Identifier",
"start": 7457,
"end": 7470,
"loc": {
"start": {
"line": 244,
"column": 32
},
"end": {
"line": 244,
"column": 45
},
"identifierName": "fromDirection"
},
"name": "fromDirection"
},
"computed": false
},
"operator": "===",
"right": {
"type": "Identifier",
"start": 7475,
"end": 7488,
"loc": {
"start": {
"line": 244,
"column": 50
},
"end": {
"line": 244,
"column": 63
},
"identifierName": "leftDirection"
},
"name": "leftDirection"
}
},
"consequent": {
"type": "BlockStatement",
"start": 7490,
"end": 7548,
"loc": {
"start": {
"line": 244,
"column": 65
},
"end": {
"line": 246,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 7509,
"end": 7533,
"loc": {
"start": {
"line": 245,
"column": 16
},
"end": {
"line": 245,
"column": 40
}
},
"expression": {
"type": "AssignmentExpression",
"start": 7509,
"end": 7532,
"loc": {
"start": {
"line": 245,
"column": 16
},
"end": {
"line": 245,
"column": 39
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 7509,
"end": 7525,
"loc": {
"start": {
"line": 245,
"column": 16
},
"end": {
"line": 245,
"column": 32
},
"identifierName": "hasRightAcceptor"
},
"name": "hasRightAcceptor"
},
"right": {
"type": "BooleanLiteral",
"start": 7528,
"end": 7532,
"loc": {
"start": {
"line": 245,
"column": 35
},
"end": {
"line": 245,
"column": 39
}
},
"value": true
}
}
}
],
"directives": []
},
"alternate": null
}
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Check all acceptors",
"start": 7090,
"end": 7112,
"loc": {
"start": {
"line": 237,
"column": 8
},
"end": {
"line": 237,
"column": 30
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " Soo .. if there is any ejector below us we always prioritize",
"start": 7571,
"end": 7634,
"loc": {
"start": {
"line": 249,
"column": 8
},
"end": {
"line": 249,
"column": 71
}
}
},
{
"type": "CommentLine",
"value": " this ejector",
"start": 7644,
"end": 7659,
"loc": {
"start": {
"line": 250,
"column": 8
},
"end": {
"line": 250,
"column": 23
}
}
}
]
},
{
"type": "IfStatement",
"start": 7669,
"end": 8408,
"loc": {
"start": {
"line": 251,
"column": 8
},
"end": {
"line": 270,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 7673,
"end": 7690,
"loc": {
"start": {
"line": 251,
"column": 12
},
"end": {
"line": 251,
"column": 29
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 7674,
"end": 7690,
"loc": {
"start": {
"line": 251,
"column": 13
},
"end": {
"line": 251,
"column": 29
},
"identifierName": "hasBottomEjector"
},
"name": "hasBottomEjector",
"leadingComments": null
},
"extra": {
"parenthesizedArgument": false
},
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 7692,
"end": 8408,
"loc": {
"start": {
"line": 251,
"column": 31
},
"end": {
"line": 270,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 7847,
"end": 8045,
"loc": {
"start": {
"line": 255,
"column": 12
},
"end": {
"line": 260,
"column": 13
}
},
"test": {
"type": "LogicalExpression",
"start": 7851,
"end": 7885,
"loc": {
"start": {
"line": 255,
"column": 16
},
"end": {
"line": 255,
"column": 50
}
},
"left": {
"type": "Identifier",
"start": 7851,
"end": 7866,
"loc": {
"start": {
"line": 255,
"column": 16
},
"end": {
"line": 255,
"column": 31
},
"identifierName": "hasRightEjector"
},
"name": "hasRightEjector",
"leadingComments": null
},
"operator": "&&",
"right": {
"type": "UnaryExpression",
"start": 7870,
"end": 7885,
"loc": {
"start": {
"line": 255,
"column": 35
},
"end": {
"line": 255,
"column": 50
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 7871,
"end": 7885,
"loc": {
"start": {
"line": 255,
"column": 36
},
"end": {
"line": 255,
"column": 50
},
"identifierName": "hasLeftEjector"
},
"name": "hasLeftEjector"
},
"extra": {
"parenthesizedArgument": false
}
},
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 7887,
"end": 8045,
"loc": {
"start": {
"line": 255,
"column": 52
},
"end": {
"line": 260,
"column": 13
}
},
"body": [
{
"type": "ReturnStatement",
"start": 7906,
"end": 8030,
"loc": {
"start": {
"line": 256,
"column": 16
},
"end": {
"line": 259,
"column": 18
}
},
"argument": {
"type": "ObjectExpression",
"start": 7913,
"end": 8029,
"loc": {
"start": {
"line": 256,
"column": 23
},
"end": {
"line": 259,
"column": 17
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 7936,
"end": 7968,
"loc": {
"start": {
"line": 257,
"column": 20
},
"end": {
"line": 257,
"column": 52
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 7936,
"end": 7944,
"loc": {
"start": {
"line": 257,
"column": 20
},
"end": {
"line": 257,
"column": 28
},
"identifierName": "rotation"
},
"name": "rotation"
},
"value": {
"type": "BinaryExpression",
"start": 7946,
"end": 7968,
"loc": {
"start": {
"line": 257,
"column": 30
},
"end": {
"line": 257,
"column": 52
}
},
"left": {
"type": "BinaryExpression",
"start": 7947,
"end": 7961,
"loc": {
"start": {
"line": 257,
"column": 31
},
"end": {
"line": 257,
"column": 45
}
},
"left": {
"type": "Identifier",
"start": 7947,
"end": 7955,
"loc": {
"start": {
"line": 257,
"column": 31
},
"end": {
"line": 257,
"column": 39
},
"identifierName": "rotation"
},
"name": "rotation"
},
"operator": "+",
"right": {
"type": "NumericLiteral",
"start": 7958,
"end": 7961,
"loc": {
"start": {
"line": 257,
"column": 42
},
"end": {
"line": 257,
"column": 45
}
},
"extra": {
"rawValue": 270,
"raw": "270"
},
"value": 270
},
"extra": {
"parenthesized": true,
"parenStart": 7946
}
},
"operator": "%",
"right": {
"type": "NumericLiteral",
"start": 7965,
"end": 7968,
"loc": {
"start": {
"line": 257,
"column": 49
},
"end": {
"line": 257,
"column": 52
}
},
"extra": {
"rawValue": 360,
"raw": "360"
},
"value": 360
}
}
},
{
"type": "ObjectProperty",
"start": 7991,
"end": 8009,
"loc": {
"start": {
"line": 258,
"column": 20
},
"end": {
"line": 258,
"column": 38
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 7991,
"end": 8006,
"loc": {
"start": {
"line": 258,
"column": 20
},
"end": {
"line": 258,
"column": 35
},
"identifierName": "rotationVariant"
},
"name": "rotationVariant"
},
"value": {
"type": "NumericLiteral",
"start": 8008,
"end": 8009,
"loc": {
"start": {
"line": 258,
"column": 37
},
"end": {
"line": 258,
"column": 38
}
},
"extra": {
"rawValue": 2,
"raw": "2"
},
"value": 2
}
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " When something ejects to us from the left and nothing from the right,",
"start": 7707,
"end": 7779,
"loc": {
"start": {
"line": 252,
"column": 12
},
"end": {
"line": 252,
"column": 84
}
}
},
{
"type": "CommentLine",
"value": " do a curve from the left to the top",
"start": 7793,
"end": 7831,
"loc": {
"start": {
"line": 253,
"column": 12
},
"end": {
"line": 253,
"column": 50
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " When something ejects to us from the right and nothing from the left,",
"start": 8061,
"end": 8133,
"loc": {
"start": {
"line": 262,
"column": 12
},
"end": {
"line": 262,
"column": 84
}
}
},
{
"type": "CommentLine",
"value": " do a curve from the right to the top",
"start": 8147,
"end": 8186,
"loc": {
"start": {
"line": 263,
"column": 12
},
"end": {
"line": 263,
"column": 51
}
}
}
]
},
{
"type": "IfStatement",
"start": 8200,
"end": 8397,
"loc": {
"start": {
"line": 264,
"column": 12
},
"end": {
"line": 269,
"column": 13
}
},
"test": {
"type": "LogicalExpression",
"start": 8204,
"end": 8238,
"loc": {
"start": {
"line": 264,
"column": 16
},
"end": {
"line": 264,
"column": 50
}
},
"left": {
"type": "Identifier",
"start": 8204,
"end": 8218,
"loc": {
"start": {
"line": 264,
"column": 16
},
"end": {
"line": 264,
"column": 30
},
"identifierName": "hasLeftEjector"
},
"name": "hasLeftEjector",
"leadingComments": null
},
"operator": "&&",
"right": {
"type": "UnaryExpression",
"start": 8222,
"end": 8238,
"loc": {
"start": {
"line": 264,
"column": 34
},
"end": {
"line": 264,
"column": 50
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 8223,
"end": 8238,
"loc": {
"start": {
"line": 264,
"column": 35
},
"end": {
"line": 264,
"column": 50
},
"identifierName": "hasRightEjector"
},
"name": "hasRightEjector"
},
"extra": {
"parenthesizedArgument": false
}
},
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 8240,
"end": 8397,
"loc": {
"start": {
"line": 264,
"column": 52
},
"end": {
"line": 269,
"column": 13
}
},
"body": [
{
"type": "ReturnStatement",
"start": 8259,
"end": 8382,
"loc": {
"start": {
"line": 265,
"column": 16
},
"end": {
"line": 268,
"column": 18
}
},
"argument": {
"type": "ObjectExpression",
"start": 8266,
"end": 8381,
"loc": {
"start": {
"line": 265,
"column": 23
},
"end": {
"line": 268,
"column": 17
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 8289,
"end": 8320,
"loc": {
"start": {
"line": 266,
"column": 20
},
"end": {
"line": 266,
"column": 51
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 8289,
"end": 8297,
"loc": {
"start": {
"line": 266,
"column": 20
},
"end": {
"line": 266,
"column": 28
},
"identifierName": "rotation"
},
"name": "rotation"
},
"value": {
"type": "BinaryExpression",
"start": 8299,
"end": 8320,
"loc": {
"start": {
"line": 266,
"column": 30
},
"end": {
"line": 266,
"column": 51
}
},
"left": {
"type": "BinaryExpression",
"start": 8300,
"end": 8313,
"loc": {
"start": {
"line": 266,
"column": 31
},
"end": {
"line": 266,
"column": 44
}
},
"left": {
"type": "Identifier",
"start": 8300,
"end": 8308,
"loc": {
"start": {
"line": 266,
"column": 31
},
"end": {
"line": 266,
"column": 39
},
"identifierName": "rotation"
},
"name": "rotation"
},
"operator": "+",
"right": {
"type": "NumericLiteral",
"start": 8311,
"end": 8313,
"loc": {
"start": {
"line": 266,
"column": 42
},
"end": {
"line": 266,
"column": 44
}
},
"extra": {
"rawValue": 90,
"raw": "90"
},
"value": 90
},
"extra": {
"parenthesized": true,
"parenStart": 8299
}
},
"operator": "%",
"right": {
"type": "NumericLiteral",
"start": 8317,
"end": 8320,
"loc": {
"start": {
"line": 266,
"column": 48
},
"end": {
"line": 266,
"column": 51
}
},
"extra": {
"rawValue": 360,
"raw": "360"
},
"value": 360
}
}
},
{
"type": "ObjectProperty",
"start": 8343,
"end": 8361,
"loc": {
"start": {
"line": 267,
"column": 20
},
"end": {
"line": 267,
"column": 38
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 8343,
"end": 8358,
"loc": {
"start": {
"line": 267,
"column": 20
},
"end": {
"line": 267,
"column": 35
},
"identifierName": "rotationVariant"
},
"name": "rotationVariant"
},
"value": {
"type": "NumericLiteral",
"start": 8360,
"end": 8361,
"loc": {
"start": {
"line": 267,
"column": 37
},
"end": {
"line": 267,
"column": 38
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
}
]
}
}
],
"directives": []
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " When something ejects to us from the right and nothing from the left,",
"start": 8061,
"end": 8133,
"loc": {
"start": {
"line": 262,
"column": 12
},
"end": {
"line": 262,
"column": 84
}
}
},
{
"type": "CommentLine",
"value": " do a curve from the right to the top",
"start": 8147,
"end": 8186,
"loc": {
"start": {
"line": 263,
"column": 12
},
"end": {
"line": 263,
"column": 51
}
}
}
]
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Soo .. if there is any ejector below us we always prioritize",
"start": 7571,
"end": 7634,
"loc": {
"start": {
"line": 249,
"column": 8
},
"end": {
"line": 249,
"column": 71
}
}
},
{
"type": "CommentLine",
"value": " this ejector",
"start": 7644,
"end": 7659,
"loc": {
"start": {
"line": 250,
"column": 8
},
"end": {
"line": 250,
"column": 23
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " When there is a top acceptor, ignore sides",
"start": 8420,
"end": 8465,
"loc": {
"start": {
"line": 272,
"column": 8
},
"end": {
"line": 272,
"column": 53
}
}
},
{
"type": "CommentLine",
"value": " NOTICE: This makes the belt prefer side turns *way* too much!",
"start": 8475,
"end": 8539,
"loc": {
"start": {
"line": 273,
"column": 8
},
"end": {
"line": 273,
"column": 72
}
}
}
]
},
{
"type": "IfStatement",
"start": 8549,
"end": 9209,
"loc": {
"start": {
"line": 274,
"column": 8
},
"end": {
"line": 292,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 8553,
"end": 8568,
"loc": {
"start": {
"line": 274,
"column": 12
},
"end": {
"line": 274,
"column": 27
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 8554,
"end": 8568,
"loc": {
"start": {
"line": 274,
"column": 13
},
"end": {
"line": 274,
"column": 27
},
"identifierName": "hasTopAcceptor"
},
"name": "hasTopAcceptor",
"leadingComments": null
},
"extra": {
"parenthesizedArgument": false
},
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 8570,
"end": 9209,
"loc": {
"start": {
"line": 274,
"column": 29
},
"end": {
"line": 292,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 8708,
"end": 8884,
"loc": {
"start": {
"line": 277,
"column": 12
},
"end": {
"line": 282,
"column": 13
}
},
"test": {
"type": "LogicalExpression",
"start": 8712,
"end": 8748,
"loc": {
"start": {
"line": 277,
"column": 16
},
"end": {
"line": 277,
"column": 52
}
},
"left": {
"type": "Identifier",
"start": 8712,
"end": 8728,
"loc": {
"start": {
"line": 277,
"column": 16
},
"end": {
"line": 277,
"column": 32
},
"identifierName": "hasRightAcceptor"
},
"name": "hasRightAcceptor",
"leadingComments": null
},
"operator": "&&",
"right": {
"type": "UnaryExpression",
"start": 8732,
"end": 8748,
"loc": {
"start": {
"line": 277,
"column": 36
},
"end": {
"line": 277,
"column": 52
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 8733,
"end": 8748,
"loc": {
"start": {
"line": 277,
"column": 37
},
"end": {
"line": 277,
"column": 52
},
"identifierName": "hasLeftAcceptor"
},
"name": "hasLeftAcceptor"
},
"extra": {
"parenthesizedArgument": false
}
},
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 8750,
"end": 8884,
"loc": {
"start": {
"line": 277,
"column": 54
},
"end": {
"line": 282,
"column": 13
}
},
"body": [
{
"type": "ReturnStatement",
"start": 8769,
"end": 8869,
"loc": {
"start": {
"line": 278,
"column": 16
},
"end": {
"line": 281,
"column": 18
}
},
"argument": {
"type": "ObjectExpression",
"start": 8776,
"end": 8868,
"loc": {
"start": {
"line": 278,
"column": 23
},
"end": {
"line": 281,
"column": 17
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 8799,
"end": 8807,
"loc": {
"start": {
"line": 279,
"column": 20
},
"end": {
"line": 279,
"column": 28
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 8799,
"end": 8807,
"loc": {
"start": {
"line": 279,
"column": 20
},
"end": {
"line": 279,
"column": 28
},
"identifierName": "rotation"
},
"name": "rotation"
},
"value": {
"type": "Identifier",
"start": 8799,
"end": 8807,
"loc": {
"start": {
"line": 279,
"column": 20
},
"end": {
"line": 279,
"column": 28
},
"identifierName": "rotation"
},
"name": "rotation"
},
"extra": {
"shorthand": true
}
},
{
"type": "ObjectProperty",
"start": 8830,
"end": 8848,
"loc": {
"start": {
"line": 280,
"column": 20
},
"end": {
"line": 280,
"column": 38
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 8830,
"end": 8845,
"loc": {
"start": {
"line": 280,
"column": 20
},
"end": {
"line": 280,
"column": 35
},
"identifierName": "rotationVariant"
},
"name": "rotationVariant"
},
"value": {
"type": "NumericLiteral",
"start": 8847,
"end": 8848,
"loc": {
"start": {
"line": 280,
"column": 37
},
"end": {
"line": 280,
"column": 38
}
},
"extra": {
"rawValue": 2,
"raw": "2"
},
"value": 2
}
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " When there is an acceptor to the right but no acceptor to the left,",
"start": 8585,
"end": 8655,
"loc": {
"start": {
"line": 275,
"column": 12
},
"end": {
"line": 275,
"column": 82
}
}
},
{
"type": "CommentLine",
"value": " do a turn to the right",
"start": 8669,
"end": 8694,
"loc": {
"start": {
"line": 276,
"column": 12
},
"end": {
"line": 276,
"column": 37
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " When there is an acceptor to the left but no acceptor to the right,",
"start": 8900,
"end": 8970,
"loc": {
"start": {
"line": 284,
"column": 12
},
"end": {
"line": 284,
"column": 82
}
}
},
{
"type": "CommentLine",
"value": " do a turn to the left",
"start": 8984,
"end": 9008,
"loc": {
"start": {
"line": 285,
"column": 12
},
"end": {
"line": 285,
"column": 36
}
}
}
]
},
{
"type": "IfStatement",
"start": 9022,
"end": 9198,
"loc": {
"start": {
"line": 286,
"column": 12
},
"end": {
"line": 291,
"column": 13
}
},
"test": {
"type": "LogicalExpression",
"start": 9026,
"end": 9062,
"loc": {
"start": {
"line": 286,
"column": 16
},
"end": {
"line": 286,
"column": 52
}
},
"left": {
"type": "Identifier",
"start": 9026,
"end": 9041,
"loc": {
"start": {
"line": 286,
"column": 16
},
"end": {
"line": 286,
"column": 31
},
"identifierName": "hasLeftAcceptor"
},
"name": "hasLeftAcceptor",
"leadingComments": null
},
"operator": "&&",
"right": {
"type": "UnaryExpression",
"start": 9045,
"end": 9062,
"loc": {
"start": {
"line": 286,
"column": 35
},
"end": {
"line": 286,
"column": 52
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 9046,
"end": 9062,
"loc": {
"start": {
"line": 286,
"column": 36
},
"end": {
"line": 286,
"column": 52
},
"identifierName": "hasRightAcceptor"
},
"name": "hasRightAcceptor"
},
"extra": {
"parenthesizedArgument": false
}
},
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 9064,
"end": 9198,
"loc": {
"start": {
"line": 286,
"column": 54
},
"end": {
"line": 291,
"column": 13
}
},
"body": [
{
"type": "ReturnStatement",
"start": 9083,
"end": 9183,
"loc": {
"start": {
"line": 287,
"column": 16
},
"end": {
"line": 290,
"column": 18
}
},
"argument": {
"type": "ObjectExpression",
"start": 9090,
"end": 9182,
"loc": {
"start": {
"line": 287,
"column": 23
},
"end": {
"line": 290,
"column": 17
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 9113,
"end": 9121,
"loc": {
"start": {
"line": 288,
"column": 20
},
"end": {
"line": 288,
"column": 28
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 9113,
"end": 9121,
"loc": {
"start": {
"line": 288,
"column": 20
},
"end": {
"line": 288,
"column": 28
},
"identifierName": "rotation"
},
"name": "rotation"
},
"value": {
"type": "Identifier",
"start": 9113,
"end": 9121,
"loc": {
"start": {
"line": 288,
"column": 20
},
"end": {
"line": 288,
"column": 28
},
"identifierName": "rotation"
},
"name": "rotation"
},
"extra": {
"shorthand": true
}
},
{
"type": "ObjectProperty",
"start": 9144,
"end": 9162,
"loc": {
"start": {
"line": 289,
"column": 20
},
"end": {
"line": 289,
"column": 38
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 9144,
"end": 9159,
"loc": {
"start": {
"line": 289,
"column": 20
},
"end": {
"line": 289,
"column": 35
},
"identifierName": "rotationVariant"
},
"name": "rotationVariant"
},
"value": {
"type": "NumericLiteral",
"start": 9161,
"end": 9162,
"loc": {
"start": {
"line": 289,
"column": 37
},
"end": {
"line": 289,
"column": 38
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
}
]
}
}
],
"directives": []
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " When there is an acceptor to the left but no acceptor to the right,",
"start": 8900,
"end": 8970,
"loc": {
"start": {
"line": 284,
"column": 12
},
"end": {
"line": 284,
"column": 82
}
}
},
{
"type": "CommentLine",
"value": " do a turn to the left",
"start": 8984,
"end": 9008,
"loc": {
"start": {
"line": 285,
"column": 12
},
"end": {
"line": 285,
"column": 36
}
}
}
]
}
],
"directives": []
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " When there is a top acceptor, ignore sides",
"start": 8420,
"end": 8465,
"loc": {
"start": {
"line": 272,
"column": 8
},
"end": {
"line": 272,
"column": 53
}
}
},
{
"type": "CommentLine",
"value": " NOTICE: This makes the belt prefer side turns *way* too much!",
"start": 8475,
"end": 8539,
"loc": {
"start": {
"line": 273,
"column": 8
},
"end": {
"line": 273,
"column": 72
}
}
}
]
},
{
"type": "ReturnStatement",
"start": 9221,
"end": 9297,
"loc": {
"start": {
"line": 294,
"column": 8
},
"end": {
"line": 297,
"column": 10
}
},
"argument": {
"type": "ObjectExpression",
"start": 9228,
"end": 9296,
"loc": {
"start": {
"line": 294,
"column": 15
},
"end": {
"line": 297,
"column": 9
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 9243,
"end": 9251,
"loc": {
"start": {
"line": 295,
"column": 12
},
"end": {
"line": 295,
"column": 20
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 9243,
"end": 9251,
"loc": {
"start": {
"line": 295,
"column": 12
},
"end": {
"line": 295,
"column": 20
},
"identifierName": "rotation"
},
"name": "rotation"
},
"value": {
"type": "Identifier",
"start": 9243,
"end": 9251,
"loc": {
"start": {
"line": 295,
"column": 12
},
"end": {
"line": 295,
"column": 20
},
"identifierName": "rotation"
},
"name": "rotation"
},
"extra": {
"shorthand": true
}
},
{
"type": "ObjectProperty",
"start": 9266,
"end": 9284,
"loc": {
"start": {
"line": 296,
"column": 12
},
"end": {
"line": 296,
"column": 30
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 9266,
"end": 9281,
"loc": {
"start": {
"line": 296,
"column": 12
},
"end": {
"line": 296,
"column": 27
},
"identifierName": "rotationVariant"
},
"name": "rotationVariant"
},
"value": {
"type": "NumericLiteral",
"start": 9283,
"end": 9284,
"loc": {
"start": {
"line": 296,
"column": 29
},
"end": {
"line": 296,
"column": 30
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
]
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Should compute the optimal rotation variant on the given tile\r\n * @param {object} param0\r\n * @param {GameRoot} param0.root\r\n * @param {Vector} param0.tile\r\n * @param {number} param0.rotation\r\n * @param {string} param0.variant\r\n * @param {Layer} param0.layer\r\n * @return {{ rotation: number, rotationVariant: number, connectedEntities?: Array<Entity> }}\r\n ",
"start": 5495,
"end": 5896,
"loc": {
"start": {
"line": 198,
"column": 4
},
"end": {
"line": 207,
"column": 7
}
}
}
]
}
]
},
"leadingComments": [],
"trailingComments": []
}
},
{
"type": "ExpressionStatement",
"start": 9311,
"end": 9507,
"loc": {
"start": {
"line": 301,
"column": 0
},
"end": {
"line": 308,
"column": 2
}
},
"expression": {
"type": "AssignmentExpression",
"start": 9311,
"end": 9506,
"loc": {
"start": {
"line": 301,
"column": 0
},
"end": {
"line": 308,
"column": 1
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 9311,
"end": 9349,
"loc": {
"start": {
"line": 301,
"column": 0
},
"end": {
"line": 301,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 9311,
"end": 9327,
"loc": {
"start": {
"line": 301,
"column": 0
},
"end": {
"line": 301,
"column": 16
},
"identifierName": "MetaBeltBuilding"
},
"name": "MetaBeltBuilding"
},
"property": {
"type": "Identifier",
"start": 9328,
"end": 9349,
"loc": {
"start": {
"line": 301,
"column": 17
},
"end": {
"line": 301,
"column": 38
},
"identifierName": "setupEntityComponents"
},
"name": "setupEntityComponents"
},
"computed": false
},
"right": {
"type": "ArrayExpression",
"start": 9352,
"end": 9506,
"loc": {
"start": {
"line": 301,
"column": 41
},
"end": {
"line": 308,
"column": 1
}
},
"elements": [
{
"type": "ArrowFunctionExpression",
"start": 9359,
"end": 9502,
"loc": {
"start": {
"line": 302,
"column": 4
},
"end": {
"line": 307,
"column": 5
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [
{
"type": "Identifier",
"start": 9359,
"end": 9365,
"loc": {
"start": {
"line": 302,
"column": 4
},
"end": {
"line": 302,
"column": 10
},
"identifierName": "entity"
},
"name": "entity"
}
],
"body": {
"type": "CallExpression",
"start": 9374,
"end": 9502,
"loc": {
"start": {
"line": 303,
"column": 4
},
"end": {
"line": 307,
"column": 5
}
},
"callee": {
"type": "MemberExpression",
"start": 9374,
"end": 9393,
"loc": {
"start": {
"line": 303,
"column": 4
},
"end": {
"line": 303,
"column": 23
}
},
"object": {
"type": "Identifier",
"start": 9374,
"end": 9380,
"loc": {
"start": {
"line": 303,
"column": 4
},
"end": {
"line": 303,
"column": 10
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 9381,
"end": 9393,
"loc": {
"start": {
"line": 303,
"column": 11
},
"end": {
"line": 303,
"column": 23
},
"identifierName": "addComponent"
},
"name": "addComponent"
},
"computed": false
},
"arguments": [
{
"type": "NewExpression",
"start": 9404,
"end": 9495,
"loc": {
"start": {
"line": 304,
"column": 8
},
"end": {
"line": 306,
"column": 10
}
},
"callee": {
"type": "Identifier",
"start": 9408,
"end": 9421,
"loc": {
"start": {
"line": 304,
"column": 12
},
"end": {
"line": 304,
"column": 25
},
"identifierName": "BeltComponent"
},
"name": "BeltComponent"
},
"arguments": [
{
"type": "ObjectExpression",
"start": 9422,
"end": 9494,
"loc": {
"start": {
"line": 304,
"column": 26
},
"end": {
"line": 306,
"column": 9
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 9437,
"end": 9465,
"loc": {
"start": {
"line": 305,
"column": 12
},
"end": {
"line": 305,
"column": 40
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 9437,
"end": 9446,
"loc": {
"start": {
"line": 305,
"column": 12
},
"end": {
"line": 305,
"column": 21
},
"identifierName": "direction"
},
"name": "direction"
},
"value": {
"type": "MemberExpression",
"start": 9448,
"end": 9465,
"loc": {
"start": {
"line": 305,
"column": 23
},
"end": {
"line": 305,
"column": 40
}
},
"object": {
"type": "Identifier",
"start": 9448,
"end": 9461,
"loc": {
"start": {
"line": 305,
"column": 23
},
"end": {
"line": 305,
"column": 36
},
"identifierName": "enumDirection"
},
"name": "enumDirection"
},
"property": {
"type": "Identifier",
"start": 9462,
"end": 9465,
"loc": {
"start": {
"line": 305,
"column": 37
},
"end": {
"line": 305,
"column": 40
},
"identifierName": "top"
},
"name": "top"
},
"computed": false
},
"trailingComments": [
{
"type": "CommentLine",
"value": " updated later",
"start": 9467,
"end": 9483,
"loc": {
"start": {
"line": 305,
"column": 42
},
"end": {
"line": 305,
"column": 58
}
}
}
]
}
]
}
]
}
]
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 9511,
"end": 9624,
"loc": {
"start": {
"line": 310,
"column": 0
},
"end": {
"line": 312,
"column": 2
}
},
"expression": {
"type": "AssignmentExpression",
"start": 9511,
"end": 9623,
"loc": {
"start": {
"line": 310,
"column": 0
},
"end": {
"line": 312,
"column": 1
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 9511,
"end": 9544,
"loc": {
"start": {
"line": 310,
"column": 0
},
"end": {
"line": 310,
"column": 33
}
},
"object": {
"type": "Identifier",
"start": 9511,
"end": 9527,
"loc": {
"start": {
"line": 310,
"column": 0
},
"end": {
"line": 310,
"column": 16
},
"identifierName": "MetaBeltBuilding"
},
"name": "MetaBeltBuilding"
},
"property": {
"type": "Identifier",
"start": 9528,
"end": 9544,
"loc": {
"start": {
"line": 310,
"column": 17
},
"end": {
"line": 310,
"column": 33
},
"identifierName": "silhouetteColors"
},
"name": "silhouetteColors"
},
"computed": false
},
"right": {
"type": "ObjectExpression",
"start": 9547,
"end": 9623,
"loc": {
"start": {
"line": 310,
"column": 36
},
"end": {
"line": 312,
"column": 1
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 9554,
"end": 9619,
"loc": {
"start": {
"line": 311,
"column": 4
},
"end": {
"line": 311,
"column": 69
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "Identifier",
"start": 9555,
"end": 9577,
"loc": {
"start": {
"line": 311,
"column": 5
},
"end": {
"line": 311,
"column": 27
},
"identifierName": "defaultBuildingVariant"
},
"name": "defaultBuildingVariant"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 9580,
"end": 9619,
"loc": {
"start": {
"line": 311,
"column": 30
},
"end": {
"line": 311,
"column": 69
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [],
"body": {
"type": "MemberExpression",
"start": 9586,
"end": 9619,
"loc": {
"start": {
"line": 311,
"column": 36
},
"end": {
"line": 311,
"column": 69
}
},
"object": {
"type": "MemberExpression",
"start": 9586,
"end": 9609,
"loc": {
"start": {
"line": 311,
"column": 36
},
"end": {
"line": 311,
"column": 59
}
},
"object": {
"type": "MemberExpression",
"start": 9586,
"end": 9595,
"loc": {
"start": {
"line": 311,
"column": 36
},
"end": {
"line": 311,
"column": 45
}
},
"object": {
"type": "Identifier",
"start": 9586,
"end": 9591,
"loc": {
"start": {
"line": 311,
"column": 36
},
"end": {
"line": 311,
"column": 41
},
"identifierName": "THEME"
},
"name": "THEME"
},
"property": {
"type": "Identifier",
"start": 9592,
"end": 9595,
"loc": {
"start": {
"line": 311,
"column": 42
},
"end": {
"line": 311,
"column": 45
},
"identifierName": "map"
},
"name": "map"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 9596,
"end": 9609,
"loc": {
"start": {
"line": 311,
"column": 46
},
"end": {
"line": 311,
"column": 59
},
"identifierName": "chunkOverview"
},
"name": "chunkOverview"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 9610,
"end": 9619,
"loc": {
"start": {
"line": 311,
"column": 60
},
"end": {
"line": 311,
"column": 69
},
"identifierName": "beltColor"
},
"name": "beltColor"
},
"computed": false
}
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 9628,
"end": 9726,
"loc": {
"start": {
"line": 314,
"column": 0
},
"end": {
"line": 314,
"column": 98
}
},
"expression": {
"type": "AssignmentExpression",
"start": 9628,
"end": 9725,
"loc": {
"start": {
"line": 314,
"column": 0
},
"end": {
"line": 314,
"column": 97
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 9628,
"end": 9662,
"loc": {
"start": {
"line": 314,
"column": 0
},
"end": {
"line": 314,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 9628,
"end": 9644,
"loc": {
"start": {
"line": 314,
"column": 0
},
"end": {
"line": 314,
"column": 16
},
"identifierName": "MetaBeltBuilding"
},
"name": "MetaBeltBuilding"
},
"property": {
"type": "Identifier",
"start": 9645,
"end": 9662,
"loc": {
"start": {
"line": 314,
"column": 17
},
"end": {
"line": 314,
"column": 34
},
"identifierName": "variantToRotation"
},
"name": "variantToRotation"
},
"computed": false
},
"right": {
"type": "ArrayExpression",
"start": 9665,
"end": 9725,
"loc": {
"start": {
"line": 314,
"column": 37
},
"end": {
"line": 314,
"column": 97
}
},
"elements": [
{
"type": "MemberExpression",
"start": 9666,
"end": 9683,
"loc": {
"start": {
"line": 314,
"column": 38
},
"end": {
"line": 314,
"column": 55
}
},
"object": {
"type": "Identifier",
"start": 9666,
"end": 9679,
"loc": {
"start": {
"line": 314,
"column": 38
},
"end": {
"line": 314,
"column": 51
},
"identifierName": "enumDirection"
},
"name": "enumDirection"
},
"property": {
"type": "Identifier",
"start": 9680,
"end": 9683,
"loc": {
"start": {
"line": 314,
"column": 52
},
"end": {
"line": 314,
"column": 55
},
"identifierName": "top"
},
"name": "top"
},
"computed": false
},
{
"type": "MemberExpression",
"start": 9685,
"end": 9703,
"loc": {
"start": {
"line": 314,
"column": 57
},
"end": {
"line": 314,
"column": 75
}
},
"object": {
"type": "Identifier",
"start": 9685,
"end": 9698,
"loc": {
"start": {
"line": 314,
"column": 57
},
"end": {
"line": 314,
"column": 70
},
"identifierName": "enumDirection"
},
"name": "enumDirection"
},
"property": {
"type": "Identifier",
"start": 9699,
"end": 9703,
"loc": {
"start": {
"line": 314,
"column": 71
},
"end": {
"line": 314,
"column": 75
},
"identifierName": "left"
},
"name": "left"
},
"computed": false
},
{
"type": "MemberExpression",
"start": 9705,
"end": 9724,
"loc": {
"start": {
"line": 314,
"column": 77
},
"end": {
"line": 314,
"column": 96
}
},
"object": {
"type": "Identifier",
"start": 9705,
"end": 9718,
"loc": {
"start": {
"line": 314,
"column": 77
},
"end": {
"line": 314,
"column": 90
},
"identifierName": "enumDirection"
},
"name": "enumDirection"
},
"property": {
"type": "Identifier",
"start": 9719,
"end": 9724,
"loc": {
"start": {
"line": 314,
"column": 91
},
"end": {
"line": 314,
"column": 96
},
"identifierName": "right"
},
"name": "right"
},
"computed": false
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 9730,
"end": 10100,
"loc": {
"start": {
"line": 316,
"column": 0
},
"end": {
"line": 320,
"column": 2
}
},
"expression": {
"type": "AssignmentExpression",
"start": 9730,
"end": 10099,
"loc": {
"start": {
"line": 316,
"column": 0
},
"end": {
"line": 320,
"column": 1
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 9730,
"end": 9762,
"loc": {
"start": {
"line": 316,
"column": 0
},
"end": {
"line": 316,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 9730,
"end": 9746,
"loc": {
"start": {
"line": 316,
"column": 0
},
"end": {
"line": 316,
"column": 16
},
"identifierName": "MetaBeltBuilding"
},
"name": "MetaBeltBuilding"
},
"property": {
"type": "Identifier",
"start": 9747,
"end": 9762,
"loc": {
"start": {
"line": 316,
"column": 17
},
"end": {
"line": 316,
"column": 32
},
"identifierName": "overlayMatrices"
},
"name": "overlayMatrices"
},
"computed": false
},
"right": {
"type": "ObjectExpression",
"start": 9765,
"end": 10099,
"loc": {
"start": {
"line": 316,
"column": 35
},
"end": {
"line": 320,
"column": 1
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 9772,
"end": 9874,
"loc": {
"start": {
"line": 317,
"column": 4
},
"end": {
"line": 317,
"column": 106
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "MemberExpression",
"start": 9773,
"end": 9790,
"loc": {
"start": {
"line": 317,
"column": 5
},
"end": {
"line": 317,
"column": 22
}
},
"object": {
"type": "Identifier",
"start": 9773,
"end": 9786,
"loc": {
"start": {
"line": 317,
"column": 5
},
"end": {
"line": 317,
"column": 18
},
"identifierName": "enumDirection"
},
"name": "enumDirection"
},
"property": {
"type": "Identifier",
"start": 9787,
"end": 9790,
"loc": {
"start": {
"line": 317,
"column": 19
},
"end": {
"line": 317,
"column": 22
},
"identifierName": "top"
},
"name": "top"
},
"computed": false
},
"value": {
"type": "ArrowFunctionExpression",
"start": 9793,
"end": 9874,
"loc": {
"start": {
"line": 317,
"column": 25
},
"end": {
"line": 317,
"column": 106
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [
{
"type": "Identifier",
"start": 9794,
"end": 9800,
"loc": {
"start": {
"line": 317,
"column": 26
},
"end": {
"line": 317,
"column": 32
},
"identifierName": "entity"
},
"name": "entity"
},
{
"type": "Identifier",
"start": 9802,
"end": 9817,
"loc": {
"start": {
"line": 317,
"column": 34
},
"end": {
"line": 317,
"column": 49
},
"identifierName": "rotationVariant"
},
"name": "rotationVariant"
}
],
"body": {
"type": "CallExpression",
"start": 9822,
"end": 9874,
"loc": {
"start": {
"line": 317,
"column": 54
},
"end": {
"line": 317,
"column": 106
}
},
"callee": {
"type": "Identifier",
"start": 9822,
"end": 9845,
"loc": {
"start": {
"line": 317,
"column": 54
},
"end": {
"line": 317,
"column": 77
},
"identifierName": "generateMatrixRotations"
},
"name": "generateMatrixRotations"
},
"arguments": [
{
"type": "ArrayExpression",
"start": 9846,
"end": 9873,
"loc": {
"start": {
"line": 317,
"column": 78
},
"end": {
"line": 317,
"column": 105
}
},
"elements": [
{
"type": "NumericLiteral",
"start": 9847,
"end": 9848,
"loc": {
"start": {
"line": 317,
"column": 79
},
"end": {
"line": 317,
"column": 80
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
{
"type": "NumericLiteral",
"start": 9850,
"end": 9851,
"loc": {
"start": {
"line": 317,
"column": 82
},
"end": {
"line": 317,
"column": 83
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
{
"type": "NumericLiteral",
"start": 9853,
"end": 9854,
"loc": {
"start": {
"line": 317,
"column": 85
},
"end": {
"line": 317,
"column": 86
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
{
"type": "NumericLiteral",
"start": 9856,
"end": 9857,
"loc": {
"start": {
"line": 317,
"column": 88
},
"end": {
"line": 317,
"column": 89
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
{
"type": "NumericLiteral",
"start": 9859,
"end": 9860,
"loc": {
"start": {
"line": 317,
"column": 91
},
"end": {
"line": 317,
"column": 92
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
{
"type": "NumericLiteral",
"start": 9862,
"end": 9863,
"loc": {
"start": {
"line": 317,
"column": 94
},
"end": {
"line": 317,
"column": 95
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
{
"type": "NumericLiteral",
"start": 9865,
"end": 9866,
"loc": {
"start": {
"line": 317,
"column": 97
},
"end": {
"line": 317,
"column": 98
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
{
"type": "NumericLiteral",
"start": 9868,
"end": 9869,
"loc": {
"start": {
"line": 317,
"column": 100
},
"end": {
"line": 317,
"column": 101
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
{
"type": "NumericLiteral",
"start": 9871,
"end": 9872,
"loc": {
"start": {
"line": 317,
"column": 103
},
"end": {
"line": 317,
"column": 104
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
]
}
]
}
}
},
{
"type": "ObjectProperty",
"start": 9881,
"end": 9984,
"loc": {
"start": {
"line": 318,
"column": 4
},
"end": {
"line": 318,
"column": 107
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "MemberExpression",
"start": 9882,
"end": 9900,
"loc": {
"start": {
"line": 318,
"column": 5
},
"end": {
"line": 318,
"column": 23
}
},
"object": {
"type": "Identifier",
"start": 9882,
"end": 9895,
"loc": {
"start": {
"line": 318,
"column": 5
},
"end": {
"line": 318,
"column": 18
},
"identifierName": "enumDirection"
},
"name": "enumDirection"
},
"property": {
"type": "Identifier",
"start": 9896,
"end": 9900,
"loc": {
"start": {
"line": 318,
"column": 19
},
"end": {
"line": 318,
"column": 23
},
"identifierName": "left"
},
"name": "left"
},
"computed": false
},
"value": {
"type": "ArrowFunctionExpression",
"start": 9903,
"end": 9984,
"loc": {
"start": {
"line": 318,
"column": 26
},
"end": {
"line": 318,
"column": 107
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [
{
"type": "Identifier",
"start": 9904,
"end": 9910,
"loc": {
"start": {
"line": 318,
"column": 27
},
"end": {
"line": 318,
"column": 33
},
"identifierName": "entity"
},
"name": "entity"
},
{
"type": "Identifier",
"start": 9912,
"end": 9927,
"loc": {
"start": {
"line": 318,
"column": 35
},
"end": {
"line": 318,
"column": 50
},
"identifierName": "rotationVariant"
},
"name": "rotationVariant"
}
],
"body": {
"type": "CallExpression",
"start": 9932,
"end": 9984,
"loc": {
"start": {
"line": 318,
"column": 55
},
"end": {
"line": 318,
"column": 107
}
},
"callee": {
"type": "Identifier",
"start": 9932,
"end": 9955,
"loc": {
"start": {
"line": 318,
"column": 55
},
"end": {
"line": 318,
"column": 78
},
"identifierName": "generateMatrixRotations"
},
"name": "generateMatrixRotations"
},
"arguments": [
{
"type": "ArrayExpression",
"start": 9956,
"end": 9983,
"loc": {
"start": {
"line": 318,
"column": 79
},
"end": {
"line": 318,
"column": 106
}
},
"elements": [
{
"type": "NumericLiteral",
"start": 9957,
"end": 9958,
"loc": {
"start": {
"line": 318,
"column": 80
},
"end": {
"line": 318,
"column": 81
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
{
"type": "NumericLiteral",
"start": 9960,
"end": 9961,
"loc": {
"start": {
"line": 318,
"column": 83
},
"end": {
"line": 318,
"column": 84
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
{
"type": "NumericLiteral",
"start": 9963,
"end": 9964,
"loc": {
"start": {
"line": 318,
"column": 86
},
"end": {
"line": 318,
"column": 87
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
{
"type": "NumericLiteral",
"start": 9966,
"end": 9967,
"loc": {
"start": {
"line": 318,
"column": 89
},
"end": {
"line": 318,
"column": 90
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
{
"type": "NumericLiteral",
"start": 9969,
"end": 9970,
"loc": {
"start": {
"line": 318,
"column": 92
},
"end": {
"line": 318,
"column": 93
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
{
"type": "NumericLiteral",
"start": 9972,
"end": 9973,
"loc": {
"start": {
"line": 318,
"column": 95
},
"end": {
"line": 318,
"column": 96
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
{
"type": "NumericLiteral",
"start": 9975,
"end": 9976,
"loc": {
"start": {
"line": 318,
"column": 98
},
"end": {
"line": 318,
"column": 99
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
{
"type": "NumericLiteral",
"start": 9978,
"end": 9979,
"loc": {
"start": {
"line": 318,
"column": 101
},
"end": {
"line": 318,
"column": 102
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
{
"type": "NumericLiteral",
"start": 9981,
"end": 9982,
"loc": {
"start": {
"line": 318,
"column": 104
},
"end": {
"line": 318,
"column": 105
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
]
}
]
}
}
},
{
"type": "ObjectProperty",
"start": 9991,
"end": 10095,
"loc": {
"start": {
"line": 319,
"column": 4
},
"end": {
"line": 319,
"column": 108
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "MemberExpression",
"start": 9992,
"end": 10011,
"loc": {
"start": {
"line": 319,
"column": 5
},
"end": {
"line": 319,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 9992,
"end": 10005,
"loc": {
"start": {
"line": 319,
"column": 5
},
"end": {
"line": 319,
"column": 18
},
"identifierName": "enumDirection"
},
"name": "enumDirection"
},
"property": {
"type": "Identifier",
"start": 10006,
"end": 10011,
"loc": {
"start": {
"line": 319,
"column": 19
},
"end": {
"line": 319,
"column": 24
},
"identifierName": "right"
},
"name": "right"
},
"computed": false
},
"value": {
"type": "ArrowFunctionExpression",
"start": 10014,
"end": 10095,
"loc": {
"start": {
"line": 319,
"column": 27
},
"end": {
"line": 319,
"column": 108
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [
{
"type": "Identifier",
"start": 10015,
"end": 10021,
"loc": {
"start": {
"line": 319,
"column": 28
},
"end": {
"line": 319,
"column": 34
},
"identifierName": "entity"
},
"name": "entity"
},
{
"type": "Identifier",
"start": 10023,
"end": 10038,
"loc": {
"start": {
"line": 319,
"column": 36
},
"end": {
"line": 319,
"column": 51
},
"identifierName": "rotationVariant"
},
"name": "rotationVariant"
}
],
"body": {
"type": "CallExpression",
"start": 10043,
"end": 10095,
"loc": {
"start": {
"line": 319,
"column": 56
},
"end": {
"line": 319,
"column": 108
}
},
"callee": {
"type": "Identifier",
"start": 10043,
"end": 10066,
"loc": {
"start": {
"line": 319,
"column": 56
},
"end": {
"line": 319,
"column": 79
},
"identifierName": "generateMatrixRotations"
},
"name": "generateMatrixRotations"
},
"arguments": [
{
"type": "ArrayExpression",
"start": 10067,
"end": 10094,
"loc": {
"start": {
"line": 319,
"column": 80
},
"end": {
"line": 319,
"column": 107
}
},
"elements": [
{
"type": "NumericLiteral",
"start": 10068,
"end": 10069,
"loc": {
"start": {
"line": 319,
"column": 81
},
"end": {
"line": 319,
"column": 82
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
{
"type": "NumericLiteral",
"start": 10071,
"end": 10072,
"loc": {
"start": {
"line": 319,
"column": 84
},
"end": {
"line": 319,
"column": 85
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
{
"type": "NumericLiteral",
"start": 10074,
"end": 10075,
"loc": {
"start": {
"line": 319,
"column": 87
},
"end": {
"line": 319,
"column": 88
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
{
"type": "NumericLiteral",
"start": 10077,
"end": 10078,
"loc": {
"start": {
"line": 319,
"column": 90
},
"end": {
"line": 319,
"column": 91
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
{
"type": "NumericLiteral",
"start": 10080,
"end": 10081,
"loc": {
"start": {
"line": 319,
"column": 93
},
"end": {
"line": 319,
"column": 94
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
{
"type": "NumericLiteral",
"start": 10083,
"end": 10084,
"loc": {
"start": {
"line": 319,
"column": 96
},
"end": {
"line": 319,
"column": 97
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
{
"type": "NumericLiteral",
"start": 10086,
"end": 10087,
"loc": {
"start": {
"line": 319,
"column": 99
},
"end": {
"line": 319,
"column": 100
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
{
"type": "NumericLiteral",
"start": 10089,
"end": 10090,
"loc": {
"start": {
"line": 319,
"column": 102
},
"end": {
"line": 319,
"column": 103
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
{
"type": "NumericLiteral",
"start": 10092,
"end": 10093,
"loc": {
"start": {
"line": 319,
"column": 105
},
"end": {
"line": 319,
"column": 106
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
]
}
]
}
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 10104,
"end": 10199,
"loc": {
"start": {
"line": 322,
"column": 0
},
"end": {
"line": 324,
"column": 2
}
},
"expression": {
"type": "AssignmentExpression",
"start": 10104,
"end": 10198,
"loc": {
"start": {
"line": 322,
"column": 0
},
"end": {
"line": 324,
"column": 1
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 10104,
"end": 10136,
"loc": {
"start": {
"line": 322,
"column": 0
},
"end": {
"line": 322,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 10104,
"end": 10120,
"loc": {
"start": {
"line": 322,
"column": 0
},
"end": {
"line": 322,
"column": 16
},
"identifierName": "MetaBeltBuilding"
},
"name": "MetaBeltBuilding"
},
"property": {
"type": "Identifier",
"start": 10121,
"end": 10136,
"loc": {
"start": {
"line": 322,
"column": 17
},
"end": {
"line": 322,
"column": 32
},
"identifierName": "placementSounds"
},
"name": "placementSounds"
},
"computed": false
},
"right": {
"type": "ObjectExpression",
"start": 10139,
"end": 10198,
"loc": {
"start": {
"line": 322,
"column": 35
},
"end": {
"line": 324,
"column": 1
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 10146,
"end": 10194,
"loc": {
"start": {
"line": 323,
"column": 4
},
"end": {
"line": 323,
"column": 52
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "Identifier",
"start": 10147,
"end": 10169,
"loc": {
"start": {
"line": 323,
"column": 5
},
"end": {
"line": 323,
"column": 27
},
"identifierName": "defaultBuildingVariant"
},
"name": "defaultBuildingVariant"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 10172,
"end": 10194,
"loc": {
"start": {
"line": 323,
"column": 30
},
"end": {
"line": 323,
"column": 52
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [],
"body": {
"type": "MemberExpression",
"start": 10178,
"end": 10194,
"loc": {
"start": {
"line": 323,
"column": 36
},
"end": {
"line": 323,
"column": 52
}
},
"object": {
"type": "Identifier",
"start": 10178,
"end": 10184,
"loc": {
"start": {
"line": 323,
"column": 36
},
"end": {
"line": 323,
"column": 42
},
"identifierName": "SOUNDS"
},
"name": "SOUNDS"
},
"property": {
"type": "Identifier",
"start": 10185,
"end": 10194,
"loc": {
"start": {
"line": 323,
"column": 43
},
"end": {
"line": 323,
"column": 52
},
"identifierName": "placeBelt"
},
"name": "placeBelt"
},
"computed": false
}
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 10203,
"end": 10249,
"loc": {
"start": {
"line": 326,
"column": 0
},
"end": {
"line": 326,
"column": 46
}
},
"expression": {
"type": "AssignmentExpression",
"start": 10203,
"end": 10248,
"loc": {
"start": {
"line": 326,
"column": 0
},
"end": {
"line": 326,
"column": 45
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 10203,
"end": 10236,
"loc": {
"start": {
"line": 326,
"column": 0
},
"end": {
"line": 326,
"column": 33
}
},
"object": {
"type": "Identifier",
"start": 10203,
"end": 10219,
"loc": {
"start": {
"line": 326,
"column": 0
},
"end": {
"line": 326,
"column": 16
},
"identifierName": "MetaBeltBuilding"
},
"name": "MetaBeltBuilding"
},
"property": {
"type": "Identifier",
"start": 10220,
"end": 10236,
"loc": {
"start": {
"line": 326,
"column": 17
},
"end": {
"line": 326,
"column": 33
},
"identifierName": "rotationVariants"
},
"name": "rotationVariants"
},
"computed": false
},
"right": {
"type": "ArrayExpression",
"start": 10239,
"end": 10248,
"loc": {
"start": {
"line": 326,
"column": 36
},
"end": {
"line": 326,
"column": 45
}
},
"elements": [
{
"type": "NumericLiteral",
"start": 10240,
"end": 10241,
"loc": {
"start": {
"line": 326,
"column": 37
},
"end": {
"line": 326,
"column": 38
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
{
"type": "NumericLiteral",
"start": 10243,
"end": 10244,
"loc": {
"start": {
"line": 326,
"column": 40
},
"end": {
"line": 326,
"column": 41
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
{
"type": "NumericLiteral",
"start": 10246,
"end": 10247,
"loc": {
"start": {
"line": 326,
"column": 43
},
"end": {
"line": 326,
"column": 44
}
},
"extra": {
"rawValue": 2,
"raw": "2"
},
"value": 2
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 10253,
"end": 10338,
"loc": {
"start": {
"line": 328,
"column": 0
},
"end": {
"line": 330,
"column": 2
}
},
"expression": {
"type": "AssignmentExpression",
"start": 10253,
"end": 10337,
"loc": {
"start": {
"line": 328,
"column": 0
},
"end": {
"line": 330,
"column": 1
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 10253,
"end": 10285,
"loc": {
"start": {
"line": 328,
"column": 0
},
"end": {
"line": 328,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 10253,
"end": 10269,
"loc": {
"start": {
"line": 328,
"column": 0
},
"end": {
"line": 328,
"column": 16
},
"identifierName": "MetaBeltBuilding"
},
"name": "MetaBeltBuilding"
},
"property": {
"type": "Identifier",
"start": 10270,
"end": 10285,
"loc": {
"start": {
"line": 328,
"column": 17
},
"end": {
"line": 328,
"column": 32
},
"identifierName": "avaibleVariants"
},
"name": "avaibleVariants"
},
"computed": false
},
"right": {
"type": "ObjectExpression",
"start": 10288,
"end": 10337,
"loc": {
"start": {
"line": 328,
"column": 35
},
"end": {
"line": 330,
"column": 1
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 10295,
"end": 10333,
"loc": {
"start": {
"line": 329,
"column": 4
},
"end": {
"line": 329,
"column": 42
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "Identifier",
"start": 10296,
"end": 10318,
"loc": {
"start": {
"line": 329,
"column": 5
},
"end": {
"line": 329,
"column": 27
},
"identifierName": "defaultBuildingVariant"
},
"name": "defaultBuildingVariant"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 10321,
"end": 10333,
"loc": {
"start": {
"line": 329,
"column": 30
},
"end": {
"line": 329,
"column": 42
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [
{
"type": "Identifier",
"start": 10321,
"end": 10325,
"loc": {
"start": {
"line": 329,
"column": 30
},
"end": {
"line": 329,
"column": 34
},
"identifierName": "root"
},
"name": "root"
}
],
"body": {
"type": "BooleanLiteral",
"start": 10329,
"end": 10333,
"loc": {
"start": {
"line": 329,
"column": 38
},
"end": {
"line": 329,
"column": 42
}
},
"value": true
}
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 10342,
"end": 10432,
"loc": {
"start": {
"line": 332,
"column": 0
},
"end": {
"line": 334,
"column": 2
}
},
"expression": {
"type": "AssignmentExpression",
"start": 10342,
"end": 10431,
"loc": {
"start": {
"line": 332,
"column": 0
},
"end": {
"line": 334,
"column": 1
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 10342,
"end": 10369,
"loc": {
"start": {
"line": 332,
"column": 0
},
"end": {
"line": 332,
"column": 27
}
},
"object": {
"type": "Identifier",
"start": 10342,
"end": 10358,
"loc": {
"start": {
"line": 332,
"column": 0
},
"end": {
"line": 332,
"column": 16
},
"identifierName": "MetaBeltBuilding"
},
"name": "MetaBeltBuilding"
},
"property": {
"type": "Identifier",
"start": 10359,
"end": 10369,
"loc": {
"start": {
"line": 332,
"column": 17
},
"end": {
"line": 332,
"column": 27
},
"identifierName": "dimensions"
},
"name": "dimensions"
},
"computed": false
},
"right": {
"type": "ObjectExpression",
"start": 10372,
"end": 10431,
"loc": {
"start": {
"line": 332,
"column": 30
},
"end": {
"line": 334,
"column": 1
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 10379,
"end": 10427,
"loc": {
"start": {
"line": 333,
"column": 4
},
"end": {
"line": 333,
"column": 52
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "Identifier",
"start": 10380,
"end": 10402,
"loc": {
"start": {
"line": 333,
"column": 5
},
"end": {
"line": 333,
"column": 27
},
"identifierName": "defaultBuildingVariant"
},
"name": "defaultBuildingVariant"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 10405,
"end": 10427,
"loc": {
"start": {
"line": 333,
"column": 30
},
"end": {
"line": 333,
"column": 52
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [],
"body": {
"type": "NewExpression",
"start": 10411,
"end": 10427,
"loc": {
"start": {
"line": 333,
"column": 36
},
"end": {
"line": 333,
"column": 52
}
},
"callee": {
"type": "Identifier",
"start": 10415,
"end": 10421,
"loc": {
"start": {
"line": 333,
"column": 40
},
"end": {
"line": 333,
"column": 46
},
"identifierName": "Vector"
},
"name": "Vector"
},
"arguments": [
{
"type": "NumericLiteral",
"start": 10422,
"end": 10423,
"loc": {
"start": {
"line": 333,
"column": 47
},
"end": {
"line": 333,
"column": 48
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
{
"type": "NumericLiteral",
"start": 10425,
"end": 10426,
"loc": {
"start": {
"line": 333,
"column": 50
},
"end": {
"line": 333,
"column": 51
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
]
}
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 10436,
"end": 10515,
"loc": {
"start": {
"line": 336,
"column": 0
},
"end": {
"line": 338,
"column": 2
}
},
"expression": {
"type": "AssignmentExpression",
"start": 10436,
"end": 10514,
"loc": {
"start": {
"line": 336,
"column": 0
},
"end": {
"line": 338,
"column": 1
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 10436,
"end": 10464,
"loc": {
"start": {
"line": 336,
"column": 0
},
"end": {
"line": 336,
"column": 28
}
},
"object": {
"type": "Identifier",
"start": 10436,
"end": 10452,
"loc": {
"start": {
"line": 336,
"column": 0
},
"end": {
"line": 336,
"column": 16
},
"identifierName": "MetaBeltBuilding"
},
"name": "MetaBeltBuilding"
},
"property": {
"type": "Identifier",
"start": 10453,
"end": 10464,
"loc": {
"start": {
"line": 336,
"column": 17
},
"end": {
"line": 336,
"column": 28
},
"identifierName": "isRemovable"
},
"name": "isRemovable"
},
"computed": false
},
"right": {
"type": "ObjectExpression",
"start": 10467,
"end": 10514,
"loc": {
"start": {
"line": 336,
"column": 31
},
"end": {
"line": 338,
"column": 1
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 10474,
"end": 10510,
"loc": {
"start": {
"line": 337,
"column": 4
},
"end": {
"line": 337,
"column": 40
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "Identifier",
"start": 10475,
"end": 10497,
"loc": {
"start": {
"line": 337,
"column": 5
},
"end": {
"line": 337,
"column": 27
},
"identifierName": "defaultBuildingVariant"
},
"name": "defaultBuildingVariant"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 10500,
"end": 10510,
"loc": {
"start": {
"line": 337,
"column": 30
},
"end": {
"line": 337,
"column": 40
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [],
"body": {
"type": "BooleanLiteral",
"start": 10506,
"end": 10510,
"loc": {
"start": {
"line": 337,
"column": 36
},
"end": {
"line": 337,
"column": 40
}
},
"value": true
}
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 10519,
"end": 10600,
"loc": {
"start": {
"line": 340,
"column": 0
},
"end": {
"line": 342,
"column": 2
}
},
"expression": {
"type": "AssignmentExpression",
"start": 10519,
"end": 10599,
"loc": {
"start": {
"line": 340,
"column": 0
},
"end": {
"line": 342,
"column": 1
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 10519,
"end": 10549,
"loc": {
"start": {
"line": 340,
"column": 0
},
"end": {
"line": 340,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 10519,
"end": 10535,
"loc": {
"start": {
"line": 340,
"column": 0
},
"end": {
"line": 340,
"column": 16
},
"identifierName": "MetaBeltBuilding"
},
"name": "MetaBeltBuilding"
},
"property": {
"type": "Identifier",
"start": 10536,
"end": 10549,
"loc": {
"start": {
"line": 340,
"column": 17
},
"end": {
"line": 340,
"column": 30
},
"identifierName": "isReplaceable"
},
"name": "isReplaceable"
},
"computed": false
},
"right": {
"type": "ObjectExpression",
"start": 10552,
"end": 10599,
"loc": {
"start": {
"line": 340,
"column": 33
},
"end": {
"line": 342,
"column": 1
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 10559,
"end": 10595,
"loc": {
"start": {
"line": 341,
"column": 4
},
"end": {
"line": 341,
"column": 40
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "Identifier",
"start": 10560,
"end": 10582,
"loc": {
"start": {
"line": 341,
"column": 5
},
"end": {
"line": 341,
"column": 27
},
"identifierName": "defaultBuildingVariant"
},
"name": "defaultBuildingVariant"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 10585,
"end": 10595,
"loc": {
"start": {
"line": 341,
"column": 30
},
"end": {
"line": 341,
"column": 40
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [],
"body": {
"type": "BooleanLiteral",
"start": 10591,
"end": 10595,
"loc": {
"start": {
"line": 341,
"column": 36
},
"end": {
"line": 341,
"column": 40
}
},
"value": true
}
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 10604,
"end": 10684,
"loc": {
"start": {
"line": 344,
"column": 0
},
"end": {
"line": 346,
"column": 2
}
},
"expression": {
"type": "AssignmentExpression",
"start": 10604,
"end": 10683,
"loc": {
"start": {
"line": 344,
"column": 0
},
"end": {
"line": 346,
"column": 1
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 10604,
"end": 10633,
"loc": {
"start": {
"line": 344,
"column": 0
},
"end": {
"line": 344,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 10604,
"end": 10620,
"loc": {
"start": {
"line": 344,
"column": 0
},
"end": {
"line": 344,
"column": 16
},
"identifierName": "MetaBeltBuilding"
},
"name": "MetaBeltBuilding"
},
"property": {
"type": "Identifier",
"start": 10621,
"end": 10633,
"loc": {
"start": {
"line": 344,
"column": 17
},
"end": {
"line": 344,
"column": 29
},
"identifierName": "isRotateable"
},
"name": "isRotateable"
},
"computed": false
},
"right": {
"type": "ObjectExpression",
"start": 10636,
"end": 10683,
"loc": {
"start": {
"line": 344,
"column": 32
},
"end": {
"line": 346,
"column": 1
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 10643,
"end": 10679,
"loc": {
"start": {
"line": 345,
"column": 4
},
"end": {
"line": 345,
"column": 40
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "Identifier",
"start": 10644,
"end": 10666,
"loc": {
"start": {
"line": 345,
"column": 5
},
"end": {
"line": 345,
"column": 27
},
"identifierName": "defaultBuildingVariant"
},
"name": "defaultBuildingVariant"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 10669,
"end": 10679,
"loc": {
"start": {
"line": 345,
"column": 30
},
"end": {
"line": 345,
"column": 40
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [],
"body": {
"type": "BooleanLiteral",
"start": 10675,
"end": 10679,
"loc": {
"start": {
"line": 345,
"column": 36
},
"end": {
"line": 345,
"column": 40
}
},
"value": true
}
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 10688,
"end": 10766,
"loc": {
"start": {
"line": 348,
"column": 0
},
"end": {
"line": 350,
"column": 2
}
},
"expression": {
"type": "AssignmentExpression",
"start": 10688,
"end": 10765,
"loc": {
"start": {
"line": 348,
"column": 0
},
"end": {
"line": 350,
"column": 1
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 10688,
"end": 10715,
"loc": {
"start": {
"line": 348,
"column": 0
},
"end": {
"line": 348,
"column": 27
}
},
"object": {
"type": "Identifier",
"start": 10688,
"end": 10704,
"loc": {
"start": {
"line": 348,
"column": 0
},
"end": {
"line": 348,
"column": 16
},
"identifierName": "MetaBeltBuilding"
},
"name": "MetaBeltBuilding"
},
"property": {
"type": "Identifier",
"start": 10705,
"end": 10715,
"loc": {
"start": {
"line": 348,
"column": 17
},
"end": {
"line": 348,
"column": 27
},
"identifierName": "renderPins"
},
"name": "renderPins"
},
"computed": false
},
"right": {
"type": "ObjectExpression",
"start": 10718,
"end": 10765,
"loc": {
"start": {
"line": 348,
"column": 30
},
"end": {
"line": 350,
"column": 1
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 10725,
"end": 10761,
"loc": {
"start": {
"line": 349,
"column": 4
},
"end": {
"line": 349,
"column": 40
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "Identifier",
"start": 10726,
"end": 10748,
"loc": {
"start": {
"line": 349,
"column": 5
},
"end": {
"line": 349,
"column": 27
},
"identifierName": "defaultBuildingVariant"
},
"name": "defaultBuildingVariant"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 10751,
"end": 10761,
"loc": {
"start": {
"line": 349,
"column": 30
},
"end": {
"line": 349,
"column": 40
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [],
"body": {
"type": "NullLiteral",
"start": 10757,
"end": 10761,
"loc": {
"start": {
"line": 349,
"column": 36
},
"end": {
"line": 349,
"column": 40
}
}
}
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 10770,
"end": 10850,
"loc": {
"start": {
"line": 352,
"column": 0
},
"end": {
"line": 354,
"column": 2
}
},
"expression": {
"type": "AssignmentExpression",
"start": 10770,
"end": 10849,
"loc": {
"start": {
"line": 352,
"column": 0
},
"end": {
"line": 354,
"column": 1
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 10770,
"end": 10799,
"loc": {
"start": {
"line": 352,
"column": 0
},
"end": {
"line": 352,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 10770,
"end": 10786,
"loc": {
"start": {
"line": 352,
"column": 0
},
"end": {
"line": 352,
"column": 16
},
"identifierName": "MetaBeltBuilding"
},
"name": "MetaBeltBuilding"
},
"property": {
"type": "Identifier",
"start": 10787,
"end": 10799,
"loc": {
"start": {
"line": 352,
"column": 17
},
"end": {
"line": 352,
"column": 29
},
"identifierName": "layerPreview"
},
"name": "layerPreview"
},
"computed": false
},
"right": {
"type": "ObjectExpression",
"start": 10802,
"end": 10849,
"loc": {
"start": {
"line": 352,
"column": 32
},
"end": {
"line": 354,
"column": 1
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 10809,
"end": 10845,
"loc": {
"start": {
"line": 353,
"column": 4
},
"end": {
"line": 353,
"column": 40
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "Identifier",
"start": 10810,
"end": 10832,
"loc": {
"start": {
"line": 353,
"column": 5
},
"end": {
"line": 353,
"column": 27
},
"identifierName": "defaultBuildingVariant"
},
"name": "defaultBuildingVariant"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 10835,
"end": 10845,
"loc": {
"start": {
"line": 353,
"column": 30
},
"end": {
"line": 353,
"column": 40
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [],
"body": {
"type": "NullLiteral",
"start": 10841,
"end": 10845,
"loc": {
"start": {
"line": 353,
"column": 36
},
"end": {
"line": 353,
"column": 40
}
}
}
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 10854,
"end": 10943,
"loc": {
"start": {
"line": 356,
"column": 0
},
"end": {
"line": 358,
"column": 2
}
},
"expression": {
"type": "AssignmentExpression",
"start": 10854,
"end": 10942,
"loc": {
"start": {
"line": 356,
"column": 0
},
"end": {
"line": 358,
"column": 1
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 10854,
"end": 10885,
"loc": {
"start": {
"line": 356,
"column": 0
},
"end": {
"line": 356,
"column": 31
}
},
"object": {
"type": "Identifier",
"start": 10854,
"end": 10870,
"loc": {
"start": {
"line": 356,
"column": 0
},
"end": {
"line": 356,
"column": 16
},
"identifierName": "MetaBeltBuilding"
},
"name": "MetaBeltBuilding"
},
"property": {
"type": "Identifier",
"start": 10871,
"end": 10885,
"loc": {
"start": {
"line": 356,
"column": 17
},
"end": {
"line": 356,
"column": 31
},
"identifierName": "layerByVariant"
},
"name": "layerByVariant"
},
"computed": false
},
"right": {
"type": "ObjectExpression",
"start": 10888,
"end": 10942,
"loc": {
"start": {
"line": 356,
"column": 34
},
"end": {
"line": 358,
"column": 1
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 10895,
"end": 10938,
"loc": {
"start": {
"line": 357,
"column": 4
},
"end": {
"line": 357,
"column": 47
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "Identifier",
"start": 10896,
"end": 10918,
"loc": {
"start": {
"line": 357,
"column": 5
},
"end": {
"line": 357,
"column": 27
},
"identifierName": "defaultBuildingVariant"
},
"name": "defaultBuildingVariant"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 10921,
"end": 10938,
"loc": {
"start": {
"line": 357,
"column": 30
},
"end": {
"line": 357,
"column": 47
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [
{
"type": "Identifier",
"start": 10921,
"end": 10925,
"loc": {
"start": {
"line": 357,
"column": 30
},
"end": {
"line": 357,
"column": 34
},
"identifierName": "root"
},
"name": "root"
}
],
"body": {
"type": "StringLiteral",
"start": 10929,
"end": 10938,
"loc": {
"start": {
"line": 357,
"column": 38
},
"end": {
"line": 357,
"column": 47
}
},
"extra": {
"rawValue": "regular",
"raw": "\"regular\""
},
"value": "regular"
}
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 10947,
"end": 11158,
"loc": {
"start": {
"line": 360,
"column": 0
},
"end": {
"line": 364,
"column": 2
}
},
"expression": {
"type": "AssignmentExpression",
"start": 10947,
"end": 11157,
"loc": {
"start": {
"line": 360,
"column": 0
},
"end": {
"line": 364,
"column": 1
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 10947,
"end": 10983,
"loc": {
"start": {
"line": 360,
"column": 0
},
"end": {
"line": 360,
"column": 36
}
},
"object": {
"type": "Identifier",
"start": 10947,
"end": 10963,
"loc": {
"start": {
"line": 360,
"column": 0
},
"end": {
"line": 360,
"column": 16
},
"identifierName": "MetaBeltBuilding"
},
"name": "MetaBeltBuilding"
},
"property": {
"type": "Identifier",
"start": 10964,
"end": 10983,
"loc": {
"start": {
"line": 360,
"column": 17
},
"end": {
"line": 360,
"column": 36
},
"identifierName": "componentVariations"
},
"name": "componentVariations"
},
"computed": false
},
"right": {
"type": "ObjectExpression",
"start": 10986,
"end": 11157,
"loc": {
"start": {
"line": 360,
"column": 39
},
"end": {
"line": 364,
"column": 1
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 10993,
"end": 11153,
"loc": {
"start": {
"line": 361,
"column": 4
},
"end": {
"line": 363,
"column": 5
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "Identifier",
"start": 10994,
"end": 11016,
"loc": {
"start": {
"line": 361,
"column": 5
},
"end": {
"line": 361,
"column": 27
},
"identifierName": "defaultBuildingVariant"
},
"name": "defaultBuildingVariant"
},
"value": {
"type": "ArrowFunctionExpression",
"start": 11019,
"end": 11153,
"loc": {
"start": {
"line": 361,
"column": 30
},
"end": {
"line": 363,
"column": 5
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 11020,
"end": 11026,
"loc": {
"start": {
"line": 361,
"column": 31
},
"end": {
"line": 361,
"column": 37
},
"identifierName": "entity"
},
"name": "entity"
},
{
"type": "Identifier",
"start": 11028,
"end": 11043,
"loc": {
"start": {
"line": 361,
"column": 39
},
"end": {
"line": 361,
"column": 54
},
"identifierName": "rotationVariant"
},
"name": "rotationVariant"
}
],
"body": {
"type": "BlockStatement",
"start": 11048,
"end": 11153,
"loc": {
"start": {
"line": 361,
"column": 59
},
"end": {
"line": 363,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 11059,
"end": 11146,
"loc": {
"start": {
"line": 362,
"column": 8
},
"end": {
"line": 362,
"column": 95
}
},
"expression": {
"type": "AssignmentExpression",
"start": 11059,
"end": 11145,
"loc": {
"start": {
"line": 362,
"column": 8
},
"end": {
"line": 362,
"column": 94
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 11059,
"end": 11091,
"loc": {
"start": {
"line": 362,
"column": 8
},
"end": {
"line": 362,
"column": 40
}
},
"object": {
"type": "MemberExpression",
"start": 11059,
"end": 11081,
"loc": {
"start": {
"line": 362,
"column": 8
},
"end": {
"line": 362,
"column": 30
}
},
"object": {
"type": "MemberExpression",
"start": 11059,
"end": 11076,
"loc": {
"start": {
"line": 362,
"column": 8
},
"end": {
"line": 362,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 11059,
"end": 11065,
"loc": {
"start": {
"line": 362,
"column": 8
},
"end": {
"line": 362,
"column": 14
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 11066,
"end": 11076,
"loc": {
"start": {
"line": 362,
"column": 15
},
"end": {
"line": 362,
"column": 25
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 11077,
"end": 11081,
"loc": {
"start": {
"line": 362,
"column": 26
},
"end": {
"line": 362,
"column": 30
},
"identifierName": "Belt"
},
"name": "Belt"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 11082,
"end": 11091,
"loc": {
"start": {
"line": 362,
"column": 31
},
"end": {
"line": 362,
"column": 40
},
"identifierName": "direction"
},
"name": "direction"
},
"computed": false
},
"right": {
"type": "MemberExpression",
"start": 11094,
"end": 11145,
"loc": {
"start": {
"line": 362,
"column": 43
},
"end": {
"line": 362,
"column": 94
}
},
"object": {
"type": "MemberExpression",
"start": 11094,
"end": 11128,
"loc": {
"start": {
"line": 362,
"column": 43
},
"end": {
"line": 362,
"column": 77
}
},
"object": {
"type": "Identifier",
"start": 11094,
"end": 11110,
"loc": {
"start": {
"line": 362,
"column": 43
},
"end": {
"line": 362,
"column": 59
},
"identifierName": "MetaBeltBuilding"
},
"name": "MetaBeltBuilding"
},
"property": {
"type": "Identifier",
"start": 11111,
"end": 11128,
"loc": {
"start": {
"line": 362,
"column": 60
},
"end": {
"line": 362,
"column": 77
},
"identifierName": "variantToRotation"
},
"name": "variantToRotation"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 11129,
"end": 11144,
"loc": {
"start": {
"line": 362,
"column": 78
},
"end": {
"line": 362,
"column": 93
},
"identifierName": "rotationVariant"
},
"name": "rotationVariant"
},
"computed": true
}
}
}
],
"directives": []
}
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 11162,
"end": 11452,
"loc": {
"start": {
"line": 366,
"column": 0
},
"end": {
"line": 374,
"column": 2
}
},
"expression": {
"type": "AssignmentExpression",
"start": 11162,
"end": 11451,
"loc": {
"start": {
"line": 366,
"column": 0
},
"end": {
"line": 374,
"column": 1
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 11162,
"end": 11199,
"loc": {
"start": {
"line": 366,
"column": 0
},
"end": {
"line": 366,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 11162,
"end": 11178,
"loc": {
"start": {
"line": 366,
"column": 0
},
"end": {
"line": 366,
"column": 16
},
"identifierName": "MetaBeltBuilding"
},
"name": "MetaBeltBuilding"
},
"property": {
"type": "Identifier",
"start": 11179,
"end": 11199,
"loc": {
"start": {
"line": 366,
"column": 17
},
"end": {
"line": 366,
"column": 37
},
"identifierName": "additionalStatistics"
},
"name": "additionalStatistics"
},
"computed": false
},
"right": {
"type": "ObjectExpression",
"start": 11202,
"end": 11451,
"loc": {
"start": {
"line": 366,
"column": 40
},
"end": {
"line": 374,
"column": 1
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 11294,
"end": 11447,
"loc": {
"start": {
"line": 371,
"column": 4
},
"end": {
"line": 373,
"column": 5
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "Identifier",
"start": 11295,
"end": 11317,
"loc": {
"start": {
"line": 371,
"column": 5
},
"end": {
"line": 371,
"column": 27
},
"identifierName": "defaultBuildingVariant"
},
"name": "defaultBuildingVariant",
"leadingComments": null
},
"value": {
"type": "ArrowFunctionExpression",
"start": 11320,
"end": 11447,
"loc": {
"start": {
"line": 371,
"column": 30
},
"end": {
"line": 373,
"column": 5
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [
{
"type": "Identifier",
"start": 11320,
"end": 11324,
"loc": {
"start": {
"line": 371,
"column": 30
},
"end": {
"line": 371,
"column": 34
},
"identifierName": "root"
},
"name": "root"
}
],
"body": {
"type": "ArrayExpression",
"start": 11328,
"end": 11447,
"loc": {
"start": {
"line": 371,
"column": 38
},
"end": {
"line": 373,
"column": 5
}
},
"elements": [
{
"type": "ArrayExpression",
"start": 11339,
"end": 11439,
"loc": {
"start": {
"line": 372,
"column": 8
},
"end": {
"line": 372,
"column": 108
}
},
"elements": [
{
"type": "MemberExpression",
"start": 11340,
"end": 11382,
"loc": {
"start": {
"line": 372,
"column": 9
},
"end": {
"line": 372,
"column": 51
}
},
"object": {
"type": "MemberExpression",
"start": 11340,
"end": 11376,
"loc": {
"start": {
"line": 372,
"column": 9
},
"end": {
"line": 372,
"column": 45
}
},
"object": {
"type": "MemberExpression",
"start": 11340,
"end": 11366,
"loc": {
"start": {
"line": 372,
"column": 9
},
"end": {
"line": 372,
"column": 35
}
},
"object": {
"type": "MemberExpression",
"start": 11340,
"end": 11348,
"loc": {
"start": {
"line": 372,
"column": 9
},
"end": {
"line": 372,
"column": 17
}
},
"object": {
"type": "Identifier",
"start": 11340,
"end": 11341,
"loc": {
"start": {
"line": 372,
"column": 9
},
"end": {
"line": 372,
"column": 10
},
"identifierName": "T"
},
"name": "T"
},
"property": {
"type": "Identifier",
"start": 11342,
"end": 11348,
"loc": {
"start": {
"line": 372,
"column": 11
},
"end": {
"line": 372,
"column": 17
},
"identifierName": "ingame"
},
"name": "ingame"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 11349,
"end": 11366,
"loc": {
"start": {
"line": 372,
"column": 18
},
"end": {
"line": 372,
"column": 35
},
"identifierName": "buildingPlacement"
},
"name": "buildingPlacement"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 11367,
"end": 11376,
"loc": {
"start": {
"line": 372,
"column": 36
},
"end": {
"line": 372,
"column": 45
},
"identifierName": "infoTexts"
},
"name": "infoTexts"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 11377,
"end": 11382,
"loc": {
"start": {
"line": 372,
"column": 46
},
"end": {
"line": 372,
"column": 51
},
"identifierName": "speed"
},
"name": "speed"
},
"computed": false
},
{
"type": "CallExpression",
"start": 11384,
"end": 11438,
"loc": {
"start": {
"line": 372,
"column": 53
},
"end": {
"line": 372,
"column": 107
}
},
"callee": {
"type": "Identifier",
"start": 11384,
"end": 11404,
"loc": {
"start": {
"line": 372,
"column": 53
},
"end": {
"line": 372,
"column": 73
},
"identifierName": "formatItemsPerSecond"
},
"name": "formatItemsPerSecond"
},
"arguments": [
{
"type": "CallExpression",
"start": 11405,
"end": 11437,
"loc": {
"start": {
"line": 372,
"column": 74
},
"end": {
"line": 372,
"column": 106
}
},
"callee": {
"type": "MemberExpression",
"start": 11405,
"end": 11435,
"loc": {
"start": {
"line": 372,
"column": 74
},
"end": {
"line": 372,
"column": 104
}
},
"object": {
"type": "MemberExpression",
"start": 11405,
"end": 11418,
"loc": {
"start": {
"line": 372,
"column": 74
},
"end": {
"line": 372,
"column": 87
}
},
"object": {
"type": "Identifier",
"start": 11405,
"end": 11409,
"loc": {
"start": {
"line": 372,
"column": 74
},
"end": {
"line": 372,
"column": 78
},
"identifierName": "root"
},
"name": "root"
},
"property": {
"type": "Identifier",
"start": 11410,
"end": 11418,
"loc": {
"start": {
"line": 372,
"column": 79
},
"end": {
"line": 372,
"column": 87
},
"identifierName": "hubGoals"
},
"name": "hubGoals"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 11419,
"end": 11435,
"loc": {
"start": {
"line": 372,
"column": 88
},
"end": {
"line": 372,
"column": 104
},
"identifierName": "getBeltBaseSpeed"
},
"name": "getBeltBaseSpeed"
},
"computed": false
},
"arguments": []
}
]
}
]
}
]
}
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {*} root\r\n * @returns {Array<[string, string]>}\r\n ",
"start": 11209,
"end": 11288,
"loc": {
"start": {
"line": 367,
"column": 4
},
"end": {
"line": 370,
"column": 7
}
}
}
]
}
]
}
}
}
],
"directives": []
},
"comments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 649,
"end": 693,
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 19,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {GameRoot} root\r\n ",
"start": 805,
"end": 848,
"loc": {
"start": {
"line": 24,
"column": 4
},
"end": {
"line": 26,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 950,
"end": 994,
"loc": {
"start": {
"line": 31,
"column": 4
},
"end": {
"line": 33,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 1097,
"end": 1141,
"loc": {
"start": {
"line": 38,
"column": 4
},
"end": {
"line": 40,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {GameRoot} root\r\n ",
"start": 1246,
"end": 1289,
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 47,
"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": 1579,
"end": 1726,
"loc": {
"start": {
"line": 59,
"column": 4
},
"end": {
"line": 64,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " @ts-ignore",
"start": 1767,
"end": 1780,
"loc": {
"start": {
"line": 66,
"column": 8
},
"end": {
"line": 66,
"column": 21
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 1859,
"end": 1903,
"loc": {
"start": {
"line": 70,
"column": 4
},
"end": {
"line": 72,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {GameRoot} root\r\n * @param {string} variant\r\n * @returns {Array<[string, string]>}\r\n ",
"start": 2004,
"end": 2122,
"loc": {
"start": {
"line": 77,
"column": 4
},
"end": {
"line": 81,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 2354,
"end": 2398,
"loc": {
"start": {
"line": 90,
"column": 4
},
"end": {
"line": 92,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {number} rotation\r\n * @param {number} rotationVariant\r\n * @param {string} variant\r\n * @param {Entity} entity\r\n * @returns {Array<number>|null}\r\n ",
"start": 2507,
"end": 2693,
"loc": {
"start": {
"line": 97,
"column": 4
},
"end": {
"line": 103,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 3016,
"end": 3060,
"loc": {
"start": {
"line": 112,
"column": 4
},
"end": {
"line": 114,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Creates the entity at the given location\r\n * @param {Entity} entity\r\n ",
"start": 5005,
"end": 5097,
"loc": {
"start": {
"line": 181,
"column": 4
},
"end": {
"line": 184,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {Entity} entity\r\n * @param {number} rotationVariant\r\n * @param {string} variant\r\n ",
"start": 5228,
"end": 5343,
"loc": {
"start": {
"line": 189,
"column": 4
},
"end": {
"line": 193,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Should compute the optimal rotation variant on the given tile\r\n * @param {object} param0\r\n * @param {GameRoot} param0.root\r\n * @param {Vector} param0.tile\r\n * @param {number} param0.rotation\r\n * @param {string} param0.variant\r\n * @param {Layer} param0.layer\r\n * @return {{ rotation: number, rotationVariant: number, connectedEntities?: Array<Entity> }}\r\n ",
"start": 5495,
"end": 5896,
"loc": {
"start": {
"line": 198,
"column": 4
},
"end": {
"line": 207,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " Check all ejectors",
"start": 6623,
"end": 6644,
"loc": {
"start": {
"line": 224,
"column": 8
},
"end": {
"line": 224,
"column": 29
}
}
},
{
"type": "CommentLine",
"value": " Check all acceptors",
"start": 7090,
"end": 7112,
"loc": {
"start": {
"line": 237,
"column": 8
},
"end": {
"line": 237,
"column": 30
}
}
},
{
"type": "CommentLine",
"value": " Soo .. if there is any ejector below us we always prioritize",
"start": 7571,
"end": 7634,
"loc": {
"start": {
"line": 249,
"column": 8
},
"end": {
"line": 249,
"column": 71
}
}
},
{
"type": "CommentLine",
"value": " this ejector",
"start": 7644,
"end": 7659,
"loc": {
"start": {
"line": 250,
"column": 8
},
"end": {
"line": 250,
"column": 23
}
}
},
{
"type": "CommentLine",
"value": " When something ejects to us from the left and nothing from the right,",
"start": 7707,
"end": 7779,
"loc": {
"start": {
"line": 252,
"column": 12
},
"end": {
"line": 252,
"column": 84
}
}
},
{
"type": "CommentLine",
"value": " do a curve from the left to the top",
"start": 7793,
"end": 7831,
"loc": {
"start": {
"line": 253,
"column": 12
},
"end": {
"line": 253,
"column": 50
}
}
},
{
"type": "CommentLine",
"value": " When something ejects to us from the right and nothing from the left,",
"start": 8061,
"end": 8133,
"loc": {
"start": {
"line": 262,
"column": 12
},
"end": {
"line": 262,
"column": 84
}
}
},
{
"type": "CommentLine",
"value": " do a curve from the right to the top",
"start": 8147,
"end": 8186,
"loc": {
"start": {
"line": 263,
"column": 12
},
"end": {
"line": 263,
"column": 51
}
}
},
{
"type": "CommentLine",
"value": " When there is a top acceptor, ignore sides",
"start": 8420,
"end": 8465,
"loc": {
"start": {
"line": 272,
"column": 8
},
"end": {
"line": 272,
"column": 53
}
}
},
{
"type": "CommentLine",
"value": " NOTICE: This makes the belt prefer side turns *way* too much!",
"start": 8475,
"end": 8539,
"loc": {
"start": {
"line": 273,
"column": 8
},
"end": {
"line": 273,
"column": 72
}
}
},
{
"type": "CommentLine",
"value": " When there is an acceptor to the right but no acceptor to the left,",
"start": 8585,
"end": 8655,
"loc": {
"start": {
"line": 275,
"column": 12
},
"end": {
"line": 275,
"column": 82
}
}
},
{
"type": "CommentLine",
"value": " do a turn to the right",
"start": 8669,
"end": 8694,
"loc": {
"start": {
"line": 276,
"column": 12
},
"end": {
"line": 276,
"column": 37
}
}
},
{
"type": "CommentLine",
"value": " When there is an acceptor to the left but no acceptor to the right,",
"start": 8900,
"end": 8970,
"loc": {
"start": {
"line": 284,
"column": 12
},
"end": {
"line": 284,
"column": 82
}
}
},
{
"type": "CommentLine",
"value": " do a turn to the left",
"start": 8984,
"end": 9008,
"loc": {
"start": {
"line": 285,
"column": 12
},
"end": {
"line": 285,
"column": 36
}
}
},
{
"type": "CommentLine",
"value": " updated later",
"start": 9467,
"end": 9483,
"loc": {
"start": {
"line": 305,
"column": 42
},
"end": {
"line": 305,
"column": 58
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {*} root\r\n * @returns {Array<[string, string]>}\r\n ",
"start": 11209,
"end": 11288,
"loc": {
"start": {
"line": 367,
"column": 4
},
"end": {
"line": 370,
"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": "Loader",
"start": 9,
"end": 15,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 15
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 16,
"end": 17,
"loc": {
"start": {
"line": 1,
"column": 16
},
"end": {
"line": 1,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 18,
"end": 22,
"loc": {
"start": {
"line": 1,
"column": 18
},
"end": {
"line": 1,
"column": 22
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../core/loader",
"start": 23,
"end": 42,
"loc": {
"start": {
"line": 1,
"column": 23
},
"end": {
"line": 1,
"column": 42
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 42,
"end": 43,
"loc": {
"start": {
"line": 1,
"column": 42
},
"end": {
"line": 1,
"column": 43
}
}
},
{
"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": 45,
"end": 51,
"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": 52,
"end": 53,
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "formatItemsPerSecond",
"start": 54,
"end": 74,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 29
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 74,
"end": 75,
"loc": {
"start": {
"line": 2,
"column": 29
},
"end": {
"line": 2,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "generateMatrixRotations",
"start": 76,
"end": 99,
"loc": {
"start": {
"line": 2,
"column": 31
},
"end": {
"line": 2,
"column": 54
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 100,
"end": 101,
"loc": {
"start": {
"line": 2,
"column": 55
},
"end": {
"line": 2,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 102,
"end": 106,
"loc": {
"start": {
"line": 2,
"column": 57
},
"end": {
"line": 2,
"column": 61
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../core/utils",
"start": 107,
"end": 125,
"loc": {
"start": {
"line": 2,
"column": 62
},
"end": {
"line": 2,
"column": 80
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 125,
"end": 126,
"loc": {
"start": {
"line": 2,
"column": 80
},
"end": {
"line": 2,
"column": 81
}
}
},
{
"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": 128,
"end": 134,
"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": 135,
"end": 136,
"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": "enumAngleToDirection",
"start": 137,
"end": 157,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 29
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 157,
"end": 158,
"loc": {
"start": {
"line": 3,
"column": 29
},
"end": {
"line": 3,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumDirection",
"start": 159,
"end": 172,
"loc": {
"start": {
"line": 3,
"column": 31
},
"end": {
"line": 3,
"column": 44
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 172,
"end": 173,
"loc": {
"start": {
"line": 3,
"column": 44
},
"end": {
"line": 3,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Vector",
"start": 174,
"end": 180,
"loc": {
"start": {
"line": 3,
"column": 46
},
"end": {
"line": 3,
"column": 52
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 181,
"end": 182,
"loc": {
"start": {
"line": 3,
"column": 53
},
"end": {
"line": 3,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 183,
"end": 187,
"loc": {
"start": {
"line": 3,
"column": 55
},
"end": {
"line": 3,
"column": 59
}
}
},
{
"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": 188,
"end": 207,
"loc": {
"start": {
"line": 3,
"column": 60
},
"end": {
"line": 3,
"column": 79
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 207,
"end": 208,
"loc": {
"start": {
"line": 3,
"column": 79
},
"end": {
"line": 3,
"column": 80
}
}
},
{
"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": 210,
"end": 216,
"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": 217,
"end": 218,
"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": "SOUNDS",
"start": 219,
"end": 225,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 15
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 226,
"end": 227,
"loc": {
"start": {
"line": 4,
"column": 16
},
"end": {
"line": 4,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 228,
"end": 232,
"loc": {
"start": {
"line": 4,
"column": 18
},
"end": {
"line": 4,
"column": 22
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../platform/sound",
"start": 233,
"end": 255,
"loc": {
"start": {
"line": 4,
"column": 23
},
"end": {
"line": 4,
"column": 45
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 255,
"end": 256,
"loc": {
"start": {
"line": 4,
"column": 45
},
"end": {
"line": 4,
"column": 46
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 258,
"end": 264,
"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": 265,
"end": 266,
"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": "T",
"start": 267,
"end": 268,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 10
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 269,
"end": 270,
"loc": {
"start": {
"line": 5,
"column": 11
},
"end": {
"line": 5,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 271,
"end": 275,
"loc": {
"start": {
"line": 5,
"column": 13
},
"end": {
"line": 5,
"column": 17
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../translations",
"start": 276,
"end": 296,
"loc": {
"start": {
"line": 5,
"column": 18
},
"end": {
"line": 5,
"column": 38
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 296,
"end": 297,
"loc": {
"start": {
"line": 5,
"column": 38
},
"end": {
"line": 5,
"column": 39
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 299,
"end": 305,
"loc": {
"start": {
"line": 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": 306,
"end": 307,
"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": "BeltComponent",
"start": 308,
"end": 321,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 22
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 322,
"end": 323,
"loc": {
"start": {
"line": 6,
"column": 23
},
"end": {
"line": 6,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 324,
"end": 328,
"loc": {
"start": {
"line": 6,
"column": 25
},
"end": {
"line": 6,
"column": 29
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../components/belt",
"start": 329,
"end": 349,
"loc": {
"start": {
"line": 6,
"column": 30
},
"end": {
"line": 6,
"column": 50
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 349,
"end": 350,
"loc": {
"start": {
"line": 6,
"column": 50
},
"end": {
"line": 6,
"column": 51
}
}
},
{
"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": 352,
"end": 358,
"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": 359,
"end": 360,
"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": "Entity",
"start": 361,
"end": 367,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 15
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 368,
"end": 369,
"loc": {
"start": {
"line": 7,
"column": 16
},
"end": {
"line": 7,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 370,
"end": 374,
"loc": {
"start": {
"line": 7,
"column": 18
},
"end": {
"line": 7,
"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": 375,
"end": 386,
"loc": {
"start": {
"line": 7,
"column": 23
},
"end": {
"line": 7,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 386,
"end": 387,
"loc": {
"start": {
"line": 7,
"column": 34
},
"end": {
"line": 7,
"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": 389,
"end": 395,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 8,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 396,
"end": 397,
"loc": {
"start": {
"line": 8,
"column": 7
},
"end": {
"line": 8,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "defaultBuildingVariant",
"start": 398,
"end": 420,
"loc": {
"start": {
"line": 8,
"column": 9
},
"end": {
"line": 8,
"column": 31
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 420,
"end": 421,
"loc": {
"start": {
"line": 8,
"column": 31
},
"end": {
"line": 8,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaBuilding",
"start": 422,
"end": 434,
"loc": {
"start": {
"line": 8,
"column": 33
},
"end": {
"line": 8,
"column": 45
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 435,
"end": 436,
"loc": {
"start": {
"line": 8,
"column": 46
},
"end": {
"line": 8,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 437,
"end": 441,
"loc": {
"start": {
"line": 8,
"column": 48
},
"end": {
"line": 8,
"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": 442,
"end": 460,
"loc": {
"start": {
"line": 8,
"column": 53
},
"end": {
"line": 8,
"column": 71
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 460,
"end": 461,
"loc": {
"start": {
"line": 8,
"column": 71
},
"end": {
"line": 8,
"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": 463,
"end": 469,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 470,
"end": 471,
"loc": {
"start": {
"line": 9,
"column": 7
},
"end": {
"line": 9,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "GameRoot",
"start": 472,
"end": 480,
"loc": {
"start": {
"line": 9,
"column": 9
},
"end": {
"line": 9,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 481,
"end": 482,
"loc": {
"start": {
"line": 9,
"column": 18
},
"end": {
"line": 9,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 483,
"end": 487,
"loc": {
"start": {
"line": 9,
"column": 20
},
"end": {
"line": 9,
"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": 488,
"end": 497,
"loc": {
"start": {
"line": 9,
"column": 25
},
"end": {
"line": 9,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 497,
"end": 498,
"loc": {
"start": {
"line": 9,
"column": 34
},
"end": {
"line": 9,
"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": 500,
"end": 506,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 10,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 507,
"end": 508,
"loc": {
"start": {
"line": 10,
"column": 7
},
"end": {
"line": 10,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "THEME",
"start": 509,
"end": 514,
"loc": {
"start": {
"line": 10,
"column": 9
},
"end": {
"line": 10,
"column": 14
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 515,
"end": 516,
"loc": {
"start": {
"line": 10,
"column": 15
},
"end": {
"line": 10,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 517,
"end": 521,
"loc": {
"start": {
"line": 10,
"column": 17
},
"end": {
"line": 10,
"column": 21
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../theme",
"start": 522,
"end": 532,
"loc": {
"start": {
"line": 10,
"column": 22
},
"end": {
"line": 10,
"column": 32
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 532,
"end": 533,
"loc": {
"start": {
"line": 10,
"column": 32
},
"end": {
"line": 10,
"column": 33
}
}
},
{
"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": 537,
"end": 543,
"loc": {
"start": {
"line": 12,
"column": 0
},
"end": {
"line": 12,
"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": 544,
"end": 549,
"loc": {
"start": {
"line": 12,
"column": 7
},
"end": {
"line": 12,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaBeltBuilding",
"start": 550,
"end": 566,
"loc": {
"start": {
"line": 12,
"column": 13
},
"end": {
"line": 12,
"column": 29
}
}
},
{
"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": 567,
"end": 574,
"loc": {
"start": {
"line": 12,
"column": 30
},
"end": {
"line": 12,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaBuilding",
"start": 575,
"end": 587,
"loc": {
"start": {
"line": 12,
"column": 38
},
"end": {
"line": 12,
"column": 50
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 588,
"end": 589,
"loc": {
"start": {
"line": 12,
"column": 51
},
"end": {
"line": 12,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 595,
"end": 606,
"loc": {
"start": {
"line": 13,
"column": 4
},
"end": {
"line": 13,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 606,
"end": 607,
"loc": {
"start": {
"line": 13,
"column": 15
},
"end": {
"line": 13,
"column": 16
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 607,
"end": 608,
"loc": {
"start": {
"line": 13,
"column": 16
},
"end": {
"line": 13,
"column": 17
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 609,
"end": 610,
"loc": {
"start": {
"line": 13,
"column": 18
},
"end": {
"line": 13,
"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": 620,
"end": 625,
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 625,
"end": 626,
"loc": {
"start": {
"line": 14,
"column": 13
},
"end": {
"line": 14,
"column": 14
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "belt",
"start": 626,
"end": 632,
"loc": {
"start": {
"line": 14,
"column": 14
},
"end": {
"line": 14,
"column": 20
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 632,
"end": 633,
"loc": {
"start": {
"line": 14,
"column": 20
},
"end": {
"line": 14,
"column": 21
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 633,
"end": 634,
"loc": {
"start": {
"line": 14,
"column": 21
},
"end": {
"line": 14,
"column": 22
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 640,
"end": 641,
"loc": {
"start": {
"line": 15,
"column": 4
},
"end": {
"line": 15,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 649,
"end": 693,
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 19,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getSilhouetteColor",
"start": 699,
"end": 717,
"loc": {
"start": {
"line": 20,
"column": 4
},
"end": {
"line": 20,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 717,
"end": 718,
"loc": {
"start": {
"line": 20,
"column": 22
},
"end": {
"line": 20,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 718,
"end": 725,
"loc": {
"start": {
"line": 20,
"column": 23
},
"end": {
"line": 20,
"column": 30
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 725,
"end": 726,
"loc": {
"start": {
"line": 20,
"column": 30
},
"end": {
"line": 20,
"column": 31
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 727,
"end": 728,
"loc": {
"start": {
"line": 20,
"column": 32
},
"end": {
"line": 20,
"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": 738,
"end": 744,
"loc": {
"start": {
"line": 21,
"column": 8
},
"end": {
"line": 21,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaBeltBuilding",
"start": 745,
"end": 761,
"loc": {
"start": {
"line": 21,
"column": 15
},
"end": {
"line": 21,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 761,
"end": 762,
"loc": {
"start": {
"line": 21,
"column": 31
},
"end": {
"line": 21,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "silhouetteColors",
"start": 762,
"end": 778,
"loc": {
"start": {
"line": 21,
"column": 32
},
"end": {
"line": 21,
"column": 48
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 778,
"end": 779,
"loc": {
"start": {
"line": 21,
"column": 48
},
"end": {
"line": 21,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 779,
"end": 786,
"loc": {
"start": {
"line": 21,
"column": 49
},
"end": {
"line": 21,
"column": 56
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 786,
"end": 787,
"loc": {
"start": {
"line": 21,
"column": 56
},
"end": {
"line": 21,
"column": 57
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 787,
"end": 788,
"loc": {
"start": {
"line": 21,
"column": 57
},
"end": {
"line": 21,
"column": 58
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 788,
"end": 789,
"loc": {
"start": {
"line": 21,
"column": 58
},
"end": {
"line": 21,
"column": 59
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 789,
"end": 790,
"loc": {
"start": {
"line": 21,
"column": 59
},
"end": {
"line": 21,
"column": 60
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 796,
"end": 797,
"loc": {
"start": {
"line": 22,
"column": 4
},
"end": {
"line": 22,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {GameRoot} root\r\n ",
"start": 805,
"end": 848,
"loc": {
"start": {
"line": 24,
"column": 4
},
"end": {
"line": 26,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getIsUnlocked",
"start": 854,
"end": 867,
"loc": {
"start": {
"line": 27,
"column": 4
},
"end": {
"line": 27,
"column": 17
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 867,
"end": 868,
"loc": {
"start": {
"line": 27,
"column": 17
},
"end": {
"line": 27,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 868,
"end": 872,
"loc": {
"start": {
"line": 27,
"column": 18
},
"end": {
"line": 27,
"column": 22
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 872,
"end": 873,
"loc": {
"start": {
"line": 27,
"column": 22
},
"end": {
"line": 27,
"column": 23
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 874,
"end": 875,
"loc": {
"start": {
"line": 27,
"column": 24
},
"end": {
"line": 27,
"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": 885,
"end": 891,
"loc": {
"start": {
"line": 28,
"column": 8
},
"end": {
"line": 28,
"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": 892,
"end": 896,
"loc": {
"start": {
"line": 28,
"column": 15
},
"end": {
"line": 28,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 896,
"end": 897,
"loc": {
"start": {
"line": 28,
"column": 19
},
"end": {
"line": 28,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getAvailableVariants",
"start": 897,
"end": 917,
"loc": {
"start": {
"line": 28,
"column": 20
},
"end": {
"line": 28,
"column": 40
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 917,
"end": 918,
"loc": {
"start": {
"line": 28,
"column": 40
},
"end": {
"line": 28,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 918,
"end": 922,
"loc": {
"start": {
"line": 28,
"column": 41
},
"end": {
"line": 28,
"column": 45
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 922,
"end": 923,
"loc": {
"start": {
"line": 28,
"column": 45
},
"end": {
"line": 28,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 923,
"end": 924,
"loc": {
"start": {
"line": 28,
"column": 46
},
"end": {
"line": 28,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 924,
"end": 930,
"loc": {
"start": {
"line": 28,
"column": 47
},
"end": {
"line": 28,
"column": 53
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": ">",
"start": 931,
"end": 932,
"loc": {
"start": {
"line": 28,
"column": 54
},
"end": {
"line": 28,
"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": 933,
"end": 934,
"loc": {
"start": {
"line": 28,
"column": 56
},
"end": {
"line": 28,
"column": 57
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 934,
"end": 935,
"loc": {
"start": {
"line": 28,
"column": 57
},
"end": {
"line": 28,
"column": 58
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 941,
"end": 942,
"loc": {
"start": {
"line": 29,
"column": 4
},
"end": {
"line": 29,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 950,
"end": 994,
"loc": {
"start": {
"line": 31,
"column": 4
},
"end": {
"line": 33,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getIsRemovable",
"start": 1000,
"end": 1014,
"loc": {
"start": {
"line": 34,
"column": 4
},
"end": {
"line": 34,
"column": 18
}
}
},
{
"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": 34,
"column": 18
},
"end": {
"line": 34,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 1015,
"end": 1022,
"loc": {
"start": {
"line": 34,
"column": 19
},
"end": {
"line": 34,
"column": 26
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1022,
"end": 1023,
"loc": {
"start": {
"line": 34,
"column": 26
},
"end": {
"line": 34,
"column": 27
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1024,
"end": 1025,
"loc": {
"start": {
"line": 34,
"column": 28
},
"end": {
"line": 34,
"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": 1035,
"end": 1041,
"loc": {
"start": {
"line": 35,
"column": 8
},
"end": {
"line": 35,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaBeltBuilding",
"start": 1042,
"end": 1058,
"loc": {
"start": {
"line": 35,
"column": 15
},
"end": {
"line": 35,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1058,
"end": 1059,
"loc": {
"start": {
"line": 35,
"column": 31
},
"end": {
"line": 35,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isRemovable",
"start": 1059,
"end": 1070,
"loc": {
"start": {
"line": 35,
"column": 32
},
"end": {
"line": 35,
"column": 43
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1070,
"end": 1071,
"loc": {
"start": {
"line": 35,
"column": 43
},
"end": {
"line": 35,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 1071,
"end": 1078,
"loc": {
"start": {
"line": 35,
"column": 44
},
"end": {
"line": 35,
"column": 51
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1078,
"end": 1079,
"loc": {
"start": {
"line": 35,
"column": 51
},
"end": {
"line": 35,
"column": 52
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1079,
"end": 1080,
"loc": {
"start": {
"line": 35,
"column": 52
},
"end": {
"line": 35,
"column": 53
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1080,
"end": 1081,
"loc": {
"start": {
"line": 35,
"column": 53
},
"end": {
"line": 35,
"column": 54
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1081,
"end": 1082,
"loc": {
"start": {
"line": 35,
"column": 54
},
"end": {
"line": 35,
"column": 55
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1088,
"end": 1089,
"loc": {
"start": {
"line": 36,
"column": 4
},
"end": {
"line": 36,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 1097,
"end": 1141,
"loc": {
"start": {
"line": 38,
"column": 4
},
"end": {
"line": 40,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getIsRotateable",
"start": 1147,
"end": 1162,
"loc": {
"start": {
"line": 41,
"column": 4
},
"end": {
"line": 41,
"column": 19
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1162,
"end": 1163,
"loc": {
"start": {
"line": 41,
"column": 19
},
"end": {
"line": 41,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 1163,
"end": 1170,
"loc": {
"start": {
"line": 41,
"column": 20
},
"end": {
"line": 41,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1170,
"end": 1171,
"loc": {
"start": {
"line": 41,
"column": 27
},
"end": {
"line": 41,
"column": 28
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1172,
"end": 1173,
"loc": {
"start": {
"line": 41,
"column": 29
},
"end": {
"line": 41,
"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": 1183,
"end": 1189,
"loc": {
"start": {
"line": 42,
"column": 8
},
"end": {
"line": 42,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaBeltBuilding",
"start": 1190,
"end": 1206,
"loc": {
"start": {
"line": 42,
"column": 15
},
"end": {
"line": 42,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1206,
"end": 1207,
"loc": {
"start": {
"line": 42,
"column": 31
},
"end": {
"line": 42,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isRotateable",
"start": 1207,
"end": 1219,
"loc": {
"start": {
"line": 42,
"column": 32
},
"end": {
"line": 42,
"column": 44
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1219,
"end": 1220,
"loc": {
"start": {
"line": 42,
"column": 44
},
"end": {
"line": 42,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 1220,
"end": 1227,
"loc": {
"start": {
"line": 42,
"column": 45
},
"end": {
"line": 42,
"column": 52
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1227,
"end": 1228,
"loc": {
"start": {
"line": 42,
"column": 52
},
"end": {
"line": 42,
"column": 53
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1228,
"end": 1229,
"loc": {
"start": {
"line": 42,
"column": 53
},
"end": {
"line": 42,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1229,
"end": 1230,
"loc": {
"start": {
"line": 42,
"column": 54
},
"end": {
"line": 42,
"column": 55
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1230,
"end": 1231,
"loc": {
"start": {
"line": 42,
"column": 55
},
"end": {
"line": 42,
"column": 56
}
}
},
{
"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": 43,
"column": 4
},
"end": {
"line": 43,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {GameRoot} root\r\n ",
"start": 1246,
"end": 1289,
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 47,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getAvailableVariants",
"start": 1295,
"end": 1315,
"loc": {
"start": {
"line": 48,
"column": 4
},
"end": {
"line": 48,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1315,
"end": 1316,
"loc": {
"start": {
"line": 48,
"column": 24
},
"end": {
"line": 48,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 1316,
"end": 1320,
"loc": {
"start": {
"line": 48,
"column": 25
},
"end": {
"line": 48,
"column": 29
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1320,
"end": 1321,
"loc": {
"start": {
"line": 48,
"column": 29
},
"end": {
"line": 48,
"column": 30
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1322,
"end": 1323,
"loc": {
"start": {
"line": 48,
"column": 31
},
"end": {
"line": 48,
"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": 1333,
"end": 1338,
"loc": {
"start": {
"line": 49,
"column": 8
},
"end": {
"line": 49,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variants",
"start": 1339,
"end": 1347,
"loc": {
"start": {
"line": 49,
"column": 14
},
"end": {
"line": 49,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1348,
"end": 1349,
"loc": {
"start": {
"line": 49,
"column": 23
},
"end": {
"line": 49,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaBeltBuilding",
"start": 1350,
"end": 1366,
"loc": {
"start": {
"line": 49,
"column": 25
},
"end": {
"line": 49,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1366,
"end": 1367,
"loc": {
"start": {
"line": 49,
"column": 41
},
"end": {
"line": 49,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "avaibleVariants",
"start": 1367,
"end": 1382,
"loc": {
"start": {
"line": 49,
"column": 42
},
"end": {
"line": 49,
"column": 57
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1382,
"end": 1383,
"loc": {
"start": {
"line": 49,
"column": 57
},
"end": {
"line": 49,
"column": 58
}
}
},
{
"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": 1395,
"end": 1398,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 51,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "available",
"start": 1399,
"end": 1408,
"loc": {
"start": {
"line": 51,
"column": 12
},
"end": {
"line": 51,
"column": 21
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1409,
"end": 1410,
"loc": {
"start": {
"line": 51,
"column": 22
},
"end": {
"line": 51,
"column": 23
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1411,
"end": 1412,
"loc": {
"start": {
"line": 51,
"column": 24
},
"end": {
"line": 51,
"column": 25
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1412,
"end": 1413,
"loc": {
"start": {
"line": 51,
"column": 25
},
"end": {
"line": 51,
"column": 26
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1413,
"end": 1414,
"loc": {
"start": {
"line": 51,
"column": 26
},
"end": {
"line": 51,
"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": 1424,
"end": 1427,
"loc": {
"start": {
"line": 52,
"column": 8
},
"end": {
"line": 52,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1428,
"end": 1429,
"loc": {
"start": {
"line": 52,
"column": 12
},
"end": {
"line": 52,
"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": 1429,
"end": 1434,
"loc": {
"start": {
"line": 52,
"column": 13
},
"end": {
"line": 52,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 1435,
"end": 1442,
"loc": {
"start": {
"line": 52,
"column": 19
},
"end": {
"line": 52,
"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": 1443,
"end": 1445,
"loc": {
"start": {
"line": 52,
"column": 27
},
"end": {
"line": 52,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variants",
"start": 1446,
"end": 1454,
"loc": {
"start": {
"line": 52,
"column": 30
},
"end": {
"line": 52,
"column": 38
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1454,
"end": 1455,
"loc": {
"start": {
"line": 52,
"column": 38
},
"end": {
"line": 52,
"column": 39
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1456,
"end": 1457,
"loc": {
"start": {
"line": 52,
"column": 40
},
"end": {
"line": 52,
"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": 1471,
"end": 1473,
"loc": {
"start": {
"line": 53,
"column": 12
},
"end": {
"line": 53,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1474,
"end": 1475,
"loc": {
"start": {
"line": 53,
"column": 15
},
"end": {
"line": 53,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variants",
"start": 1475,
"end": 1483,
"loc": {
"start": {
"line": 53,
"column": 16
},
"end": {
"line": 53,
"column": 24
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1483,
"end": 1484,
"loc": {
"start": {
"line": 53,
"column": 24
},
"end": {
"line": 53,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 1484,
"end": 1491,
"loc": {
"start": {
"line": 53,
"column": 25
},
"end": {
"line": 53,
"column": 32
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1491,
"end": 1492,
"loc": {
"start": {
"line": 53,
"column": 32
},
"end": {
"line": 53,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1492,
"end": 1493,
"loc": {
"start": {
"line": 53,
"column": 33
},
"end": {
"line": 53,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 1493,
"end": 1497,
"loc": {
"start": {
"line": 53,
"column": 34
},
"end": {
"line": 53,
"column": 38
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1497,
"end": 1498,
"loc": {
"start": {
"line": 53,
"column": 38
},
"end": {
"line": 53,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1498,
"end": 1499,
"loc": {
"start": {
"line": 53,
"column": 39
},
"end": {
"line": 53,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "available",
"start": 1500,
"end": 1509,
"loc": {
"start": {
"line": 53,
"column": 41
},
"end": {
"line": 53,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1509,
"end": 1510,
"loc": {
"start": {
"line": 53,
"column": 50
},
"end": {
"line": 53,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "push",
"start": 1510,
"end": 1514,
"loc": {
"start": {
"line": 53,
"column": 51
},
"end": {
"line": 53,
"column": 55
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1514,
"end": 1515,
"loc": {
"start": {
"line": 53,
"column": 55
},
"end": {
"line": 53,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 1515,
"end": 1522,
"loc": {
"start": {
"line": 53,
"column": 56
},
"end": {
"line": 53,
"column": 63
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1522,
"end": 1523,
"loc": {
"start": {
"line": 53,
"column": 63
},
"end": {
"line": 53,
"column": 64
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1523,
"end": 1524,
"loc": {
"start": {
"line": 53,
"column": 64
},
"end": {
"line": 53,
"column": 65
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1534,
"end": 1535,
"loc": {
"start": {
"line": 54,
"column": 8
},
"end": {
"line": 54,
"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": 1547,
"end": 1553,
"loc": {
"start": {
"line": 56,
"column": 8
},
"end": {
"line": 56,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "available",
"start": 1554,
"end": 1563,
"loc": {
"start": {
"line": 56,
"column": 15
},
"end": {
"line": 56,
"column": 24
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1563,
"end": 1564,
"loc": {
"start": {
"line": 56,
"column": 24
},
"end": {
"line": 56,
"column": 25
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1570,
"end": 1571,
"loc": {
"start": {
"line": 57,
"column": 4
},
"end": {
"line": 57,
"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": 1579,
"end": 1726,
"loc": {
"start": {
"line": 59,
"column": 4
},
"end": {
"line": 64,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getLayer",
"start": 1732,
"end": 1740,
"loc": {
"start": {
"line": 65,
"column": 4
},
"end": {
"line": 65,
"column": 12
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1740,
"end": 1741,
"loc": {
"start": {
"line": 65,
"column": 12
},
"end": {
"line": 65,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 1741,
"end": 1745,
"loc": {
"start": {
"line": 65,
"column": 13
},
"end": {
"line": 65,
"column": 17
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1745,
"end": 1746,
"loc": {
"start": {
"line": 65,
"column": 17
},
"end": {
"line": 65,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 1747,
"end": 1754,
"loc": {
"start": {
"line": 65,
"column": 19
},
"end": {
"line": 65,
"column": 26
}
}
},
{
"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": 65,
"column": 26
},
"end": {
"line": 65,
"column": 27
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1756,
"end": 1757,
"loc": {
"start": {
"line": 65,
"column": 28
},
"end": {
"line": 65,
"column": 29
}
}
},
{
"type": "CommentLine",
"value": " @ts-ignore",
"start": 1767,
"end": 1780,
"loc": {
"start": {
"line": 66,
"column": 8
},
"end": {
"line": 66,
"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": 1790,
"end": 1796,
"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": "MetaBeltBuilding",
"start": 1797,
"end": 1813,
"loc": {
"start": {
"line": 67,
"column": 15
},
"end": {
"line": 67,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1813,
"end": 1814,
"loc": {
"start": {
"line": 67,
"column": 31
},
"end": {
"line": 67,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "layerByVariant",
"start": 1814,
"end": 1828,
"loc": {
"start": {
"line": 67,
"column": 32
},
"end": {
"line": 67,
"column": 46
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1828,
"end": 1829,
"loc": {
"start": {
"line": 67,
"column": 46
},
"end": {
"line": 67,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 1829,
"end": 1836,
"loc": {
"start": {
"line": 67,
"column": 47
},
"end": {
"line": 67,
"column": 54
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1836,
"end": 1837,
"loc": {
"start": {
"line": 67,
"column": 54
},
"end": {
"line": 67,
"column": 55
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1837,
"end": 1838,
"loc": {
"start": {
"line": 67,
"column": 55
},
"end": {
"line": 67,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 1838,
"end": 1842,
"loc": {
"start": {
"line": 67,
"column": 56
},
"end": {
"line": 67,
"column": 60
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1842,
"end": 1843,
"loc": {
"start": {
"line": 67,
"column": 60
},
"end": {
"line": 67,
"column": 61
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1843,
"end": 1844,
"loc": {
"start": {
"line": 67,
"column": 61
},
"end": {
"line": 67,
"column": 62
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1850,
"end": 1851,
"loc": {
"start": {
"line": 68,
"column": 4
},
"end": {
"line": 68,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 1859,
"end": 1903,
"loc": {
"start": {
"line": 70,
"column": 4
},
"end": {
"line": 72,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getDimensions",
"start": 1909,
"end": 1922,
"loc": {
"start": {
"line": 73,
"column": 4
},
"end": {
"line": 73,
"column": 17
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1922,
"end": 1923,
"loc": {
"start": {
"line": 73,
"column": 17
},
"end": {
"line": 73,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 1923,
"end": 1930,
"loc": {
"start": {
"line": 73,
"column": 18
},
"end": {
"line": 73,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1930,
"end": 1931,
"loc": {
"start": {
"line": 73,
"column": 25
},
"end": {
"line": 73,
"column": 26
}
}
},
{
"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": 73,
"column": 27
},
"end": {
"line": 73,
"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": 1943,
"end": 1949,
"loc": {
"start": {
"line": 74,
"column": 8
},
"end": {
"line": 74,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaBeltBuilding",
"start": 1950,
"end": 1966,
"loc": {
"start": {
"line": 74,
"column": 15
},
"end": {
"line": 74,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1966,
"end": 1967,
"loc": {
"start": {
"line": 74,
"column": 31
},
"end": {
"line": 74,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dimensions",
"start": 1967,
"end": 1977,
"loc": {
"start": {
"line": 74,
"column": 32
},
"end": {
"line": 74,
"column": 42
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1977,
"end": 1978,
"loc": {
"start": {
"line": 74,
"column": 42
},
"end": {
"line": 74,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 1978,
"end": 1985,
"loc": {
"start": {
"line": 74,
"column": 43
},
"end": {
"line": 74,
"column": 50
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1985,
"end": 1986,
"loc": {
"start": {
"line": 74,
"column": 50
},
"end": {
"line": 74,
"column": 51
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1986,
"end": 1987,
"loc": {
"start": {
"line": 74,
"column": 51
},
"end": {
"line": 74,
"column": 52
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1987,
"end": 1988,
"loc": {
"start": {
"line": 74,
"column": 52
},
"end": {
"line": 74,
"column": 53
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1988,
"end": 1989,
"loc": {
"start": {
"line": 74,
"column": 53
},
"end": {
"line": 74,
"column": 54
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1995,
"end": 1996,
"loc": {
"start": {
"line": 75,
"column": 4
},
"end": {
"line": 75,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {GameRoot} root\r\n * @param {string} variant\r\n * @returns {Array<[string, string]>}\r\n ",
"start": 2004,
"end": 2122,
"loc": {
"start": {
"line": 77,
"column": 4
},
"end": {
"line": 81,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getAdditionalStatistics",
"start": 2128,
"end": 2151,
"loc": {
"start": {
"line": 82,
"column": 4
},
"end": {
"line": 82,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2151,
"end": 2152,
"loc": {
"start": {
"line": 82,
"column": 27
},
"end": {
"line": 82,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 2152,
"end": 2156,
"loc": {
"start": {
"line": 82,
"column": 28
},
"end": {
"line": 82,
"column": 32
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2156,
"end": 2157,
"loc": {
"start": {
"line": 82,
"column": 32
},
"end": {
"line": 82,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 2158,
"end": 2165,
"loc": {
"start": {
"line": 82,
"column": 34
},
"end": {
"line": 82,
"column": 41
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2165,
"end": 2166,
"loc": {
"start": {
"line": 82,
"column": 41
},
"end": {
"line": 82,
"column": 42
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2167,
"end": 2168,
"loc": {
"start": {
"line": 82,
"column": 43
},
"end": {
"line": 82,
"column": 44
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 2178,
"end": 2184,
"loc": {
"start": {
"line": 83,
"column": 8
},
"end": {
"line": 83,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaBeltBuilding",
"start": 2185,
"end": 2201,
"loc": {
"start": {
"line": 83,
"column": 15
},
"end": {
"line": 83,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2201,
"end": 2202,
"loc": {
"start": {
"line": 83,
"column": 31
},
"end": {
"line": 83,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "additionalStatistics",
"start": 2202,
"end": 2222,
"loc": {
"start": {
"line": 83,
"column": 32
},
"end": {
"line": 83,
"column": 52
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2222,
"end": 2223,
"loc": {
"start": {
"line": 83,
"column": 52
},
"end": {
"line": 83,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 2223,
"end": 2230,
"loc": {
"start": {
"line": 83,
"column": 53
},
"end": {
"line": 83,
"column": 60
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2230,
"end": 2231,
"loc": {
"start": {
"line": 83,
"column": 60
},
"end": {
"line": 83,
"column": 61
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2231,
"end": 2232,
"loc": {
"start": {
"line": 83,
"column": 61
},
"end": {
"line": 83,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 2232,
"end": 2236,
"loc": {
"start": {
"line": 83,
"column": 62
},
"end": {
"line": 83,
"column": 66
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2236,
"end": 2237,
"loc": {
"start": {
"line": 83,
"column": 66
},
"end": {
"line": 83,
"column": 67
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2237,
"end": 2238,
"loc": {
"start": {
"line": 83,
"column": 67
},
"end": {
"line": 83,
"column": 68
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2244,
"end": 2245,
"loc": {
"start": {
"line": 84,
"column": 4
},
"end": {
"line": 84,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getIsReplaceable",
"start": 2253,
"end": 2269,
"loc": {
"start": {
"line": 86,
"column": 4
},
"end": {
"line": 86,
"column": 20
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2269,
"end": 2270,
"loc": {
"start": {
"line": 86,
"column": 20
},
"end": {
"line": 86,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 2270,
"end": 2277,
"loc": {
"start": {
"line": 86,
"column": 21
},
"end": {
"line": 86,
"column": 28
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2277,
"end": 2278,
"loc": {
"start": {
"line": 86,
"column": 28
},
"end": {
"line": 86,
"column": 29
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2279,
"end": 2280,
"loc": {
"start": {
"line": 86,
"column": 30
},
"end": {
"line": 86,
"column": 31
}
}
},
{
"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": 2290,
"end": 2296,
"loc": {
"start": {
"line": 87,
"column": 8
},
"end": {
"line": 87,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaBeltBuilding",
"start": 2297,
"end": 2313,
"loc": {
"start": {
"line": 87,
"column": 15
},
"end": {
"line": 87,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2313,
"end": 2314,
"loc": {
"start": {
"line": 87,
"column": 31
},
"end": {
"line": 87,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isReplaceable",
"start": 2314,
"end": 2327,
"loc": {
"start": {
"line": 87,
"column": 32
},
"end": {
"line": 87,
"column": 45
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2327,
"end": 2328,
"loc": {
"start": {
"line": 87,
"column": 45
},
"end": {
"line": 87,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 2328,
"end": 2335,
"loc": {
"start": {
"line": 87,
"column": 46
},
"end": {
"line": 87,
"column": 53
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2335,
"end": 2336,
"loc": {
"start": {
"line": 87,
"column": 53
},
"end": {
"line": 87,
"column": 54
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2336,
"end": 2337,
"loc": {
"start": {
"line": 87,
"column": 54
},
"end": {
"line": 87,
"column": 55
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2337,
"end": 2338,
"loc": {
"start": {
"line": 87,
"column": 55
},
"end": {
"line": 87,
"column": 56
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2338,
"end": 2339,
"loc": {
"start": {
"line": 87,
"column": 56
},
"end": {
"line": 87,
"column": 57
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2345,
"end": 2346,
"loc": {
"start": {
"line": 88,
"column": 4
},
"end": {
"line": 88,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 2354,
"end": 2398,
"loc": {
"start": {
"line": 90,
"column": 4
},
"end": {
"line": 92,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getShowLayerPreview",
"start": 2404,
"end": 2423,
"loc": {
"start": {
"line": 93,
"column": 4
},
"end": {
"line": 93,
"column": 23
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2423,
"end": 2424,
"loc": {
"start": {
"line": 93,
"column": 23
},
"end": {
"line": 93,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 2424,
"end": 2431,
"loc": {
"start": {
"line": 93,
"column": 24
},
"end": {
"line": 93,
"column": 31
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2431,
"end": 2432,
"loc": {
"start": {
"line": 93,
"column": 31
},
"end": {
"line": 93,
"column": 32
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2433,
"end": 2434,
"loc": {
"start": {
"line": 93,
"column": 33
},
"end": {
"line": 93,
"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": 2444,
"end": 2450,
"loc": {
"start": {
"line": 94,
"column": 8
},
"end": {
"line": 94,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaBeltBuilding",
"start": 2451,
"end": 2467,
"loc": {
"start": {
"line": 94,
"column": 15
},
"end": {
"line": 94,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2467,
"end": 2468,
"loc": {
"start": {
"line": 94,
"column": 31
},
"end": {
"line": 94,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "layerPreview",
"start": 2468,
"end": 2480,
"loc": {
"start": {
"line": 94,
"column": 32
},
"end": {
"line": 94,
"column": 44
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2480,
"end": 2481,
"loc": {
"start": {
"line": 94,
"column": 44
},
"end": {
"line": 94,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 2481,
"end": 2488,
"loc": {
"start": {
"line": 94,
"column": 45
},
"end": {
"line": 94,
"column": 52
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2488,
"end": 2489,
"loc": {
"start": {
"line": 94,
"column": 52
},
"end": {
"line": 94,
"column": 53
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2489,
"end": 2490,
"loc": {
"start": {
"line": 94,
"column": 53
},
"end": {
"line": 94,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2490,
"end": 2491,
"loc": {
"start": {
"line": 94,
"column": 54
},
"end": {
"line": 94,
"column": 55
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2491,
"end": 2492,
"loc": {
"start": {
"line": 94,
"column": 55
},
"end": {
"line": 94,
"column": 56
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2498,
"end": 2499,
"loc": {
"start": {
"line": 95,
"column": 4
},
"end": {
"line": 95,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {number} rotation\r\n * @param {number} rotationVariant\r\n * @param {string} variant\r\n * @param {Entity} entity\r\n * @returns {Array<number>|null}\r\n ",
"start": 2507,
"end": 2693,
"loc": {
"start": {
"line": 97,
"column": 4
},
"end": {
"line": 103,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getSpecialOverlayRenderMatrix",
"start": 2699,
"end": 2728,
"loc": {
"start": {
"line": 104,
"column": 4
},
"end": {
"line": 104,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2728,
"end": 2729,
"loc": {
"start": {
"line": 104,
"column": 33
},
"end": {
"line": 104,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotation",
"start": 2729,
"end": 2737,
"loc": {
"start": {
"line": 104,
"column": 34
},
"end": {
"line": 104,
"column": 42
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2737,
"end": 2738,
"loc": {
"start": {
"line": 104,
"column": 42
},
"end": {
"line": 104,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotationVariant",
"start": 2739,
"end": 2754,
"loc": {
"start": {
"line": 104,
"column": 44
},
"end": {
"line": 104,
"column": 59
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2754,
"end": 2755,
"loc": {
"start": {
"line": 104,
"column": 59
},
"end": {
"line": 104,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 2756,
"end": 2763,
"loc": {
"start": {
"line": 104,
"column": 61
},
"end": {
"line": 104,
"column": 68
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2763,
"end": 2764,
"loc": {
"start": {
"line": 104,
"column": 68
},
"end": {
"line": 104,
"column": 69
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2765,
"end": 2771,
"loc": {
"start": {
"line": 104,
"column": 70
},
"end": {
"line": 104,
"column": 76
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2771,
"end": 2772,
"loc": {
"start": {
"line": 104,
"column": 76
},
"end": {
"line": 104,
"column": 77
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2773,
"end": 2774,
"loc": {
"start": {
"line": 104,
"column": 78
},
"end": {
"line": 104,
"column": 79
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 2784,
"end": 2787,
"loc": {
"start": {
"line": 105,
"column": 8
},
"end": {
"line": 105,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "matrices",
"start": 2788,
"end": 2796,
"loc": {
"start": {
"line": 105,
"column": 12
},
"end": {
"line": 105,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2797,
"end": 2798,
"loc": {
"start": {
"line": 105,
"column": 21
},
"end": {
"line": 105,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaBeltBuilding",
"start": 2799,
"end": 2815,
"loc": {
"start": {
"line": 105,
"column": 23
},
"end": {
"line": 105,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2815,
"end": 2816,
"loc": {
"start": {
"line": 105,
"column": 39
},
"end": {
"line": 105,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "overlayMatrices",
"start": 2816,
"end": 2831,
"loc": {
"start": {
"line": 105,
"column": 40
},
"end": {
"line": 105,
"column": 55
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2831,
"end": 2832,
"loc": {
"start": {
"line": 105,
"column": 55
},
"end": {
"line": 105,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaBeltBuilding",
"start": 2832,
"end": 2848,
"loc": {
"start": {
"line": 105,
"column": 56
},
"end": {
"line": 105,
"column": 72
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2848,
"end": 2849,
"loc": {
"start": {
"line": 105,
"column": 72
},
"end": {
"line": 105,
"column": 73
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variantToRotation",
"start": 2849,
"end": 2866,
"loc": {
"start": {
"line": 105,
"column": 73
},
"end": {
"line": 105,
"column": 90
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2866,
"end": 2867,
"loc": {
"start": {
"line": 105,
"column": 90
},
"end": {
"line": 105,
"column": 91
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotationVariant",
"start": 2867,
"end": 2882,
"loc": {
"start": {
"line": 105,
"column": 91
},
"end": {
"line": 105,
"column": 106
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2882,
"end": 2883,
"loc": {
"start": {
"line": 105,
"column": 106
},
"end": {
"line": 105,
"column": 107
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2883,
"end": 2884,
"loc": {
"start": {
"line": 105,
"column": 107
},
"end": {
"line": 105,
"column": 108
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2884,
"end": 2885,
"loc": {
"start": {
"line": 105,
"column": 108
},
"end": {
"line": 105,
"column": 109
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2899,
"end": 2905,
"loc": {
"start": {
"line": 106,
"column": 12
},
"end": {
"line": 106,
"column": 18
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2905,
"end": 2906,
"loc": {
"start": {
"line": 106,
"column": 18
},
"end": {
"line": 106,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotationVariant",
"start": 2920,
"end": 2935,
"loc": {
"start": {
"line": 107,
"column": 12
},
"end": {
"line": 107,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2945,
"end": 2946,
"loc": {
"start": {
"line": 108,
"column": 8
},
"end": {
"line": 108,
"column": 9
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2946,
"end": 2947,
"loc": {
"start": {
"line": 108,
"column": 9
},
"end": {
"line": 108,
"column": 10
}
}
},
{
"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": 2957,
"end": 2963,
"loc": {
"start": {
"line": 109,
"column": 8
},
"end": {
"line": 109,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "matrices",
"start": 2964,
"end": 2972,
"loc": {
"start": {
"line": 109,
"column": 15
},
"end": {
"line": 109,
"column": 23
}
}
},
{
"type": {
"label": "?",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2973,
"end": 2974,
"loc": {
"start": {
"line": 109,
"column": 24
},
"end": {
"line": 109,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "matrices",
"start": 2975,
"end": 2983,
"loc": {
"start": {
"line": 109,
"column": 26
},
"end": {
"line": 109,
"column": 34
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2983,
"end": 2984,
"loc": {
"start": {
"line": 109,
"column": 34
},
"end": {
"line": 109,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotation",
"start": 2984,
"end": 2992,
"loc": {
"start": {
"line": 109,
"column": 35
},
"end": {
"line": 109,
"column": 43
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2992,
"end": 2993,
"loc": {
"start": {
"line": 109,
"column": 43
},
"end": {
"line": 109,
"column": 44
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2994,
"end": 2995,
"loc": {
"start": {
"line": 109,
"column": 45
},
"end": {
"line": 109,
"column": 46
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 2996,
"end": 3000,
"loc": {
"start": {
"line": 109,
"column": 47
},
"end": {
"line": 109,
"column": 51
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3000,
"end": 3001,
"loc": {
"start": {
"line": 109,
"column": 51
},
"end": {
"line": 109,
"column": 52
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3007,
"end": 3008,
"loc": {
"start": {
"line": 110,
"column": 4
},
"end": {
"line": 110,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {string} variant\r\n ",
"start": 3016,
"end": 3060,
"loc": {
"start": {
"line": 112,
"column": 4
},
"end": {
"line": 114,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getRenderPins",
"start": 3066,
"end": 3079,
"loc": {
"start": {
"line": 115,
"column": 4
},
"end": {
"line": 115,
"column": 17
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3079,
"end": 3080,
"loc": {
"start": {
"line": 115,
"column": 17
},
"end": {
"line": 115,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 3080,
"end": 3087,
"loc": {
"start": {
"line": 115,
"column": 18
},
"end": {
"line": 115,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3087,
"end": 3088,
"loc": {
"start": {
"line": 115,
"column": 25
},
"end": {
"line": 115,
"column": 26
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3089,
"end": 3090,
"loc": {
"start": {
"line": 115,
"column": 27
},
"end": {
"line": 115,
"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": 3100,
"end": 3106,
"loc": {
"start": {
"line": 116,
"column": 8
},
"end": {
"line": 116,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaBeltBuilding",
"start": 3107,
"end": 3123,
"loc": {
"start": {
"line": 116,
"column": 15
},
"end": {
"line": 116,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3123,
"end": 3124,
"loc": {
"start": {
"line": 116,
"column": 31
},
"end": {
"line": 116,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "renderPins",
"start": 3124,
"end": 3134,
"loc": {
"start": {
"line": 116,
"column": 32
},
"end": {
"line": 116,
"column": 42
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3134,
"end": 3135,
"loc": {
"start": {
"line": 116,
"column": 42
},
"end": {
"line": 116,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 3135,
"end": 3142,
"loc": {
"start": {
"line": 116,
"column": 43
},
"end": {
"line": 116,
"column": 50
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3142,
"end": 3143,
"loc": {
"start": {
"line": 116,
"column": 50
},
"end": {
"line": 116,
"column": 51
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3143,
"end": 3144,
"loc": {
"start": {
"line": 116,
"column": 51
},
"end": {
"line": 116,
"column": 52
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3144,
"end": 3145,
"loc": {
"start": {
"line": 116,
"column": 52
},
"end": {
"line": 116,
"column": 53
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3145,
"end": 3146,
"loc": {
"start": {
"line": 116,
"column": 53
},
"end": {
"line": 116,
"column": 54
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3152,
"end": 3153,
"loc": {
"start": {
"line": 117,
"column": 4
},
"end": {
"line": 117,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getPlacementSound",
"start": 3161,
"end": 3178,
"loc": {
"start": {
"line": 119,
"column": 4
},
"end": {
"line": 119,
"column": 21
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3178,
"end": 3179,
"loc": {
"start": {
"line": 119,
"column": 21
},
"end": {
"line": 119,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 3179,
"end": 3186,
"loc": {
"start": {
"line": 119,
"column": 22
},
"end": {
"line": 119,
"column": 29
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3186,
"end": 3187,
"loc": {
"start": {
"line": 119,
"column": 29
},
"end": {
"line": 119,
"column": 30
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3188,
"end": 3189,
"loc": {
"start": {
"line": 119,
"column": 31
},
"end": {
"line": 119,
"column": 32
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 3199,
"end": 3205,
"loc": {
"start": {
"line": 120,
"column": 8
},
"end": {
"line": 120,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaBeltBuilding",
"start": 3206,
"end": 3222,
"loc": {
"start": {
"line": 120,
"column": 15
},
"end": {
"line": 120,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3222,
"end": 3223,
"loc": {
"start": {
"line": 120,
"column": 31
},
"end": {
"line": 120,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "placementSounds",
"start": 3223,
"end": 3238,
"loc": {
"start": {
"line": 120,
"column": 32
},
"end": {
"line": 120,
"column": 47
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3238,
"end": 3239,
"loc": {
"start": {
"line": 120,
"column": 47
},
"end": {
"line": 120,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 3239,
"end": 3246,
"loc": {
"start": {
"line": 120,
"column": 48
},
"end": {
"line": 120,
"column": 55
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3246,
"end": 3247,
"loc": {
"start": {
"line": 120,
"column": 55
},
"end": {
"line": 120,
"column": 56
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3247,
"end": 3248,
"loc": {
"start": {
"line": 120,
"column": 56
},
"end": {
"line": 120,
"column": 57
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3248,
"end": 3249,
"loc": {
"start": {
"line": 120,
"column": 57
},
"end": {
"line": 120,
"column": 58
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3249,
"end": 3250,
"loc": {
"start": {
"line": 120,
"column": 58
},
"end": {
"line": 120,
"column": 59
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3256,
"end": 3257,
"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": "getHasDirectionLockAvailable",
"start": 3265,
"end": 3293,
"loc": {
"start": {
"line": 123,
"column": 4
},
"end": {
"line": 123,
"column": 32
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3293,
"end": 3294,
"loc": {
"start": {
"line": 123,
"column": 32
},
"end": {
"line": 123,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3294,
"end": 3295,
"loc": {
"start": {
"line": 123,
"column": 33
},
"end": {
"line": 123,
"column": 34
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3296,
"end": 3297,
"loc": {
"start": {
"line": 123,
"column": 35
},
"end": {
"line": 123,
"column": 36
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 3307,
"end": 3313,
"loc": {
"start": {
"line": 124,
"column": 8
},
"end": {
"line": 124,
"column": 14
}
}
},
{
"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": 3314,
"end": 3318,
"loc": {
"start": {
"line": 124,
"column": 15
},
"end": {
"line": 124,
"column": 19
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3318,
"end": 3319,
"loc": {
"start": {
"line": 124,
"column": 19
},
"end": {
"line": 124,
"column": 20
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3325,
"end": 3326,
"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": "getStayInPlacementMode",
"start": 3334,
"end": 3356,
"loc": {
"start": {
"line": 127,
"column": 4
},
"end": {
"line": 127,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3356,
"end": 3357,
"loc": {
"start": {
"line": 127,
"column": 26
},
"end": {
"line": 127,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3357,
"end": 3358,
"loc": {
"start": {
"line": 127,
"column": 27
},
"end": {
"line": 127,
"column": 28
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3359,
"end": 3360,
"loc": {
"start": {
"line": 127,
"column": 29
},
"end": {
"line": 127,
"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": 3370,
"end": 3376,
"loc": {
"start": {
"line": 128,
"column": 8
},
"end": {
"line": 128,
"column": 14
}
}
},
{
"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": 3377,
"end": 3381,
"loc": {
"start": {
"line": 128,
"column": 15
},
"end": {
"line": 128,
"column": 19
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3381,
"end": 3382,
"loc": {
"start": {
"line": 128,
"column": 19
},
"end": {
"line": 128,
"column": 20
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3388,
"end": 3389,
"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": "getRotateAutomaticallyWhilePlacing",
"start": 3397,
"end": 3431,
"loc": {
"start": {
"line": 131,
"column": 4
},
"end": {
"line": 131,
"column": 38
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3431,
"end": 3432,
"loc": {
"start": {
"line": 131,
"column": 38
},
"end": {
"line": 131,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3432,
"end": 3433,
"loc": {
"start": {
"line": 131,
"column": 39
},
"end": {
"line": 131,
"column": 40
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3434,
"end": 3435,
"loc": {
"start": {
"line": 131,
"column": 41
},
"end": {
"line": 131,
"column": 42
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 3445,
"end": 3451,
"loc": {
"start": {
"line": 132,
"column": 8
},
"end": {
"line": 132,
"column": 14
}
}
},
{
"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": 3452,
"end": 3456,
"loc": {
"start": {
"line": 132,
"column": 15
},
"end": {
"line": 132,
"column": 19
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3456,
"end": 3457,
"loc": {
"start": {
"line": 132,
"column": 19
},
"end": {
"line": 132,
"column": 20
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3463,
"end": 3464,
"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": "getSprite",
"start": 3472,
"end": 3481,
"loc": {
"start": {
"line": 135,
"column": 4
},
"end": {
"line": 135,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3481,
"end": 3482,
"loc": {
"start": {
"line": 135,
"column": 13
},
"end": {
"line": 135,
"column": 14
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3482,
"end": 3483,
"loc": {
"start": {
"line": 135,
"column": 14
},
"end": {
"line": 135,
"column": 15
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3484,
"end": 3485,
"loc": {
"start": {
"line": 135,
"column": 16
},
"end": {
"line": 135,
"column": 17
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 3495,
"end": 3501,
"loc": {
"start": {
"line": 136,
"column": 8
},
"end": {
"line": 136,
"column": 14
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 3502,
"end": 3506,
"loc": {
"start": {
"line": 136,
"column": 15
},
"end": {
"line": 136,
"column": 19
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3506,
"end": 3507,
"loc": {
"start": {
"line": 136,
"column": 19
},
"end": {
"line": 136,
"column": 20
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3513,
"end": 3514,
"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": "getPreviewSprite",
"start": 3522,
"end": 3538,
"loc": {
"start": {
"line": 139,
"column": 4
},
"end": {
"line": 139,
"column": 20
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3538,
"end": 3539,
"loc": {
"start": {
"line": 139,
"column": 20
},
"end": {
"line": 139,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotationVariant",
"start": 3539,
"end": 3554,
"loc": {
"start": {
"line": 139,
"column": 21
},
"end": {
"line": 139,
"column": 36
}
}
},
{
"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": 139,
"column": 36
},
"end": {
"line": 139,
"column": 37
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3556,
"end": 3557,
"loc": {
"start": {
"line": 139,
"column": 38
},
"end": {
"line": 139,
"column": 39
}
}
},
{
"type": {
"label": "switch",
"keyword": "switch",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "switch",
"start": 3567,
"end": 3573,
"loc": {
"start": {
"line": 140,
"column": 8
},
"end": {
"line": 140,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3574,
"end": 3575,
"loc": {
"start": {
"line": 140,
"column": 15
},
"end": {
"line": 140,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaBeltBuilding",
"start": 3575,
"end": 3591,
"loc": {
"start": {
"line": 140,
"column": 16
},
"end": {
"line": 140,
"column": 32
}
}
},
{
"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": 32
},
"end": {
"line": 140,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variantToRotation",
"start": 3592,
"end": 3609,
"loc": {
"start": {
"line": 140,
"column": 33
},
"end": {
"line": 140,
"column": 50
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3609,
"end": 3610,
"loc": {
"start": {
"line": 140,
"column": 50
},
"end": {
"line": 140,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotationVariant",
"start": 3610,
"end": 3625,
"loc": {
"start": {
"line": 140,
"column": 51
},
"end": {
"line": 140,
"column": 66
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3625,
"end": 3626,
"loc": {
"start": {
"line": 140,
"column": 66
},
"end": {
"line": 140,
"column": 67
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3626,
"end": 3627,
"loc": {
"start": {
"line": 140,
"column": 67
},
"end": {
"line": 140,
"column": 68
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3628,
"end": 3629,
"loc": {
"start": {
"line": 140,
"column": 69
},
"end": {
"line": 140,
"column": 70
}
}
},
{
"type": {
"label": "case",
"keyword": "case",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "case",
"start": 3643,
"end": 3647,
"loc": {
"start": {
"line": 141,
"column": 12
},
"end": {
"line": 141,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumDirection",
"start": 3648,
"end": 3661,
"loc": {
"start": {
"line": 141,
"column": 17
},
"end": {
"line": 141,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3661,
"end": 3662,
"loc": {
"start": {
"line": 141,
"column": 30
},
"end": {
"line": 141,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "top",
"start": 3662,
"end": 3665,
"loc": {
"start": {
"line": 141,
"column": 31
},
"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": 3665,
"end": 3666,
"loc": {
"start": {
"line": 141,
"column": 34
},
"end": {
"line": 141,
"column": 35
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3684,
"end": 3685,
"loc": {
"start": {
"line": 142,
"column": 16
},
"end": {
"line": 142,
"column": 17
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 3707,
"end": 3713,
"loc": {
"start": {
"line": 143,
"column": 20
},
"end": {
"line": 143,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Loader",
"start": 3714,
"end": 3720,
"loc": {
"start": {
"line": 143,
"column": 27
},
"end": {
"line": 143,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3720,
"end": 3721,
"loc": {
"start": {
"line": 143,
"column": 33
},
"end": {
"line": 143,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getSprite",
"start": 3721,
"end": 3730,
"loc": {
"start": {
"line": 143,
"column": 34
},
"end": {
"line": 143,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3730,
"end": 3731,
"loc": {
"start": {
"line": 143,
"column": 43
},
"end": {
"line": 143,
"column": 44
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "sprites/buildings/belt_top.png",
"start": 3731,
"end": 3763,
"loc": {
"start": {
"line": 143,
"column": 44
},
"end": {
"line": 143,
"column": 76
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3763,
"end": 3764,
"loc": {
"start": {
"line": 143,
"column": 76
},
"end": {
"line": 143,
"column": 77
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3764,
"end": 3765,
"loc": {
"start": {
"line": 143,
"column": 77
},
"end": {
"line": 143,
"column": 78
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3783,
"end": 3784,
"loc": {
"start": {
"line": 144,
"column": 16
},
"end": {
"line": 144,
"column": 17
}
}
},
{
"type": {
"label": "case",
"keyword": "case",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "case",
"start": 3798,
"end": 3802,
"loc": {
"start": {
"line": 145,
"column": 12
},
"end": {
"line": 145,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumDirection",
"start": 3803,
"end": 3816,
"loc": {
"start": {
"line": 145,
"column": 17
},
"end": {
"line": 145,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3816,
"end": 3817,
"loc": {
"start": {
"line": 145,
"column": 30
},
"end": {
"line": 145,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "left",
"start": 3817,
"end": 3821,
"loc": {
"start": {
"line": 145,
"column": 31
},
"end": {
"line": 145,
"column": 35
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3821,
"end": 3822,
"loc": {
"start": {
"line": 145,
"column": 35
},
"end": {
"line": 145,
"column": 36
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3840,
"end": 3841,
"loc": {
"start": {
"line": 146,
"column": 16
},
"end": {
"line": 146,
"column": 17
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 3863,
"end": 3869,
"loc": {
"start": {
"line": 147,
"column": 20
},
"end": {
"line": 147,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Loader",
"start": 3870,
"end": 3876,
"loc": {
"start": {
"line": 147,
"column": 27
},
"end": {
"line": 147,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3876,
"end": 3877,
"loc": {
"start": {
"line": 147,
"column": 33
},
"end": {
"line": 147,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getSprite",
"start": 3877,
"end": 3886,
"loc": {
"start": {
"line": 147,
"column": 34
},
"end": {
"line": 147,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3886,
"end": 3887,
"loc": {
"start": {
"line": 147,
"column": 43
},
"end": {
"line": 147,
"column": 44
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "sprites/buildings/belt_left.png",
"start": 3887,
"end": 3920,
"loc": {
"start": {
"line": 147,
"column": 44
},
"end": {
"line": 147,
"column": 77
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3920,
"end": 3921,
"loc": {
"start": {
"line": 147,
"column": 77
},
"end": {
"line": 147,
"column": 78
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3921,
"end": 3922,
"loc": {
"start": {
"line": 147,
"column": 78
},
"end": {
"line": 147,
"column": 79
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3940,
"end": 3941,
"loc": {
"start": {
"line": 148,
"column": 16
},
"end": {
"line": 148,
"column": 17
}
}
},
{
"type": {
"label": "case",
"keyword": "case",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "case",
"start": 3955,
"end": 3959,
"loc": {
"start": {
"line": 149,
"column": 12
},
"end": {
"line": 149,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumDirection",
"start": 3960,
"end": 3973,
"loc": {
"start": {
"line": 149,
"column": 17
},
"end": {
"line": 149,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3973,
"end": 3974,
"loc": {
"start": {
"line": 149,
"column": 30
},
"end": {
"line": 149,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "right",
"start": 3974,
"end": 3979,
"loc": {
"start": {
"line": 149,
"column": 31
},
"end": {
"line": 149,
"column": 36
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3979,
"end": 3980,
"loc": {
"start": {
"line": 149,
"column": 36
},
"end": {
"line": 149,
"column": 37
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3998,
"end": 3999,
"loc": {
"start": {
"line": 150,
"column": 16
},
"end": {
"line": 150,
"column": 17
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 4021,
"end": 4027,
"loc": {
"start": {
"line": 151,
"column": 20
},
"end": {
"line": 151,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Loader",
"start": 4028,
"end": 4034,
"loc": {
"start": {
"line": 151,
"column": 27
},
"end": {
"line": 151,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4034,
"end": 4035,
"loc": {
"start": {
"line": 151,
"column": 33
},
"end": {
"line": 151,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getSprite",
"start": 4035,
"end": 4044,
"loc": {
"start": {
"line": 151,
"column": 34
},
"end": {
"line": 151,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4044,
"end": 4045,
"loc": {
"start": {
"line": 151,
"column": 43
},
"end": {
"line": 151,
"column": 44
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "sprites/buildings/belt_right.png",
"start": 4045,
"end": 4079,
"loc": {
"start": {
"line": 151,
"column": 44
},
"end": {
"line": 151,
"column": 78
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4079,
"end": 4080,
"loc": {
"start": {
"line": 151,
"column": 78
},
"end": {
"line": 151,
"column": 79
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4080,
"end": 4081,
"loc": {
"start": {
"line": 151,
"column": 79
},
"end": {
"line": 151,
"column": 80
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4099,
"end": 4100,
"loc": {
"start": {
"line": 152,
"column": 16
},
"end": {
"line": 152,
"column": 17
}
}
},
{
"type": {
"label": "default",
"keyword": "default",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "default",
"start": 4114,
"end": 4121,
"loc": {
"start": {
"line": 153,
"column": 12
},
"end": {
"line": 153,
"column": 19
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4121,
"end": 4122,
"loc": {
"start": {
"line": 153,
"column": 19
},
"end": {
"line": 153,
"column": 20
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4140,
"end": 4141,
"loc": {
"start": {
"line": 154,
"column": 16
},
"end": {
"line": 154,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "assertAlways",
"start": 4163,
"end": 4175,
"loc": {
"start": {
"line": 155,
"column": 20
},
"end": {
"line": 155,
"column": 32
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4175,
"end": 4176,
"loc": {
"start": {
"line": 155,
"column": 32
},
"end": {
"line": 155,
"column": 33
}
}
},
{
"type": {
"label": "false",
"keyword": "false",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "false",
"start": 4176,
"end": 4181,
"loc": {
"start": {
"line": 155,
"column": 33
},
"end": {
"line": 155,
"column": 38
}
}
},
{
"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": 155,
"column": 38
},
"end": {
"line": 155,
"column": 39
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Invalid belt rotation variant",
"start": 4183,
"end": 4214,
"loc": {
"start": {
"line": 155,
"column": 40
},
"end": {
"line": 155,
"column": 71
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4214,
"end": 4215,
"loc": {
"start": {
"line": 155,
"column": 71
},
"end": {
"line": 155,
"column": 72
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4215,
"end": 4216,
"loc": {
"start": {
"line": 155,
"column": 72
},
"end": {
"line": 155,
"column": 73
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4234,
"end": 4235,
"loc": {
"start": {
"line": 156,
"column": 16
},
"end": {
"line": 156,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4245,
"end": 4246,
"loc": {
"start": {
"line": 157,
"column": 8
},
"end": {
"line": 157,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4252,
"end": 4253,
"loc": {
"start": {
"line": 158,
"column": 4
},
"end": {
"line": 158,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getBlueprintSprite",
"start": 4261,
"end": 4279,
"loc": {
"start": {
"line": 160,
"column": 4
},
"end": {
"line": 160,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4279,
"end": 4280,
"loc": {
"start": {
"line": 160,
"column": 22
},
"end": {
"line": 160,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotationVariant",
"start": 4280,
"end": 4295,
"loc": {
"start": {
"line": 160,
"column": 23
},
"end": {
"line": 160,
"column": 38
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4295,
"end": 4296,
"loc": {
"start": {
"line": 160,
"column": 38
},
"end": {
"line": 160,
"column": 39
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4297,
"end": 4298,
"loc": {
"start": {
"line": 160,
"column": 40
},
"end": {
"line": 160,
"column": 41
}
}
},
{
"type": {
"label": "switch",
"keyword": "switch",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "switch",
"start": 4308,
"end": 4314,
"loc": {
"start": {
"line": 161,
"column": 8
},
"end": {
"line": 161,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4315,
"end": 4316,
"loc": {
"start": {
"line": 161,
"column": 15
},
"end": {
"line": 161,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaBeltBuilding",
"start": 4316,
"end": 4332,
"loc": {
"start": {
"line": 161,
"column": 16
},
"end": {
"line": 161,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4332,
"end": 4333,
"loc": {
"start": {
"line": 161,
"column": 32
},
"end": {
"line": 161,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variantToRotation",
"start": 4333,
"end": 4350,
"loc": {
"start": {
"line": 161,
"column": 33
},
"end": {
"line": 161,
"column": 50
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4350,
"end": 4351,
"loc": {
"start": {
"line": 161,
"column": 50
},
"end": {
"line": 161,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotationVariant",
"start": 4351,
"end": 4366,
"loc": {
"start": {
"line": 161,
"column": 51
},
"end": {
"line": 161,
"column": 66
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4366,
"end": 4367,
"loc": {
"start": {
"line": 161,
"column": 66
},
"end": {
"line": 161,
"column": 67
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4367,
"end": 4368,
"loc": {
"start": {
"line": 161,
"column": 67
},
"end": {
"line": 161,
"column": 68
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4369,
"end": 4370,
"loc": {
"start": {
"line": 161,
"column": 69
},
"end": {
"line": 161,
"column": 70
}
}
},
{
"type": {
"label": "case",
"keyword": "case",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "case",
"start": 4384,
"end": 4388,
"loc": {
"start": {
"line": 162,
"column": 12
},
"end": {
"line": 162,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumDirection",
"start": 4389,
"end": 4402,
"loc": {
"start": {
"line": 162,
"column": 17
},
"end": {
"line": 162,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4402,
"end": 4403,
"loc": {
"start": {
"line": 162,
"column": 30
},
"end": {
"line": 162,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "top",
"start": 4403,
"end": 4406,
"loc": {
"start": {
"line": 162,
"column": 31
},
"end": {
"line": 162,
"column": 34
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4406,
"end": 4407,
"loc": {
"start": {
"line": 162,
"column": 34
},
"end": {
"line": 162,
"column": 35
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4425,
"end": 4426,
"loc": {
"start": {
"line": 163,
"column": 16
},
"end": {
"line": 163,
"column": 17
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 4448,
"end": 4454,
"loc": {
"start": {
"line": 164,
"column": 20
},
"end": {
"line": 164,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Loader",
"start": 4455,
"end": 4461,
"loc": {
"start": {
"line": 164,
"column": 27
},
"end": {
"line": 164,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4461,
"end": 4462,
"loc": {
"start": {
"line": 164,
"column": 33
},
"end": {
"line": 164,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getSprite",
"start": 4462,
"end": 4471,
"loc": {
"start": {
"line": 164,
"column": 34
},
"end": {
"line": 164,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4471,
"end": 4472,
"loc": {
"start": {
"line": 164,
"column": 43
},
"end": {
"line": 164,
"column": 44
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "sprites/blueprints/belt_top.png",
"start": 4472,
"end": 4505,
"loc": {
"start": {
"line": 164,
"column": 44
},
"end": {
"line": 164,
"column": 77
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4505,
"end": 4506,
"loc": {
"start": {
"line": 164,
"column": 77
},
"end": {
"line": 164,
"column": 78
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4506,
"end": 4507,
"loc": {
"start": {
"line": 164,
"column": 78
},
"end": {
"line": 164,
"column": 79
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4525,
"end": 4526,
"loc": {
"start": {
"line": 165,
"column": 16
},
"end": {
"line": 165,
"column": 17
}
}
},
{
"type": {
"label": "case",
"keyword": "case",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "case",
"start": 4540,
"end": 4544,
"loc": {
"start": {
"line": 166,
"column": 12
},
"end": {
"line": 166,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumDirection",
"start": 4545,
"end": 4558,
"loc": {
"start": {
"line": 166,
"column": 17
},
"end": {
"line": 166,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4558,
"end": 4559,
"loc": {
"start": {
"line": 166,
"column": 30
},
"end": {
"line": 166,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "left",
"start": 4559,
"end": 4563,
"loc": {
"start": {
"line": 166,
"column": 31
},
"end": {
"line": 166,
"column": 35
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4563,
"end": 4564,
"loc": {
"start": {
"line": 166,
"column": 35
},
"end": {
"line": 166,
"column": 36
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4582,
"end": 4583,
"loc": {
"start": {
"line": 167,
"column": 16
},
"end": {
"line": 167,
"column": 17
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 4605,
"end": 4611,
"loc": {
"start": {
"line": 168,
"column": 20
},
"end": {
"line": 168,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Loader",
"start": 4612,
"end": 4618,
"loc": {
"start": {
"line": 168,
"column": 27
},
"end": {
"line": 168,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4618,
"end": 4619,
"loc": {
"start": {
"line": 168,
"column": 33
},
"end": {
"line": 168,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getSprite",
"start": 4619,
"end": 4628,
"loc": {
"start": {
"line": 168,
"column": 34
},
"end": {
"line": 168,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4628,
"end": 4629,
"loc": {
"start": {
"line": 168,
"column": 43
},
"end": {
"line": 168,
"column": 44
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "sprites/blueprints/belt_left.png",
"start": 4629,
"end": 4663,
"loc": {
"start": {
"line": 168,
"column": 44
},
"end": {
"line": 168,
"column": 78
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4663,
"end": 4664,
"loc": {
"start": {
"line": 168,
"column": 78
},
"end": {
"line": 168,
"column": 79
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4664,
"end": 4665,
"loc": {
"start": {
"line": 168,
"column": 79
},
"end": {
"line": 168,
"column": 80
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4683,
"end": 4684,
"loc": {
"start": {
"line": 169,
"column": 16
},
"end": {
"line": 169,
"column": 17
}
}
},
{
"type": {
"label": "case",
"keyword": "case",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "case",
"start": 4698,
"end": 4702,
"loc": {
"start": {
"line": 170,
"column": 12
},
"end": {
"line": 170,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumDirection",
"start": 4703,
"end": 4716,
"loc": {
"start": {
"line": 170,
"column": 17
},
"end": {
"line": 170,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4716,
"end": 4717,
"loc": {
"start": {
"line": 170,
"column": 30
},
"end": {
"line": 170,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "right",
"start": 4717,
"end": 4722,
"loc": {
"start": {
"line": 170,
"column": 31
},
"end": {
"line": 170,
"column": 36
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4722,
"end": 4723,
"loc": {
"start": {
"line": 170,
"column": 36
},
"end": {
"line": 170,
"column": 37
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4741,
"end": 4742,
"loc": {
"start": {
"line": 171,
"column": 16
},
"end": {
"line": 171,
"column": 17
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 4764,
"end": 4770,
"loc": {
"start": {
"line": 172,
"column": 20
},
"end": {
"line": 172,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Loader",
"start": 4771,
"end": 4777,
"loc": {
"start": {
"line": 172,
"column": 27
},
"end": {
"line": 172,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4777,
"end": 4778,
"loc": {
"start": {
"line": 172,
"column": 33
},
"end": {
"line": 172,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getSprite",
"start": 4778,
"end": 4787,
"loc": {
"start": {
"line": 172,
"column": 34
},
"end": {
"line": 172,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4787,
"end": 4788,
"loc": {
"start": {
"line": 172,
"column": 43
},
"end": {
"line": 172,
"column": 44
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "sprites/blueprints/belt_right.png",
"start": 4788,
"end": 4823,
"loc": {
"start": {
"line": 172,
"column": 44
},
"end": {
"line": 172,
"column": 79
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4823,
"end": 4824,
"loc": {
"start": {
"line": 172,
"column": 79
},
"end": {
"line": 172,
"column": 80
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4824,
"end": 4825,
"loc": {
"start": {
"line": 172,
"column": 80
},
"end": {
"line": 172,
"column": 81
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4843,
"end": 4844,
"loc": {
"start": {
"line": 173,
"column": 16
},
"end": {
"line": 173,
"column": 17
}
}
},
{
"type": {
"label": "default",
"keyword": "default",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "default",
"start": 4858,
"end": 4865,
"loc": {
"start": {
"line": 174,
"column": 12
},
"end": {
"line": 174,
"column": 19
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4865,
"end": 4866,
"loc": {
"start": {
"line": 174,
"column": 19
},
"end": {
"line": 174,
"column": 20
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4884,
"end": 4885,
"loc": {
"start": {
"line": 175,
"column": 16
},
"end": {
"line": 175,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "assertAlways",
"start": 4907,
"end": 4919,
"loc": {
"start": {
"line": 176,
"column": 20
},
"end": {
"line": 176,
"column": 32
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4919,
"end": 4920,
"loc": {
"start": {
"line": 176,
"column": 32
},
"end": {
"line": 176,
"column": 33
}
}
},
{
"type": {
"label": "false",
"keyword": "false",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "false",
"start": 4920,
"end": 4925,
"loc": {
"start": {
"line": 176,
"column": 33
},
"end": {
"line": 176,
"column": 38
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4925,
"end": 4926,
"loc": {
"start": {
"line": 176,
"column": 38
},
"end": {
"line": 176,
"column": 39
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Invalid belt rotation variant",
"start": 4927,
"end": 4958,
"loc": {
"start": {
"line": 176,
"column": 40
},
"end": {
"line": 176,
"column": 71
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4958,
"end": 4959,
"loc": {
"start": {
"line": 176,
"column": 71
},
"end": {
"line": 176,
"column": 72
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4959,
"end": 4960,
"loc": {
"start": {
"line": 176,
"column": 72
},
"end": {
"line": 176,
"column": 73
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4978,
"end": 4979,
"loc": {
"start": {
"line": 177,
"column": 16
},
"end": {
"line": 177,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4989,
"end": 4990,
"loc": {
"start": {
"line": 178,
"column": 8
},
"end": {
"line": 178,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4996,
"end": 4997,
"loc": {
"start": {
"line": 179,
"column": 4
},
"end": {
"line": 179,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Creates the entity at the given location\r\n * @param {Entity} entity\r\n ",
"start": 5005,
"end": 5097,
"loc": {
"start": {
"line": 181,
"column": 4
},
"end": {
"line": 184,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setupEntityComponents",
"start": 5103,
"end": 5124,
"loc": {
"start": {
"line": 185,
"column": 4
},
"end": {
"line": 185,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5124,
"end": 5125,
"loc": {
"start": {
"line": 185,
"column": 25
},
"end": {
"line": 185,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 5125,
"end": 5131,
"loc": {
"start": {
"line": 185,
"column": 26
},
"end": {
"line": 185,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5131,
"end": 5132,
"loc": {
"start": {
"line": 185,
"column": 32
},
"end": {
"line": 185,
"column": 33
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5133,
"end": 5134,
"loc": {
"start": {
"line": 185,
"column": 34
},
"end": {
"line": 185,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaBeltBuilding",
"start": 5144,
"end": 5160,
"loc": {
"start": {
"line": 186,
"column": 8
},
"end": {
"line": 186,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5160,
"end": 5161,
"loc": {
"start": {
"line": 186,
"column": 24
},
"end": {
"line": 186,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setupEntityComponents",
"start": 5161,
"end": 5182,
"loc": {
"start": {
"line": 186,
"column": 25
},
"end": {
"line": 186,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5182,
"end": 5183,
"loc": {
"start": {
"line": 186,
"column": 46
},
"end": {
"line": 186,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "forEach",
"start": 5183,
"end": 5190,
"loc": {
"start": {
"line": 186,
"column": 47
},
"end": {
"line": 186,
"column": 54
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5190,
"end": 5191,
"loc": {
"start": {
"line": 186,
"column": 54
},
"end": {
"line": 186,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "func",
"start": 5191,
"end": 5195,
"loc": {
"start": {
"line": 186,
"column": 55
},
"end": {
"line": 186,
"column": 59
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5196,
"end": 5198,
"loc": {
"start": {
"line": 186,
"column": 60
},
"end": {
"line": 186,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "func",
"start": 5199,
"end": 5203,
"loc": {
"start": {
"line": 186,
"column": 63
},
"end": {
"line": 186,
"column": 67
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5203,
"end": 5204,
"loc": {
"start": {
"line": 186,
"column": 67
},
"end": {
"line": 186,
"column": 68
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 5204,
"end": 5210,
"loc": {
"start": {
"line": 186,
"column": 68
},
"end": {
"line": 186,
"column": 74
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5210,
"end": 5211,
"loc": {
"start": {
"line": 186,
"column": 74
},
"end": {
"line": 186,
"column": 75
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5211,
"end": 5212,
"loc": {
"start": {
"line": 186,
"column": 75
},
"end": {
"line": 186,
"column": 76
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5212,
"end": 5213,
"loc": {
"start": {
"line": 186,
"column": 76
},
"end": {
"line": 186,
"column": 77
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5219,
"end": 5220,
"loc": {
"start": {
"line": 187,
"column": 4
},
"end": {
"line": 187,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {Entity} entity\r\n * @param {number} rotationVariant\r\n * @param {string} variant\r\n ",
"start": 5228,
"end": 5343,
"loc": {
"start": {
"line": 189,
"column": 4
},
"end": {
"line": 193,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "updateVariants",
"start": 5349,
"end": 5363,
"loc": {
"start": {
"line": 194,
"column": 4
},
"end": {
"line": 194,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5363,
"end": 5364,
"loc": {
"start": {
"line": 194,
"column": 18
},
"end": {
"line": 194,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 5364,
"end": 5370,
"loc": {
"start": {
"line": 194,
"column": 19
},
"end": {
"line": 194,
"column": 25
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5370,
"end": 5371,
"loc": {
"start": {
"line": 194,
"column": 25
},
"end": {
"line": 194,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotationVariant",
"start": 5372,
"end": 5387,
"loc": {
"start": {
"line": 194,
"column": 27
},
"end": {
"line": 194,
"column": 42
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5387,
"end": 5388,
"loc": {
"start": {
"line": 194,
"column": 42
},
"end": {
"line": 194,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 5389,
"end": 5396,
"loc": {
"start": {
"line": 194,
"column": 44
},
"end": {
"line": 194,
"column": 51
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5396,
"end": 5397,
"loc": {
"start": {
"line": 194,
"column": 51
},
"end": {
"line": 194,
"column": 52
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5398,
"end": 5399,
"loc": {
"start": {
"line": 194,
"column": 53
},
"end": {
"line": 194,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaBeltBuilding",
"start": 5409,
"end": 5425,
"loc": {
"start": {
"line": 195,
"column": 8
},
"end": {
"line": 195,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5425,
"end": 5426,
"loc": {
"start": {
"line": 195,
"column": 24
},
"end": {
"line": 195,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "componentVariations",
"start": 5426,
"end": 5445,
"loc": {
"start": {
"line": 195,
"column": 25
},
"end": {
"line": 195,
"column": 44
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5445,
"end": 5446,
"loc": {
"start": {
"line": 195,
"column": 44
},
"end": {
"line": 195,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 5446,
"end": 5453,
"loc": {
"start": {
"line": 195,
"column": 45
},
"end": {
"line": 195,
"column": 52
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5453,
"end": 5454,
"loc": {
"start": {
"line": 195,
"column": 52
},
"end": {
"line": 195,
"column": 53
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5454,
"end": 5455,
"loc": {
"start": {
"line": 195,
"column": 53
},
"end": {
"line": 195,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 5455,
"end": 5461,
"loc": {
"start": {
"line": 195,
"column": 54
},
"end": {
"line": 195,
"column": 60
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5461,
"end": 5462,
"loc": {
"start": {
"line": 195,
"column": 60
},
"end": {
"line": 195,
"column": 61
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotationVariant",
"start": 5463,
"end": 5478,
"loc": {
"start": {
"line": 195,
"column": 62
},
"end": {
"line": 195,
"column": 77
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5478,
"end": 5479,
"loc": {
"start": {
"line": 195,
"column": 77
},
"end": {
"line": 195,
"column": 78
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5479,
"end": 5480,
"loc": {
"start": {
"line": 195,
"column": 78
},
"end": {
"line": 195,
"column": 79
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5486,
"end": 5487,
"loc": {
"start": {
"line": 196,
"column": 4
},
"end": {
"line": 196,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Should compute the optimal rotation variant on the given tile\r\n * @param {object} param0\r\n * @param {GameRoot} param0.root\r\n * @param {Vector} param0.tile\r\n * @param {number} param0.rotation\r\n * @param {string} param0.variant\r\n * @param {Layer} param0.layer\r\n * @return {{ rotation: number, rotationVariant: number, connectedEntities?: Array<Entity> }}\r\n ",
"start": 5495,
"end": 5896,
"loc": {
"start": {
"line": 198,
"column": 4
},
"end": {
"line": 207,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "computeOptimalDirectionAndRotationVariantAtTile",
"start": 5902,
"end": 5949,
"loc": {
"start": {
"line": 208,
"column": 4
},
"end": {
"line": 208,
"column": 51
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5949,
"end": 5950,
"loc": {
"start": {
"line": 208,
"column": 51
},
"end": {
"line": 208,
"column": 52
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5950,
"end": 5951,
"loc": {
"start": {
"line": 208,
"column": 52
},
"end": {
"line": 208,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 5952,
"end": 5956,
"loc": {
"start": {
"line": 208,
"column": 54
},
"end": {
"line": 208,
"column": 58
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5956,
"end": 5957,
"loc": {
"start": {
"line": 208,
"column": 58
},
"end": {
"line": 208,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tile",
"start": 5958,
"end": 5962,
"loc": {
"start": {
"line": 208,
"column": 60
},
"end": {
"line": 208,
"column": 64
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5962,
"end": 5963,
"loc": {
"start": {
"line": 208,
"column": 64
},
"end": {
"line": 208,
"column": 65
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotation",
"start": 5964,
"end": 5972,
"loc": {
"start": {
"line": 208,
"column": 66
},
"end": {
"line": 208,
"column": 74
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5972,
"end": 5973,
"loc": {
"start": {
"line": 208,
"column": 74
},
"end": {
"line": 208,
"column": 75
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 5974,
"end": 5981,
"loc": {
"start": {
"line": 208,
"column": 76
},
"end": {
"line": 208,
"column": 83
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5981,
"end": 5982,
"loc": {
"start": {
"line": 208,
"column": 83
},
"end": {
"line": 208,
"column": 84
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "layer",
"start": 5983,
"end": 5988,
"loc": {
"start": {
"line": 208,
"column": 85
},
"end": {
"line": 208,
"column": 90
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5989,
"end": 5990,
"loc": {
"start": {
"line": 208,
"column": 91
},
"end": {
"line": 208,
"column": 92
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5990,
"end": 5991,
"loc": {
"start": {
"line": 208,
"column": 92
},
"end": {
"line": 208,
"column": 93
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5992,
"end": 5993,
"loc": {
"start": {
"line": 208,
"column": 94
},
"end": {
"line": 208,
"column": 95
}
}
},
{
"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": 6003,
"end": 6008,
"loc": {
"start": {
"line": 209,
"column": 8
},
"end": {
"line": 209,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "topDirection",
"start": 6009,
"end": 6021,
"loc": {
"start": {
"line": 209,
"column": 14
},
"end": {
"line": 209,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6022,
"end": 6023,
"loc": {
"start": {
"line": 209,
"column": 27
},
"end": {
"line": 209,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumAngleToDirection",
"start": 6024,
"end": 6044,
"loc": {
"start": {
"line": 209,
"column": 29
},
"end": {
"line": 209,
"column": 49
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6044,
"end": 6045,
"loc": {
"start": {
"line": 209,
"column": 49
},
"end": {
"line": 209,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotation",
"start": 6045,
"end": 6053,
"loc": {
"start": {
"line": 209,
"column": 50
},
"end": {
"line": 209,
"column": 58
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6053,
"end": 6054,
"loc": {
"start": {
"line": 209,
"column": 58
},
"end": {
"line": 209,
"column": 59
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6054,
"end": 6055,
"loc": {
"start": {
"line": 209,
"column": 59
},
"end": {
"line": 209,
"column": 60
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 6065,
"end": 6070,
"loc": {
"start": {
"line": 210,
"column": 8
},
"end": {
"line": 210,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rightDirection",
"start": 6071,
"end": 6085,
"loc": {
"start": {
"line": 210,
"column": 14
},
"end": {
"line": 210,
"column": 28
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6086,
"end": 6087,
"loc": {
"start": {
"line": 210,
"column": 29
},
"end": {
"line": 210,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumAngleToDirection",
"start": 6088,
"end": 6108,
"loc": {
"start": {
"line": 210,
"column": 31
},
"end": {
"line": 210,
"column": 51
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6108,
"end": 6109,
"loc": {
"start": {
"line": 210,
"column": 51
},
"end": {
"line": 210,
"column": 52
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6109,
"end": 6110,
"loc": {
"start": {
"line": 210,
"column": 52
},
"end": {
"line": 210,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotation",
"start": 6110,
"end": 6118,
"loc": {
"start": {
"line": 210,
"column": 53
},
"end": {
"line": 210,
"column": 61
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 6119,
"end": 6120,
"loc": {
"start": {
"line": 210,
"column": 62
},
"end": {
"line": 210,
"column": 63
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 90,
"start": 6121,
"end": 6123,
"loc": {
"start": {
"line": 210,
"column": 64
},
"end": {
"line": 210,
"column": 66
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6123,
"end": 6124,
"loc": {
"start": {
"line": 210,
"column": 66
},
"end": {
"line": 210,
"column": 67
}
}
},
{
"type": {
"label": "%",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "%",
"start": 6125,
"end": 6126,
"loc": {
"start": {
"line": 210,
"column": 68
},
"end": {
"line": 210,
"column": 69
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 360,
"start": 6127,
"end": 6130,
"loc": {
"start": {
"line": 210,
"column": 70
},
"end": {
"line": 210,
"column": 73
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6130,
"end": 6131,
"loc": {
"start": {
"line": 210,
"column": 73
},
"end": {
"line": 210,
"column": 74
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6131,
"end": 6132,
"loc": {
"start": {
"line": 210,
"column": 74
},
"end": {
"line": 210,
"column": 75
}
}
},
{
"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": 6142,
"end": 6147,
"loc": {
"start": {
"line": 211,
"column": 8
},
"end": {
"line": 211,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bottomDirection",
"start": 6148,
"end": 6163,
"loc": {
"start": {
"line": 211,
"column": 14
},
"end": {
"line": 211,
"column": 29
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6164,
"end": 6165,
"loc": {
"start": {
"line": 211,
"column": 30
},
"end": {
"line": 211,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumAngleToDirection",
"start": 6166,
"end": 6186,
"loc": {
"start": {
"line": 211,
"column": 32
},
"end": {
"line": 211,
"column": 52
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6186,
"end": 6187,
"loc": {
"start": {
"line": 211,
"column": 52
},
"end": {
"line": 211,
"column": 53
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6187,
"end": 6188,
"loc": {
"start": {
"line": 211,
"column": 53
},
"end": {
"line": 211,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotation",
"start": 6188,
"end": 6196,
"loc": {
"start": {
"line": 211,
"column": 54
},
"end": {
"line": 211,
"column": 62
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 6197,
"end": 6198,
"loc": {
"start": {
"line": 211,
"column": 63
},
"end": {
"line": 211,
"column": 64
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 180,
"start": 6199,
"end": 6202,
"loc": {
"start": {
"line": 211,
"column": 65
},
"end": {
"line": 211,
"column": 68
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6202,
"end": 6203,
"loc": {
"start": {
"line": 211,
"column": 68
},
"end": {
"line": 211,
"column": 69
}
}
},
{
"type": {
"label": "%",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "%",
"start": 6204,
"end": 6205,
"loc": {
"start": {
"line": 211,
"column": 70
},
"end": {
"line": 211,
"column": 71
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 360,
"start": 6206,
"end": 6209,
"loc": {
"start": {
"line": 211,
"column": 72
},
"end": {
"line": 211,
"column": 75
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6209,
"end": 6210,
"loc": {
"start": {
"line": 211,
"column": 75
},
"end": {
"line": 211,
"column": 76
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6210,
"end": 6211,
"loc": {
"start": {
"line": 211,
"column": 76
},
"end": {
"line": 211,
"column": 77
}
}
},
{
"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": 6221,
"end": 6226,
"loc": {
"start": {
"line": 212,
"column": 8
},
"end": {
"line": 212,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "leftDirection",
"start": 6227,
"end": 6240,
"loc": {
"start": {
"line": 212,
"column": 14
},
"end": {
"line": 212,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6241,
"end": 6242,
"loc": {
"start": {
"line": 212,
"column": 28
},
"end": {
"line": 212,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumAngleToDirection",
"start": 6243,
"end": 6263,
"loc": {
"start": {
"line": 212,
"column": 30
},
"end": {
"line": 212,
"column": 50
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6263,
"end": 6264,
"loc": {
"start": {
"line": 212,
"column": 50
},
"end": {
"line": 212,
"column": 51
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6264,
"end": 6265,
"loc": {
"start": {
"line": 212,
"column": 51
},
"end": {
"line": 212,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotation",
"start": 6265,
"end": 6273,
"loc": {
"start": {
"line": 212,
"column": 52
},
"end": {
"line": 212,
"column": 60
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 6274,
"end": 6275,
"loc": {
"start": {
"line": 212,
"column": 61
},
"end": {
"line": 212,
"column": 62
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 270,
"start": 6276,
"end": 6279,
"loc": {
"start": {
"line": 212,
"column": 63
},
"end": {
"line": 212,
"column": 66
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6279,
"end": 6280,
"loc": {
"start": {
"line": 212,
"column": 66
},
"end": {
"line": 212,
"column": 67
}
}
},
{
"type": {
"label": "%",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "%",
"start": 6281,
"end": 6282,
"loc": {
"start": {
"line": 212,
"column": 68
},
"end": {
"line": 212,
"column": 69
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 360,
"start": 6283,
"end": 6286,
"loc": {
"start": {
"line": 212,
"column": 70
},
"end": {
"line": 212,
"column": 73
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6286,
"end": 6287,
"loc": {
"start": {
"line": 212,
"column": 73
},
"end": {
"line": 212,
"column": 74
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6287,
"end": 6288,
"loc": {
"start": {
"line": 212,
"column": 74
},
"end": {
"line": 212,
"column": 75
}
}
},
{
"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": 6300,
"end": 6305,
"loc": {
"start": {
"line": 214,
"column": 8
},
"end": {
"line": 214,
"column": 13
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6306,
"end": 6307,
"loc": {
"start": {
"line": 214,
"column": 14
},
"end": {
"line": 214,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ejectors",
"start": 6308,
"end": 6316,
"loc": {
"start": {
"line": 214,
"column": 16
},
"end": {
"line": 214,
"column": 24
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6316,
"end": 6317,
"loc": {
"start": {
"line": 214,
"column": 24
},
"end": {
"line": 214,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "acceptors",
"start": 6318,
"end": 6327,
"loc": {
"start": {
"line": 214,
"column": 26
},
"end": {
"line": 214,
"column": 35
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6328,
"end": 6329,
"loc": {
"start": {
"line": 214,
"column": 36
},
"end": {
"line": 214,
"column": 37
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6330,
"end": 6331,
"loc": {
"start": {
"line": 214,
"column": 38
},
"end": {
"line": 214,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 6332,
"end": 6336,
"loc": {
"start": {
"line": 214,
"column": 40
},
"end": {
"line": 214,
"column": 44
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6336,
"end": 6337,
"loc": {
"start": {
"line": 214,
"column": 44
},
"end": {
"line": 214,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logic",
"start": 6337,
"end": 6342,
"loc": {
"start": {
"line": 214,
"column": 45
},
"end": {
"line": 214,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6342,
"end": 6343,
"loc": {
"start": {
"line": 214,
"column": 50
},
"end": {
"line": 214,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getEjectorsAndAcceptorsAtTile",
"start": 6343,
"end": 6372,
"loc": {
"start": {
"line": 214,
"column": 51
},
"end": {
"line": 214,
"column": 80
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6372,
"end": 6373,
"loc": {
"start": {
"line": 214,
"column": 80
},
"end": {
"line": 214,
"column": 81
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tile",
"start": 6373,
"end": 6377,
"loc": {
"start": {
"line": 214,
"column": 81
},
"end": {
"line": 214,
"column": 85
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6377,
"end": 6378,
"loc": {
"start": {
"line": 214,
"column": 85
},
"end": {
"line": 214,
"column": 86
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6378,
"end": 6379,
"loc": {
"start": {
"line": 214,
"column": 86
},
"end": {
"line": 214,
"column": 87
}
}
},
{
"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": 6391,
"end": 6394,
"loc": {
"start": {
"line": 216,
"column": 8
},
"end": {
"line": 216,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hasBottomEjector",
"start": 6395,
"end": 6411,
"loc": {
"start": {
"line": 216,
"column": 12
},
"end": {
"line": 216,
"column": 28
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6412,
"end": 6413,
"loc": {
"start": {
"line": 216,
"column": 29
},
"end": {
"line": 216,
"column": 30
}
}
},
{
"type": {
"label": "false",
"keyword": "false",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "false",
"start": 6414,
"end": 6419,
"loc": {
"start": {
"line": 216,
"column": 31
},
"end": {
"line": 216,
"column": 36
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6419,
"end": 6420,
"loc": {
"start": {
"line": 216,
"column": 36
},
"end": {
"line": 216,
"column": 37
}
}
},
{
"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": 6430,
"end": 6433,
"loc": {
"start": {
"line": 217,
"column": 8
},
"end": {
"line": 217,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hasRightEjector",
"start": 6434,
"end": 6449,
"loc": {
"start": {
"line": 217,
"column": 12
},
"end": {
"line": 217,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6450,
"end": 6451,
"loc": {
"start": {
"line": 217,
"column": 28
},
"end": {
"line": 217,
"column": 29
}
}
},
{
"type": {
"label": "false",
"keyword": "false",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "false",
"start": 6452,
"end": 6457,
"loc": {
"start": {
"line": 217,
"column": 30
},
"end": {
"line": 217,
"column": 35
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6457,
"end": 6458,
"loc": {
"start": {
"line": 217,
"column": 35
},
"end": {
"line": 217,
"column": 36
}
}
},
{
"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": 6468,
"end": 6471,
"loc": {
"start": {
"line": 218,
"column": 8
},
"end": {
"line": 218,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hasLeftEjector",
"start": 6472,
"end": 6486,
"loc": {
"start": {
"line": 218,
"column": 12
},
"end": {
"line": 218,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6487,
"end": 6488,
"loc": {
"start": {
"line": 218,
"column": 27
},
"end": {
"line": 218,
"column": 28
}
}
},
{
"type": {
"label": "false",
"keyword": "false",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "false",
"start": 6489,
"end": 6494,
"loc": {
"start": {
"line": 218,
"column": 29
},
"end": {
"line": 218,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6494,
"end": 6495,
"loc": {
"start": {
"line": 218,
"column": 34
},
"end": {
"line": 218,
"column": 35
}
}
},
{
"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": 6507,
"end": 6510,
"loc": {
"start": {
"line": 220,
"column": 8
},
"end": {
"line": 220,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hasTopAcceptor",
"start": 6511,
"end": 6525,
"loc": {
"start": {
"line": 220,
"column": 12
},
"end": {
"line": 220,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6526,
"end": 6527,
"loc": {
"start": {
"line": 220,
"column": 27
},
"end": {
"line": 220,
"column": 28
}
}
},
{
"type": {
"label": "false",
"keyword": "false",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "false",
"start": 6528,
"end": 6533,
"loc": {
"start": {
"line": 220,
"column": 29
},
"end": {
"line": 220,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6533,
"end": 6534,
"loc": {
"start": {
"line": 220,
"column": 34
},
"end": {
"line": 220,
"column": 35
}
}
},
{
"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": 6544,
"end": 6547,
"loc": {
"start": {
"line": 221,
"column": 8
},
"end": {
"line": 221,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hasLeftAcceptor",
"start": 6548,
"end": 6563,
"loc": {
"start": {
"line": 221,
"column": 12
},
"end": {
"line": 221,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6564,
"end": 6565,
"loc": {
"start": {
"line": 221,
"column": 28
},
"end": {
"line": 221,
"column": 29
}
}
},
{
"type": {
"label": "false",
"keyword": "false",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "false",
"start": 6566,
"end": 6571,
"loc": {
"start": {
"line": 221,
"column": 30
},
"end": {
"line": 221,
"column": 35
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6571,
"end": 6572,
"loc": {
"start": {
"line": 221,
"column": 35
},
"end": {
"line": 221,
"column": 36
}
}
},
{
"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": 6582,
"end": 6585,
"loc": {
"start": {
"line": 222,
"column": 8
},
"end": {
"line": 222,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hasRightAcceptor",
"start": 6586,
"end": 6602,
"loc": {
"start": {
"line": 222,
"column": 12
},
"end": {
"line": 222,
"column": 28
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6603,
"end": 6604,
"loc": {
"start": {
"line": 222,
"column": 29
},
"end": {
"line": 222,
"column": 30
}
}
},
{
"type": {
"label": "false",
"keyword": "false",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "false",
"start": 6605,
"end": 6610,
"loc": {
"start": {
"line": 222,
"column": 31
},
"end": {
"line": 222,
"column": 36
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6610,
"end": 6611,
"loc": {
"start": {
"line": 222,
"column": 36
},
"end": {
"line": 222,
"column": 37
}
}
},
{
"type": "CommentLine",
"value": " Check all ejectors",
"start": 6623,
"end": 6644,
"loc": {
"start": {
"line": 224,
"column": 8
},
"end": {
"line": 224,
"column": 29
}
}
},
{
"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": 6654,
"end": 6657,
"loc": {
"start": {
"line": 225,
"column": 8
},
"end": {
"line": 225,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6658,
"end": 6659,
"loc": {
"start": {
"line": 225,
"column": 12
},
"end": {
"line": 225,
"column": 13
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 6659,
"end": 6662,
"loc": {
"start": {
"line": 225,
"column": 13
},
"end": {
"line": 225,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 6663,
"end": 6664,
"loc": {
"start": {
"line": 225,
"column": 17
},
"end": {
"line": 225,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6665,
"end": 6666,
"loc": {
"start": {
"line": 225,
"column": 19
},
"end": {
"line": 225,
"column": 20
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 6667,
"end": 6668,
"loc": {
"start": {
"line": 225,
"column": 21
},
"end": {
"line": 225,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6668,
"end": 6669,
"loc": {
"start": {
"line": 225,
"column": 22
},
"end": {
"line": 225,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 6670,
"end": 6671,
"loc": {
"start": {
"line": 225,
"column": 24
},
"end": {
"line": 225,
"column": 25
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 6672,
"end": 6673,
"loc": {
"start": {
"line": 225,
"column": 26
},
"end": {
"line": 225,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ejectors",
"start": 6674,
"end": 6682,
"loc": {
"start": {
"line": 225,
"column": 28
},
"end": {
"line": 225,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6682,
"end": 6683,
"loc": {
"start": {
"line": 225,
"column": 36
},
"end": {
"line": 225,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 6683,
"end": 6689,
"loc": {
"start": {
"line": 225,
"column": 37
},
"end": {
"line": 225,
"column": 43
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6689,
"end": 6690,
"loc": {
"start": {
"line": 225,
"column": 43
},
"end": {
"line": 225,
"column": 44
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 6691,
"end": 6693,
"loc": {
"start": {
"line": 225,
"column": 45
},
"end": {
"line": 225,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 6693,
"end": 6694,
"loc": {
"start": {
"line": 225,
"column": 47
},
"end": {
"line": 225,
"column": 48
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6694,
"end": 6695,
"loc": {
"start": {
"line": 225,
"column": 48
},
"end": {
"line": 225,
"column": 49
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6696,
"end": 6697,
"loc": {
"start": {
"line": 225,
"column": 50
},
"end": {
"line": 225,
"column": 51
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 6711,
"end": 6716,
"loc": {
"start": {
"line": 226,
"column": 12
},
"end": {
"line": 226,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ejector",
"start": 6717,
"end": 6724,
"loc": {
"start": {
"line": 226,
"column": 18
},
"end": {
"line": 226,
"column": 25
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6725,
"end": 6726,
"loc": {
"start": {
"line": 226,
"column": 26
},
"end": {
"line": 226,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ejectors",
"start": 6727,
"end": 6735,
"loc": {
"start": {
"line": 226,
"column": 28
},
"end": {
"line": 226,
"column": 36
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6735,
"end": 6736,
"loc": {
"start": {
"line": 226,
"column": 36
},
"end": {
"line": 226,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 6736,
"end": 6737,
"loc": {
"start": {
"line": 226,
"column": 37
},
"end": {
"line": 226,
"column": 38
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6737,
"end": 6738,
"loc": {
"start": {
"line": 226,
"column": 38
},
"end": {
"line": 226,
"column": 39
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6738,
"end": 6739,
"loc": {
"start": {
"line": 226,
"column": 39
},
"end": {
"line": 226,
"column": 40
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 6755,
"end": 6757,
"loc": {
"start": {
"line": 228,
"column": 12
},
"end": {
"line": 228,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6758,
"end": 6759,
"loc": {
"start": {
"line": 228,
"column": 15
},
"end": {
"line": 228,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ejector",
"start": 6759,
"end": 6766,
"loc": {
"start": {
"line": 228,
"column": 16
},
"end": {
"line": 228,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6766,
"end": 6767,
"loc": {
"start": {
"line": 228,
"column": 23
},
"end": {
"line": 228,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "toDirection",
"start": 6767,
"end": 6778,
"loc": {
"start": {
"line": 228,
"column": 24
},
"end": {
"line": 228,
"column": 35
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 6779,
"end": 6782,
"loc": {
"start": {
"line": 228,
"column": 36
},
"end": {
"line": 228,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "topDirection",
"start": 6783,
"end": 6795,
"loc": {
"start": {
"line": 228,
"column": 40
},
"end": {
"line": 228,
"column": 52
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6795,
"end": 6796,
"loc": {
"start": {
"line": 228,
"column": 52
},
"end": {
"line": 228,
"column": 53
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6797,
"end": 6798,
"loc": {
"start": {
"line": 228,
"column": 54
},
"end": {
"line": 228,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hasBottomEjector",
"start": 6816,
"end": 6832,
"loc": {
"start": {
"line": 229,
"column": 16
},
"end": {
"line": 229,
"column": 32
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6833,
"end": 6834,
"loc": {
"start": {
"line": 229,
"column": 33
},
"end": {
"line": 229,
"column": 34
}
}
},
{
"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": 6835,
"end": 6839,
"loc": {
"start": {
"line": 229,
"column": 35
},
"end": {
"line": 229,
"column": 39
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6839,
"end": 6840,
"loc": {
"start": {
"line": 229,
"column": 39
},
"end": {
"line": 229,
"column": 40
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6854,
"end": 6855,
"loc": {
"start": {
"line": 230,
"column": 12
},
"end": {
"line": 230,
"column": 13
}
}
},
{
"type": {
"label": "else",
"keyword": "else",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "else",
"start": 6856,
"end": 6860,
"loc": {
"start": {
"line": 230,
"column": 14
},
"end": {
"line": 230,
"column": 18
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 6861,
"end": 6863,
"loc": {
"start": {
"line": 230,
"column": 19
},
"end": {
"line": 230,
"column": 21
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6864,
"end": 6865,
"loc": {
"start": {
"line": 230,
"column": 22
},
"end": {
"line": 230,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ejector",
"start": 6865,
"end": 6872,
"loc": {
"start": {
"line": 230,
"column": 23
},
"end": {
"line": 230,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6872,
"end": 6873,
"loc": {
"start": {
"line": 230,
"column": 30
},
"end": {
"line": 230,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "toDirection",
"start": 6873,
"end": 6884,
"loc": {
"start": {
"line": 230,
"column": 31
},
"end": {
"line": 230,
"column": 42
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 6885,
"end": 6888,
"loc": {
"start": {
"line": 230,
"column": 43
},
"end": {
"line": 230,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "leftDirection",
"start": 6889,
"end": 6902,
"loc": {
"start": {
"line": 230,
"column": 47
},
"end": {
"line": 230,
"column": 60
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6902,
"end": 6903,
"loc": {
"start": {
"line": 230,
"column": 60
},
"end": {
"line": 230,
"column": 61
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6904,
"end": 6905,
"loc": {
"start": {
"line": 230,
"column": 62
},
"end": {
"line": 230,
"column": 63
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hasRightEjector",
"start": 6923,
"end": 6938,
"loc": {
"start": {
"line": 231,
"column": 16
},
"end": {
"line": 231,
"column": 31
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6939,
"end": 6940,
"loc": {
"start": {
"line": 231,
"column": 32
},
"end": {
"line": 231,
"column": 33
}
}
},
{
"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": 6941,
"end": 6945,
"loc": {
"start": {
"line": 231,
"column": 34
},
"end": {
"line": 231,
"column": 38
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6945,
"end": 6946,
"loc": {
"start": {
"line": 231,
"column": 38
},
"end": {
"line": 231,
"column": 39
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6960,
"end": 6961,
"loc": {
"start": {
"line": 232,
"column": 12
},
"end": {
"line": 232,
"column": 13
}
}
},
{
"type": {
"label": "else",
"keyword": "else",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "else",
"start": 6962,
"end": 6966,
"loc": {
"start": {
"line": 232,
"column": 14
},
"end": {
"line": 232,
"column": 18
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 6967,
"end": 6969,
"loc": {
"start": {
"line": 232,
"column": 19
},
"end": {
"line": 232,
"column": 21
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6970,
"end": 6971,
"loc": {
"start": {
"line": 232,
"column": 22
},
"end": {
"line": 232,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ejector",
"start": 6971,
"end": 6978,
"loc": {
"start": {
"line": 232,
"column": 23
},
"end": {
"line": 232,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6978,
"end": 6979,
"loc": {
"start": {
"line": 232,
"column": 30
},
"end": {
"line": 232,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "toDirection",
"start": 6979,
"end": 6990,
"loc": {
"start": {
"line": 232,
"column": 31
},
"end": {
"line": 232,
"column": 42
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 6991,
"end": 6994,
"loc": {
"start": {
"line": 232,
"column": 43
},
"end": {
"line": 232,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rightDirection",
"start": 6995,
"end": 7009,
"loc": {
"start": {
"line": 232,
"column": 47
},
"end": {
"line": 232,
"column": 61
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7009,
"end": 7010,
"loc": {
"start": {
"line": 232,
"column": 61
},
"end": {
"line": 232,
"column": 62
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7011,
"end": 7012,
"loc": {
"start": {
"line": 232,
"column": 63
},
"end": {
"line": 232,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hasLeftEjector",
"start": 7030,
"end": 7044,
"loc": {
"start": {
"line": 233,
"column": 16
},
"end": {
"line": 233,
"column": 30
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7045,
"end": 7046,
"loc": {
"start": {
"line": 233,
"column": 31
},
"end": {
"line": 233,
"column": 32
}
}
},
{
"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": 7047,
"end": 7051,
"loc": {
"start": {
"line": 233,
"column": 33
},
"end": {
"line": 233,
"column": 37
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7051,
"end": 7052,
"loc": {
"start": {
"line": 233,
"column": 37
},
"end": {
"line": 233,
"column": 38
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7066,
"end": 7067,
"loc": {
"start": {
"line": 234,
"column": 12
},
"end": {
"line": 234,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7077,
"end": 7078,
"loc": {
"start": {
"line": 235,
"column": 8
},
"end": {
"line": 235,
"column": 9
}
}
},
{
"type": "CommentLine",
"value": " Check all acceptors",
"start": 7090,
"end": 7112,
"loc": {
"start": {
"line": 237,
"column": 8
},
"end": {
"line": 237,
"column": 30
}
}
},
{
"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": 7122,
"end": 7125,
"loc": {
"start": {
"line": 238,
"column": 8
},
"end": {
"line": 238,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7126,
"end": 7127,
"loc": {
"start": {
"line": 238,
"column": 12
},
"end": {
"line": 238,
"column": 13
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 7127,
"end": 7130,
"loc": {
"start": {
"line": 238,
"column": 13
},
"end": {
"line": 238,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 7131,
"end": 7132,
"loc": {
"start": {
"line": 238,
"column": 17
},
"end": {
"line": 238,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7133,
"end": 7134,
"loc": {
"start": {
"line": 238,
"column": 19
},
"end": {
"line": 238,
"column": 20
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 7135,
"end": 7136,
"loc": {
"start": {
"line": 238,
"column": 21
},
"end": {
"line": 238,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7136,
"end": 7137,
"loc": {
"start": {
"line": 238,
"column": 22
},
"end": {
"line": 238,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 7138,
"end": 7139,
"loc": {
"start": {
"line": 238,
"column": 24
},
"end": {
"line": 238,
"column": 25
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 7140,
"end": 7141,
"loc": {
"start": {
"line": 238,
"column": 26
},
"end": {
"line": 238,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "acceptors",
"start": 7142,
"end": 7151,
"loc": {
"start": {
"line": 238,
"column": 28
},
"end": {
"line": 238,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7151,
"end": 7152,
"loc": {
"start": {
"line": 238,
"column": 37
},
"end": {
"line": 238,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 7152,
"end": 7158,
"loc": {
"start": {
"line": 238,
"column": 38
},
"end": {
"line": 238,
"column": 44
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7158,
"end": 7159,
"loc": {
"start": {
"line": 238,
"column": 44
},
"end": {
"line": 238,
"column": 45
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 7160,
"end": 7162,
"loc": {
"start": {
"line": 238,
"column": 46
},
"end": {
"line": 238,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 7162,
"end": 7163,
"loc": {
"start": {
"line": 238,
"column": 48
},
"end": {
"line": 238,
"column": 49
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7163,
"end": 7164,
"loc": {
"start": {
"line": 238,
"column": 49
},
"end": {
"line": 238,
"column": 50
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7165,
"end": 7166,
"loc": {
"start": {
"line": 238,
"column": 51
},
"end": {
"line": 238,
"column": 52
}
}
},
{
"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": 7180,
"end": 7185,
"loc": {
"start": {
"line": 239,
"column": 12
},
"end": {
"line": 239,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "acceptor",
"start": 7186,
"end": 7194,
"loc": {
"start": {
"line": 239,
"column": 18
},
"end": {
"line": 239,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7195,
"end": 7196,
"loc": {
"start": {
"line": 239,
"column": 27
},
"end": {
"line": 239,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "acceptors",
"start": 7197,
"end": 7206,
"loc": {
"start": {
"line": 239,
"column": 29
},
"end": {
"line": 239,
"column": 38
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7206,
"end": 7207,
"loc": {
"start": {
"line": 239,
"column": 38
},
"end": {
"line": 239,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 7207,
"end": 7208,
"loc": {
"start": {
"line": 239,
"column": 39
},
"end": {
"line": 239,
"column": 40
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7208,
"end": 7209,
"loc": {
"start": {
"line": 239,
"column": 40
},
"end": {
"line": 239,
"column": 41
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7209,
"end": 7210,
"loc": {
"start": {
"line": 239,
"column": 41
},
"end": {
"line": 239,
"column": 42
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 7224,
"end": 7226,
"loc": {
"start": {
"line": 240,
"column": 12
},
"end": {
"line": 240,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7227,
"end": 7228,
"loc": {
"start": {
"line": 240,
"column": 15
},
"end": {
"line": 240,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "acceptor",
"start": 7228,
"end": 7236,
"loc": {
"start": {
"line": 240,
"column": 16
},
"end": {
"line": 240,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7236,
"end": 7237,
"loc": {
"start": {
"line": 240,
"column": 24
},
"end": {
"line": 240,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fromDirection",
"start": 7237,
"end": 7250,
"loc": {
"start": {
"line": 240,
"column": 25
},
"end": {
"line": 240,
"column": 38
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 7251,
"end": 7254,
"loc": {
"start": {
"line": 240,
"column": 39
},
"end": {
"line": 240,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bottomDirection",
"start": 7255,
"end": 7270,
"loc": {
"start": {
"line": 240,
"column": 43
},
"end": {
"line": 240,
"column": 58
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7270,
"end": 7271,
"loc": {
"start": {
"line": 240,
"column": 58
},
"end": {
"line": 240,
"column": 59
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7272,
"end": 7273,
"loc": {
"start": {
"line": 240,
"column": 60
},
"end": {
"line": 240,
"column": 61
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hasTopAcceptor",
"start": 7291,
"end": 7305,
"loc": {
"start": {
"line": 241,
"column": 16
},
"end": {
"line": 241,
"column": 30
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7306,
"end": 7307,
"loc": {
"start": {
"line": 241,
"column": 31
},
"end": {
"line": 241,
"column": 32
}
}
},
{
"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": 7308,
"end": 7312,
"loc": {
"start": {
"line": 241,
"column": 33
},
"end": {
"line": 241,
"column": 37
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7312,
"end": 7313,
"loc": {
"start": {
"line": 241,
"column": 37
},
"end": {
"line": 241,
"column": 38
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7327,
"end": 7328,
"loc": {
"start": {
"line": 242,
"column": 12
},
"end": {
"line": 242,
"column": 13
}
}
},
{
"type": {
"label": "else",
"keyword": "else",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "else",
"start": 7329,
"end": 7333,
"loc": {
"start": {
"line": 242,
"column": 14
},
"end": {
"line": 242,
"column": 18
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 7334,
"end": 7336,
"loc": {
"start": {
"line": 242,
"column": 19
},
"end": {
"line": 242,
"column": 21
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7337,
"end": 7338,
"loc": {
"start": {
"line": 242,
"column": 22
},
"end": {
"line": 242,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "acceptor",
"start": 7338,
"end": 7346,
"loc": {
"start": {
"line": 242,
"column": 23
},
"end": {
"line": 242,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7346,
"end": 7347,
"loc": {
"start": {
"line": 242,
"column": 31
},
"end": {
"line": 242,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fromDirection",
"start": 7347,
"end": 7360,
"loc": {
"start": {
"line": 242,
"column": 32
},
"end": {
"line": 242,
"column": 45
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 7361,
"end": 7364,
"loc": {
"start": {
"line": 242,
"column": 46
},
"end": {
"line": 242,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rightDirection",
"start": 7365,
"end": 7379,
"loc": {
"start": {
"line": 242,
"column": 50
},
"end": {
"line": 242,
"column": 64
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7379,
"end": 7380,
"loc": {
"start": {
"line": 242,
"column": 64
},
"end": {
"line": 242,
"column": 65
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7381,
"end": 7382,
"loc": {
"start": {
"line": 242,
"column": 66
},
"end": {
"line": 242,
"column": 67
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hasLeftAcceptor",
"start": 7400,
"end": 7415,
"loc": {
"start": {
"line": 243,
"column": 16
},
"end": {
"line": 243,
"column": 31
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7416,
"end": 7417,
"loc": {
"start": {
"line": 243,
"column": 32
},
"end": {
"line": 243,
"column": 33
}
}
},
{
"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": 7418,
"end": 7422,
"loc": {
"start": {
"line": 243,
"column": 34
},
"end": {
"line": 243,
"column": 38
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7422,
"end": 7423,
"loc": {
"start": {
"line": 243,
"column": 38
},
"end": {
"line": 243,
"column": 39
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7437,
"end": 7438,
"loc": {
"start": {
"line": 244,
"column": 12
},
"end": {
"line": 244,
"column": 13
}
}
},
{
"type": {
"label": "else",
"keyword": "else",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "else",
"start": 7439,
"end": 7443,
"loc": {
"start": {
"line": 244,
"column": 14
},
"end": {
"line": 244,
"column": 18
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 7444,
"end": 7446,
"loc": {
"start": {
"line": 244,
"column": 19
},
"end": {
"line": 244,
"column": 21
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7447,
"end": 7448,
"loc": {
"start": {
"line": 244,
"column": 22
},
"end": {
"line": 244,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "acceptor",
"start": 7448,
"end": 7456,
"loc": {
"start": {
"line": 244,
"column": 23
},
"end": {
"line": 244,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7456,
"end": 7457,
"loc": {
"start": {
"line": 244,
"column": 31
},
"end": {
"line": 244,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fromDirection",
"start": 7457,
"end": 7470,
"loc": {
"start": {
"line": 244,
"column": 32
},
"end": {
"line": 244,
"column": 45
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 7471,
"end": 7474,
"loc": {
"start": {
"line": 244,
"column": 46
},
"end": {
"line": 244,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "leftDirection",
"start": 7475,
"end": 7488,
"loc": {
"start": {
"line": 244,
"column": 50
},
"end": {
"line": 244,
"column": 63
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7488,
"end": 7489,
"loc": {
"start": {
"line": 244,
"column": 63
},
"end": {
"line": 244,
"column": 64
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7490,
"end": 7491,
"loc": {
"start": {
"line": 244,
"column": 65
},
"end": {
"line": 244,
"column": 66
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hasRightAcceptor",
"start": 7509,
"end": 7525,
"loc": {
"start": {
"line": 245,
"column": 16
},
"end": {
"line": 245,
"column": 32
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7526,
"end": 7527,
"loc": {
"start": {
"line": 245,
"column": 33
},
"end": {
"line": 245,
"column": 34
}
}
},
{
"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": 7528,
"end": 7532,
"loc": {
"start": {
"line": 245,
"column": 35
},
"end": {
"line": 245,
"column": 39
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7532,
"end": 7533,
"loc": {
"start": {
"line": 245,
"column": 39
},
"end": {
"line": 245,
"column": 40
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7547,
"end": 7548,
"loc": {
"start": {
"line": 246,
"column": 12
},
"end": {
"line": 246,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7558,
"end": 7559,
"loc": {
"start": {
"line": 247,
"column": 8
},
"end": {
"line": 247,
"column": 9
}
}
},
{
"type": "CommentLine",
"value": " Soo .. if there is any ejector below us we always prioritize",
"start": 7571,
"end": 7634,
"loc": {
"start": {
"line": 249,
"column": 8
},
"end": {
"line": 249,
"column": 71
}
}
},
{
"type": "CommentLine",
"value": " this ejector",
"start": 7644,
"end": 7659,
"loc": {
"start": {
"line": 250,
"column": 8
},
"end": {
"line": 250,
"column": 23
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 7669,
"end": 7671,
"loc": {
"start": {
"line": 251,
"column": 8
},
"end": {
"line": 251,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7672,
"end": 7673,
"loc": {
"start": {
"line": 251,
"column": 11
},
"end": {
"line": 251,
"column": 12
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 7673,
"end": 7674,
"loc": {
"start": {
"line": 251,
"column": 12
},
"end": {
"line": 251,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hasBottomEjector",
"start": 7674,
"end": 7690,
"loc": {
"start": {
"line": 251,
"column": 13
},
"end": {
"line": 251,
"column": 29
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7690,
"end": 7691,
"loc": {
"start": {
"line": 251,
"column": 29
},
"end": {
"line": 251,
"column": 30
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7692,
"end": 7693,
"loc": {
"start": {
"line": 251,
"column": 31
},
"end": {
"line": 251,
"column": 32
}
}
},
{
"type": "CommentLine",
"value": " When something ejects to us from the left and nothing from the right,",
"start": 7707,
"end": 7779,
"loc": {
"start": {
"line": 252,
"column": 12
},
"end": {
"line": 252,
"column": 84
}
}
},
{
"type": "CommentLine",
"value": " do a curve from the left to the top",
"start": 7793,
"end": 7831,
"loc": {
"start": {
"line": 253,
"column": 12
},
"end": {
"line": 253,
"column": 50
}
}
},
{
"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": 7847,
"end": 7849,
"loc": {
"start": {
"line": 255,
"column": 12
},
"end": {
"line": 255,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7850,
"end": 7851,
"loc": {
"start": {
"line": 255,
"column": 15
},
"end": {
"line": 255,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hasRightEjector",
"start": 7851,
"end": 7866,
"loc": {
"start": {
"line": 255,
"column": 16
},
"end": {
"line": 255,
"column": 31
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 7867,
"end": 7869,
"loc": {
"start": {
"line": 255,
"column": 32
},
"end": {
"line": 255,
"column": 34
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 7870,
"end": 7871,
"loc": {
"start": {
"line": 255,
"column": 35
},
"end": {
"line": 255,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hasLeftEjector",
"start": 7871,
"end": 7885,
"loc": {
"start": {
"line": 255,
"column": 36
},
"end": {
"line": 255,
"column": 50
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7885,
"end": 7886,
"loc": {
"start": {
"line": 255,
"column": 50
},
"end": {
"line": 255,
"column": 51
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7887,
"end": 7888,
"loc": {
"start": {
"line": 255,
"column": 52
},
"end": {
"line": 255,
"column": 53
}
}
},
{
"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": 7906,
"end": 7912,
"loc": {
"start": {
"line": 256,
"column": 16
},
"end": {
"line": 256,
"column": 22
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7913,
"end": 7914,
"loc": {
"start": {
"line": 256,
"column": 23
},
"end": {
"line": 256,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotation",
"start": 7936,
"end": 7944,
"loc": {
"start": {
"line": 257,
"column": 20
},
"end": {
"line": 257,
"column": 28
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7944,
"end": 7945,
"loc": {
"start": {
"line": 257,
"column": 28
},
"end": {
"line": 257,
"column": 29
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7946,
"end": 7947,
"loc": {
"start": {
"line": 257,
"column": 30
},
"end": {
"line": 257,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotation",
"start": 7947,
"end": 7955,
"loc": {
"start": {
"line": 257,
"column": 31
},
"end": {
"line": 257,
"column": 39
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 7956,
"end": 7957,
"loc": {
"start": {
"line": 257,
"column": 40
},
"end": {
"line": 257,
"column": 41
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 270,
"start": 7958,
"end": 7961,
"loc": {
"start": {
"line": 257,
"column": 42
},
"end": {
"line": 257,
"column": 45
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7961,
"end": 7962,
"loc": {
"start": {
"line": 257,
"column": 45
},
"end": {
"line": 257,
"column": 46
}
}
},
{
"type": {
"label": "%",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "%",
"start": 7963,
"end": 7964,
"loc": {
"start": {
"line": 257,
"column": 47
},
"end": {
"line": 257,
"column": 48
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 360,
"start": 7965,
"end": 7968,
"loc": {
"start": {
"line": 257,
"column": 49
},
"end": {
"line": 257,
"column": 52
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7968,
"end": 7969,
"loc": {
"start": {
"line": 257,
"column": 52
},
"end": {
"line": 257,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotationVariant",
"start": 7991,
"end": 8006,
"loc": {
"start": {
"line": 258,
"column": 20
},
"end": {
"line": 258,
"column": 35
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8006,
"end": 8007,
"loc": {
"start": {
"line": 258,
"column": 35
},
"end": {
"line": 258,
"column": 36
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 2,
"start": 8008,
"end": 8009,
"loc": {
"start": {
"line": 258,
"column": 37
},
"end": {
"line": 258,
"column": 38
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8009,
"end": 8010,
"loc": {
"start": {
"line": 258,
"column": 38
},
"end": {
"line": 258,
"column": 39
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8028,
"end": 8029,
"loc": {
"start": {
"line": 259,
"column": 16
},
"end": {
"line": 259,
"column": 17
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8029,
"end": 8030,
"loc": {
"start": {
"line": 259,
"column": 17
},
"end": {
"line": 259,
"column": 18
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8044,
"end": 8045,
"loc": {
"start": {
"line": 260,
"column": 12
},
"end": {
"line": 260,
"column": 13
}
}
},
{
"type": "CommentLine",
"value": " When something ejects to us from the right and nothing from the left,",
"start": 8061,
"end": 8133,
"loc": {
"start": {
"line": 262,
"column": 12
},
"end": {
"line": 262,
"column": 84
}
}
},
{
"type": "CommentLine",
"value": " do a curve from the right to the top",
"start": 8147,
"end": 8186,
"loc": {
"start": {
"line": 263,
"column": 12
},
"end": {
"line": 263,
"column": 51
}
}
},
{
"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": 8200,
"end": 8202,
"loc": {
"start": {
"line": 264,
"column": 12
},
"end": {
"line": 264,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8203,
"end": 8204,
"loc": {
"start": {
"line": 264,
"column": 15
},
"end": {
"line": 264,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hasLeftEjector",
"start": 8204,
"end": 8218,
"loc": {
"start": {
"line": 264,
"column": 16
},
"end": {
"line": 264,
"column": 30
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 8219,
"end": 8221,
"loc": {
"start": {
"line": 264,
"column": 31
},
"end": {
"line": 264,
"column": 33
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 8222,
"end": 8223,
"loc": {
"start": {
"line": 264,
"column": 34
},
"end": {
"line": 264,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hasRightEjector",
"start": 8223,
"end": 8238,
"loc": {
"start": {
"line": 264,
"column": 35
},
"end": {
"line": 264,
"column": 50
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8238,
"end": 8239,
"loc": {
"start": {
"line": 264,
"column": 50
},
"end": {
"line": 264,
"column": 51
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8240,
"end": 8241,
"loc": {
"start": {
"line": 264,
"column": 52
},
"end": {
"line": 264,
"column": 53
}
}
},
{
"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": 8259,
"end": 8265,
"loc": {
"start": {
"line": 265,
"column": 16
},
"end": {
"line": 265,
"column": 22
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8266,
"end": 8267,
"loc": {
"start": {
"line": 265,
"column": 23
},
"end": {
"line": 265,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotation",
"start": 8289,
"end": 8297,
"loc": {
"start": {
"line": 266,
"column": 20
},
"end": {
"line": 266,
"column": 28
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8297,
"end": 8298,
"loc": {
"start": {
"line": 266,
"column": 28
},
"end": {
"line": 266,
"column": 29
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8299,
"end": 8300,
"loc": {
"start": {
"line": 266,
"column": 30
},
"end": {
"line": 266,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotation",
"start": 8300,
"end": 8308,
"loc": {
"start": {
"line": 266,
"column": 31
},
"end": {
"line": 266,
"column": 39
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 8309,
"end": 8310,
"loc": {
"start": {
"line": 266,
"column": 40
},
"end": {
"line": 266,
"column": 41
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 90,
"start": 8311,
"end": 8313,
"loc": {
"start": {
"line": 266,
"column": 42
},
"end": {
"line": 266,
"column": 44
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8313,
"end": 8314,
"loc": {
"start": {
"line": 266,
"column": 44
},
"end": {
"line": 266,
"column": 45
}
}
},
{
"type": {
"label": "%",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "%",
"start": 8315,
"end": 8316,
"loc": {
"start": {
"line": 266,
"column": 46
},
"end": {
"line": 266,
"column": 47
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 360,
"start": 8317,
"end": 8320,
"loc": {
"start": {
"line": 266,
"column": 48
},
"end": {
"line": 266,
"column": 51
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8320,
"end": 8321,
"loc": {
"start": {
"line": 266,
"column": 51
},
"end": {
"line": 266,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotationVariant",
"start": 8343,
"end": 8358,
"loc": {
"start": {
"line": 267,
"column": 20
},
"end": {
"line": 267,
"column": 35
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8358,
"end": 8359,
"loc": {
"start": {
"line": 267,
"column": 35
},
"end": {
"line": 267,
"column": 36
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 8360,
"end": 8361,
"loc": {
"start": {
"line": 267,
"column": 37
},
"end": {
"line": 267,
"column": 38
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8361,
"end": 8362,
"loc": {
"start": {
"line": 267,
"column": 38
},
"end": {
"line": 267,
"column": 39
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8380,
"end": 8381,
"loc": {
"start": {
"line": 268,
"column": 16
},
"end": {
"line": 268,
"column": 17
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8381,
"end": 8382,
"loc": {
"start": {
"line": 268,
"column": 17
},
"end": {
"line": 268,
"column": 18
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8396,
"end": 8397,
"loc": {
"start": {
"line": 269,
"column": 12
},
"end": {
"line": 269,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8407,
"end": 8408,
"loc": {
"start": {
"line": 270,
"column": 8
},
"end": {
"line": 270,
"column": 9
}
}
},
{
"type": "CommentLine",
"value": " When there is a top acceptor, ignore sides",
"start": 8420,
"end": 8465,
"loc": {
"start": {
"line": 272,
"column": 8
},
"end": {
"line": 272,
"column": 53
}
}
},
{
"type": "CommentLine",
"value": " NOTICE: This makes the belt prefer side turns *way* too much!",
"start": 8475,
"end": 8539,
"loc": {
"start": {
"line": 273,
"column": 8
},
"end": {
"line": 273,
"column": 72
}
}
},
{
"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": 8549,
"end": 8551,
"loc": {
"start": {
"line": 274,
"column": 8
},
"end": {
"line": 274,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8552,
"end": 8553,
"loc": {
"start": {
"line": 274,
"column": 11
},
"end": {
"line": 274,
"column": 12
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 8553,
"end": 8554,
"loc": {
"start": {
"line": 274,
"column": 12
},
"end": {
"line": 274,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hasTopAcceptor",
"start": 8554,
"end": 8568,
"loc": {
"start": {
"line": 274,
"column": 13
},
"end": {
"line": 274,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8568,
"end": 8569,
"loc": {
"start": {
"line": 274,
"column": 27
},
"end": {
"line": 274,
"column": 28
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8570,
"end": 8571,
"loc": {
"start": {
"line": 274,
"column": 29
},
"end": {
"line": 274,
"column": 30
}
}
},
{
"type": "CommentLine",
"value": " When there is an acceptor to the right but no acceptor to the left,",
"start": 8585,
"end": 8655,
"loc": {
"start": {
"line": 275,
"column": 12
},
"end": {
"line": 275,
"column": 82
}
}
},
{
"type": "CommentLine",
"value": " do a turn to the right",
"start": 8669,
"end": 8694,
"loc": {
"start": {
"line": 276,
"column": 12
},
"end": {
"line": 276,
"column": 37
}
}
},
{
"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": 8708,
"end": 8710,
"loc": {
"start": {
"line": 277,
"column": 12
},
"end": {
"line": 277,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8711,
"end": 8712,
"loc": {
"start": {
"line": 277,
"column": 15
},
"end": {
"line": 277,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hasRightAcceptor",
"start": 8712,
"end": 8728,
"loc": {
"start": {
"line": 277,
"column": 16
},
"end": {
"line": 277,
"column": 32
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 8729,
"end": 8731,
"loc": {
"start": {
"line": 277,
"column": 33
},
"end": {
"line": 277,
"column": 35
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 8732,
"end": 8733,
"loc": {
"start": {
"line": 277,
"column": 36
},
"end": {
"line": 277,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hasLeftAcceptor",
"start": 8733,
"end": 8748,
"loc": {
"start": {
"line": 277,
"column": 37
},
"end": {
"line": 277,
"column": 52
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8748,
"end": 8749,
"loc": {
"start": {
"line": 277,
"column": 52
},
"end": {
"line": 277,
"column": 53
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8750,
"end": 8751,
"loc": {
"start": {
"line": 277,
"column": 54
},
"end": {
"line": 277,
"column": 55
}
}
},
{
"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": 8769,
"end": 8775,
"loc": {
"start": {
"line": 278,
"column": 16
},
"end": {
"line": 278,
"column": 22
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8776,
"end": 8777,
"loc": {
"start": {
"line": 278,
"column": 23
},
"end": {
"line": 278,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotation",
"start": 8799,
"end": 8807,
"loc": {
"start": {
"line": 279,
"column": 20
},
"end": {
"line": 279,
"column": 28
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8807,
"end": 8808,
"loc": {
"start": {
"line": 279,
"column": 28
},
"end": {
"line": 279,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotationVariant",
"start": 8830,
"end": 8845,
"loc": {
"start": {
"line": 280,
"column": 20
},
"end": {
"line": 280,
"column": 35
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8845,
"end": 8846,
"loc": {
"start": {
"line": 280,
"column": 35
},
"end": {
"line": 280,
"column": 36
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 2,
"start": 8847,
"end": 8848,
"loc": {
"start": {
"line": 280,
"column": 37
},
"end": {
"line": 280,
"column": 38
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8848,
"end": 8849,
"loc": {
"start": {
"line": 280,
"column": 38
},
"end": {
"line": 280,
"column": 39
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8867,
"end": 8868,
"loc": {
"start": {
"line": 281,
"column": 16
},
"end": {
"line": 281,
"column": 17
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8868,
"end": 8869,
"loc": {
"start": {
"line": 281,
"column": 17
},
"end": {
"line": 281,
"column": 18
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8883,
"end": 8884,
"loc": {
"start": {
"line": 282,
"column": 12
},
"end": {
"line": 282,
"column": 13
}
}
},
{
"type": "CommentLine",
"value": " When there is an acceptor to the left but no acceptor to the right,",
"start": 8900,
"end": 8970,
"loc": {
"start": {
"line": 284,
"column": 12
},
"end": {
"line": 284,
"column": 82
}
}
},
{
"type": "CommentLine",
"value": " do a turn to the left",
"start": 8984,
"end": 9008,
"loc": {
"start": {
"line": 285,
"column": 12
},
"end": {
"line": 285,
"column": 36
}
}
},
{
"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": 9022,
"end": 9024,
"loc": {
"start": {
"line": 286,
"column": 12
},
"end": {
"line": 286,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9025,
"end": 9026,
"loc": {
"start": {
"line": 286,
"column": 15
},
"end": {
"line": 286,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hasLeftAcceptor",
"start": 9026,
"end": 9041,
"loc": {
"start": {
"line": 286,
"column": 16
},
"end": {
"line": 286,
"column": 31
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 9042,
"end": 9044,
"loc": {
"start": {
"line": 286,
"column": 32
},
"end": {
"line": 286,
"column": 34
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 9045,
"end": 9046,
"loc": {
"start": {
"line": 286,
"column": 35
},
"end": {
"line": 286,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hasRightAcceptor",
"start": 9046,
"end": 9062,
"loc": {
"start": {
"line": 286,
"column": 36
},
"end": {
"line": 286,
"column": 52
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9062,
"end": 9063,
"loc": {
"start": {
"line": 286,
"column": 52
},
"end": {
"line": 286,
"column": 53
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9064,
"end": 9065,
"loc": {
"start": {
"line": 286,
"column": 54
},
"end": {
"line": 286,
"column": 55
}
}
},
{
"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": 9083,
"end": 9089,
"loc": {
"start": {
"line": 287,
"column": 16
},
"end": {
"line": 287,
"column": 22
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9090,
"end": 9091,
"loc": {
"start": {
"line": 287,
"column": 23
},
"end": {
"line": 287,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotation",
"start": 9113,
"end": 9121,
"loc": {
"start": {
"line": 288,
"column": 20
},
"end": {
"line": 288,
"column": 28
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9121,
"end": 9122,
"loc": {
"start": {
"line": 288,
"column": 28
},
"end": {
"line": 288,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotationVariant",
"start": 9144,
"end": 9159,
"loc": {
"start": {
"line": 289,
"column": 20
},
"end": {
"line": 289,
"column": 35
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9159,
"end": 9160,
"loc": {
"start": {
"line": 289,
"column": 35
},
"end": {
"line": 289,
"column": 36
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 9161,
"end": 9162,
"loc": {
"start": {
"line": 289,
"column": 37
},
"end": {
"line": 289,
"column": 38
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9162,
"end": 9163,
"loc": {
"start": {
"line": 289,
"column": 38
},
"end": {
"line": 289,
"column": 39
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9181,
"end": 9182,
"loc": {
"start": {
"line": 290,
"column": 16
},
"end": {
"line": 290,
"column": 17
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9182,
"end": 9183,
"loc": {
"start": {
"line": 290,
"column": 17
},
"end": {
"line": 290,
"column": 18
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9197,
"end": 9198,
"loc": {
"start": {
"line": 291,
"column": 12
},
"end": {
"line": 291,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9208,
"end": 9209,
"loc": {
"start": {
"line": 292,
"column": 8
},
"end": {
"line": 292,
"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": 9221,
"end": 9227,
"loc": {
"start": {
"line": 294,
"column": 8
},
"end": {
"line": 294,
"column": 14
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9228,
"end": 9229,
"loc": {
"start": {
"line": 294,
"column": 15
},
"end": {
"line": 294,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotation",
"start": 9243,
"end": 9251,
"loc": {
"start": {
"line": 295,
"column": 12
},
"end": {
"line": 295,
"column": 20
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9251,
"end": 9252,
"loc": {
"start": {
"line": 295,
"column": 20
},
"end": {
"line": 295,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotationVariant",
"start": 9266,
"end": 9281,
"loc": {
"start": {
"line": 296,
"column": 12
},
"end": {
"line": 296,
"column": 27
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9281,
"end": 9282,
"loc": {
"start": {
"line": 296,
"column": 27
},
"end": {
"line": 296,
"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": 9283,
"end": 9284,
"loc": {
"start": {
"line": 296,
"column": 29
},
"end": {
"line": 296,
"column": 30
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9284,
"end": 9285,
"loc": {
"start": {
"line": 296,
"column": 30
},
"end": {
"line": 296,
"column": 31
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9295,
"end": 9296,
"loc": {
"start": {
"line": 297,
"column": 8
},
"end": {
"line": 297,
"column": 9
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9296,
"end": 9297,
"loc": {
"start": {
"line": 297,
"column": 9
},
"end": {
"line": 297,
"column": 10
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9303,
"end": 9304,
"loc": {
"start": {
"line": 298,
"column": 4
},
"end": {
"line": 298,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9306,
"end": 9307,
"loc": {
"start": {
"line": 299,
"column": 0
},
"end": {
"line": 299,
"column": 1
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaBeltBuilding",
"start": 9311,
"end": 9327,
"loc": {
"start": {
"line": 301,
"column": 0
},
"end": {
"line": 301,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9327,
"end": 9328,
"loc": {
"start": {
"line": 301,
"column": 16
},
"end": {
"line": 301,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setupEntityComponents",
"start": 9328,
"end": 9349,
"loc": {
"start": {
"line": 301,
"column": 17
},
"end": {
"line": 301,
"column": 38
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 9350,
"end": 9351,
"loc": {
"start": {
"line": 301,
"column": 39
},
"end": {
"line": 301,
"column": 40
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9352,
"end": 9353,
"loc": {
"start": {
"line": 301,
"column": 41
},
"end": {
"line": 301,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 9359,
"end": 9365,
"loc": {
"start": {
"line": 302,
"column": 4
},
"end": {
"line": 302,
"column": 10
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9366,
"end": 9368,
"loc": {
"start": {
"line": 302,
"column": 11
},
"end": {
"line": 302,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 9374,
"end": 9380,
"loc": {
"start": {
"line": 303,
"column": 4
},
"end": {
"line": 303,
"column": 10
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9380,
"end": 9381,
"loc": {
"start": {
"line": 303,
"column": 10
},
"end": {
"line": 303,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "addComponent",
"start": 9381,
"end": 9393,
"loc": {
"start": {
"line": 303,
"column": 11
},
"end": {
"line": 303,
"column": 23
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9393,
"end": 9394,
"loc": {
"start": {
"line": 303,
"column": 23
},
"end": {
"line": 303,
"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": 9404,
"end": 9407,
"loc": {
"start": {
"line": 304,
"column": 8
},
"end": {
"line": 304,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "BeltComponent",
"start": 9408,
"end": 9421,
"loc": {
"start": {
"line": 304,
"column": 12
},
"end": {
"line": 304,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9421,
"end": 9422,
"loc": {
"start": {
"line": 304,
"column": 25
},
"end": {
"line": 304,
"column": 26
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9422,
"end": 9423,
"loc": {
"start": {
"line": 304,
"column": 26
},
"end": {
"line": 304,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "direction",
"start": 9437,
"end": 9446,
"loc": {
"start": {
"line": 305,
"column": 12
},
"end": {
"line": 305,
"column": 21
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9446,
"end": 9447,
"loc": {
"start": {
"line": 305,
"column": 21
},
"end": {
"line": 305,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumDirection",
"start": 9448,
"end": 9461,
"loc": {
"start": {
"line": 305,
"column": 23
},
"end": {
"line": 305,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9461,
"end": 9462,
"loc": {
"start": {
"line": 305,
"column": 36
},
"end": {
"line": 305,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "top",
"start": 9462,
"end": 9465,
"loc": {
"start": {
"line": 305,
"column": 37
},
"end": {
"line": 305,
"column": 40
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9465,
"end": 9466,
"loc": {
"start": {
"line": 305,
"column": 40
},
"end": {
"line": 305,
"column": 41
}
}
},
{
"type": "CommentLine",
"value": " updated later",
"start": 9467,
"end": 9483,
"loc": {
"start": {
"line": 305,
"column": 42
},
"end": {
"line": 305,
"column": 58
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9493,
"end": 9494,
"loc": {
"start": {
"line": 306,
"column": 8
},
"end": {
"line": 306,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9494,
"end": 9495,
"loc": {
"start": {
"line": 306,
"column": 9
},
"end": {
"line": 306,
"column": 10
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9501,
"end": 9502,
"loc": {
"start": {
"line": 307,
"column": 4
},
"end": {
"line": 307,
"column": 5
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9502,
"end": 9503,
"loc": {
"start": {
"line": 307,
"column": 5
},
"end": {
"line": 307,
"column": 6
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9505,
"end": 9506,
"loc": {
"start": {
"line": 308,
"column": 0
},
"end": {
"line": 308,
"column": 1
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9506,
"end": 9507,
"loc": {
"start": {
"line": 308,
"column": 1
},
"end": {
"line": 308,
"column": 2
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaBeltBuilding",
"start": 9511,
"end": 9527,
"loc": {
"start": {
"line": 310,
"column": 0
},
"end": {
"line": 310,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9527,
"end": 9528,
"loc": {
"start": {
"line": 310,
"column": 16
},
"end": {
"line": 310,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "silhouetteColors",
"start": 9528,
"end": 9544,
"loc": {
"start": {
"line": 310,
"column": 17
},
"end": {
"line": 310,
"column": 33
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 9545,
"end": 9546,
"loc": {
"start": {
"line": 310,
"column": 34
},
"end": {
"line": 310,
"column": 35
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9547,
"end": 9548,
"loc": {
"start": {
"line": 310,
"column": 36
},
"end": {
"line": 310,
"column": 37
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9554,
"end": 9555,
"loc": {
"start": {
"line": 311,
"column": 4
},
"end": {
"line": 311,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "defaultBuildingVariant",
"start": 9555,
"end": 9577,
"loc": {
"start": {
"line": 311,
"column": 5
},
"end": {
"line": 311,
"column": 27
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9577,
"end": 9578,
"loc": {
"start": {
"line": 311,
"column": 27
},
"end": {
"line": 311,
"column": 28
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9578,
"end": 9579,
"loc": {
"start": {
"line": 311,
"column": 28
},
"end": {
"line": 311,
"column": 29
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9580,
"end": 9581,
"loc": {
"start": {
"line": 311,
"column": 30
},
"end": {
"line": 311,
"column": 31
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9581,
"end": 9582,
"loc": {
"start": {
"line": 311,
"column": 31
},
"end": {
"line": 311,
"column": 32
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9583,
"end": 9585,
"loc": {
"start": {
"line": 311,
"column": 33
},
"end": {
"line": 311,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "THEME",
"start": 9586,
"end": 9591,
"loc": {
"start": {
"line": 311,
"column": 36
},
"end": {
"line": 311,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9591,
"end": 9592,
"loc": {
"start": {
"line": 311,
"column": 41
},
"end": {
"line": 311,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "map",
"start": 9592,
"end": 9595,
"loc": {
"start": {
"line": 311,
"column": 42
},
"end": {
"line": 311,
"column": 45
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9595,
"end": 9596,
"loc": {
"start": {
"line": 311,
"column": 45
},
"end": {
"line": 311,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "chunkOverview",
"start": 9596,
"end": 9609,
"loc": {
"start": {
"line": 311,
"column": 46
},
"end": {
"line": 311,
"column": 59
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9609,
"end": 9610,
"loc": {
"start": {
"line": 311,
"column": 59
},
"end": {
"line": 311,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "beltColor",
"start": 9610,
"end": 9619,
"loc": {
"start": {
"line": 311,
"column": 60
},
"end": {
"line": 311,
"column": 69
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9619,
"end": 9620,
"loc": {
"start": {
"line": 311,
"column": 69
},
"end": {
"line": 311,
"column": 70
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9622,
"end": 9623,
"loc": {
"start": {
"line": 312,
"column": 0
},
"end": {
"line": 312,
"column": 1
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9623,
"end": 9624,
"loc": {
"start": {
"line": 312,
"column": 1
},
"end": {
"line": 312,
"column": 2
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaBeltBuilding",
"start": 9628,
"end": 9644,
"loc": {
"start": {
"line": 314,
"column": 0
},
"end": {
"line": 314,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9644,
"end": 9645,
"loc": {
"start": {
"line": 314,
"column": 16
},
"end": {
"line": 314,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variantToRotation",
"start": 9645,
"end": 9662,
"loc": {
"start": {
"line": 314,
"column": 17
},
"end": {
"line": 314,
"column": 34
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 9663,
"end": 9664,
"loc": {
"start": {
"line": 314,
"column": 35
},
"end": {
"line": 314,
"column": 36
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9665,
"end": 9666,
"loc": {
"start": {
"line": 314,
"column": 37
},
"end": {
"line": 314,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumDirection",
"start": 9666,
"end": 9679,
"loc": {
"start": {
"line": 314,
"column": 38
},
"end": {
"line": 314,
"column": 51
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9679,
"end": 9680,
"loc": {
"start": {
"line": 314,
"column": 51
},
"end": {
"line": 314,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "top",
"start": 9680,
"end": 9683,
"loc": {
"start": {
"line": 314,
"column": 52
},
"end": {
"line": 314,
"column": 55
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9683,
"end": 9684,
"loc": {
"start": {
"line": 314,
"column": 55
},
"end": {
"line": 314,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumDirection",
"start": 9685,
"end": 9698,
"loc": {
"start": {
"line": 314,
"column": 57
},
"end": {
"line": 314,
"column": 70
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9698,
"end": 9699,
"loc": {
"start": {
"line": 314,
"column": 70
},
"end": {
"line": 314,
"column": 71
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "left",
"start": 9699,
"end": 9703,
"loc": {
"start": {
"line": 314,
"column": 71
},
"end": {
"line": 314,
"column": 75
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9703,
"end": 9704,
"loc": {
"start": {
"line": 314,
"column": 75
},
"end": {
"line": 314,
"column": 76
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumDirection",
"start": 9705,
"end": 9718,
"loc": {
"start": {
"line": 314,
"column": 77
},
"end": {
"line": 314,
"column": 90
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9718,
"end": 9719,
"loc": {
"start": {
"line": 314,
"column": 90
},
"end": {
"line": 314,
"column": 91
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "right",
"start": 9719,
"end": 9724,
"loc": {
"start": {
"line": 314,
"column": 91
},
"end": {
"line": 314,
"column": 96
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9724,
"end": 9725,
"loc": {
"start": {
"line": 314,
"column": 96
},
"end": {
"line": 314,
"column": 97
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9725,
"end": 9726,
"loc": {
"start": {
"line": 314,
"column": 97
},
"end": {
"line": 314,
"column": 98
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaBeltBuilding",
"start": 9730,
"end": 9746,
"loc": {
"start": {
"line": 316,
"column": 0
},
"end": {
"line": 316,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9746,
"end": 9747,
"loc": {
"start": {
"line": 316,
"column": 16
},
"end": {
"line": 316,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "overlayMatrices",
"start": 9747,
"end": 9762,
"loc": {
"start": {
"line": 316,
"column": 17
},
"end": {
"line": 316,
"column": 32
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 9763,
"end": 9764,
"loc": {
"start": {
"line": 316,
"column": 33
},
"end": {
"line": 316,
"column": 34
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9765,
"end": 9766,
"loc": {
"start": {
"line": 316,
"column": 35
},
"end": {
"line": 316,
"column": 36
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9772,
"end": 9773,
"loc": {
"start": {
"line": 317,
"column": 4
},
"end": {
"line": 317,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumDirection",
"start": 9773,
"end": 9786,
"loc": {
"start": {
"line": 317,
"column": 5
},
"end": {
"line": 317,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9786,
"end": 9787,
"loc": {
"start": {
"line": 317,
"column": 18
},
"end": {
"line": 317,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "top",
"start": 9787,
"end": 9790,
"loc": {
"start": {
"line": 317,
"column": 19
},
"end": {
"line": 317,
"column": 22
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9790,
"end": 9791,
"loc": {
"start": {
"line": 317,
"column": 22
},
"end": {
"line": 317,
"column": 23
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9791,
"end": 9792,
"loc": {
"start": {
"line": 317,
"column": 23
},
"end": {
"line": 317,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9793,
"end": 9794,
"loc": {
"start": {
"line": 317,
"column": 25
},
"end": {
"line": 317,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 9794,
"end": 9800,
"loc": {
"start": {
"line": 317,
"column": 26
},
"end": {
"line": 317,
"column": 32
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9800,
"end": 9801,
"loc": {
"start": {
"line": 317,
"column": 32
},
"end": {
"line": 317,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotationVariant",
"start": 9802,
"end": 9817,
"loc": {
"start": {
"line": 317,
"column": 34
},
"end": {
"line": 317,
"column": 49
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9817,
"end": 9818,
"loc": {
"start": {
"line": 317,
"column": 49
},
"end": {
"line": 317,
"column": 50
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9819,
"end": 9821,
"loc": {
"start": {
"line": 317,
"column": 51
},
"end": {
"line": 317,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "generateMatrixRotations",
"start": 9822,
"end": 9845,
"loc": {
"start": {
"line": 317,
"column": 54
},
"end": {
"line": 317,
"column": 77
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9845,
"end": 9846,
"loc": {
"start": {
"line": 317,
"column": 77
},
"end": {
"line": 317,
"column": 78
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9846,
"end": 9847,
"loc": {
"start": {
"line": 317,
"column": 78
},
"end": {
"line": 317,
"column": 79
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 9847,
"end": 9848,
"loc": {
"start": {
"line": 317,
"column": 79
},
"end": {
"line": 317,
"column": 80
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9848,
"end": 9849,
"loc": {
"start": {
"line": 317,
"column": 80
},
"end": {
"line": 317,
"column": 81
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 9850,
"end": 9851,
"loc": {
"start": {
"line": 317,
"column": 82
},
"end": {
"line": 317,
"column": 83
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9851,
"end": 9852,
"loc": {
"start": {
"line": 317,
"column": 83
},
"end": {
"line": 317,
"column": 84
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 9853,
"end": 9854,
"loc": {
"start": {
"line": 317,
"column": 85
},
"end": {
"line": 317,
"column": 86
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9854,
"end": 9855,
"loc": {
"start": {
"line": 317,
"column": 86
},
"end": {
"line": 317,
"column": 87
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 9856,
"end": 9857,
"loc": {
"start": {
"line": 317,
"column": 88
},
"end": {
"line": 317,
"column": 89
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9857,
"end": 9858,
"loc": {
"start": {
"line": 317,
"column": 89
},
"end": {
"line": 317,
"column": 90
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 9859,
"end": 9860,
"loc": {
"start": {
"line": 317,
"column": 91
},
"end": {
"line": 317,
"column": 92
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9860,
"end": 9861,
"loc": {
"start": {
"line": 317,
"column": 92
},
"end": {
"line": 317,
"column": 93
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 9862,
"end": 9863,
"loc": {
"start": {
"line": 317,
"column": 94
},
"end": {
"line": 317,
"column": 95
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9863,
"end": 9864,
"loc": {
"start": {
"line": 317,
"column": 95
},
"end": {
"line": 317,
"column": 96
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 9865,
"end": 9866,
"loc": {
"start": {
"line": 317,
"column": 97
},
"end": {
"line": 317,
"column": 98
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9866,
"end": 9867,
"loc": {
"start": {
"line": 317,
"column": 98
},
"end": {
"line": 317,
"column": 99
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 9868,
"end": 9869,
"loc": {
"start": {
"line": 317,
"column": 100
},
"end": {
"line": 317,
"column": 101
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9869,
"end": 9870,
"loc": {
"start": {
"line": 317,
"column": 101
},
"end": {
"line": 317,
"column": 102
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 9871,
"end": 9872,
"loc": {
"start": {
"line": 317,
"column": 103
},
"end": {
"line": 317,
"column": 104
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9872,
"end": 9873,
"loc": {
"start": {
"line": 317,
"column": 104
},
"end": {
"line": 317,
"column": 105
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9873,
"end": 9874,
"loc": {
"start": {
"line": 317,
"column": 105
},
"end": {
"line": 317,
"column": 106
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9874,
"end": 9875,
"loc": {
"start": {
"line": 317,
"column": 106
},
"end": {
"line": 317,
"column": 107
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9881,
"end": 9882,
"loc": {
"start": {
"line": 318,
"column": 4
},
"end": {
"line": 318,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumDirection",
"start": 9882,
"end": 9895,
"loc": {
"start": {
"line": 318,
"column": 5
},
"end": {
"line": 318,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9895,
"end": 9896,
"loc": {
"start": {
"line": 318,
"column": 18
},
"end": {
"line": 318,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "left",
"start": 9896,
"end": 9900,
"loc": {
"start": {
"line": 318,
"column": 19
},
"end": {
"line": 318,
"column": 23
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9900,
"end": 9901,
"loc": {
"start": {
"line": 318,
"column": 23
},
"end": {
"line": 318,
"column": 24
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9901,
"end": 9902,
"loc": {
"start": {
"line": 318,
"column": 24
},
"end": {
"line": 318,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9903,
"end": 9904,
"loc": {
"start": {
"line": 318,
"column": 26
},
"end": {
"line": 318,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 9904,
"end": 9910,
"loc": {
"start": {
"line": 318,
"column": 27
},
"end": {
"line": 318,
"column": 33
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9910,
"end": 9911,
"loc": {
"start": {
"line": 318,
"column": 33
},
"end": {
"line": 318,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotationVariant",
"start": 9912,
"end": 9927,
"loc": {
"start": {
"line": 318,
"column": 35
},
"end": {
"line": 318,
"column": 50
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9927,
"end": 9928,
"loc": {
"start": {
"line": 318,
"column": 50
},
"end": {
"line": 318,
"column": 51
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9929,
"end": 9931,
"loc": {
"start": {
"line": 318,
"column": 52
},
"end": {
"line": 318,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "generateMatrixRotations",
"start": 9932,
"end": 9955,
"loc": {
"start": {
"line": 318,
"column": 55
},
"end": {
"line": 318,
"column": 78
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9955,
"end": 9956,
"loc": {
"start": {
"line": 318,
"column": 78
},
"end": {
"line": 318,
"column": 79
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9956,
"end": 9957,
"loc": {
"start": {
"line": 318,
"column": 79
},
"end": {
"line": 318,
"column": 80
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 9957,
"end": 9958,
"loc": {
"start": {
"line": 318,
"column": 80
},
"end": {
"line": 318,
"column": 81
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9958,
"end": 9959,
"loc": {
"start": {
"line": 318,
"column": 81
},
"end": {
"line": 318,
"column": 82
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 9960,
"end": 9961,
"loc": {
"start": {
"line": 318,
"column": 83
},
"end": {
"line": 318,
"column": 84
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9961,
"end": 9962,
"loc": {
"start": {
"line": 318,
"column": 84
},
"end": {
"line": 318,
"column": 85
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 9963,
"end": 9964,
"loc": {
"start": {
"line": 318,
"column": 86
},
"end": {
"line": 318,
"column": 87
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9964,
"end": 9965,
"loc": {
"start": {
"line": 318,
"column": 87
},
"end": {
"line": 318,
"column": 88
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 9966,
"end": 9967,
"loc": {
"start": {
"line": 318,
"column": 89
},
"end": {
"line": 318,
"column": 90
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9967,
"end": 9968,
"loc": {
"start": {
"line": 318,
"column": 90
},
"end": {
"line": 318,
"column": 91
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 9969,
"end": 9970,
"loc": {
"start": {
"line": 318,
"column": 92
},
"end": {
"line": 318,
"column": 93
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9970,
"end": 9971,
"loc": {
"start": {
"line": 318,
"column": 93
},
"end": {
"line": 318,
"column": 94
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 9972,
"end": 9973,
"loc": {
"start": {
"line": 318,
"column": 95
},
"end": {
"line": 318,
"column": 96
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9973,
"end": 9974,
"loc": {
"start": {
"line": 318,
"column": 96
},
"end": {
"line": 318,
"column": 97
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 9975,
"end": 9976,
"loc": {
"start": {
"line": 318,
"column": 98
},
"end": {
"line": 318,
"column": 99
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9976,
"end": 9977,
"loc": {
"start": {
"line": 318,
"column": 99
},
"end": {
"line": 318,
"column": 100
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 9978,
"end": 9979,
"loc": {
"start": {
"line": 318,
"column": 101
},
"end": {
"line": 318,
"column": 102
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9979,
"end": 9980,
"loc": {
"start": {
"line": 318,
"column": 102
},
"end": {
"line": 318,
"column": 103
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 9981,
"end": 9982,
"loc": {
"start": {
"line": 318,
"column": 104
},
"end": {
"line": 318,
"column": 105
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9982,
"end": 9983,
"loc": {
"start": {
"line": 318,
"column": 105
},
"end": {
"line": 318,
"column": 106
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9983,
"end": 9984,
"loc": {
"start": {
"line": 318,
"column": 106
},
"end": {
"line": 318,
"column": 107
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9984,
"end": 9985,
"loc": {
"start": {
"line": 318,
"column": 107
},
"end": {
"line": 318,
"column": 108
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9991,
"end": 9992,
"loc": {
"start": {
"line": 319,
"column": 4
},
"end": {
"line": 319,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumDirection",
"start": 9992,
"end": 10005,
"loc": {
"start": {
"line": 319,
"column": 5
},
"end": {
"line": 319,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10005,
"end": 10006,
"loc": {
"start": {
"line": 319,
"column": 18
},
"end": {
"line": 319,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "right",
"start": 10006,
"end": 10011,
"loc": {
"start": {
"line": 319,
"column": 19
},
"end": {
"line": 319,
"column": 24
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10011,
"end": 10012,
"loc": {
"start": {
"line": 319,
"column": 24
},
"end": {
"line": 319,
"column": 25
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10012,
"end": 10013,
"loc": {
"start": {
"line": 319,
"column": 25
},
"end": {
"line": 319,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10014,
"end": 10015,
"loc": {
"start": {
"line": 319,
"column": 27
},
"end": {
"line": 319,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 10015,
"end": 10021,
"loc": {
"start": {
"line": 319,
"column": 28
},
"end": {
"line": 319,
"column": 34
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10021,
"end": 10022,
"loc": {
"start": {
"line": 319,
"column": 34
},
"end": {
"line": 319,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotationVariant",
"start": 10023,
"end": 10038,
"loc": {
"start": {
"line": 319,
"column": 36
},
"end": {
"line": 319,
"column": 51
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10038,
"end": 10039,
"loc": {
"start": {
"line": 319,
"column": 51
},
"end": {
"line": 319,
"column": 52
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10040,
"end": 10042,
"loc": {
"start": {
"line": 319,
"column": 53
},
"end": {
"line": 319,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "generateMatrixRotations",
"start": 10043,
"end": 10066,
"loc": {
"start": {
"line": 319,
"column": 56
},
"end": {
"line": 319,
"column": 79
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10066,
"end": 10067,
"loc": {
"start": {
"line": 319,
"column": 79
},
"end": {
"line": 319,
"column": 80
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10067,
"end": 10068,
"loc": {
"start": {
"line": 319,
"column": 80
},
"end": {
"line": 319,
"column": 81
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 10068,
"end": 10069,
"loc": {
"start": {
"line": 319,
"column": 81
},
"end": {
"line": 319,
"column": 82
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10069,
"end": 10070,
"loc": {
"start": {
"line": 319,
"column": 82
},
"end": {
"line": 319,
"column": 83
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 10071,
"end": 10072,
"loc": {
"start": {
"line": 319,
"column": 84
},
"end": {
"line": 319,
"column": 85
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10072,
"end": 10073,
"loc": {
"start": {
"line": 319,
"column": 85
},
"end": {
"line": 319,
"column": 86
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 10074,
"end": 10075,
"loc": {
"start": {
"line": 319,
"column": 87
},
"end": {
"line": 319,
"column": 88
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10075,
"end": 10076,
"loc": {
"start": {
"line": 319,
"column": 88
},
"end": {
"line": 319,
"column": 89
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 10077,
"end": 10078,
"loc": {
"start": {
"line": 319,
"column": 90
},
"end": {
"line": 319,
"column": 91
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10078,
"end": 10079,
"loc": {
"start": {
"line": 319,
"column": 91
},
"end": {
"line": 319,
"column": 92
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 10080,
"end": 10081,
"loc": {
"start": {
"line": 319,
"column": 93
},
"end": {
"line": 319,
"column": 94
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10081,
"end": 10082,
"loc": {
"start": {
"line": 319,
"column": 94
},
"end": {
"line": 319,
"column": 95
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 10083,
"end": 10084,
"loc": {
"start": {
"line": 319,
"column": 96
},
"end": {
"line": 319,
"column": 97
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10084,
"end": 10085,
"loc": {
"start": {
"line": 319,
"column": 97
},
"end": {
"line": 319,
"column": 98
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 10086,
"end": 10087,
"loc": {
"start": {
"line": 319,
"column": 99
},
"end": {
"line": 319,
"column": 100
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10087,
"end": 10088,
"loc": {
"start": {
"line": 319,
"column": 100
},
"end": {
"line": 319,
"column": 101
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 10089,
"end": 10090,
"loc": {
"start": {
"line": 319,
"column": 102
},
"end": {
"line": 319,
"column": 103
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10090,
"end": 10091,
"loc": {
"start": {
"line": 319,
"column": 103
},
"end": {
"line": 319,
"column": 104
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 10092,
"end": 10093,
"loc": {
"start": {
"line": 319,
"column": 105
},
"end": {
"line": 319,
"column": 106
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10093,
"end": 10094,
"loc": {
"start": {
"line": 319,
"column": 106
},
"end": {
"line": 319,
"column": 107
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10094,
"end": 10095,
"loc": {
"start": {
"line": 319,
"column": 107
},
"end": {
"line": 319,
"column": 108
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10095,
"end": 10096,
"loc": {
"start": {
"line": 319,
"column": 108
},
"end": {
"line": 319,
"column": 109
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10098,
"end": 10099,
"loc": {
"start": {
"line": 320,
"column": 0
},
"end": {
"line": 320,
"column": 1
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10099,
"end": 10100,
"loc": {
"start": {
"line": 320,
"column": 1
},
"end": {
"line": 320,
"column": 2
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaBeltBuilding",
"start": 10104,
"end": 10120,
"loc": {
"start": {
"line": 322,
"column": 0
},
"end": {
"line": 322,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10120,
"end": 10121,
"loc": {
"start": {
"line": 322,
"column": 16
},
"end": {
"line": 322,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "placementSounds",
"start": 10121,
"end": 10136,
"loc": {
"start": {
"line": 322,
"column": 17
},
"end": {
"line": 322,
"column": 32
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 10137,
"end": 10138,
"loc": {
"start": {
"line": 322,
"column": 33
},
"end": {
"line": 322,
"column": 34
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10139,
"end": 10140,
"loc": {
"start": {
"line": 322,
"column": 35
},
"end": {
"line": 322,
"column": 36
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10146,
"end": 10147,
"loc": {
"start": {
"line": 323,
"column": 4
},
"end": {
"line": 323,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "defaultBuildingVariant",
"start": 10147,
"end": 10169,
"loc": {
"start": {
"line": 323,
"column": 5
},
"end": {
"line": 323,
"column": 27
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10169,
"end": 10170,
"loc": {
"start": {
"line": 323,
"column": 27
},
"end": {
"line": 323,
"column": 28
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10170,
"end": 10171,
"loc": {
"start": {
"line": 323,
"column": 28
},
"end": {
"line": 323,
"column": 29
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10172,
"end": 10173,
"loc": {
"start": {
"line": 323,
"column": 30
},
"end": {
"line": 323,
"column": 31
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10173,
"end": 10174,
"loc": {
"start": {
"line": 323,
"column": 31
},
"end": {
"line": 323,
"column": 32
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10175,
"end": 10177,
"loc": {
"start": {
"line": 323,
"column": 33
},
"end": {
"line": 323,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "SOUNDS",
"start": 10178,
"end": 10184,
"loc": {
"start": {
"line": 323,
"column": 36
},
"end": {
"line": 323,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10184,
"end": 10185,
"loc": {
"start": {
"line": 323,
"column": 42
},
"end": {
"line": 323,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "placeBelt",
"start": 10185,
"end": 10194,
"loc": {
"start": {
"line": 323,
"column": 43
},
"end": {
"line": 323,
"column": 52
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10194,
"end": 10195,
"loc": {
"start": {
"line": 323,
"column": 52
},
"end": {
"line": 323,
"column": 53
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10197,
"end": 10198,
"loc": {
"start": {
"line": 324,
"column": 0
},
"end": {
"line": 324,
"column": 1
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10198,
"end": 10199,
"loc": {
"start": {
"line": 324,
"column": 1
},
"end": {
"line": 324,
"column": 2
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaBeltBuilding",
"start": 10203,
"end": 10219,
"loc": {
"start": {
"line": 326,
"column": 0
},
"end": {
"line": 326,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10219,
"end": 10220,
"loc": {
"start": {
"line": 326,
"column": 16
},
"end": {
"line": 326,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotationVariants",
"start": 10220,
"end": 10236,
"loc": {
"start": {
"line": 326,
"column": 17
},
"end": {
"line": 326,
"column": 33
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 10237,
"end": 10238,
"loc": {
"start": {
"line": 326,
"column": 34
},
"end": {
"line": 326,
"column": 35
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10239,
"end": 10240,
"loc": {
"start": {
"line": 326,
"column": 36
},
"end": {
"line": 326,
"column": 37
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 10240,
"end": 10241,
"loc": {
"start": {
"line": 326,
"column": 37
},
"end": {
"line": 326,
"column": 38
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10241,
"end": 10242,
"loc": {
"start": {
"line": 326,
"column": 38
},
"end": {
"line": 326,
"column": 39
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 10243,
"end": 10244,
"loc": {
"start": {
"line": 326,
"column": 40
},
"end": {
"line": 326,
"column": 41
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10244,
"end": 10245,
"loc": {
"start": {
"line": 326,
"column": 41
},
"end": {
"line": 326,
"column": 42
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 2,
"start": 10246,
"end": 10247,
"loc": {
"start": {
"line": 326,
"column": 43
},
"end": {
"line": 326,
"column": 44
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10247,
"end": 10248,
"loc": {
"start": {
"line": 326,
"column": 44
},
"end": {
"line": 326,
"column": 45
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10248,
"end": 10249,
"loc": {
"start": {
"line": 326,
"column": 45
},
"end": {
"line": 326,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaBeltBuilding",
"start": 10253,
"end": 10269,
"loc": {
"start": {
"line": 328,
"column": 0
},
"end": {
"line": 328,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10269,
"end": 10270,
"loc": {
"start": {
"line": 328,
"column": 16
},
"end": {
"line": 328,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "avaibleVariants",
"start": 10270,
"end": 10285,
"loc": {
"start": {
"line": 328,
"column": 17
},
"end": {
"line": 328,
"column": 32
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 10286,
"end": 10287,
"loc": {
"start": {
"line": 328,
"column": 33
},
"end": {
"line": 328,
"column": 34
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10288,
"end": 10289,
"loc": {
"start": {
"line": 328,
"column": 35
},
"end": {
"line": 328,
"column": 36
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10295,
"end": 10296,
"loc": {
"start": {
"line": 329,
"column": 4
},
"end": {
"line": 329,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "defaultBuildingVariant",
"start": 10296,
"end": 10318,
"loc": {
"start": {
"line": 329,
"column": 5
},
"end": {
"line": 329,
"column": 27
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10318,
"end": 10319,
"loc": {
"start": {
"line": 329,
"column": 27
},
"end": {
"line": 329,
"column": 28
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10319,
"end": 10320,
"loc": {
"start": {
"line": 329,
"column": 28
},
"end": {
"line": 329,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 10321,
"end": 10325,
"loc": {
"start": {
"line": 329,
"column": 30
},
"end": {
"line": 329,
"column": 34
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10326,
"end": 10328,
"loc": {
"start": {
"line": 329,
"column": 35
},
"end": {
"line": 329,
"column": 37
}
}
},
{
"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": 10329,
"end": 10333,
"loc": {
"start": {
"line": 329,
"column": 38
},
"end": {
"line": 329,
"column": 42
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10333,
"end": 10334,
"loc": {
"start": {
"line": 329,
"column": 42
},
"end": {
"line": 329,
"column": 43
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10336,
"end": 10337,
"loc": {
"start": {
"line": 330,
"column": 0
},
"end": {
"line": 330,
"column": 1
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10337,
"end": 10338,
"loc": {
"start": {
"line": 330,
"column": 1
},
"end": {
"line": 330,
"column": 2
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaBeltBuilding",
"start": 10342,
"end": 10358,
"loc": {
"start": {
"line": 332,
"column": 0
},
"end": {
"line": 332,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10358,
"end": 10359,
"loc": {
"start": {
"line": 332,
"column": 16
},
"end": {
"line": 332,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dimensions",
"start": 10359,
"end": 10369,
"loc": {
"start": {
"line": 332,
"column": 17
},
"end": {
"line": 332,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 10370,
"end": 10371,
"loc": {
"start": {
"line": 332,
"column": 28
},
"end": {
"line": 332,
"column": 29
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10372,
"end": 10373,
"loc": {
"start": {
"line": 332,
"column": 30
},
"end": {
"line": 332,
"column": 31
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10379,
"end": 10380,
"loc": {
"start": {
"line": 333,
"column": 4
},
"end": {
"line": 333,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "defaultBuildingVariant",
"start": 10380,
"end": 10402,
"loc": {
"start": {
"line": 333,
"column": 5
},
"end": {
"line": 333,
"column": 27
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10402,
"end": 10403,
"loc": {
"start": {
"line": 333,
"column": 27
},
"end": {
"line": 333,
"column": 28
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10403,
"end": 10404,
"loc": {
"start": {
"line": 333,
"column": 28
},
"end": {
"line": 333,
"column": 29
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10405,
"end": 10406,
"loc": {
"start": {
"line": 333,
"column": 30
},
"end": {
"line": 333,
"column": 31
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10406,
"end": 10407,
"loc": {
"start": {
"line": 333,
"column": 31
},
"end": {
"line": 333,
"column": 32
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10408,
"end": 10410,
"loc": {
"start": {
"line": 333,
"column": 33
},
"end": {
"line": 333,
"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": 10411,
"end": 10414,
"loc": {
"start": {
"line": 333,
"column": 36
},
"end": {
"line": 333,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Vector",
"start": 10415,
"end": 10421,
"loc": {
"start": {
"line": 333,
"column": 40
},
"end": {
"line": 333,
"column": 46
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10421,
"end": 10422,
"loc": {
"start": {
"line": 333,
"column": 46
},
"end": {
"line": 333,
"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": 10422,
"end": 10423,
"loc": {
"start": {
"line": 333,
"column": 47
},
"end": {
"line": 333,
"column": 48
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10423,
"end": 10424,
"loc": {
"start": {
"line": 333,
"column": 48
},
"end": {
"line": 333,
"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": 10425,
"end": 10426,
"loc": {
"start": {
"line": 333,
"column": 50
},
"end": {
"line": 333,
"column": 51
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10426,
"end": 10427,
"loc": {
"start": {
"line": 333,
"column": 51
},
"end": {
"line": 333,
"column": 52
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10427,
"end": 10428,
"loc": {
"start": {
"line": 333,
"column": 52
},
"end": {
"line": 333,
"column": 53
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10430,
"end": 10431,
"loc": {
"start": {
"line": 334,
"column": 0
},
"end": {
"line": 334,
"column": 1
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10431,
"end": 10432,
"loc": {
"start": {
"line": 334,
"column": 1
},
"end": {
"line": 334,
"column": 2
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaBeltBuilding",
"start": 10436,
"end": 10452,
"loc": {
"start": {
"line": 336,
"column": 0
},
"end": {
"line": 336,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10452,
"end": 10453,
"loc": {
"start": {
"line": 336,
"column": 16
},
"end": {
"line": 336,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isRemovable",
"start": 10453,
"end": 10464,
"loc": {
"start": {
"line": 336,
"column": 17
},
"end": {
"line": 336,
"column": 28
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 10465,
"end": 10466,
"loc": {
"start": {
"line": 336,
"column": 29
},
"end": {
"line": 336,
"column": 30
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10467,
"end": 10468,
"loc": {
"start": {
"line": 336,
"column": 31
},
"end": {
"line": 336,
"column": 32
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10474,
"end": 10475,
"loc": {
"start": {
"line": 337,
"column": 4
},
"end": {
"line": 337,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "defaultBuildingVariant",
"start": 10475,
"end": 10497,
"loc": {
"start": {
"line": 337,
"column": 5
},
"end": {
"line": 337,
"column": 27
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10497,
"end": 10498,
"loc": {
"start": {
"line": 337,
"column": 27
},
"end": {
"line": 337,
"column": 28
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10498,
"end": 10499,
"loc": {
"start": {
"line": 337,
"column": 28
},
"end": {
"line": 337,
"column": 29
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10500,
"end": 10501,
"loc": {
"start": {
"line": 337,
"column": 30
},
"end": {
"line": 337,
"column": 31
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10501,
"end": 10502,
"loc": {
"start": {
"line": 337,
"column": 31
},
"end": {
"line": 337,
"column": 32
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10503,
"end": 10505,
"loc": {
"start": {
"line": 337,
"column": 33
},
"end": {
"line": 337,
"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": 10506,
"end": 10510,
"loc": {
"start": {
"line": 337,
"column": 36
},
"end": {
"line": 337,
"column": 40
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10510,
"end": 10511,
"loc": {
"start": {
"line": 337,
"column": 40
},
"end": {
"line": 337,
"column": 41
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10513,
"end": 10514,
"loc": {
"start": {
"line": 338,
"column": 0
},
"end": {
"line": 338,
"column": 1
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10514,
"end": 10515,
"loc": {
"start": {
"line": 338,
"column": 1
},
"end": {
"line": 338,
"column": 2
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaBeltBuilding",
"start": 10519,
"end": 10535,
"loc": {
"start": {
"line": 340,
"column": 0
},
"end": {
"line": 340,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10535,
"end": 10536,
"loc": {
"start": {
"line": 340,
"column": 16
},
"end": {
"line": 340,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isReplaceable",
"start": 10536,
"end": 10549,
"loc": {
"start": {
"line": 340,
"column": 17
},
"end": {
"line": 340,
"column": 30
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 10550,
"end": 10551,
"loc": {
"start": {
"line": 340,
"column": 31
},
"end": {
"line": 340,
"column": 32
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10552,
"end": 10553,
"loc": {
"start": {
"line": 340,
"column": 33
},
"end": {
"line": 340,
"column": 34
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10559,
"end": 10560,
"loc": {
"start": {
"line": 341,
"column": 4
},
"end": {
"line": 341,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "defaultBuildingVariant",
"start": 10560,
"end": 10582,
"loc": {
"start": {
"line": 341,
"column": 5
},
"end": {
"line": 341,
"column": 27
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10582,
"end": 10583,
"loc": {
"start": {
"line": 341,
"column": 27
},
"end": {
"line": 341,
"column": 28
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10583,
"end": 10584,
"loc": {
"start": {
"line": 341,
"column": 28
},
"end": {
"line": 341,
"column": 29
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10585,
"end": 10586,
"loc": {
"start": {
"line": 341,
"column": 30
},
"end": {
"line": 341,
"column": 31
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10586,
"end": 10587,
"loc": {
"start": {
"line": 341,
"column": 31
},
"end": {
"line": 341,
"column": 32
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10588,
"end": 10590,
"loc": {
"start": {
"line": 341,
"column": 33
},
"end": {
"line": 341,
"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": 10591,
"end": 10595,
"loc": {
"start": {
"line": 341,
"column": 36
},
"end": {
"line": 341,
"column": 40
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10595,
"end": 10596,
"loc": {
"start": {
"line": 341,
"column": 40
},
"end": {
"line": 341,
"column": 41
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10598,
"end": 10599,
"loc": {
"start": {
"line": 342,
"column": 0
},
"end": {
"line": 342,
"column": 1
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10599,
"end": 10600,
"loc": {
"start": {
"line": 342,
"column": 1
},
"end": {
"line": 342,
"column": 2
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaBeltBuilding",
"start": 10604,
"end": 10620,
"loc": {
"start": {
"line": 344,
"column": 0
},
"end": {
"line": 344,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10620,
"end": 10621,
"loc": {
"start": {
"line": 344,
"column": 16
},
"end": {
"line": 344,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isRotateable",
"start": 10621,
"end": 10633,
"loc": {
"start": {
"line": 344,
"column": 17
},
"end": {
"line": 344,
"column": 29
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 10634,
"end": 10635,
"loc": {
"start": {
"line": 344,
"column": 30
},
"end": {
"line": 344,
"column": 31
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10636,
"end": 10637,
"loc": {
"start": {
"line": 344,
"column": 32
},
"end": {
"line": 344,
"column": 33
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10643,
"end": 10644,
"loc": {
"start": {
"line": 345,
"column": 4
},
"end": {
"line": 345,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "defaultBuildingVariant",
"start": 10644,
"end": 10666,
"loc": {
"start": {
"line": 345,
"column": 5
},
"end": {
"line": 345,
"column": 27
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10666,
"end": 10667,
"loc": {
"start": {
"line": 345,
"column": 27
},
"end": {
"line": 345,
"column": 28
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10667,
"end": 10668,
"loc": {
"start": {
"line": 345,
"column": 28
},
"end": {
"line": 345,
"column": 29
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10669,
"end": 10670,
"loc": {
"start": {
"line": 345,
"column": 30
},
"end": {
"line": 345,
"column": 31
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10670,
"end": 10671,
"loc": {
"start": {
"line": 345,
"column": 31
},
"end": {
"line": 345,
"column": 32
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10672,
"end": 10674,
"loc": {
"start": {
"line": 345,
"column": 33
},
"end": {
"line": 345,
"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": 10675,
"end": 10679,
"loc": {
"start": {
"line": 345,
"column": 36
},
"end": {
"line": 345,
"column": 40
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10679,
"end": 10680,
"loc": {
"start": {
"line": 345,
"column": 40
},
"end": {
"line": 345,
"column": 41
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10682,
"end": 10683,
"loc": {
"start": {
"line": 346,
"column": 0
},
"end": {
"line": 346,
"column": 1
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10683,
"end": 10684,
"loc": {
"start": {
"line": 346,
"column": 1
},
"end": {
"line": 346,
"column": 2
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaBeltBuilding",
"start": 10688,
"end": 10704,
"loc": {
"start": {
"line": 348,
"column": 0
},
"end": {
"line": 348,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10704,
"end": 10705,
"loc": {
"start": {
"line": 348,
"column": 16
},
"end": {
"line": 348,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "renderPins",
"start": 10705,
"end": 10715,
"loc": {
"start": {
"line": 348,
"column": 17
},
"end": {
"line": 348,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 10716,
"end": 10717,
"loc": {
"start": {
"line": 348,
"column": 28
},
"end": {
"line": 348,
"column": 29
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10718,
"end": 10719,
"loc": {
"start": {
"line": 348,
"column": 30
},
"end": {
"line": 348,
"column": 31
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10725,
"end": 10726,
"loc": {
"start": {
"line": 349,
"column": 4
},
"end": {
"line": 349,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "defaultBuildingVariant",
"start": 10726,
"end": 10748,
"loc": {
"start": {
"line": 349,
"column": 5
},
"end": {
"line": 349,
"column": 27
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10748,
"end": 10749,
"loc": {
"start": {
"line": 349,
"column": 27
},
"end": {
"line": 349,
"column": 28
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10749,
"end": 10750,
"loc": {
"start": {
"line": 349,
"column": 28
},
"end": {
"line": 349,
"column": 29
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10751,
"end": 10752,
"loc": {
"start": {
"line": 349,
"column": 30
},
"end": {
"line": 349,
"column": 31
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10752,
"end": 10753,
"loc": {
"start": {
"line": 349,
"column": 31
},
"end": {
"line": 349,
"column": 32
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10754,
"end": 10756,
"loc": {
"start": {
"line": 349,
"column": 33
},
"end": {
"line": 349,
"column": 35
}
}
},
{
"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": 10757,
"end": 10761,
"loc": {
"start": {
"line": 349,
"column": 36
},
"end": {
"line": 349,
"column": 40
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10761,
"end": 10762,
"loc": {
"start": {
"line": 349,
"column": 40
},
"end": {
"line": 349,
"column": 41
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10764,
"end": 10765,
"loc": {
"start": {
"line": 350,
"column": 0
},
"end": {
"line": 350,
"column": 1
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10765,
"end": 10766,
"loc": {
"start": {
"line": 350,
"column": 1
},
"end": {
"line": 350,
"column": 2
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaBeltBuilding",
"start": 10770,
"end": 10786,
"loc": {
"start": {
"line": 352,
"column": 0
},
"end": {
"line": 352,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10786,
"end": 10787,
"loc": {
"start": {
"line": 352,
"column": 16
},
"end": {
"line": 352,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "layerPreview",
"start": 10787,
"end": 10799,
"loc": {
"start": {
"line": 352,
"column": 17
},
"end": {
"line": 352,
"column": 29
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 10800,
"end": 10801,
"loc": {
"start": {
"line": 352,
"column": 30
},
"end": {
"line": 352,
"column": 31
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10802,
"end": 10803,
"loc": {
"start": {
"line": 352,
"column": 32
},
"end": {
"line": 352,
"column": 33
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10809,
"end": 10810,
"loc": {
"start": {
"line": 353,
"column": 4
},
"end": {
"line": 353,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "defaultBuildingVariant",
"start": 10810,
"end": 10832,
"loc": {
"start": {
"line": 353,
"column": 5
},
"end": {
"line": 353,
"column": 27
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10832,
"end": 10833,
"loc": {
"start": {
"line": 353,
"column": 27
},
"end": {
"line": 353,
"column": 28
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10833,
"end": 10834,
"loc": {
"start": {
"line": 353,
"column": 28
},
"end": {
"line": 353,
"column": 29
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10835,
"end": 10836,
"loc": {
"start": {
"line": 353,
"column": 30
},
"end": {
"line": 353,
"column": 31
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10836,
"end": 10837,
"loc": {
"start": {
"line": 353,
"column": 31
},
"end": {
"line": 353,
"column": 32
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10838,
"end": 10840,
"loc": {
"start": {
"line": 353,
"column": 33
},
"end": {
"line": 353,
"column": 35
}
}
},
{
"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": 10841,
"end": 10845,
"loc": {
"start": {
"line": 353,
"column": 36
},
"end": {
"line": 353,
"column": 40
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10845,
"end": 10846,
"loc": {
"start": {
"line": 353,
"column": 40
},
"end": {
"line": 353,
"column": 41
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10848,
"end": 10849,
"loc": {
"start": {
"line": 354,
"column": 0
},
"end": {
"line": 354,
"column": 1
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10849,
"end": 10850,
"loc": {
"start": {
"line": 354,
"column": 1
},
"end": {
"line": 354,
"column": 2
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaBeltBuilding",
"start": 10854,
"end": 10870,
"loc": {
"start": {
"line": 356,
"column": 0
},
"end": {
"line": 356,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10870,
"end": 10871,
"loc": {
"start": {
"line": 356,
"column": 16
},
"end": {
"line": 356,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "layerByVariant",
"start": 10871,
"end": 10885,
"loc": {
"start": {
"line": 356,
"column": 17
},
"end": {
"line": 356,
"column": 31
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 10886,
"end": 10887,
"loc": {
"start": {
"line": 356,
"column": 32
},
"end": {
"line": 356,
"column": 33
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10888,
"end": 10889,
"loc": {
"start": {
"line": 356,
"column": 34
},
"end": {
"line": 356,
"column": 35
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10895,
"end": 10896,
"loc": {
"start": {
"line": 357,
"column": 4
},
"end": {
"line": 357,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "defaultBuildingVariant",
"start": 10896,
"end": 10918,
"loc": {
"start": {
"line": 357,
"column": 5
},
"end": {
"line": 357,
"column": 27
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10918,
"end": 10919,
"loc": {
"start": {
"line": 357,
"column": 27
},
"end": {
"line": 357,
"column": 28
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10919,
"end": 10920,
"loc": {
"start": {
"line": 357,
"column": 28
},
"end": {
"line": 357,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 10921,
"end": 10925,
"loc": {
"start": {
"line": 357,
"column": 30
},
"end": {
"line": 357,
"column": 34
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10926,
"end": 10928,
"loc": {
"start": {
"line": 357,
"column": 35
},
"end": {
"line": 357,
"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": 10929,
"end": 10938,
"loc": {
"start": {
"line": 357,
"column": 38
},
"end": {
"line": 357,
"column": 47
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10938,
"end": 10939,
"loc": {
"start": {
"line": 357,
"column": 47
},
"end": {
"line": 357,
"column": 48
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10941,
"end": 10942,
"loc": {
"start": {
"line": 358,
"column": 0
},
"end": {
"line": 358,
"column": 1
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10942,
"end": 10943,
"loc": {
"start": {
"line": 358,
"column": 1
},
"end": {
"line": 358,
"column": 2
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaBeltBuilding",
"start": 10947,
"end": 10963,
"loc": {
"start": {
"line": 360,
"column": 0
},
"end": {
"line": 360,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10963,
"end": 10964,
"loc": {
"start": {
"line": 360,
"column": 16
},
"end": {
"line": 360,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "componentVariations",
"start": 10964,
"end": 10983,
"loc": {
"start": {
"line": 360,
"column": 17
},
"end": {
"line": 360,
"column": 36
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 10984,
"end": 10985,
"loc": {
"start": {
"line": 360,
"column": 37
},
"end": {
"line": 360,
"column": 38
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10986,
"end": 10987,
"loc": {
"start": {
"line": 360,
"column": 39
},
"end": {
"line": 360,
"column": 40
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10993,
"end": 10994,
"loc": {
"start": {
"line": 361,
"column": 4
},
"end": {
"line": 361,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "defaultBuildingVariant",
"start": 10994,
"end": 11016,
"loc": {
"start": {
"line": 361,
"column": 5
},
"end": {
"line": 361,
"column": 27
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11016,
"end": 11017,
"loc": {
"start": {
"line": 361,
"column": 27
},
"end": {
"line": 361,
"column": 28
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11017,
"end": 11018,
"loc": {
"start": {
"line": 361,
"column": 28
},
"end": {
"line": 361,
"column": 29
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11019,
"end": 11020,
"loc": {
"start": {
"line": 361,
"column": 30
},
"end": {
"line": 361,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 11020,
"end": 11026,
"loc": {
"start": {
"line": 361,
"column": 31
},
"end": {
"line": 361,
"column": 37
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11026,
"end": 11027,
"loc": {
"start": {
"line": 361,
"column": 37
},
"end": {
"line": 361,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotationVariant",
"start": 11028,
"end": 11043,
"loc": {
"start": {
"line": 361,
"column": 39
},
"end": {
"line": 361,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11043,
"end": 11044,
"loc": {
"start": {
"line": 361,
"column": 54
},
"end": {
"line": 361,
"column": 55
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11045,
"end": 11047,
"loc": {
"start": {
"line": 361,
"column": 56
},
"end": {
"line": 361,
"column": 58
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11048,
"end": 11049,
"loc": {
"start": {
"line": 361,
"column": 59
},
"end": {
"line": 361,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 11059,
"end": 11065,
"loc": {
"start": {
"line": 362,
"column": 8
},
"end": {
"line": 362,
"column": 14
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11065,
"end": 11066,
"loc": {
"start": {
"line": 362,
"column": 14
},
"end": {
"line": 362,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 11066,
"end": 11076,
"loc": {
"start": {
"line": 362,
"column": 15
},
"end": {
"line": 362,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11076,
"end": 11077,
"loc": {
"start": {
"line": 362,
"column": 25
},
"end": {
"line": 362,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Belt",
"start": 11077,
"end": 11081,
"loc": {
"start": {
"line": 362,
"column": 26
},
"end": {
"line": 362,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11081,
"end": 11082,
"loc": {
"start": {
"line": 362,
"column": 30
},
"end": {
"line": 362,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "direction",
"start": 11082,
"end": 11091,
"loc": {
"start": {
"line": 362,
"column": 31
},
"end": {
"line": 362,
"column": 40
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 11092,
"end": 11093,
"loc": {
"start": {
"line": 362,
"column": 41
},
"end": {
"line": 362,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaBeltBuilding",
"start": 11094,
"end": 11110,
"loc": {
"start": {
"line": 362,
"column": 43
},
"end": {
"line": 362,
"column": 59
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11110,
"end": 11111,
"loc": {
"start": {
"line": 362,
"column": 59
},
"end": {
"line": 362,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variantToRotation",
"start": 11111,
"end": 11128,
"loc": {
"start": {
"line": 362,
"column": 60
},
"end": {
"line": 362,
"column": 77
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11128,
"end": 11129,
"loc": {
"start": {
"line": 362,
"column": 77
},
"end": {
"line": 362,
"column": 78
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotationVariant",
"start": 11129,
"end": 11144,
"loc": {
"start": {
"line": 362,
"column": 78
},
"end": {
"line": 362,
"column": 93
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11144,
"end": 11145,
"loc": {
"start": {
"line": 362,
"column": 93
},
"end": {
"line": 362,
"column": 94
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11145,
"end": 11146,
"loc": {
"start": {
"line": 362,
"column": 94
},
"end": {
"line": 362,
"column": 95
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11152,
"end": 11153,
"loc": {
"start": {
"line": 363,
"column": 4
},
"end": {
"line": 363,
"column": 5
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11153,
"end": 11154,
"loc": {
"start": {
"line": 363,
"column": 5
},
"end": {
"line": 363,
"column": 6
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11156,
"end": 11157,
"loc": {
"start": {
"line": 364,
"column": 0
},
"end": {
"line": 364,
"column": 1
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11157,
"end": 11158,
"loc": {
"start": {
"line": 364,
"column": 1
},
"end": {
"line": 364,
"column": 2
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MetaBeltBuilding",
"start": 11162,
"end": 11178,
"loc": {
"start": {
"line": 366,
"column": 0
},
"end": {
"line": 366,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11178,
"end": 11179,
"loc": {
"start": {
"line": 366,
"column": 16
},
"end": {
"line": 366,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "additionalStatistics",
"start": 11179,
"end": 11199,
"loc": {
"start": {
"line": 366,
"column": 17
},
"end": {
"line": 366,
"column": 37
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 11200,
"end": 11201,
"loc": {
"start": {
"line": 366,
"column": 38
},
"end": {
"line": 366,
"column": 39
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11202,
"end": 11203,
"loc": {
"start": {
"line": 366,
"column": 40
},
"end": {
"line": 366,
"column": 41
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {*} root\r\n * @returns {Array<[string, string]>}\r\n ",
"start": 11209,
"end": 11288,
"loc": {
"start": {
"line": 367,
"column": 4
},
"end": {
"line": 370,
"column": 7
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11294,
"end": 11295,
"loc": {
"start": {
"line": 371,
"column": 4
},
"end": {
"line": 371,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "defaultBuildingVariant",
"start": 11295,
"end": 11317,
"loc": {
"start": {
"line": 371,
"column": 5
},
"end": {
"line": 371,
"column": 27
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11317,
"end": 11318,
"loc": {
"start": {
"line": 371,
"column": 27
},
"end": {
"line": 371,
"column": 28
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11318,
"end": 11319,
"loc": {
"start": {
"line": 371,
"column": 28
},
"end": {
"line": 371,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 11320,
"end": 11324,
"loc": {
"start": {
"line": 371,
"column": 30
},
"end": {
"line": 371,
"column": 34
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11325,
"end": 11327,
"loc": {
"start": {
"line": 371,
"column": 35
},
"end": {
"line": 371,
"column": 37
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11328,
"end": 11329,
"loc": {
"start": {
"line": 371,
"column": 38
},
"end": {
"line": 371,
"column": 39
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11339,
"end": 11340,
"loc": {
"start": {
"line": 372,
"column": 8
},
"end": {
"line": 372,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "T",
"start": 11340,
"end": 11341,
"loc": {
"start": {
"line": 372,
"column": 9
},
"end": {
"line": 372,
"column": 10
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11341,
"end": 11342,
"loc": {
"start": {
"line": 372,
"column": 10
},
"end": {
"line": 372,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ingame",
"start": 11342,
"end": 11348,
"loc": {
"start": {
"line": 372,
"column": 11
},
"end": {
"line": 372,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11348,
"end": 11349,
"loc": {
"start": {
"line": 372,
"column": 17
},
"end": {
"line": 372,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buildingPlacement",
"start": 11349,
"end": 11366,
"loc": {
"start": {
"line": 372,
"column": 18
},
"end": {
"line": 372,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11366,
"end": 11367,
"loc": {
"start": {
"line": 372,
"column": 35
},
"end": {
"line": 372,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "infoTexts",
"start": 11367,
"end": 11376,
"loc": {
"start": {
"line": 372,
"column": 36
},
"end": {
"line": 372,
"column": 45
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11376,
"end": 11377,
"loc": {
"start": {
"line": 372,
"column": 45
},
"end": {
"line": 372,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "speed",
"start": 11377,
"end": 11382,
"loc": {
"start": {
"line": 372,
"column": 46
},
"end": {
"line": 372,
"column": 51
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11382,
"end": 11383,
"loc": {
"start": {
"line": 372,
"column": 51
},
"end": {
"line": 372,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "formatItemsPerSecond",
"start": 11384,
"end": 11404,
"loc": {
"start": {
"line": 372,
"column": 53
},
"end": {
"line": 372,
"column": 73
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11404,
"end": 11405,
"loc": {
"start": {
"line": 372,
"column": 73
},
"end": {
"line": 372,
"column": 74
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 11405,
"end": 11409,
"loc": {
"start": {
"line": 372,
"column": 74
},
"end": {
"line": 372,
"column": 78
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11409,
"end": 11410,
"loc": {
"start": {
"line": 372,
"column": 78
},
"end": {
"line": 372,
"column": 79
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hubGoals",
"start": 11410,
"end": 11418,
"loc": {
"start": {
"line": 372,
"column": 79
},
"end": {
"line": 372,
"column": 87
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11418,
"end": 11419,
"loc": {
"start": {
"line": 372,
"column": 87
},
"end": {
"line": 372,
"column": 88
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getBeltBaseSpeed",
"start": 11419,
"end": 11435,
"loc": {
"start": {
"line": 372,
"column": 88
},
"end": {
"line": 372,
"column": 104
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11435,
"end": 11436,
"loc": {
"start": {
"line": 372,
"column": 104
},
"end": {
"line": 372,
"column": 105
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11436,
"end": 11437,
"loc": {
"start": {
"line": 372,
"column": 105
},
"end": {
"line": 372,
"column": 106
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11437,
"end": 11438,
"loc": {
"start": {
"line": 372,
"column": 106
},
"end": {
"line": 372,
"column": 107
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11438,
"end": 11439,
"loc": {
"start": {
"line": 372,
"column": 107
},
"end": {
"line": 372,
"column": 108
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11439,
"end": 11440,
"loc": {
"start": {
"line": 372,
"column": 108
},
"end": {
"line": 372,
"column": 109
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11446,
"end": 11447,
"loc": {
"start": {
"line": 373,
"column": 4
},
"end": {
"line": 373,
"column": 5
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11447,
"end": 11448,
"loc": {
"start": {
"line": 373,
"column": 5
},
"end": {
"line": 373,
"column": 6
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11450,
"end": 11451,
"loc": {
"start": {
"line": 374,
"column": 0
},
"end": {
"line": 374,
"column": 1
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11451,
"end": 11452,
"loc": {
"start": {
"line": 374,
"column": 1
},
"end": {
"line": 374,
"column": 2
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11452,
"end": 11452,
"loc": {
"start": {
"line": 374,
"column": 2
},
"end": {
"line": 374,
"column": 2
}
}
}
]
}