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

50665 lines
1.5 MiB

{
"type": "File",
"start": 0,
"end": 10091,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 247,
"column": 1
}
},
"program": {
"type": "Program",
"start": 0,
"end": 10091,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 247,
"column": 1
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 49,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 49
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 9,
"end": 21,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 21
}
},
"imported": {
"type": "Identifier",
"start": 9,
"end": 21,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 21
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
},
"local": {
"type": "Identifier",
"start": 9,
"end": 21,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 21
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
}
}
],
"source": {
"type": "StringLiteral",
"start": 29,
"end": 48,
"loc": {
"start": {
"line": 1,
"column": 29
},
"end": {
"line": 1,
"column": 48
}
},
"extra": {
"rawValue": "../../core/config",
"raw": "\"../../core/config\""
},
"value": "../../core/config"
}
},
{
"type": "ImportDeclaration",
"start": 51,
"end": 111,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 60
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 60,
"end": 74,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 23
}
},
"imported": {
"type": "Identifier",
"start": 60,
"end": 74,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 23
},
"identifierName": "DrawParameters"
},
"name": "DrawParameters"
},
"local": {
"type": "Identifier",
"start": 60,
"end": 74,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 23
},
"identifierName": "DrawParameters"
},
"name": "DrawParameters"
}
}
],
"source": {
"type": "StringLiteral",
"start": 82,
"end": 110,
"loc": {
"start": {
"line": 2,
"column": 31
},
"end": {
"line": 2,
"column": 59
}
},
"extra": {
"rawValue": "../../core/draw_parameters",
"raw": "\"../../core/draw_parameters\""
},
"value": "../../core/draw_parameters"
}
},
{
"type": "ImportDeclaration",
"start": 113,
"end": 171,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 58
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 122,
"end": 139,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 26
}
},
"imported": {
"type": "Identifier",
"start": 122,
"end": 139,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 26
},
"identifierName": "drawRotatedSprite"
},
"name": "drawRotatedSprite"
},
"local": {
"type": "Identifier",
"start": 122,
"end": 139,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 26
},
"identifierName": "drawRotatedSprite"
},
"name": "drawRotatedSprite"
}
}
],
"source": {
"type": "StringLiteral",
"start": 147,
"end": 170,
"loc": {
"start": {
"line": 3,
"column": 34
},
"end": {
"line": 3,
"column": 57
}
},
"extra": {
"rawValue": "../../core/draw_utils",
"raw": "\"../../core/draw_utils\""
},
"value": "../../core/draw_utils"
}
},
{
"type": "ImportDeclaration",
"start": 173,
"end": 216,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 43
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 182,
"end": 188,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 15
}
},
"imported": {
"type": "Identifier",
"start": 182,
"end": 188,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 15
},
"identifierName": "Loader"
},
"name": "Loader"
},
"local": {
"type": "Identifier",
"start": 182,
"end": 188,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 15
},
"identifierName": "Loader"
},
"name": "Loader"
}
}
],
"source": {
"type": "StringLiteral",
"start": 196,
"end": 215,
"loc": {
"start": {
"line": 4,
"column": 23
},
"end": {
"line": 4,
"column": 42
}
},
"extra": {
"rawValue": "../../core/loader",
"raw": "\"../../core/loader\""
},
"value": "../../core/loader"
}
},
{
"type": "ImportDeclaration",
"start": 218,
"end": 271,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 53
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 227,
"end": 243,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 25
}
},
"imported": {
"type": "Identifier",
"start": 227,
"end": 243,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 25
},
"identifierName": "STOP_PROPAGATION"
},
"name": "STOP_PROPAGATION"
},
"local": {
"type": "Identifier",
"start": 227,
"end": 243,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 25
},
"identifierName": "STOP_PROPAGATION"
},
"name": "STOP_PROPAGATION"
}
}
],
"source": {
"type": "StringLiteral",
"start": 251,
"end": 270,
"loc": {
"start": {
"line": 5,
"column": 33
},
"end": {
"line": 5,
"column": 52
}
},
"extra": {
"rawValue": "../../core/signal",
"raw": "\"../../core/signal\""
},
"value": "../../core/signal"
}
},
{
"type": "ImportDeclaration",
"start": 273,
"end": 338,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 65
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 282,
"end": 302,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 29
}
},
"imported": {
"type": "Identifier",
"start": 282,
"end": 302,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 29
},
"identifierName": "enumDirectionToAngle"
},
"name": "enumDirectionToAngle"
},
"local": {
"type": "Identifier",
"start": 282,
"end": 302,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 29
},
"identifierName": "enumDirectionToAngle"
},
"name": "enumDirectionToAngle"
}
},
{
"type": "ImportSpecifier",
"start": 304,
"end": 310,
"loc": {
"start": {
"line": 6,
"column": 31
},
"end": {
"line": 6,
"column": 37
}
},
"imported": {
"type": "Identifier",
"start": 304,
"end": 310,
"loc": {
"start": {
"line": 6,
"column": 31
},
"end": {
"line": 6,
"column": 37
},
"identifierName": "Vector"
},
"name": "Vector"
},
"local": {
"type": "Identifier",
"start": 304,
"end": 310,
"loc": {
"start": {
"line": 6,
"column": 31
},
"end": {
"line": 6,
"column": 37
},
"identifierName": "Vector"
},
"name": "Vector"
}
}
],
"source": {
"type": "StringLiteral",
"start": 318,
"end": 337,
"loc": {
"start": {
"line": 6,
"column": 45
},
"end": {
"line": 6,
"column": 64
}
},
"extra": {
"rawValue": "../../core/vector",
"raw": "\"../../core/vector\""
},
"value": "../../core/vector"
}
},
{
"type": "ImportDeclaration",
"start": 340,
"end": 419,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 7,
"column": 79
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 349,
"end": 364,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 24
}
},
"imported": {
"type": "Identifier",
"start": 349,
"end": 364,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 24
},
"identifierName": "enumPinSlotType"
},
"name": "enumPinSlotType"
},
"local": {
"type": "Identifier",
"start": 349,
"end": 364,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 24
},
"identifierName": "enumPinSlotType"
},
"name": "enumPinSlotType"
}
},
{
"type": "ImportSpecifier",
"start": 366,
"end": 384,
"loc": {
"start": {
"line": 7,
"column": 26
},
"end": {
"line": 7,
"column": 44
}
},
"imported": {
"type": "Identifier",
"start": 366,
"end": 384,
"loc": {
"start": {
"line": 7,
"column": 26
},
"end": {
"line": 7,
"column": 44
},
"identifierName": "WiredPinsComponent"
},
"name": "WiredPinsComponent"
},
"local": {
"type": "Identifier",
"start": 366,
"end": 384,
"loc": {
"start": {
"line": 7,
"column": 26
},
"end": {
"line": 7,
"column": 44
},
"identifierName": "WiredPinsComponent"
},
"name": "WiredPinsComponent"
}
}
],
"source": {
"type": "StringLiteral",
"start": 392,
"end": 418,
"loc": {
"start": {
"line": 7,
"column": 52
},
"end": {
"line": 7,
"column": 78
}
},
"extra": {
"rawValue": "../components/wired_pins",
"raw": "\"../components/wired_pins\""
},
"value": "../components/wired_pins"
}
},
{
"type": "ImportDeclaration",
"start": 421,
"end": 456,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 8,
"column": 35
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 430,
"end": 436,
"loc": {
"start": {
"line": 8,
"column": 9
},
"end": {
"line": 8,
"column": 15
}
},
"imported": {
"type": "Identifier",
"start": 430,
"end": 436,
"loc": {
"start": {
"line": 8,
"column": 9
},
"end": {
"line": 8,
"column": 15
},
"identifierName": "Entity"
},
"name": "Entity"
},
"local": {
"type": "Identifier",
"start": 430,
"end": 436,
"loc": {
"start": {
"line": 8,
"column": 9
},
"end": {
"line": 8,
"column": 15
},
"identifierName": "Entity"
},
"name": "Entity"
}
}
],
"source": {
"type": "StringLiteral",
"start": 444,
"end": 455,
"loc": {
"start": {
"line": 8,
"column": 23
},
"end": {
"line": 8,
"column": 34
}
},
"extra": {
"rawValue": "../entity",
"raw": "\"../entity\""
},
"value": "../entity"
}
},
{
"type": "ImportDeclaration",
"start": 458,
"end": 524,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"column": 66
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 467,
"end": 487,
"loc": {
"start": {
"line": 9,
"column": 9
},
"end": {
"line": 9,
"column": 29
}
},
"imported": {
"type": "Identifier",
"start": 467,
"end": 487,
"loc": {
"start": {
"line": 9,
"column": 9
},
"end": {
"line": 9,
"column": 29
},
"identifierName": "GameSystemWithFilter"
},
"name": "GameSystemWithFilter"
},
"local": {
"type": "Identifier",
"start": 467,
"end": 487,
"loc": {
"start": {
"line": 9,
"column": 9
},
"end": {
"line": 9,
"column": 29
},
"identifierName": "GameSystemWithFilter"
},
"name": "GameSystemWithFilter"
}
}
],
"source": {
"type": "StringLiteral",
"start": 495,
"end": 523,
"loc": {
"start": {
"line": 9,
"column": 37
},
"end": {
"line": 9,
"column": 65
}
},
"extra": {
"rawValue": "../game_system_with_filter",
"raw": "\"../game_system_with_filter\""
},
"value": "../game_system_with_filter"
}
},
{
"type": "ImportDeclaration",
"start": 526,
"end": 575,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 10,
"column": 49
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 535,
"end": 547,
"loc": {
"start": {
"line": 10,
"column": 9
},
"end": {
"line": 10,
"column": 21
}
},
"imported": {
"type": "Identifier",
"start": 535,
"end": 547,
"loc": {
"start": {
"line": 10,
"column": 9
},
"end": {
"line": 10,
"column": 21
},
"identifierName": "MapChunkView"
},
"name": "MapChunkView"
},
"local": {
"type": "Identifier",
"start": 535,
"end": 547,
"loc": {
"start": {
"line": 10,
"column": 9
},
"end": {
"line": 10,
"column": 21
},
"identifierName": "MapChunkView"
},
"name": "MapChunkView"
}
}
],
"source": {
"type": "StringLiteral",
"start": 555,
"end": 574,
"loc": {
"start": {
"line": 10,
"column": 29
},
"end": {
"line": 10,
"column": 48
}
},
"extra": {
"rawValue": "../map_chunk_view",
"raw": "\"../map_chunk_view\""
},
"value": "../map_chunk_view"
}
},
{
"type": "ImportDeclaration",
"start": 577,
"end": 637,
"loc": {
"start": {
"line": 11,
"column": 0
},
"end": {
"line": 11,
"column": 60
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 586,
"end": 609,
"loc": {
"start": {
"line": 11,
"column": 9
},
"end": {
"line": 11,
"column": 32
}
},
"imported": {
"type": "Identifier",
"start": 586,
"end": 609,
"loc": {
"start": {
"line": 11,
"column": 9
},
"end": {
"line": 11,
"column": 32
},
"identifierName": "getBuildingDataFromCode"
},
"name": "getBuildingDataFromCode"
},
"local": {
"type": "Identifier",
"start": 586,
"end": 609,
"loc": {
"start": {
"line": 11,
"column": 9
},
"end": {
"line": 11,
"column": 32
},
"identifierName": "getBuildingDataFromCode"
},
"name": "getBuildingDataFromCode"
}
}
],
"source": {
"type": "StringLiteral",
"start": 617,
"end": 636,
"loc": {
"start": {
"line": 11,
"column": 40
},
"end": {
"line": 11,
"column": 59
}
},
"extra": {
"rawValue": "../building_codes",
"raw": "\"../building_codes\""
},
"value": "../building_codes"
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "* @type {Object<ItemType, number>} ",
"start": 641,
"end": 680,
"loc": {
"start": {
"line": 13,
"column": 0
},
"end": {
"line": 13,
"column": 39
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 682,
"end": 758,
"loc": {
"start": {
"line": 14,
"column": 0
},
"end": {
"line": 18,
"column": 2
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 688,
"end": 757,
"loc": {
"start": {
"line": 14,
"column": 6
},
"end": {
"line": 18,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 688,
"end": 702,
"loc": {
"start": {
"line": 14,
"column": 6
},
"end": {
"line": 14,
"column": 20
},
"identifierName": "enumTypeToSize"
},
"name": "enumTypeToSize",
"leadingComments": null
},
"init": {
"type": "ObjectExpression",
"start": 705,
"end": 757,
"loc": {
"start": {
"line": 14,
"column": 23
},
"end": {
"line": 18,
"column": 1
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 712,
"end": 722,
"loc": {
"start": {
"line": 15,
"column": 4
},
"end": {
"line": 15,
"column": 14
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 712,
"end": 719,
"loc": {
"start": {
"line": 15,
"column": 4
},
"end": {
"line": 15,
"column": 11
},
"identifierName": "boolean"
},
"name": "boolean"
},
"value": {
"type": "NumericLiteral",
"start": 721,
"end": 722,
"loc": {
"start": {
"line": 15,
"column": 13
},
"end": {
"line": 15,
"column": 14
}
},
"extra": {
"rawValue": 9,
"raw": "9"
},
"value": 9
}
},
{
"type": "ObjectProperty",
"start": 729,
"end": 737,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 16,
"column": 12
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 729,
"end": 734,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 16,
"column": 9
},
"identifierName": "shape"
},
"name": "shape"
},
"value": {
"type": "NumericLiteral",
"start": 736,
"end": 737,
"loc": {
"start": {
"line": 16,
"column": 11
},
"end": {
"line": 16,
"column": 12
}
},
"extra": {
"rawValue": 9,
"raw": "9"
},
"value": 9
}
},
{
"type": "ObjectProperty",
"start": 744,
"end": 753,
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 17,
"column": 13
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 744,
"end": 749,
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 17,
"column": 9
},
"identifierName": "color"
},
"name": "color"
},
"value": {
"type": "NumericLiteral",
"start": 751,
"end": 753,
"loc": {
"start": {
"line": 17,
"column": 11
},
"end": {
"line": 17,
"column": 13
}
},
"extra": {
"rawValue": 14,
"raw": "14"
},
"value": 14
}
}
]
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @type {Object<ItemType, number>} ",
"start": 641,
"end": 680,
"loc": {
"start": {
"line": 13,
"column": 0
},
"end": {
"line": 13,
"column": 39
}
}
}
]
},
{
"type": "ExportNamedDeclaration",
"start": 762,
"end": 10091,
"loc": {
"start": {
"line": 20,
"column": 0
},
"end": {
"line": 247,
"column": 1
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "ClassDeclaration",
"start": 769,
"end": 10091,
"loc": {
"start": {
"line": 20,
"column": 7
},
"end": {
"line": 247,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 775,
"end": 790,
"loc": {
"start": {
"line": 20,
"column": 13
},
"end": {
"line": 20,
"column": 28
},
"identifierName": "WiredPinsSystem"
},
"name": "WiredPinsSystem"
},
"superClass": {
"type": "Identifier",
"start": 799,
"end": 819,
"loc": {
"start": {
"line": 20,
"column": 37
},
"end": {
"line": 20,
"column": 57
},
"identifierName": "GameSystemWithFilter"
},
"name": "GameSystemWithFilter"
},
"body": {
"type": "ClassBody",
"start": 820,
"end": 10091,
"loc": {
"start": {
"line": 20,
"column": 58
},
"end": {
"line": 247,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 827,
"end": 1324,
"loc": {
"start": {
"line": 21,
"column": 4
},
"end": {
"line": 31,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 827,
"end": 838,
"loc": {
"start": {
"line": 21,
"column": 4
},
"end": {
"line": 21,
"column": 15
},
"identifierName": "constructor"
},
"name": "constructor"
},
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 839,
"end": 843,
"loc": {
"start": {
"line": 21,
"column": 16
},
"end": {
"line": 21,
"column": 20
},
"identifierName": "root"
},
"name": "root"
}
],
"body": {
"type": "BlockStatement",
"start": 845,
"end": 1324,
"loc": {
"start": {
"line": 21,
"column": 22
},
"end": {
"line": 31,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 856,
"end": 890,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 22,
"column": 42
}
},
"expression": {
"type": "CallExpression",
"start": 856,
"end": 889,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 22,
"column": 41
}
},
"callee": {
"type": "Super",
"start": 856,
"end": 861,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 22,
"column": 13
}
}
},
"arguments": [
{
"type": "Identifier",
"start": 862,
"end": 866,
"loc": {
"start": {
"line": 22,
"column": 14
},
"end": {
"line": 22,
"column": 18
},
"identifierName": "root"
},
"name": "root"
},
{
"type": "ArrayExpression",
"start": 868,
"end": 888,
"loc": {
"start": {
"line": 22,
"column": 20
},
"end": {
"line": 22,
"column": 40
}
},
"elements": [
{
"type": "Identifier",
"start": 869,
"end": 887,
"loc": {
"start": {
"line": 22,
"column": 21
},
"end": {
"line": 22,
"column": 39
},
"identifierName": "WiredPinsComponent"
},
"name": "WiredPinsComponent"
}
]
}
]
}
},
{
"type": "ExpressionStatement",
"start": 902,
"end": 1139,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 27,
"column": 10
}
},
"expression": {
"type": "AssignmentExpression",
"start": 902,
"end": 1138,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 27,
"column": 9
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 902,
"end": 917,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 24,
"column": 23
}
},
"object": {
"type": "ThisExpression",
"start": 902,
"end": 906,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 24,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 907,
"end": 917,
"loc": {
"start": {
"line": 24,
"column": 13
},
"end": {
"line": 24,
"column": 23
},
"identifierName": "pinSprites"
},
"name": "pinSprites"
},
"computed": false
},
"right": {
"type": "ObjectExpression",
"start": 920,
"end": 1138,
"loc": {
"start": {
"line": 24,
"column": 26
},
"end": {
"line": 27,
"column": 9
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 935,
"end": 1022,
"loc": {
"start": {
"line": 25,
"column": 12
},
"end": {
"line": 25,
"column": 99
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "MemberExpression",
"start": 936,
"end": 966,
"loc": {
"start": {
"line": 25,
"column": 13
},
"end": {
"line": 25,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 936,
"end": 951,
"loc": {
"start": {
"line": 25,
"column": 13
},
"end": {
"line": 25,
"column": 28
},
"identifierName": "enumPinSlotType"
},
"name": "enumPinSlotType"
},
"property": {
"type": "Identifier",
"start": 952,
"end": 966,
"loc": {
"start": {
"line": 25,
"column": 29
},
"end": {
"line": 25,
"column": 43
},
"identifierName": "logicalEjector"
},
"name": "logicalEjector"
},
"computed": false
},
"value": {
"type": "CallExpression",
"start": 969,
"end": 1022,
"loc": {
"start": {
"line": 25,
"column": 46
},
"end": {
"line": 25,
"column": 99
}
},
"callee": {
"type": "MemberExpression",
"start": 969,
"end": 985,
"loc": {
"start": {
"line": 25,
"column": 46
},
"end": {
"line": 25,
"column": 62
}
},
"object": {
"type": "Identifier",
"start": 969,
"end": 975,
"loc": {
"start": {
"line": 25,
"column": 46
},
"end": {
"line": 25,
"column": 52
},
"identifierName": "Loader"
},
"name": "Loader"
},
"property": {
"type": "Identifier",
"start": 976,
"end": 985,
"loc": {
"start": {
"line": 25,
"column": 53
},
"end": {
"line": 25,
"column": 62
},
"identifierName": "getSprite"
},
"name": "getSprite"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 986,
"end": 1021,
"loc": {
"start": {
"line": 25,
"column": 63
},
"end": {
"line": 25,
"column": 98
}
},
"extra": {
"rawValue": "sprites/wires/logical_ejector.png",
"raw": "\"sprites/wires/logical_ejector.png\""
},
"value": "sprites/wires/logical_ejector.png"
}
]
}
},
{
"type": "ObjectProperty",
"start": 1037,
"end": 1126,
"loc": {
"start": {
"line": 26,
"column": 12
},
"end": {
"line": 26,
"column": 101
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "MemberExpression",
"start": 1038,
"end": 1069,
"loc": {
"start": {
"line": 26,
"column": 13
},
"end": {
"line": 26,
"column": 44
}
},
"object": {
"type": "Identifier",
"start": 1038,
"end": 1053,
"loc": {
"start": {
"line": 26,
"column": 13
},
"end": {
"line": 26,
"column": 28
},
"identifierName": "enumPinSlotType"
},
"name": "enumPinSlotType"
},
"property": {
"type": "Identifier",
"start": 1054,
"end": 1069,
"loc": {
"start": {
"line": 26,
"column": 29
},
"end": {
"line": 26,
"column": 44
},
"identifierName": "logicalAcceptor"
},
"name": "logicalAcceptor"
},
"computed": false
},
"value": {
"type": "CallExpression",
"start": 1072,
"end": 1126,
"loc": {
"start": {
"line": 26,
"column": 47
},
"end": {
"line": 26,
"column": 101
}
},
"callee": {
"type": "MemberExpression",
"start": 1072,
"end": 1088,
"loc": {
"start": {
"line": 26,
"column": 47
},
"end": {
"line": 26,
"column": 63
}
},
"object": {
"type": "Identifier",
"start": 1072,
"end": 1078,
"loc": {
"start": {
"line": 26,
"column": 47
},
"end": {
"line": 26,
"column": 53
},
"identifierName": "Loader"
},
"name": "Loader"
},
"property": {
"type": "Identifier",
"start": 1079,
"end": 1088,
"loc": {
"start": {
"line": 26,
"column": 54
},
"end": {
"line": 26,
"column": 63
},
"identifierName": "getSprite"
},
"name": "getSprite"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1089,
"end": 1125,
"loc": {
"start": {
"line": 26,
"column": 64
},
"end": {
"line": 26,
"column": 100
}
},
"extra": {
"rawValue": "sprites/wires/logical_acceptor.png",
"raw": "\"sprites/wires/logical_acceptor.png\""
},
"value": "sprites/wires/logical_acceptor.png"
}
]
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 1151,
"end": 1221,
"loc": {
"start": {
"line": 29,
"column": 8
},
"end": {
"line": 29,
"column": 78
}
},
"expression": {
"type": "CallExpression",
"start": 1151,
"end": 1220,
"loc": {
"start": {
"line": 29,
"column": 8
},
"end": {
"line": 29,
"column": 77
}
},
"callee": {
"type": "MemberExpression",
"start": 1151,
"end": 1190,
"loc": {
"start": {
"line": 29,
"column": 8
},
"end": {
"line": 29,
"column": 47
}
},
"object": {
"type": "MemberExpression",
"start": 1151,
"end": 1186,
"loc": {
"start": {
"line": 29,
"column": 8
},
"end": {
"line": 29,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 1151,
"end": 1168,
"loc": {
"start": {
"line": 29,
"column": 8
},
"end": {
"line": 29,
"column": 25
}
},
"object": {
"type": "MemberExpression",
"start": 1151,
"end": 1160,
"loc": {
"start": {
"line": 29,
"column": 8
},
"end": {
"line": 29,
"column": 17
}
},
"object": {
"type": "ThisExpression",
"start": 1151,
"end": 1155,
"loc": {
"start": {
"line": 29,
"column": 8
},
"end": {
"line": 29,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1156,
"end": 1160,
"loc": {
"start": {
"line": 29,
"column": 13
},
"end": {
"line": 29,
"column": 17
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1161,
"end": 1168,
"loc": {
"start": {
"line": 29,
"column": 18
},
"end": {
"line": 29,
"column": 25
},
"identifierName": "signals"
},
"name": "signals"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1169,
"end": 1186,
"loc": {
"start": {
"line": 29,
"column": 26
},
"end": {
"line": 29,
"column": 43
},
"identifierName": "prePlacementCheck"
},
"name": "prePlacementCheck"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1187,
"end": 1190,
"loc": {
"start": {
"line": 29,
"column": 44
},
"end": {
"line": 29,
"column": 47
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 1191,
"end": 1213,
"loc": {
"start": {
"line": 29,
"column": 48
},
"end": {
"line": 29,
"column": 70
}
},
"object": {
"type": "ThisExpression",
"start": 1191,
"end": 1195,
"loc": {
"start": {
"line": 29,
"column": 48
},
"end": {
"line": 29,
"column": 52
}
}
},
"property": {
"type": "Identifier",
"start": 1196,
"end": 1213,
"loc": {
"start": {
"line": 29,
"column": 53
},
"end": {
"line": 29,
"column": 70
},
"identifierName": "prePlacementCheck"
},
"name": "prePlacementCheck"
},
"computed": false
},
{
"type": "ThisExpression",
"start": 1215,
"end": 1219,
"loc": {
"start": {
"line": 29,
"column": 72
},
"end": {
"line": 29,
"column": 76
}
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1231,
"end": 1317,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 94
}
},
"expression": {
"type": "CallExpression",
"start": 1231,
"end": 1316,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 93
}
},
"callee": {
"type": "MemberExpression",
"start": 1231,
"end": 1278,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 55
}
},
"object": {
"type": "MemberExpression",
"start": 1231,
"end": 1274,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 51
}
},
"object": {
"type": "MemberExpression",
"start": 1231,
"end": 1248,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 25
}
},
"object": {
"type": "MemberExpression",
"start": 1231,
"end": 1240,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 17
}
},
"object": {
"type": "ThisExpression",
"start": 1231,
"end": 1235,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1236,
"end": 1240,
"loc": {
"start": {
"line": 30,
"column": 13
},
"end": {
"line": 30,
"column": 17
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1241,
"end": 1248,
"loc": {
"start": {
"line": 30,
"column": 18
},
"end": {
"line": 30,
"column": 25
},
"identifierName": "signals"
},
"name": "signals"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1249,
"end": 1274,
"loc": {
"start": {
"line": 30,
"column": 26
},
"end": {
"line": 30,
"column": 51
},
"identifierName": "freeEntityAreaBeforeBuild"
},
"name": "freeEntityAreaBeforeBuild"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1275,
"end": 1278,
"loc": {
"start": {
"line": 30,
"column": 52
},
"end": {
"line": 30,
"column": 55
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 1279,
"end": 1309,
"loc": {
"start": {
"line": 30,
"column": 56
},
"end": {
"line": 30,
"column": 86
}
},
"object": {
"type": "ThisExpression",
"start": 1279,
"end": 1283,
"loc": {
"start": {
"line": 30,
"column": 56
},
"end": {
"line": 30,
"column": 60
}
}
},
"property": {
"type": "Identifier",
"start": 1284,
"end": 1309,
"loc": {
"start": {
"line": 30,
"column": 61
},
"end": {
"line": 30,
"column": 86
},
"identifierName": "freeEntityAreaBeforeBuild"
},
"name": "freeEntityAreaBeforeBuild"
},
"computed": false
},
{
"type": "ThisExpression",
"start": 1311,
"end": 1315,
"loc": {
"start": {
"line": 30,
"column": 88
},
"end": {
"line": 30,
"column": 92
}
}
}
]
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 1332,
"end": 1384,
"loc": {
"start": {
"line": 33,
"column": 4
},
"end": {
"line": 35,
"column": 5
}
},
"static": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 1339,
"end": 1344,
"loc": {
"start": {
"line": 33,
"column": 11
},
"end": {
"line": 33,
"column": 16
},
"identifierName": "getId"
},
"name": "getId"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1347,
"end": 1384,
"loc": {
"start": {
"line": 33,
"column": 19
},
"end": {
"line": 35,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1358,
"end": 1377,
"loc": {
"start": {
"line": 34,
"column": 8
},
"end": {
"line": 34,
"column": 27
}
},
"argument": {
"type": "StringLiteral",
"start": 1365,
"end": 1376,
"loc": {
"start": {
"line": 34,
"column": 15
},
"end": {
"line": 34,
"column": 26
}
},
"extra": {
"rawValue": "wiredPins",
"raw": "\"wiredPins\""
},
"value": "wiredPins"
}
}
],
"directives": [],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Performs pre-placement checks\r\n * @param {Entity} entity\r\n * @param {Vector} offset\r\n ",
"start": 1392,
"end": 1504,
"loc": {
"start": {
"line": 37,
"column": 4
},
"end": {
"line": 41,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 1510,
"end": 3826,
"loc": {
"start": {
"line": 42,
"column": 4
},
"end": {
"line": 92,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1510,
"end": 1527,
"loc": {
"start": {
"line": 42,
"column": 4
},
"end": {
"line": 42,
"column": 21
},
"identifierName": "prePlacementCheck"
},
"name": "prePlacementCheck",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1528,
"end": 1534,
"loc": {
"start": {
"line": 42,
"column": 22
},
"end": {
"line": 42,
"column": 28
},
"identifierName": "entity"
},
"name": "entity"
},
{
"type": "Identifier",
"start": 1536,
"end": 1542,
"loc": {
"start": {
"line": 42,
"column": 30
},
"end": {
"line": 42,
"column": 36
},
"identifierName": "offset"
},
"name": "offset"
}
],
"body": {
"type": "BlockStatement",
"start": 1544,
"end": 3826,
"loc": {
"start": {
"line": 42,
"column": 38
},
"end": {
"line": 92,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 1596,
"end": 1664,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 44,
"column": 76
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1602,
"end": 1663,
"loc": {
"start": {
"line": 44,
"column": 14
},
"end": {
"line": 44,
"column": 75
}
},
"id": {
"type": "Identifier",
"start": 1602,
"end": 1606,
"loc": {
"start": {
"line": 44,
"column": 14
},
"end": {
"line": 44,
"column": 18
},
"identifierName": "rect"
},
"name": "rect",
"leadingComments": null
},
"init": {
"type": "CallExpression",
"start": 1609,
"end": 1663,
"loc": {
"start": {
"line": 44,
"column": 21
},
"end": {
"line": 44,
"column": 75
}
},
"callee": {
"type": "MemberExpression",
"start": 1609,
"end": 1661,
"loc": {
"start": {
"line": 44,
"column": 21
},
"end": {
"line": 44,
"column": 73
}
},
"object": {
"type": "MemberExpression",
"start": 1609,
"end": 1642,
"loc": {
"start": {
"line": 44,
"column": 21
},
"end": {
"line": 44,
"column": 54
}
},
"object": {
"type": "MemberExpression",
"start": 1609,
"end": 1626,
"loc": {
"start": {
"line": 44,
"column": 21
},
"end": {
"line": 44,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 1609,
"end": 1615,
"loc": {
"start": {
"line": 44,
"column": 21
},
"end": {
"line": 44,
"column": 27
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 1616,
"end": 1626,
"loc": {
"start": {
"line": 44,
"column": 28
},
"end": {
"line": 44,
"column": 38
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1627,
"end": 1642,
"loc": {
"start": {
"line": 44,
"column": 39
},
"end": {
"line": 44,
"column": 54
},
"identifierName": "StaticMapEntity"
},
"name": "StaticMapEntity"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1643,
"end": 1661,
"loc": {
"start": {
"line": 44,
"column": 55
},
"end": {
"line": 44,
"column": 73
},
"identifierName": "getTileSpaceBounds"
},
"name": "getTileSpaceBounds"
},
"computed": false
},
"arguments": []
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentLine",
"value": " Compute area of the building",
"start": 1555,
"end": 1586,
"loc": {
"start": {
"line": 43,
"column": 8
},
"end": {
"line": 43,
"column": 39
}
}
}
]
},
{
"type": "IfStatement",
"start": 1674,
"end": 1764,
"loc": {
"start": {
"line": 45,
"column": 8
},
"end": {
"line": 48,
"column": 9
}
},
"test": {
"type": "Identifier",
"start": 1678,
"end": 1684,
"loc": {
"start": {
"line": 45,
"column": 12
},
"end": {
"line": 45,
"column": 18
},
"identifierName": "offset"
},
"name": "offset"
},
"consequent": {
"type": "BlockStatement",
"start": 1686,
"end": 1764,
"loc": {
"start": {
"line": 45,
"column": 20
},
"end": {
"line": 48,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1701,
"end": 1720,
"loc": {
"start": {
"line": 46,
"column": 12
},
"end": {
"line": 46,
"column": 31
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1701,
"end": 1719,
"loc": {
"start": {
"line": 46,
"column": 12
},
"end": {
"line": 46,
"column": 30
}
},
"operator": "+=",
"left": {
"type": "MemberExpression",
"start": 1701,
"end": 1707,
"loc": {
"start": {
"line": 46,
"column": 12
},
"end": {
"line": 46,
"column": 18
}
},
"object": {
"type": "Identifier",
"start": 1701,
"end": 1705,
"loc": {
"start": {
"line": 46,
"column": 12
},
"end": {
"line": 46,
"column": 16
},
"identifierName": "rect"
},
"name": "rect"
},
"property": {
"type": "Identifier",
"start": 1706,
"end": 1707,
"loc": {
"start": {
"line": 46,
"column": 17
},
"end": {
"line": 46,
"column": 18
},
"identifierName": "x"
},
"name": "x"
},
"computed": false
},
"right": {
"type": "MemberExpression",
"start": 1711,
"end": 1719,
"loc": {
"start": {
"line": 46,
"column": 22
},
"end": {
"line": 46,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 1711,
"end": 1717,
"loc": {
"start": {
"line": 46,
"column": 22
},
"end": {
"line": 46,
"column": 28
},
"identifierName": "offset"
},
"name": "offset"
},
"property": {
"type": "Identifier",
"start": 1718,
"end": 1719,
"loc": {
"start": {
"line": 46,
"column": 29
},
"end": {
"line": 46,
"column": 30
},
"identifierName": "x"
},
"name": "x"
},
"computed": false
}
}
},
{
"type": "ExpressionStatement",
"start": 1734,
"end": 1753,
"loc": {
"start": {
"line": 47,
"column": 12
},
"end": {
"line": 47,
"column": 31
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1734,
"end": 1752,
"loc": {
"start": {
"line": 47,
"column": 12
},
"end": {
"line": 47,
"column": 30
}
},
"operator": "+=",
"left": {
"type": "MemberExpression",
"start": 1734,
"end": 1740,
"loc": {
"start": {
"line": 47,
"column": 12
},
"end": {
"line": 47,
"column": 18
}
},
"object": {
"type": "Identifier",
"start": 1734,
"end": 1738,
"loc": {
"start": {
"line": 47,
"column": 12
},
"end": {
"line": 47,
"column": 16
},
"identifierName": "rect"
},
"name": "rect"
},
"property": {
"type": "Identifier",
"start": 1739,
"end": 1740,
"loc": {
"start": {
"line": 47,
"column": 17
},
"end": {
"line": 47,
"column": 18
},
"identifierName": "y"
},
"name": "y"
},
"computed": false
},
"right": {
"type": "MemberExpression",
"start": 1744,
"end": 1752,
"loc": {
"start": {
"line": 47,
"column": 22
},
"end": {
"line": 47,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 1744,
"end": 1750,
"loc": {
"start": {
"line": 47,
"column": 22
},
"end": {
"line": 47,
"column": 28
},
"identifierName": "offset"
},
"name": "offset"
},
"property": {
"type": "Identifier",
"start": 1751,
"end": 1752,
"loc": {
"start": {
"line": 47,
"column": 29
},
"end": {
"line": 47,
"column": 30
},
"identifierName": "y"
},
"name": "y"
},
"computed": false
}
}
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"trailingComments": [
{
"type": "CommentLine",
"value": " If this entity is placed on the wires layer, make sure we don't",
"start": 1776,
"end": 1842,
"loc": {
"start": {
"line": 50,
"column": 8
},
"end": {
"line": 50,
"column": 74
}
}
},
{
"type": "CommentLine",
"value": " place it above a pin",
"start": 1852,
"end": 1875,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 51,
"column": 31
}
}
}
]
},
{
"type": "IfStatement",
"start": 1885,
"end": 3656,
"loc": {
"start": {
"line": 52,
"column": 8
},
"end": {
"line": 86,
"column": 9
}
},
"test": {
"type": "BinaryExpression",
"start": 1889,
"end": 1913,
"loc": {
"start": {
"line": 52,
"column": 12
},
"end": {
"line": 52,
"column": 36
}
},
"left": {
"type": "MemberExpression",
"start": 1889,
"end": 1901,
"loc": {
"start": {
"line": 52,
"column": 12
},
"end": {
"line": 52,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 1889,
"end": 1895,
"loc": {
"start": {
"line": 52,
"column": 12
},
"end": {
"line": 52,
"column": 18
},
"identifierName": "entity"
},
"name": "entity",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 1896,
"end": 1901,
"loc": {
"start": {
"line": 52,
"column": 19
},
"end": {
"line": 52,
"column": 24
},
"identifierName": "layer"
},
"name": "layer"
},
"computed": false,
"leadingComments": null
},
"operator": "===",
"right": {
"type": "StringLiteral",
"start": 1906,
"end": 1913,
"loc": {
"start": {
"line": 52,
"column": 29
},
"end": {
"line": 52,
"column": 36
}
},
"extra": {
"rawValue": "wires",
"raw": "\"wires\""
},
"value": "wires"
},
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 1915,
"end": 3656,
"loc": {
"start": {
"line": 52,
"column": 38
},
"end": {
"line": 86,
"column": 9
}
},
"body": [
{
"type": "ForStatement",
"start": 1930,
"end": 3645,
"loc": {
"start": {
"line": 53,
"column": 12
},
"end": {
"line": 85,
"column": 13
}
},
"init": {
"type": "VariableDeclaration",
"start": 1935,
"end": 1949,
"loc": {
"start": {
"line": 53,
"column": 17
},
"end": {
"line": 53,
"column": 31
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1939,
"end": 1949,
"loc": {
"start": {
"line": 53,
"column": 21
},
"end": {
"line": 53,
"column": 31
}
},
"id": {
"type": "Identifier",
"start": 1939,
"end": 1940,
"loc": {
"start": {
"line": 53,
"column": 21
},
"end": {
"line": 53,
"column": 22
},
"identifierName": "x"
},
"name": "x"
},
"init": {
"type": "MemberExpression",
"start": 1943,
"end": 1949,
"loc": {
"start": {
"line": 53,
"column": 25
},
"end": {
"line": 53,
"column": 31
}
},
"object": {
"type": "Identifier",
"start": 1943,
"end": 1947,
"loc": {
"start": {
"line": 53,
"column": 25
},
"end": {
"line": 53,
"column": 29
},
"identifierName": "rect"
},
"name": "rect"
},
"property": {
"type": "Identifier",
"start": 1948,
"end": 1949,
"loc": {
"start": {
"line": 53,
"column": 30
},
"end": {
"line": 53,
"column": 31
},
"identifierName": "x"
},
"name": "x"
},
"computed": false
}
}
],
"kind": "let"
},
"test": {
"type": "BinaryExpression",
"start": 1951,
"end": 1970,
"loc": {
"start": {
"line": 53,
"column": 33
},
"end": {
"line": 53,
"column": 52
}
},
"left": {
"type": "Identifier",
"start": 1951,
"end": 1952,
"loc": {
"start": {
"line": 53,
"column": 33
},
"end": {
"line": 53,
"column": 34
},
"identifierName": "x"
},
"name": "x"
},
"operator": "<",
"right": {
"type": "BinaryExpression",
"start": 1955,
"end": 1970,
"loc": {
"start": {
"line": 53,
"column": 37
},
"end": {
"line": 53,
"column": 52
}
},
"left": {
"type": "MemberExpression",
"start": 1955,
"end": 1961,
"loc": {
"start": {
"line": 53,
"column": 37
},
"end": {
"line": 53,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 1955,
"end": 1959,
"loc": {
"start": {
"line": 53,
"column": 37
},
"end": {
"line": 53,
"column": 41
},
"identifierName": "rect"
},
"name": "rect"
},
"property": {
"type": "Identifier",
"start": 1960,
"end": 1961,
"loc": {
"start": {
"line": 53,
"column": 42
},
"end": {
"line": 53,
"column": 43
},
"identifierName": "x"
},
"name": "x"
},
"computed": false
},
"operator": "+",
"right": {
"type": "MemberExpression",
"start": 1964,
"end": 1970,
"loc": {
"start": {
"line": 53,
"column": 46
},
"end": {
"line": 53,
"column": 52
}
},
"object": {
"type": "Identifier",
"start": 1964,
"end": 1968,
"loc": {
"start": {
"line": 53,
"column": 46
},
"end": {
"line": 53,
"column": 50
},
"identifierName": "rect"
},
"name": "rect"
},
"property": {
"type": "Identifier",
"start": 1969,
"end": 1970,
"loc": {
"start": {
"line": 53,
"column": 51
},
"end": {
"line": 53,
"column": 52
},
"identifierName": "w"
},
"name": "w"
},
"computed": false
}
}
},
"update": {
"type": "UpdateExpression",
"start": 1972,
"end": 1975,
"loc": {
"start": {
"line": 53,
"column": 54
},
"end": {
"line": 53,
"column": 57
}
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 1974,
"end": 1975,
"loc": {
"start": {
"line": 53,
"column": 56
},
"end": {
"line": 53,
"column": 57
},
"identifierName": "x"
},
"name": "x"
},
"extra": {
"parenthesizedArgument": false
}
},
"body": {
"type": "BlockStatement",
"start": 1977,
"end": 3645,
"loc": {
"start": {
"line": 53,
"column": 59
},
"end": {
"line": 85,
"column": 13
}
},
"body": [
{
"type": "ForStatement",
"start": 1996,
"end": 3630,
"loc": {
"start": {
"line": 54,
"column": 16
},
"end": {
"line": 84,
"column": 17
}
},
"init": {
"type": "VariableDeclaration",
"start": 2001,
"end": 2015,
"loc": {
"start": {
"line": 54,
"column": 21
},
"end": {
"line": 54,
"column": 35
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2005,
"end": 2015,
"loc": {
"start": {
"line": 54,
"column": 25
},
"end": {
"line": 54,
"column": 35
}
},
"id": {
"type": "Identifier",
"start": 2005,
"end": 2006,
"loc": {
"start": {
"line": 54,
"column": 25
},
"end": {
"line": 54,
"column": 26
},
"identifierName": "y"
},
"name": "y"
},
"init": {
"type": "MemberExpression",
"start": 2009,
"end": 2015,
"loc": {
"start": {
"line": 54,
"column": 29
},
"end": {
"line": 54,
"column": 35
}
},
"object": {
"type": "Identifier",
"start": 2009,
"end": 2013,
"loc": {
"start": {
"line": 54,
"column": 29
},
"end": {
"line": 54,
"column": 33
},
"identifierName": "rect"
},
"name": "rect"
},
"property": {
"type": "Identifier",
"start": 2014,
"end": 2015,
"loc": {
"start": {
"line": 54,
"column": 34
},
"end": {
"line": 54,
"column": 35
},
"identifierName": "y"
},
"name": "y"
},
"computed": false
}
}
],
"kind": "let"
},
"test": {
"type": "BinaryExpression",
"start": 2017,
"end": 2036,
"loc": {
"start": {
"line": 54,
"column": 37
},
"end": {
"line": 54,
"column": 56
}
},
"left": {
"type": "Identifier",
"start": 2017,
"end": 2018,
"loc": {
"start": {
"line": 54,
"column": 37
},
"end": {
"line": 54,
"column": 38
},
"identifierName": "y"
},
"name": "y"
},
"operator": "<",
"right": {
"type": "BinaryExpression",
"start": 2021,
"end": 2036,
"loc": {
"start": {
"line": 54,
"column": 41
},
"end": {
"line": 54,
"column": 56
}
},
"left": {
"type": "MemberExpression",
"start": 2021,
"end": 2027,
"loc": {
"start": {
"line": 54,
"column": 41
},
"end": {
"line": 54,
"column": 47
}
},
"object": {
"type": "Identifier",
"start": 2021,
"end": 2025,
"loc": {
"start": {
"line": 54,
"column": 41
},
"end": {
"line": 54,
"column": 45
},
"identifierName": "rect"
},
"name": "rect"
},
"property": {
"type": "Identifier",
"start": 2026,
"end": 2027,
"loc": {
"start": {
"line": 54,
"column": 46
},
"end": {
"line": 54,
"column": 47
},
"identifierName": "y"
},
"name": "y"
},
"computed": false
},
"operator": "+",
"right": {
"type": "MemberExpression",
"start": 2030,
"end": 2036,
"loc": {
"start": {
"line": 54,
"column": 50
},
"end": {
"line": 54,
"column": 56
}
},
"object": {
"type": "Identifier",
"start": 2030,
"end": 2034,
"loc": {
"start": {
"line": 54,
"column": 50
},
"end": {
"line": 54,
"column": 54
},
"identifierName": "rect"
},
"name": "rect"
},
"property": {
"type": "Identifier",
"start": 2035,
"end": 2036,
"loc": {
"start": {
"line": 54,
"column": 55
},
"end": {
"line": 54,
"column": 56
},
"identifierName": "h"
},
"name": "h"
},
"computed": false
}
}
},
"update": {
"type": "UpdateExpression",
"start": 2038,
"end": 2041,
"loc": {
"start": {
"line": 54,
"column": 58
},
"end": {
"line": 54,
"column": 61
}
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 2040,
"end": 2041,
"loc": {
"start": {
"line": 54,
"column": 60
},
"end": {
"line": 54,
"column": 61
},
"identifierName": "y"
},
"name": "y"
},
"extra": {
"parenthesizedArgument": false
}
},
"body": {
"type": "BlockStatement",
"start": 2043,
"end": 3630,
"loc": {
"start": {
"line": 54,
"column": 63
},
"end": {
"line": 84,
"column": 17
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 2143,
"end": 2208,
"loc": {
"start": {
"line": 56,
"column": 20
},
"end": {
"line": 56,
"column": 85
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2149,
"end": 2207,
"loc": {
"start": {
"line": 56,
"column": 26
},
"end": {
"line": 56,
"column": 84
}
},
"id": {
"type": "Identifier",
"start": 2149,
"end": 2157,
"loc": {
"start": {
"line": 56,
"column": 26
},
"end": {
"line": 56,
"column": 34
},
"identifierName": "entities"
},
"name": "entities",
"leadingComments": null
},
"init": {
"type": "CallExpression",
"start": 2160,
"end": 2207,
"loc": {
"start": {
"line": 56,
"column": 37
},
"end": {
"line": 56,
"column": 84
}
},
"callee": {
"type": "MemberExpression",
"start": 2160,
"end": 2201,
"loc": {
"start": {
"line": 56,
"column": 37
},
"end": {
"line": 56,
"column": 78
}
},
"object": {
"type": "MemberExpression",
"start": 2160,
"end": 2173,
"loc": {
"start": {
"line": 56,
"column": 37
},
"end": {
"line": 56,
"column": 50
}
},
"object": {
"type": "MemberExpression",
"start": 2160,
"end": 2169,
"loc": {
"start": {
"line": 56,
"column": 37
},
"end": {
"line": 56,
"column": 46
}
},
"object": {
"type": "ThisExpression",
"start": 2160,
"end": 2164,
"loc": {
"start": {
"line": 56,
"column": 37
},
"end": {
"line": 56,
"column": 41
}
}
},
"property": {
"type": "Identifier",
"start": 2165,
"end": 2169,
"loc": {
"start": {
"line": 56,
"column": 42
},
"end": {
"line": 56,
"column": 46
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2170,
"end": 2173,
"loc": {
"start": {
"line": 56,
"column": 47
},
"end": {
"line": 56,
"column": 50
},
"identifierName": "map"
},
"name": "map"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2174,
"end": 2201,
"loc": {
"start": {
"line": 56,
"column": 51
},
"end": {
"line": 56,
"column": 78
},
"identifierName": "getLayersContentsMultipleXY"
},
"name": "getLayersContentsMultipleXY"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 2202,
"end": 2203,
"loc": {
"start": {
"line": 56,
"column": 79
},
"end": {
"line": 56,
"column": 80
},
"identifierName": "x"
},
"name": "x"
},
{
"type": "Identifier",
"start": 2205,
"end": 2206,
"loc": {
"start": {
"line": 56,
"column": 82
},
"end": {
"line": 56,
"column": 83
},
"identifierName": "y"
},
"name": "y"
}
]
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentLine",
"value": " Find which entities are in same tiles of both layers",
"start": 2066,
"end": 2121,
"loc": {
"start": {
"line": 55,
"column": 20
},
"end": {
"line": 55,
"column": 75
}
}
}
]
},
{
"type": "ForStatement",
"start": 2230,
"end": 3611,
"loc": {
"start": {
"line": 57,
"column": 20
},
"end": {
"line": 83,
"column": 21
}
},
"init": {
"type": "VariableDeclaration",
"start": 2235,
"end": 2244,
"loc": {
"start": {
"line": 57,
"column": 25
},
"end": {
"line": 57,
"column": 34
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2239,
"end": 2244,
"loc": {
"start": {
"line": 57,
"column": 29
},
"end": {
"line": 57,
"column": 34
}
},
"id": {
"type": "Identifier",
"start": 2239,
"end": 2240,
"loc": {
"start": {
"line": 57,
"column": 29
},
"end": {
"line": 57,
"column": 30
},
"identifierName": "i"
},
"name": "i"
},
"init": {
"type": "NumericLiteral",
"start": 2243,
"end": 2244,
"loc": {
"start": {
"line": 57,
"column": 33
},
"end": {
"line": 57,
"column": 34
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
],
"kind": "let"
},
"test": {
"type": "BinaryExpression",
"start": 2246,
"end": 2265,
"loc": {
"start": {
"line": 57,
"column": 36
},
"end": {
"line": 57,
"column": 55
}
},
"left": {
"type": "Identifier",
"start": 2246,
"end": 2247,
"loc": {
"start": {
"line": 57,
"column": 36
},
"end": {
"line": 57,
"column": 37
},
"identifierName": "i"
},
"name": "i"
},
"operator": "<",
"right": {
"type": "MemberExpression",
"start": 2250,
"end": 2265,
"loc": {
"start": {
"line": 57,
"column": 40
},
"end": {
"line": 57,
"column": 55
}
},
"object": {
"type": "Identifier",
"start": 2250,
"end": 2258,
"loc": {
"start": {
"line": 57,
"column": 40
},
"end": {
"line": 57,
"column": 48
},
"identifierName": "entities"
},
"name": "entities"
},
"property": {
"type": "Identifier",
"start": 2259,
"end": 2265,
"loc": {
"start": {
"line": 57,
"column": 49
},
"end": {
"line": 57,
"column": 55
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
}
},
"update": {
"type": "UpdateExpression",
"start": 2267,
"end": 2270,
"loc": {
"start": {
"line": 57,
"column": 57
},
"end": {
"line": 57,
"column": 60
}
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 2269,
"end": 2270,
"loc": {
"start": {
"line": 57,
"column": 59
},
"end": {
"line": 57,
"column": 60
},
"identifierName": "i"
},
"name": "i"
},
"extra": {
"parenthesizedArgument": false
}
},
"body": {
"type": "BlockStatement",
"start": 2272,
"end": 3611,
"loc": {
"start": {
"line": 57,
"column": 62
},
"end": {
"line": 83,
"column": 21
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 2299,
"end": 2331,
"loc": {
"start": {
"line": 58,
"column": 24
},
"end": {
"line": 58,
"column": 56
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2305,
"end": 2330,
"loc": {
"start": {
"line": 58,
"column": 30
},
"end": {
"line": 58,
"column": 55
}
},
"id": {
"type": "Identifier",
"start": 2305,
"end": 2316,
"loc": {
"start": {
"line": 58,
"column": 30
},
"end": {
"line": 58,
"column": 41
},
"identifierName": "otherEntity"
},
"name": "otherEntity"
},
"init": {
"type": "MemberExpression",
"start": 2319,
"end": 2330,
"loc": {
"start": {
"line": 58,
"column": 44
},
"end": {
"line": 58,
"column": 55
}
},
"object": {
"type": "Identifier",
"start": 2319,
"end": 2327,
"loc": {
"start": {
"line": 58,
"column": 44
},
"end": {
"line": 58,
"column": 52
},
"identifierName": "entities"
},
"name": "entities"
},
"property": {
"type": "Identifier",
"start": 2328,
"end": 2329,
"loc": {
"start": {
"line": 58,
"column": 53
},
"end": {
"line": 58,
"column": 54
},
"identifierName": "i"
},
"name": "i"
},
"computed": true
}
}
],
"kind": "const",
"trailingComments": [
{
"type": "CommentLine",
"value": " Check if entity has a wired component",
"start": 2359,
"end": 2399,
"loc": {
"start": {
"line": 60,
"column": 24
},
"end": {
"line": 60,
"column": 64
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 2425,
"end": 2479,
"loc": {
"start": {
"line": 61,
"column": 24
},
"end": {
"line": 61,
"column": 78
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2431,
"end": 2478,
"loc": {
"start": {
"line": 61,
"column": 30
},
"end": {
"line": 61,
"column": 77
}
},
"id": {
"type": "Identifier",
"start": 2431,
"end": 2443,
"loc": {
"start": {
"line": 61,
"column": 30
},
"end": {
"line": 61,
"column": 42
},
"identifierName": "pinComponent"
},
"name": "pinComponent",
"leadingComments": null
},
"init": {
"type": "MemberExpression",
"start": 2446,
"end": 2478,
"loc": {
"start": {
"line": 61,
"column": 45
},
"end": {
"line": 61,
"column": 77
}
},
"object": {
"type": "MemberExpression",
"start": 2446,
"end": 2468,
"loc": {
"start": {
"line": 61,
"column": 45
},
"end": {
"line": 61,
"column": 67
}
},
"object": {
"type": "Identifier",
"start": 2446,
"end": 2457,
"loc": {
"start": {
"line": 61,
"column": 45
},
"end": {
"line": 61,
"column": 56
},
"identifierName": "otherEntity"
},
"name": "otherEntity"
},
"property": {
"type": "Identifier",
"start": 2458,
"end": 2468,
"loc": {
"start": {
"line": 61,
"column": 57
},
"end": {
"line": 61,
"column": 67
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2469,
"end": 2478,
"loc": {
"start": {
"line": 61,
"column": 68
},
"end": {
"line": 61,
"column": 77
},
"identifierName": "WiredPins"
},
"name": "WiredPins"
},
"computed": false
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentLine",
"value": " Check if entity has a wired component",
"start": 2359,
"end": 2399,
"loc": {
"start": {
"line": 60,
"column": 24
},
"end": {
"line": 60,
"column": 64
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 2505,
"end": 2563,
"loc": {
"start": {
"line": 62,
"column": 24
},
"end": {
"line": 62,
"column": 82
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2511,
"end": 2562,
"loc": {
"start": {
"line": 62,
"column": 30
},
"end": {
"line": 62,
"column": 81
}
},
"id": {
"type": "Identifier",
"start": 2511,
"end": 2521,
"loc": {
"start": {
"line": 62,
"column": 30
},
"end": {
"line": 62,
"column": 40
},
"identifierName": "staticComp"
},
"name": "staticComp"
},
"init": {
"type": "MemberExpression",
"start": 2524,
"end": 2562,
"loc": {
"start": {
"line": 62,
"column": 43
},
"end": {
"line": 62,
"column": 81
}
},
"object": {
"type": "MemberExpression",
"start": 2524,
"end": 2546,
"loc": {
"start": {
"line": 62,
"column": 43
},
"end": {
"line": 62,
"column": 65
}
},
"object": {
"type": "Identifier",
"start": 2524,
"end": 2535,
"loc": {
"start": {
"line": 62,
"column": 43
},
"end": {
"line": 62,
"column": 54
},
"identifierName": "otherEntity"
},
"name": "otherEntity"
},
"property": {
"type": "Identifier",
"start": 2536,
"end": 2546,
"loc": {
"start": {
"line": 62,
"column": 55
},
"end": {
"line": 62,
"column": 65
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2547,
"end": 2562,
"loc": {
"start": {
"line": 62,
"column": 66
},
"end": {
"line": 62,
"column": 81
},
"identifierName": "StaticMapEntity"
},
"name": "StaticMapEntity"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 2589,
"end": 2643,
"loc": {
"start": {
"line": 63,
"column": 24
},
"end": {
"line": 63,
"column": 78
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2595,
"end": 2642,
"loc": {
"start": {
"line": 63,
"column": 30
},
"end": {
"line": 63,
"column": 77
}
},
"id": {
"type": "Identifier",
"start": 2595,
"end": 2599,
"loc": {
"start": {
"line": 63,
"column": 30
},
"end": {
"line": 63,
"column": 34
},
"identifierName": "data"
},
"name": "data"
},
"init": {
"type": "CallExpression",
"start": 2602,
"end": 2642,
"loc": {
"start": {
"line": 63,
"column": 37
},
"end": {
"line": 63,
"column": 77
}
},
"callee": {
"type": "Identifier",
"start": 2602,
"end": 2625,
"loc": {
"start": {
"line": 63,
"column": 37
},
"end": {
"line": 63,
"column": 60
},
"identifierName": "getBuildingDataFromCode"
},
"name": "getBuildingDataFromCode"
},
"arguments": [
{
"type": "MemberExpression",
"start": 2626,
"end": 2641,
"loc": {
"start": {
"line": 63,
"column": 61
},
"end": {
"line": 63,
"column": 76
}
},
"object": {
"type": "Identifier",
"start": 2626,
"end": 2636,
"loc": {
"start": {
"line": 63,
"column": 61
},
"end": {
"line": 63,
"column": 71
},
"identifierName": "staticComp"
},
"name": "staticComp"
},
"property": {
"type": "Identifier",
"start": 2637,
"end": 2641,
"loc": {
"start": {
"line": 63,
"column": 72
},
"end": {
"line": 63,
"column": 76
},
"identifierName": "code"
},
"name": "code"
},
"computed": false
}
]
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 2669,
"end": 2755,
"loc": {
"start": {
"line": 64,
"column": 24
},
"end": {
"line": 66,
"column": 25
}
},
"test": {
"type": "UnaryExpression",
"start": 2673,
"end": 2686,
"loc": {
"start": {
"line": 64,
"column": 28
},
"end": {
"line": 64,
"column": 41
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 2674,
"end": 2686,
"loc": {
"start": {
"line": 64,
"column": 29
},
"end": {
"line": 64,
"column": 41
},
"identifierName": "pinComponent"
},
"name": "pinComponent"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 2688,
"end": 2755,
"loc": {
"start": {
"line": 64,
"column": 43
},
"end": {
"line": 66,
"column": 25
}
},
"body": [
{
"type": "ContinueStatement",
"start": 2719,
"end": 2728,
"loc": {
"start": {
"line": 65,
"column": 28
},
"end": {
"line": 65,
"column": 37
}
},
"label": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 2783,
"end": 3051,
"loc": {
"start": {
"line": 68,
"column": 24
},
"end": {
"line": 72,
"column": 25
}
},
"test": {
"type": "CallExpression",
"start": 2787,
"end": 2846,
"loc": {
"start": {
"line": 68,
"column": 28
},
"end": {
"line": 68,
"column": 87
}
},
"callee": {
"type": "MemberExpression",
"start": 2787,
"end": 2832,
"loc": {
"start": {
"line": 68,
"column": 28
},
"end": {
"line": 68,
"column": 73
}
},
"object": {
"type": "CallExpression",
"start": 2787,
"end": 2815,
"loc": {
"start": {
"line": 68,
"column": 28
},
"end": {
"line": 68,
"column": 56
}
},
"callee": {
"type": "MemberExpression",
"start": 2787,
"end": 2813,
"loc": {
"start": {
"line": 68,
"column": 28
},
"end": {
"line": 68,
"column": 54
}
},
"object": {
"type": "Identifier",
"start": 2787,
"end": 2797,
"loc": {
"start": {
"line": 68,
"column": 28
},
"end": {
"line": 68,
"column": 38
},
"identifierName": "staticComp"
},
"name": "staticComp"
},
"property": {
"type": "Identifier",
"start": 2798,
"end": 2813,
"loc": {
"start": {
"line": 68,
"column": 39
},
"end": {
"line": 68,
"column": 54
},
"identifierName": "getMetaBuilding"
},
"name": "getMetaBuilding"
},
"computed": false
},
"arguments": []
},
"property": {
"type": "Identifier",
"start": 2816,
"end": 2832,
"loc": {
"start": {
"line": 68,
"column": 57
},
"end": {
"line": 68,
"column": 73
},
"identifierName": "getIsReplaceable"
},
"name": "getIsReplaceable"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 2833,
"end": 2845,
"loc": {
"start": {
"line": 68,
"column": 74
},
"end": {
"line": 68,
"column": 86
}
},
"object": {
"type": "Identifier",
"start": 2833,
"end": 2837,
"loc": {
"start": {
"line": 68,
"column": 74
},
"end": {
"line": 68,
"column": 78
},
"identifierName": "data"
},
"name": "data"
},
"property": {
"type": "Identifier",
"start": 2838,
"end": 2845,
"loc": {
"start": {
"line": 68,
"column": 79
},
"end": {
"line": 68,
"column": 86
},
"identifierName": "variant"
},
"name": "variant"
},
"computed": false
}
]
},
"consequent": {
"type": "BlockStatement",
"start": 2848,
"end": 3051,
"loc": {
"start": {
"line": 68,
"column": 89
},
"end": {
"line": 72,
"column": 25
}
},
"body": [
{
"type": "ContinueStatement",
"start": 3015,
"end": 3024,
"loc": {
"start": {
"line": 71,
"column": 28
},
"end": {
"line": 71,
"column": 37
}
},
"label": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Don't mind here, even if there would be a collision we",
"start": 2879,
"end": 2936,
"loc": {
"start": {
"line": 69,
"column": 28
},
"end": {
"line": 69,
"column": 85
}
}
},
{
"type": "CommentLine",
"value": " could replace it",
"start": 2966,
"end": 2985,
"loc": {
"start": {
"line": 70,
"column": 28
},
"end": {
"line": 70,
"column": 47
}
}
}
]
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"trailingComments": [
{
"type": "CommentLine",
"value": " Go over all pins and check if they are blocking",
"start": 3079,
"end": 3129,
"loc": {
"start": {
"line": 74,
"column": 24
},
"end": {
"line": 74,
"column": 74
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 3155,
"end": 3187,
"loc": {
"start": {
"line": 75,
"column": 24
},
"end": {
"line": 75,
"column": 56
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3161,
"end": 3186,
"loc": {
"start": {
"line": 75,
"column": 30
},
"end": {
"line": 75,
"column": 55
}
},
"id": {
"type": "Identifier",
"start": 3161,
"end": 3165,
"loc": {
"start": {
"line": 75,
"column": 30
},
"end": {
"line": 75,
"column": 34
},
"identifierName": "pins"
},
"name": "pins",
"leadingComments": null
},
"init": {
"type": "MemberExpression",
"start": 3168,
"end": 3186,
"loc": {
"start": {
"line": 75,
"column": 37
},
"end": {
"line": 75,
"column": 55
}
},
"object": {
"type": "Identifier",
"start": 3168,
"end": 3180,
"loc": {
"start": {
"line": 75,
"column": 37
},
"end": {
"line": 75,
"column": 49
},
"identifierName": "pinComponent"
},
"name": "pinComponent"
},
"property": {
"type": "Identifier",
"start": 3181,
"end": 3186,
"loc": {
"start": {
"line": 75,
"column": 50
},
"end": {
"line": 75,
"column": 55
},
"identifierName": "slots"
},
"name": "slots"
},
"computed": false
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentLine",
"value": " Go over all pins and check if they are blocking",
"start": 3079,
"end": 3129,
"loc": {
"start": {
"line": 74,
"column": 24
},
"end": {
"line": 74,
"column": 74
}
}
}
]
},
{
"type": "ForStatement",
"start": 3213,
"end": 3588,
"loc": {
"start": {
"line": 76,
"column": 24
},
"end": {
"line": 82,
"column": 25
}
},
"init": {
"type": "VariableDeclaration",
"start": 3218,
"end": 3233,
"loc": {
"start": {
"line": 76,
"column": 29
},
"end": {
"line": 76,
"column": 44
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3222,
"end": 3233,
"loc": {
"start": {
"line": 76,
"column": 33
},
"end": {
"line": 76,
"column": 44
}
},
"id": {
"type": "Identifier",
"start": 3222,
"end": 3229,
"loc": {
"start": {
"line": 76,
"column": 33
},
"end": {
"line": 76,
"column": 40
},
"identifierName": "pinSlot"
},
"name": "pinSlot"
},
"init": {
"type": "NumericLiteral",
"start": 3232,
"end": 3233,
"loc": {
"start": {
"line": 76,
"column": 43
},
"end": {
"line": 76,
"column": 44
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
],
"kind": "let"
},
"test": {
"type": "BinaryExpression",
"start": 3235,
"end": 3256,
"loc": {
"start": {
"line": 76,
"column": 46
},
"end": {
"line": 76,
"column": 67
}
},
"left": {
"type": "Identifier",
"start": 3235,
"end": 3242,
"loc": {
"start": {
"line": 76,
"column": 46
},
"end": {
"line": 76,
"column": 53
},
"identifierName": "pinSlot"
},
"name": "pinSlot"
},
"operator": "<",
"right": {
"type": "MemberExpression",
"start": 3245,
"end": 3256,
"loc": {
"start": {
"line": 76,
"column": 56
},
"end": {
"line": 76,
"column": 67
}
},
"object": {
"type": "Identifier",
"start": 3245,
"end": 3249,
"loc": {
"start": {
"line": 76,
"column": 56
},
"end": {
"line": 76,
"column": 60
},
"identifierName": "pins"
},
"name": "pins"
},
"property": {
"type": "Identifier",
"start": 3250,
"end": 3256,
"loc": {
"start": {
"line": 76,
"column": 61
},
"end": {
"line": 76,
"column": 67
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
}
},
"update": {
"type": "UpdateExpression",
"start": 3258,
"end": 3267,
"loc": {
"start": {
"line": 76,
"column": 69
},
"end": {
"line": 76,
"column": 78
}
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 3260,
"end": 3267,
"loc": {
"start": {
"line": 76,
"column": 71
},
"end": {
"line": 76,
"column": 78
},
"identifierName": "pinSlot"
},
"name": "pinSlot"
},
"extra": {
"parenthesizedArgument": false
}
},
"body": {
"type": "BlockStatement",
"start": 3269,
"end": 3588,
"loc": {
"start": {
"line": 76,
"column": 80
},
"end": {
"line": 82,
"column": 25
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 3300,
"end": 3359,
"loc": {
"start": {
"line": 77,
"column": 28
},
"end": {
"line": 77,
"column": 87
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3306,
"end": 3358,
"loc": {
"start": {
"line": 77,
"column": 34
},
"end": {
"line": 77,
"column": 86
}
},
"id": {
"type": "Identifier",
"start": 3306,
"end": 3309,
"loc": {
"start": {
"line": 77,
"column": 34
},
"end": {
"line": 77,
"column": 37
},
"identifierName": "pos"
},
"name": "pos"
},
"init": {
"type": "CallExpression",
"start": 3312,
"end": 3358,
"loc": {
"start": {
"line": 77,
"column": 40
},
"end": {
"line": 77,
"column": 86
}
},
"callee": {
"type": "MemberExpression",
"start": 3312,
"end": 3339,
"loc": {
"start": {
"line": 77,
"column": 40
},
"end": {
"line": 77,
"column": 67
}
},
"object": {
"type": "Identifier",
"start": 3312,
"end": 3322,
"loc": {
"start": {
"line": 77,
"column": 40
},
"end": {
"line": 77,
"column": 50
},
"identifierName": "staticComp"
},
"name": "staticComp"
},
"property": {
"type": "Identifier",
"start": 3323,
"end": 3339,
"loc": {
"start": {
"line": 77,
"column": 51
},
"end": {
"line": 77,
"column": 67
},
"identifierName": "localTileToWorld"
},
"name": "localTileToWorld"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 3340,
"end": 3357,
"loc": {
"start": {
"line": 77,
"column": 68
},
"end": {
"line": 77,
"column": 85
}
},
"object": {
"type": "MemberExpression",
"start": 3340,
"end": 3353,
"loc": {
"start": {
"line": 77,
"column": 68
},
"end": {
"line": 77,
"column": 81
}
},
"object": {
"type": "Identifier",
"start": 3340,
"end": 3344,
"loc": {
"start": {
"line": 77,
"column": 68
},
"end": {
"line": 77,
"column": 72
},
"identifierName": "pins"
},
"name": "pins"
},
"property": {
"type": "Identifier",
"start": 3345,
"end": 3352,
"loc": {
"start": {
"line": 77,
"column": 73
},
"end": {
"line": 77,
"column": 80
},
"identifierName": "pinSlot"
},
"name": "pinSlot"
},
"computed": true
},
"property": {
"type": "Identifier",
"start": 3354,
"end": 3357,
"loc": {
"start": {
"line": 77,
"column": 82
},
"end": {
"line": 77,
"column": 85
},
"identifierName": "pos"
},
"name": "pos"
},
"computed": false
}
]
}
}
],
"kind": "const",
"trailingComments": [
{
"type": "CommentLine",
"value": " Occupied by a pin",
"start": 3389,
"end": 3409,
"loc": {
"start": {
"line": 78,
"column": 28
},
"end": {
"line": 78,
"column": 48
}
}
}
]
},
{
"type": "IfStatement",
"start": 3439,
"end": 3561,
"loc": {
"start": {
"line": 79,
"column": 28
},
"end": {
"line": 81,
"column": 29
}
},
"test": {
"type": "LogicalExpression",
"start": 3443,
"end": 3469,
"loc": {
"start": {
"line": 79,
"column": 32
},
"end": {
"line": 79,
"column": 58
}
},
"left": {
"type": "BinaryExpression",
"start": 3443,
"end": 3454,
"loc": {
"start": {
"line": 79,
"column": 32
},
"end": {
"line": 79,
"column": 43
}
},
"left": {
"type": "MemberExpression",
"start": 3443,
"end": 3448,
"loc": {
"start": {
"line": 79,
"column": 32
},
"end": {
"line": 79,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 3443,
"end": 3446,
"loc": {
"start": {
"line": 79,
"column": 32
},
"end": {
"line": 79,
"column": 35
},
"identifierName": "pos"
},
"name": "pos",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 3447,
"end": 3448,
"loc": {
"start": {
"line": 79,
"column": 36
},
"end": {
"line": 79,
"column": 37
},
"identifierName": "x"
},
"name": "x"
},
"computed": false,
"leadingComments": null
},
"operator": "===",
"right": {
"type": "Identifier",
"start": 3453,
"end": 3454,
"loc": {
"start": {
"line": 79,
"column": 42
},
"end": {
"line": 79,
"column": 43
},
"identifierName": "x"
},
"name": "x"
},
"leadingComments": null
},
"operator": "&&",
"right": {
"type": "BinaryExpression",
"start": 3458,
"end": 3469,
"loc": {
"start": {
"line": 79,
"column": 47
},
"end": {
"line": 79,
"column": 58
}
},
"left": {
"type": "MemberExpression",
"start": 3458,
"end": 3463,
"loc": {
"start": {
"line": 79,
"column": 47
},
"end": {
"line": 79,
"column": 52
}
},
"object": {
"type": "Identifier",
"start": 3458,
"end": 3461,
"loc": {
"start": {
"line": 79,
"column": 47
},
"end": {
"line": 79,
"column": 50
},
"identifierName": "pos"
},
"name": "pos"
},
"property": {
"type": "Identifier",
"start": 3462,
"end": 3463,
"loc": {
"start": {
"line": 79,
"column": 51
},
"end": {
"line": 79,
"column": 52
},
"identifierName": "y"
},
"name": "y"
},
"computed": false
},
"operator": "===",
"right": {
"type": "Identifier",
"start": 3468,
"end": 3469,
"loc": {
"start": {
"line": 79,
"column": 57
},
"end": {
"line": 79,
"column": 58
},
"identifierName": "y"
},
"name": "y"
}
},
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 3471,
"end": 3561,
"loc": {
"start": {
"line": 79,
"column": 60
},
"end": {
"line": 81,
"column": 29
}
},
"body": [
{
"type": "ReturnStatement",
"start": 3506,
"end": 3530,
"loc": {
"start": {
"line": 80,
"column": 32
},
"end": {
"line": 80,
"column": 56
}
},
"argument": {
"type": "Identifier",
"start": 3513,
"end": 3529,
"loc": {
"start": {
"line": 80,
"column": 39
},
"end": {
"line": 80,
"column": 55
},
"identifierName": "STOP_PROPAGATION"
},
"name": "STOP_PROPAGATION"
}
}
],
"directives": []
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Occupied by a pin",
"start": 3389,
"end": 3409,
"loc": {
"start": {
"line": 78,
"column": 28
},
"end": {
"line": 78,
"column": 48
}
}
}
]
}
],
"directives": []
}
}
],
"directives": []
}
}
],
"directives": []
}
}
],
"directives": []
}
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " If this entity is placed on the wires layer, make sure we don't",
"start": 1776,
"end": 1842,
"loc": {
"start": {
"line": 50,
"column": 8
},
"end": {
"line": 50,
"column": 74
}
}
},
{
"type": "CommentLine",
"value": " place it above a pin",
"start": 1852,
"end": 1875,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 51,
"column": 31
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " Check for collisions on the wires layer",
"start": 3668,
"end": 3710,
"loc": {
"start": {
"line": 88,
"column": 8
},
"end": {
"line": 88,
"column": 50
}
}
}
]
},
{
"type": "IfStatement",
"start": 3720,
"end": 3819,
"loc": {
"start": {
"line": 89,
"column": 8
},
"end": {
"line": 91,
"column": 9
}
},
"test": {
"type": "CallExpression",
"start": 3724,
"end": 3767,
"loc": {
"start": {
"line": 89,
"column": 12
},
"end": {
"line": 89,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 3724,
"end": 3751,
"loc": {
"start": {
"line": 89,
"column": 12
},
"end": {
"line": 89,
"column": 39
}
},
"object": {
"type": "ThisExpression",
"start": 3724,
"end": 3728,
"loc": {
"start": {
"line": 89,
"column": 12
},
"end": {
"line": 89,
"column": 16
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 3729,
"end": 3751,
"loc": {
"start": {
"line": 89,
"column": 17
},
"end": {
"line": 89,
"column": 39
},
"identifierName": "checkEntityPinsCollide"
},
"name": "checkEntityPinsCollide"
},
"computed": false,
"leadingComments": null
},
"arguments": [
{
"type": "Identifier",
"start": 3752,
"end": 3758,
"loc": {
"start": {
"line": 89,
"column": 40
},
"end": {
"line": 89,
"column": 46
},
"identifierName": "entity"
},
"name": "entity"
},
{
"type": "Identifier",
"start": 3760,
"end": 3766,
"loc": {
"start": {
"line": 89,
"column": 48
},
"end": {
"line": 89,
"column": 54
},
"identifierName": "offset"
},
"name": "offset"
}
],
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 3769,
"end": 3819,
"loc": {
"start": {
"line": 89,
"column": 57
},
"end": {
"line": 91,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 3784,
"end": 3808,
"loc": {
"start": {
"line": 90,
"column": 12
},
"end": {
"line": 90,
"column": 36
}
},
"argument": {
"type": "Identifier",
"start": 3791,
"end": 3807,
"loc": {
"start": {
"line": 90,
"column": 19
},
"end": {
"line": 90,
"column": 35
},
"identifierName": "STOP_PROPAGATION"
},
"name": "STOP_PROPAGATION"
}
}
],
"directives": []
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Check for collisions on the wires layer",
"start": 3668,
"end": 3710,
"loc": {
"start": {
"line": 88,
"column": 8
},
"end": {
"line": 88,
"column": 50
}
}
}
]
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Performs pre-placement checks\r\n * @param {Entity} entity\r\n * @param {Vector} offset\r\n ",
"start": 1392,
"end": 1504,
"loc": {
"start": {
"line": 37,
"column": 4
},
"end": {
"line": 41,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Checks if the pins of the given entity collide on the wires layer\r\n * @param {Entity} entity\r\n * @param {Vector=} offset Optional, move the entity by the given offset first\r\n * @returns {boolean} True if the pins collide\r\n ",
"start": 3834,
"end": 4087,
"loc": {
"start": {
"line": 94,
"column": 4
},
"end": {
"line": 99,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 4093,
"end": 5447,
"loc": {
"start": {
"line": 100,
"column": 4
},
"end": {
"line": 132,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 4093,
"end": 4115,
"loc": {
"start": {
"line": 100,
"column": 4
},
"end": {
"line": 100,
"column": 26
},
"identifierName": "checkEntityPinsCollide"
},
"name": "checkEntityPinsCollide",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 4116,
"end": 4122,
"loc": {
"start": {
"line": 100,
"column": 27
},
"end": {
"line": 100,
"column": 33
},
"identifierName": "entity"
},
"name": "entity"
},
{
"type": "Identifier",
"start": 4124,
"end": 4130,
"loc": {
"start": {
"line": 100,
"column": 35
},
"end": {
"line": 100,
"column": 41
},
"identifierName": "offset"
},
"name": "offset"
}
],
"body": {
"type": "BlockStatement",
"start": 4132,
"end": 5447,
"loc": {
"start": {
"line": 100,
"column": 43
},
"end": {
"line": 132,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 4143,
"end": 4188,
"loc": {
"start": {
"line": 101,
"column": 8
},
"end": {
"line": 101,
"column": 53
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4149,
"end": 4187,
"loc": {
"start": {
"line": 101,
"column": 14
},
"end": {
"line": 101,
"column": 52
}
},
"id": {
"type": "Identifier",
"start": 4149,
"end": 4157,
"loc": {
"start": {
"line": 101,
"column": 14
},
"end": {
"line": 101,
"column": 22
},
"identifierName": "pinsComp"
},
"name": "pinsComp"
},
"init": {
"type": "MemberExpression",
"start": 4160,
"end": 4187,
"loc": {
"start": {
"line": 101,
"column": 25
},
"end": {
"line": 101,
"column": 52
}
},
"object": {
"type": "MemberExpression",
"start": 4160,
"end": 4177,
"loc": {
"start": {
"line": 101,
"column": 25
},
"end": {
"line": 101,
"column": 42
}
},
"object": {
"type": "Identifier",
"start": 4160,
"end": 4166,
"loc": {
"start": {
"line": 101,
"column": 25
},
"end": {
"line": 101,
"column": 31
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 4167,
"end": 4177,
"loc": {
"start": {
"line": 101,
"column": 32
},
"end": {
"line": 101,
"column": 42
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4178,
"end": 4187,
"loc": {
"start": {
"line": 101,
"column": 43
},
"end": {
"line": 101,
"column": 52
},
"identifierName": "WiredPins"
},
"name": "WiredPins"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 4198,
"end": 4252,
"loc": {
"start": {
"line": 102,
"column": 8
},
"end": {
"line": 104,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 4202,
"end": 4211,
"loc": {
"start": {
"line": 102,
"column": 12
},
"end": {
"line": 102,
"column": 21
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 4203,
"end": 4211,
"loc": {
"start": {
"line": 102,
"column": 13
},
"end": {
"line": 102,
"column": 21
},
"identifierName": "pinsComp"
},
"name": "pinsComp"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 4213,
"end": 4252,
"loc": {
"start": {
"line": 102,
"column": 23
},
"end": {
"line": 104,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 4228,
"end": 4241,
"loc": {
"start": {
"line": 103,
"column": 12
},
"end": {
"line": 103,
"column": 25
}
},
"argument": {
"type": "BooleanLiteral",
"start": 4235,
"end": 4240,
"loc": {
"start": {
"line": 103,
"column": 19
},
"end": {
"line": 103,
"column": 24
}
},
"value": false
}
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"trailingComments": [
{
"type": "CommentLine",
"value": " Go over all slots",
"start": 4264,
"end": 4284,
"loc": {
"start": {
"line": 106,
"column": 8
},
"end": {
"line": 106,
"column": 28
}
}
}
]
},
{
"type": "ForStatement",
"start": 4294,
"end": 5417,
"loc": {
"start": {
"line": 107,
"column": 8
},
"end": {
"line": 130,
"column": 9
}
},
"init": {
"type": "VariableDeclaration",
"start": 4299,
"end": 4316,
"loc": {
"start": {
"line": 107,
"column": 13
},
"end": {
"line": 107,
"column": 30
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4303,
"end": 4316,
"loc": {
"start": {
"line": 107,
"column": 17
},
"end": {
"line": 107,
"column": 30
}
},
"id": {
"type": "Identifier",
"start": 4303,
"end": 4312,
"loc": {
"start": {
"line": 107,
"column": 17
},
"end": {
"line": 107,
"column": 26
},
"identifierName": "slotIndex"
},
"name": "slotIndex",
"leadingComments": null
},
"init": {
"type": "NumericLiteral",
"start": 4315,
"end": 4316,
"loc": {
"start": {
"line": 107,
"column": 29
},
"end": {
"line": 107,
"column": 30
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"leadingComments": null
}
],
"kind": "let",
"leadingComments": null
},
"test": {
"type": "BinaryExpression",
"start": 4318,
"end": 4351,
"loc": {
"start": {
"line": 107,
"column": 32
},
"end": {
"line": 107,
"column": 65
}
},
"left": {
"type": "Identifier",
"start": 4318,
"end": 4327,
"loc": {
"start": {
"line": 107,
"column": 32
},
"end": {
"line": 107,
"column": 41
},
"identifierName": "slotIndex"
},
"name": "slotIndex"
},
"operator": "<",
"right": {
"type": "MemberExpression",
"start": 4330,
"end": 4351,
"loc": {
"start": {
"line": 107,
"column": 44
},
"end": {
"line": 107,
"column": 65
}
},
"object": {
"type": "MemberExpression",
"start": 4330,
"end": 4344,
"loc": {
"start": {
"line": 107,
"column": 44
},
"end": {
"line": 107,
"column": 58
}
},
"object": {
"type": "Identifier",
"start": 4330,
"end": 4338,
"loc": {
"start": {
"line": 107,
"column": 44
},
"end": {
"line": 107,
"column": 52
},
"identifierName": "pinsComp"
},
"name": "pinsComp"
},
"property": {
"type": "Identifier",
"start": 4339,
"end": 4344,
"loc": {
"start": {
"line": 107,
"column": 53
},
"end": {
"line": 107,
"column": 58
},
"identifierName": "slots"
},
"name": "slots"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4345,
"end": 4351,
"loc": {
"start": {
"line": 107,
"column": 59
},
"end": {
"line": 107,
"column": 65
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
}
},
"update": {
"type": "UpdateExpression",
"start": 4353,
"end": 4364,
"loc": {
"start": {
"line": 107,
"column": 67
},
"end": {
"line": 107,
"column": 78
}
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 4355,
"end": 4364,
"loc": {
"start": {
"line": 107,
"column": 69
},
"end": {
"line": 107,
"column": 78
},
"identifierName": "slotIndex"
},
"name": "slotIndex"
},
"extra": {
"parenthesizedArgument": false
}
},
"body": {
"type": "BlockStatement",
"start": 4366,
"end": 5417,
"loc": {
"start": {
"line": 107,
"column": 80
},
"end": {
"line": 130,
"column": 9
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 4381,
"end": 4420,
"loc": {
"start": {
"line": 108,
"column": 12
},
"end": {
"line": 108,
"column": 51
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4387,
"end": 4419,
"loc": {
"start": {
"line": 108,
"column": 18
},
"end": {
"line": 108,
"column": 50
}
},
"id": {
"type": "Identifier",
"start": 4387,
"end": 4391,
"loc": {
"start": {
"line": 108,
"column": 18
},
"end": {
"line": 108,
"column": 22
},
"identifierName": "slot"
},
"name": "slot"
},
"init": {
"type": "MemberExpression",
"start": 4394,
"end": 4419,
"loc": {
"start": {
"line": 108,
"column": 25
},
"end": {
"line": 108,
"column": 50
}
},
"object": {
"type": "MemberExpression",
"start": 4394,
"end": 4408,
"loc": {
"start": {
"line": 108,
"column": 25
},
"end": {
"line": 108,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 4394,
"end": 4402,
"loc": {
"start": {
"line": 108,
"column": 25
},
"end": {
"line": 108,
"column": 33
},
"identifierName": "pinsComp"
},
"name": "pinsComp"
},
"property": {
"type": "Identifier",
"start": 4403,
"end": 4408,
"loc": {
"start": {
"line": 108,
"column": 34
},
"end": {
"line": 108,
"column": 39
},
"identifierName": "slots"
},
"name": "slots"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4409,
"end": 4418,
"loc": {
"start": {
"line": 108,
"column": 40
},
"end": {
"line": 108,
"column": 49
},
"identifierName": "slotIndex"
},
"name": "slotIndex"
},
"computed": true
}
}
],
"kind": "const",
"trailingComments": [
{
"type": "CommentLine",
"value": " Figure out which tile this slot is on",
"start": 4436,
"end": 4476,
"loc": {
"start": {
"line": 110,
"column": 12
},
"end": {
"line": 110,
"column": 52
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 4490,
"end": 4568,
"loc": {
"start": {
"line": 111,
"column": 12
},
"end": {
"line": 111,
"column": 90
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4496,
"end": 4567,
"loc": {
"start": {
"line": 111,
"column": 18
},
"end": {
"line": 111,
"column": 89
}
},
"id": {
"type": "Identifier",
"start": 4496,
"end": 4504,
"loc": {
"start": {
"line": 111,
"column": 18
},
"end": {
"line": 111,
"column": 26
},
"identifierName": "worldPos"
},
"name": "worldPos",
"leadingComments": null
},
"init": {
"type": "CallExpression",
"start": 4507,
"end": 4567,
"loc": {
"start": {
"line": 111,
"column": 29
},
"end": {
"line": 111,
"column": 89
}
},
"callee": {
"type": "MemberExpression",
"start": 4507,
"end": 4557,
"loc": {
"start": {
"line": 111,
"column": 29
},
"end": {
"line": 111,
"column": 79
}
},
"object": {
"type": "MemberExpression",
"start": 4507,
"end": 4540,
"loc": {
"start": {
"line": 111,
"column": 29
},
"end": {
"line": 111,
"column": 62
}
},
"object": {
"type": "MemberExpression",
"start": 4507,
"end": 4524,
"loc": {
"start": {
"line": 111,
"column": 29
},
"end": {
"line": 111,
"column": 46
}
},
"object": {
"type": "Identifier",
"start": 4507,
"end": 4513,
"loc": {
"start": {
"line": 111,
"column": 29
},
"end": {
"line": 111,
"column": 35
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 4514,
"end": 4524,
"loc": {
"start": {
"line": 111,
"column": 36
},
"end": {
"line": 111,
"column": 46
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4525,
"end": 4540,
"loc": {
"start": {
"line": 111,
"column": 47
},
"end": {
"line": 111,
"column": 62
},
"identifierName": "StaticMapEntity"
},
"name": "StaticMapEntity"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4541,
"end": 4557,
"loc": {
"start": {
"line": 111,
"column": 63
},
"end": {
"line": 111,
"column": 79
},
"identifierName": "localTileToWorld"
},
"name": "localTileToWorld"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 4558,
"end": 4566,
"loc": {
"start": {
"line": 111,
"column": 80
},
"end": {
"line": 111,
"column": 88
}
},
"object": {
"type": "Identifier",
"start": 4558,
"end": 4562,
"loc": {
"start": {
"line": 111,
"column": 80
},
"end": {
"line": 111,
"column": 84
},
"identifierName": "slot"
},
"name": "slot"
},
"property": {
"type": "Identifier",
"start": 4563,
"end": 4566,
"loc": {
"start": {
"line": 111,
"column": 85
},
"end": {
"line": 111,
"column": 88
},
"identifierName": "pos"
},
"name": "pos"
},
"computed": false
}
]
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentLine",
"value": " Figure out which tile this slot is on",
"start": 4436,
"end": 4476,
"loc": {
"start": {
"line": 110,
"column": 12
},
"end": {
"line": 110,
"column": 52
}
}
}
]
},
{
"type": "IfStatement",
"start": 4582,
"end": 4692,
"loc": {
"start": {
"line": 112,
"column": 12
},
"end": {
"line": 115,
"column": 13
}
},
"test": {
"type": "Identifier",
"start": 4586,
"end": 4592,
"loc": {
"start": {
"line": 112,
"column": 16
},
"end": {
"line": 112,
"column": 22
},
"identifierName": "offset"
},
"name": "offset"
},
"consequent": {
"type": "BlockStatement",
"start": 4594,
"end": 4692,
"loc": {
"start": {
"line": 112,
"column": 24
},
"end": {
"line": 115,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 4613,
"end": 4636,
"loc": {
"start": {
"line": 113,
"column": 16
},
"end": {
"line": 113,
"column": 39
}
},
"expression": {
"type": "AssignmentExpression",
"start": 4613,
"end": 4635,
"loc": {
"start": {
"line": 113,
"column": 16
},
"end": {
"line": 113,
"column": 38
}
},
"operator": "+=",
"left": {
"type": "MemberExpression",
"start": 4613,
"end": 4623,
"loc": {
"start": {
"line": 113,
"column": 16
},
"end": {
"line": 113,
"column": 26
}
},
"object": {
"type": "Identifier",
"start": 4613,
"end": 4621,
"loc": {
"start": {
"line": 113,
"column": 16
},
"end": {
"line": 113,
"column": 24
},
"identifierName": "worldPos"
},
"name": "worldPos"
},
"property": {
"type": "Identifier",
"start": 4622,
"end": 4623,
"loc": {
"start": {
"line": 113,
"column": 25
},
"end": {
"line": 113,
"column": 26
},
"identifierName": "x"
},
"name": "x"
},
"computed": false
},
"right": {
"type": "MemberExpression",
"start": 4627,
"end": 4635,
"loc": {
"start": {
"line": 113,
"column": 30
},
"end": {
"line": 113,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 4627,
"end": 4633,
"loc": {
"start": {
"line": 113,
"column": 30
},
"end": {
"line": 113,
"column": 36
},
"identifierName": "offset"
},
"name": "offset"
},
"property": {
"type": "Identifier",
"start": 4634,
"end": 4635,
"loc": {
"start": {
"line": 113,
"column": 37
},
"end": {
"line": 113,
"column": 38
},
"identifierName": "x"
},
"name": "x"
},
"computed": false
}
}
},
{
"type": "ExpressionStatement",
"start": 4654,
"end": 4677,
"loc": {
"start": {
"line": 114,
"column": 16
},
"end": {
"line": 114,
"column": 39
}
},
"expression": {
"type": "AssignmentExpression",
"start": 4654,
"end": 4676,
"loc": {
"start": {
"line": 114,
"column": 16
},
"end": {
"line": 114,
"column": 38
}
},
"operator": "+=",
"left": {
"type": "MemberExpression",
"start": 4654,
"end": 4664,
"loc": {
"start": {
"line": 114,
"column": 16
},
"end": {
"line": 114,
"column": 26
}
},
"object": {
"type": "Identifier",
"start": 4654,
"end": 4662,
"loc": {
"start": {
"line": 114,
"column": 16
},
"end": {
"line": 114,
"column": 24
},
"identifierName": "worldPos"
},
"name": "worldPos"
},
"property": {
"type": "Identifier",
"start": 4663,
"end": 4664,
"loc": {
"start": {
"line": 114,
"column": 25
},
"end": {
"line": 114,
"column": 26
},
"identifierName": "y"
},
"name": "y"
},
"computed": false
},
"right": {
"type": "MemberExpression",
"start": 4668,
"end": 4676,
"loc": {
"start": {
"line": 114,
"column": 30
},
"end": {
"line": 114,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 4668,
"end": 4674,
"loc": {
"start": {
"line": 114,
"column": 30
},
"end": {
"line": 114,
"column": 36
},
"identifierName": "offset"
},
"name": "offset"
},
"property": {
"type": "Identifier",
"start": 4675,
"end": 4676,
"loc": {
"start": {
"line": 114,
"column": 37
},
"end": {
"line": 114,
"column": 38
},
"identifierName": "y"
},
"name": "y"
},
"computed": false
}
}
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"trailingComments": [
{
"type": "CommentLine",
"value": " Check if there is any entity on that tile (Wired pins are always on the wires layer)",
"start": 4708,
"end": 4795,
"loc": {
"start": {
"line": 117,
"column": 12
},
"end": {
"line": 117,
"column": 99
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 4809,
"end": 4898,
"loc": {
"start": {
"line": 118,
"column": 12
},
"end": {
"line": 118,
"column": 101
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4815,
"end": 4897,
"loc": {
"start": {
"line": 118,
"column": 18
},
"end": {
"line": 118,
"column": 100
}
},
"id": {
"type": "Identifier",
"start": 4815,
"end": 4830,
"loc": {
"start": {
"line": 118,
"column": 18
},
"end": {
"line": 118,
"column": 33
},
"identifierName": "collidingEntity"
},
"name": "collidingEntity",
"leadingComments": null
},
"init": {
"type": "CallExpression",
"start": 4833,
"end": 4897,
"loc": {
"start": {
"line": 118,
"column": 36
},
"end": {
"line": 118,
"column": 100
}
},
"callee": {
"type": "MemberExpression",
"start": 4833,
"end": 4864,
"loc": {
"start": {
"line": 118,
"column": 36
},
"end": {
"line": 118,
"column": 67
}
},
"object": {
"type": "MemberExpression",
"start": 4833,
"end": 4846,
"loc": {
"start": {
"line": 118,
"column": 36
},
"end": {
"line": 118,
"column": 49
}
},
"object": {
"type": "MemberExpression",
"start": 4833,
"end": 4842,
"loc": {
"start": {
"line": 118,
"column": 36
},
"end": {
"line": 118,
"column": 45
}
},
"object": {
"type": "ThisExpression",
"start": 4833,
"end": 4837,
"loc": {
"start": {
"line": 118,
"column": 36
},
"end": {
"line": 118,
"column": 40
}
}
},
"property": {
"type": "Identifier",
"start": 4838,
"end": 4842,
"loc": {
"start": {
"line": 118,
"column": 41
},
"end": {
"line": 118,
"column": 45
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4843,
"end": 4846,
"loc": {
"start": {
"line": 118,
"column": 46
},
"end": {
"line": 118,
"column": 49
},
"identifierName": "map"
},
"name": "map"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4847,
"end": 4864,
"loc": {
"start": {
"line": 118,
"column": 50
},
"end": {
"line": 118,
"column": 67
},
"identifierName": "getLayerContentXY"
},
"name": "getLayerContentXY"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 4865,
"end": 4875,
"loc": {
"start": {
"line": 118,
"column": 68
},
"end": {
"line": 118,
"column": 78
}
},
"object": {
"type": "Identifier",
"start": 4865,
"end": 4873,
"loc": {
"start": {
"line": 118,
"column": 68
},
"end": {
"line": 118,
"column": 76
},
"identifierName": "worldPos"
},
"name": "worldPos"
},
"property": {
"type": "Identifier",
"start": 4874,
"end": 4875,
"loc": {
"start": {
"line": 118,
"column": 77
},
"end": {
"line": 118,
"column": 78
},
"identifierName": "x"
},
"name": "x"
},
"computed": false
},
{
"type": "MemberExpression",
"start": 4877,
"end": 4887,
"loc": {
"start": {
"line": 118,
"column": 80
},
"end": {
"line": 118,
"column": 90
}
},
"object": {
"type": "Identifier",
"start": 4877,
"end": 4885,
"loc": {
"start": {
"line": 118,
"column": 80
},
"end": {
"line": 118,
"column": 88
},
"identifierName": "worldPos"
},
"name": "worldPos"
},
"property": {
"type": "Identifier",
"start": 4886,
"end": 4887,
"loc": {
"start": {
"line": 118,
"column": 89
},
"end": {
"line": 118,
"column": 90
},
"identifierName": "y"
},
"name": "y"
},
"computed": false
},
{
"type": "StringLiteral",
"start": 4889,
"end": 4896,
"loc": {
"start": {
"line": 118,
"column": 92
},
"end": {
"line": 118,
"column": 99
}
},
"extra": {
"rawValue": "wires",
"raw": "\"wires\""
},
"value": "wires"
}
]
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentLine",
"value": " Check if there is any entity on that tile (Wired pins are always on the wires layer)",
"start": 4708,
"end": 4795,
"loc": {
"start": {
"line": 117,
"column": 12
},
"end": {
"line": 117,
"column": 99
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " If there's an entity, and it can't get removed -> That's a collision",
"start": 4914,
"end": 4985,
"loc": {
"start": {
"line": 120,
"column": 12
},
"end": {
"line": 120,
"column": 83
}
}
}
]
},
{
"type": "IfStatement",
"start": 4999,
"end": 5406,
"loc": {
"start": {
"line": 121,
"column": 12
},
"end": {
"line": 129,
"column": 13
}
},
"test": {
"type": "Identifier",
"start": 5003,
"end": 5018,
"loc": {
"start": {
"line": 121,
"column": 16
},
"end": {
"line": 121,
"column": 31
},
"identifierName": "collidingEntity"
},
"name": "collidingEntity",
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 5020,
"end": 5406,
"loc": {
"start": {
"line": 121,
"column": 33
},
"end": {
"line": 129,
"column": 13
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 5039,
"end": 5101,
"loc": {
"start": {
"line": 122,
"column": 16
},
"end": {
"line": 122,
"column": 78
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5045,
"end": 5100,
"loc": {
"start": {
"line": 122,
"column": 22
},
"end": {
"line": 122,
"column": 77
}
},
"id": {
"type": "Identifier",
"start": 5045,
"end": 5055,
"loc": {
"start": {
"line": 122,
"column": 22
},
"end": {
"line": 122,
"column": 32
},
"identifierName": "staticComp"
},
"name": "staticComp"
},
"init": {
"type": "MemberExpression",
"start": 5058,
"end": 5100,
"loc": {
"start": {
"line": 122,
"column": 35
},
"end": {
"line": 122,
"column": 77
}
},
"object": {
"type": "MemberExpression",
"start": 5058,
"end": 5084,
"loc": {
"start": {
"line": 122,
"column": 35
},
"end": {
"line": 122,
"column": 61
}
},
"object": {
"type": "Identifier",
"start": 5058,
"end": 5073,
"loc": {
"start": {
"line": 122,
"column": 35
},
"end": {
"line": 122,
"column": 50
},
"identifierName": "collidingEntity"
},
"name": "collidingEntity"
},
"property": {
"type": "Identifier",
"start": 5074,
"end": 5084,
"loc": {
"start": {
"line": 122,
"column": 51
},
"end": {
"line": 122,
"column": 61
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5085,
"end": 5100,
"loc": {
"start": {
"line": 122,
"column": 62
},
"end": {
"line": 122,
"column": 77
},
"identifierName": "StaticMapEntity"
},
"name": "StaticMapEntity"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 5119,
"end": 5173,
"loc": {
"start": {
"line": 123,
"column": 16
},
"end": {
"line": 123,
"column": 70
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5125,
"end": 5172,
"loc": {
"start": {
"line": 123,
"column": 22
},
"end": {
"line": 123,
"column": 69
}
},
"id": {
"type": "Identifier",
"start": 5125,
"end": 5129,
"loc": {
"start": {
"line": 123,
"column": 22
},
"end": {
"line": 123,
"column": 26
},
"identifierName": "data"
},
"name": "data"
},
"init": {
"type": "CallExpression",
"start": 5132,
"end": 5172,
"loc": {
"start": {
"line": 123,
"column": 29
},
"end": {
"line": 123,
"column": 69
}
},
"callee": {
"type": "Identifier",
"start": 5132,
"end": 5155,
"loc": {
"start": {
"line": 123,
"column": 29
},
"end": {
"line": 123,
"column": 52
},
"identifierName": "getBuildingDataFromCode"
},
"name": "getBuildingDataFromCode"
},
"arguments": [
{
"type": "MemberExpression",
"start": 5156,
"end": 5171,
"loc": {
"start": {
"line": 123,
"column": 53
},
"end": {
"line": 123,
"column": 68
}
},
"object": {
"type": "Identifier",
"start": 5156,
"end": 5166,
"loc": {
"start": {
"line": 123,
"column": 53
},
"end": {
"line": 123,
"column": 63
},
"identifierName": "staticComp"
},
"name": "staticComp"
},
"property": {
"type": "Identifier",
"start": 5167,
"end": 5171,
"loc": {
"start": {
"line": 123,
"column": 64
},
"end": {
"line": 123,
"column": 68
},
"identifierName": "code"
},
"name": "code"
},
"computed": false
}
]
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 5191,
"end": 5391,
"loc": {
"start": {
"line": 124,
"column": 16
},
"end": {
"line": 128,
"column": 17
}
},
"test": {
"type": "UnaryExpression",
"start": 5195,
"end": 5335,
"loc": {
"start": {
"line": 124,
"column": 20
},
"end": {
"line": 126,
"column": 21
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 5196,
"end": 5335,
"loc": {
"start": {
"line": 124,
"column": 21
},
"end": {
"line": 126,
"column": 21
}
},
"callee": {
"type": "MemberExpression",
"start": 5196,
"end": 5273,
"loc": {
"start": {
"line": 124,
"column": 21
},
"end": {
"line": 124,
"column": 98
}
},
"object": {
"type": "CallExpression",
"start": 5196,
"end": 5256,
"loc": {
"start": {
"line": 124,
"column": 21
},
"end": {
"line": 124,
"column": 81
}
},
"callee": {
"type": "MemberExpression",
"start": 5196,
"end": 5254,
"loc": {
"start": {
"line": 124,
"column": 21
},
"end": {
"line": 124,
"column": 79
}
},
"object": {
"type": "MemberExpression",
"start": 5196,
"end": 5238,
"loc": {
"start": {
"line": 124,
"column": 21
},
"end": {
"line": 124,
"column": 63
}
},
"object": {
"type": "MemberExpression",
"start": 5196,
"end": 5222,
"loc": {
"start": {
"line": 124,
"column": 21
},
"end": {
"line": 124,
"column": 47
}
},
"object": {
"type": "Identifier",
"start": 5196,
"end": 5211,
"loc": {
"start": {
"line": 124,
"column": 21
},
"end": {
"line": 124,
"column": 36
},
"identifierName": "collidingEntity"
},
"name": "collidingEntity"
},
"property": {
"type": "Identifier",
"start": 5212,
"end": 5222,
"loc": {
"start": {
"line": 124,
"column": 37
},
"end": {
"line": 124,
"column": 47
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5223,
"end": 5238,
"loc": {
"start": {
"line": 124,
"column": 48
},
"end": {
"line": 124,
"column": 63
},
"identifierName": "StaticMapEntity"
},
"name": "StaticMapEntity"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5239,
"end": 5254,
"loc": {
"start": {
"line": 124,
"column": 64
},
"end": {
"line": 124,
"column": 79
},
"identifierName": "getMetaBuilding"
},
"name": "getMetaBuilding"
},
"computed": false
},
"arguments": []
},
"property": {
"type": "Identifier",
"start": 5257,
"end": 5273,
"loc": {
"start": {
"line": 124,
"column": 82
},
"end": {
"line": 124,
"column": 98
},
"identifierName": "getIsReplaceable"
},
"name": "getIsReplaceable"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 5300,
"end": 5312,
"loc": {
"start": {
"line": 125,
"column": 24
},
"end": {
"line": 125,
"column": 36
}
},
"object": {
"type": "Identifier",
"start": 5300,
"end": 5304,
"loc": {
"start": {
"line": 125,
"column": 24
},
"end": {
"line": 125,
"column": 28
},
"identifierName": "data"
},
"name": "data"
},
"property": {
"type": "Identifier",
"start": 5305,
"end": 5312,
"loc": {
"start": {
"line": 125,
"column": 29
},
"end": {
"line": 125,
"column": 36
},
"identifierName": "variant"
},
"name": "variant"
},
"computed": false
}
]
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 5337,
"end": 5391,
"loc": {
"start": {
"line": 126,
"column": 23
},
"end": {
"line": 128,
"column": 17
}
},
"body": [
{
"type": "ReturnStatement",
"start": 5360,
"end": 5372,
"loc": {
"start": {
"line": 127,
"column": 20
},
"end": {
"line": 127,
"column": 32
}
},
"argument": {
"type": "BooleanLiteral",
"start": 5367,
"end": 5371,
"loc": {
"start": {
"line": 127,
"column": 27
},
"end": {
"line": 127,
"column": 31
}
},
"value": true
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " If there's an entity, and it can't get removed -> That's a collision",
"start": 4914,
"end": 4985,
"loc": {
"start": {
"line": 120,
"column": 12
},
"end": {
"line": 120,
"column": 83
}
}
}
]
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Go over all slots",
"start": 4264,
"end": 4284,
"loc": {
"start": {
"line": 106,
"column": 8
},
"end": {
"line": 106,
"column": 28
}
}
}
]
},
{
"type": "ReturnStatement",
"start": 5427,
"end": 5440,
"loc": {
"start": {
"line": 131,
"column": 8
},
"end": {
"line": 131,
"column": 21
}
},
"argument": {
"type": "BooleanLiteral",
"start": 5434,
"end": 5439,
"loc": {
"start": {
"line": 131,
"column": 15
},
"end": {
"line": 131,
"column": 20
}
},
"value": false
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Checks if the pins of the given entity collide on the wires layer\r\n * @param {Entity} entity\r\n * @param {Vector=} offset Optional, move the entity by the given offset first\r\n * @returns {boolean} True if the pins collide\r\n ",
"start": 3834,
"end": 4087,
"loc": {
"start": {
"line": 94,
"column": 4
},
"end": {
"line": 99,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Called to free space for the given entity\r\n * @param {Entity} entity\r\n ",
"start": 5455,
"end": 5548,
"loc": {
"start": {
"line": 134,
"column": 4
},
"end": {
"line": 137,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 5554,
"end": 6796,
"loc": {
"start": {
"line": 138,
"column": 4
},
"end": {
"line": 164,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 5554,
"end": 5579,
"loc": {
"start": {
"line": 138,
"column": 4
},
"end": {
"line": 138,
"column": 29
},
"identifierName": "freeEntityAreaBeforeBuild"
},
"name": "freeEntityAreaBeforeBuild",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 5580,
"end": 5586,
"loc": {
"start": {
"line": 138,
"column": 30
},
"end": {
"line": 138,
"column": 36
},
"identifierName": "entity"
},
"name": "entity"
}
],
"body": {
"type": "BlockStatement",
"start": 5588,
"end": 6796,
"loc": {
"start": {
"line": 138,
"column": 38
},
"end": {
"line": 164,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 5599,
"end": 5644,
"loc": {
"start": {
"line": 139,
"column": 8
},
"end": {
"line": 139,
"column": 53
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5605,
"end": 5643,
"loc": {
"start": {
"line": 139,
"column": 14
},
"end": {
"line": 139,
"column": 52
}
},
"id": {
"type": "Identifier",
"start": 5605,
"end": 5613,
"loc": {
"start": {
"line": 139,
"column": 14
},
"end": {
"line": 139,
"column": 22
},
"identifierName": "pinsComp"
},
"name": "pinsComp"
},
"init": {
"type": "MemberExpression",
"start": 5616,
"end": 5643,
"loc": {
"start": {
"line": 139,
"column": 25
},
"end": {
"line": 139,
"column": 52
}
},
"object": {
"type": "MemberExpression",
"start": 5616,
"end": 5633,
"loc": {
"start": {
"line": 139,
"column": 25
},
"end": {
"line": 139,
"column": 42
}
},
"object": {
"type": "Identifier",
"start": 5616,
"end": 5622,
"loc": {
"start": {
"line": 139,
"column": 25
},
"end": {
"line": 139,
"column": 31
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 5623,
"end": 5633,
"loc": {
"start": {
"line": 139,
"column": 32
},
"end": {
"line": 139,
"column": 42
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5634,
"end": 5643,
"loc": {
"start": {
"line": 139,
"column": 43
},
"end": {
"line": 139,
"column": 52
},
"identifierName": "WiredPins"
},
"name": "WiredPins"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 5654,
"end": 5737,
"loc": {
"start": {
"line": 140,
"column": 8
},
"end": {
"line": 143,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 5658,
"end": 5667,
"loc": {
"start": {
"line": 140,
"column": 12
},
"end": {
"line": 140,
"column": 21
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 5659,
"end": 5667,
"loc": {
"start": {
"line": 140,
"column": 13
},
"end": {
"line": 140,
"column": 21
},
"identifierName": "pinsComp"
},
"name": "pinsComp"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 5669,
"end": 5737,
"loc": {
"start": {
"line": 140,
"column": 23
},
"end": {
"line": 143,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 5719,
"end": 5726,
"loc": {
"start": {
"line": 142,
"column": 12
},
"end": {
"line": 142,
"column": 19
}
},
"argument": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Entity has no pins",
"start": 5684,
"end": 5705,
"loc": {
"start": {
"line": 141,
"column": 12
},
"end": {
"line": 141,
"column": 33
}
}
}
]
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"trailingComments": [
{
"type": "CommentLine",
"value": " Remove any stuff which collides with the pins",
"start": 5749,
"end": 5797,
"loc": {
"start": {
"line": 145,
"column": 8
},
"end": {
"line": 145,
"column": 56
}
}
}
]
},
{
"type": "ForStatement",
"start": 5807,
"end": 6789,
"loc": {
"start": {
"line": 146,
"column": 8
},
"end": {
"line": 163,
"column": 9
}
},
"init": {
"type": "VariableDeclaration",
"start": 5812,
"end": 5821,
"loc": {
"start": {
"line": 146,
"column": 13
},
"end": {
"line": 146,
"column": 22
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5816,
"end": 5821,
"loc": {
"start": {
"line": 146,
"column": 17
},
"end": {
"line": 146,
"column": 22
}
},
"id": {
"type": "Identifier",
"start": 5816,
"end": 5817,
"loc": {
"start": {
"line": 146,
"column": 17
},
"end": {
"line": 146,
"column": 18
},
"identifierName": "i"
},
"name": "i",
"leadingComments": null
},
"init": {
"type": "NumericLiteral",
"start": 5820,
"end": 5821,
"loc": {
"start": {
"line": 146,
"column": 21
},
"end": {
"line": 146,
"column": 22
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"leadingComments": null
}
],
"kind": "let",
"leadingComments": null
},
"test": {
"type": "BinaryExpression",
"start": 5823,
"end": 5848,
"loc": {
"start": {
"line": 146,
"column": 24
},
"end": {
"line": 146,
"column": 49
}
},
"left": {
"type": "Identifier",
"start": 5823,
"end": 5824,
"loc": {
"start": {
"line": 146,
"column": 24
},
"end": {
"line": 146,
"column": 25
},
"identifierName": "i"
},
"name": "i"
},
"operator": "<",
"right": {
"type": "MemberExpression",
"start": 5827,
"end": 5848,
"loc": {
"start": {
"line": 146,
"column": 28
},
"end": {
"line": 146,
"column": 49
}
},
"object": {
"type": "MemberExpression",
"start": 5827,
"end": 5841,
"loc": {
"start": {
"line": 146,
"column": 28
},
"end": {
"line": 146,
"column": 42
}
},
"object": {
"type": "Identifier",
"start": 5827,
"end": 5835,
"loc": {
"start": {
"line": 146,
"column": 28
},
"end": {
"line": 146,
"column": 36
},
"identifierName": "pinsComp"
},
"name": "pinsComp"
},
"property": {
"type": "Identifier",
"start": 5836,
"end": 5841,
"loc": {
"start": {
"line": 146,
"column": 37
},
"end": {
"line": 146,
"column": 42
},
"identifierName": "slots"
},
"name": "slots"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5842,
"end": 5848,
"loc": {
"start": {
"line": 146,
"column": 43
},
"end": {
"line": 146,
"column": 49
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
}
},
"update": {
"type": "UpdateExpression",
"start": 5850,
"end": 5853,
"loc": {
"start": {
"line": 146,
"column": 51
},
"end": {
"line": 146,
"column": 54
}
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 5852,
"end": 5853,
"loc": {
"start": {
"line": 146,
"column": 53
},
"end": {
"line": 146,
"column": 54
},
"identifierName": "i"
},
"name": "i"
},
"extra": {
"parenthesizedArgument": false
}
},
"body": {
"type": "BlockStatement",
"start": 5855,
"end": 6789,
"loc": {
"start": {
"line": 146,
"column": 56
},
"end": {
"line": 163,
"column": 9
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 5870,
"end": 5901,
"loc": {
"start": {
"line": 147,
"column": 12
},
"end": {
"line": 147,
"column": 43
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5876,
"end": 5900,
"loc": {
"start": {
"line": 147,
"column": 18
},
"end": {
"line": 147,
"column": 42
}
},
"id": {
"type": "Identifier",
"start": 5876,
"end": 5880,
"loc": {
"start": {
"line": 147,
"column": 18
},
"end": {
"line": 147,
"column": 22
},
"identifierName": "slot"
},
"name": "slot"
},
"init": {
"type": "MemberExpression",
"start": 5883,
"end": 5900,
"loc": {
"start": {
"line": 147,
"column": 25
},
"end": {
"line": 147,
"column": 42
}
},
"object": {
"type": "MemberExpression",
"start": 5883,
"end": 5897,
"loc": {
"start": {
"line": 147,
"column": 25
},
"end": {
"line": 147,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 5883,
"end": 5891,
"loc": {
"start": {
"line": 147,
"column": 25
},
"end": {
"line": 147,
"column": 33
},
"identifierName": "pinsComp"
},
"name": "pinsComp"
},
"property": {
"type": "Identifier",
"start": 5892,
"end": 5897,
"loc": {
"start": {
"line": 147,
"column": 34
},
"end": {
"line": 147,
"column": 39
},
"identifierName": "slots"
},
"name": "slots"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5898,
"end": 5899,
"loc": {
"start": {
"line": 147,
"column": 40
},
"end": {
"line": 147,
"column": 41
},
"identifierName": "i"
},
"name": "i"
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 5915,
"end": 5993,
"loc": {
"start": {
"line": 148,
"column": 12
},
"end": {
"line": 148,
"column": 90
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5921,
"end": 5992,
"loc": {
"start": {
"line": 148,
"column": 18
},
"end": {
"line": 148,
"column": 89
}
},
"id": {
"type": "Identifier",
"start": 5921,
"end": 5929,
"loc": {
"start": {
"line": 148,
"column": 18
},
"end": {
"line": 148,
"column": 26
},
"identifierName": "worldPos"
},
"name": "worldPos"
},
"init": {
"type": "CallExpression",
"start": 5932,
"end": 5992,
"loc": {
"start": {
"line": 148,
"column": 29
},
"end": {
"line": 148,
"column": 89
}
},
"callee": {
"type": "MemberExpression",
"start": 5932,
"end": 5982,
"loc": {
"start": {
"line": 148,
"column": 29
},
"end": {
"line": 148,
"column": 79
}
},
"object": {
"type": "MemberExpression",
"start": 5932,
"end": 5965,
"loc": {
"start": {
"line": 148,
"column": 29
},
"end": {
"line": 148,
"column": 62
}
},
"object": {
"type": "MemberExpression",
"start": 5932,
"end": 5949,
"loc": {
"start": {
"line": 148,
"column": 29
},
"end": {
"line": 148,
"column": 46
}
},
"object": {
"type": "Identifier",
"start": 5932,
"end": 5938,
"loc": {
"start": {
"line": 148,
"column": 29
},
"end": {
"line": 148,
"column": 35
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 5939,
"end": 5949,
"loc": {
"start": {
"line": 148,
"column": 36
},
"end": {
"line": 148,
"column": 46
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5950,
"end": 5965,
"loc": {
"start": {
"line": 148,
"column": 47
},
"end": {
"line": 148,
"column": 62
},
"identifierName": "StaticMapEntity"
},
"name": "StaticMapEntity"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5966,
"end": 5982,
"loc": {
"start": {
"line": 148,
"column": 63
},
"end": {
"line": 148,
"column": 79
},
"identifierName": "localTileToWorld"
},
"name": "localTileToWorld"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 5983,
"end": 5991,
"loc": {
"start": {
"line": 148,
"column": 80
},
"end": {
"line": 148,
"column": 88
}
},
"object": {
"type": "Identifier",
"start": 5983,
"end": 5987,
"loc": {
"start": {
"line": 148,
"column": 80
},
"end": {
"line": 148,
"column": 84
},
"identifierName": "slot"
},
"name": "slot"
},
"property": {
"type": "Identifier",
"start": 5988,
"end": 5991,
"loc": {
"start": {
"line": 148,
"column": 85
},
"end": {
"line": 148,
"column": 88
},
"identifierName": "pos"
},
"name": "pos"
},
"computed": false
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 6007,
"end": 6096,
"loc": {
"start": {
"line": 149,
"column": 12
},
"end": {
"line": 149,
"column": 101
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6013,
"end": 6095,
"loc": {
"start": {
"line": 149,
"column": 18
},
"end": {
"line": 149,
"column": 100
}
},
"id": {
"type": "Identifier",
"start": 6013,
"end": 6028,
"loc": {
"start": {
"line": 149,
"column": 18
},
"end": {
"line": 149,
"column": 33
},
"identifierName": "collidingEntity"
},
"name": "collidingEntity"
},
"init": {
"type": "CallExpression",
"start": 6031,
"end": 6095,
"loc": {
"start": {
"line": 149,
"column": 36
},
"end": {
"line": 149,
"column": 100
}
},
"callee": {
"type": "MemberExpression",
"start": 6031,
"end": 6062,
"loc": {
"start": {
"line": 149,
"column": 36
},
"end": {
"line": 149,
"column": 67
}
},
"object": {
"type": "MemberExpression",
"start": 6031,
"end": 6044,
"loc": {
"start": {
"line": 149,
"column": 36
},
"end": {
"line": 149,
"column": 49
}
},
"object": {
"type": "MemberExpression",
"start": 6031,
"end": 6040,
"loc": {
"start": {
"line": 149,
"column": 36
},
"end": {
"line": 149,
"column": 45
}
},
"object": {
"type": "ThisExpression",
"start": 6031,
"end": 6035,
"loc": {
"start": {
"line": 149,
"column": 36
},
"end": {
"line": 149,
"column": 40
}
}
},
"property": {
"type": "Identifier",
"start": 6036,
"end": 6040,
"loc": {
"start": {
"line": 149,
"column": 41
},
"end": {
"line": 149,
"column": 45
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6041,
"end": 6044,
"loc": {
"start": {
"line": 149,
"column": 46
},
"end": {
"line": 149,
"column": 49
},
"identifierName": "map"
},
"name": "map"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6045,
"end": 6062,
"loc": {
"start": {
"line": 149,
"column": 50
},
"end": {
"line": 149,
"column": 67
},
"identifierName": "getLayerContentXY"
},
"name": "getLayerContentXY"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 6063,
"end": 6073,
"loc": {
"start": {
"line": 149,
"column": 68
},
"end": {
"line": 149,
"column": 78
}
},
"object": {
"type": "Identifier",
"start": 6063,
"end": 6071,
"loc": {
"start": {
"line": 149,
"column": 68
},
"end": {
"line": 149,
"column": 76
},
"identifierName": "worldPos"
},
"name": "worldPos"
},
"property": {
"type": "Identifier",
"start": 6072,
"end": 6073,
"loc": {
"start": {
"line": 149,
"column": 77
},
"end": {
"line": 149,
"column": 78
},
"identifierName": "x"
},
"name": "x"
},
"computed": false
},
{
"type": "MemberExpression",
"start": 6075,
"end": 6085,
"loc": {
"start": {
"line": 149,
"column": 80
},
"end": {
"line": 149,
"column": 90
}
},
"object": {
"type": "Identifier",
"start": 6075,
"end": 6083,
"loc": {
"start": {
"line": 149,
"column": 80
},
"end": {
"line": 149,
"column": 88
},
"identifierName": "worldPos"
},
"name": "worldPos"
},
"property": {
"type": "Identifier",
"start": 6084,
"end": 6085,
"loc": {
"start": {
"line": 149,
"column": 89
},
"end": {
"line": 149,
"column": 90
},
"identifierName": "y"
},
"name": "y"
},
"computed": false
},
{
"type": "StringLiteral",
"start": 6087,
"end": 6094,
"loc": {
"start": {
"line": 149,
"column": 92
},
"end": {
"line": 149,
"column": 99
}
},
"extra": {
"rawValue": "wires",
"raw": "\"wires\""
},
"value": "wires"
}
]
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 6110,
"end": 6778,
"loc": {
"start": {
"line": 150,
"column": 12
},
"end": {
"line": 162,
"column": 13
}
},
"test": {
"type": "Identifier",
"start": 6114,
"end": 6129,
"loc": {
"start": {
"line": 150,
"column": 16
},
"end": {
"line": 150,
"column": 31
},
"identifierName": "collidingEntity"
},
"name": "collidingEntity"
},
"consequent": {
"type": "BlockStatement",
"start": 6131,
"end": 6778,
"loc": {
"start": {
"line": 150,
"column": 33
},
"end": {
"line": 162,
"column": 13
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 6150,
"end": 6212,
"loc": {
"start": {
"line": 151,
"column": 16
},
"end": {
"line": 151,
"column": 78
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6156,
"end": 6211,
"loc": {
"start": {
"line": 151,
"column": 22
},
"end": {
"line": 151,
"column": 77
}
},
"id": {
"type": "Identifier",
"start": 6156,
"end": 6166,
"loc": {
"start": {
"line": 151,
"column": 22
},
"end": {
"line": 151,
"column": 32
},
"identifierName": "staticComp"
},
"name": "staticComp"
},
"init": {
"type": "MemberExpression",
"start": 6169,
"end": 6211,
"loc": {
"start": {
"line": 151,
"column": 35
},
"end": {
"line": 151,
"column": 77
}
},
"object": {
"type": "MemberExpression",
"start": 6169,
"end": 6195,
"loc": {
"start": {
"line": 151,
"column": 35
},
"end": {
"line": 151,
"column": 61
}
},
"object": {
"type": "Identifier",
"start": 6169,
"end": 6184,
"loc": {
"start": {
"line": 151,
"column": 35
},
"end": {
"line": 151,
"column": 50
},
"identifierName": "collidingEntity"
},
"name": "collidingEntity"
},
"property": {
"type": "Identifier",
"start": 6185,
"end": 6195,
"loc": {
"start": {
"line": 151,
"column": 51
},
"end": {
"line": 151,
"column": 61
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6196,
"end": 6211,
"loc": {
"start": {
"line": 151,
"column": 62
},
"end": {
"line": 151,
"column": 77
},
"identifierName": "StaticMapEntity"
},
"name": "StaticMapEntity"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 6230,
"end": 6284,
"loc": {
"start": {
"line": 152,
"column": 16
},
"end": {
"line": 152,
"column": 70
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6236,
"end": 6283,
"loc": {
"start": {
"line": 152,
"column": 22
},
"end": {
"line": 152,
"column": 69
}
},
"id": {
"type": "Identifier",
"start": 6236,
"end": 6240,
"loc": {
"start": {
"line": 152,
"column": 22
},
"end": {
"line": 152,
"column": 26
},
"identifierName": "data"
},
"name": "data"
},
"init": {
"type": "CallExpression",
"start": 6243,
"end": 6283,
"loc": {
"start": {
"line": 152,
"column": 29
},
"end": {
"line": 152,
"column": 69
}
},
"callee": {
"type": "Identifier",
"start": 6243,
"end": 6266,
"loc": {
"start": {
"line": 152,
"column": 29
},
"end": {
"line": 152,
"column": 52
},
"identifierName": "getBuildingDataFromCode"
},
"name": "getBuildingDataFromCode"
},
"arguments": [
{
"type": "MemberExpression",
"start": 6267,
"end": 6282,
"loc": {
"start": {
"line": 152,
"column": 53
},
"end": {
"line": 152,
"column": 68
}
},
"object": {
"type": "Identifier",
"start": 6267,
"end": 6277,
"loc": {
"start": {
"line": 152,
"column": 53
},
"end": {
"line": 152,
"column": 63
},
"identifierName": "staticComp"
},
"name": "staticComp"
},
"property": {
"type": "Identifier",
"start": 6278,
"end": 6282,
"loc": {
"start": {
"line": 152,
"column": 64
},
"end": {
"line": 152,
"column": 68
},
"identifierName": "code"
},
"name": "code"
},
"computed": false
}
]
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 6302,
"end": 6570,
"loc": {
"start": {
"line": 153,
"column": 16
},
"end": {
"line": 158,
"column": 18
}
},
"expression": {
"type": "CallExpression",
"start": 6302,
"end": 6569,
"loc": {
"start": {
"line": 153,
"column": 16
},
"end": {
"line": 158,
"column": 17
}
},
"callee": {
"type": "Identifier",
"start": 6302,
"end": 6314,
"loc": {
"start": {
"line": 153,
"column": 16
},
"end": {
"line": 153,
"column": 28
},
"identifierName": "assertAlways"
},
"name": "assertAlways"
},
"arguments": [
{
"type": "CallExpression",
"start": 6337,
"end": 6476,
"loc": {
"start": {
"line": 154,
"column": 20
},
"end": {
"line": 156,
"column": 21
}
},
"callee": {
"type": "MemberExpression",
"start": 6337,
"end": 6414,
"loc": {
"start": {
"line": 154,
"column": 20
},
"end": {
"line": 154,
"column": 97
}
},
"object": {
"type": "CallExpression",
"start": 6337,
"end": 6397,
"loc": {
"start": {
"line": 154,
"column": 20
},
"end": {
"line": 154,
"column": 80
}
},
"callee": {
"type": "MemberExpression",
"start": 6337,
"end": 6395,
"loc": {
"start": {
"line": 154,
"column": 20
},
"end": {
"line": 154,
"column": 78
}
},
"object": {
"type": "MemberExpression",
"start": 6337,
"end": 6379,
"loc": {
"start": {
"line": 154,
"column": 20
},
"end": {
"line": 154,
"column": 62
}
},
"object": {
"type": "MemberExpression",
"start": 6337,
"end": 6363,
"loc": {
"start": {
"line": 154,
"column": 20
},
"end": {
"line": 154,
"column": 46
}
},
"object": {
"type": "Identifier",
"start": 6337,
"end": 6352,
"loc": {
"start": {
"line": 154,
"column": 20
},
"end": {
"line": 154,
"column": 35
},
"identifierName": "collidingEntity"
},
"name": "collidingEntity"
},
"property": {
"type": "Identifier",
"start": 6353,
"end": 6363,
"loc": {
"start": {
"line": 154,
"column": 36
},
"end": {
"line": 154,
"column": 46
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6364,
"end": 6379,
"loc": {
"start": {
"line": 154,
"column": 47
},
"end": {
"line": 154,
"column": 62
},
"identifierName": "StaticMapEntity"
},
"name": "StaticMapEntity"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6380,
"end": 6395,
"loc": {
"start": {
"line": 154,
"column": 63
},
"end": {
"line": 154,
"column": 78
},
"identifierName": "getMetaBuilding"
},
"name": "getMetaBuilding"
},
"computed": false
},
"arguments": []
},
"property": {
"type": "Identifier",
"start": 6398,
"end": 6414,
"loc": {
"start": {
"line": 154,
"column": 81
},
"end": {
"line": 154,
"column": 97
},
"identifierName": "getIsReplaceable"
},
"name": "getIsReplaceable"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 6441,
"end": 6453,
"loc": {
"start": {
"line": 155,
"column": 24
},
"end": {
"line": 155,
"column": 36
}
},
"object": {
"type": "Identifier",
"start": 6441,
"end": 6445,
"loc": {
"start": {
"line": 155,
"column": 24
},
"end": {
"line": 155,
"column": 28
},
"identifierName": "data"
},
"name": "data"
},
"property": {
"type": "Identifier",
"start": 6446,
"end": 6453,
"loc": {
"start": {
"line": 155,
"column": 29
},
"end": {
"line": 155,
"column": 36
},
"identifierName": "variant"
},
"name": "variant"
},
"computed": false
}
]
},
{
"type": "StringLiteral",
"start": 6499,
"end": 6550,
"loc": {
"start": {
"line": 157,
"column": 20
},
"end": {
"line": 157,
"column": 71
}
},
"extra": {
"rawValue": "Tried to replace non-repleaceable entity for pins",
"raw": "\"Tried to replace non-repleaceable entity for pins\""
},
"value": "Tried to replace non-repleaceable entity for pins"
}
]
}
},
{
"type": "IfStatement",
"start": 6588,
"end": 6763,
"loc": {
"start": {
"line": 159,
"column": 16
},
"end": {
"line": 161,
"column": 17
}
},
"test": {
"type": "UnaryExpression",
"start": 6592,
"end": 6643,
"loc": {
"start": {
"line": 159,
"column": 20
},
"end": {
"line": 159,
"column": 71
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 6593,
"end": 6643,
"loc": {
"start": {
"line": 159,
"column": 21
},
"end": {
"line": 159,
"column": 71
}
},
"callee": {
"type": "MemberExpression",
"start": 6593,
"end": 6626,
"loc": {
"start": {
"line": 159,
"column": 21
},
"end": {
"line": 159,
"column": 54
}
},
"object": {
"type": "MemberExpression",
"start": 6593,
"end": 6608,
"loc": {
"start": {
"line": 159,
"column": 21
},
"end": {
"line": 159,
"column": 36
}
},
"object": {
"type": "MemberExpression",
"start": 6593,
"end": 6602,
"loc": {
"start": {
"line": 159,
"column": 21
},
"end": {
"line": 159,
"column": 30
}
},
"object": {
"type": "ThisExpression",
"start": 6593,
"end": 6597,
"loc": {
"start": {
"line": 159,
"column": 21
},
"end": {
"line": 159,
"column": 25
}
}
},
"property": {
"type": "Identifier",
"start": 6598,
"end": 6602,
"loc": {
"start": {
"line": 159,
"column": 26
},
"end": {
"line": 159,
"column": 30
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6603,
"end": 6608,
"loc": {
"start": {
"line": 159,
"column": 31
},
"end": {
"line": 159,
"column": 36
},
"identifierName": "logic"
},
"name": "logic"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6609,
"end": 6626,
"loc": {
"start": {
"line": 159,
"column": 37
},
"end": {
"line": 159,
"column": 54
},
"identifierName": "tryDeleteBuilding"
},
"name": "tryDeleteBuilding"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 6627,
"end": 6642,
"loc": {
"start": {
"line": 159,
"column": 55
},
"end": {
"line": 159,
"column": 70
},
"identifierName": "collidingEntity"
},
"name": "collidingEntity"
}
]
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 6645,
"end": 6763,
"loc": {
"start": {
"line": 159,
"column": 73
},
"end": {
"line": 161,
"column": 17
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 6668,
"end": 6744,
"loc": {
"start": {
"line": 160,
"column": 20
},
"end": {
"line": 160,
"column": 96
}
},
"expression": {
"type": "CallExpression",
"start": 6668,
"end": 6743,
"loc": {
"start": {
"line": 160,
"column": 20
},
"end": {
"line": 160,
"column": 95
}
},
"callee": {
"type": "Identifier",
"start": 6668,
"end": 6680,
"loc": {
"start": {
"line": 160,
"column": 20
},
"end": {
"line": 160,
"column": 32
},
"identifierName": "assertAlways"
},
"name": "assertAlways"
},
"arguments": [
{
"type": "BooleanLiteral",
"start": 6681,
"end": 6686,
"loc": {
"start": {
"line": 160,
"column": 33
},
"end": {
"line": 160,
"column": 38
}
},
"value": false
},
{
"type": "StringLiteral",
"start": 6688,
"end": 6742,
"loc": {
"start": {
"line": 160,
"column": 40
},
"end": {
"line": 160,
"column": 94
}
},
"extra": {
"rawValue": "Tried to replace non-repleaceable entity for pins #2",
"raw": "\"Tried to replace non-repleaceable entity for pins #2\""
},
"value": "Tried to replace non-repleaceable entity for pins #2"
}
]
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Remove any stuff which collides with the pins",
"start": 5749,
"end": 5797,
"loc": {
"start": {
"line": 145,
"column": 8
},
"end": {
"line": 145,
"column": 56
}
}
}
]
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Called to free space for the given entity\r\n * @param {Entity} entity\r\n ",
"start": 5455,
"end": 5548,
"loc": {
"start": {
"line": 134,
"column": 4
},
"end": {
"line": 137,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Draws a given entity\r\n * @param {DrawParameters} parameters\r\n * @param {MapChunkView} chunk\r\n ",
"start": 6804,
"end": 6924,
"loc": {
"start": {
"line": 166,
"column": 4
},
"end": {
"line": 170,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 6930,
"end": 10088,
"loc": {
"start": {
"line": 171,
"column": 4
},
"end": {
"line": 246,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 6930,
"end": 6960,
"loc": {
"start": {
"line": 171,
"column": 4
},
"end": {
"line": 171,
"column": 34
},
"identifierName": "drawChunk_WiresForegroundLayer"
},
"name": "drawChunk_WiresForegroundLayer",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 6961,
"end": 6971,
"loc": {
"start": {
"line": 171,
"column": 35
},
"end": {
"line": 171,
"column": 45
},
"identifierName": "parameters"
},
"name": "parameters"
},
{
"type": "Identifier",
"start": 6973,
"end": 6978,
"loc": {
"start": {
"line": 171,
"column": 47
},
"end": {
"line": 171,
"column": 52
},
"identifierName": "chunk"
},
"name": "chunk"
}
],
"body": {
"type": "BlockStatement",
"start": 6980,
"end": 10088,
"loc": {
"start": {
"line": 171,
"column": 54
},
"end": {
"line": 246,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 6991,
"end": 7032,
"loc": {
"start": {
"line": 172,
"column": 8
},
"end": {
"line": 172,
"column": 49
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6997,
"end": 7031,
"loc": {
"start": {
"line": 172,
"column": 14
},
"end": {
"line": 172,
"column": 48
}
},
"id": {
"type": "Identifier",
"start": 6997,
"end": 7005,
"loc": {
"start": {
"line": 172,
"column": 14
},
"end": {
"line": 172,
"column": 22
},
"identifierName": "contents"
},
"name": "contents"
},
"init": {
"type": "MemberExpression",
"start": 7008,
"end": 7031,
"loc": {
"start": {
"line": 172,
"column": 25
},
"end": {
"line": 172,
"column": 48
}
},
"object": {
"type": "Identifier",
"start": 7008,
"end": 7013,
"loc": {
"start": {
"line": 172,
"column": 25
},
"end": {
"line": 172,
"column": 30
},
"identifierName": "chunk"
},
"name": "chunk"
},
"property": {
"type": "Identifier",
"start": 7014,
"end": 7031,
"loc": {
"start": {
"line": 172,
"column": 31
},
"end": {
"line": 172,
"column": 48
},
"identifierName": "containedEntities"
},
"name": "containedEntities"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ForStatement",
"start": 7044,
"end": 10081,
"loc": {
"start": {
"line": 174,
"column": 8
},
"end": {
"line": 245,
"column": 9
}
},
"init": {
"type": "VariableDeclaration",
"start": 7049,
"end": 7058,
"loc": {
"start": {
"line": 174,
"column": 13
},
"end": {
"line": 174,
"column": 22
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 7053,
"end": 7058,
"loc": {
"start": {
"line": 174,
"column": 17
},
"end": {
"line": 174,
"column": 22
}
},
"id": {
"type": "Identifier",
"start": 7053,
"end": 7054,
"loc": {
"start": {
"line": 174,
"column": 17
},
"end": {
"line": 174,
"column": 18
},
"identifierName": "i"
},
"name": "i"
},
"init": {
"type": "NumericLiteral",
"start": 7057,
"end": 7058,
"loc": {
"start": {
"line": 174,
"column": 21
},
"end": {
"line": 174,
"column": 22
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
],
"kind": "let"
},
"test": {
"type": "BinaryExpression",
"start": 7060,
"end": 7079,
"loc": {
"start": {
"line": 174,
"column": 24
},
"end": {
"line": 174,
"column": 43
}
},
"left": {
"type": "Identifier",
"start": 7060,
"end": 7061,
"loc": {
"start": {
"line": 174,
"column": 24
},
"end": {
"line": 174,
"column": 25
},
"identifierName": "i"
},
"name": "i"
},
"operator": "<",
"right": {
"type": "MemberExpression",
"start": 7064,
"end": 7079,
"loc": {
"start": {
"line": 174,
"column": 28
},
"end": {
"line": 174,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 7064,
"end": 7072,
"loc": {
"start": {
"line": 174,
"column": 28
},
"end": {
"line": 174,
"column": 36
},
"identifierName": "contents"
},
"name": "contents"
},
"property": {
"type": "Identifier",
"start": 7073,
"end": 7079,
"loc": {
"start": {
"line": 174,
"column": 37
},
"end": {
"line": 174,
"column": 43
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
}
},
"update": {
"type": "UpdateExpression",
"start": 7081,
"end": 7084,
"loc": {
"start": {
"line": 174,
"column": 45
},
"end": {
"line": 174,
"column": 48
}
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 7083,
"end": 7084,
"loc": {
"start": {
"line": 174,
"column": 47
},
"end": {
"line": 174,
"column": 48
},
"identifierName": "i"
},
"name": "i"
},
"extra": {
"parenthesizedArgument": false
}
},
"body": {
"type": "BlockStatement",
"start": 7086,
"end": 10081,
"loc": {
"start": {
"line": 174,
"column": 50
},
"end": {
"line": 245,
"column": 9
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 7101,
"end": 7128,
"loc": {
"start": {
"line": 175,
"column": 12
},
"end": {
"line": 175,
"column": 39
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 7107,
"end": 7127,
"loc": {
"start": {
"line": 175,
"column": 18
},
"end": {
"line": 175,
"column": 38
}
},
"id": {
"type": "Identifier",
"start": 7107,
"end": 7113,
"loc": {
"start": {
"line": 175,
"column": 18
},
"end": {
"line": 175,
"column": 24
},
"identifierName": "entity"
},
"name": "entity"
},
"init": {
"type": "MemberExpression",
"start": 7116,
"end": 7127,
"loc": {
"start": {
"line": 175,
"column": 27
},
"end": {
"line": 175,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 7116,
"end": 7124,
"loc": {
"start": {
"line": 175,
"column": 27
},
"end": {
"line": 175,
"column": 35
},
"identifierName": "contents"
},
"name": "contents"
},
"property": {
"type": "Identifier",
"start": 7125,
"end": 7126,
"loc": {
"start": {
"line": 175,
"column": 36
},
"end": {
"line": 175,
"column": 37
},
"identifierName": "i"
},
"name": "i"
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 7142,
"end": 7187,
"loc": {
"start": {
"line": 176,
"column": 12
},
"end": {
"line": 176,
"column": 57
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 7148,
"end": 7186,
"loc": {
"start": {
"line": 176,
"column": 18
},
"end": {
"line": 176,
"column": 56
}
},
"id": {
"type": "Identifier",
"start": 7148,
"end": 7156,
"loc": {
"start": {
"line": 176,
"column": 18
},
"end": {
"line": 176,
"column": 26
},
"identifierName": "pinsComp"
},
"name": "pinsComp"
},
"init": {
"type": "MemberExpression",
"start": 7159,
"end": 7186,
"loc": {
"start": {
"line": 176,
"column": 29
},
"end": {
"line": 176,
"column": 56
}
},
"object": {
"type": "MemberExpression",
"start": 7159,
"end": 7176,
"loc": {
"start": {
"line": 176,
"column": 29
},
"end": {
"line": 176,
"column": 46
}
},
"object": {
"type": "Identifier",
"start": 7159,
"end": 7165,
"loc": {
"start": {
"line": 176,
"column": 29
},
"end": {
"line": 176,
"column": 35
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 7166,
"end": 7176,
"loc": {
"start": {
"line": 176,
"column": 36
},
"end": {
"line": 176,
"column": 46
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7177,
"end": 7186,
"loc": {
"start": {
"line": 176,
"column": 47
},
"end": {
"line": 176,
"column": 56
},
"identifierName": "WiredPins"
},
"name": "WiredPins"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 7201,
"end": 7259,
"loc": {
"start": {
"line": 177,
"column": 12
},
"end": {
"line": 179,
"column": 13
}
},
"test": {
"type": "UnaryExpression",
"start": 7205,
"end": 7214,
"loc": {
"start": {
"line": 177,
"column": 16
},
"end": {
"line": 177,
"column": 25
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 7206,
"end": 7214,
"loc": {
"start": {
"line": 177,
"column": 17
},
"end": {
"line": 177,
"column": 25
},
"identifierName": "pinsComp"
},
"name": "pinsComp"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 7216,
"end": 7259,
"loc": {
"start": {
"line": 177,
"column": 27
},
"end": {
"line": 179,
"column": 13
}
},
"body": [
{
"type": "ContinueStatement",
"start": 7235,
"end": 7244,
"loc": {
"start": {
"line": 178,
"column": 16
},
"end": {
"line": 178,
"column": 25
}
},
"label": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 7275,
"end": 7328,
"loc": {
"start": {
"line": 181,
"column": 12
},
"end": {
"line": 181,
"column": 65
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 7281,
"end": 7327,
"loc": {
"start": {
"line": 181,
"column": 18
},
"end": {
"line": 181,
"column": 64
}
},
"id": {
"type": "Identifier",
"start": 7281,
"end": 7291,
"loc": {
"start": {
"line": 181,
"column": 18
},
"end": {
"line": 181,
"column": 28
},
"identifierName": "staticComp"
},
"name": "staticComp"
},
"init": {
"type": "MemberExpression",
"start": 7294,
"end": 7327,
"loc": {
"start": {
"line": 181,
"column": 31
},
"end": {
"line": 181,
"column": 64
}
},
"object": {
"type": "MemberExpression",
"start": 7294,
"end": 7311,
"loc": {
"start": {
"line": 181,
"column": 31
},
"end": {
"line": 181,
"column": 48
}
},
"object": {
"type": "Identifier",
"start": 7294,
"end": 7300,
"loc": {
"start": {
"line": 181,
"column": 31
},
"end": {
"line": 181,
"column": 37
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 7301,
"end": 7311,
"loc": {
"start": {
"line": 181,
"column": 38
},
"end": {
"line": 181,
"column": 48
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7312,
"end": 7327,
"loc": {
"start": {
"line": 181,
"column": 49
},
"end": {
"line": 181,
"column": 64
},
"identifierName": "StaticMapEntity"
},
"name": "StaticMapEntity"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 7342,
"end": 7396,
"loc": {
"start": {
"line": 182,
"column": 12
},
"end": {
"line": 182,
"column": 66
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 7348,
"end": 7395,
"loc": {
"start": {
"line": 182,
"column": 18
},
"end": {
"line": 182,
"column": 65
}
},
"id": {
"type": "Identifier",
"start": 7348,
"end": 7352,
"loc": {
"start": {
"line": 182,
"column": 18
},
"end": {
"line": 182,
"column": 22
},
"identifierName": "data"
},
"name": "data"
},
"init": {
"type": "CallExpression",
"start": 7355,
"end": 7395,
"loc": {
"start": {
"line": 182,
"column": 25
},
"end": {
"line": 182,
"column": 65
}
},
"callee": {
"type": "Identifier",
"start": 7355,
"end": 7378,
"loc": {
"start": {
"line": 182,
"column": 25
},
"end": {
"line": 182,
"column": 48
},
"identifierName": "getBuildingDataFromCode"
},
"name": "getBuildingDataFromCode"
},
"arguments": [
{
"type": "MemberExpression",
"start": 7379,
"end": 7394,
"loc": {
"start": {
"line": 182,
"column": 49
},
"end": {
"line": 182,
"column": 64
}
},
"object": {
"type": "Identifier",
"start": 7379,
"end": 7389,
"loc": {
"start": {
"line": 182,
"column": 49
},
"end": {
"line": 182,
"column": 59
},
"identifierName": "staticComp"
},
"name": "staticComp"
},
"property": {
"type": "Identifier",
"start": 7390,
"end": 7394,
"loc": {
"start": {
"line": 182,
"column": 60
},
"end": {
"line": 182,
"column": 64
},
"identifierName": "code"
},
"name": "code"
},
"computed": false
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 7410,
"end": 7439,
"loc": {
"start": {
"line": 183,
"column": 12
},
"end": {
"line": 183,
"column": 41
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 7416,
"end": 7438,
"loc": {
"start": {
"line": 183,
"column": 18
},
"end": {
"line": 183,
"column": 40
}
},
"id": {
"type": "Identifier",
"start": 7416,
"end": 7421,
"loc": {
"start": {
"line": 183,
"column": 18
},
"end": {
"line": 183,
"column": 23
},
"identifierName": "slots"
},
"name": "slots"
},
"init": {
"type": "MemberExpression",
"start": 7424,
"end": 7438,
"loc": {
"start": {
"line": 183,
"column": 26
},
"end": {
"line": 183,
"column": 40
}
},
"object": {
"type": "Identifier",
"start": 7424,
"end": 7432,
"loc": {
"start": {
"line": 183,
"column": 26
},
"end": {
"line": 183,
"column": 34
},
"identifierName": "pinsComp"
},
"name": "pinsComp"
},
"property": {
"type": "Identifier",
"start": 7433,
"end": 7438,
"loc": {
"start": {
"line": 183,
"column": 35
},
"end": {
"line": 183,
"column": 40
},
"identifierName": "slots"
},
"name": "slots"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ForStatement",
"start": 7455,
"end": 10070,
"loc": {
"start": {
"line": 185,
"column": 12
},
"end": {
"line": 244,
"column": 13
}
},
"init": {
"type": "VariableDeclaration",
"start": 7460,
"end": 7469,
"loc": {
"start": {
"line": 185,
"column": 17
},
"end": {
"line": 185,
"column": 26
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 7464,
"end": 7469,
"loc": {
"start": {
"line": 185,
"column": 21
},
"end": {
"line": 185,
"column": 26
}
},
"id": {
"type": "Identifier",
"start": 7464,
"end": 7465,
"loc": {
"start": {
"line": 185,
"column": 21
},
"end": {
"line": 185,
"column": 22
},
"identifierName": "j"
},
"name": "j"
},
"init": {
"type": "NumericLiteral",
"start": 7468,
"end": 7469,
"loc": {
"start": {
"line": 185,
"column": 25
},
"end": {
"line": 185,
"column": 26
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
],
"kind": "let"
},
"test": {
"type": "BinaryExpression",
"start": 7471,
"end": 7487,
"loc": {
"start": {
"line": 185,
"column": 28
},
"end": {
"line": 185,
"column": 44
}
},
"left": {
"type": "Identifier",
"start": 7471,
"end": 7472,
"loc": {
"start": {
"line": 185,
"column": 28
},
"end": {
"line": 185,
"column": 29
},
"identifierName": "j"
},
"name": "j"
},
"operator": "<",
"right": {
"type": "MemberExpression",
"start": 7475,
"end": 7487,
"loc": {
"start": {
"line": 185,
"column": 32
},
"end": {
"line": 185,
"column": 44
}
},
"object": {
"type": "Identifier",
"start": 7475,
"end": 7480,
"loc": {
"start": {
"line": 185,
"column": 32
},
"end": {
"line": 185,
"column": 37
},
"identifierName": "slots"
},
"name": "slots"
},
"property": {
"type": "Identifier",
"start": 7481,
"end": 7487,
"loc": {
"start": {
"line": 185,
"column": 38
},
"end": {
"line": 185,
"column": 44
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
}
},
"update": {
"type": "UpdateExpression",
"start": 7489,
"end": 7492,
"loc": {
"start": {
"line": 185,
"column": 46
},
"end": {
"line": 185,
"column": 49
}
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 7491,
"end": 7492,
"loc": {
"start": {
"line": 185,
"column": 48
},
"end": {
"line": 185,
"column": 49
},
"identifierName": "j"
},
"name": "j"
},
"extra": {
"parenthesizedArgument": false
}
},
"body": {
"type": "BlockStatement",
"start": 7494,
"end": 10070,
"loc": {
"start": {
"line": 185,
"column": 51
},
"end": {
"line": 244,
"column": 13
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 7513,
"end": 7535,
"loc": {
"start": {
"line": 186,
"column": 16
},
"end": {
"line": 186,
"column": 38
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 7519,
"end": 7534,
"loc": {
"start": {
"line": 186,
"column": 22
},
"end": {
"line": 186,
"column": 37
}
},
"id": {
"type": "Identifier",
"start": 7519,
"end": 7523,
"loc": {
"start": {
"line": 186,
"column": 22
},
"end": {
"line": 186,
"column": 26
},
"identifierName": "slot"
},
"name": "slot"
},
"init": {
"type": "MemberExpression",
"start": 7526,
"end": 7534,
"loc": {
"start": {
"line": 186,
"column": 29
},
"end": {
"line": 186,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 7526,
"end": 7531,
"loc": {
"start": {
"line": 186,
"column": 29
},
"end": {
"line": 186,
"column": 34
},
"identifierName": "slots"
},
"name": "slots"
},
"property": {
"type": "Identifier",
"start": 7532,
"end": 7533,
"loc": {
"start": {
"line": 186,
"column": 35
},
"end": {
"line": 186,
"column": 36
},
"identifierName": "j"
},
"name": "j"
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 7553,
"end": 7604,
"loc": {
"start": {
"line": 187,
"column": 16
},
"end": {
"line": 187,
"column": 67
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 7559,
"end": 7603,
"loc": {
"start": {
"line": 187,
"column": 22
},
"end": {
"line": 187,
"column": 66
}
},
"id": {
"type": "Identifier",
"start": 7559,
"end": 7563,
"loc": {
"start": {
"line": 187,
"column": 22
},
"end": {
"line": 187,
"column": 26
},
"identifierName": "tile"
},
"name": "tile"
},
"init": {
"type": "CallExpression",
"start": 7566,
"end": 7603,
"loc": {
"start": {
"line": 187,
"column": 29
},
"end": {
"line": 187,
"column": 66
}
},
"callee": {
"type": "MemberExpression",
"start": 7566,
"end": 7593,
"loc": {
"start": {
"line": 187,
"column": 29
},
"end": {
"line": 187,
"column": 56
}
},
"object": {
"type": "Identifier",
"start": 7566,
"end": 7576,
"loc": {
"start": {
"line": 187,
"column": 29
},
"end": {
"line": 187,
"column": 39
},
"identifierName": "staticComp"
},
"name": "staticComp"
},
"property": {
"type": "Identifier",
"start": 7577,
"end": 7593,
"loc": {
"start": {
"line": 187,
"column": 40
},
"end": {
"line": 187,
"column": 56
},
"identifierName": "localTileToWorld"
},
"name": "localTileToWorld"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 7594,
"end": 7602,
"loc": {
"start": {
"line": 187,
"column": 57
},
"end": {
"line": 187,
"column": 65
}
},
"object": {
"type": "Identifier",
"start": 7594,
"end": 7598,
"loc": {
"start": {
"line": 187,
"column": 57
},
"end": {
"line": 187,
"column": 61
},
"identifierName": "slot"
},
"name": "slot"
},
"property": {
"type": "Identifier",
"start": 7599,
"end": 7602,
"loc": {
"start": {
"line": 187,
"column": 62
},
"end": {
"line": 187,
"column": 65
},
"identifierName": "pos"
},
"name": "pos"
},
"computed": false
}
]
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 7624,
"end": 7789,
"loc": {
"start": {
"line": 189,
"column": 16
},
"end": {
"line": 192,
"column": 17
}
},
"test": {
"type": "UnaryExpression",
"start": 7628,
"end": 7683,
"loc": {
"start": {
"line": 189,
"column": 20
},
"end": {
"line": 189,
"column": 75
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 7629,
"end": 7683,
"loc": {
"start": {
"line": 189,
"column": 21
},
"end": {
"line": 189,
"column": 75
}
},
"callee": {
"type": "MemberExpression",
"start": 7629,
"end": 7667,
"loc": {
"start": {
"line": 189,
"column": 21
},
"end": {
"line": 189,
"column": 59
}
},
"object": {
"type": "MemberExpression",
"start": 7629,
"end": 7653,
"loc": {
"start": {
"line": 189,
"column": 21
},
"end": {
"line": 189,
"column": 45
}
},
"object": {
"type": "Identifier",
"start": 7629,
"end": 7634,
"loc": {
"start": {
"line": 189,
"column": 21
},
"end": {
"line": 189,
"column": 26
},
"identifierName": "chunk"
},
"name": "chunk"
},
"property": {
"type": "Identifier",
"start": 7635,
"end": 7653,
"loc": {
"start": {
"line": 189,
"column": 27
},
"end": {
"line": 189,
"column": 45
},
"identifierName": "tileSpaceRectangle"
},
"name": "tileSpaceRectangle"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7654,
"end": 7667,
"loc": {
"start": {
"line": 189,
"column": 46
},
"end": {
"line": 189,
"column": 59
},
"identifierName": "containsPoint"
},
"name": "containsPoint"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 7668,
"end": 7674,
"loc": {
"start": {
"line": 189,
"column": 60
},
"end": {
"line": 189,
"column": 66
}
},
"object": {
"type": "Identifier",
"start": 7668,
"end": 7672,
"loc": {
"start": {
"line": 189,
"column": 60
},
"end": {
"line": 189,
"column": 64
},
"identifierName": "tile"
},
"name": "tile"
},
"property": {
"type": "Identifier",
"start": 7673,
"end": 7674,
"loc": {
"start": {
"line": 189,
"column": 65
},
"end": {
"line": 189,
"column": 66
},
"identifierName": "x"
},
"name": "x"
},
"computed": false
},
{
"type": "MemberExpression",
"start": 7676,
"end": 7682,
"loc": {
"start": {
"line": 189,
"column": 68
},
"end": {
"line": 189,
"column": 74
}
},
"object": {
"type": "Identifier",
"start": 7676,
"end": 7680,
"loc": {
"start": {
"line": 189,
"column": 68
},
"end": {
"line": 189,
"column": 72
},
"identifierName": "tile"
},
"name": "tile"
},
"property": {
"type": "Identifier",
"start": 7681,
"end": 7682,
"loc": {
"start": {
"line": 189,
"column": 73
},
"end": {
"line": 189,
"column": 74
},
"identifierName": "y"
},
"name": "y"
},
"computed": false
}
]
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 7685,
"end": 7789,
"loc": {
"start": {
"line": 189,
"column": 77
},
"end": {
"line": 192,
"column": 17
}
},
"body": [
{
"type": "ContinueStatement",
"start": 7761,
"end": 7770,
"loc": {
"start": {
"line": 191,
"column": 20
},
"end": {
"line": 191,
"column": 29
}
},
"label": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Doesn't belong to this chunk",
"start": 7708,
"end": 7739,
"loc": {
"start": {
"line": 190,
"column": 20
},
"end": {
"line": 190,
"column": 51
}
}
}
]
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 7807,
"end": 7856,
"loc": {
"start": {
"line": 193,
"column": 16
},
"end": {
"line": 193,
"column": 65
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 7813,
"end": 7855,
"loc": {
"start": {
"line": 193,
"column": 22
},
"end": {
"line": 193,
"column": 64
}
},
"id": {
"type": "Identifier",
"start": 7813,
"end": 7821,
"loc": {
"start": {
"line": 193,
"column": 22
},
"end": {
"line": 193,
"column": 30
},
"identifierName": "worldPos"
},
"name": "worldPos"
},
"init": {
"type": "CallExpression",
"start": 7824,
"end": 7855,
"loc": {
"start": {
"line": 193,
"column": 33
},
"end": {
"line": 193,
"column": 64
}
},
"callee": {
"type": "MemberExpression",
"start": 7824,
"end": 7853,
"loc": {
"start": {
"line": 193,
"column": 33
},
"end": {
"line": 193,
"column": 62
}
},
"object": {
"type": "Identifier",
"start": 7824,
"end": 7828,
"loc": {
"start": {
"line": 193,
"column": 33
},
"end": {
"line": 193,
"column": 37
},
"identifierName": "tile"
},
"name": "tile"
},
"property": {
"type": "Identifier",
"start": 7829,
"end": 7853,
"loc": {
"start": {
"line": 193,
"column": 38
},
"end": {
"line": 193,
"column": 62
},
"identifierName": "toWorldSpaceCenterOfTile"
},
"name": "toWorldSpaceCenterOfTile"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const",
"trailingComments": [
{
"type": "CommentLine",
"value": " Culling",
"start": 7876,
"end": 7886,
"loc": {
"start": {
"line": 195,
"column": 16
},
"end": {
"line": 195,
"column": 26
}
}
}
]
},
{
"type": "IfStatement",
"start": 7904,
"end": 8050,
"loc": {
"start": {
"line": 196,
"column": 16
},
"end": {
"line": 198,
"column": 17
}
},
"test": {
"type": "UnaryExpression",
"start": 7908,
"end": 7997,
"loc": {
"start": {
"line": 196,
"column": 20
},
"end": {
"line": 196,
"column": 109
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 7909,
"end": 7997,
"loc": {
"start": {
"line": 196,
"column": 21
},
"end": {
"line": 196,
"column": 109
}
},
"callee": {
"type": "MemberExpression",
"start": 7909,
"end": 7946,
"loc": {
"start": {
"line": 196,
"column": 21
},
"end": {
"line": 196,
"column": 58
}
},
"object": {
"type": "MemberExpression",
"start": 7909,
"end": 7931,
"loc": {
"start": {
"line": 196,
"column": 21
},
"end": {
"line": 196,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 7909,
"end": 7919,
"loc": {
"start": {
"line": 196,
"column": 21
},
"end": {
"line": 196,
"column": 31
},
"identifierName": "parameters"
},
"name": "parameters",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 7920,
"end": 7931,
"loc": {
"start": {
"line": 196,
"column": 32
},
"end": {
"line": 196,
"column": 43
},
"identifierName": "visibleRect"
},
"name": "visibleRect"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 7932,
"end": 7946,
"loc": {
"start": {
"line": 196,
"column": 44
},
"end": {
"line": 196,
"column": 58
},
"identifierName": "containsCircle"
},
"name": "containsCircle"
},
"computed": false,
"leadingComments": null
},
"arguments": [
{
"type": "MemberExpression",
"start": 7947,
"end": 7957,
"loc": {
"start": {
"line": 196,
"column": 59
},
"end": {
"line": 196,
"column": 69
}
},
"object": {
"type": "Identifier",
"start": 7947,
"end": 7955,
"loc": {
"start": {
"line": 196,
"column": 59
},
"end": {
"line": 196,
"column": 67
},
"identifierName": "worldPos"
},
"name": "worldPos"
},
"property": {
"type": "Identifier",
"start": 7956,
"end": 7957,
"loc": {
"start": {
"line": 196,
"column": 68
},
"end": {
"line": 196,
"column": 69
},
"identifierName": "x"
},
"name": "x"
},
"computed": false
},
{
"type": "MemberExpression",
"start": 7959,
"end": 7969,
"loc": {
"start": {
"line": 196,
"column": 71
},
"end": {
"line": 196,
"column": 81
}
},
"object": {
"type": "Identifier",
"start": 7959,
"end": 7967,
"loc": {
"start": {
"line": 196,
"column": 71
},
"end": {
"line": 196,
"column": 79
},
"identifierName": "worldPos"
},
"name": "worldPos"
},
"property": {
"type": "Identifier",
"start": 7968,
"end": 7969,
"loc": {
"start": {
"line": 196,
"column": 80
},
"end": {
"line": 196,
"column": 81
},
"identifierName": "y"
},
"name": "y"
},
"computed": false
},
{
"type": "MemberExpression",
"start": 7971,
"end": 7996,
"loc": {
"start": {
"line": 196,
"column": 83
},
"end": {
"line": 196,
"column": 108
}
},
"object": {
"type": "Identifier",
"start": 7971,
"end": 7983,
"loc": {
"start": {
"line": 196,
"column": 83
},
"end": {
"line": 196,
"column": 95
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
},
"property": {
"type": "Identifier",
"start": 7984,
"end": 7996,
"loc": {
"start": {
"line": 196,
"column": 96
},
"end": {
"line": 196,
"column": 108
},
"identifierName": "halfTileSize"
},
"name": "halfTileSize"
},
"computed": false
}
],
"leadingComments": null
},
"extra": {
"parenthesizedArgument": false
},
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 7999,
"end": 8050,
"loc": {
"start": {
"line": 196,
"column": 111
},
"end": {
"line": 198,
"column": 17
}
},
"body": [
{
"type": "ContinueStatement",
"start": 8022,
"end": 8031,
"loc": {
"start": {
"line": 197,
"column": 20
},
"end": {
"line": 197,
"column": 29
}
},
"label": null
}
],
"directives": []
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Culling",
"start": 7876,
"end": 7886,
"loc": {
"start": {
"line": 195,
"column": 16
},
"end": {
"line": 195,
"column": 26
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 8070,
"end": 8209,
"loc": {
"start": {
"line": 200,
"column": 16
},
"end": {
"line": 202,
"column": 18
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 8076,
"end": 8208,
"loc": {
"start": {
"line": 200,
"column": 22
},
"end": {
"line": 202,
"column": 17
}
},
"id": {
"type": "Identifier",
"start": 8076,
"end": 8093,
"loc": {
"start": {
"line": 200,
"column": 22
},
"end": {
"line": 200,
"column": 39
},
"identifierName": "effectiveRotation"
},
"name": "effectiveRotation"
},
"init": {
"type": "CallExpression",
"start": 8096,
"end": 8208,
"loc": {
"start": {
"line": 200,
"column": 42
},
"end": {
"line": 202,
"column": 17
}
},
"callee": {
"type": "MemberExpression",
"start": 8096,
"end": 8108,
"loc": {
"start": {
"line": 200,
"column": 42
},
"end": {
"line": 200,
"column": 54
}
},
"object": {
"type": "Identifier",
"start": 8096,
"end": 8100,
"loc": {
"start": {
"line": 200,
"column": 42
},
"end": {
"line": 200,
"column": 46
},
"identifierName": "Math"
},
"name": "Math"
},
"property": {
"type": "Identifier",
"start": 8101,
"end": 8108,
"loc": {
"start": {
"line": 200,
"column": 47
},
"end": {
"line": 200,
"column": 54
},
"identifierName": "radians"
},
"name": "radians"
},
"computed": false
},
"arguments": [
{
"type": "BinaryExpression",
"start": 8131,
"end": 8189,
"loc": {
"start": {
"line": 201,
"column": 20
},
"end": {
"line": 201,
"column": 78
}
},
"left": {
"type": "MemberExpression",
"start": 8131,
"end": 8150,
"loc": {
"start": {
"line": 201,
"column": 20
},
"end": {
"line": 201,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 8131,
"end": 8141,
"loc": {
"start": {
"line": 201,
"column": 20
},
"end": {
"line": 201,
"column": 30
},
"identifierName": "staticComp"
},
"name": "staticComp"
},
"property": {
"type": "Identifier",
"start": 8142,
"end": 8150,
"loc": {
"start": {
"line": 201,
"column": 31
},
"end": {
"line": 201,
"column": 39
},
"identifierName": "rotation"
},
"name": "rotation"
},
"computed": false
},
"operator": "+",
"right": {
"type": "MemberExpression",
"start": 8153,
"end": 8189,
"loc": {
"start": {
"line": 201,
"column": 42
},
"end": {
"line": 201,
"column": 78
}
},
"object": {
"type": "Identifier",
"start": 8153,
"end": 8173,
"loc": {
"start": {
"line": 201,
"column": 42
},
"end": {
"line": 201,
"column": 62
},
"identifierName": "enumDirectionToAngle"
},
"name": "enumDirectionToAngle"
},
"property": {
"type": "MemberExpression",
"start": 8174,
"end": 8188,
"loc": {
"start": {
"line": 201,
"column": 63
},
"end": {
"line": 201,
"column": 77
}
},
"object": {
"type": "Identifier",
"start": 8174,
"end": 8178,
"loc": {
"start": {
"line": 201,
"column": 63
},
"end": {
"line": 201,
"column": 67
},
"identifierName": "slot"
},
"name": "slot"
},
"property": {
"type": "Identifier",
"start": 8179,
"end": 8188,
"loc": {
"start": {
"line": 201,
"column": 68
},
"end": {
"line": 201,
"column": 77
},
"identifierName": "direction"
},
"name": "direction"
},
"computed": false
},
"computed": true
}
}
]
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 8229,
"end": 8738,
"loc": {
"start": {
"line": 204,
"column": 16
},
"end": {
"line": 215,
"column": 17
}
},
"test": {
"type": "CallExpression",
"start": 8233,
"end": 8289,
"loc": {
"start": {
"line": 204,
"column": 20
},
"end": {
"line": 204,
"column": 76
}
},
"callee": {
"type": "MemberExpression",
"start": 8233,
"end": 8275,
"loc": {
"start": {
"line": 204,
"column": 20
},
"end": {
"line": 204,
"column": 62
}
},
"object": {
"type": "CallExpression",
"start": 8233,
"end": 8261,
"loc": {
"start": {
"line": 204,
"column": 20
},
"end": {
"line": 204,
"column": 48
}
},
"callee": {
"type": "MemberExpression",
"start": 8233,
"end": 8259,
"loc": {
"start": {
"line": 204,
"column": 20
},
"end": {
"line": 204,
"column": 46
}
},
"object": {
"type": "Identifier",
"start": 8233,
"end": 8243,
"loc": {
"start": {
"line": 204,
"column": 20
},
"end": {
"line": 204,
"column": 30
},
"identifierName": "staticComp"
},
"name": "staticComp"
},
"property": {
"type": "Identifier",
"start": 8244,
"end": 8259,
"loc": {
"start": {
"line": 204,
"column": 31
},
"end": {
"line": 204,
"column": 46
},
"identifierName": "getMetaBuilding"
},
"name": "getMetaBuilding"
},
"computed": false
},
"arguments": []
},
"property": {
"type": "Identifier",
"start": 8262,
"end": 8275,
"loc": {
"start": {
"line": 204,
"column": 49
},
"end": {
"line": 204,
"column": 62
},
"identifierName": "getRenderPins"
},
"name": "getRenderPins"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 8276,
"end": 8288,
"loc": {
"start": {
"line": 204,
"column": 63
},
"end": {
"line": 204,
"column": 75
}
},
"object": {
"type": "Identifier",
"start": 8276,
"end": 8280,
"loc": {
"start": {
"line": 204,
"column": 63
},
"end": {
"line": 204,
"column": 67
},
"identifierName": "data"
},
"name": "data"
},
"property": {
"type": "Identifier",
"start": 8281,
"end": 8288,
"loc": {
"start": {
"line": 204,
"column": 68
},
"end": {
"line": 204,
"column": 75
},
"identifierName": "variant"
},
"name": "variant"
},
"computed": false
}
]
},
"consequent": {
"type": "BlockStatement",
"start": 8291,
"end": 8738,
"loc": {
"start": {
"line": 204,
"column": 78
},
"end": {
"line": 215,
"column": 17
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 8314,
"end": 8719,
"loc": {
"start": {
"line": 205,
"column": 20
},
"end": {
"line": 214,
"column": 23
}
},
"expression": {
"type": "CallExpression",
"start": 8314,
"end": 8718,
"loc": {
"start": {
"line": 205,
"column": 20
},
"end": {
"line": 214,
"column": 22
}
},
"callee": {
"type": "Identifier",
"start": 8314,
"end": 8331,
"loc": {
"start": {
"line": 205,
"column": 20
},
"end": {
"line": 205,
"column": 37
},
"identifierName": "drawRotatedSprite"
},
"name": "drawRotatedSprite"
},
"arguments": [
{
"type": "ObjectExpression",
"start": 8332,
"end": 8717,
"loc": {
"start": {
"line": 205,
"column": 38
},
"end": {
"line": 214,
"column": 21
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 8359,
"end": 8369,
"loc": {
"start": {
"line": 206,
"column": 24
},
"end": {
"line": 206,
"column": 34
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 8359,
"end": 8369,
"loc": {
"start": {
"line": 206,
"column": 24
},
"end": {
"line": 206,
"column": 34
},
"identifierName": "parameters"
},
"name": "parameters"
},
"value": {
"type": "Identifier",
"start": 8359,
"end": 8369,
"loc": {
"start": {
"line": 206,
"column": 24
},
"end": {
"line": 206,
"column": 34
},
"identifierName": "parameters"
},
"name": "parameters"
},
"extra": {
"shorthand": true
}
},
{
"type": "ObjectProperty",
"start": 8396,
"end": 8430,
"loc": {
"start": {
"line": 207,
"column": 24
},
"end": {
"line": 207,
"column": 58
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 8396,
"end": 8402,
"loc": {
"start": {
"line": 207,
"column": 24
},
"end": {
"line": 207,
"column": 30
},
"identifierName": "sprite"
},
"name": "sprite"
},
"value": {
"type": "MemberExpression",
"start": 8404,
"end": 8430,
"loc": {
"start": {
"line": 207,
"column": 32
},
"end": {
"line": 207,
"column": 58
}
},
"object": {
"type": "MemberExpression",
"start": 8404,
"end": 8419,
"loc": {
"start": {
"line": 207,
"column": 32
},
"end": {
"line": 207,
"column": 47
}
},
"object": {
"type": "ThisExpression",
"start": 8404,
"end": 8408,
"loc": {
"start": {
"line": 207,
"column": 32
},
"end": {
"line": 207,
"column": 36
}
}
},
"property": {
"type": "Identifier",
"start": 8409,
"end": 8419,
"loc": {
"start": {
"line": 207,
"column": 37
},
"end": {
"line": 207,
"column": 47
},
"identifierName": "pinSprites"
},
"name": "pinSprites"
},
"computed": false
},
"property": {
"type": "MemberExpression",
"start": 8420,
"end": 8429,
"loc": {
"start": {
"line": 207,
"column": 48
},
"end": {
"line": 207,
"column": 57
}
},
"object": {
"type": "Identifier",
"start": 8420,
"end": 8424,
"loc": {
"start": {
"line": 207,
"column": 48
},
"end": {
"line": 207,
"column": 52
},
"identifierName": "slot"
},
"name": "slot"
},
"property": {
"type": "Identifier",
"start": 8425,
"end": 8429,
"loc": {
"start": {
"line": 207,
"column": 53
},
"end": {
"line": 207,
"column": 57
},
"identifierName": "type"
},
"name": "type"
},
"computed": false
},
"computed": true
}
},
{
"type": "ObjectProperty",
"start": 8457,
"end": 8470,
"loc": {
"start": {
"line": 208,
"column": 24
},
"end": {
"line": 208,
"column": 37
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 8457,
"end": 8458,
"loc": {
"start": {
"line": 208,
"column": 24
},
"end": {
"line": 208,
"column": 25
},
"identifierName": "x"
},
"name": "x"
},
"value": {
"type": "MemberExpression",
"start": 8460,
"end": 8470,
"loc": {
"start": {
"line": 208,
"column": 27
},
"end": {
"line": 208,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 8460,
"end": 8468,
"loc": {
"start": {
"line": 208,
"column": 27
},
"end": {
"line": 208,
"column": 35
},
"identifierName": "worldPos"
},
"name": "worldPos"
},
"property": {
"type": "Identifier",
"start": 8469,
"end": 8470,
"loc": {
"start": {
"line": 208,
"column": 36
},
"end": {
"line": 208,
"column": 37
},
"identifierName": "x"
},
"name": "x"
},
"computed": false
}
},
{
"type": "ObjectProperty",
"start": 8497,
"end": 8510,
"loc": {
"start": {
"line": 209,
"column": 24
},
"end": {
"line": 209,
"column": 37
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 8497,
"end": 8498,
"loc": {
"start": {
"line": 209,
"column": 24
},
"end": {
"line": 209,
"column": 25
},
"identifierName": "y"
},
"name": "y"
},
"value": {
"type": "MemberExpression",
"start": 8500,
"end": 8510,
"loc": {
"start": {
"line": 209,
"column": 27
},
"end": {
"line": 209,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 8500,
"end": 8508,
"loc": {
"start": {
"line": 209,
"column": 27
},
"end": {
"line": 209,
"column": 35
},
"identifierName": "worldPos"
},
"name": "worldPos"
},
"property": {
"type": "Identifier",
"start": 8509,
"end": 8510,
"loc": {
"start": {
"line": 209,
"column": 36
},
"end": {
"line": 209,
"column": 37
},
"identifierName": "y"
},
"name": "y"
},
"computed": false
}
},
{
"type": "ObjectProperty",
"start": 8537,
"end": 8561,
"loc": {
"start": {
"line": 210,
"column": 24
},
"end": {
"line": 210,
"column": 48
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 8537,
"end": 8542,
"loc": {
"start": {
"line": 210,
"column": 24
},
"end": {
"line": 210,
"column": 29
},
"identifierName": "angle"
},
"name": "angle"
},
"value": {
"type": "Identifier",
"start": 8544,
"end": 8561,
"loc": {
"start": {
"line": 210,
"column": 31
},
"end": {
"line": 210,
"column": 48
},
"identifierName": "effectiveRotation"
},
"name": "effectiveRotation"
}
},
{
"type": "ObjectProperty",
"start": 8588,
"end": 8619,
"loc": {
"start": {
"line": 211,
"column": 24
},
"end": {
"line": 211,
"column": 55
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 8588,
"end": 8592,
"loc": {
"start": {
"line": 211,
"column": 24
},
"end": {
"line": 211,
"column": 28
},
"identifierName": "size"
},
"name": "size"
},
"value": {
"type": "BinaryExpression",
"start": 8594,
"end": 8619,
"loc": {
"start": {
"line": 211,
"column": 30
},
"end": {
"line": 211,
"column": 55
}
},
"left": {
"type": "MemberExpression",
"start": 8594,
"end": 8615,
"loc": {
"start": {
"line": 211,
"column": 30
},
"end": {
"line": 211,
"column": 51
}
},
"object": {
"type": "Identifier",
"start": 8594,
"end": 8606,
"loc": {
"start": {
"line": 211,
"column": 30
},
"end": {
"line": 211,
"column": 42
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
},
"property": {
"type": "Identifier",
"start": 8607,
"end": 8615,
"loc": {
"start": {
"line": 211,
"column": 43
},
"end": {
"line": 211,
"column": 51
},
"identifierName": "tileSize"
},
"name": "tileSize"
},
"computed": false
},
"operator": "+",
"right": {
"type": "NumericLiteral",
"start": 8618,
"end": 8619,
"loc": {
"start": {
"line": 211,
"column": 54
},
"end": {
"line": 211,
"column": 55
}
},
"extra": {
"rawValue": 2,
"raw": "2"
},
"value": 2
}
}
},
{
"type": "ObjectProperty",
"start": 8646,
"end": 8656,
"loc": {
"start": {
"line": 212,
"column": 24
},
"end": {
"line": 212,
"column": 34
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 8646,
"end": 8653,
"loc": {
"start": {
"line": 212,
"column": 24
},
"end": {
"line": 212,
"column": 31
},
"identifierName": "offsetX"
},
"name": "offsetX"
},
"value": {
"type": "NumericLiteral",
"start": 8655,
"end": 8656,
"loc": {
"start": {
"line": 212,
"column": 33
},
"end": {
"line": 212,
"column": 34
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
},
{
"type": "ObjectProperty",
"start": 8683,
"end": 8693,
"loc": {
"start": {
"line": 213,
"column": 24
},
"end": {
"line": 213,
"column": 34
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 8683,
"end": 8690,
"loc": {
"start": {
"line": 213,
"column": 24
},
"end": {
"line": 213,
"column": 31
},
"identifierName": "offsetY"
},
"name": "offsetY"
},
"value": {
"type": "NumericLiteral",
"start": 8692,
"end": 8693,
"loc": {
"start": {
"line": 213,
"column": 33
},
"end": {
"line": 213,
"column": 34
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
]
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"trailingComments": [
{
"type": "CommentLine",
"value": " Draw contained item to visualize whats emitted",
"start": 8758,
"end": 8807,
"loc": {
"start": {
"line": 217,
"column": 16
},
"end": {
"line": 217,
"column": 65
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 8825,
"end": 8850,
"loc": {
"start": {
"line": 218,
"column": 16
},
"end": {
"line": 218,
"column": 41
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 8831,
"end": 8849,
"loc": {
"start": {
"line": 218,
"column": 22
},
"end": {
"line": 218,
"column": 40
}
},
"id": {
"type": "Identifier",
"start": 8831,
"end": 8836,
"loc": {
"start": {
"line": 218,
"column": 22
},
"end": {
"line": 218,
"column": 27
},
"identifierName": "value"
},
"name": "value",
"leadingComments": null
},
"init": {
"type": "MemberExpression",
"start": 8839,
"end": 8849,
"loc": {
"start": {
"line": 218,
"column": 30
},
"end": {
"line": 218,
"column": 40
}
},
"object": {
"type": "Identifier",
"start": 8839,
"end": 8843,
"loc": {
"start": {
"line": 218,
"column": 30
},
"end": {
"line": 218,
"column": 34
},
"identifierName": "slot"
},
"name": "slot"
},
"property": {
"type": "Identifier",
"start": 8844,
"end": 8849,
"loc": {
"start": {
"line": 218,
"column": 35
},
"end": {
"line": 218,
"column": 40
},
"identifierName": "value"
},
"name": "value"
},
"computed": false
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentLine",
"value": " Draw contained item to visualize whats emitted",
"start": 8758,
"end": 8807,
"loc": {
"start": {
"line": 217,
"column": 16
},
"end": {
"line": 217,
"column": 65
}
}
}
]
},
{
"type": "IfStatement",
"start": 8868,
"end": 9255,
"loc": {
"start": {
"line": 219,
"column": 16
},
"end": {
"line": 228,
"column": 17
}
},
"test": {
"type": "Identifier",
"start": 8872,
"end": 8877,
"loc": {
"start": {
"line": 219,
"column": 20
},
"end": {
"line": 219,
"column": 25
},
"identifierName": "value"
},
"name": "value"
},
"consequent": {
"type": "BlockStatement",
"start": 8879,
"end": 9255,
"loc": {
"start": {
"line": 219,
"column": 27
},
"end": {
"line": 228,
"column": 17
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 8902,
"end": 8964,
"loc": {
"start": {
"line": 220,
"column": 20
},
"end": {
"line": 220,
"column": 82
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 8908,
"end": 8963,
"loc": {
"start": {
"line": 220,
"column": 26
},
"end": {
"line": 220,
"column": 81
}
},
"id": {
"type": "Identifier",
"start": 8908,
"end": 8914,
"loc": {
"start": {
"line": 220,
"column": 26
},
"end": {
"line": 220,
"column": 32
},
"identifierName": "offset"
},
"name": "offset"
},
"init": {
"type": "CallExpression",
"start": 8917,
"end": 8963,
"loc": {
"start": {
"line": 220,
"column": 35
},
"end": {
"line": 220,
"column": 81
}
},
"callee": {
"type": "MemberExpression",
"start": 8917,
"end": 8944,
"loc": {
"start": {
"line": 220,
"column": 35
},
"end": {
"line": 220,
"column": 62
}
},
"object": {
"type": "NewExpression",
"start": 8917,
"end": 8936,
"loc": {
"start": {
"line": 220,
"column": 35
},
"end": {
"line": 220,
"column": 54
}
},
"callee": {
"type": "Identifier",
"start": 8921,
"end": 8927,
"loc": {
"start": {
"line": 220,
"column": 39
},
"end": {
"line": 220,
"column": 45
},
"identifierName": "Vector"
},
"name": "Vector"
},
"arguments": [
{
"type": "NumericLiteral",
"start": 8928,
"end": 8929,
"loc": {
"start": {
"line": 220,
"column": 46
},
"end": {
"line": 220,
"column": 47
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
{
"type": "UnaryExpression",
"start": 8931,
"end": 8935,
"loc": {
"start": {
"line": 220,
"column": 49
},
"end": {
"line": 220,
"column": 53
}
},
"operator": "-",
"prefix": true,
"argument": {
"type": "NumericLiteral",
"start": 8932,
"end": 8935,
"loc": {
"start": {
"line": 220,
"column": 50
},
"end": {
"line": 220,
"column": 53
}
},
"extra": {
"rawValue": 9.1,
"raw": "9.1"
},
"value": 9.1
},
"extra": {
"parenthesizedArgument": false
}
}
]
},
"property": {
"type": "Identifier",
"start": 8937,
"end": 8944,
"loc": {
"start": {
"line": 220,
"column": 55
},
"end": {
"line": 220,
"column": 62
},
"identifierName": "rotated"
},
"name": "rotated"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 8945,
"end": 8962,
"loc": {
"start": {
"line": 220,
"column": 63
},
"end": {
"line": 220,
"column": 80
},
"identifierName": "effectiveRotation"
},
"name": "effectiveRotation"
}
]
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 8988,
"end": 9236,
"loc": {
"start": {
"line": 222,
"column": 20
},
"end": {
"line": 227,
"column": 22
}
},
"expression": {
"type": "CallExpression",
"start": 8988,
"end": 9235,
"loc": {
"start": {
"line": 222,
"column": 20
},
"end": {
"line": 227,
"column": 21
}
},
"callee": {
"type": "MemberExpression",
"start": 8988,
"end": 9017,
"loc": {
"start": {
"line": 222,
"column": 20
},
"end": {
"line": 222,
"column": 49
}
},
"object": {
"type": "Identifier",
"start": 8988,
"end": 8993,
"loc": {
"start": {
"line": 222,
"column": 20
},
"end": {
"line": 222,
"column": 25
},
"identifierName": "value"
},
"name": "value"
},
"property": {
"type": "Identifier",
"start": 8994,
"end": 9017,
"loc": {
"start": {
"line": 222,
"column": 26
},
"end": {
"line": 222,
"column": 49
},
"identifierName": "drawItemCenteredClipped"
},
"name": "drawItemCenteredClipped"
},
"computed": false
},
"arguments": [
{
"type": "BinaryExpression",
"start": 9044,
"end": 9065,
"loc": {
"start": {
"line": 223,
"column": 24
},
"end": {
"line": 223,
"column": 45
}
},
"left": {
"type": "MemberExpression",
"start": 9044,
"end": 9054,
"loc": {
"start": {
"line": 223,
"column": 24
},
"end": {
"line": 223,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 9044,
"end": 9052,
"loc": {
"start": {
"line": 223,
"column": 24
},
"end": {
"line": 223,
"column": 32
},
"identifierName": "worldPos"
},
"name": "worldPos"
},
"property": {
"type": "Identifier",
"start": 9053,
"end": 9054,
"loc": {
"start": {
"line": 223,
"column": 33
},
"end": {
"line": 223,
"column": 34
},
"identifierName": "x"
},
"name": "x"
},
"computed": false
},
"operator": "+",
"right": {
"type": "MemberExpression",
"start": 9057,
"end": 9065,
"loc": {
"start": {
"line": 223,
"column": 37
},
"end": {
"line": 223,
"column": 45
}
},
"object": {
"type": "Identifier",
"start": 9057,
"end": 9063,
"loc": {
"start": {
"line": 223,
"column": 37
},
"end": {
"line": 223,
"column": 43
},
"identifierName": "offset"
},
"name": "offset"
},
"property": {
"type": "Identifier",
"start": 9064,
"end": 9065,
"loc": {
"start": {
"line": 223,
"column": 44
},
"end": {
"line": 223,
"column": 45
},
"identifierName": "x"
},
"name": "x"
},
"computed": false
}
},
{
"type": "BinaryExpression",
"start": 9092,
"end": 9113,
"loc": {
"start": {
"line": 224,
"column": 24
},
"end": {
"line": 224,
"column": 45
}
},
"left": {
"type": "MemberExpression",
"start": 9092,
"end": 9102,
"loc": {
"start": {
"line": 224,
"column": 24
},
"end": {
"line": 224,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 9092,
"end": 9100,
"loc": {
"start": {
"line": 224,
"column": 24
},
"end": {
"line": 224,
"column": 32
},
"identifierName": "worldPos"
},
"name": "worldPos"
},
"property": {
"type": "Identifier",
"start": 9101,
"end": 9102,
"loc": {
"start": {
"line": 224,
"column": 33
},
"end": {
"line": 224,
"column": 34
},
"identifierName": "y"
},
"name": "y"
},
"computed": false
},
"operator": "+",
"right": {
"type": "MemberExpression",
"start": 9105,
"end": 9113,
"loc": {
"start": {
"line": 224,
"column": 37
},
"end": {
"line": 224,
"column": 45
}
},
"object": {
"type": "Identifier",
"start": 9105,
"end": 9111,
"loc": {
"start": {
"line": 224,
"column": 37
},
"end": {
"line": 224,
"column": 43
},
"identifierName": "offset"
},
"name": "offset"
},
"property": {
"type": "Identifier",
"start": 9112,
"end": 9113,
"loc": {
"start": {
"line": 224,
"column": 44
},
"end": {
"line": 224,
"column": 45
},
"identifierName": "y"
},
"name": "y"
},
"computed": false
}
},
{
"type": "Identifier",
"start": 9140,
"end": 9150,
"loc": {
"start": {
"line": 225,
"column": 24
},
"end": {
"line": 225,
"column": 34
},
"identifierName": "parameters"
},
"name": "parameters"
},
{
"type": "MemberExpression",
"start": 9177,
"end": 9212,
"loc": {
"start": {
"line": 226,
"column": 24
},
"end": {
"line": 226,
"column": 59
}
},
"object": {
"type": "Identifier",
"start": 9177,
"end": 9191,
"loc": {
"start": {
"line": 226,
"column": 24
},
"end": {
"line": 226,
"column": 38
},
"identifierName": "enumTypeToSize"
},
"name": "enumTypeToSize"
},
"property": {
"type": "CallExpression",
"start": 9192,
"end": 9211,
"loc": {
"start": {
"line": 226,
"column": 39
},
"end": {
"line": 226,
"column": 58
}
},
"callee": {
"type": "MemberExpression",
"start": 9192,
"end": 9209,
"loc": {
"start": {
"line": 226,
"column": 39
},
"end": {
"line": 226,
"column": 56
}
},
"object": {
"type": "Identifier",
"start": 9192,
"end": 9197,
"loc": {
"start": {
"line": 226,
"column": 39
},
"end": {
"line": 226,
"column": 44
},
"identifierName": "value"
},
"name": "value"
},
"property": {
"type": "Identifier",
"start": 9198,
"end": 9209,
"loc": {
"start": {
"line": 226,
"column": 45
},
"end": {
"line": 226,
"column": 56
},
"identifierName": "getItemType"
},
"name": "getItemType"
},
"computed": false
},
"arguments": []
},
"computed": true
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"trailingComments": [
{
"type": "CommentLine",
"value": " Debug view",
"start": 9275,
"end": 9288,
"loc": {
"start": {
"line": 230,
"column": 16
},
"end": {
"line": 230,
"column": 29
}
}
}
]
},
{
"type": "IfStatement",
"start": 9306,
"end": 10055,
"loc": {
"start": {
"line": 231,
"column": 16
},
"end": {
"line": 243,
"column": 17
}
},
"test": {
"type": "LogicalExpression",
"start": 9310,
"end": 9363,
"loc": {
"start": {
"line": 231,
"column": 20
},
"end": {
"line": 231,
"column": 73
}
},
"left": {
"type": "Identifier",
"start": 9310,
"end": 9318,
"loc": {
"start": {
"line": 231,
"column": 20
},
"end": {
"line": 231,
"column": 28
},
"identifierName": "G_IS_DEV"
},
"name": "G_IS_DEV",
"leadingComments": null
},
"operator": "&&",
"right": {
"type": "MemberExpression",
"start": 9322,
"end": 9363,
"loc": {
"start": {
"line": 231,
"column": 32
},
"end": {
"line": 231,
"column": 73
}
},
"object": {
"type": "MemberExpression",
"start": 9322,
"end": 9340,
"loc": {
"start": {
"line": 231,
"column": 32
},
"end": {
"line": 231,
"column": 50
}
},
"object": {
"type": "Identifier",
"start": 9322,
"end": 9334,
"loc": {
"start": {
"line": 231,
"column": 32
},
"end": {
"line": 231,
"column": 44
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
},
"property": {
"type": "Identifier",
"start": 9335,
"end": 9340,
"loc": {
"start": {
"line": 231,
"column": 45
},
"end": {
"line": 231,
"column": 50
},
"identifierName": "debug"
},
"name": "debug"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 9341,
"end": 9363,
"loc": {
"start": {
"line": 231,
"column": 51
},
"end": {
"line": 231,
"column": 73
},
"identifierName": "renderWireNetworkInfos"
},
"name": "renderWireNetworkInfos"
},
"computed": false
},
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 9365,
"end": 10055,
"loc": {
"start": {
"line": 231,
"column": 75
},
"end": {
"line": 243,
"column": 17
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 9388,
"end": 9449,
"loc": {
"start": {
"line": 232,
"column": 20
},
"end": {
"line": 232,
"column": 81
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 9394,
"end": 9448,
"loc": {
"start": {
"line": 232,
"column": 26
},
"end": {
"line": 232,
"column": 80
}
},
"id": {
"type": "Identifier",
"start": 9394,
"end": 9400,
"loc": {
"start": {
"line": 232,
"column": 26
},
"end": {
"line": 232,
"column": 32
},
"identifierName": "offset"
},
"name": "offset"
},
"init": {
"type": "CallExpression",
"start": 9403,
"end": 9448,
"loc": {
"start": {
"line": 232,
"column": 35
},
"end": {
"line": 232,
"column": 80
}
},
"callee": {
"type": "MemberExpression",
"start": 9403,
"end": 9429,
"loc": {
"start": {
"line": 232,
"column": 35
},
"end": {
"line": 232,
"column": 61
}
},
"object": {
"type": "NewExpression",
"start": 9403,
"end": 9421,
"loc": {
"start": {
"line": 232,
"column": 35
},
"end": {
"line": 232,
"column": 53
}
},
"callee": {
"type": "Identifier",
"start": 9407,
"end": 9413,
"loc": {
"start": {
"line": 232,
"column": 39
},
"end": {
"line": 232,
"column": 45
},
"identifierName": "Vector"
},
"name": "Vector"
},
"arguments": [
{
"type": "NumericLiteral",
"start": 9414,
"end": 9415,
"loc": {
"start": {
"line": 232,
"column": 46
},
"end": {
"line": 232,
"column": 47
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
{
"type": "UnaryExpression",
"start": 9417,
"end": 9420,
"loc": {
"start": {
"line": 232,
"column": 49
},
"end": {
"line": 232,
"column": 52
}
},
"operator": "-",
"prefix": true,
"argument": {
"type": "NumericLiteral",
"start": 9418,
"end": 9420,
"loc": {
"start": {
"line": 232,
"column": 50
},
"end": {
"line": 232,
"column": 52
}
},
"extra": {
"rawValue": 10,
"raw": "10"
},
"value": 10
},
"extra": {
"parenthesizedArgument": false
}
}
]
},
"property": {
"type": "Identifier",
"start": 9422,
"end": 9429,
"loc": {
"start": {
"line": 232,
"column": 54
},
"end": {
"line": 232,
"column": 61
},
"identifierName": "rotated"
},
"name": "rotated"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 9430,
"end": 9447,
"loc": {
"start": {
"line": 232,
"column": 62
},
"end": {
"line": 232,
"column": 79
},
"identifierName": "effectiveRotation"
},
"name": "effectiveRotation"
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 9471,
"end": 9506,
"loc": {
"start": {
"line": 233,
"column": 20
},
"end": {
"line": 233,
"column": 55
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 9477,
"end": 9505,
"loc": {
"start": {
"line": 233,
"column": 26
},
"end": {
"line": 233,
"column": 54
}
},
"id": {
"type": "Identifier",
"start": 9477,
"end": 9484,
"loc": {
"start": {
"line": 233,
"column": 26
},
"end": {
"line": 233,
"column": 33
},
"identifierName": "network"
},
"name": "network"
},
"init": {
"type": "MemberExpression",
"start": 9487,
"end": 9505,
"loc": {
"start": {
"line": 233,
"column": 36
},
"end": {
"line": 233,
"column": 54
}
},
"object": {
"type": "Identifier",
"start": 9487,
"end": 9491,
"loc": {
"start": {
"line": 233,
"column": 36
},
"end": {
"line": 233,
"column": 40
},
"identifierName": "slot"
},
"name": "slot"
},
"property": {
"type": "Identifier",
"start": 9492,
"end": 9505,
"loc": {
"start": {
"line": 233,
"column": 41
},
"end": {
"line": 233,
"column": 54
},
"identifierName": "linkedNetwork"
},
"name": "linkedNetwork"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 9528,
"end": 9566,
"loc": {
"start": {
"line": 234,
"column": 20
},
"end": {
"line": 234,
"column": 58
}
},
"expression": {
"type": "AssignmentExpression",
"start": 9528,
"end": 9565,
"loc": {
"start": {
"line": 234,
"column": 20
},
"end": {
"line": 234,
"column": 57
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 9528,
"end": 9556,
"loc": {
"start": {
"line": 234,
"column": 20
},
"end": {
"line": 234,
"column": 48
}
},
"object": {
"type": "MemberExpression",
"start": 9528,
"end": 9546,
"loc": {
"start": {
"line": 234,
"column": 20
},
"end": {
"line": 234,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 9528,
"end": 9538,
"loc": {
"start": {
"line": 234,
"column": 20
},
"end": {
"line": 234,
"column": 30
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "Identifier",
"start": 9539,
"end": 9546,
"loc": {
"start": {
"line": 234,
"column": 31
},
"end": {
"line": 234,
"column": 38
},
"identifierName": "context"
},
"name": "context"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 9547,
"end": 9556,
"loc": {
"start": {
"line": 234,
"column": 39
},
"end": {
"line": 234,
"column": 48
},
"identifierName": "fillStyle"
},
"name": "fillStyle"
},
"computed": false
},
"right": {
"type": "StringLiteral",
"start": 9559,
"end": 9565,
"loc": {
"start": {
"line": 234,
"column": 51
},
"end": {
"line": 234,
"column": 57
}
},
"extra": {
"rawValue": "blue",
"raw": "\"blue\""
},
"value": "blue"
}
}
},
{
"type": "ExpressionStatement",
"start": 9588,
"end": 9627,
"loc": {
"start": {
"line": 235,
"column": 20
},
"end": {
"line": 235,
"column": 59
}
},
"expression": {
"type": "AssignmentExpression",
"start": 9588,
"end": 9626,
"loc": {
"start": {
"line": 235,
"column": 20
},
"end": {
"line": 235,
"column": 58
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 9588,
"end": 9611,
"loc": {
"start": {
"line": 235,
"column": 20
},
"end": {
"line": 235,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 9588,
"end": 9606,
"loc": {
"start": {
"line": 235,
"column": 20
},
"end": {
"line": 235,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 9588,
"end": 9598,
"loc": {
"start": {
"line": 235,
"column": 20
},
"end": {
"line": 235,
"column": 30
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "Identifier",
"start": 9599,
"end": 9606,
"loc": {
"start": {
"line": 235,
"column": 31
},
"end": {
"line": 235,
"column": 38
},
"identifierName": "context"
},
"name": "context"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 9607,
"end": 9611,
"loc": {
"start": {
"line": 235,
"column": 39
},
"end": {
"line": 235,
"column": 43
},
"identifierName": "font"
},
"name": "font"
},
"computed": false
},
"right": {
"type": "StringLiteral",
"start": 9614,
"end": 9626,
"loc": {
"start": {
"line": 235,
"column": 46
},
"end": {
"line": 235,
"column": 58
}
},
"extra": {
"rawValue": "5px Tahoma",
"raw": "\"5px Tahoma\""
},
"value": "5px Tahoma"
}
}
},
{
"type": "ExpressionStatement",
"start": 9649,
"end": 9689,
"loc": {
"start": {
"line": 236,
"column": 20
},
"end": {
"line": 236,
"column": 60
}
},
"expression": {
"type": "AssignmentExpression",
"start": 9649,
"end": 9688,
"loc": {
"start": {
"line": 236,
"column": 20
},
"end": {
"line": 236,
"column": 59
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 9649,
"end": 9677,
"loc": {
"start": {
"line": 236,
"column": 20
},
"end": {
"line": 236,
"column": 48
}
},
"object": {
"type": "MemberExpression",
"start": 9649,
"end": 9667,
"loc": {
"start": {
"line": 236,
"column": 20
},
"end": {
"line": 236,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 9649,
"end": 9659,
"loc": {
"start": {
"line": 236,
"column": 20
},
"end": {
"line": 236,
"column": 30
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "Identifier",
"start": 9660,
"end": 9667,
"loc": {
"start": {
"line": 236,
"column": 31
},
"end": {
"line": 236,
"column": 38
},
"identifierName": "context"
},
"name": "context"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 9668,
"end": 9677,
"loc": {
"start": {
"line": 236,
"column": 39
},
"end": {
"line": 236,
"column": 48
},
"identifierName": "textAlign"
},
"name": "textAlign"
},
"computed": false
},
"right": {
"type": "StringLiteral",
"start": 9680,
"end": 9688,
"loc": {
"start": {
"line": 236,
"column": 51
},
"end": {
"line": 236,
"column": 59
}
},
"extra": {
"rawValue": "center",
"raw": "\"center\""
},
"value": "center"
}
}
},
{
"type": "ExpressionStatement",
"start": 9711,
"end": 9976,
"loc": {
"start": {
"line": 237,
"column": 20
},
"end": {
"line": 241,
"column": 22
}
},
"expression": {
"type": "CallExpression",
"start": 9711,
"end": 9975,
"loc": {
"start": {
"line": 237,
"column": 20
},
"end": {
"line": 241,
"column": 21
}
},
"callee": {
"type": "MemberExpression",
"start": 9711,
"end": 9738,
"loc": {
"start": {
"line": 237,
"column": 20
},
"end": {
"line": 237,
"column": 47
}
},
"object": {
"type": "MemberExpression",
"start": 9711,
"end": 9729,
"loc": {
"start": {
"line": 237,
"column": 20
},
"end": {
"line": 237,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 9711,
"end": 9721,
"loc": {
"start": {
"line": 237,
"column": 20
},
"end": {
"line": 237,
"column": 30
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "Identifier",
"start": 9722,
"end": 9729,
"loc": {
"start": {
"line": 237,
"column": 31
},
"end": {
"line": 237,
"column": 38
},
"identifierName": "context"
},
"name": "context"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 9730,
"end": 9738,
"loc": {
"start": {
"line": 237,
"column": 39
},
"end": {
"line": 237,
"column": 47
},
"identifierName": "fillText"
},
"name": "fillText"
},
"computed": false
},
"arguments": [
{
"type": "ConditionalExpression",
"start": 9765,
"end": 9800,
"loc": {
"start": {
"line": 238,
"column": 24
},
"end": {
"line": 238,
"column": 59
}
},
"test": {
"type": "Identifier",
"start": 9765,
"end": 9772,
"loc": {
"start": {
"line": 238,
"column": 24
},
"end": {
"line": 238,
"column": 31
},
"identifierName": "network"
},
"name": "network"
},
"consequent": {
"type": "BinaryExpression",
"start": 9775,
"end": 9792,
"loc": {
"start": {
"line": 238,
"column": 34
},
"end": {
"line": 238,
"column": 51
}
},
"left": {
"type": "StringLiteral",
"start": 9775,
"end": 9778,
"loc": {
"start": {
"line": 238,
"column": 34
},
"end": {
"line": 238,
"column": 37
}
},
"extra": {
"rawValue": "S",
"raw": "\"S\""
},
"value": "S"
},
"operator": "+",
"right": {
"type": "MemberExpression",
"start": 9781,
"end": 9792,
"loc": {
"start": {
"line": 238,
"column": 40
},
"end": {
"line": 238,
"column": 51
}
},
"object": {
"type": "Identifier",
"start": 9781,
"end": 9788,
"loc": {
"start": {
"line": 238,
"column": 40
},
"end": {
"line": 238,
"column": 47
},
"identifierName": "network"
},
"name": "network"
},
"property": {
"type": "Identifier",
"start": 9789,
"end": 9792,
"loc": {
"start": {
"line": 238,
"column": 48
},
"end": {
"line": 238,
"column": 51
},
"identifierName": "uid"
},
"name": "uid"
},
"computed": false
}
},
"alternate": {
"type": "StringLiteral",
"start": 9795,
"end": 9800,
"loc": {
"start": {
"line": 238,
"column": 54
},
"end": {
"line": 238,
"column": 59
}
},
"extra": {
"rawValue": "???",
"raw": "\"???\""
},
"value": "???"
}
},
{
"type": "BinaryExpression",
"start": 9827,
"end": 9876,
"loc": {
"start": {
"line": 239,
"column": 24
},
"end": {
"line": 239,
"column": 73
}
},
"left": {
"type": "BinaryExpression",
"start": 9827,
"end": 9865,
"loc": {
"start": {
"line": 239,
"column": 24
},
"end": {
"line": 239,
"column": 62
}
},
"left": {
"type": "BinaryExpression",
"start": 9828,
"end": 9840,
"loc": {
"start": {
"line": 239,
"column": 25
},
"end": {
"line": 239,
"column": 37
}
},
"left": {
"type": "MemberExpression",
"start": 9828,
"end": 9834,
"loc": {
"start": {
"line": 239,
"column": 25
},
"end": {
"line": 239,
"column": 31
}
},
"object": {
"type": "Identifier",
"start": 9828,
"end": 9832,
"loc": {
"start": {
"line": 239,
"column": 25
},
"end": {
"line": 239,
"column": 29
},
"identifierName": "tile"
},
"name": "tile"
},
"property": {
"type": "Identifier",
"start": 9833,
"end": 9834,
"loc": {
"start": {
"line": 239,
"column": 30
},
"end": {
"line": 239,
"column": 31
},
"identifierName": "x"
},
"name": "x"
},
"computed": false
},
"operator": "+",
"right": {
"type": "NumericLiteral",
"start": 9837,
"end": 9840,
"loc": {
"start": {
"line": 239,
"column": 34
},
"end": {
"line": 239,
"column": 37
}
},
"extra": {
"rawValue": 0.5,
"raw": "0.5"
},
"value": 0.5
},
"extra": {
"parenthesized": true,
"parenStart": 9827
}
},
"operator": "*",
"right": {
"type": "MemberExpression",
"start": 9844,
"end": 9865,
"loc": {
"start": {
"line": 239,
"column": 41
},
"end": {
"line": 239,
"column": 62
}
},
"object": {
"type": "Identifier",
"start": 9844,
"end": 9856,
"loc": {
"start": {
"line": 239,
"column": 41
},
"end": {
"line": 239,
"column": 53
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
},
"property": {
"type": "Identifier",
"start": 9857,
"end": 9865,
"loc": {
"start": {
"line": 239,
"column": 54
},
"end": {
"line": 239,
"column": 62
},
"identifierName": "tileSize"
},
"name": "tileSize"
},
"computed": false
}
},
"operator": "+",
"right": {
"type": "MemberExpression",
"start": 9868,
"end": 9876,
"loc": {
"start": {
"line": 239,
"column": 65
},
"end": {
"line": 239,
"column": 73
}
},
"object": {
"type": "Identifier",
"start": 9868,
"end": 9874,
"loc": {
"start": {
"line": 239,
"column": 65
},
"end": {
"line": 239,
"column": 71
},
"identifierName": "offset"
},
"name": "offset"
},
"property": {
"type": "Identifier",
"start": 9875,
"end": 9876,
"loc": {
"start": {
"line": 239,
"column": 72
},
"end": {
"line": 239,
"column": 73
},
"identifierName": "x"
},
"name": "x"
},
"computed": false
}
},
{
"type": "BinaryExpression",
"start": 9903,
"end": 9952,
"loc": {
"start": {
"line": 240,
"column": 24
},
"end": {
"line": 240,
"column": 73
}
},
"left": {
"type": "BinaryExpression",
"start": 9903,
"end": 9941,
"loc": {
"start": {
"line": 240,
"column": 24
},
"end": {
"line": 240,
"column": 62
}
},
"left": {
"type": "BinaryExpression",
"start": 9904,
"end": 9916,
"loc": {
"start": {
"line": 240,
"column": 25
},
"end": {
"line": 240,
"column": 37
}
},
"left": {
"type": "MemberExpression",
"start": 9904,
"end": 9910,
"loc": {
"start": {
"line": 240,
"column": 25
},
"end": {
"line": 240,
"column": 31
}
},
"object": {
"type": "Identifier",
"start": 9904,
"end": 9908,
"loc": {
"start": {
"line": 240,
"column": 25
},
"end": {
"line": 240,
"column": 29
},
"identifierName": "tile"
},
"name": "tile"
},
"property": {
"type": "Identifier",
"start": 9909,
"end": 9910,
"loc": {
"start": {
"line": 240,
"column": 30
},
"end": {
"line": 240,
"column": 31
},
"identifierName": "y"
},
"name": "y"
},
"computed": false
},
"operator": "+",
"right": {
"type": "NumericLiteral",
"start": 9913,
"end": 9916,
"loc": {
"start": {
"line": 240,
"column": 34
},
"end": {
"line": 240,
"column": 37
}
},
"extra": {
"rawValue": 0.5,
"raw": "0.5"
},
"value": 0.5
},
"extra": {
"parenthesized": true,
"parenStart": 9903
}
},
"operator": "*",
"right": {
"type": "MemberExpression",
"start": 9920,
"end": 9941,
"loc": {
"start": {
"line": 240,
"column": 41
},
"end": {
"line": 240,
"column": 62
}
},
"object": {
"type": "Identifier",
"start": 9920,
"end": 9932,
"loc": {
"start": {
"line": 240,
"column": 41
},
"end": {
"line": 240,
"column": 53
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
},
"property": {
"type": "Identifier",
"start": 9933,
"end": 9941,
"loc": {
"start": {
"line": 240,
"column": 54
},
"end": {
"line": 240,
"column": 62
},
"identifierName": "tileSize"
},
"name": "tileSize"
},
"computed": false
}
},
"operator": "+",
"right": {
"type": "MemberExpression",
"start": 9944,
"end": 9952,
"loc": {
"start": {
"line": 240,
"column": 65
},
"end": {
"line": 240,
"column": 73
}
},
"object": {
"type": "Identifier",
"start": 9944,
"end": 9950,
"loc": {
"start": {
"line": 240,
"column": 65
},
"end": {
"line": 240,
"column": 71
},
"identifierName": "offset"
},
"name": "offset"
},
"property": {
"type": "Identifier",
"start": 9951,
"end": 9952,
"loc": {
"start": {
"line": 240,
"column": 72
},
"end": {
"line": 240,
"column": 73
},
"identifierName": "y"
},
"name": "y"
},
"computed": false
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 9998,
"end": 10036,
"loc": {
"start": {
"line": 242,
"column": 20
},
"end": {
"line": 242,
"column": 58
}
},
"expression": {
"type": "AssignmentExpression",
"start": 9998,
"end": 10035,
"loc": {
"start": {
"line": 242,
"column": 20
},
"end": {
"line": 242,
"column": 57
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 9998,
"end": 10026,
"loc": {
"start": {
"line": 242,
"column": 20
},
"end": {
"line": 242,
"column": 48
}
},
"object": {
"type": "MemberExpression",
"start": 9998,
"end": 10016,
"loc": {
"start": {
"line": 242,
"column": 20
},
"end": {
"line": 242,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 9998,
"end": 10008,
"loc": {
"start": {
"line": 242,
"column": 20
},
"end": {
"line": 242,
"column": 30
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "Identifier",
"start": 10009,
"end": 10016,
"loc": {
"start": {
"line": 242,
"column": 31
},
"end": {
"line": 242,
"column": 38
},
"identifierName": "context"
},
"name": "context"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 10017,
"end": 10026,
"loc": {
"start": {
"line": 242,
"column": 39
},
"end": {
"line": 242,
"column": 48
},
"identifierName": "textAlign"
},
"name": "textAlign"
},
"computed": false
},
"right": {
"type": "StringLiteral",
"start": 10029,
"end": 10035,
"loc": {
"start": {
"line": 242,
"column": 51
},
"end": {
"line": 242,
"column": 57
}
},
"extra": {
"rawValue": "left",
"raw": "\"left\""
},
"value": "left"
}
}
}
],
"directives": []
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Debug view",
"start": 9275,
"end": 9288,
"loc": {
"start": {
"line": 230,
"column": 16
},
"end": {
"line": 230,
"column": 29
}
}
}
]
}
],
"directives": []
}
}
],
"directives": []
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Draws a given entity\r\n * @param {DrawParameters} parameters\r\n * @param {MapChunkView} chunk\r\n ",
"start": 6804,
"end": 6924,
"loc": {
"start": {
"line": 166,
"column": 4
},
"end": {
"line": 170,
"column": 7
}
}
}
]
}
]
},
"leadingComments": [],
"trailingComments": []
}
}
],
"directives": []
},
"comments": [
{
"type": "CommentBlock",
"value": "* @type {Object<ItemType, number>} ",
"start": 641,
"end": 680,
"loc": {
"start": {
"line": 13,
"column": 0
},
"end": {
"line": 13,
"column": 39
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Performs pre-placement checks\r\n * @param {Entity} entity\r\n * @param {Vector} offset\r\n ",
"start": 1392,
"end": 1504,
"loc": {
"start": {
"line": 37,
"column": 4
},
"end": {
"line": 41,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " Compute area of the building",
"start": 1555,
"end": 1586,
"loc": {
"start": {
"line": 43,
"column": 8
},
"end": {
"line": 43,
"column": 39
}
}
},
{
"type": "CommentLine",
"value": " If this entity is placed on the wires layer, make sure we don't",
"start": 1776,
"end": 1842,
"loc": {
"start": {
"line": 50,
"column": 8
},
"end": {
"line": 50,
"column": 74
}
}
},
{
"type": "CommentLine",
"value": " place it above a pin",
"start": 1852,
"end": 1875,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 51,
"column": 31
}
}
},
{
"type": "CommentLine",
"value": " Find which entities are in same tiles of both layers",
"start": 2066,
"end": 2121,
"loc": {
"start": {
"line": 55,
"column": 20
},
"end": {
"line": 55,
"column": 75
}
}
},
{
"type": "CommentLine",
"value": " Check if entity has a wired component",
"start": 2359,
"end": 2399,
"loc": {
"start": {
"line": 60,
"column": 24
},
"end": {
"line": 60,
"column": 64
}
}
},
{
"type": "CommentLine",
"value": " Don't mind here, even if there would be a collision we",
"start": 2879,
"end": 2936,
"loc": {
"start": {
"line": 69,
"column": 28
},
"end": {
"line": 69,
"column": 85
}
}
},
{
"type": "CommentLine",
"value": " could replace it",
"start": 2966,
"end": 2985,
"loc": {
"start": {
"line": 70,
"column": 28
},
"end": {
"line": 70,
"column": 47
}
}
},
{
"type": "CommentLine",
"value": " Go over all pins and check if they are blocking",
"start": 3079,
"end": 3129,
"loc": {
"start": {
"line": 74,
"column": 24
},
"end": {
"line": 74,
"column": 74
}
}
},
{
"type": "CommentLine",
"value": " Occupied by a pin",
"start": 3389,
"end": 3409,
"loc": {
"start": {
"line": 78,
"column": 28
},
"end": {
"line": 78,
"column": 48
}
}
},
{
"type": "CommentLine",
"value": " Check for collisions on the wires layer",
"start": 3668,
"end": 3710,
"loc": {
"start": {
"line": 88,
"column": 8
},
"end": {
"line": 88,
"column": 50
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Checks if the pins of the given entity collide on the wires layer\r\n * @param {Entity} entity\r\n * @param {Vector=} offset Optional, move the entity by the given offset first\r\n * @returns {boolean} True if the pins collide\r\n ",
"start": 3834,
"end": 4087,
"loc": {
"start": {
"line": 94,
"column": 4
},
"end": {
"line": 99,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " Go over all slots",
"start": 4264,
"end": 4284,
"loc": {
"start": {
"line": 106,
"column": 8
},
"end": {
"line": 106,
"column": 28
}
}
},
{
"type": "CommentLine",
"value": " Figure out which tile this slot is on",
"start": 4436,
"end": 4476,
"loc": {
"start": {
"line": 110,
"column": 12
},
"end": {
"line": 110,
"column": 52
}
}
},
{
"type": "CommentLine",
"value": " Check if there is any entity on that tile (Wired pins are always on the wires layer)",
"start": 4708,
"end": 4795,
"loc": {
"start": {
"line": 117,
"column": 12
},
"end": {
"line": 117,
"column": 99
}
}
},
{
"type": "CommentLine",
"value": " If there's an entity, and it can't get removed -> That's a collision",
"start": 4914,
"end": 4985,
"loc": {
"start": {
"line": 120,
"column": 12
},
"end": {
"line": 120,
"column": 83
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Called to free space for the given entity\r\n * @param {Entity} entity\r\n ",
"start": 5455,
"end": 5548,
"loc": {
"start": {
"line": 134,
"column": 4
},
"end": {
"line": 137,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " Entity has no pins",
"start": 5684,
"end": 5705,
"loc": {
"start": {
"line": 141,
"column": 12
},
"end": {
"line": 141,
"column": 33
}
}
},
{
"type": "CommentLine",
"value": " Remove any stuff which collides with the pins",
"start": 5749,
"end": 5797,
"loc": {
"start": {
"line": 145,
"column": 8
},
"end": {
"line": 145,
"column": 56
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Draws a given entity\r\n * @param {DrawParameters} parameters\r\n * @param {MapChunkView} chunk\r\n ",
"start": 6804,
"end": 6924,
"loc": {
"start": {
"line": 166,
"column": 4
},
"end": {
"line": 170,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " Doesn't belong to this chunk",
"start": 7708,
"end": 7739,
"loc": {
"start": {
"line": 190,
"column": 20
},
"end": {
"line": 190,
"column": 51
}
}
},
{
"type": "CommentLine",
"value": " Culling",
"start": 7876,
"end": 7886,
"loc": {
"start": {
"line": 195,
"column": 16
},
"end": {
"line": 195,
"column": 26
}
}
},
{
"type": "CommentLine",
"value": " Draw contained item to visualize whats emitted",
"start": 8758,
"end": 8807,
"loc": {
"start": {
"line": 217,
"column": 16
},
"end": {
"line": 217,
"column": 65
}
}
},
{
"type": "CommentLine",
"value": " Debug view",
"start": 9275,
"end": 9288,
"loc": {
"start": {
"line": 230,
"column": 16
},
"end": {
"line": 230,
"column": 29
}
}
}
],
"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": "globalConfig",
"start": 9,
"end": 21,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 21
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 22,
"end": 23,
"loc": {
"start": {
"line": 1,
"column": 22
},
"end": {
"line": 1,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 24,
"end": 28,
"loc": {
"start": {
"line": 1,
"column": 24
},
"end": {
"line": 1,
"column": 28
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../core/config",
"start": 29,
"end": 48,
"loc": {
"start": {
"line": 1,
"column": 29
},
"end": {
"line": 1,
"column": 48
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 48,
"end": 49,
"loc": {
"start": {
"line": 1,
"column": 48
},
"end": {
"line": 1,
"column": 49
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 51,
"end": 57,
"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": 58,
"end": 59,
"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": "DrawParameters",
"start": 60,
"end": 74,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 75,
"end": 76,
"loc": {
"start": {
"line": 2,
"column": 24
},
"end": {
"line": 2,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 77,
"end": 81,
"loc": {
"start": {
"line": 2,
"column": 26
},
"end": {
"line": 2,
"column": 30
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../core/draw_parameters",
"start": 82,
"end": 110,
"loc": {
"start": {
"line": 2,
"column": 31
},
"end": {
"line": 2,
"column": 59
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 110,
"end": 111,
"loc": {
"start": {
"line": 2,
"column": 59
},
"end": {
"line": 2,
"column": 60
}
}
},
{
"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": 113,
"end": 119,
"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": 120,
"end": 121,
"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": "drawRotatedSprite",
"start": 122,
"end": 139,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 26
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 140,
"end": 141,
"loc": {
"start": {
"line": 3,
"column": 27
},
"end": {
"line": 3,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 142,
"end": 146,
"loc": {
"start": {
"line": 3,
"column": 29
},
"end": {
"line": 3,
"column": 33
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../core/draw_utils",
"start": 147,
"end": 170,
"loc": {
"start": {
"line": 3,
"column": 34
},
"end": {
"line": 3,
"column": 57
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 170,
"end": 171,
"loc": {
"start": {
"line": 3,
"column": 57
},
"end": {
"line": 3,
"column": 58
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 173,
"end": 179,
"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": 180,
"end": 181,
"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": "Loader",
"start": 182,
"end": 188,
"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": 189,
"end": 190,
"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": 191,
"end": 195,
"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": "../../core/loader",
"start": 196,
"end": 215,
"loc": {
"start": {
"line": 4,
"column": 23
},
"end": {
"line": 4,
"column": 42
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 215,
"end": 216,
"loc": {
"start": {
"line": 4,
"column": 42
},
"end": {
"line": 4,
"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": 218,
"end": 224,
"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": 225,
"end": 226,
"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": "STOP_PROPAGATION",
"start": 227,
"end": 243,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 25
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 244,
"end": 245,
"loc": {
"start": {
"line": 5,
"column": 26
},
"end": {
"line": 5,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 246,
"end": 250,
"loc": {
"start": {
"line": 5,
"column": 28
},
"end": {
"line": 5,
"column": 32
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../core/signal",
"start": 251,
"end": 270,
"loc": {
"start": {
"line": 5,
"column": 33
},
"end": {
"line": 5,
"column": 52
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 270,
"end": 271,
"loc": {
"start": {
"line": 5,
"column": 52
},
"end": {
"line": 5,
"column": 53
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 273,
"end": 279,
"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": 280,
"end": 281,
"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": "enumDirectionToAngle",
"start": 282,
"end": 302,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 29
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 302,
"end": 303,
"loc": {
"start": {
"line": 6,
"column": 29
},
"end": {
"line": 6,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Vector",
"start": 304,
"end": 310,
"loc": {
"start": {
"line": 6,
"column": 31
},
"end": {
"line": 6,
"column": 37
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 311,
"end": 312,
"loc": {
"start": {
"line": 6,
"column": 38
},
"end": {
"line": 6,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 313,
"end": 317,
"loc": {
"start": {
"line": 6,
"column": 40
},
"end": {
"line": 6,
"column": 44
}
}
},
{
"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": 318,
"end": 337,
"loc": {
"start": {
"line": 6,
"column": 45
},
"end": {
"line": 6,
"column": 64
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 337,
"end": 338,
"loc": {
"start": {
"line": 6,
"column": 64
},
"end": {
"line": 6,
"column": 65
}
}
},
{
"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": 340,
"end": 346,
"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": 347,
"end": 348,
"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": "enumPinSlotType",
"start": 349,
"end": 364,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 24
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 364,
"end": 365,
"loc": {
"start": {
"line": 7,
"column": 24
},
"end": {
"line": 7,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "WiredPinsComponent",
"start": 366,
"end": 384,
"loc": {
"start": {
"line": 7,
"column": 26
},
"end": {
"line": 7,
"column": 44
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 385,
"end": 386,
"loc": {
"start": {
"line": 7,
"column": 45
},
"end": {
"line": 7,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 387,
"end": 391,
"loc": {
"start": {
"line": 7,
"column": 47
},
"end": {
"line": 7,
"column": 51
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../components/wired_pins",
"start": 392,
"end": 418,
"loc": {
"start": {
"line": 7,
"column": 52
},
"end": {
"line": 7,
"column": 78
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 418,
"end": 419,
"loc": {
"start": {
"line": 7,
"column": 78
},
"end": {
"line": 7,
"column": 79
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 421,
"end": 427,
"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": 428,
"end": 429,
"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": "Entity",
"start": 430,
"end": 436,
"loc": {
"start": {
"line": 8,
"column": 9
},
"end": {
"line": 8,
"column": 15
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 437,
"end": 438,
"loc": {
"start": {
"line": 8,
"column": 16
},
"end": {
"line": 8,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 439,
"end": 443,
"loc": {
"start": {
"line": 8,
"column": 18
},
"end": {
"line": 8,
"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": 444,
"end": 455,
"loc": {
"start": {
"line": 8,
"column": 23
},
"end": {
"line": 8,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 455,
"end": 456,
"loc": {
"start": {
"line": 8,
"column": 34
},
"end": {
"line": 8,
"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": 458,
"end": 464,
"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": 465,
"end": 466,
"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": "GameSystemWithFilter",
"start": 467,
"end": 487,
"loc": {
"start": {
"line": 9,
"column": 9
},
"end": {
"line": 9,
"column": 29
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 488,
"end": 489,
"loc": {
"start": {
"line": 9,
"column": 30
},
"end": {
"line": 9,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 490,
"end": 494,
"loc": {
"start": {
"line": 9,
"column": 32
},
"end": {
"line": 9,
"column": 36
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../game_system_with_filter",
"start": 495,
"end": 523,
"loc": {
"start": {
"line": 9,
"column": 37
},
"end": {
"line": 9,
"column": 65
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 523,
"end": 524,
"loc": {
"start": {
"line": 9,
"column": 65
},
"end": {
"line": 9,
"column": 66
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 526,
"end": 532,
"loc": {
"start": {
"line": 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": 533,
"end": 534,
"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": "MapChunkView",
"start": 535,
"end": 547,
"loc": {
"start": {
"line": 10,
"column": 9
},
"end": {
"line": 10,
"column": 21
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 548,
"end": 549,
"loc": {
"start": {
"line": 10,
"column": 22
},
"end": {
"line": 10,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 550,
"end": 554,
"loc": {
"start": {
"line": 10,
"column": 24
},
"end": {
"line": 10,
"column": 28
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../map_chunk_view",
"start": 555,
"end": 574,
"loc": {
"start": {
"line": 10,
"column": 29
},
"end": {
"line": 10,
"column": 48
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 574,
"end": 575,
"loc": {
"start": {
"line": 10,
"column": 48
},
"end": {
"line": 10,
"column": 49
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 577,
"end": 583,
"loc": {
"start": {
"line": 11,
"column": 0
},
"end": {
"line": 11,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 584,
"end": 585,
"loc": {
"start": {
"line": 11,
"column": 7
},
"end": {
"line": 11,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getBuildingDataFromCode",
"start": 586,
"end": 609,
"loc": {
"start": {
"line": 11,
"column": 9
},
"end": {
"line": 11,
"column": 32
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 610,
"end": 611,
"loc": {
"start": {
"line": 11,
"column": 33
},
"end": {
"line": 11,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 612,
"end": 616,
"loc": {
"start": {
"line": 11,
"column": 35
},
"end": {
"line": 11,
"column": 39
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../building_codes",
"start": 617,
"end": 636,
"loc": {
"start": {
"line": 11,
"column": 40
},
"end": {
"line": 11,
"column": 59
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 636,
"end": 637,
"loc": {
"start": {
"line": 11,
"column": 59
},
"end": {
"line": 11,
"column": 60
}
}
},
{
"type": "CommentBlock",
"value": "* @type {Object<ItemType, number>} ",
"start": 641,
"end": 680,
"loc": {
"start": {
"line": 13,
"column": 0
},
"end": {
"line": 13,
"column": 39
}
}
},
{
"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": 682,
"end": 687,
"loc": {
"start": {
"line": 14,
"column": 0
},
"end": {
"line": 14,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumTypeToSize",
"start": 688,
"end": 702,
"loc": {
"start": {
"line": 14,
"column": 6
},
"end": {
"line": 14,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 703,
"end": 704,
"loc": {
"start": {
"line": 14,
"column": 21
},
"end": {
"line": 14,
"column": 22
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 705,
"end": 706,
"loc": {
"start": {
"line": 14,
"column": 23
},
"end": {
"line": 14,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "boolean",
"start": 712,
"end": 719,
"loc": {
"start": {
"line": 15,
"column": 4
},
"end": {
"line": 15,
"column": 11
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 719,
"end": 720,
"loc": {
"start": {
"line": 15,
"column": 11
},
"end": {
"line": 15,
"column": 12
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 9,
"start": 721,
"end": 722,
"loc": {
"start": {
"line": 15,
"column": 13
},
"end": {
"line": 15,
"column": 14
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 722,
"end": 723,
"loc": {
"start": {
"line": 15,
"column": 14
},
"end": {
"line": 15,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "shape",
"start": 729,
"end": 734,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 16,
"column": 9
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 734,
"end": 735,
"loc": {
"start": {
"line": 16,
"column": 9
},
"end": {
"line": 16,
"column": 10
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 9,
"start": 736,
"end": 737,
"loc": {
"start": {
"line": 16,
"column": 11
},
"end": {
"line": 16,
"column": 12
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 737,
"end": 738,
"loc": {
"start": {
"line": 16,
"column": 12
},
"end": {
"line": 16,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "color",
"start": 744,
"end": 749,
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 17,
"column": 9
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 749,
"end": 750,
"loc": {
"start": {
"line": 17,
"column": 9
},
"end": {
"line": 17,
"column": 10
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 14,
"start": 751,
"end": 753,
"loc": {
"start": {
"line": 17,
"column": 11
},
"end": {
"line": 17,
"column": 13
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 753,
"end": 754,
"loc": {
"start": {
"line": 17,
"column": 13
},
"end": {
"line": 17,
"column": 14
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 756,
"end": 757,
"loc": {
"start": {
"line": 18,
"column": 0
},
"end": {
"line": 18,
"column": 1
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 757,
"end": 758,
"loc": {
"start": {
"line": 18,
"column": 1
},
"end": {
"line": 18,
"column": 2
}
}
},
{
"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": 762,
"end": 768,
"loc": {
"start": {
"line": 20,
"column": 0
},
"end": {
"line": 20,
"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": 769,
"end": 774,
"loc": {
"start": {
"line": 20,
"column": 7
},
"end": {
"line": 20,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "WiredPinsSystem",
"start": 775,
"end": 790,
"loc": {
"start": {
"line": 20,
"column": 13
},
"end": {
"line": 20,
"column": 28
}
}
},
{
"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": 791,
"end": 798,
"loc": {
"start": {
"line": 20,
"column": 29
},
"end": {
"line": 20,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "GameSystemWithFilter",
"start": 799,
"end": 819,
"loc": {
"start": {
"line": 20,
"column": 37
},
"end": {
"line": 20,
"column": 57
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 820,
"end": 821,
"loc": {
"start": {
"line": 20,
"column": 58
},
"end": {
"line": 20,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 827,
"end": 838,
"loc": {
"start": {
"line": 21,
"column": 4
},
"end": {
"line": 21,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 838,
"end": 839,
"loc": {
"start": {
"line": 21,
"column": 15
},
"end": {
"line": 21,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 839,
"end": 843,
"loc": {
"start": {
"line": 21,
"column": 16
},
"end": {
"line": 21,
"column": 20
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 843,
"end": 844,
"loc": {
"start": {
"line": 21,
"column": 20
},
"end": {
"line": 21,
"column": 21
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 845,
"end": 846,
"loc": {
"start": {
"line": 21,
"column": 22
},
"end": {
"line": 21,
"column": 23
}
}
},
{
"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": 856,
"end": 861,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 22,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 861,
"end": 862,
"loc": {
"start": {
"line": 22,
"column": 13
},
"end": {
"line": 22,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 862,
"end": 866,
"loc": {
"start": {
"line": 22,
"column": 14
},
"end": {
"line": 22,
"column": 18
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 866,
"end": 867,
"loc": {
"start": {
"line": 22,
"column": 18
},
"end": {
"line": 22,
"column": 19
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 868,
"end": 869,
"loc": {
"start": {
"line": 22,
"column": 20
},
"end": {
"line": 22,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "WiredPinsComponent",
"start": 869,
"end": 887,
"loc": {
"start": {
"line": 22,
"column": 21
},
"end": {
"line": 22,
"column": 39
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 887,
"end": 888,
"loc": {
"start": {
"line": 22,
"column": 39
},
"end": {
"line": 22,
"column": 40
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 888,
"end": 889,
"loc": {
"start": {
"line": 22,
"column": 40
},
"end": {
"line": 22,
"column": 41
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 889,
"end": 890,
"loc": {
"start": {
"line": 22,
"column": 41
},
"end": {
"line": 22,
"column": 42
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 902,
"end": 906,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 24,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 906,
"end": 907,
"loc": {
"start": {
"line": 24,
"column": 12
},
"end": {
"line": 24,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pinSprites",
"start": 907,
"end": 917,
"loc": {
"start": {
"line": 24,
"column": 13
},
"end": {
"line": 24,
"column": 23
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 918,
"end": 919,
"loc": {
"start": {
"line": 24,
"column": 24
},
"end": {
"line": 24,
"column": 25
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 920,
"end": 921,
"loc": {
"start": {
"line": 24,
"column": 26
},
"end": {
"line": 24,
"column": 27
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 935,
"end": 936,
"loc": {
"start": {
"line": 25,
"column": 12
},
"end": {
"line": 25,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumPinSlotType",
"start": 936,
"end": 951,
"loc": {
"start": {
"line": 25,
"column": 13
},
"end": {
"line": 25,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 951,
"end": 952,
"loc": {
"start": {
"line": 25,
"column": 28
},
"end": {
"line": 25,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logicalEjector",
"start": 952,
"end": 966,
"loc": {
"start": {
"line": 25,
"column": 29
},
"end": {
"line": 25,
"column": 43
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 966,
"end": 967,
"loc": {
"start": {
"line": 25,
"column": 43
},
"end": {
"line": 25,
"column": 44
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 967,
"end": 968,
"loc": {
"start": {
"line": 25,
"column": 44
},
"end": {
"line": 25,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Loader",
"start": 969,
"end": 975,
"loc": {
"start": {
"line": 25,
"column": 46
},
"end": {
"line": 25,
"column": 52
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 975,
"end": 976,
"loc": {
"start": {
"line": 25,
"column": 52
},
"end": {
"line": 25,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getSprite",
"start": 976,
"end": 985,
"loc": {
"start": {
"line": 25,
"column": 53
},
"end": {
"line": 25,
"column": 62
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 985,
"end": 986,
"loc": {
"start": {
"line": 25,
"column": 62
},
"end": {
"line": 25,
"column": 63
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "sprites/wires/logical_ejector.png",
"start": 986,
"end": 1021,
"loc": {
"start": {
"line": 25,
"column": 63
},
"end": {
"line": 25,
"column": 98
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1021,
"end": 1022,
"loc": {
"start": {
"line": 25,
"column": 98
},
"end": {
"line": 25,
"column": 99
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1022,
"end": 1023,
"loc": {
"start": {
"line": 25,
"column": 99
},
"end": {
"line": 25,
"column": 100
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1037,
"end": 1038,
"loc": {
"start": {
"line": 26,
"column": 12
},
"end": {
"line": 26,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumPinSlotType",
"start": 1038,
"end": 1053,
"loc": {
"start": {
"line": 26,
"column": 13
},
"end": {
"line": 26,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1053,
"end": 1054,
"loc": {
"start": {
"line": 26,
"column": 28
},
"end": {
"line": 26,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logicalAcceptor",
"start": 1054,
"end": 1069,
"loc": {
"start": {
"line": 26,
"column": 29
},
"end": {
"line": 26,
"column": 44
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1069,
"end": 1070,
"loc": {
"start": {
"line": 26,
"column": 44
},
"end": {
"line": 26,
"column": 45
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1070,
"end": 1071,
"loc": {
"start": {
"line": 26,
"column": 45
},
"end": {
"line": 26,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Loader",
"start": 1072,
"end": 1078,
"loc": {
"start": {
"line": 26,
"column": 47
},
"end": {
"line": 26,
"column": 53
}
}
},
{
"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": 26,
"column": 53
},
"end": {
"line": 26,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getSprite",
"start": 1079,
"end": 1088,
"loc": {
"start": {
"line": 26,
"column": 54
},
"end": {
"line": 26,
"column": 63
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1088,
"end": 1089,
"loc": {
"start": {
"line": 26,
"column": 63
},
"end": {
"line": 26,
"column": 64
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "sprites/wires/logical_acceptor.png",
"start": 1089,
"end": 1125,
"loc": {
"start": {
"line": 26,
"column": 64
},
"end": {
"line": 26,
"column": 100
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1125,
"end": 1126,
"loc": {
"start": {
"line": 26,
"column": 100
},
"end": {
"line": 26,
"column": 101
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1126,
"end": 1127,
"loc": {
"start": {
"line": 26,
"column": 101
},
"end": {
"line": 26,
"column": 102
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1137,
"end": 1138,
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 27,
"column": 9
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1138,
"end": 1139,
"loc": {
"start": {
"line": 27,
"column": 9
},
"end": {
"line": 27,
"column": 10
}
}
},
{
"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": 1151,
"end": 1155,
"loc": {
"start": {
"line": 29,
"column": 8
},
"end": {
"line": 29,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1155,
"end": 1156,
"loc": {
"start": {
"line": 29,
"column": 12
},
"end": {
"line": 29,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 1156,
"end": 1160,
"loc": {
"start": {
"line": 29,
"column": 13
},
"end": {
"line": 29,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1160,
"end": 1161,
"loc": {
"start": {
"line": 29,
"column": 17
},
"end": {
"line": 29,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "signals",
"start": 1161,
"end": 1168,
"loc": {
"start": {
"line": 29,
"column": 18
},
"end": {
"line": 29,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1168,
"end": 1169,
"loc": {
"start": {
"line": 29,
"column": 25
},
"end": {
"line": 29,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "prePlacementCheck",
"start": 1169,
"end": 1186,
"loc": {
"start": {
"line": 29,
"column": 26
},
"end": {
"line": 29,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1186,
"end": 1187,
"loc": {
"start": {
"line": 29,
"column": 43
},
"end": {
"line": 29,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 1187,
"end": 1190,
"loc": {
"start": {
"line": 29,
"column": 44
},
"end": {
"line": 29,
"column": 47
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1190,
"end": 1191,
"loc": {
"start": {
"line": 29,
"column": 47
},
"end": {
"line": 29,
"column": 48
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1191,
"end": 1195,
"loc": {
"start": {
"line": 29,
"column": 48
},
"end": {
"line": 29,
"column": 52
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1195,
"end": 1196,
"loc": {
"start": {
"line": 29,
"column": 52
},
"end": {
"line": 29,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "prePlacementCheck",
"start": 1196,
"end": 1213,
"loc": {
"start": {
"line": 29,
"column": 53
},
"end": {
"line": 29,
"column": 70
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1213,
"end": 1214,
"loc": {
"start": {
"line": 29,
"column": 70
},
"end": {
"line": 29,
"column": 71
}
}
},
{
"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": 1215,
"end": 1219,
"loc": {
"start": {
"line": 29,
"column": 72
},
"end": {
"line": 29,
"column": 76
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1219,
"end": 1220,
"loc": {
"start": {
"line": 29,
"column": 76
},
"end": {
"line": 29,
"column": 77
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1220,
"end": 1221,
"loc": {
"start": {
"line": 29,
"column": 77
},
"end": {
"line": 29,
"column": 78
}
}
},
{
"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": 1231,
"end": 1235,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1235,
"end": 1236,
"loc": {
"start": {
"line": 30,
"column": 12
},
"end": {
"line": 30,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 1236,
"end": 1240,
"loc": {
"start": {
"line": 30,
"column": 13
},
"end": {
"line": 30,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1240,
"end": 1241,
"loc": {
"start": {
"line": 30,
"column": 17
},
"end": {
"line": 30,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "signals",
"start": 1241,
"end": 1248,
"loc": {
"start": {
"line": 30,
"column": 18
},
"end": {
"line": 30,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1248,
"end": 1249,
"loc": {
"start": {
"line": 30,
"column": 25
},
"end": {
"line": 30,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "freeEntityAreaBeforeBuild",
"start": 1249,
"end": 1274,
"loc": {
"start": {
"line": 30,
"column": 26
},
"end": {
"line": 30,
"column": 51
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1274,
"end": 1275,
"loc": {
"start": {
"line": 30,
"column": 51
},
"end": {
"line": 30,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 1275,
"end": 1278,
"loc": {
"start": {
"line": 30,
"column": 52
},
"end": {
"line": 30,
"column": 55
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1278,
"end": 1279,
"loc": {
"start": {
"line": 30,
"column": 55
},
"end": {
"line": 30,
"column": 56
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1279,
"end": 1283,
"loc": {
"start": {
"line": 30,
"column": 56
},
"end": {
"line": 30,
"column": 60
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1283,
"end": 1284,
"loc": {
"start": {
"line": 30,
"column": 60
},
"end": {
"line": 30,
"column": 61
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "freeEntityAreaBeforeBuild",
"start": 1284,
"end": 1309,
"loc": {
"start": {
"line": 30,
"column": 61
},
"end": {
"line": 30,
"column": 86
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1309,
"end": 1310,
"loc": {
"start": {
"line": 30,
"column": 86
},
"end": {
"line": 30,
"column": 87
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1311,
"end": 1315,
"loc": {
"start": {
"line": 30,
"column": 88
},
"end": {
"line": 30,
"column": 92
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1315,
"end": 1316,
"loc": {
"start": {
"line": 30,
"column": 92
},
"end": {
"line": 30,
"column": 93
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1316,
"end": 1317,
"loc": {
"start": {
"line": 30,
"column": 93
},
"end": {
"line": 30,
"column": 94
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1323,
"end": 1324,
"loc": {
"start": {
"line": 31,
"column": 4
},
"end": {
"line": 31,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "static",
"start": 1332,
"end": 1338,
"loc": {
"start": {
"line": 33,
"column": 4
},
"end": {
"line": 33,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getId",
"start": 1339,
"end": 1344,
"loc": {
"start": {
"line": 33,
"column": 11
},
"end": {
"line": 33,
"column": 16
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1344,
"end": 1345,
"loc": {
"start": {
"line": 33,
"column": 16
},
"end": {
"line": 33,
"column": 17
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1345,
"end": 1346,
"loc": {
"start": {
"line": 33,
"column": 17
},
"end": {
"line": 33,
"column": 18
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1347,
"end": 1348,
"loc": {
"start": {
"line": 33,
"column": 19
},
"end": {
"line": 33,
"column": 20
}
}
},
{
"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": 1358,
"end": 1364,
"loc": {
"start": {
"line": 34,
"column": 8
},
"end": {
"line": 34,
"column": 14
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "wiredPins",
"start": 1365,
"end": 1376,
"loc": {
"start": {
"line": 34,
"column": 15
},
"end": {
"line": 34,
"column": 26
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1376,
"end": 1377,
"loc": {
"start": {
"line": 34,
"column": 26
},
"end": {
"line": 34,
"column": 27
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1383,
"end": 1384,
"loc": {
"start": {
"line": 35,
"column": 4
},
"end": {
"line": 35,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Performs pre-placement checks\r\n * @param {Entity} entity\r\n * @param {Vector} offset\r\n ",
"start": 1392,
"end": 1504,
"loc": {
"start": {
"line": 37,
"column": 4
},
"end": {
"line": 41,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "prePlacementCheck",
"start": 1510,
"end": 1527,
"loc": {
"start": {
"line": 42,
"column": 4
},
"end": {
"line": 42,
"column": 21
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1527,
"end": 1528,
"loc": {
"start": {
"line": 42,
"column": 21
},
"end": {
"line": 42,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 1528,
"end": 1534,
"loc": {
"start": {
"line": 42,
"column": 22
},
"end": {
"line": 42,
"column": 28
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1534,
"end": 1535,
"loc": {
"start": {
"line": 42,
"column": 28
},
"end": {
"line": 42,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "offset",
"start": 1536,
"end": 1542,
"loc": {
"start": {
"line": 42,
"column": 30
},
"end": {
"line": 42,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1542,
"end": 1543,
"loc": {
"start": {
"line": 42,
"column": 36
},
"end": {
"line": 42,
"column": 37
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1544,
"end": 1545,
"loc": {
"start": {
"line": 42,
"column": 38
},
"end": {
"line": 42,
"column": 39
}
}
},
{
"type": "CommentLine",
"value": " Compute area of the building",
"start": 1555,
"end": 1586,
"loc": {
"start": {
"line": 43,
"column": 8
},
"end": {
"line": 43,
"column": 39
}
}
},
{
"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": 1596,
"end": 1601,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 44,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rect",
"start": 1602,
"end": 1606,
"loc": {
"start": {
"line": 44,
"column": 14
},
"end": {
"line": 44,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1607,
"end": 1608,
"loc": {
"start": {
"line": 44,
"column": 19
},
"end": {
"line": 44,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 1609,
"end": 1615,
"loc": {
"start": {
"line": 44,
"column": 21
},
"end": {
"line": 44,
"column": 27
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1615,
"end": 1616,
"loc": {
"start": {
"line": 44,
"column": 27
},
"end": {
"line": 44,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 1616,
"end": 1626,
"loc": {
"start": {
"line": 44,
"column": 28
},
"end": {
"line": 44,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1626,
"end": 1627,
"loc": {
"start": {
"line": 44,
"column": 38
},
"end": {
"line": 44,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "StaticMapEntity",
"start": 1627,
"end": 1642,
"loc": {
"start": {
"line": 44,
"column": 39
},
"end": {
"line": 44,
"column": 54
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1642,
"end": 1643,
"loc": {
"start": {
"line": 44,
"column": 54
},
"end": {
"line": 44,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getTileSpaceBounds",
"start": 1643,
"end": 1661,
"loc": {
"start": {
"line": 44,
"column": 55
},
"end": {
"line": 44,
"column": 73
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1661,
"end": 1662,
"loc": {
"start": {
"line": 44,
"column": 73
},
"end": {
"line": 44,
"column": 74
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1662,
"end": 1663,
"loc": {
"start": {
"line": 44,
"column": 74
},
"end": {
"line": 44,
"column": 75
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1663,
"end": 1664,
"loc": {
"start": {
"line": 44,
"column": 75
},
"end": {
"line": 44,
"column": 76
}
}
},
{
"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": 1674,
"end": 1676,
"loc": {
"start": {
"line": 45,
"column": 8
},
"end": {
"line": 45,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1677,
"end": 1678,
"loc": {
"start": {
"line": 45,
"column": 11
},
"end": {
"line": 45,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "offset",
"start": 1678,
"end": 1684,
"loc": {
"start": {
"line": 45,
"column": 12
},
"end": {
"line": 45,
"column": 18
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1684,
"end": 1685,
"loc": {
"start": {
"line": 45,
"column": 18
},
"end": {
"line": 45,
"column": 19
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1686,
"end": 1687,
"loc": {
"start": {
"line": 45,
"column": 20
},
"end": {
"line": 45,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rect",
"start": 1701,
"end": 1705,
"loc": {
"start": {
"line": 46,
"column": 12
},
"end": {
"line": 46,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1705,
"end": 1706,
"loc": {
"start": {
"line": 46,
"column": 16
},
"end": {
"line": 46,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 1706,
"end": 1707,
"loc": {
"start": {
"line": 46,
"column": 17
},
"end": {
"line": 46,
"column": 18
}
}
},
{
"type": {
"label": "_=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "+=",
"start": 1708,
"end": 1710,
"loc": {
"start": {
"line": 46,
"column": 19
},
"end": {
"line": 46,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "offset",
"start": 1711,
"end": 1717,
"loc": {
"start": {
"line": 46,
"column": 22
},
"end": {
"line": 46,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1717,
"end": 1718,
"loc": {
"start": {
"line": 46,
"column": 28
},
"end": {
"line": 46,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 1718,
"end": 1719,
"loc": {
"start": {
"line": 46,
"column": 29
},
"end": {
"line": 46,
"column": 30
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1719,
"end": 1720,
"loc": {
"start": {
"line": 46,
"column": 30
},
"end": {
"line": 46,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rect",
"start": 1734,
"end": 1738,
"loc": {
"start": {
"line": 47,
"column": 12
},
"end": {
"line": 47,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1738,
"end": 1739,
"loc": {
"start": {
"line": 47,
"column": 16
},
"end": {
"line": 47,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 1739,
"end": 1740,
"loc": {
"start": {
"line": 47,
"column": 17
},
"end": {
"line": 47,
"column": 18
}
}
},
{
"type": {
"label": "_=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "+=",
"start": 1741,
"end": 1743,
"loc": {
"start": {
"line": 47,
"column": 19
},
"end": {
"line": 47,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "offset",
"start": 1744,
"end": 1750,
"loc": {
"start": {
"line": 47,
"column": 22
},
"end": {
"line": 47,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1750,
"end": 1751,
"loc": {
"start": {
"line": 47,
"column": 28
},
"end": {
"line": 47,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 1751,
"end": 1752,
"loc": {
"start": {
"line": 47,
"column": 29
},
"end": {
"line": 47,
"column": 30
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1752,
"end": 1753,
"loc": {
"start": {
"line": 47,
"column": 30
},
"end": {
"line": 47,
"column": 31
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1763,
"end": 1764,
"loc": {
"start": {
"line": 48,
"column": 8
},
"end": {
"line": 48,
"column": 9
}
}
},
{
"type": "CommentLine",
"value": " If this entity is placed on the wires layer, make sure we don't",
"start": 1776,
"end": 1842,
"loc": {
"start": {
"line": 50,
"column": 8
},
"end": {
"line": 50,
"column": 74
}
}
},
{
"type": "CommentLine",
"value": " place it above a pin",
"start": 1852,
"end": 1875,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 51,
"column": 31
}
}
},
{
"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": 1885,
"end": 1887,
"loc": {
"start": {
"line": 52,
"column": 8
},
"end": {
"line": 52,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1888,
"end": 1889,
"loc": {
"start": {
"line": 52,
"column": 11
},
"end": {
"line": 52,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 1889,
"end": 1895,
"loc": {
"start": {
"line": 52,
"column": 12
},
"end": {
"line": 52,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1895,
"end": 1896,
"loc": {
"start": {
"line": 52,
"column": 18
},
"end": {
"line": 52,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "layer",
"start": 1896,
"end": 1901,
"loc": {
"start": {
"line": 52,
"column": 19
},
"end": {
"line": 52,
"column": 24
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 1902,
"end": 1905,
"loc": {
"start": {
"line": 52,
"column": 25
},
"end": {
"line": 52,
"column": 28
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "wires",
"start": 1906,
"end": 1913,
"loc": {
"start": {
"line": 52,
"column": 29
},
"end": {
"line": 52,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1913,
"end": 1914,
"loc": {
"start": {
"line": 52,
"column": 36
},
"end": {
"line": 52,
"column": 37
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1915,
"end": 1916,
"loc": {
"start": {
"line": 52,
"column": 38
},
"end": {
"line": 52,
"column": 39
}
}
},
{
"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": 1930,
"end": 1933,
"loc": {
"start": {
"line": 53,
"column": 12
},
"end": {
"line": 53,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1934,
"end": 1935,
"loc": {
"start": {
"line": 53,
"column": 16
},
"end": {
"line": 53,
"column": 17
}
}
},
{
"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": 1935,
"end": 1938,
"loc": {
"start": {
"line": 53,
"column": 17
},
"end": {
"line": 53,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 1939,
"end": 1940,
"loc": {
"start": {
"line": 53,
"column": 21
},
"end": {
"line": 53,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1941,
"end": 1942,
"loc": {
"start": {
"line": 53,
"column": 23
},
"end": {
"line": 53,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rect",
"start": 1943,
"end": 1947,
"loc": {
"start": {
"line": 53,
"column": 25
},
"end": {
"line": 53,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1947,
"end": 1948,
"loc": {
"start": {
"line": 53,
"column": 29
},
"end": {
"line": 53,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 1948,
"end": 1949,
"loc": {
"start": {
"line": 53,
"column": 30
},
"end": {
"line": 53,
"column": 31
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1949,
"end": 1950,
"loc": {
"start": {
"line": 53,
"column": 31
},
"end": {
"line": 53,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 1951,
"end": 1952,
"loc": {
"start": {
"line": 53,
"column": 33
},
"end": {
"line": 53,
"column": 34
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 1953,
"end": 1954,
"loc": {
"start": {
"line": 53,
"column": 35
},
"end": {
"line": 53,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rect",
"start": 1955,
"end": 1959,
"loc": {
"start": {
"line": 53,
"column": 37
},
"end": {
"line": 53,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1959,
"end": 1960,
"loc": {
"start": {
"line": 53,
"column": 41
},
"end": {
"line": 53,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 1960,
"end": 1961,
"loc": {
"start": {
"line": 53,
"column": 42
},
"end": {
"line": 53,
"column": 43
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 1962,
"end": 1963,
"loc": {
"start": {
"line": 53,
"column": 44
},
"end": {
"line": 53,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rect",
"start": 1964,
"end": 1968,
"loc": {
"start": {
"line": 53,
"column": 46
},
"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": 1968,
"end": 1969,
"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": "w",
"start": 1969,
"end": 1970,
"loc": {
"start": {
"line": 53,
"column": 51
},
"end": {
"line": 53,
"column": 52
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1970,
"end": 1971,
"loc": {
"start": {
"line": 53,
"column": 52
},
"end": {
"line": 53,
"column": 53
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 1972,
"end": 1974,
"loc": {
"start": {
"line": 53,
"column": 54
},
"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": "x",
"start": 1974,
"end": 1975,
"loc": {
"start": {
"line": 53,
"column": 56
},
"end": {
"line": 53,
"column": 57
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1975,
"end": 1976,
"loc": {
"start": {
"line": 53,
"column": 57
},
"end": {
"line": 53,
"column": 58
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1977,
"end": 1978,
"loc": {
"start": {
"line": 53,
"column": 59
},
"end": {
"line": 53,
"column": 60
}
}
},
{
"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": 1996,
"end": 1999,
"loc": {
"start": {
"line": 54,
"column": 16
},
"end": {
"line": 54,
"column": 19
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2000,
"end": 2001,
"loc": {
"start": {
"line": 54,
"column": 20
},
"end": {
"line": 54,
"column": 21
}
}
},
{
"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": 2001,
"end": 2004,
"loc": {
"start": {
"line": 54,
"column": 21
},
"end": {
"line": 54,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 2005,
"end": 2006,
"loc": {
"start": {
"line": 54,
"column": 25
},
"end": {
"line": 54,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2007,
"end": 2008,
"loc": {
"start": {
"line": 54,
"column": 27
},
"end": {
"line": 54,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rect",
"start": 2009,
"end": 2013,
"loc": {
"start": {
"line": 54,
"column": 29
},
"end": {
"line": 54,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2013,
"end": 2014,
"loc": {
"start": {
"line": 54,
"column": 33
},
"end": {
"line": 54,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 2014,
"end": 2015,
"loc": {
"start": {
"line": 54,
"column": 34
},
"end": {
"line": 54,
"column": 35
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2015,
"end": 2016,
"loc": {
"start": {
"line": 54,
"column": 35
},
"end": {
"line": 54,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 2017,
"end": 2018,
"loc": {
"start": {
"line": 54,
"column": 37
},
"end": {
"line": 54,
"column": 38
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 2019,
"end": 2020,
"loc": {
"start": {
"line": 54,
"column": 39
},
"end": {
"line": 54,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rect",
"start": 2021,
"end": 2025,
"loc": {
"start": {
"line": 54,
"column": 41
},
"end": {
"line": 54,
"column": 45
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2025,
"end": 2026,
"loc": {
"start": {
"line": 54,
"column": 45
},
"end": {
"line": 54,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 2026,
"end": 2027,
"loc": {
"start": {
"line": 54,
"column": 46
},
"end": {
"line": 54,
"column": 47
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 2028,
"end": 2029,
"loc": {
"start": {
"line": 54,
"column": 48
},
"end": {
"line": 54,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rect",
"start": 2030,
"end": 2034,
"loc": {
"start": {
"line": 54,
"column": 50
},
"end": {
"line": 54,
"column": 54
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2034,
"end": 2035,
"loc": {
"start": {
"line": 54,
"column": 54
},
"end": {
"line": 54,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 2035,
"end": 2036,
"loc": {
"start": {
"line": 54,
"column": 55
},
"end": {
"line": 54,
"column": 56
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2036,
"end": 2037,
"loc": {
"start": {
"line": 54,
"column": 56
},
"end": {
"line": 54,
"column": 57
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 2038,
"end": 2040,
"loc": {
"start": {
"line": 54,
"column": 58
},
"end": {
"line": 54,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 2040,
"end": 2041,
"loc": {
"start": {
"line": 54,
"column": 60
},
"end": {
"line": 54,
"column": 61
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2041,
"end": 2042,
"loc": {
"start": {
"line": 54,
"column": 61
},
"end": {
"line": 54,
"column": 62
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2043,
"end": 2044,
"loc": {
"start": {
"line": 54,
"column": 63
},
"end": {
"line": 54,
"column": 64
}
}
},
{
"type": "CommentLine",
"value": " Find which entities are in same tiles of both layers",
"start": 2066,
"end": 2121,
"loc": {
"start": {
"line": 55,
"column": 20
},
"end": {
"line": 55,
"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": 2143,
"end": 2148,
"loc": {
"start": {
"line": 56,
"column": 20
},
"end": {
"line": 56,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entities",
"start": 2149,
"end": 2157,
"loc": {
"start": {
"line": 56,
"column": 26
},
"end": {
"line": 56,
"column": 34
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2158,
"end": 2159,
"loc": {
"start": {
"line": 56,
"column": 35
},
"end": {
"line": 56,
"column": 36
}
}
},
{
"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": 2160,
"end": 2164,
"loc": {
"start": {
"line": 56,
"column": 37
},
"end": {
"line": 56,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2164,
"end": 2165,
"loc": {
"start": {
"line": 56,
"column": 41
},
"end": {
"line": 56,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 2165,
"end": 2169,
"loc": {
"start": {
"line": 56,
"column": 42
},
"end": {
"line": 56,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2169,
"end": 2170,
"loc": {
"start": {
"line": 56,
"column": 46
},
"end": {
"line": 56,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "map",
"start": 2170,
"end": 2173,
"loc": {
"start": {
"line": 56,
"column": 47
},
"end": {
"line": 56,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2173,
"end": 2174,
"loc": {
"start": {
"line": 56,
"column": 50
},
"end": {
"line": 56,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getLayersContentsMultipleXY",
"start": 2174,
"end": 2201,
"loc": {
"start": {
"line": 56,
"column": 51
},
"end": {
"line": 56,
"column": 78
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2201,
"end": 2202,
"loc": {
"start": {
"line": 56,
"column": 78
},
"end": {
"line": 56,
"column": 79
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 2202,
"end": 2203,
"loc": {
"start": {
"line": 56,
"column": 79
},
"end": {
"line": 56,
"column": 80
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2203,
"end": 2204,
"loc": {
"start": {
"line": 56,
"column": 80
},
"end": {
"line": 56,
"column": 81
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 2205,
"end": 2206,
"loc": {
"start": {
"line": 56,
"column": 82
},
"end": {
"line": 56,
"column": 83
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2206,
"end": 2207,
"loc": {
"start": {
"line": 56,
"column": 83
},
"end": {
"line": 56,
"column": 84
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2207,
"end": 2208,
"loc": {
"start": {
"line": 56,
"column": 84
},
"end": {
"line": 56,
"column": 85
}
}
},
{
"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": 2230,
"end": 2233,
"loc": {
"start": {
"line": 57,
"column": 20
},
"end": {
"line": 57,
"column": 23
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2234,
"end": 2235,
"loc": {
"start": {
"line": 57,
"column": 24
},
"end": {
"line": 57,
"column": 25
}
}
},
{
"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": 2235,
"end": 2238,
"loc": {
"start": {
"line": 57,
"column": 25
},
"end": {
"line": 57,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 2239,
"end": 2240,
"loc": {
"start": {
"line": 57,
"column": 29
},
"end": {
"line": 57,
"column": 30
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2241,
"end": 2242,
"loc": {
"start": {
"line": 57,
"column": 31
},
"end": {
"line": 57,
"column": 32
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 2243,
"end": 2244,
"loc": {
"start": {
"line": 57,
"column": 33
},
"end": {
"line": 57,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2244,
"end": 2245,
"loc": {
"start": {
"line": 57,
"column": 34
},
"end": {
"line": 57,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 2246,
"end": 2247,
"loc": {
"start": {
"line": 57,
"column": 36
},
"end": {
"line": 57,
"column": 37
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 2248,
"end": 2249,
"loc": {
"start": {
"line": 57,
"column": 38
},
"end": {
"line": 57,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entities",
"start": 2250,
"end": 2258,
"loc": {
"start": {
"line": 57,
"column": 40
},
"end": {
"line": 57,
"column": 48
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2258,
"end": 2259,
"loc": {
"start": {
"line": 57,
"column": 48
},
"end": {
"line": 57,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 2259,
"end": 2265,
"loc": {
"start": {
"line": 57,
"column": 49
},
"end": {
"line": 57,
"column": 55
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2265,
"end": 2266,
"loc": {
"start": {
"line": 57,
"column": 55
},
"end": {
"line": 57,
"column": 56
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 2267,
"end": 2269,
"loc": {
"start": {
"line": 57,
"column": 57
},
"end": {
"line": 57,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 2269,
"end": 2270,
"loc": {
"start": {
"line": 57,
"column": 59
},
"end": {
"line": 57,
"column": 60
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2270,
"end": 2271,
"loc": {
"start": {
"line": 57,
"column": 60
},
"end": {
"line": 57,
"column": 61
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2272,
"end": 2273,
"loc": {
"start": {
"line": 57,
"column": 62
},
"end": {
"line": 57,
"column": 63
}
}
},
{
"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": 2299,
"end": 2304,
"loc": {
"start": {
"line": 58,
"column": 24
},
"end": {
"line": 58,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "otherEntity",
"start": 2305,
"end": 2316,
"loc": {
"start": {
"line": 58,
"column": 30
},
"end": {
"line": 58,
"column": 41
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2317,
"end": 2318,
"loc": {
"start": {
"line": 58,
"column": 42
},
"end": {
"line": 58,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entities",
"start": 2319,
"end": 2327,
"loc": {
"start": {
"line": 58,
"column": 44
},
"end": {
"line": 58,
"column": 52
}
}
},
{
"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": 58,
"column": 52
},
"end": {
"line": 58,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 2328,
"end": 2329,
"loc": {
"start": {
"line": 58,
"column": 53
},
"end": {
"line": 58,
"column": 54
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2329,
"end": 2330,
"loc": {
"start": {
"line": 58,
"column": 54
},
"end": {
"line": 58,
"column": 55
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2330,
"end": 2331,
"loc": {
"start": {
"line": 58,
"column": 55
},
"end": {
"line": 58,
"column": 56
}
}
},
{
"type": "CommentLine",
"value": " Check if entity has a wired component",
"start": 2359,
"end": 2399,
"loc": {
"start": {
"line": 60,
"column": 24
},
"end": {
"line": 60,
"column": 64
}
}
},
{
"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": 2425,
"end": 2430,
"loc": {
"start": {
"line": 61,
"column": 24
},
"end": {
"line": 61,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pinComponent",
"start": 2431,
"end": 2443,
"loc": {
"start": {
"line": 61,
"column": 30
},
"end": {
"line": 61,
"column": 42
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2444,
"end": 2445,
"loc": {
"start": {
"line": 61,
"column": 43
},
"end": {
"line": 61,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "otherEntity",
"start": 2446,
"end": 2457,
"loc": {
"start": {
"line": 61,
"column": 45
},
"end": {
"line": 61,
"column": 56
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2457,
"end": 2458,
"loc": {
"start": {
"line": 61,
"column": 56
},
"end": {
"line": 61,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 2458,
"end": 2468,
"loc": {
"start": {
"line": 61,
"column": 57
},
"end": {
"line": 61,
"column": 67
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2468,
"end": 2469,
"loc": {
"start": {
"line": 61,
"column": 67
},
"end": {
"line": 61,
"column": 68
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "WiredPins",
"start": 2469,
"end": 2478,
"loc": {
"start": {
"line": 61,
"column": 68
},
"end": {
"line": 61,
"column": 77
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2478,
"end": 2479,
"loc": {
"start": {
"line": 61,
"column": 77
},
"end": {
"line": 61,
"column": 78
}
}
},
{
"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": 2505,
"end": 2510,
"loc": {
"start": {
"line": 62,
"column": 24
},
"end": {
"line": 62,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "staticComp",
"start": 2511,
"end": 2521,
"loc": {
"start": {
"line": 62,
"column": 30
},
"end": {
"line": 62,
"column": 40
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2522,
"end": 2523,
"loc": {
"start": {
"line": 62,
"column": 41
},
"end": {
"line": 62,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "otherEntity",
"start": 2524,
"end": 2535,
"loc": {
"start": {
"line": 62,
"column": 43
},
"end": {
"line": 62,
"column": 54
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2535,
"end": 2536,
"loc": {
"start": {
"line": 62,
"column": 54
},
"end": {
"line": 62,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 2536,
"end": 2546,
"loc": {
"start": {
"line": 62,
"column": 55
},
"end": {
"line": 62,
"column": 65
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2546,
"end": 2547,
"loc": {
"start": {
"line": 62,
"column": 65
},
"end": {
"line": 62,
"column": 66
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "StaticMapEntity",
"start": 2547,
"end": 2562,
"loc": {
"start": {
"line": 62,
"column": 66
},
"end": {
"line": 62,
"column": 81
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2562,
"end": 2563,
"loc": {
"start": {
"line": 62,
"column": 81
},
"end": {
"line": 62,
"column": 82
}
}
},
{
"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": 2589,
"end": 2594,
"loc": {
"start": {
"line": 63,
"column": 24
},
"end": {
"line": 63,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 2595,
"end": 2599,
"loc": {
"start": {
"line": 63,
"column": 30
},
"end": {
"line": 63,
"column": 34
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2600,
"end": 2601,
"loc": {
"start": {
"line": 63,
"column": 35
},
"end": {
"line": 63,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getBuildingDataFromCode",
"start": 2602,
"end": 2625,
"loc": {
"start": {
"line": 63,
"column": 37
},
"end": {
"line": 63,
"column": 60
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2625,
"end": 2626,
"loc": {
"start": {
"line": 63,
"column": 60
},
"end": {
"line": 63,
"column": 61
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "staticComp",
"start": 2626,
"end": 2636,
"loc": {
"start": {
"line": 63,
"column": 61
},
"end": {
"line": 63,
"column": 71
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2636,
"end": 2637,
"loc": {
"start": {
"line": 63,
"column": 71
},
"end": {
"line": 63,
"column": 72
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "code",
"start": 2637,
"end": 2641,
"loc": {
"start": {
"line": 63,
"column": 72
},
"end": {
"line": 63,
"column": 76
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2641,
"end": 2642,
"loc": {
"start": {
"line": 63,
"column": 76
},
"end": {
"line": 63,
"column": 77
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2642,
"end": 2643,
"loc": {
"start": {
"line": 63,
"column": 77
},
"end": {
"line": 63,
"column": 78
}
}
},
{
"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": 2669,
"end": 2671,
"loc": {
"start": {
"line": 64,
"column": 24
},
"end": {
"line": 64,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2672,
"end": 2673,
"loc": {
"start": {
"line": 64,
"column": 27
},
"end": {
"line": 64,
"column": 28
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 2673,
"end": 2674,
"loc": {
"start": {
"line": 64,
"column": 28
},
"end": {
"line": 64,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pinComponent",
"start": 2674,
"end": 2686,
"loc": {
"start": {
"line": 64,
"column": 29
},
"end": {
"line": 64,
"column": 41
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2686,
"end": 2687,
"loc": {
"start": {
"line": 64,
"column": 41
},
"end": {
"line": 64,
"column": 42
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2688,
"end": 2689,
"loc": {
"start": {
"line": 64,
"column": 43
},
"end": {
"line": 64,
"column": 44
}
}
},
{
"type": {
"label": "continue",
"keyword": "continue",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "continue",
"start": 2719,
"end": 2727,
"loc": {
"start": {
"line": 65,
"column": 28
},
"end": {
"line": 65,
"column": 36
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2727,
"end": 2728,
"loc": {
"start": {
"line": 65,
"column": 36
},
"end": {
"line": 65,
"column": 37
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2754,
"end": 2755,
"loc": {
"start": {
"line": 66,
"column": 24
},
"end": {
"line": 66,
"column": 25
}
}
},
{
"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": 2783,
"end": 2785,
"loc": {
"start": {
"line": 68,
"column": 24
},
"end": {
"line": 68,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2786,
"end": 2787,
"loc": {
"start": {
"line": 68,
"column": 27
},
"end": {
"line": 68,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "staticComp",
"start": 2787,
"end": 2797,
"loc": {
"start": {
"line": 68,
"column": 28
},
"end": {
"line": 68,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2797,
"end": 2798,
"loc": {
"start": {
"line": 68,
"column": 38
},
"end": {
"line": 68,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getMetaBuilding",
"start": 2798,
"end": 2813,
"loc": {
"start": {
"line": 68,
"column": 39
},
"end": {
"line": 68,
"column": 54
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2813,
"end": 2814,
"loc": {
"start": {
"line": 68,
"column": 54
},
"end": {
"line": 68,
"column": 55
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2814,
"end": 2815,
"loc": {
"start": {
"line": 68,
"column": 55
},
"end": {
"line": 68,
"column": 56
}
}
},
{
"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": 68,
"column": 56
},
"end": {
"line": 68,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getIsReplaceable",
"start": 2816,
"end": 2832,
"loc": {
"start": {
"line": 68,
"column": 57
},
"end": {
"line": 68,
"column": 73
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2832,
"end": 2833,
"loc": {
"start": {
"line": 68,
"column": 73
},
"end": {
"line": 68,
"column": 74
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 2833,
"end": 2837,
"loc": {
"start": {
"line": 68,
"column": 74
},
"end": {
"line": 68,
"column": 78
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2837,
"end": 2838,
"loc": {
"start": {
"line": 68,
"column": 78
},
"end": {
"line": 68,
"column": 79
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 2838,
"end": 2845,
"loc": {
"start": {
"line": 68,
"column": 79
},
"end": {
"line": 68,
"column": 86
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2845,
"end": 2846,
"loc": {
"start": {
"line": 68,
"column": 86
},
"end": {
"line": 68,
"column": 87
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2846,
"end": 2847,
"loc": {
"start": {
"line": 68,
"column": 87
},
"end": {
"line": 68,
"column": 88
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2848,
"end": 2849,
"loc": {
"start": {
"line": 68,
"column": 89
},
"end": {
"line": 68,
"column": 90
}
}
},
{
"type": "CommentLine",
"value": " Don't mind here, even if there would be a collision we",
"start": 2879,
"end": 2936,
"loc": {
"start": {
"line": 69,
"column": 28
},
"end": {
"line": 69,
"column": 85
}
}
},
{
"type": "CommentLine",
"value": " could replace it",
"start": 2966,
"end": 2985,
"loc": {
"start": {
"line": 70,
"column": 28
},
"end": {
"line": 70,
"column": 47
}
}
},
{
"type": {
"label": "continue",
"keyword": "continue",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "continue",
"start": 3015,
"end": 3023,
"loc": {
"start": {
"line": 71,
"column": 28
},
"end": {
"line": 71,
"column": 36
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3023,
"end": 3024,
"loc": {
"start": {
"line": 71,
"column": 36
},
"end": {
"line": 71,
"column": 37
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3050,
"end": 3051,
"loc": {
"start": {
"line": 72,
"column": 24
},
"end": {
"line": 72,
"column": 25
}
}
},
{
"type": "CommentLine",
"value": " Go over all pins and check if they are blocking",
"start": 3079,
"end": 3129,
"loc": {
"start": {
"line": 74,
"column": 24
},
"end": {
"line": 74,
"column": 74
}
}
},
{
"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": 3155,
"end": 3160,
"loc": {
"start": {
"line": 75,
"column": 24
},
"end": {
"line": 75,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pins",
"start": 3161,
"end": 3165,
"loc": {
"start": {
"line": 75,
"column": 30
},
"end": {
"line": 75,
"column": 34
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3166,
"end": 3167,
"loc": {
"start": {
"line": 75,
"column": 35
},
"end": {
"line": 75,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pinComponent",
"start": 3168,
"end": 3180,
"loc": {
"start": {
"line": 75,
"column": 37
},
"end": {
"line": 75,
"column": 49
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3180,
"end": 3181,
"loc": {
"start": {
"line": 75,
"column": 49
},
"end": {
"line": 75,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slots",
"start": 3181,
"end": 3186,
"loc": {
"start": {
"line": 75,
"column": 50
},
"end": {
"line": 75,
"column": 55
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3186,
"end": 3187,
"loc": {
"start": {
"line": 75,
"column": 55
},
"end": {
"line": 75,
"column": 56
}
}
},
{
"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": 3213,
"end": 3216,
"loc": {
"start": {
"line": 76,
"column": 24
},
"end": {
"line": 76,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3217,
"end": 3218,
"loc": {
"start": {
"line": 76,
"column": 28
},
"end": {
"line": 76,
"column": 29
}
}
},
{
"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": 3218,
"end": 3221,
"loc": {
"start": {
"line": 76,
"column": 29
},
"end": {
"line": 76,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pinSlot",
"start": 3222,
"end": 3229,
"loc": {
"start": {
"line": 76,
"column": 33
},
"end": {
"line": 76,
"column": 40
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3230,
"end": 3231,
"loc": {
"start": {
"line": 76,
"column": 41
},
"end": {
"line": 76,
"column": 42
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 3232,
"end": 3233,
"loc": {
"start": {
"line": 76,
"column": 43
},
"end": {
"line": 76,
"column": 44
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3233,
"end": 3234,
"loc": {
"start": {
"line": 76,
"column": 44
},
"end": {
"line": 76,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pinSlot",
"start": 3235,
"end": 3242,
"loc": {
"start": {
"line": 76,
"column": 46
},
"end": {
"line": 76,
"column": 53
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 3243,
"end": 3244,
"loc": {
"start": {
"line": 76,
"column": 54
},
"end": {
"line": 76,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pins",
"start": 3245,
"end": 3249,
"loc": {
"start": {
"line": 76,
"column": 56
},
"end": {
"line": 76,
"column": 60
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3249,
"end": 3250,
"loc": {
"start": {
"line": 76,
"column": 60
},
"end": {
"line": 76,
"column": 61
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 3250,
"end": 3256,
"loc": {
"start": {
"line": 76,
"column": 61
},
"end": {
"line": 76,
"column": 67
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3256,
"end": 3257,
"loc": {
"start": {
"line": 76,
"column": 67
},
"end": {
"line": 76,
"column": 68
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 3258,
"end": 3260,
"loc": {
"start": {
"line": 76,
"column": 69
},
"end": {
"line": 76,
"column": 71
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pinSlot",
"start": 3260,
"end": 3267,
"loc": {
"start": {
"line": 76,
"column": 71
},
"end": {
"line": 76,
"column": 78
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3267,
"end": 3268,
"loc": {
"start": {
"line": 76,
"column": 78
},
"end": {
"line": 76,
"column": 79
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3269,
"end": 3270,
"loc": {
"start": {
"line": 76,
"column": 80
},
"end": {
"line": 76,
"column": 81
}
}
},
{
"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": 3300,
"end": 3305,
"loc": {
"start": {
"line": 77,
"column": 28
},
"end": {
"line": 77,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pos",
"start": 3306,
"end": 3309,
"loc": {
"start": {
"line": 77,
"column": 34
},
"end": {
"line": 77,
"column": 37
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3310,
"end": 3311,
"loc": {
"start": {
"line": 77,
"column": 38
},
"end": {
"line": 77,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "staticComp",
"start": 3312,
"end": 3322,
"loc": {
"start": {
"line": 77,
"column": 40
},
"end": {
"line": 77,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3322,
"end": 3323,
"loc": {
"start": {
"line": 77,
"column": 50
},
"end": {
"line": 77,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "localTileToWorld",
"start": 3323,
"end": 3339,
"loc": {
"start": {
"line": 77,
"column": 51
},
"end": {
"line": 77,
"column": 67
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3339,
"end": 3340,
"loc": {
"start": {
"line": 77,
"column": 67
},
"end": {
"line": 77,
"column": 68
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pins",
"start": 3340,
"end": 3344,
"loc": {
"start": {
"line": 77,
"column": 68
},
"end": {
"line": 77,
"column": 72
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3344,
"end": 3345,
"loc": {
"start": {
"line": 77,
"column": 72
},
"end": {
"line": 77,
"column": 73
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pinSlot",
"start": 3345,
"end": 3352,
"loc": {
"start": {
"line": 77,
"column": 73
},
"end": {
"line": 77,
"column": 80
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3352,
"end": 3353,
"loc": {
"start": {
"line": 77,
"column": 80
},
"end": {
"line": 77,
"column": 81
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3353,
"end": 3354,
"loc": {
"start": {
"line": 77,
"column": 81
},
"end": {
"line": 77,
"column": 82
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pos",
"start": 3354,
"end": 3357,
"loc": {
"start": {
"line": 77,
"column": 82
},
"end": {
"line": 77,
"column": 85
}
}
},
{
"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": 77,
"column": 85
},
"end": {
"line": 77,
"column": 86
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3358,
"end": 3359,
"loc": {
"start": {
"line": 77,
"column": 86
},
"end": {
"line": 77,
"column": 87
}
}
},
{
"type": "CommentLine",
"value": " Occupied by a pin",
"start": 3389,
"end": 3409,
"loc": {
"start": {
"line": 78,
"column": 28
},
"end": {
"line": 78,
"column": 48
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 3439,
"end": 3441,
"loc": {
"start": {
"line": 79,
"column": 28
},
"end": {
"line": 79,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3442,
"end": 3443,
"loc": {
"start": {
"line": 79,
"column": 31
},
"end": {
"line": 79,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pos",
"start": 3443,
"end": 3446,
"loc": {
"start": {
"line": 79,
"column": 32
},
"end": {
"line": 79,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3446,
"end": 3447,
"loc": {
"start": {
"line": 79,
"column": 35
},
"end": {
"line": 79,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 3447,
"end": 3448,
"loc": {
"start": {
"line": 79,
"column": 36
},
"end": {
"line": 79,
"column": 37
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 3449,
"end": 3452,
"loc": {
"start": {
"line": 79,
"column": 38
},
"end": {
"line": 79,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 3453,
"end": 3454,
"loc": {
"start": {
"line": 79,
"column": 42
},
"end": {
"line": 79,
"column": 43
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 3455,
"end": 3457,
"loc": {
"start": {
"line": 79,
"column": 44
},
"end": {
"line": 79,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pos",
"start": 3458,
"end": 3461,
"loc": {
"start": {
"line": 79,
"column": 47
},
"end": {
"line": 79,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3461,
"end": 3462,
"loc": {
"start": {
"line": 79,
"column": 50
},
"end": {
"line": 79,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 3462,
"end": 3463,
"loc": {
"start": {
"line": 79,
"column": 51
},
"end": {
"line": 79,
"column": 52
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 3464,
"end": 3467,
"loc": {
"start": {
"line": 79,
"column": 53
},
"end": {
"line": 79,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 3468,
"end": 3469,
"loc": {
"start": {
"line": 79,
"column": 57
},
"end": {
"line": 79,
"column": 58
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3469,
"end": 3470,
"loc": {
"start": {
"line": 79,
"column": 58
},
"end": {
"line": 79,
"column": 59
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3471,
"end": 3472,
"loc": {
"start": {
"line": 79,
"column": 60
},
"end": {
"line": 79,
"column": 61
}
}
},
{
"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": 3506,
"end": 3512,
"loc": {
"start": {
"line": 80,
"column": 32
},
"end": {
"line": 80,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "STOP_PROPAGATION",
"start": 3513,
"end": 3529,
"loc": {
"start": {
"line": 80,
"column": 39
},
"end": {
"line": 80,
"column": 55
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3529,
"end": 3530,
"loc": {
"start": {
"line": 80,
"column": 55
},
"end": {
"line": 80,
"column": 56
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3560,
"end": 3561,
"loc": {
"start": {
"line": 81,
"column": 28
},
"end": {
"line": 81,
"column": 29
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3587,
"end": 3588,
"loc": {
"start": {
"line": 82,
"column": 24
},
"end": {
"line": 82,
"column": 25
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3610,
"end": 3611,
"loc": {
"start": {
"line": 83,
"column": 20
},
"end": {
"line": 83,
"column": 21
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3629,
"end": 3630,
"loc": {
"start": {
"line": 84,
"column": 16
},
"end": {
"line": 84,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3644,
"end": 3645,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3655,
"end": 3656,
"loc": {
"start": {
"line": 86,
"column": 8
},
"end": {
"line": 86,
"column": 9
}
}
},
{
"type": "CommentLine",
"value": " Check for collisions on the wires layer",
"start": 3668,
"end": 3710,
"loc": {
"start": {
"line": 88,
"column": 8
},
"end": {
"line": 88,
"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": 3720,
"end": 3722,
"loc": {
"start": {
"line": 89,
"column": 8
},
"end": {
"line": 89,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3723,
"end": 3724,
"loc": {
"start": {
"line": 89,
"column": 11
},
"end": {
"line": 89,
"column": 12
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 3724,
"end": 3728,
"loc": {
"start": {
"line": 89,
"column": 12
},
"end": {
"line": 89,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3728,
"end": 3729,
"loc": {
"start": {
"line": 89,
"column": 16
},
"end": {
"line": 89,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "checkEntityPinsCollide",
"start": 3729,
"end": 3751,
"loc": {
"start": {
"line": 89,
"column": 17
},
"end": {
"line": 89,
"column": 39
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3751,
"end": 3752,
"loc": {
"start": {
"line": 89,
"column": 39
},
"end": {
"line": 89,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 3752,
"end": 3758,
"loc": {
"start": {
"line": 89,
"column": 40
},
"end": {
"line": 89,
"column": 46
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3758,
"end": 3759,
"loc": {
"start": {
"line": 89,
"column": 46
},
"end": {
"line": 89,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "offset",
"start": 3760,
"end": 3766,
"loc": {
"start": {
"line": 89,
"column": 48
},
"end": {
"line": 89,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3766,
"end": 3767,
"loc": {
"start": {
"line": 89,
"column": 54
},
"end": {
"line": 89,
"column": 55
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3767,
"end": 3768,
"loc": {
"start": {
"line": 89,
"column": 55
},
"end": {
"line": 89,
"column": 56
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3769,
"end": 3770,
"loc": {
"start": {
"line": 89,
"column": 57
},
"end": {
"line": 89,
"column": 58
}
}
},
{
"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": 3784,
"end": 3790,
"loc": {
"start": {
"line": 90,
"column": 12
},
"end": {
"line": 90,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "STOP_PROPAGATION",
"start": 3791,
"end": 3807,
"loc": {
"start": {
"line": 90,
"column": 19
},
"end": {
"line": 90,
"column": 35
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3807,
"end": 3808,
"loc": {
"start": {
"line": 90,
"column": 35
},
"end": {
"line": 90,
"column": 36
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3818,
"end": 3819,
"loc": {
"start": {
"line": 91,
"column": 8
},
"end": {
"line": 91,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3825,
"end": 3826,
"loc": {
"start": {
"line": 92,
"column": 4
},
"end": {
"line": 92,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Checks if the pins of the given entity collide on the wires layer\r\n * @param {Entity} entity\r\n * @param {Vector=} offset Optional, move the entity by the given offset first\r\n * @returns {boolean} True if the pins collide\r\n ",
"start": 3834,
"end": 4087,
"loc": {
"start": {
"line": 94,
"column": 4
},
"end": {
"line": 99,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "checkEntityPinsCollide",
"start": 4093,
"end": 4115,
"loc": {
"start": {
"line": 100,
"column": 4
},
"end": {
"line": 100,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4115,
"end": 4116,
"loc": {
"start": {
"line": 100,
"column": 26
},
"end": {
"line": 100,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 4116,
"end": 4122,
"loc": {
"start": {
"line": 100,
"column": 27
},
"end": {
"line": 100,
"column": 33
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4122,
"end": 4123,
"loc": {
"start": {
"line": 100,
"column": 33
},
"end": {
"line": 100,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "offset",
"start": 4124,
"end": 4130,
"loc": {
"start": {
"line": 100,
"column": 35
},
"end": {
"line": 100,
"column": 41
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4130,
"end": 4131,
"loc": {
"start": {
"line": 100,
"column": 41
},
"end": {
"line": 100,
"column": 42
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4132,
"end": 4133,
"loc": {
"start": {
"line": 100,
"column": 43
},
"end": {
"line": 100,
"column": 44
}
}
},
{
"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": 4143,
"end": 4148,
"loc": {
"start": {
"line": 101,
"column": 8
},
"end": {
"line": 101,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pinsComp",
"start": 4149,
"end": 4157,
"loc": {
"start": {
"line": 101,
"column": 14
},
"end": {
"line": 101,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4158,
"end": 4159,
"loc": {
"start": {
"line": 101,
"column": 23
},
"end": {
"line": 101,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 4160,
"end": 4166,
"loc": {
"start": {
"line": 101,
"column": 25
},
"end": {
"line": 101,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4166,
"end": 4167,
"loc": {
"start": {
"line": 101,
"column": 31
},
"end": {
"line": 101,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 4167,
"end": 4177,
"loc": {
"start": {
"line": 101,
"column": 32
},
"end": {
"line": 101,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4177,
"end": 4178,
"loc": {
"start": {
"line": 101,
"column": 42
},
"end": {
"line": 101,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "WiredPins",
"start": 4178,
"end": 4187,
"loc": {
"start": {
"line": 101,
"column": 43
},
"end": {
"line": 101,
"column": 52
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4187,
"end": 4188,
"loc": {
"start": {
"line": 101,
"column": 52
},
"end": {
"line": 101,
"column": 53
}
}
},
{
"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": 4198,
"end": 4200,
"loc": {
"start": {
"line": 102,
"column": 8
},
"end": {
"line": 102,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4201,
"end": 4202,
"loc": {
"start": {
"line": 102,
"column": 11
},
"end": {
"line": 102,
"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": 4202,
"end": 4203,
"loc": {
"start": {
"line": 102,
"column": 12
},
"end": {
"line": 102,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pinsComp",
"start": 4203,
"end": 4211,
"loc": {
"start": {
"line": 102,
"column": 13
},
"end": {
"line": 102,
"column": 21
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4211,
"end": 4212,
"loc": {
"start": {
"line": 102,
"column": 21
},
"end": {
"line": 102,
"column": 22
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4213,
"end": 4214,
"loc": {
"start": {
"line": 102,
"column": 23
},
"end": {
"line": 102,
"column": 24
}
}
},
{
"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": 4228,
"end": 4234,
"loc": {
"start": {
"line": 103,
"column": 12
},
"end": {
"line": 103,
"column": 18
}
}
},
{
"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": 4235,
"end": 4240,
"loc": {
"start": {
"line": 103,
"column": 19
},
"end": {
"line": 103,
"column": 24
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4240,
"end": 4241,
"loc": {
"start": {
"line": 103,
"column": 24
},
"end": {
"line": 103,
"column": 25
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4251,
"end": 4252,
"loc": {
"start": {
"line": 104,
"column": 8
},
"end": {
"line": 104,
"column": 9
}
}
},
{
"type": "CommentLine",
"value": " Go over all slots",
"start": 4264,
"end": 4284,
"loc": {
"start": {
"line": 106,
"column": 8
},
"end": {
"line": 106,
"column": 28
}
}
},
{
"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": 4294,
"end": 4297,
"loc": {
"start": {
"line": 107,
"column": 8
},
"end": {
"line": 107,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4298,
"end": 4299,
"loc": {
"start": {
"line": 107,
"column": 12
},
"end": {
"line": 107,
"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": 4299,
"end": 4302,
"loc": {
"start": {
"line": 107,
"column": 13
},
"end": {
"line": 107,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slotIndex",
"start": 4303,
"end": 4312,
"loc": {
"start": {
"line": 107,
"column": 17
},
"end": {
"line": 107,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4313,
"end": 4314,
"loc": {
"start": {
"line": 107,
"column": 27
},
"end": {
"line": 107,
"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": 4315,
"end": 4316,
"loc": {
"start": {
"line": 107,
"column": 29
},
"end": {
"line": 107,
"column": 30
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4316,
"end": 4317,
"loc": {
"start": {
"line": 107,
"column": 30
},
"end": {
"line": 107,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slotIndex",
"start": 4318,
"end": 4327,
"loc": {
"start": {
"line": 107,
"column": 32
},
"end": {
"line": 107,
"column": 41
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 4328,
"end": 4329,
"loc": {
"start": {
"line": 107,
"column": 42
},
"end": {
"line": 107,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pinsComp",
"start": 4330,
"end": 4338,
"loc": {
"start": {
"line": 107,
"column": 44
},
"end": {
"line": 107,
"column": 52
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4338,
"end": 4339,
"loc": {
"start": {
"line": 107,
"column": 52
},
"end": {
"line": 107,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slots",
"start": 4339,
"end": 4344,
"loc": {
"start": {
"line": 107,
"column": 53
},
"end": {
"line": 107,
"column": 58
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4344,
"end": 4345,
"loc": {
"start": {
"line": 107,
"column": 58
},
"end": {
"line": 107,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 4345,
"end": 4351,
"loc": {
"start": {
"line": 107,
"column": 59
},
"end": {
"line": 107,
"column": 65
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4351,
"end": 4352,
"loc": {
"start": {
"line": 107,
"column": 65
},
"end": {
"line": 107,
"column": 66
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 4353,
"end": 4355,
"loc": {
"start": {
"line": 107,
"column": 67
},
"end": {
"line": 107,
"column": 69
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slotIndex",
"start": 4355,
"end": 4364,
"loc": {
"start": {
"line": 107,
"column": 69
},
"end": {
"line": 107,
"column": 78
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4364,
"end": 4365,
"loc": {
"start": {
"line": 107,
"column": 78
},
"end": {
"line": 107,
"column": 79
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4366,
"end": 4367,
"loc": {
"start": {
"line": 107,
"column": 80
},
"end": {
"line": 107,
"column": 81
}
}
},
{
"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": 4381,
"end": 4386,
"loc": {
"start": {
"line": 108,
"column": 12
},
"end": {
"line": 108,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slot",
"start": 4387,
"end": 4391,
"loc": {
"start": {
"line": 108,
"column": 18
},
"end": {
"line": 108,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4392,
"end": 4393,
"loc": {
"start": {
"line": 108,
"column": 23
},
"end": {
"line": 108,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pinsComp",
"start": 4394,
"end": 4402,
"loc": {
"start": {
"line": 108,
"column": 25
},
"end": {
"line": 108,
"column": 33
}
}
},
{
"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": 108,
"column": 33
},
"end": {
"line": 108,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slots",
"start": 4403,
"end": 4408,
"loc": {
"start": {
"line": 108,
"column": 34
},
"end": {
"line": 108,
"column": 39
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4408,
"end": 4409,
"loc": {
"start": {
"line": 108,
"column": 39
},
"end": {
"line": 108,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slotIndex",
"start": 4409,
"end": 4418,
"loc": {
"start": {
"line": 108,
"column": 40
},
"end": {
"line": 108,
"column": 49
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4418,
"end": 4419,
"loc": {
"start": {
"line": 108,
"column": 49
},
"end": {
"line": 108,
"column": 50
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4419,
"end": 4420,
"loc": {
"start": {
"line": 108,
"column": 50
},
"end": {
"line": 108,
"column": 51
}
}
},
{
"type": "CommentLine",
"value": " Figure out which tile this slot is on",
"start": 4436,
"end": 4476,
"loc": {
"start": {
"line": 110,
"column": 12
},
"end": {
"line": 110,
"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": 4490,
"end": 4495,
"loc": {
"start": {
"line": 111,
"column": 12
},
"end": {
"line": 111,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "worldPos",
"start": 4496,
"end": 4504,
"loc": {
"start": {
"line": 111,
"column": 18
},
"end": {
"line": 111,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4505,
"end": 4506,
"loc": {
"start": {
"line": 111,
"column": 27
},
"end": {
"line": 111,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 4507,
"end": 4513,
"loc": {
"start": {
"line": 111,
"column": 29
},
"end": {
"line": 111,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4513,
"end": 4514,
"loc": {
"start": {
"line": 111,
"column": 35
},
"end": {
"line": 111,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 4514,
"end": 4524,
"loc": {
"start": {
"line": 111,
"column": 36
},
"end": {
"line": 111,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4524,
"end": 4525,
"loc": {
"start": {
"line": 111,
"column": 46
},
"end": {
"line": 111,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "StaticMapEntity",
"start": 4525,
"end": 4540,
"loc": {
"start": {
"line": 111,
"column": 47
},
"end": {
"line": 111,
"column": 62
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4540,
"end": 4541,
"loc": {
"start": {
"line": 111,
"column": 62
},
"end": {
"line": 111,
"column": 63
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "localTileToWorld",
"start": 4541,
"end": 4557,
"loc": {
"start": {
"line": 111,
"column": 63
},
"end": {
"line": 111,
"column": 79
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4557,
"end": 4558,
"loc": {
"start": {
"line": 111,
"column": 79
},
"end": {
"line": 111,
"column": 80
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slot",
"start": 4558,
"end": 4562,
"loc": {
"start": {
"line": 111,
"column": 80
},
"end": {
"line": 111,
"column": 84
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4562,
"end": 4563,
"loc": {
"start": {
"line": 111,
"column": 84
},
"end": {
"line": 111,
"column": 85
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pos",
"start": 4563,
"end": 4566,
"loc": {
"start": {
"line": 111,
"column": 85
},
"end": {
"line": 111,
"column": 88
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4566,
"end": 4567,
"loc": {
"start": {
"line": 111,
"column": 88
},
"end": {
"line": 111,
"column": 89
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4567,
"end": 4568,
"loc": {
"start": {
"line": 111,
"column": 89
},
"end": {
"line": 111,
"column": 90
}
}
},
{
"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": 4582,
"end": 4584,
"loc": {
"start": {
"line": 112,
"column": 12
},
"end": {
"line": 112,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4585,
"end": 4586,
"loc": {
"start": {
"line": 112,
"column": 15
},
"end": {
"line": 112,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "offset",
"start": 4586,
"end": 4592,
"loc": {
"start": {
"line": 112,
"column": 16
},
"end": {
"line": 112,
"column": 22
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4592,
"end": 4593,
"loc": {
"start": {
"line": 112,
"column": 22
},
"end": {
"line": 112,
"column": 23
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4594,
"end": 4595,
"loc": {
"start": {
"line": 112,
"column": 24
},
"end": {
"line": 112,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "worldPos",
"start": 4613,
"end": 4621,
"loc": {
"start": {
"line": 113,
"column": 16
},
"end": {
"line": 113,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4621,
"end": 4622,
"loc": {
"start": {
"line": 113,
"column": 24
},
"end": {
"line": 113,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 4622,
"end": 4623,
"loc": {
"start": {
"line": 113,
"column": 25
},
"end": {
"line": 113,
"column": 26
}
}
},
{
"type": {
"label": "_=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "+=",
"start": 4624,
"end": 4626,
"loc": {
"start": {
"line": 113,
"column": 27
},
"end": {
"line": 113,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "offset",
"start": 4627,
"end": 4633,
"loc": {
"start": {
"line": 113,
"column": 30
},
"end": {
"line": 113,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4633,
"end": 4634,
"loc": {
"start": {
"line": 113,
"column": 36
},
"end": {
"line": 113,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 4634,
"end": 4635,
"loc": {
"start": {
"line": 113,
"column": 37
},
"end": {
"line": 113,
"column": 38
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4635,
"end": 4636,
"loc": {
"start": {
"line": 113,
"column": 38
},
"end": {
"line": 113,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "worldPos",
"start": 4654,
"end": 4662,
"loc": {
"start": {
"line": 114,
"column": 16
},
"end": {
"line": 114,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4662,
"end": 4663,
"loc": {
"start": {
"line": 114,
"column": 24
},
"end": {
"line": 114,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 4663,
"end": 4664,
"loc": {
"start": {
"line": 114,
"column": 25
},
"end": {
"line": 114,
"column": 26
}
}
},
{
"type": {
"label": "_=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "+=",
"start": 4665,
"end": 4667,
"loc": {
"start": {
"line": 114,
"column": 27
},
"end": {
"line": 114,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "offset",
"start": 4668,
"end": 4674,
"loc": {
"start": {
"line": 114,
"column": 30
},
"end": {
"line": 114,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4674,
"end": 4675,
"loc": {
"start": {
"line": 114,
"column": 36
},
"end": {
"line": 114,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 4675,
"end": 4676,
"loc": {
"start": {
"line": 114,
"column": 37
},
"end": {
"line": 114,
"column": 38
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4676,
"end": 4677,
"loc": {
"start": {
"line": 114,
"column": 38
},
"end": {
"line": 114,
"column": 39
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4691,
"end": 4692,
"loc": {
"start": {
"line": 115,
"column": 12
},
"end": {
"line": 115,
"column": 13
}
}
},
{
"type": "CommentLine",
"value": " Check if there is any entity on that tile (Wired pins are always on the wires layer)",
"start": 4708,
"end": 4795,
"loc": {
"start": {
"line": 117,
"column": 12
},
"end": {
"line": 117,
"column": 99
}
}
},
{
"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": 4809,
"end": 4814,
"loc": {
"start": {
"line": 118,
"column": 12
},
"end": {
"line": 118,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "collidingEntity",
"start": 4815,
"end": 4830,
"loc": {
"start": {
"line": 118,
"column": 18
},
"end": {
"line": 118,
"column": 33
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4831,
"end": 4832,
"loc": {
"start": {
"line": 118,
"column": 34
},
"end": {
"line": 118,
"column": 35
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 4833,
"end": 4837,
"loc": {
"start": {
"line": 118,
"column": 36
},
"end": {
"line": 118,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4837,
"end": 4838,
"loc": {
"start": {
"line": 118,
"column": 40
},
"end": {
"line": 118,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 4838,
"end": 4842,
"loc": {
"start": {
"line": 118,
"column": 41
},
"end": {
"line": 118,
"column": 45
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4842,
"end": 4843,
"loc": {
"start": {
"line": 118,
"column": 45
},
"end": {
"line": 118,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "map",
"start": 4843,
"end": 4846,
"loc": {
"start": {
"line": 118,
"column": 46
},
"end": {
"line": 118,
"column": 49
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4846,
"end": 4847,
"loc": {
"start": {
"line": 118,
"column": 49
},
"end": {
"line": 118,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getLayerContentXY",
"start": 4847,
"end": 4864,
"loc": {
"start": {
"line": 118,
"column": 50
},
"end": {
"line": 118,
"column": 67
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4864,
"end": 4865,
"loc": {
"start": {
"line": 118,
"column": 67
},
"end": {
"line": 118,
"column": 68
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "worldPos",
"start": 4865,
"end": 4873,
"loc": {
"start": {
"line": 118,
"column": 68
},
"end": {
"line": 118,
"column": 76
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4873,
"end": 4874,
"loc": {
"start": {
"line": 118,
"column": 76
},
"end": {
"line": 118,
"column": 77
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 4874,
"end": 4875,
"loc": {
"start": {
"line": 118,
"column": 77
},
"end": {
"line": 118,
"column": 78
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4875,
"end": 4876,
"loc": {
"start": {
"line": 118,
"column": 78
},
"end": {
"line": 118,
"column": 79
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "worldPos",
"start": 4877,
"end": 4885,
"loc": {
"start": {
"line": 118,
"column": 80
},
"end": {
"line": 118,
"column": 88
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4885,
"end": 4886,
"loc": {
"start": {
"line": 118,
"column": 88
},
"end": {
"line": 118,
"column": 89
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 4886,
"end": 4887,
"loc": {
"start": {
"line": 118,
"column": 89
},
"end": {
"line": 118,
"column": 90
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4887,
"end": 4888,
"loc": {
"start": {
"line": 118,
"column": 90
},
"end": {
"line": 118,
"column": 91
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "wires",
"start": 4889,
"end": 4896,
"loc": {
"start": {
"line": 118,
"column": 92
},
"end": {
"line": 118,
"column": 99
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4896,
"end": 4897,
"loc": {
"start": {
"line": 118,
"column": 99
},
"end": {
"line": 118,
"column": 100
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4897,
"end": 4898,
"loc": {
"start": {
"line": 118,
"column": 100
},
"end": {
"line": 118,
"column": 101
}
}
},
{
"type": "CommentLine",
"value": " If there's an entity, and it can't get removed -> That's a collision",
"start": 4914,
"end": 4985,
"loc": {
"start": {
"line": 120,
"column": 12
},
"end": {
"line": 120,
"column": 83
}
}
},
{
"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": 4999,
"end": 5001,
"loc": {
"start": {
"line": 121,
"column": 12
},
"end": {
"line": 121,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5002,
"end": 5003,
"loc": {
"start": {
"line": 121,
"column": 15
},
"end": {
"line": 121,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "collidingEntity",
"start": 5003,
"end": 5018,
"loc": {
"start": {
"line": 121,
"column": 16
},
"end": {
"line": 121,
"column": 31
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5018,
"end": 5019,
"loc": {
"start": {
"line": 121,
"column": 31
},
"end": {
"line": 121,
"column": 32
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5020,
"end": 5021,
"loc": {
"start": {
"line": 121,
"column": 33
},
"end": {
"line": 121,
"column": 34
}
}
},
{
"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": 5039,
"end": 5044,
"loc": {
"start": {
"line": 122,
"column": 16
},
"end": {
"line": 122,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "staticComp",
"start": 5045,
"end": 5055,
"loc": {
"start": {
"line": 122,
"column": 22
},
"end": {
"line": 122,
"column": 32
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5056,
"end": 5057,
"loc": {
"start": {
"line": 122,
"column": 33
},
"end": {
"line": 122,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "collidingEntity",
"start": 5058,
"end": 5073,
"loc": {
"start": {
"line": 122,
"column": 35
},
"end": {
"line": 122,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5073,
"end": 5074,
"loc": {
"start": {
"line": 122,
"column": 50
},
"end": {
"line": 122,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 5074,
"end": 5084,
"loc": {
"start": {
"line": 122,
"column": 51
},
"end": {
"line": 122,
"column": 61
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5084,
"end": 5085,
"loc": {
"start": {
"line": 122,
"column": 61
},
"end": {
"line": 122,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "StaticMapEntity",
"start": 5085,
"end": 5100,
"loc": {
"start": {
"line": 122,
"column": 62
},
"end": {
"line": 122,
"column": 77
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5100,
"end": 5101,
"loc": {
"start": {
"line": 122,
"column": 77
},
"end": {
"line": 122,
"column": 78
}
}
},
{
"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": 5119,
"end": 5124,
"loc": {
"start": {
"line": 123,
"column": 16
},
"end": {
"line": 123,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 5125,
"end": 5129,
"loc": {
"start": {
"line": 123,
"column": 22
},
"end": {
"line": 123,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5130,
"end": 5131,
"loc": {
"start": {
"line": 123,
"column": 27
},
"end": {
"line": 123,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getBuildingDataFromCode",
"start": 5132,
"end": 5155,
"loc": {
"start": {
"line": 123,
"column": 29
},
"end": {
"line": 123,
"column": 52
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5155,
"end": 5156,
"loc": {
"start": {
"line": 123,
"column": 52
},
"end": {
"line": 123,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "staticComp",
"start": 5156,
"end": 5166,
"loc": {
"start": {
"line": 123,
"column": 53
},
"end": {
"line": 123,
"column": 63
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5166,
"end": 5167,
"loc": {
"start": {
"line": 123,
"column": 63
},
"end": {
"line": 123,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "code",
"start": 5167,
"end": 5171,
"loc": {
"start": {
"line": 123,
"column": 64
},
"end": {
"line": 123,
"column": 68
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5171,
"end": 5172,
"loc": {
"start": {
"line": 123,
"column": 68
},
"end": {
"line": 123,
"column": 69
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5172,
"end": 5173,
"loc": {
"start": {
"line": 123,
"column": 69
},
"end": {
"line": 123,
"column": 70
}
}
},
{
"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": 5191,
"end": 5193,
"loc": {
"start": {
"line": 124,
"column": 16
},
"end": {
"line": 124,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5194,
"end": 5195,
"loc": {
"start": {
"line": 124,
"column": 19
},
"end": {
"line": 124,
"column": 20
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 5195,
"end": 5196,
"loc": {
"start": {
"line": 124,
"column": 20
},
"end": {
"line": 124,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "collidingEntity",
"start": 5196,
"end": 5211,
"loc": {
"start": {
"line": 124,
"column": 21
},
"end": {
"line": 124,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5211,
"end": 5212,
"loc": {
"start": {
"line": 124,
"column": 36
},
"end": {
"line": 124,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 5212,
"end": 5222,
"loc": {
"start": {
"line": 124,
"column": 37
},
"end": {
"line": 124,
"column": 47
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5222,
"end": 5223,
"loc": {
"start": {
"line": 124,
"column": 47
},
"end": {
"line": 124,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "StaticMapEntity",
"start": 5223,
"end": 5238,
"loc": {
"start": {
"line": 124,
"column": 48
},
"end": {
"line": 124,
"column": 63
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5238,
"end": 5239,
"loc": {
"start": {
"line": 124,
"column": 63
},
"end": {
"line": 124,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getMetaBuilding",
"start": 5239,
"end": 5254,
"loc": {
"start": {
"line": 124,
"column": 64
},
"end": {
"line": 124,
"column": 79
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5254,
"end": 5255,
"loc": {
"start": {
"line": 124,
"column": 79
},
"end": {
"line": 124,
"column": 80
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5255,
"end": 5256,
"loc": {
"start": {
"line": 124,
"column": 80
},
"end": {
"line": 124,
"column": 81
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5256,
"end": 5257,
"loc": {
"start": {
"line": 124,
"column": 81
},
"end": {
"line": 124,
"column": 82
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getIsReplaceable",
"start": 5257,
"end": 5273,
"loc": {
"start": {
"line": 124,
"column": 82
},
"end": {
"line": 124,
"column": 98
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5273,
"end": 5274,
"loc": {
"start": {
"line": 124,
"column": 98
},
"end": {
"line": 124,
"column": 99
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 5300,
"end": 5304,
"loc": {
"start": {
"line": 125,
"column": 24
},
"end": {
"line": 125,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5304,
"end": 5305,
"loc": {
"start": {
"line": 125,
"column": 28
},
"end": {
"line": 125,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 5305,
"end": 5312,
"loc": {
"start": {
"line": 125,
"column": 29
},
"end": {
"line": 125,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5334,
"end": 5335,
"loc": {
"start": {
"line": 126,
"column": 20
},
"end": {
"line": 126,
"column": 21
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5335,
"end": 5336,
"loc": {
"start": {
"line": 126,
"column": 21
},
"end": {
"line": 126,
"column": 22
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5337,
"end": 5338,
"loc": {
"start": {
"line": 126,
"column": 23
},
"end": {
"line": 126,
"column": 24
}
}
},
{
"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": 5360,
"end": 5366,
"loc": {
"start": {
"line": 127,
"column": 20
},
"end": {
"line": 127,
"column": 26
}
}
},
{
"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": 5367,
"end": 5371,
"loc": {
"start": {
"line": 127,
"column": 27
},
"end": {
"line": 127,
"column": 31
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5371,
"end": 5372,
"loc": {
"start": {
"line": 127,
"column": 31
},
"end": {
"line": 127,
"column": 32
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5390,
"end": 5391,
"loc": {
"start": {
"line": 128,
"column": 16
},
"end": {
"line": 128,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5405,
"end": 5406,
"loc": {
"start": {
"line": 129,
"column": 12
},
"end": {
"line": 129,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5416,
"end": 5417,
"loc": {
"start": {
"line": 130,
"column": 8
},
"end": {
"line": 130,
"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": 5427,
"end": 5433,
"loc": {
"start": {
"line": 131,
"column": 8
},
"end": {
"line": 131,
"column": 14
}
}
},
{
"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": 5434,
"end": 5439,
"loc": {
"start": {
"line": 131,
"column": 15
},
"end": {
"line": 131,
"column": 20
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5439,
"end": 5440,
"loc": {
"start": {
"line": 131,
"column": 20
},
"end": {
"line": 131,
"column": 21
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5446,
"end": 5447,
"loc": {
"start": {
"line": 132,
"column": 4
},
"end": {
"line": 132,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Called to free space for the given entity\r\n * @param {Entity} entity\r\n ",
"start": 5455,
"end": 5548,
"loc": {
"start": {
"line": 134,
"column": 4
},
"end": {
"line": 137,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "freeEntityAreaBeforeBuild",
"start": 5554,
"end": 5579,
"loc": {
"start": {
"line": 138,
"column": 4
},
"end": {
"line": 138,
"column": 29
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5579,
"end": 5580,
"loc": {
"start": {
"line": 138,
"column": 29
},
"end": {
"line": 138,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 5580,
"end": 5586,
"loc": {
"start": {
"line": 138,
"column": 30
},
"end": {
"line": 138,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5586,
"end": 5587,
"loc": {
"start": {
"line": 138,
"column": 36
},
"end": {
"line": 138,
"column": 37
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5588,
"end": 5589,
"loc": {
"start": {
"line": 138,
"column": 38
},
"end": {
"line": 138,
"column": 39
}
}
},
{
"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": 5599,
"end": 5604,
"loc": {
"start": {
"line": 139,
"column": 8
},
"end": {
"line": 139,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pinsComp",
"start": 5605,
"end": 5613,
"loc": {
"start": {
"line": 139,
"column": 14
},
"end": {
"line": 139,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5614,
"end": 5615,
"loc": {
"start": {
"line": 139,
"column": 23
},
"end": {
"line": 139,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 5616,
"end": 5622,
"loc": {
"start": {
"line": 139,
"column": 25
},
"end": {
"line": 139,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5622,
"end": 5623,
"loc": {
"start": {
"line": 139,
"column": 31
},
"end": {
"line": 139,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 5623,
"end": 5633,
"loc": {
"start": {
"line": 139,
"column": 32
},
"end": {
"line": 139,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5633,
"end": 5634,
"loc": {
"start": {
"line": 139,
"column": 42
},
"end": {
"line": 139,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "WiredPins",
"start": 5634,
"end": 5643,
"loc": {
"start": {
"line": 139,
"column": 43
},
"end": {
"line": 139,
"column": 52
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5643,
"end": 5644,
"loc": {
"start": {
"line": 139,
"column": 52
},
"end": {
"line": 139,
"column": 53
}
}
},
{
"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": 5654,
"end": 5656,
"loc": {
"start": {
"line": 140,
"column": 8
},
"end": {
"line": 140,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5657,
"end": 5658,
"loc": {
"start": {
"line": 140,
"column": 11
},
"end": {
"line": 140,
"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": 5658,
"end": 5659,
"loc": {
"start": {
"line": 140,
"column": 12
},
"end": {
"line": 140,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pinsComp",
"start": 5659,
"end": 5667,
"loc": {
"start": {
"line": 140,
"column": 13
},
"end": {
"line": 140,
"column": 21
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5667,
"end": 5668,
"loc": {
"start": {
"line": 140,
"column": 21
},
"end": {
"line": 140,
"column": 22
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5669,
"end": 5670,
"loc": {
"start": {
"line": 140,
"column": 23
},
"end": {
"line": 140,
"column": 24
}
}
},
{
"type": "CommentLine",
"value": " Entity has no pins",
"start": 5684,
"end": 5705,
"loc": {
"start": {
"line": 141,
"column": 12
},
"end": {
"line": 141,
"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": 5719,
"end": 5725,
"loc": {
"start": {
"line": 142,
"column": 12
},
"end": {
"line": 142,
"column": 18
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5725,
"end": 5726,
"loc": {
"start": {
"line": 142,
"column": 18
},
"end": {
"line": 142,
"column": 19
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5736,
"end": 5737,
"loc": {
"start": {
"line": 143,
"column": 8
},
"end": {
"line": 143,
"column": 9
}
}
},
{
"type": "CommentLine",
"value": " Remove any stuff which collides with the pins",
"start": 5749,
"end": 5797,
"loc": {
"start": {
"line": 145,
"column": 8
},
"end": {
"line": 145,
"column": 56
}
}
},
{
"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": 5807,
"end": 5810,
"loc": {
"start": {
"line": 146,
"column": 8
},
"end": {
"line": 146,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5811,
"end": 5812,
"loc": {
"start": {
"line": 146,
"column": 12
},
"end": {
"line": 146,
"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": 5812,
"end": 5815,
"loc": {
"start": {
"line": 146,
"column": 13
},
"end": {
"line": 146,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 5816,
"end": 5817,
"loc": {
"start": {
"line": 146,
"column": 17
},
"end": {
"line": 146,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5818,
"end": 5819,
"loc": {
"start": {
"line": 146,
"column": 19
},
"end": {
"line": 146,
"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": 5820,
"end": 5821,
"loc": {
"start": {
"line": 146,
"column": 21
},
"end": {
"line": 146,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5821,
"end": 5822,
"loc": {
"start": {
"line": 146,
"column": 22
},
"end": {
"line": 146,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 5823,
"end": 5824,
"loc": {
"start": {
"line": 146,
"column": 24
},
"end": {
"line": 146,
"column": 25
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 5825,
"end": 5826,
"loc": {
"start": {
"line": 146,
"column": 26
},
"end": {
"line": 146,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pinsComp",
"start": 5827,
"end": 5835,
"loc": {
"start": {
"line": 146,
"column": 28
},
"end": {
"line": 146,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5835,
"end": 5836,
"loc": {
"start": {
"line": 146,
"column": 36
},
"end": {
"line": 146,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slots",
"start": 5836,
"end": 5841,
"loc": {
"start": {
"line": 146,
"column": 37
},
"end": {
"line": 146,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5841,
"end": 5842,
"loc": {
"start": {
"line": 146,
"column": 42
},
"end": {
"line": 146,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 5842,
"end": 5848,
"loc": {
"start": {
"line": 146,
"column": 43
},
"end": {
"line": 146,
"column": 49
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5848,
"end": 5849,
"loc": {
"start": {
"line": 146,
"column": 49
},
"end": {
"line": 146,
"column": 50
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 5850,
"end": 5852,
"loc": {
"start": {
"line": 146,
"column": 51
},
"end": {
"line": 146,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 5852,
"end": 5853,
"loc": {
"start": {
"line": 146,
"column": 53
},
"end": {
"line": 146,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5853,
"end": 5854,
"loc": {
"start": {
"line": 146,
"column": 54
},
"end": {
"line": 146,
"column": 55
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5855,
"end": 5856,
"loc": {
"start": {
"line": 146,
"column": 56
},
"end": {
"line": 146,
"column": 57
}
}
},
{
"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": 5870,
"end": 5875,
"loc": {
"start": {
"line": 147,
"column": 12
},
"end": {
"line": 147,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slot",
"start": 5876,
"end": 5880,
"loc": {
"start": {
"line": 147,
"column": 18
},
"end": {
"line": 147,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5881,
"end": 5882,
"loc": {
"start": {
"line": 147,
"column": 23
},
"end": {
"line": 147,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pinsComp",
"start": 5883,
"end": 5891,
"loc": {
"start": {
"line": 147,
"column": 25
},
"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": 5891,
"end": 5892,
"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": "slots",
"start": 5892,
"end": 5897,
"loc": {
"start": {
"line": 147,
"column": 34
},
"end": {
"line": 147,
"column": 39
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5897,
"end": 5898,
"loc": {
"start": {
"line": 147,
"column": 39
},
"end": {
"line": 147,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 5898,
"end": 5899,
"loc": {
"start": {
"line": 147,
"column": 40
},
"end": {
"line": 147,
"column": 41
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5899,
"end": 5900,
"loc": {
"start": {
"line": 147,
"column": 41
},
"end": {
"line": 147,
"column": 42
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5900,
"end": 5901,
"loc": {
"start": {
"line": 147,
"column": 42
},
"end": {
"line": 147,
"column": 43
}
}
},
{
"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": 5915,
"end": 5920,
"loc": {
"start": {
"line": 148,
"column": 12
},
"end": {
"line": 148,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "worldPos",
"start": 5921,
"end": 5929,
"loc": {
"start": {
"line": 148,
"column": 18
},
"end": {
"line": 148,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5930,
"end": 5931,
"loc": {
"start": {
"line": 148,
"column": 27
},
"end": {
"line": 148,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 5932,
"end": 5938,
"loc": {
"start": {
"line": 148,
"column": 29
},
"end": {
"line": 148,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5938,
"end": 5939,
"loc": {
"start": {
"line": 148,
"column": 35
},
"end": {
"line": 148,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 5939,
"end": 5949,
"loc": {
"start": {
"line": 148,
"column": 36
},
"end": {
"line": 148,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5949,
"end": 5950,
"loc": {
"start": {
"line": 148,
"column": 46
},
"end": {
"line": 148,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "StaticMapEntity",
"start": 5950,
"end": 5965,
"loc": {
"start": {
"line": 148,
"column": 47
},
"end": {
"line": 148,
"column": 62
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5965,
"end": 5966,
"loc": {
"start": {
"line": 148,
"column": 62
},
"end": {
"line": 148,
"column": 63
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "localTileToWorld",
"start": 5966,
"end": 5982,
"loc": {
"start": {
"line": 148,
"column": 63
},
"end": {
"line": 148,
"column": 79
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5982,
"end": 5983,
"loc": {
"start": {
"line": 148,
"column": 79
},
"end": {
"line": 148,
"column": 80
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slot",
"start": 5983,
"end": 5987,
"loc": {
"start": {
"line": 148,
"column": 80
},
"end": {
"line": 148,
"column": 84
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5987,
"end": 5988,
"loc": {
"start": {
"line": 148,
"column": 84
},
"end": {
"line": 148,
"column": 85
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pos",
"start": 5988,
"end": 5991,
"loc": {
"start": {
"line": 148,
"column": 85
},
"end": {
"line": 148,
"column": 88
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5991,
"end": 5992,
"loc": {
"start": {
"line": 148,
"column": 88
},
"end": {
"line": 148,
"column": 89
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5992,
"end": 5993,
"loc": {
"start": {
"line": 148,
"column": 89
},
"end": {
"line": 148,
"column": 90
}
}
},
{
"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": 6007,
"end": 6012,
"loc": {
"start": {
"line": 149,
"column": 12
},
"end": {
"line": 149,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "collidingEntity",
"start": 6013,
"end": 6028,
"loc": {
"start": {
"line": 149,
"column": 18
},
"end": {
"line": 149,
"column": 33
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6029,
"end": 6030,
"loc": {
"start": {
"line": 149,
"column": 34
},
"end": {
"line": 149,
"column": 35
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 6031,
"end": 6035,
"loc": {
"start": {
"line": 149,
"column": 36
},
"end": {
"line": 149,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6035,
"end": 6036,
"loc": {
"start": {
"line": 149,
"column": 40
},
"end": {
"line": 149,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 6036,
"end": 6040,
"loc": {
"start": {
"line": 149,
"column": 41
},
"end": {
"line": 149,
"column": 45
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6040,
"end": 6041,
"loc": {
"start": {
"line": 149,
"column": 45
},
"end": {
"line": 149,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "map",
"start": 6041,
"end": 6044,
"loc": {
"start": {
"line": 149,
"column": 46
},
"end": {
"line": 149,
"column": 49
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6044,
"end": 6045,
"loc": {
"start": {
"line": 149,
"column": 49
},
"end": {
"line": 149,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getLayerContentXY",
"start": 6045,
"end": 6062,
"loc": {
"start": {
"line": 149,
"column": 50
},
"end": {
"line": 149,
"column": 67
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6062,
"end": 6063,
"loc": {
"start": {
"line": 149,
"column": 67
},
"end": {
"line": 149,
"column": 68
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "worldPos",
"start": 6063,
"end": 6071,
"loc": {
"start": {
"line": 149,
"column": 68
},
"end": {
"line": 149,
"column": 76
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6071,
"end": 6072,
"loc": {
"start": {
"line": 149,
"column": 76
},
"end": {
"line": 149,
"column": 77
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 6072,
"end": 6073,
"loc": {
"start": {
"line": 149,
"column": 77
},
"end": {
"line": 149,
"column": 78
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6073,
"end": 6074,
"loc": {
"start": {
"line": 149,
"column": 78
},
"end": {
"line": 149,
"column": 79
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "worldPos",
"start": 6075,
"end": 6083,
"loc": {
"start": {
"line": 149,
"column": 80
},
"end": {
"line": 149,
"column": 88
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6083,
"end": 6084,
"loc": {
"start": {
"line": 149,
"column": 88
},
"end": {
"line": 149,
"column": 89
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 6084,
"end": 6085,
"loc": {
"start": {
"line": 149,
"column": 89
},
"end": {
"line": 149,
"column": 90
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6085,
"end": 6086,
"loc": {
"start": {
"line": 149,
"column": 90
},
"end": {
"line": 149,
"column": 91
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "wires",
"start": 6087,
"end": 6094,
"loc": {
"start": {
"line": 149,
"column": 92
},
"end": {
"line": 149,
"column": 99
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6094,
"end": 6095,
"loc": {
"start": {
"line": 149,
"column": 99
},
"end": {
"line": 149,
"column": 100
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6095,
"end": 6096,
"loc": {
"start": {
"line": 149,
"column": 100
},
"end": {
"line": 149,
"column": 101
}
}
},
{
"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": 6110,
"end": 6112,
"loc": {
"start": {
"line": 150,
"column": 12
},
"end": {
"line": 150,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6113,
"end": 6114,
"loc": {
"start": {
"line": 150,
"column": 15
},
"end": {
"line": 150,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "collidingEntity",
"start": 6114,
"end": 6129,
"loc": {
"start": {
"line": 150,
"column": 16
},
"end": {
"line": 150,
"column": 31
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6129,
"end": 6130,
"loc": {
"start": {
"line": 150,
"column": 31
},
"end": {
"line": 150,
"column": 32
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6131,
"end": 6132,
"loc": {
"start": {
"line": 150,
"column": 33
},
"end": {
"line": 150,
"column": 34
}
}
},
{
"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": 6150,
"end": 6155,
"loc": {
"start": {
"line": 151,
"column": 16
},
"end": {
"line": 151,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "staticComp",
"start": 6156,
"end": 6166,
"loc": {
"start": {
"line": 151,
"column": 22
},
"end": {
"line": 151,
"column": 32
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6167,
"end": 6168,
"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": "collidingEntity",
"start": 6169,
"end": 6184,
"loc": {
"start": {
"line": 151,
"column": 35
},
"end": {
"line": 151,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6184,
"end": 6185,
"loc": {
"start": {
"line": 151,
"column": 50
},
"end": {
"line": 151,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 6185,
"end": 6195,
"loc": {
"start": {
"line": 151,
"column": 51
},
"end": {
"line": 151,
"column": 61
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6195,
"end": 6196,
"loc": {
"start": {
"line": 151,
"column": 61
},
"end": {
"line": 151,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "StaticMapEntity",
"start": 6196,
"end": 6211,
"loc": {
"start": {
"line": 151,
"column": 62
},
"end": {
"line": 151,
"column": 77
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6211,
"end": 6212,
"loc": {
"start": {
"line": 151,
"column": 77
},
"end": {
"line": 151,
"column": 78
}
}
},
{
"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": 6230,
"end": 6235,
"loc": {
"start": {
"line": 152,
"column": 16
},
"end": {
"line": 152,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 6236,
"end": 6240,
"loc": {
"start": {
"line": 152,
"column": 22
},
"end": {
"line": 152,
"column": 26
}
}
},
{
"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": 152,
"column": 27
},
"end": {
"line": 152,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getBuildingDataFromCode",
"start": 6243,
"end": 6266,
"loc": {
"start": {
"line": 152,
"column": 29
},
"end": {
"line": 152,
"column": 52
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6266,
"end": 6267,
"loc": {
"start": {
"line": 152,
"column": 52
},
"end": {
"line": 152,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "staticComp",
"start": 6267,
"end": 6277,
"loc": {
"start": {
"line": 152,
"column": 53
},
"end": {
"line": 152,
"column": 63
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6277,
"end": 6278,
"loc": {
"start": {
"line": 152,
"column": 63
},
"end": {
"line": 152,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "code",
"start": 6278,
"end": 6282,
"loc": {
"start": {
"line": 152,
"column": 64
},
"end": {
"line": 152,
"column": 68
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6282,
"end": 6283,
"loc": {
"start": {
"line": 152,
"column": 68
},
"end": {
"line": 152,
"column": 69
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6283,
"end": 6284,
"loc": {
"start": {
"line": 152,
"column": 69
},
"end": {
"line": 152,
"column": 70
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "assertAlways",
"start": 6302,
"end": 6314,
"loc": {
"start": {
"line": 153,
"column": 16
},
"end": {
"line": 153,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6314,
"end": 6315,
"loc": {
"start": {
"line": 153,
"column": 28
},
"end": {
"line": 153,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "collidingEntity",
"start": 6337,
"end": 6352,
"loc": {
"start": {
"line": 154,
"column": 20
},
"end": {
"line": 154,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6352,
"end": 6353,
"loc": {
"start": {
"line": 154,
"column": 35
},
"end": {
"line": 154,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 6353,
"end": 6363,
"loc": {
"start": {
"line": 154,
"column": 36
},
"end": {
"line": 154,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6363,
"end": 6364,
"loc": {
"start": {
"line": 154,
"column": 46
},
"end": {
"line": 154,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "StaticMapEntity",
"start": 6364,
"end": 6379,
"loc": {
"start": {
"line": 154,
"column": 47
},
"end": {
"line": 154,
"column": 62
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6379,
"end": 6380,
"loc": {
"start": {
"line": 154,
"column": 62
},
"end": {
"line": 154,
"column": 63
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getMetaBuilding",
"start": 6380,
"end": 6395,
"loc": {
"start": {
"line": 154,
"column": 63
},
"end": {
"line": 154,
"column": 78
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6395,
"end": 6396,
"loc": {
"start": {
"line": 154,
"column": 78
},
"end": {
"line": 154,
"column": 79
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6396,
"end": 6397,
"loc": {
"start": {
"line": 154,
"column": 79
},
"end": {
"line": 154,
"column": 80
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6397,
"end": 6398,
"loc": {
"start": {
"line": 154,
"column": 80
},
"end": {
"line": 154,
"column": 81
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getIsReplaceable",
"start": 6398,
"end": 6414,
"loc": {
"start": {
"line": 154,
"column": 81
},
"end": {
"line": 154,
"column": 97
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6414,
"end": 6415,
"loc": {
"start": {
"line": 154,
"column": 97
},
"end": {
"line": 154,
"column": 98
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 6441,
"end": 6445,
"loc": {
"start": {
"line": 155,
"column": 24
},
"end": {
"line": 155,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6445,
"end": 6446,
"loc": {
"start": {
"line": 155,
"column": 28
},
"end": {
"line": 155,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 6446,
"end": 6453,
"loc": {
"start": {
"line": 155,
"column": 29
},
"end": {
"line": 155,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6475,
"end": 6476,
"loc": {
"start": {
"line": 156,
"column": 20
},
"end": {
"line": 156,
"column": 21
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6476,
"end": 6477,
"loc": {
"start": {
"line": 156,
"column": 21
},
"end": {
"line": 156,
"column": 22
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Tried to replace non-repleaceable entity for pins",
"start": 6499,
"end": 6550,
"loc": {
"start": {
"line": 157,
"column": 20
},
"end": {
"line": 157,
"column": 71
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6568,
"end": 6569,
"loc": {
"start": {
"line": 158,
"column": 16
},
"end": {
"line": 158,
"column": 17
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6569,
"end": 6570,
"loc": {
"start": {
"line": 158,
"column": 17
},
"end": {
"line": 158,
"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": 6588,
"end": 6590,
"loc": {
"start": {
"line": 159,
"column": 16
},
"end": {
"line": 159,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6591,
"end": 6592,
"loc": {
"start": {
"line": 159,
"column": 19
},
"end": {
"line": 159,
"column": 20
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 6592,
"end": 6593,
"loc": {
"start": {
"line": 159,
"column": 20
},
"end": {
"line": 159,
"column": 21
}
}
},
{
"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": 6593,
"end": 6597,
"loc": {
"start": {
"line": 159,
"column": 21
},
"end": {
"line": 159,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6597,
"end": 6598,
"loc": {
"start": {
"line": 159,
"column": 25
},
"end": {
"line": 159,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 6598,
"end": 6602,
"loc": {
"start": {
"line": 159,
"column": 26
},
"end": {
"line": 159,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6602,
"end": 6603,
"loc": {
"start": {
"line": 159,
"column": 30
},
"end": {
"line": 159,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logic",
"start": 6603,
"end": 6608,
"loc": {
"start": {
"line": 159,
"column": 31
},
"end": {
"line": 159,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6608,
"end": 6609,
"loc": {
"start": {
"line": 159,
"column": 36
},
"end": {
"line": 159,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tryDeleteBuilding",
"start": 6609,
"end": 6626,
"loc": {
"start": {
"line": 159,
"column": 37
},
"end": {
"line": 159,
"column": 54
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6626,
"end": 6627,
"loc": {
"start": {
"line": 159,
"column": 54
},
"end": {
"line": 159,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "collidingEntity",
"start": 6627,
"end": 6642,
"loc": {
"start": {
"line": 159,
"column": 55
},
"end": {
"line": 159,
"column": 70
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6642,
"end": 6643,
"loc": {
"start": {
"line": 159,
"column": 70
},
"end": {
"line": 159,
"column": 71
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6643,
"end": 6644,
"loc": {
"start": {
"line": 159,
"column": 71
},
"end": {
"line": 159,
"column": 72
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6645,
"end": 6646,
"loc": {
"start": {
"line": 159,
"column": 73
},
"end": {
"line": 159,
"column": 74
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "assertAlways",
"start": 6668,
"end": 6680,
"loc": {
"start": {
"line": 160,
"column": 20
},
"end": {
"line": 160,
"column": 32
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6680,
"end": 6681,
"loc": {
"start": {
"line": 160,
"column": 32
},
"end": {
"line": 160,
"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": 6681,
"end": 6686,
"loc": {
"start": {
"line": 160,
"column": 33
},
"end": {
"line": 160,
"column": 38
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6686,
"end": 6687,
"loc": {
"start": {
"line": 160,
"column": 38
},
"end": {
"line": 160,
"column": 39
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Tried to replace non-repleaceable entity for pins #2",
"start": 6688,
"end": 6742,
"loc": {
"start": {
"line": 160,
"column": 40
},
"end": {
"line": 160,
"column": 94
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6742,
"end": 6743,
"loc": {
"start": {
"line": 160,
"column": 94
},
"end": {
"line": 160,
"column": 95
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6743,
"end": 6744,
"loc": {
"start": {
"line": 160,
"column": 95
},
"end": {
"line": 160,
"column": 96
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6762,
"end": 6763,
"loc": {
"start": {
"line": 161,
"column": 16
},
"end": {
"line": 161,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6777,
"end": 6778,
"loc": {
"start": {
"line": 162,
"column": 12
},
"end": {
"line": 162,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6788,
"end": 6789,
"loc": {
"start": {
"line": 163,
"column": 8
},
"end": {
"line": 163,
"column": 9
}
}
},
{
"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": 164,
"column": 4
},
"end": {
"line": 164,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Draws a given entity\r\n * @param {DrawParameters} parameters\r\n * @param {MapChunkView} chunk\r\n ",
"start": 6804,
"end": 6924,
"loc": {
"start": {
"line": 166,
"column": 4
},
"end": {
"line": 170,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "drawChunk_WiresForegroundLayer",
"start": 6930,
"end": 6960,
"loc": {
"start": {
"line": 171,
"column": 4
},
"end": {
"line": 171,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6960,
"end": 6961,
"loc": {
"start": {
"line": 171,
"column": 34
},
"end": {
"line": 171,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 6961,
"end": 6971,
"loc": {
"start": {
"line": 171,
"column": 35
},
"end": {
"line": 171,
"column": 45
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6971,
"end": 6972,
"loc": {
"start": {
"line": 171,
"column": 45
},
"end": {
"line": 171,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "chunk",
"start": 6973,
"end": 6978,
"loc": {
"start": {
"line": 171,
"column": 47
},
"end": {
"line": 171,
"column": 52
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6978,
"end": 6979,
"loc": {
"start": {
"line": 171,
"column": 52
},
"end": {
"line": 171,
"column": 53
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6980,
"end": 6981,
"loc": {
"start": {
"line": 171,
"column": 54
},
"end": {
"line": 171,
"column": 55
}
}
},
{
"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": 6991,
"end": 6996,
"loc": {
"start": {
"line": 172,
"column": 8
},
"end": {
"line": 172,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "contents",
"start": 6997,
"end": 7005,
"loc": {
"start": {
"line": 172,
"column": 14
},
"end": {
"line": 172,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7006,
"end": 7007,
"loc": {
"start": {
"line": 172,
"column": 23
},
"end": {
"line": 172,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "chunk",
"start": 7008,
"end": 7013,
"loc": {
"start": {
"line": 172,
"column": 25
},
"end": {
"line": 172,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7013,
"end": 7014,
"loc": {
"start": {
"line": 172,
"column": 30
},
"end": {
"line": 172,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "containedEntities",
"start": 7014,
"end": 7031,
"loc": {
"start": {
"line": 172,
"column": 31
},
"end": {
"line": 172,
"column": 48
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7031,
"end": 7032,
"loc": {
"start": {
"line": 172,
"column": 48
},
"end": {
"line": 172,
"column": 49
}
}
},
{
"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": 7044,
"end": 7047,
"loc": {
"start": {
"line": 174,
"column": 8
},
"end": {
"line": 174,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7048,
"end": 7049,
"loc": {
"start": {
"line": 174,
"column": 12
},
"end": {
"line": 174,
"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": 7049,
"end": 7052,
"loc": {
"start": {
"line": 174,
"column": 13
},
"end": {
"line": 174,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 7053,
"end": 7054,
"loc": {
"start": {
"line": 174,
"column": 17
},
"end": {
"line": 174,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7055,
"end": 7056,
"loc": {
"start": {
"line": 174,
"column": 19
},
"end": {
"line": 174,
"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": 7057,
"end": 7058,
"loc": {
"start": {
"line": 174,
"column": 21
},
"end": {
"line": 174,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7058,
"end": 7059,
"loc": {
"start": {
"line": 174,
"column": 22
},
"end": {
"line": 174,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 7060,
"end": 7061,
"loc": {
"start": {
"line": 174,
"column": 24
},
"end": {
"line": 174,
"column": 25
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 7062,
"end": 7063,
"loc": {
"start": {
"line": 174,
"column": 26
},
"end": {
"line": 174,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "contents",
"start": 7064,
"end": 7072,
"loc": {
"start": {
"line": 174,
"column": 28
},
"end": {
"line": 174,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7072,
"end": 7073,
"loc": {
"start": {
"line": 174,
"column": 36
},
"end": {
"line": 174,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 7073,
"end": 7079,
"loc": {
"start": {
"line": 174,
"column": 37
},
"end": {
"line": 174,
"column": 43
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7079,
"end": 7080,
"loc": {
"start": {
"line": 174,
"column": 43
},
"end": {
"line": 174,
"column": 44
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 7081,
"end": 7083,
"loc": {
"start": {
"line": 174,
"column": 45
},
"end": {
"line": 174,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 7083,
"end": 7084,
"loc": {
"start": {
"line": 174,
"column": 47
},
"end": {
"line": 174,
"column": 48
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7084,
"end": 7085,
"loc": {
"start": {
"line": 174,
"column": 48
},
"end": {
"line": 174,
"column": 49
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7086,
"end": 7087,
"loc": {
"start": {
"line": 174,
"column": 50
},
"end": {
"line": 174,
"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": 7101,
"end": 7106,
"loc": {
"start": {
"line": 175,
"column": 12
},
"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": "entity",
"start": 7107,
"end": 7113,
"loc": {
"start": {
"line": 175,
"column": 18
},
"end": {
"line": 175,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7114,
"end": 7115,
"loc": {
"start": {
"line": 175,
"column": 25
},
"end": {
"line": 175,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "contents",
"start": 7116,
"end": 7124,
"loc": {
"start": {
"line": 175,
"column": 27
},
"end": {
"line": 175,
"column": 35
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7124,
"end": 7125,
"loc": {
"start": {
"line": 175,
"column": 35
},
"end": {
"line": 175,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 7125,
"end": 7126,
"loc": {
"start": {
"line": 175,
"column": 36
},
"end": {
"line": 175,
"column": 37
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7126,
"end": 7127,
"loc": {
"start": {
"line": 175,
"column": 37
},
"end": {
"line": 175,
"column": 38
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7127,
"end": 7128,
"loc": {
"start": {
"line": 175,
"column": 38
},
"end": {
"line": 175,
"column": 39
}
}
},
{
"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": 7142,
"end": 7147,
"loc": {
"start": {
"line": 176,
"column": 12
},
"end": {
"line": 176,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pinsComp",
"start": 7148,
"end": 7156,
"loc": {
"start": {
"line": 176,
"column": 18
},
"end": {
"line": 176,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7157,
"end": 7158,
"loc": {
"start": {
"line": 176,
"column": 27
},
"end": {
"line": 176,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 7159,
"end": 7165,
"loc": {
"start": {
"line": 176,
"column": 29
},
"end": {
"line": 176,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7165,
"end": 7166,
"loc": {
"start": {
"line": 176,
"column": 35
},
"end": {
"line": 176,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 7166,
"end": 7176,
"loc": {
"start": {
"line": 176,
"column": 36
},
"end": {
"line": 176,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7176,
"end": 7177,
"loc": {
"start": {
"line": 176,
"column": 46
},
"end": {
"line": 176,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "WiredPins",
"start": 7177,
"end": 7186,
"loc": {
"start": {
"line": 176,
"column": 47
},
"end": {
"line": 176,
"column": 56
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7186,
"end": 7187,
"loc": {
"start": {
"line": 176,
"column": 56
},
"end": {
"line": 176,
"column": 57
}
}
},
{
"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": 7201,
"end": 7203,
"loc": {
"start": {
"line": 177,
"column": 12
},
"end": {
"line": 177,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7204,
"end": 7205,
"loc": {
"start": {
"line": 177,
"column": 15
},
"end": {
"line": 177,
"column": 16
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 7205,
"end": 7206,
"loc": {
"start": {
"line": 177,
"column": 16
},
"end": {
"line": 177,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pinsComp",
"start": 7206,
"end": 7214,
"loc": {
"start": {
"line": 177,
"column": 17
},
"end": {
"line": 177,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7214,
"end": 7215,
"loc": {
"start": {
"line": 177,
"column": 25
},
"end": {
"line": 177,
"column": 26
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7216,
"end": 7217,
"loc": {
"start": {
"line": 177,
"column": 27
},
"end": {
"line": 177,
"column": 28
}
}
},
{
"type": {
"label": "continue",
"keyword": "continue",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "continue",
"start": 7235,
"end": 7243,
"loc": {
"start": {
"line": 178,
"column": 16
},
"end": {
"line": 178,
"column": 24
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7243,
"end": 7244,
"loc": {
"start": {
"line": 178,
"column": 24
},
"end": {
"line": 178,
"column": 25
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7258,
"end": 7259,
"loc": {
"start": {
"line": 179,
"column": 12
},
"end": {
"line": 179,
"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": 7275,
"end": 7280,
"loc": {
"start": {
"line": 181,
"column": 12
},
"end": {
"line": 181,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "staticComp",
"start": 7281,
"end": 7291,
"loc": {
"start": {
"line": 181,
"column": 18
},
"end": {
"line": 181,
"column": 28
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7292,
"end": 7293,
"loc": {
"start": {
"line": 181,
"column": 29
},
"end": {
"line": 181,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 7294,
"end": 7300,
"loc": {
"start": {
"line": 181,
"column": 31
},
"end": {
"line": 181,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7300,
"end": 7301,
"loc": {
"start": {
"line": 181,
"column": 37
},
"end": {
"line": 181,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 7301,
"end": 7311,
"loc": {
"start": {
"line": 181,
"column": 38
},
"end": {
"line": 181,
"column": 48
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7311,
"end": 7312,
"loc": {
"start": {
"line": 181,
"column": 48
},
"end": {
"line": 181,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "StaticMapEntity",
"start": 7312,
"end": 7327,
"loc": {
"start": {
"line": 181,
"column": 49
},
"end": {
"line": 181,
"column": 64
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7327,
"end": 7328,
"loc": {
"start": {
"line": 181,
"column": 64
},
"end": {
"line": 181,
"column": 65
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 7342,
"end": 7347,
"loc": {
"start": {
"line": 182,
"column": 12
},
"end": {
"line": 182,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 7348,
"end": 7352,
"loc": {
"start": {
"line": 182,
"column": 18
},
"end": {
"line": 182,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7353,
"end": 7354,
"loc": {
"start": {
"line": 182,
"column": 23
},
"end": {
"line": 182,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getBuildingDataFromCode",
"start": 7355,
"end": 7378,
"loc": {
"start": {
"line": 182,
"column": 25
},
"end": {
"line": 182,
"column": 48
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7378,
"end": 7379,
"loc": {
"start": {
"line": 182,
"column": 48
},
"end": {
"line": 182,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "staticComp",
"start": 7379,
"end": 7389,
"loc": {
"start": {
"line": 182,
"column": 49
},
"end": {
"line": 182,
"column": 59
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7389,
"end": 7390,
"loc": {
"start": {
"line": 182,
"column": 59
},
"end": {
"line": 182,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "code",
"start": 7390,
"end": 7394,
"loc": {
"start": {
"line": 182,
"column": 60
},
"end": {
"line": 182,
"column": 64
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7394,
"end": 7395,
"loc": {
"start": {
"line": 182,
"column": 64
},
"end": {
"line": 182,
"column": 65
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7395,
"end": 7396,
"loc": {
"start": {
"line": 182,
"column": 65
},
"end": {
"line": 182,
"column": 66
}
}
},
{
"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": 7410,
"end": 7415,
"loc": {
"start": {
"line": 183,
"column": 12
},
"end": {
"line": 183,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slots",
"start": 7416,
"end": 7421,
"loc": {
"start": {
"line": 183,
"column": 18
},
"end": {
"line": 183,
"column": 23
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7422,
"end": 7423,
"loc": {
"start": {
"line": 183,
"column": 24
},
"end": {
"line": 183,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pinsComp",
"start": 7424,
"end": 7432,
"loc": {
"start": {
"line": 183,
"column": 26
},
"end": {
"line": 183,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7432,
"end": 7433,
"loc": {
"start": {
"line": 183,
"column": 34
},
"end": {
"line": 183,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slots",
"start": 7433,
"end": 7438,
"loc": {
"start": {
"line": 183,
"column": 35
},
"end": {
"line": 183,
"column": 40
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7438,
"end": 7439,
"loc": {
"start": {
"line": 183,
"column": 40
},
"end": {
"line": 183,
"column": 41
}
}
},
{
"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": 7455,
"end": 7458,
"loc": {
"start": {
"line": 185,
"column": 12
},
"end": {
"line": 185,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7459,
"end": 7460,
"loc": {
"start": {
"line": 185,
"column": 16
},
"end": {
"line": 185,
"column": 17
}
}
},
{
"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": 7460,
"end": 7463,
"loc": {
"start": {
"line": 185,
"column": 17
},
"end": {
"line": 185,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "j",
"start": 7464,
"end": 7465,
"loc": {
"start": {
"line": 185,
"column": 21
},
"end": {
"line": 185,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7466,
"end": 7467,
"loc": {
"start": {
"line": 185,
"column": 23
},
"end": {
"line": 185,
"column": 24
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 7468,
"end": 7469,
"loc": {
"start": {
"line": 185,
"column": 25
},
"end": {
"line": 185,
"column": 26
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7469,
"end": 7470,
"loc": {
"start": {
"line": 185,
"column": 26
},
"end": {
"line": 185,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "j",
"start": 7471,
"end": 7472,
"loc": {
"start": {
"line": 185,
"column": 28
},
"end": {
"line": 185,
"column": 29
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 7473,
"end": 7474,
"loc": {
"start": {
"line": 185,
"column": 30
},
"end": {
"line": 185,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slots",
"start": 7475,
"end": 7480,
"loc": {
"start": {
"line": 185,
"column": 32
},
"end": {
"line": 185,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7480,
"end": 7481,
"loc": {
"start": {
"line": 185,
"column": 37
},
"end": {
"line": 185,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 7481,
"end": 7487,
"loc": {
"start": {
"line": 185,
"column": 38
},
"end": {
"line": 185,
"column": 44
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7487,
"end": 7488,
"loc": {
"start": {
"line": 185,
"column": 44
},
"end": {
"line": 185,
"column": 45
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 7489,
"end": 7491,
"loc": {
"start": {
"line": 185,
"column": 46
},
"end": {
"line": 185,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "j",
"start": 7491,
"end": 7492,
"loc": {
"start": {
"line": 185,
"column": 48
},
"end": {
"line": 185,
"column": 49
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7492,
"end": 7493,
"loc": {
"start": {
"line": 185,
"column": 49
},
"end": {
"line": 185,
"column": 50
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7494,
"end": 7495,
"loc": {
"start": {
"line": 185,
"column": 51
},
"end": {
"line": 185,
"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": 7513,
"end": 7518,
"loc": {
"start": {
"line": 186,
"column": 16
},
"end": {
"line": 186,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slot",
"start": 7519,
"end": 7523,
"loc": {
"start": {
"line": 186,
"column": 22
},
"end": {
"line": 186,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7524,
"end": 7525,
"loc": {
"start": {
"line": 186,
"column": 27
},
"end": {
"line": 186,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slots",
"start": 7526,
"end": 7531,
"loc": {
"start": {
"line": 186,
"column": 29
},
"end": {
"line": 186,
"column": 34
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7531,
"end": 7532,
"loc": {
"start": {
"line": 186,
"column": 34
},
"end": {
"line": 186,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "j",
"start": 7532,
"end": 7533,
"loc": {
"start": {
"line": 186,
"column": 35
},
"end": {
"line": 186,
"column": 36
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7533,
"end": 7534,
"loc": {
"start": {
"line": 186,
"column": 36
},
"end": {
"line": 186,
"column": 37
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7534,
"end": 7535,
"loc": {
"start": {
"line": 186,
"column": 37
},
"end": {
"line": 186,
"column": 38
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 7553,
"end": 7558,
"loc": {
"start": {
"line": 187,
"column": 16
},
"end": {
"line": 187,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tile",
"start": 7559,
"end": 7563,
"loc": {
"start": {
"line": 187,
"column": 22
},
"end": {
"line": 187,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7564,
"end": 7565,
"loc": {
"start": {
"line": 187,
"column": 27
},
"end": {
"line": 187,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "staticComp",
"start": 7566,
"end": 7576,
"loc": {
"start": {
"line": 187,
"column": 29
},
"end": {
"line": 187,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7576,
"end": 7577,
"loc": {
"start": {
"line": 187,
"column": 39
},
"end": {
"line": 187,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "localTileToWorld",
"start": 7577,
"end": 7593,
"loc": {
"start": {
"line": 187,
"column": 40
},
"end": {
"line": 187,
"column": 56
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7593,
"end": 7594,
"loc": {
"start": {
"line": 187,
"column": 56
},
"end": {
"line": 187,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slot",
"start": 7594,
"end": 7598,
"loc": {
"start": {
"line": 187,
"column": 57
},
"end": {
"line": 187,
"column": 61
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7598,
"end": 7599,
"loc": {
"start": {
"line": 187,
"column": 61
},
"end": {
"line": 187,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pos",
"start": 7599,
"end": 7602,
"loc": {
"start": {
"line": 187,
"column": 62
},
"end": {
"line": 187,
"column": 65
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7602,
"end": 7603,
"loc": {
"start": {
"line": 187,
"column": 65
},
"end": {
"line": 187,
"column": 66
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7603,
"end": 7604,
"loc": {
"start": {
"line": 187,
"column": 66
},
"end": {
"line": 187,
"column": 67
}
}
},
{
"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": 7624,
"end": 7626,
"loc": {
"start": {
"line": 189,
"column": 16
},
"end": {
"line": 189,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7627,
"end": 7628,
"loc": {
"start": {
"line": 189,
"column": 19
},
"end": {
"line": 189,
"column": 20
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 7628,
"end": 7629,
"loc": {
"start": {
"line": 189,
"column": 20
},
"end": {
"line": 189,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "chunk",
"start": 7629,
"end": 7634,
"loc": {
"start": {
"line": 189,
"column": 21
},
"end": {
"line": 189,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7634,
"end": 7635,
"loc": {
"start": {
"line": 189,
"column": 26
},
"end": {
"line": 189,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tileSpaceRectangle",
"start": 7635,
"end": 7653,
"loc": {
"start": {
"line": 189,
"column": 27
},
"end": {
"line": 189,
"column": 45
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7653,
"end": 7654,
"loc": {
"start": {
"line": 189,
"column": 45
},
"end": {
"line": 189,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "containsPoint",
"start": 7654,
"end": 7667,
"loc": {
"start": {
"line": 189,
"column": 46
},
"end": {
"line": 189,
"column": 59
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7667,
"end": 7668,
"loc": {
"start": {
"line": 189,
"column": 59
},
"end": {
"line": 189,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tile",
"start": 7668,
"end": 7672,
"loc": {
"start": {
"line": 189,
"column": 60
},
"end": {
"line": 189,
"column": 64
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7672,
"end": 7673,
"loc": {
"start": {
"line": 189,
"column": 64
},
"end": {
"line": 189,
"column": 65
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 7673,
"end": 7674,
"loc": {
"start": {
"line": 189,
"column": 65
},
"end": {
"line": 189,
"column": 66
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7674,
"end": 7675,
"loc": {
"start": {
"line": 189,
"column": 66
},
"end": {
"line": 189,
"column": 67
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tile",
"start": 7676,
"end": 7680,
"loc": {
"start": {
"line": 189,
"column": 68
},
"end": {
"line": 189,
"column": 72
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7680,
"end": 7681,
"loc": {
"start": {
"line": 189,
"column": 72
},
"end": {
"line": 189,
"column": 73
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 7681,
"end": 7682,
"loc": {
"start": {
"line": 189,
"column": 73
},
"end": {
"line": 189,
"column": 74
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7682,
"end": 7683,
"loc": {
"start": {
"line": 189,
"column": 74
},
"end": {
"line": 189,
"column": 75
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7683,
"end": 7684,
"loc": {
"start": {
"line": 189,
"column": 75
},
"end": {
"line": 189,
"column": 76
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7685,
"end": 7686,
"loc": {
"start": {
"line": 189,
"column": 77
},
"end": {
"line": 189,
"column": 78
}
}
},
{
"type": "CommentLine",
"value": " Doesn't belong to this chunk",
"start": 7708,
"end": 7739,
"loc": {
"start": {
"line": 190,
"column": 20
},
"end": {
"line": 190,
"column": 51
}
}
},
{
"type": {
"label": "continue",
"keyword": "continue",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "continue",
"start": 7761,
"end": 7769,
"loc": {
"start": {
"line": 191,
"column": 20
},
"end": {
"line": 191,
"column": 28
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7769,
"end": 7770,
"loc": {
"start": {
"line": 191,
"column": 28
},
"end": {
"line": 191,
"column": 29
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7788,
"end": 7789,
"loc": {
"start": {
"line": 192,
"column": 16
},
"end": {
"line": 192,
"column": 17
}
}
},
{
"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": 7807,
"end": 7812,
"loc": {
"start": {
"line": 193,
"column": 16
},
"end": {
"line": 193,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "worldPos",
"start": 7813,
"end": 7821,
"loc": {
"start": {
"line": 193,
"column": 22
},
"end": {
"line": 193,
"column": 30
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7822,
"end": 7823,
"loc": {
"start": {
"line": 193,
"column": 31
},
"end": {
"line": 193,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tile",
"start": 7824,
"end": 7828,
"loc": {
"start": {
"line": 193,
"column": 33
},
"end": {
"line": 193,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7828,
"end": 7829,
"loc": {
"start": {
"line": 193,
"column": 37
},
"end": {
"line": 193,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "toWorldSpaceCenterOfTile",
"start": 7829,
"end": 7853,
"loc": {
"start": {
"line": 193,
"column": 38
},
"end": {
"line": 193,
"column": 62
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7853,
"end": 7854,
"loc": {
"start": {
"line": 193,
"column": 62
},
"end": {
"line": 193,
"column": 63
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7854,
"end": 7855,
"loc": {
"start": {
"line": 193,
"column": 63
},
"end": {
"line": 193,
"column": 64
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7855,
"end": 7856,
"loc": {
"start": {
"line": 193,
"column": 64
},
"end": {
"line": 193,
"column": 65
}
}
},
{
"type": "CommentLine",
"value": " Culling",
"start": 7876,
"end": 7886,
"loc": {
"start": {
"line": 195,
"column": 16
},
"end": {
"line": 195,
"column": 26
}
}
},
{
"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": 7904,
"end": 7906,
"loc": {
"start": {
"line": 196,
"column": 16
},
"end": {
"line": 196,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7907,
"end": 7908,
"loc": {
"start": {
"line": 196,
"column": 19
},
"end": {
"line": 196,
"column": 20
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 7908,
"end": 7909,
"loc": {
"start": {
"line": 196,
"column": 20
},
"end": {
"line": 196,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 7909,
"end": 7919,
"loc": {
"start": {
"line": 196,
"column": 21
},
"end": {
"line": 196,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7919,
"end": 7920,
"loc": {
"start": {
"line": 196,
"column": 31
},
"end": {
"line": 196,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "visibleRect",
"start": 7920,
"end": 7931,
"loc": {
"start": {
"line": 196,
"column": 32
},
"end": {
"line": 196,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7931,
"end": 7932,
"loc": {
"start": {
"line": 196,
"column": 43
},
"end": {
"line": 196,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "containsCircle",
"start": 7932,
"end": 7946,
"loc": {
"start": {
"line": 196,
"column": 44
},
"end": {
"line": 196,
"column": 58
}
}
},
{
"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": 196,
"column": 58
},
"end": {
"line": 196,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "worldPos",
"start": 7947,
"end": 7955,
"loc": {
"start": {
"line": 196,
"column": 59
},
"end": {
"line": 196,
"column": 67
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7955,
"end": 7956,
"loc": {
"start": {
"line": 196,
"column": 67
},
"end": {
"line": 196,
"column": 68
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 7956,
"end": 7957,
"loc": {
"start": {
"line": 196,
"column": 68
},
"end": {
"line": 196,
"column": 69
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7957,
"end": 7958,
"loc": {
"start": {
"line": 196,
"column": 69
},
"end": {
"line": 196,
"column": 70
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "worldPos",
"start": 7959,
"end": 7967,
"loc": {
"start": {
"line": 196,
"column": 71
},
"end": {
"line": 196,
"column": 79
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7967,
"end": 7968,
"loc": {
"start": {
"line": 196,
"column": 79
},
"end": {
"line": 196,
"column": 80
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 7968,
"end": 7969,
"loc": {
"start": {
"line": 196,
"column": 80
},
"end": {
"line": 196,
"column": 81
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7969,
"end": 7970,
"loc": {
"start": {
"line": 196,
"column": 81
},
"end": {
"line": 196,
"column": 82
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalConfig",
"start": 7971,
"end": 7983,
"loc": {
"start": {
"line": 196,
"column": 83
},
"end": {
"line": 196,
"column": 95
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7983,
"end": 7984,
"loc": {
"start": {
"line": 196,
"column": 95
},
"end": {
"line": 196,
"column": 96
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "halfTileSize",
"start": 7984,
"end": 7996,
"loc": {
"start": {
"line": 196,
"column": 96
},
"end": {
"line": 196,
"column": 108
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7996,
"end": 7997,
"loc": {
"start": {
"line": 196,
"column": 108
},
"end": {
"line": 196,
"column": 109
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7997,
"end": 7998,
"loc": {
"start": {
"line": 196,
"column": 109
},
"end": {
"line": 196,
"column": 110
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7999,
"end": 8000,
"loc": {
"start": {
"line": 196,
"column": 111
},
"end": {
"line": 196,
"column": 112
}
}
},
{
"type": {
"label": "continue",
"keyword": "continue",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "continue",
"start": 8022,
"end": 8030,
"loc": {
"start": {
"line": 197,
"column": 20
},
"end": {
"line": 197,
"column": 28
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8030,
"end": 8031,
"loc": {
"start": {
"line": 197,
"column": 28
},
"end": {
"line": 197,
"column": 29
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8049,
"end": 8050,
"loc": {
"start": {
"line": 198,
"column": 16
},
"end": {
"line": 198,
"column": 17
}
}
},
{
"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": 8070,
"end": 8075,
"loc": {
"start": {
"line": 200,
"column": 16
},
"end": {
"line": 200,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "effectiveRotation",
"start": 8076,
"end": 8093,
"loc": {
"start": {
"line": 200,
"column": 22
},
"end": {
"line": 200,
"column": 39
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 8094,
"end": 8095,
"loc": {
"start": {
"line": 200,
"column": 40
},
"end": {
"line": 200,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Math",
"start": 8096,
"end": 8100,
"loc": {
"start": {
"line": 200,
"column": 42
},
"end": {
"line": 200,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8100,
"end": 8101,
"loc": {
"start": {
"line": 200,
"column": 46
},
"end": {
"line": 200,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "radians",
"start": 8101,
"end": 8108,
"loc": {
"start": {
"line": 200,
"column": 47
},
"end": {
"line": 200,
"column": 54
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8108,
"end": 8109,
"loc": {
"start": {
"line": 200,
"column": 54
},
"end": {
"line": 200,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "staticComp",
"start": 8131,
"end": 8141,
"loc": {
"start": {
"line": 201,
"column": 20
},
"end": {
"line": 201,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8141,
"end": 8142,
"loc": {
"start": {
"line": 201,
"column": 30
},
"end": {
"line": 201,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotation",
"start": 8142,
"end": 8150,
"loc": {
"start": {
"line": 201,
"column": 31
},
"end": {
"line": 201,
"column": 39
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 8151,
"end": 8152,
"loc": {
"start": {
"line": 201,
"column": 40
},
"end": {
"line": 201,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumDirectionToAngle",
"start": 8153,
"end": 8173,
"loc": {
"start": {
"line": 201,
"column": 42
},
"end": {
"line": 201,
"column": 62
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8173,
"end": 8174,
"loc": {
"start": {
"line": 201,
"column": 62
},
"end": {
"line": 201,
"column": 63
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slot",
"start": 8174,
"end": 8178,
"loc": {
"start": {
"line": 201,
"column": 63
},
"end": {
"line": 201,
"column": 67
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8178,
"end": 8179,
"loc": {
"start": {
"line": 201,
"column": 67
},
"end": {
"line": 201,
"column": 68
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "direction",
"start": 8179,
"end": 8188,
"loc": {
"start": {
"line": 201,
"column": 68
},
"end": {
"line": 201,
"column": 77
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8188,
"end": 8189,
"loc": {
"start": {
"line": 201,
"column": 77
},
"end": {
"line": 201,
"column": 78
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8207,
"end": 8208,
"loc": {
"start": {
"line": 202,
"column": 16
},
"end": {
"line": 202,
"column": 17
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8208,
"end": 8209,
"loc": {
"start": {
"line": 202,
"column": 17
},
"end": {
"line": 202,
"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": 8229,
"end": 8231,
"loc": {
"start": {
"line": 204,
"column": 16
},
"end": {
"line": 204,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8232,
"end": 8233,
"loc": {
"start": {
"line": 204,
"column": 19
},
"end": {
"line": 204,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "staticComp",
"start": 8233,
"end": 8243,
"loc": {
"start": {
"line": 204,
"column": 20
},
"end": {
"line": 204,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8243,
"end": 8244,
"loc": {
"start": {
"line": 204,
"column": 30
},
"end": {
"line": 204,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getMetaBuilding",
"start": 8244,
"end": 8259,
"loc": {
"start": {
"line": 204,
"column": 31
},
"end": {
"line": 204,
"column": 46
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8259,
"end": 8260,
"loc": {
"start": {
"line": 204,
"column": 46
},
"end": {
"line": 204,
"column": 47
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8260,
"end": 8261,
"loc": {
"start": {
"line": 204,
"column": 47
},
"end": {
"line": 204,
"column": 48
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8261,
"end": 8262,
"loc": {
"start": {
"line": 204,
"column": 48
},
"end": {
"line": 204,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getRenderPins",
"start": 8262,
"end": 8275,
"loc": {
"start": {
"line": 204,
"column": 49
},
"end": {
"line": 204,
"column": 62
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8275,
"end": 8276,
"loc": {
"start": {
"line": 204,
"column": 62
},
"end": {
"line": 204,
"column": 63
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 8276,
"end": 8280,
"loc": {
"start": {
"line": 204,
"column": 63
},
"end": {
"line": 204,
"column": 67
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8280,
"end": 8281,
"loc": {
"start": {
"line": 204,
"column": 67
},
"end": {
"line": 204,
"column": 68
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 8281,
"end": 8288,
"loc": {
"start": {
"line": 204,
"column": 68
},
"end": {
"line": 204,
"column": 75
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8288,
"end": 8289,
"loc": {
"start": {
"line": 204,
"column": 75
},
"end": {
"line": 204,
"column": 76
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8289,
"end": 8290,
"loc": {
"start": {
"line": 204,
"column": 76
},
"end": {
"line": 204,
"column": 77
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8291,
"end": 8292,
"loc": {
"start": {
"line": 204,
"column": 78
},
"end": {
"line": 204,
"column": 79
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "drawRotatedSprite",
"start": 8314,
"end": 8331,
"loc": {
"start": {
"line": 205,
"column": 20
},
"end": {
"line": 205,
"column": 37
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8331,
"end": 8332,
"loc": {
"start": {
"line": 205,
"column": 37
},
"end": {
"line": 205,
"column": 38
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8332,
"end": 8333,
"loc": {
"start": {
"line": 205,
"column": 38
},
"end": {
"line": 205,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 8359,
"end": 8369,
"loc": {
"start": {
"line": 206,
"column": 24
},
"end": {
"line": 206,
"column": 34
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8369,
"end": 8370,
"loc": {
"start": {
"line": 206,
"column": 34
},
"end": {
"line": 206,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "sprite",
"start": 8396,
"end": 8402,
"loc": {
"start": {
"line": 207,
"column": 24
},
"end": {
"line": 207,
"column": 30
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8402,
"end": 8403,
"loc": {
"start": {
"line": 207,
"column": 30
},
"end": {
"line": 207,
"column": 31
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 8404,
"end": 8408,
"loc": {
"start": {
"line": 207,
"column": 32
},
"end": {
"line": 207,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8408,
"end": 8409,
"loc": {
"start": {
"line": 207,
"column": 36
},
"end": {
"line": 207,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pinSprites",
"start": 8409,
"end": 8419,
"loc": {
"start": {
"line": 207,
"column": 37
},
"end": {
"line": 207,
"column": 47
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8419,
"end": 8420,
"loc": {
"start": {
"line": 207,
"column": 47
},
"end": {
"line": 207,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slot",
"start": 8420,
"end": 8424,
"loc": {
"start": {
"line": 207,
"column": 48
},
"end": {
"line": 207,
"column": 52
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8424,
"end": 8425,
"loc": {
"start": {
"line": 207,
"column": 52
},
"end": {
"line": 207,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "type",
"start": 8425,
"end": 8429,
"loc": {
"start": {
"line": 207,
"column": 53
},
"end": {
"line": 207,
"column": 57
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8429,
"end": 8430,
"loc": {
"start": {
"line": 207,
"column": 57
},
"end": {
"line": 207,
"column": 58
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8430,
"end": 8431,
"loc": {
"start": {
"line": 207,
"column": 58
},
"end": {
"line": 207,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 8457,
"end": 8458,
"loc": {
"start": {
"line": 208,
"column": 24
},
"end": {
"line": 208,
"column": 25
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8458,
"end": 8459,
"loc": {
"start": {
"line": 208,
"column": 25
},
"end": {
"line": 208,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "worldPos",
"start": 8460,
"end": 8468,
"loc": {
"start": {
"line": 208,
"column": 27
},
"end": {
"line": 208,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8468,
"end": 8469,
"loc": {
"start": {
"line": 208,
"column": 35
},
"end": {
"line": 208,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 8469,
"end": 8470,
"loc": {
"start": {
"line": 208,
"column": 36
},
"end": {
"line": 208,
"column": 37
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8470,
"end": 8471,
"loc": {
"start": {
"line": 208,
"column": 37
},
"end": {
"line": 208,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 8497,
"end": 8498,
"loc": {
"start": {
"line": 209,
"column": 24
},
"end": {
"line": 209,
"column": 25
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8498,
"end": 8499,
"loc": {
"start": {
"line": 209,
"column": 25
},
"end": {
"line": 209,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "worldPos",
"start": 8500,
"end": 8508,
"loc": {
"start": {
"line": 209,
"column": 27
},
"end": {
"line": 209,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8508,
"end": 8509,
"loc": {
"start": {
"line": 209,
"column": 35
},
"end": {
"line": 209,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 8509,
"end": 8510,
"loc": {
"start": {
"line": 209,
"column": 36
},
"end": {
"line": 209,
"column": 37
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8510,
"end": 8511,
"loc": {
"start": {
"line": 209,
"column": 37
},
"end": {
"line": 209,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "angle",
"start": 8537,
"end": 8542,
"loc": {
"start": {
"line": 210,
"column": 24
},
"end": {
"line": 210,
"column": 29
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8542,
"end": 8543,
"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": "effectiveRotation",
"start": 8544,
"end": 8561,
"loc": {
"start": {
"line": 210,
"column": 31
},
"end": {
"line": 210,
"column": 48
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8561,
"end": 8562,
"loc": {
"start": {
"line": 210,
"column": 48
},
"end": {
"line": 210,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "size",
"start": 8588,
"end": 8592,
"loc": {
"start": {
"line": 211,
"column": 24
},
"end": {
"line": 211,
"column": 28
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8592,
"end": 8593,
"loc": {
"start": {
"line": 211,
"column": 28
},
"end": {
"line": 211,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalConfig",
"start": 8594,
"end": 8606,
"loc": {
"start": {
"line": 211,
"column": 30
},
"end": {
"line": 211,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8606,
"end": 8607,
"loc": {
"start": {
"line": 211,
"column": 42
},
"end": {
"line": 211,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tileSize",
"start": 8607,
"end": 8615,
"loc": {
"start": {
"line": 211,
"column": 43
},
"end": {
"line": 211,
"column": 51
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 8616,
"end": 8617,
"loc": {
"start": {
"line": 211,
"column": 52
},
"end": {
"line": 211,
"column": 53
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 2,
"start": 8618,
"end": 8619,
"loc": {
"start": {
"line": 211,
"column": 54
},
"end": {
"line": 211,
"column": 55
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8619,
"end": 8620,
"loc": {
"start": {
"line": 211,
"column": 55
},
"end": {
"line": 211,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "offsetX",
"start": 8646,
"end": 8653,
"loc": {
"start": {
"line": 212,
"column": 24
},
"end": {
"line": 212,
"column": 31
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8653,
"end": 8654,
"loc": {
"start": {
"line": 212,
"column": 31
},
"end": {
"line": 212,
"column": 32
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 8655,
"end": 8656,
"loc": {
"start": {
"line": 212,
"column": 33
},
"end": {
"line": 212,
"column": 34
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8656,
"end": 8657,
"loc": {
"start": {
"line": 212,
"column": 34
},
"end": {
"line": 212,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "offsetY",
"start": 8683,
"end": 8690,
"loc": {
"start": {
"line": 213,
"column": 24
},
"end": {
"line": 213,
"column": 31
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8690,
"end": 8691,
"loc": {
"start": {
"line": 213,
"column": 31
},
"end": {
"line": 213,
"column": 32
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 8692,
"end": 8693,
"loc": {
"start": {
"line": 213,
"column": 33
},
"end": {
"line": 213,
"column": 34
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8693,
"end": 8694,
"loc": {
"start": {
"line": 213,
"column": 34
},
"end": {
"line": 213,
"column": 35
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8716,
"end": 8717,
"loc": {
"start": {
"line": 214,
"column": 20
},
"end": {
"line": 214,
"column": 21
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8717,
"end": 8718,
"loc": {
"start": {
"line": 214,
"column": 21
},
"end": {
"line": 214,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8718,
"end": 8719,
"loc": {
"start": {
"line": 214,
"column": 22
},
"end": {
"line": 214,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8737,
"end": 8738,
"loc": {
"start": {
"line": 215,
"column": 16
},
"end": {
"line": 215,
"column": 17
}
}
},
{
"type": "CommentLine",
"value": " Draw contained item to visualize whats emitted",
"start": 8758,
"end": 8807,
"loc": {
"start": {
"line": 217,
"column": 16
},
"end": {
"line": 217,
"column": 65
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 8825,
"end": 8830,
"loc": {
"start": {
"line": 218,
"column": 16
},
"end": {
"line": 218,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "value",
"start": 8831,
"end": 8836,
"loc": {
"start": {
"line": 218,
"column": 22
},
"end": {
"line": 218,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 8837,
"end": 8838,
"loc": {
"start": {
"line": 218,
"column": 28
},
"end": {
"line": 218,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slot",
"start": 8839,
"end": 8843,
"loc": {
"start": {
"line": 218,
"column": 30
},
"end": {
"line": 218,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8843,
"end": 8844,
"loc": {
"start": {
"line": 218,
"column": 34
},
"end": {
"line": 218,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "value",
"start": 8844,
"end": 8849,
"loc": {
"start": {
"line": 218,
"column": 35
},
"end": {
"line": 218,
"column": 40
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8849,
"end": 8850,
"loc": {
"start": {
"line": 218,
"column": 40
},
"end": {
"line": 218,
"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": 8868,
"end": 8870,
"loc": {
"start": {
"line": 219,
"column": 16
},
"end": {
"line": 219,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8871,
"end": 8872,
"loc": {
"start": {
"line": 219,
"column": 19
},
"end": {
"line": 219,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "value",
"start": 8872,
"end": 8877,
"loc": {
"start": {
"line": 219,
"column": 20
},
"end": {
"line": 219,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8877,
"end": 8878,
"loc": {
"start": {
"line": 219,
"column": 25
},
"end": {
"line": 219,
"column": 26
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8879,
"end": 8880,
"loc": {
"start": {
"line": 219,
"column": 27
},
"end": {
"line": 219,
"column": 28
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 8902,
"end": 8907,
"loc": {
"start": {
"line": 220,
"column": 20
},
"end": {
"line": 220,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "offset",
"start": 8908,
"end": 8914,
"loc": {
"start": {
"line": 220,
"column": 26
},
"end": {
"line": 220,
"column": 32
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 8915,
"end": 8916,
"loc": {
"start": {
"line": 220,
"column": 33
},
"end": {
"line": 220,
"column": 34
}
}
},
{
"type": {
"label": "new",
"keyword": "new",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "new",
"start": 8917,
"end": 8920,
"loc": {
"start": {
"line": 220,
"column": 35
},
"end": {
"line": 220,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Vector",
"start": 8921,
"end": 8927,
"loc": {
"start": {
"line": 220,
"column": 39
},
"end": {
"line": 220,
"column": 45
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8927,
"end": 8928,
"loc": {
"start": {
"line": 220,
"column": 45
},
"end": {
"line": 220,
"column": 46
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 8928,
"end": 8929,
"loc": {
"start": {
"line": 220,
"column": 46
},
"end": {
"line": 220,
"column": 47
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8929,
"end": 8930,
"loc": {
"start": {
"line": 220,
"column": 47
},
"end": {
"line": 220,
"column": 48
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 8931,
"end": 8932,
"loc": {
"start": {
"line": 220,
"column": 49
},
"end": {
"line": 220,
"column": 50
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 9.1,
"start": 8932,
"end": 8935,
"loc": {
"start": {
"line": 220,
"column": 50
},
"end": {
"line": 220,
"column": 53
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8935,
"end": 8936,
"loc": {
"start": {
"line": 220,
"column": 53
},
"end": {
"line": 220,
"column": 54
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8936,
"end": 8937,
"loc": {
"start": {
"line": 220,
"column": 54
},
"end": {
"line": 220,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotated",
"start": 8937,
"end": 8944,
"loc": {
"start": {
"line": 220,
"column": 55
},
"end": {
"line": 220,
"column": 62
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8944,
"end": 8945,
"loc": {
"start": {
"line": 220,
"column": 62
},
"end": {
"line": 220,
"column": 63
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "effectiveRotation",
"start": 8945,
"end": 8962,
"loc": {
"start": {
"line": 220,
"column": 63
},
"end": {
"line": 220,
"column": 80
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8962,
"end": 8963,
"loc": {
"start": {
"line": 220,
"column": 80
},
"end": {
"line": 220,
"column": 81
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8963,
"end": 8964,
"loc": {
"start": {
"line": 220,
"column": 81
},
"end": {
"line": 220,
"column": 82
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "value",
"start": 8988,
"end": 8993,
"loc": {
"start": {
"line": 222,
"column": 20
},
"end": {
"line": 222,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8993,
"end": 8994,
"loc": {
"start": {
"line": 222,
"column": 25
},
"end": {
"line": 222,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "drawItemCenteredClipped",
"start": 8994,
"end": 9017,
"loc": {
"start": {
"line": 222,
"column": 26
},
"end": {
"line": 222,
"column": 49
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9017,
"end": 9018,
"loc": {
"start": {
"line": 222,
"column": 49
},
"end": {
"line": 222,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "worldPos",
"start": 9044,
"end": 9052,
"loc": {
"start": {
"line": 223,
"column": 24
},
"end": {
"line": 223,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9052,
"end": 9053,
"loc": {
"start": {
"line": 223,
"column": 32
},
"end": {
"line": 223,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 9053,
"end": 9054,
"loc": {
"start": {
"line": 223,
"column": 33
},
"end": {
"line": 223,
"column": 34
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 9055,
"end": 9056,
"loc": {
"start": {
"line": 223,
"column": 35
},
"end": {
"line": 223,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "offset",
"start": 9057,
"end": 9063,
"loc": {
"start": {
"line": 223,
"column": 37
},
"end": {
"line": 223,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9063,
"end": 9064,
"loc": {
"start": {
"line": 223,
"column": 43
},
"end": {
"line": 223,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 9064,
"end": 9065,
"loc": {
"start": {
"line": 223,
"column": 44
},
"end": {
"line": 223,
"column": 45
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9065,
"end": 9066,
"loc": {
"start": {
"line": 223,
"column": 45
},
"end": {
"line": 223,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "worldPos",
"start": 9092,
"end": 9100,
"loc": {
"start": {
"line": 224,
"column": 24
},
"end": {
"line": 224,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9100,
"end": 9101,
"loc": {
"start": {
"line": 224,
"column": 32
},
"end": {
"line": 224,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 9101,
"end": 9102,
"loc": {
"start": {
"line": 224,
"column": 33
},
"end": {
"line": 224,
"column": 34
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 9103,
"end": 9104,
"loc": {
"start": {
"line": 224,
"column": 35
},
"end": {
"line": 224,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "offset",
"start": 9105,
"end": 9111,
"loc": {
"start": {
"line": 224,
"column": 37
},
"end": {
"line": 224,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9111,
"end": 9112,
"loc": {
"start": {
"line": 224,
"column": 43
},
"end": {
"line": 224,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 9112,
"end": 9113,
"loc": {
"start": {
"line": 224,
"column": 44
},
"end": {
"line": 224,
"column": 45
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9113,
"end": 9114,
"loc": {
"start": {
"line": 224,
"column": 45
},
"end": {
"line": 224,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 9140,
"end": 9150,
"loc": {
"start": {
"line": 225,
"column": 24
},
"end": {
"line": 225,
"column": 34
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9150,
"end": 9151,
"loc": {
"start": {
"line": 225,
"column": 34
},
"end": {
"line": 225,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumTypeToSize",
"start": 9177,
"end": 9191,
"loc": {
"start": {
"line": 226,
"column": 24
},
"end": {
"line": 226,
"column": 38
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9191,
"end": 9192,
"loc": {
"start": {
"line": 226,
"column": 38
},
"end": {
"line": 226,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "value",
"start": 9192,
"end": 9197,
"loc": {
"start": {
"line": 226,
"column": 39
},
"end": {
"line": 226,
"column": 44
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9197,
"end": 9198,
"loc": {
"start": {
"line": 226,
"column": 44
},
"end": {
"line": 226,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getItemType",
"start": 9198,
"end": 9209,
"loc": {
"start": {
"line": 226,
"column": 45
},
"end": {
"line": 226,
"column": 56
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9209,
"end": 9210,
"loc": {
"start": {
"line": 226,
"column": 56
},
"end": {
"line": 226,
"column": 57
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9210,
"end": 9211,
"loc": {
"start": {
"line": 226,
"column": 57
},
"end": {
"line": 226,
"column": 58
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9211,
"end": 9212,
"loc": {
"start": {
"line": 226,
"column": 58
},
"end": {
"line": 226,
"column": 59
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9234,
"end": 9235,
"loc": {
"start": {
"line": 227,
"column": 20
},
"end": {
"line": 227,
"column": 21
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9235,
"end": 9236,
"loc": {
"start": {
"line": 227,
"column": 21
},
"end": {
"line": 227,
"column": 22
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9254,
"end": 9255,
"loc": {
"start": {
"line": 228,
"column": 16
},
"end": {
"line": 228,
"column": 17
}
}
},
{
"type": "CommentLine",
"value": " Debug view",
"start": 9275,
"end": 9288,
"loc": {
"start": {
"line": 230,
"column": 16
},
"end": {
"line": 230,
"column": 29
}
}
},
{
"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": 9306,
"end": 9308,
"loc": {
"start": {
"line": 231,
"column": 16
},
"end": {
"line": 231,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9309,
"end": 9310,
"loc": {
"start": {
"line": 231,
"column": 19
},
"end": {
"line": 231,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "G_IS_DEV",
"start": 9310,
"end": 9318,
"loc": {
"start": {
"line": 231,
"column": 20
},
"end": {
"line": 231,
"column": 28
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 9319,
"end": 9321,
"loc": {
"start": {
"line": 231,
"column": 29
},
"end": {
"line": 231,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalConfig",
"start": 9322,
"end": 9334,
"loc": {
"start": {
"line": 231,
"column": 32
},
"end": {
"line": 231,
"column": 44
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9334,
"end": 9335,
"loc": {
"start": {
"line": 231,
"column": 44
},
"end": {
"line": 231,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "debug",
"start": 9335,
"end": 9340,
"loc": {
"start": {
"line": 231,
"column": 45
},
"end": {
"line": 231,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9340,
"end": 9341,
"loc": {
"start": {
"line": 231,
"column": 50
},
"end": {
"line": 231,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "renderWireNetworkInfos",
"start": 9341,
"end": 9363,
"loc": {
"start": {
"line": 231,
"column": 51
},
"end": {
"line": 231,
"column": 73
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9363,
"end": 9364,
"loc": {
"start": {
"line": 231,
"column": 73
},
"end": {
"line": 231,
"column": 74
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9365,
"end": 9366,
"loc": {
"start": {
"line": 231,
"column": 75
},
"end": {
"line": 231,
"column": 76
}
}
},
{
"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": 9388,
"end": 9393,
"loc": {
"start": {
"line": 232,
"column": 20
},
"end": {
"line": 232,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "offset",
"start": 9394,
"end": 9400,
"loc": {
"start": {
"line": 232,
"column": 26
},
"end": {
"line": 232,
"column": 32
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 9401,
"end": 9402,
"loc": {
"start": {
"line": 232,
"column": 33
},
"end": {
"line": 232,
"column": 34
}
}
},
{
"type": {
"label": "new",
"keyword": "new",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "new",
"start": 9403,
"end": 9406,
"loc": {
"start": {
"line": 232,
"column": 35
},
"end": {
"line": 232,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Vector",
"start": 9407,
"end": 9413,
"loc": {
"start": {
"line": 232,
"column": 39
},
"end": {
"line": 232,
"column": 45
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9413,
"end": 9414,
"loc": {
"start": {
"line": 232,
"column": 45
},
"end": {
"line": 232,
"column": 46
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 9414,
"end": 9415,
"loc": {
"start": {
"line": 232,
"column": 46
},
"end": {
"line": 232,
"column": 47
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9415,
"end": 9416,
"loc": {
"start": {
"line": 232,
"column": 47
},
"end": {
"line": 232,
"column": 48
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 9417,
"end": 9418,
"loc": {
"start": {
"line": 232,
"column": 49
},
"end": {
"line": 232,
"column": 50
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 10,
"start": 9418,
"end": 9420,
"loc": {
"start": {
"line": 232,
"column": 50
},
"end": {
"line": 232,
"column": 52
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9420,
"end": 9421,
"loc": {
"start": {
"line": 232,
"column": 52
},
"end": {
"line": 232,
"column": 53
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9421,
"end": 9422,
"loc": {
"start": {
"line": 232,
"column": 53
},
"end": {
"line": 232,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotated",
"start": 9422,
"end": 9429,
"loc": {
"start": {
"line": 232,
"column": 54
},
"end": {
"line": 232,
"column": 61
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9429,
"end": 9430,
"loc": {
"start": {
"line": 232,
"column": 61
},
"end": {
"line": 232,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "effectiveRotation",
"start": 9430,
"end": 9447,
"loc": {
"start": {
"line": 232,
"column": 62
},
"end": {
"line": 232,
"column": 79
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9447,
"end": 9448,
"loc": {
"start": {
"line": 232,
"column": 79
},
"end": {
"line": 232,
"column": 80
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9448,
"end": 9449,
"loc": {
"start": {
"line": 232,
"column": 80
},
"end": {
"line": 232,
"column": 81
}
}
},
{
"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": 9471,
"end": 9476,
"loc": {
"start": {
"line": 233,
"column": 20
},
"end": {
"line": 233,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "network",
"start": 9477,
"end": 9484,
"loc": {
"start": {
"line": 233,
"column": 26
},
"end": {
"line": 233,
"column": 33
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 9485,
"end": 9486,
"loc": {
"start": {
"line": 233,
"column": 34
},
"end": {
"line": 233,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slot",
"start": 9487,
"end": 9491,
"loc": {
"start": {
"line": 233,
"column": 36
},
"end": {
"line": 233,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9491,
"end": 9492,
"loc": {
"start": {
"line": 233,
"column": 40
},
"end": {
"line": 233,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "linkedNetwork",
"start": 9492,
"end": 9505,
"loc": {
"start": {
"line": 233,
"column": 41
},
"end": {
"line": 233,
"column": 54
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9505,
"end": 9506,
"loc": {
"start": {
"line": 233,
"column": 54
},
"end": {
"line": 233,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 9528,
"end": 9538,
"loc": {
"start": {
"line": 234,
"column": 20
},
"end": {
"line": 234,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9538,
"end": 9539,
"loc": {
"start": {
"line": 234,
"column": 30
},
"end": {
"line": 234,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 9539,
"end": 9546,
"loc": {
"start": {
"line": 234,
"column": 31
},
"end": {
"line": 234,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9546,
"end": 9547,
"loc": {
"start": {
"line": 234,
"column": 38
},
"end": {
"line": 234,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fillStyle",
"start": 9547,
"end": 9556,
"loc": {
"start": {
"line": 234,
"column": 39
},
"end": {
"line": 234,
"column": 48
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 9557,
"end": 9558,
"loc": {
"start": {
"line": 234,
"column": 49
},
"end": {
"line": 234,
"column": 50
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "blue",
"start": 9559,
"end": 9565,
"loc": {
"start": {
"line": 234,
"column": 51
},
"end": {
"line": 234,
"column": 57
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9565,
"end": 9566,
"loc": {
"start": {
"line": 234,
"column": 57
},
"end": {
"line": 234,
"column": 58
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 9588,
"end": 9598,
"loc": {
"start": {
"line": 235,
"column": 20
},
"end": {
"line": 235,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9598,
"end": 9599,
"loc": {
"start": {
"line": 235,
"column": 30
},
"end": {
"line": 235,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 9599,
"end": 9606,
"loc": {
"start": {
"line": 235,
"column": 31
},
"end": {
"line": 235,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9606,
"end": 9607,
"loc": {
"start": {
"line": 235,
"column": 38
},
"end": {
"line": 235,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "font",
"start": 9607,
"end": 9611,
"loc": {
"start": {
"line": 235,
"column": 39
},
"end": {
"line": 235,
"column": 43
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 9612,
"end": 9613,
"loc": {
"start": {
"line": 235,
"column": 44
},
"end": {
"line": 235,
"column": 45
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "5px Tahoma",
"start": 9614,
"end": 9626,
"loc": {
"start": {
"line": 235,
"column": 46
},
"end": {
"line": 235,
"column": 58
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9626,
"end": 9627,
"loc": {
"start": {
"line": 235,
"column": 58
},
"end": {
"line": 235,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 9649,
"end": 9659,
"loc": {
"start": {
"line": 236,
"column": 20
},
"end": {
"line": 236,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9659,
"end": 9660,
"loc": {
"start": {
"line": 236,
"column": 30
},
"end": {
"line": 236,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 9660,
"end": 9667,
"loc": {
"start": {
"line": 236,
"column": 31
},
"end": {
"line": 236,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9667,
"end": 9668,
"loc": {
"start": {
"line": 236,
"column": 38
},
"end": {
"line": 236,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "textAlign",
"start": 9668,
"end": 9677,
"loc": {
"start": {
"line": 236,
"column": 39
},
"end": {
"line": 236,
"column": 48
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 9678,
"end": 9679,
"loc": {
"start": {
"line": 236,
"column": 49
},
"end": {
"line": 236,
"column": 50
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "center",
"start": 9680,
"end": 9688,
"loc": {
"start": {
"line": 236,
"column": 51
},
"end": {
"line": 236,
"column": 59
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9688,
"end": 9689,
"loc": {
"start": {
"line": 236,
"column": 59
},
"end": {
"line": 236,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 9711,
"end": 9721,
"loc": {
"start": {
"line": 237,
"column": 20
},
"end": {
"line": 237,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9721,
"end": 9722,
"loc": {
"start": {
"line": 237,
"column": 30
},
"end": {
"line": 237,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 9722,
"end": 9729,
"loc": {
"start": {
"line": 237,
"column": 31
},
"end": {
"line": 237,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9729,
"end": 9730,
"loc": {
"start": {
"line": 237,
"column": 38
},
"end": {
"line": 237,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fillText",
"start": 9730,
"end": 9738,
"loc": {
"start": {
"line": 237,
"column": 39
},
"end": {
"line": 237,
"column": 47
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9738,
"end": 9739,
"loc": {
"start": {
"line": 237,
"column": 47
},
"end": {
"line": 237,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "network",
"start": 9765,
"end": 9772,
"loc": {
"start": {
"line": 238,
"column": 24
},
"end": {
"line": 238,
"column": 31
}
}
},
{
"type": {
"label": "?",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9773,
"end": 9774,
"loc": {
"start": {
"line": 238,
"column": 32
},
"end": {
"line": 238,
"column": 33
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "S",
"start": 9775,
"end": 9778,
"loc": {
"start": {
"line": 238,
"column": 34
},
"end": {
"line": 238,
"column": 37
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 9779,
"end": 9780,
"loc": {
"start": {
"line": 238,
"column": 38
},
"end": {
"line": 238,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "network",
"start": 9781,
"end": 9788,
"loc": {
"start": {
"line": 238,
"column": 40
},
"end": {
"line": 238,
"column": 47
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9788,
"end": 9789,
"loc": {
"start": {
"line": 238,
"column": 47
},
"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": "uid",
"start": 9789,
"end": 9792,
"loc": {
"start": {
"line": 238,
"column": 48
},
"end": {
"line": 238,
"column": 51
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9793,
"end": 9794,
"loc": {
"start": {
"line": 238,
"column": 52
},
"end": {
"line": 238,
"column": 53
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "???",
"start": 9795,
"end": 9800,
"loc": {
"start": {
"line": 238,
"column": 54
},
"end": {
"line": 238,
"column": 59
}
}
},
{
"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": 238,
"column": 59
},
"end": {
"line": 238,
"column": 60
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9827,
"end": 9828,
"loc": {
"start": {
"line": 239,
"column": 24
},
"end": {
"line": 239,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tile",
"start": 9828,
"end": 9832,
"loc": {
"start": {
"line": 239,
"column": 25
},
"end": {
"line": 239,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9832,
"end": 9833,
"loc": {
"start": {
"line": 239,
"column": 29
},
"end": {
"line": 239,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 9833,
"end": 9834,
"loc": {
"start": {
"line": 239,
"column": 30
},
"end": {
"line": 239,
"column": 31
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 9835,
"end": 9836,
"loc": {
"start": {
"line": 239,
"column": 32
},
"end": {
"line": 239,
"column": 33
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0.5,
"start": 9837,
"end": 9840,
"loc": {
"start": {
"line": 239,
"column": 34
},
"end": {
"line": 239,
"column": 37
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9840,
"end": 9841,
"loc": {
"start": {
"line": 239,
"column": 37
},
"end": {
"line": 239,
"column": 38
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 9842,
"end": 9843,
"loc": {
"start": {
"line": 239,
"column": 39
},
"end": {
"line": 239,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalConfig",
"start": 9844,
"end": 9856,
"loc": {
"start": {
"line": 239,
"column": 41
},
"end": {
"line": 239,
"column": 53
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9856,
"end": 9857,
"loc": {
"start": {
"line": 239,
"column": 53
},
"end": {
"line": 239,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tileSize",
"start": 9857,
"end": 9865,
"loc": {
"start": {
"line": 239,
"column": 54
},
"end": {
"line": 239,
"column": 62
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 9866,
"end": 9867,
"loc": {
"start": {
"line": 239,
"column": 63
},
"end": {
"line": 239,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "offset",
"start": 9868,
"end": 9874,
"loc": {
"start": {
"line": 239,
"column": 65
},
"end": {
"line": 239,
"column": 71
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9874,
"end": 9875,
"loc": {
"start": {
"line": 239,
"column": 71
},
"end": {
"line": 239,
"column": 72
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 9875,
"end": 9876,
"loc": {
"start": {
"line": 239,
"column": 72
},
"end": {
"line": 239,
"column": 73
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9876,
"end": 9877,
"loc": {
"start": {
"line": 239,
"column": 73
},
"end": {
"line": 239,
"column": 74
}
}
},
{
"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": 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": "tile",
"start": 9904,
"end": 9908,
"loc": {
"start": {
"line": 240,
"column": 25
},
"end": {
"line": 240,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9908,
"end": 9909,
"loc": {
"start": {
"line": 240,
"column": 29
},
"end": {
"line": 240,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 9909,
"end": 9910,
"loc": {
"start": {
"line": 240,
"column": 30
},
"end": {
"line": 240,
"column": 31
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 9911,
"end": 9912,
"loc": {
"start": {
"line": 240,
"column": 32
},
"end": {
"line": 240,
"column": 33
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0.5,
"start": 9913,
"end": 9916,
"loc": {
"start": {
"line": 240,
"column": 34
},
"end": {
"line": 240,
"column": 37
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9916,
"end": 9917,
"loc": {
"start": {
"line": 240,
"column": 37
},
"end": {
"line": 240,
"column": 38
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 9918,
"end": 9919,
"loc": {
"start": {
"line": 240,
"column": 39
},
"end": {
"line": 240,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalConfig",
"start": 9920,
"end": 9932,
"loc": {
"start": {
"line": 240,
"column": 41
},
"end": {
"line": 240,
"column": 53
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9932,
"end": 9933,
"loc": {
"start": {
"line": 240,
"column": 53
},
"end": {
"line": 240,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tileSize",
"start": 9933,
"end": 9941,
"loc": {
"start": {
"line": 240,
"column": 54
},
"end": {
"line": 240,
"column": 62
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 9942,
"end": 9943,
"loc": {
"start": {
"line": 240,
"column": 63
},
"end": {
"line": 240,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "offset",
"start": 9944,
"end": 9950,
"loc": {
"start": {
"line": 240,
"column": 65
},
"end": {
"line": 240,
"column": 71
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9950,
"end": 9951,
"loc": {
"start": {
"line": 240,
"column": 71
},
"end": {
"line": 240,
"column": 72
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 9951,
"end": 9952,
"loc": {
"start": {
"line": 240,
"column": 72
},
"end": {
"line": 240,
"column": 73
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9974,
"end": 9975,
"loc": {
"start": {
"line": 241,
"column": 20
},
"end": {
"line": 241,
"column": 21
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9975,
"end": 9976,
"loc": {
"start": {
"line": 241,
"column": 21
},
"end": {
"line": 241,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 9998,
"end": 10008,
"loc": {
"start": {
"line": 242,
"column": 20
},
"end": {
"line": 242,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10008,
"end": 10009,
"loc": {
"start": {
"line": 242,
"column": 30
},
"end": {
"line": 242,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 10009,
"end": 10016,
"loc": {
"start": {
"line": 242,
"column": 31
},
"end": {
"line": 242,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10016,
"end": 10017,
"loc": {
"start": {
"line": 242,
"column": 38
},
"end": {
"line": 242,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "textAlign",
"start": 10017,
"end": 10026,
"loc": {
"start": {
"line": 242,
"column": 39
},
"end": {
"line": 242,
"column": 48
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 10027,
"end": 10028,
"loc": {
"start": {
"line": 242,
"column": 49
},
"end": {
"line": 242,
"column": 50
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "left",
"start": 10029,
"end": 10035,
"loc": {
"start": {
"line": 242,
"column": 51
},
"end": {
"line": 242,
"column": 57
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10035,
"end": 10036,
"loc": {
"start": {
"line": 242,
"column": 57
},
"end": {
"line": 242,
"column": 58
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10054,
"end": 10055,
"loc": {
"start": {
"line": 243,
"column": 16
},
"end": {
"line": 243,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10069,
"end": 10070,
"loc": {
"start": {
"line": 244,
"column": 12
},
"end": {
"line": 244,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10080,
"end": 10081,
"loc": {
"start": {
"line": 245,
"column": 8
},
"end": {
"line": 245,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10087,
"end": 10088,
"loc": {
"start": {
"line": 246,
"column": 4
},
"end": {
"line": 246,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10090,
"end": 10091,
"loc": {
"start": {
"line": 247,
"column": 0
},
"end": {
"line": 247,
"column": 1
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10091,
"end": 10091,
"loc": {
"start": {
"line": 247,
"column": 1
},
"end": {
"line": 247,
"column": 1
}
}
}
]
}