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

45030 lines
1.2 MiB

{
"type": "File",
"start": 0,
"end": 7962,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 219,
"column": 1
}
},
"program": {
"type": "Program",
"start": 0,
"end": 7962,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 219,
"column": 1
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 46,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 46
}
},
"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": 45,
"loc": {
"start": {
"line": 1,
"column": 29
},
"end": {
"line": 1,
"column": 45
}
},
"extra": {
"rawValue": "../core/config",
"raw": "\"../core/config\""
},
"value": "../core/config"
}
},
{
"type": "ImportDeclaration",
"start": 48,
"end": 105,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 57
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 57,
"end": 71,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 23
}
},
"imported": {
"type": "Identifier",
"start": 57,
"end": 71,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 23
},
"identifierName": "DrawParameters"
},
"name": "DrawParameters"
},
"local": {
"type": "Identifier",
"start": 57,
"end": 71,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 23
},
"identifierName": "DrawParameters"
},
"name": "DrawParameters"
}
}
],
"source": {
"type": "StringLiteral",
"start": 79,
"end": 104,
"loc": {
"start": {
"line": 2,
"column": 31
},
"end": {
"line": 2,
"column": 56
}
},
"extra": {
"rawValue": "../core/draw_parameters",
"raw": "\"../core/draw_parameters\""
},
"value": "../core/draw_parameters"
}
},
{
"type": "ImportDeclaration",
"start": 107,
"end": 139,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 32
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 116,
"end": 123,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 16
}
},
"imported": {
"type": "Identifier",
"start": 116,
"end": 123,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 16
},
"identifierName": "BaseMap"
},
"name": "BaseMap"
},
"local": {
"type": "Identifier",
"start": 116,
"end": 123,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 16
},
"identifierName": "BaseMap"
},
"name": "BaseMap"
}
}
],
"source": {
"type": "StringLiteral",
"start": 131,
"end": 138,
"loc": {
"start": {
"line": 3,
"column": 24
},
"end": {
"line": 3,
"column": 31
}
},
"extra": {
"rawValue": "./map",
"raw": "\"./map\""
},
"value": "./map"
}
},
{
"type": "ImportDeclaration",
"start": 141,
"end": 212,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 71
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 150,
"end": 160,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 19
}
},
"imported": {
"type": "Identifier",
"start": 150,
"end": 160,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 19
},
"identifierName": "freeCanvas"
},
"name": "freeCanvas"
},
"local": {
"type": "Identifier",
"start": 150,
"end": 160,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 19
},
"identifierName": "freeCanvas"
},
"name": "freeCanvas"
}
},
{
"type": "ImportSpecifier",
"start": 162,
"end": 181,
"loc": {
"start": {
"line": 4,
"column": 21
},
"end": {
"line": 4,
"column": 40
}
},
"imported": {
"type": "Identifier",
"start": 162,
"end": 181,
"loc": {
"start": {
"line": 4,
"column": 21
},
"end": {
"line": 4,
"column": 40
},
"identifierName": "makeOffscreenBuffer"
},
"name": "makeOffscreenBuffer"
},
"local": {
"type": "Identifier",
"start": 162,
"end": 181,
"loc": {
"start": {
"line": 4,
"column": 21
},
"end": {
"line": 4,
"column": 40
},
"identifierName": "makeOffscreenBuffer"
},
"name": "makeOffscreenBuffer"
}
}
],
"source": {
"type": "StringLiteral",
"start": 189,
"end": 211,
"loc": {
"start": {
"line": 4,
"column": 48
},
"end": {
"line": 4,
"column": 70
}
},
"extra": {
"rawValue": "../core/buffer_utils",
"raw": "\"../core/buffer_utils\""
},
"value": "../core/buffer_utils"
}
},
{
"type": "ImportDeclaration",
"start": 214,
"end": 248,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 34
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 223,
"end": 229,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 15
}
},
"imported": {
"type": "Identifier",
"start": 223,
"end": 229,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 15
},
"identifierName": "Entity"
},
"name": "Entity"
},
"local": {
"type": "Identifier",
"start": 223,
"end": 229,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 15
},
"identifierName": "Entity"
},
"name": "Entity"
}
}
],
"source": {
"type": "StringLiteral",
"start": 237,
"end": 247,
"loc": {
"start": {
"line": 5,
"column": 23
},
"end": {
"line": 5,
"column": 33
}
},
"extra": {
"rawValue": "./entity",
"raw": "\"./entity\""
},
"value": "./entity"
}
},
{
"type": "ImportDeclaration",
"start": 250,
"end": 282,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 32
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 259,
"end": 264,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 14
}
},
"imported": {
"type": "Identifier",
"start": 259,
"end": 264,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 14
},
"identifierName": "THEME"
},
"name": "THEME"
},
"local": {
"type": "Identifier",
"start": 259,
"end": 264,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 14
},
"identifierName": "THEME"
},
"name": "THEME"
}
}
],
"source": {
"type": "StringLiteral",
"start": 272,
"end": 281,
"loc": {
"start": {
"line": 6,
"column": 22
},
"end": {
"line": 6,
"column": 31
}
},
"extra": {
"rawValue": "./theme",
"raw": "\"./theme\""
},
"value": "./theme"
}
},
{
"type": "ImportDeclaration",
"start": 284,
"end": 332,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 7,
"column": 48
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 293,
"end": 305,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 21
}
},
"imported": {
"type": "Identifier",
"start": 293,
"end": 305,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 21
},
"identifierName": "MapChunkView"
},
"name": "MapChunkView"
},
"local": {
"type": "Identifier",
"start": 293,
"end": 305,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 21
},
"identifierName": "MapChunkView"
},
"name": "MapChunkView"
}
}
],
"source": {
"type": "StringLiteral",
"start": 313,
"end": 331,
"loc": {
"start": {
"line": 7,
"column": 29
},
"end": {
"line": 7,
"column": 47
}
},
"extra": {
"rawValue": "./map_chunk_view",
"raw": "\"./map_chunk_view\""
},
"value": "./map_chunk_view"
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * This is the view of the map, it extends the map which is the raw model and allows\r\n * to draw it\r\n ",
"start": 336,
"end": 445,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 12,
"column": 3
}
}
}
]
},
{
"type": "ExportNamedDeclaration",
"start": 447,
"end": 7962,
"loc": {
"start": {
"line": 13,
"column": 0
},
"end": {
"line": 219,
"column": 1
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "ClassDeclaration",
"start": 454,
"end": 7962,
"loc": {
"start": {
"line": 13,
"column": 7
},
"end": {
"line": 219,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 460,
"end": 467,
"loc": {
"start": {
"line": 13,
"column": 13
},
"end": {
"line": 13,
"column": 20
},
"identifierName": "MapView"
},
"name": "MapView",
"leadingComments": null
},
"superClass": {
"type": "Identifier",
"start": 476,
"end": 483,
"loc": {
"start": {
"line": 13,
"column": 29
},
"end": {
"line": 13,
"column": 36
},
"identifierName": "BaseMap"
},
"name": "BaseMap"
},
"body": {
"type": "ClassBody",
"start": 484,
"end": 7962,
"loc": {
"start": {
"line": 13,
"column": 37
},
"end": {
"line": 219,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 491,
"end": 1300,
"loc": {
"start": {
"line": 14,
"column": 4
},
"end": {
"line": 35,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 491,
"end": 502,
"loc": {
"start": {
"line": 14,
"column": 4
},
"end": {
"line": 14,
"column": 15
},
"identifierName": "constructor"
},
"name": "constructor"
},
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 503,
"end": 507,
"loc": {
"start": {
"line": 14,
"column": 16
},
"end": {
"line": 14,
"column": 20
},
"identifierName": "root"
},
"name": "root"
}
],
"body": {
"type": "BlockStatement",
"start": 509,
"end": 1300,
"loc": {
"start": {
"line": 14,
"column": 22
},
"end": {
"line": 35,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 520,
"end": 532,
"loc": {
"start": {
"line": 15,
"column": 8
},
"end": {
"line": 15,
"column": 20
}
},
"expression": {
"type": "CallExpression",
"start": 520,
"end": 531,
"loc": {
"start": {
"line": 15,
"column": 8
},
"end": {
"line": 15,
"column": 19
}
},
"callee": {
"type": "Super",
"start": 520,
"end": 525,
"loc": {
"start": {
"line": 15,
"column": 8
},
"end": {
"line": 15,
"column": 13
}
}
},
"arguments": [
{
"type": "Identifier",
"start": 526,
"end": 530,
"loc": {
"start": {
"line": 15,
"column": 14
},
"end": {
"line": 15,
"column": 18
},
"identifierName": "root"
},
"name": "root"
}
]
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * DPI of the background cache images, required in some places\r\n ",
"start": 544,
"end": 632,
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 19,
"column": 11
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 642,
"end": 670,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 36
}
},
"expression": {
"type": "AssignmentExpression",
"start": 642,
"end": 669,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 35
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 642,
"end": 665,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 642,
"end": 646,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 12
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 647,
"end": 665,
"loc": {
"start": {
"line": 20,
"column": 13
},
"end": {
"line": 20,
"column": 31
},
"identifierName": "backgroundCacheDPI"
},
"name": "backgroundCacheDPI"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "NumericLiteral",
"start": 668,
"end": 669,
"loc": {
"start": {
"line": 20,
"column": 34
},
"end": {
"line": 20,
"column": 35
}
},
"extra": {
"rawValue": 2,
"raw": "2"
},
"value": 2
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * DPI of the background cache images, required in some places\r\n ",
"start": 544,
"end": 632,
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 19,
"column": 11
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * The cached background sprite, containing the flat background\r\n * @type {HTMLCanvasElement} ",
"start": 682,
"end": 799,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 24,
"column": 39
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 809,
"end": 844,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"column": 43
}
},
"expression": {
"type": "AssignmentExpression",
"start": 809,
"end": 843,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"column": 42
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 809,
"end": 836,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"column": 35
}
},
"object": {
"type": "ThisExpression",
"start": 809,
"end": 813,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"column": 12
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 814,
"end": 836,
"loc": {
"start": {
"line": 25,
"column": 13
},
"end": {
"line": 25,
"column": 35
},
"identifierName": "cachedBackgroundCanvas"
},
"name": "cachedBackgroundCanvas"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "NullLiteral",
"start": 839,
"end": 843,
"loc": {
"start": {
"line": 25,
"column": 38
},
"end": {
"line": 25,
"column": 42
}
}
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * The cached background sprite, containing the flat background\r\n * @type {HTMLCanvasElement} ",
"start": 682,
"end": 799,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 24,
"column": 39
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "* @type {CanvasRenderingContext2D} ",
"start": 856,
"end": 895,
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 27,
"column": 47
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 905,
"end": 941,
"loc": {
"start": {
"line": 28,
"column": 8
},
"end": {
"line": 28,
"column": 44
}
},
"expression": {
"type": "AssignmentExpression",
"start": 905,
"end": 940,
"loc": {
"start": {
"line": 28,
"column": 8
},
"end": {
"line": 28,
"column": 43
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 905,
"end": 933,
"loc": {
"start": {
"line": 28,
"column": 8
},
"end": {
"line": 28,
"column": 36
}
},
"object": {
"type": "ThisExpression",
"start": 905,
"end": 909,
"loc": {
"start": {
"line": 28,
"column": 8
},
"end": {
"line": 28,
"column": 12
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 910,
"end": 933,
"loc": {
"start": {
"line": 28,
"column": 13
},
"end": {
"line": 28,
"column": 36
},
"identifierName": "cachedBackgroundContext"
},
"name": "cachedBackgroundContext"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "NullLiteral",
"start": 936,
"end": 940,
"loc": {
"start": {
"line": 28,
"column": 39
},
"end": {
"line": 28,
"column": 43
}
}
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @type {CanvasRenderingContext2D} ",
"start": 856,
"end": 895,
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 27,
"column": 47
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 951,
"end": 1001,
"loc": {
"start": {
"line": 29,
"column": 8
},
"end": {
"line": 29,
"column": 58
}
},
"expression": {
"type": "CallExpression",
"start": 951,
"end": 1000,
"loc": {
"start": {
"line": 29,
"column": 8
},
"end": {
"line": 29,
"column": 57
}
},
"callee": {
"type": "MemberExpression",
"start": 951,
"end": 998,
"loc": {
"start": {
"line": 29,
"column": 8
},
"end": {
"line": 29,
"column": 55
}
},
"object": {
"type": "ThisExpression",
"start": 951,
"end": 955,
"loc": {
"start": {
"line": 29,
"column": 8
},
"end": {
"line": 29,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 956,
"end": 998,
"loc": {
"start": {
"line": 29,
"column": 13
},
"end": {
"line": 29,
"column": 55
},
"identifierName": "internalInitializeCachedBackgroundCanvases"
},
"name": "internalInitializeCachedBackgroundCanvases"
},
"computed": false
},
"arguments": []
}
},
{
"type": "ExpressionStatement",
"start": 1011,
"end": 1069,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 66
}
},
"expression": {
"type": "CallExpression",
"start": 1011,
"end": 1068,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 65
}
},
"callee": {
"type": "MemberExpression",
"start": 1011,
"end": 1048,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 45
}
},
"object": {
"type": "MemberExpression",
"start": 1011,
"end": 1044,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 41
}
},
"object": {
"type": "MemberExpression",
"start": 1011,
"end": 1028,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 25
}
},
"object": {
"type": "MemberExpression",
"start": 1011,
"end": 1020,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 17
}
},
"object": {
"type": "ThisExpression",
"start": 1011,
"end": 1015,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1016,
"end": 1020,
"loc": {
"start": {
"line": 30,
"column": 13
},
"end": {
"line": 30,
"column": 17
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1021,
"end": 1028,
"loc": {
"start": {
"line": 30,
"column": 18
},
"end": {
"line": 30,
"column": 25
},
"identifierName": "signals"
},
"name": "signals"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1029,
"end": 1044,
"loc": {
"start": {
"line": 30,
"column": 26
},
"end": {
"line": 30,
"column": 41
},
"identifierName": "aboutToDestruct"
},
"name": "aboutToDestruct"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1045,
"end": 1048,
"loc": {
"start": {
"line": 30,
"column": 42
},
"end": {
"line": 30,
"column": 45
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 1049,
"end": 1061,
"loc": {
"start": {
"line": 30,
"column": 46
},
"end": {
"line": 30,
"column": 58
}
},
"object": {
"type": "ThisExpression",
"start": 1049,
"end": 1053,
"loc": {
"start": {
"line": 30,
"column": 46
},
"end": {
"line": 30,
"column": 50
}
}
},
"property": {
"type": "Identifier",
"start": 1054,
"end": 1061,
"loc": {
"start": {
"line": 30,
"column": 51
},
"end": {
"line": 30,
"column": 58
},
"identifierName": "cleanup"
},
"name": "cleanup"
},
"computed": false
},
{
"type": "ThisExpression",
"start": 1063,
"end": 1067,
"loc": {
"start": {
"line": 30,
"column": 60
},
"end": {
"line": 30,
"column": 64
}
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1081,
"end": 1143,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 70
}
},
"expression": {
"type": "CallExpression",
"start": 1081,
"end": 1142,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 69
}
},
"callee": {
"type": "MemberExpression",
"start": 1081,
"end": 1114,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 41
}
},
"object": {
"type": "MemberExpression",
"start": 1081,
"end": 1110,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 37
}
},
"object": {
"type": "MemberExpression",
"start": 1081,
"end": 1098,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 25
}
},
"object": {
"type": "MemberExpression",
"start": 1081,
"end": 1090,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 17
}
},
"object": {
"type": "ThisExpression",
"start": 1081,
"end": 1085,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1086,
"end": 1090,
"loc": {
"start": {
"line": 32,
"column": 13
},
"end": {
"line": 32,
"column": 17
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1091,
"end": 1098,
"loc": {
"start": {
"line": 32,
"column": 18
},
"end": {
"line": 32,
"column": 25
},
"identifierName": "signals"
},
"name": "signals"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1099,
"end": 1110,
"loc": {
"start": {
"line": 32,
"column": 26
},
"end": {
"line": 32,
"column": 37
},
"identifierName": "entityAdded"
},
"name": "entityAdded"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1111,
"end": 1114,
"loc": {
"start": {
"line": 32,
"column": 38
},
"end": {
"line": 32,
"column": 41
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 1115,
"end": 1135,
"loc": {
"start": {
"line": 32,
"column": 42
},
"end": {
"line": 32,
"column": 62
}
},
"object": {
"type": "ThisExpression",
"start": 1115,
"end": 1119,
"loc": {
"start": {
"line": 32,
"column": 42
},
"end": {
"line": 32,
"column": 46
}
}
},
"property": {
"type": "Identifier",
"start": 1120,
"end": 1135,
"loc": {
"start": {
"line": 32,
"column": 47
},
"end": {
"line": 32,
"column": 62
},
"identifierName": "onEntityChanged"
},
"name": "onEntityChanged"
},
"computed": false
},
{
"type": "ThisExpression",
"start": 1137,
"end": 1141,
"loc": {
"start": {
"line": 32,
"column": 64
},
"end": {
"line": 32,
"column": 68
}
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1153,
"end": 1219,
"loc": {
"start": {
"line": 33,
"column": 8
},
"end": {
"line": 33,
"column": 74
}
},
"expression": {
"type": "CallExpression",
"start": 1153,
"end": 1218,
"loc": {
"start": {
"line": 33,
"column": 8
},
"end": {
"line": 33,
"column": 73
}
},
"callee": {
"type": "MemberExpression",
"start": 1153,
"end": 1190,
"loc": {
"start": {
"line": 33,
"column": 8
},
"end": {
"line": 33,
"column": 45
}
},
"object": {
"type": "MemberExpression",
"start": 1153,
"end": 1186,
"loc": {
"start": {
"line": 33,
"column": 8
},
"end": {
"line": 33,
"column": 41
}
},
"object": {
"type": "MemberExpression",
"start": 1153,
"end": 1170,
"loc": {
"start": {
"line": 33,
"column": 8
},
"end": {
"line": 33,
"column": 25
}
},
"object": {
"type": "MemberExpression",
"start": 1153,
"end": 1162,
"loc": {
"start": {
"line": 33,
"column": 8
},
"end": {
"line": 33,
"column": 17
}
},
"object": {
"type": "ThisExpression",
"start": 1153,
"end": 1157,
"loc": {
"start": {
"line": 33,
"column": 8
},
"end": {
"line": 33,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1158,
"end": 1162,
"loc": {
"start": {
"line": 33,
"column": 13
},
"end": {
"line": 33,
"column": 17
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1163,
"end": 1170,
"loc": {
"start": {
"line": 33,
"column": 18
},
"end": {
"line": 33,
"column": 25
},
"identifierName": "signals"
},
"name": "signals"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1171,
"end": 1186,
"loc": {
"start": {
"line": 33,
"column": 26
},
"end": {
"line": 33,
"column": 41
},
"identifierName": "entityDestroyed"
},
"name": "entityDestroyed"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1187,
"end": 1190,
"loc": {
"start": {
"line": 33,
"column": 42
},
"end": {
"line": 33,
"column": 45
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 1191,
"end": 1211,
"loc": {
"start": {
"line": 33,
"column": 46
},
"end": {
"line": 33,
"column": 66
}
},
"object": {
"type": "ThisExpression",
"start": 1191,
"end": 1195,
"loc": {
"start": {
"line": 33,
"column": 46
},
"end": {
"line": 33,
"column": 50
}
}
},
"property": {
"type": "Identifier",
"start": 1196,
"end": 1211,
"loc": {
"start": {
"line": 33,
"column": 51
},
"end": {
"line": 33,
"column": 66
},
"identifierName": "onEntityChanged"
},
"name": "onEntityChanged"
},
"computed": false
},
{
"type": "ThisExpression",
"start": 1213,
"end": 1217,
"loc": {
"start": {
"line": 33,
"column": 68
},
"end": {
"line": 33,
"column": 72
}
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1229,
"end": 1293,
"loc": {
"start": {
"line": 34,
"column": 8
},
"end": {
"line": 34,
"column": 72
}
},
"expression": {
"type": "CallExpression",
"start": 1229,
"end": 1292,
"loc": {
"start": {
"line": 34,
"column": 8
},
"end": {
"line": 34,
"column": 71
}
},
"callee": {
"type": "MemberExpression",
"start": 1229,
"end": 1264,
"loc": {
"start": {
"line": 34,
"column": 8
},
"end": {
"line": 34,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 1229,
"end": 1260,
"loc": {
"start": {
"line": 34,
"column": 8
},
"end": {
"line": 34,
"column": 39
}
},
"object": {
"type": "MemberExpression",
"start": 1229,
"end": 1246,
"loc": {
"start": {
"line": 34,
"column": 8
},
"end": {
"line": 34,
"column": 25
}
},
"object": {
"type": "MemberExpression",
"start": 1229,
"end": 1238,
"loc": {
"start": {
"line": 34,
"column": 8
},
"end": {
"line": 34,
"column": 17
}
},
"object": {
"type": "ThisExpression",
"start": 1229,
"end": 1233,
"loc": {
"start": {
"line": 34,
"column": 8
},
"end": {
"line": 34,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1234,
"end": 1238,
"loc": {
"start": {
"line": 34,
"column": 13
},
"end": {
"line": 34,
"column": 17
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1239,
"end": 1246,
"loc": {
"start": {
"line": 34,
"column": 18
},
"end": {
"line": 34,
"column": 25
},
"identifierName": "signals"
},
"name": "signals"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1247,
"end": 1260,
"loc": {
"start": {
"line": 34,
"column": 26
},
"end": {
"line": 34,
"column": 39
},
"identifierName": "entityChanged"
},
"name": "entityChanged"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1261,
"end": 1264,
"loc": {
"start": {
"line": 34,
"column": 40
},
"end": {
"line": 34,
"column": 43
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 1265,
"end": 1285,
"loc": {
"start": {
"line": 34,
"column": 44
},
"end": {
"line": 34,
"column": 64
}
},
"object": {
"type": "ThisExpression",
"start": 1265,
"end": 1269,
"loc": {
"start": {
"line": 34,
"column": 44
},
"end": {
"line": 34,
"column": 48
}
}
},
"property": {
"type": "Identifier",
"start": 1270,
"end": 1285,
"loc": {
"start": {
"line": 34,
"column": 49
},
"end": {
"line": 34,
"column": 64
},
"identifierName": "onEntityChanged"
},
"name": "onEntityChanged"
},
"computed": false
},
{
"type": "ThisExpression",
"start": 1287,
"end": 1291,
"loc": {
"start": {
"line": 34,
"column": 66
},
"end": {
"line": 34,
"column": 70
}
}
}
]
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 1308,
"end": 1421,
"loc": {
"start": {
"line": 37,
"column": 4
},
"end": {
"line": 40,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1308,
"end": 1315,
"loc": {
"start": {
"line": 37,
"column": 4
},
"end": {
"line": 37,
"column": 11
},
"identifierName": "cleanup"
},
"name": "cleanup"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1318,
"end": 1421,
"loc": {
"start": {
"line": 37,
"column": 14
},
"end": {
"line": 40,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1329,
"end": 1369,
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 38,
"column": 48
}
},
"expression": {
"type": "CallExpression",
"start": 1329,
"end": 1368,
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 38,
"column": 47
}
},
"callee": {
"type": "Identifier",
"start": 1329,
"end": 1339,
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 38,
"column": 18
},
"identifierName": "freeCanvas"
},
"name": "freeCanvas"
},
"arguments": [
{
"type": "MemberExpression",
"start": 1340,
"end": 1367,
"loc": {
"start": {
"line": 38,
"column": 19
},
"end": {
"line": 38,
"column": 46
}
},
"object": {
"type": "ThisExpression",
"start": 1340,
"end": 1344,
"loc": {
"start": {
"line": 38,
"column": 19
},
"end": {
"line": 38,
"column": 23
}
}
},
"property": {
"type": "Identifier",
"start": 1345,
"end": 1367,
"loc": {
"start": {
"line": 38,
"column": 24
},
"end": {
"line": 38,
"column": 46
},
"identifierName": "cachedBackgroundCanvas"
},
"name": "cachedBackgroundCanvas"
},
"computed": false
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1379,
"end": 1414,
"loc": {
"start": {
"line": 39,
"column": 8
},
"end": {
"line": 39,
"column": 43
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1379,
"end": 1413,
"loc": {
"start": {
"line": 39,
"column": 8
},
"end": {
"line": 39,
"column": 42
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1379,
"end": 1406,
"loc": {
"start": {
"line": 39,
"column": 8
},
"end": {
"line": 39,
"column": 35
}
},
"object": {
"type": "ThisExpression",
"start": 1379,
"end": 1383,
"loc": {
"start": {
"line": 39,
"column": 8
},
"end": {
"line": 39,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1384,
"end": 1406,
"loc": {
"start": {
"line": 39,
"column": 13
},
"end": {
"line": 39,
"column": 35
},
"identifierName": "cachedBackgroundCanvas"
},
"name": "cachedBackgroundCanvas"
},
"computed": false
},
"right": {
"type": "NullLiteral",
"start": 1409,
"end": 1413,
"loc": {
"start": {
"line": 39,
"column": 38
},
"end": {
"line": 39,
"column": 42
}
}
}
}
}
],
"directives": [],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Called when an entity was added, removed or changed\r\n * @param {Entity} entity\r\n ",
"start": 1429,
"end": 1532,
"loc": {
"start": {
"line": 42,
"column": 4
},
"end": {
"line": 45,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 1538,
"end": 1966,
"loc": {
"start": {
"line": 46,
"column": 4
},
"end": {
"line": 56,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1538,
"end": 1553,
"loc": {
"start": {
"line": 46,
"column": 4
},
"end": {
"line": 46,
"column": 19
},
"identifierName": "onEntityChanged"
},
"name": "onEntityChanged",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1554,
"end": 1560,
"loc": {
"start": {
"line": 46,
"column": 20
},
"end": {
"line": 46,
"column": 26
},
"identifierName": "entity"
},
"name": "entity"
}
],
"body": {
"type": "BlockStatement",
"start": 1562,
"end": 1966,
"loc": {
"start": {
"line": 46,
"column": 28
},
"end": {
"line": 56,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 1573,
"end": 1626,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 47,
"column": 61
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1579,
"end": 1625,
"loc": {
"start": {
"line": 47,
"column": 14
},
"end": {
"line": 47,
"column": 60
}
},
"id": {
"type": "Identifier",
"start": 1579,
"end": 1589,
"loc": {
"start": {
"line": 47,
"column": 14
},
"end": {
"line": 47,
"column": 24
},
"identifierName": "staticComp"
},
"name": "staticComp"
},
"init": {
"type": "MemberExpression",
"start": 1592,
"end": 1625,
"loc": {
"start": {
"line": 47,
"column": 27
},
"end": {
"line": 47,
"column": 60
}
},
"object": {
"type": "MemberExpression",
"start": 1592,
"end": 1609,
"loc": {
"start": {
"line": 47,
"column": 27
},
"end": {
"line": 47,
"column": 44
}
},
"object": {
"type": "Identifier",
"start": 1592,
"end": 1598,
"loc": {
"start": {
"line": 47,
"column": 27
},
"end": {
"line": 47,
"column": 33
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 1599,
"end": 1609,
"loc": {
"start": {
"line": 47,
"column": 34
},
"end": {
"line": 47,
"column": 44
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1610,
"end": 1625,
"loc": {
"start": {
"line": 47,
"column": 45
},
"end": {
"line": 47,
"column": 60
},
"identifierName": "StaticMapEntity"
},
"name": "StaticMapEntity"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 1636,
"end": 1959,
"loc": {
"start": {
"line": 48,
"column": 8
},
"end": {
"line": 55,
"column": 9
}
},
"test": {
"type": "Identifier",
"start": 1640,
"end": 1650,
"loc": {
"start": {
"line": 48,
"column": 12
},
"end": {
"line": 48,
"column": 22
},
"identifierName": "staticComp"
},
"name": "staticComp"
},
"consequent": {
"type": "BlockStatement",
"start": 1652,
"end": 1959,
"loc": {
"start": {
"line": 48,
"column": 24
},
"end": {
"line": 55,
"column": 9
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 1667,
"end": 1712,
"loc": {
"start": {
"line": 49,
"column": 12
},
"end": {
"line": 49,
"column": 57
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1673,
"end": 1711,
"loc": {
"start": {
"line": 49,
"column": 18
},
"end": {
"line": 49,
"column": 56
}
},
"id": {
"type": "Identifier",
"start": 1673,
"end": 1677,
"loc": {
"start": {
"line": 49,
"column": 18
},
"end": {
"line": 49,
"column": 22
},
"identifierName": "rect"
},
"name": "rect"
},
"init": {
"type": "CallExpression",
"start": 1680,
"end": 1711,
"loc": {
"start": {
"line": 49,
"column": 25
},
"end": {
"line": 49,
"column": 56
}
},
"callee": {
"type": "MemberExpression",
"start": 1680,
"end": 1709,
"loc": {
"start": {
"line": 49,
"column": 25
},
"end": {
"line": 49,
"column": 54
}
},
"object": {
"type": "Identifier",
"start": 1680,
"end": 1690,
"loc": {
"start": {
"line": 49,
"column": 25
},
"end": {
"line": 49,
"column": 35
},
"identifierName": "staticComp"
},
"name": "staticComp"
},
"property": {
"type": "Identifier",
"start": 1691,
"end": 1709,
"loc": {
"start": {
"line": 49,
"column": 36
},
"end": {
"line": 49,
"column": 54
},
"identifierName": "getTileSpaceBounds"
},
"name": "getTileSpaceBounds"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "ForStatement",
"start": 1726,
"end": 1948,
"loc": {
"start": {
"line": 50,
"column": 12
},
"end": {
"line": 54,
"column": 13
}
},
"init": {
"type": "VariableDeclaration",
"start": 1731,
"end": 1745,
"loc": {
"start": {
"line": 50,
"column": 17
},
"end": {
"line": 50,
"column": 31
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1735,
"end": 1745,
"loc": {
"start": {
"line": 50,
"column": 21
},
"end": {
"line": 50,
"column": 31
}
},
"id": {
"type": "Identifier",
"start": 1735,
"end": 1736,
"loc": {
"start": {
"line": 50,
"column": 21
},
"end": {
"line": 50,
"column": 22
},
"identifierName": "x"
},
"name": "x"
},
"init": {
"type": "MemberExpression",
"start": 1739,
"end": 1745,
"loc": {
"start": {
"line": 50,
"column": 25
},
"end": {
"line": 50,
"column": 31
}
},
"object": {
"type": "Identifier",
"start": 1739,
"end": 1743,
"loc": {
"start": {
"line": 50,
"column": 25
},
"end": {
"line": 50,
"column": 29
},
"identifierName": "rect"
},
"name": "rect"
},
"property": {
"type": "Identifier",
"start": 1744,
"end": 1745,
"loc": {
"start": {
"line": 50,
"column": 30
},
"end": {
"line": 50,
"column": 31
},
"identifierName": "x"
},
"name": "x"
},
"computed": false
}
}
],
"kind": "let"
},
"test": {
"type": "BinaryExpression",
"start": 1747,
"end": 1764,
"loc": {
"start": {
"line": 50,
"column": 33
},
"end": {
"line": 50,
"column": 50
}
},
"left": {
"type": "Identifier",
"start": 1747,
"end": 1748,
"loc": {
"start": {
"line": 50,
"column": 33
},
"end": {
"line": 50,
"column": 34
},
"identifierName": "x"
},
"name": "x"
},
"operator": "<=",
"right": {
"type": "CallExpression",
"start": 1752,
"end": 1764,
"loc": {
"start": {
"line": 50,
"column": 38
},
"end": {
"line": 50,
"column": 50
}
},
"callee": {
"type": "MemberExpression",
"start": 1752,
"end": 1762,
"loc": {
"start": {
"line": 50,
"column": 38
},
"end": {
"line": 50,
"column": 48
}
},
"object": {
"type": "Identifier",
"start": 1752,
"end": 1756,
"loc": {
"start": {
"line": 50,
"column": 38
},
"end": {
"line": 50,
"column": 42
},
"identifierName": "rect"
},
"name": "rect"
},
"property": {
"type": "Identifier",
"start": 1757,
"end": 1762,
"loc": {
"start": {
"line": 50,
"column": 43
},
"end": {
"line": 50,
"column": 48
},
"identifierName": "right"
},
"name": "right"
},
"computed": false
},
"arguments": []
}
},
"update": {
"type": "UpdateExpression",
"start": 1766,
"end": 1769,
"loc": {
"start": {
"line": 50,
"column": 52
},
"end": {
"line": 50,
"column": 55
}
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 1768,
"end": 1769,
"loc": {
"start": {
"line": 50,
"column": 54
},
"end": {
"line": 50,
"column": 55
},
"identifierName": "x"
},
"name": "x"
},
"extra": {
"parenthesizedArgument": false
}
},
"body": {
"type": "BlockStatement",
"start": 1771,
"end": 1948,
"loc": {
"start": {
"line": 50,
"column": 57
},
"end": {
"line": 54,
"column": 13
}
},
"body": [
{
"type": "ForStatement",
"start": 1790,
"end": 1933,
"loc": {
"start": {
"line": 51,
"column": 16
},
"end": {
"line": 53,
"column": 17
}
},
"init": {
"type": "VariableDeclaration",
"start": 1795,
"end": 1809,
"loc": {
"start": {
"line": 51,
"column": 21
},
"end": {
"line": 51,
"column": 35
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1799,
"end": 1809,
"loc": {
"start": {
"line": 51,
"column": 25
},
"end": {
"line": 51,
"column": 35
}
},
"id": {
"type": "Identifier",
"start": 1799,
"end": 1800,
"loc": {
"start": {
"line": 51,
"column": 25
},
"end": {
"line": 51,
"column": 26
},
"identifierName": "y"
},
"name": "y"
},
"init": {
"type": "MemberExpression",
"start": 1803,
"end": 1809,
"loc": {
"start": {
"line": 51,
"column": 29
},
"end": {
"line": 51,
"column": 35
}
},
"object": {
"type": "Identifier",
"start": 1803,
"end": 1807,
"loc": {
"start": {
"line": 51,
"column": 29
},
"end": {
"line": 51,
"column": 33
},
"identifierName": "rect"
},
"name": "rect"
},
"property": {
"type": "Identifier",
"start": 1808,
"end": 1809,
"loc": {
"start": {
"line": 51,
"column": 34
},
"end": {
"line": 51,
"column": 35
},
"identifierName": "y"
},
"name": "y"
},
"computed": false
}
}
],
"kind": "let"
},
"test": {
"type": "BinaryExpression",
"start": 1811,
"end": 1829,
"loc": {
"start": {
"line": 51,
"column": 37
},
"end": {
"line": 51,
"column": 55
}
},
"left": {
"type": "Identifier",
"start": 1811,
"end": 1812,
"loc": {
"start": {
"line": 51,
"column": 37
},
"end": {
"line": 51,
"column": 38
},
"identifierName": "y"
},
"name": "y"
},
"operator": "<=",
"right": {
"type": "CallExpression",
"start": 1816,
"end": 1829,
"loc": {
"start": {
"line": 51,
"column": 42
},
"end": {
"line": 51,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 1816,
"end": 1827,
"loc": {
"start": {
"line": 51,
"column": 42
},
"end": {
"line": 51,
"column": 53
}
},
"object": {
"type": "Identifier",
"start": 1816,
"end": 1820,
"loc": {
"start": {
"line": 51,
"column": 42
},
"end": {
"line": 51,
"column": 46
},
"identifierName": "rect"
},
"name": "rect"
},
"property": {
"type": "Identifier",
"start": 1821,
"end": 1827,
"loc": {
"start": {
"line": 51,
"column": 47
},
"end": {
"line": 51,
"column": 53
},
"identifierName": "bottom"
},
"name": "bottom"
},
"computed": false
},
"arguments": []
}
},
"update": {
"type": "UpdateExpression",
"start": 1831,
"end": 1834,
"loc": {
"start": {
"line": 51,
"column": 57
},
"end": {
"line": 51,
"column": 60
}
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 1833,
"end": 1834,
"loc": {
"start": {
"line": 51,
"column": 59
},
"end": {
"line": 51,
"column": 60
},
"identifierName": "y"
},
"name": "y"
},
"extra": {
"parenthesizedArgument": false
}
},
"body": {
"type": "BlockStatement",
"start": 1836,
"end": 1933,
"loc": {
"start": {
"line": 51,
"column": 62
},
"end": {
"line": 53,
"column": 17
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1859,
"end": 1914,
"loc": {
"start": {
"line": 52,
"column": 20
},
"end": {
"line": 52,
"column": 75
}
},
"expression": {
"type": "CallExpression",
"start": 1859,
"end": 1913,
"loc": {
"start": {
"line": 52,
"column": 20
},
"end": {
"line": 52,
"column": 74
}
},
"callee": {
"type": "MemberExpression",
"start": 1859,
"end": 1911,
"loc": {
"start": {
"line": 52,
"column": 20
},
"end": {
"line": 52,
"column": 72
}
},
"object": {
"type": "CallExpression",
"start": 1859,
"end": 1901,
"loc": {
"start": {
"line": 52,
"column": 20
},
"end": {
"line": 52,
"column": 62
}
},
"callee": {
"type": "MemberExpression",
"start": 1859,
"end": 1895,
"loc": {
"start": {
"line": 52,
"column": 20
},
"end": {
"line": 52,
"column": 56
}
},
"object": {
"type": "MemberExpression",
"start": 1859,
"end": 1872,
"loc": {
"start": {
"line": 52,
"column": 20
},
"end": {
"line": 52,
"column": 33
}
},
"object": {
"type": "MemberExpression",
"start": 1859,
"end": 1868,
"loc": {
"start": {
"line": 52,
"column": 20
},
"end": {
"line": 52,
"column": 29
}
},
"object": {
"type": "ThisExpression",
"start": 1859,
"end": 1863,
"loc": {
"start": {
"line": 52,
"column": 20
},
"end": {
"line": 52,
"column": 24
}
}
},
"property": {
"type": "Identifier",
"start": 1864,
"end": 1868,
"loc": {
"start": {
"line": 52,
"column": 25
},
"end": {
"line": 52,
"column": 29
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1869,
"end": 1872,
"loc": {
"start": {
"line": 52,
"column": 30
},
"end": {
"line": 52,
"column": 33
},
"identifierName": "map"
},
"name": "map"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1873,
"end": 1895,
"loc": {
"start": {
"line": 52,
"column": 34
},
"end": {
"line": 52,
"column": 56
},
"identifierName": "getOrCreateChunkAtTile"
},
"name": "getOrCreateChunkAtTile"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1896,
"end": 1897,
"loc": {
"start": {
"line": 52,
"column": 57
},
"end": {
"line": 52,
"column": 58
},
"identifierName": "x"
},
"name": "x"
},
{
"type": "Identifier",
"start": 1899,
"end": 1900,
"loc": {
"start": {
"line": 52,
"column": 60
},
"end": {
"line": 52,
"column": 61
},
"identifierName": "y"
},
"name": "y"
}
]
},
"property": {
"type": "Identifier",
"start": 1902,
"end": 1911,
"loc": {
"start": {
"line": 52,
"column": 63
},
"end": {
"line": 52,
"column": 72
},
"identifierName": "markDirty"
},
"name": "markDirty"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
}
}
],
"directives": []
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Called when an entity was added, removed or changed\r\n * @param {Entity} entity\r\n ",
"start": 1429,
"end": 1532,
"loc": {
"start": {
"line": 42,
"column": 4
},
"end": {
"line": 45,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Draws all static entities like buildings etc.\r\n * @param {DrawParameters} drawParameters\r\n ",
"start": 1974,
"end": 2087,
"loc": {
"start": {
"line": 58,
"column": 4
},
"end": {
"line": 61,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 2093,
"end": 3539,
"loc": {
"start": {
"line": 62,
"column": 4
},
"end": {
"line": 95,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2093,
"end": 2122,
"loc": {
"start": {
"line": 62,
"column": 4
},
"end": {
"line": 62,
"column": 33
},
"identifierName": "drawStaticEntityDebugOverlays"
},
"name": "drawStaticEntityDebugOverlays",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2123,
"end": 2137,
"loc": {
"start": {
"line": 62,
"column": 34
},
"end": {
"line": 62,
"column": 48
},
"identifierName": "drawParameters"
},
"name": "drawParameters"
}
],
"body": {
"type": "BlockStatement",
"start": 2139,
"end": 3539,
"loc": {
"start": {
"line": 62,
"column": 50
},
"end": {
"line": 95,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 2150,
"end": 3532,
"loc": {
"start": {
"line": 63,
"column": 8
},
"end": {
"line": 94,
"column": 9
}
},
"test": {
"type": "LogicalExpression",
"start": 2154,
"end": 2246,
"loc": {
"start": {
"line": 63,
"column": 12
},
"end": {
"line": 63,
"column": 104
}
},
"left": {
"type": "Identifier",
"start": 2154,
"end": 2162,
"loc": {
"start": {
"line": 63,
"column": 12
},
"end": {
"line": 63,
"column": 20
},
"identifierName": "G_IS_DEV"
},
"name": "G_IS_DEV"
},
"operator": "&&",
"right": {
"type": "LogicalExpression",
"start": 2167,
"end": 2245,
"loc": {
"start": {
"line": 63,
"column": 25
},
"end": {
"line": 63,
"column": 103
}
},
"left": {
"type": "MemberExpression",
"start": 2167,
"end": 2206,
"loc": {
"start": {
"line": 63,
"column": 25
},
"end": {
"line": 63,
"column": 64
}
},
"object": {
"type": "MemberExpression",
"start": 2167,
"end": 2185,
"loc": {
"start": {
"line": 63,
"column": 25
},
"end": {
"line": 63,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 2167,
"end": 2179,
"loc": {
"start": {
"line": 63,
"column": 25
},
"end": {
"line": 63,
"column": 37
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
},
"property": {
"type": "Identifier",
"start": 2180,
"end": 2185,
"loc": {
"start": {
"line": 63,
"column": 38
},
"end": {
"line": 63,
"column": 43
},
"identifierName": "debug"
},
"name": "debug"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2186,
"end": 2206,
"loc": {
"start": {
"line": 63,
"column": 44
},
"end": {
"line": 63,
"column": 64
},
"identifierName": "showAcceptorEjectors"
},
"name": "showAcceptorEjectors"
},
"computed": false
},
"operator": "||",
"right": {
"type": "MemberExpression",
"start": 2210,
"end": 2245,
"loc": {
"start": {
"line": 63,
"column": 68
},
"end": {
"line": 63,
"column": 103
}
},
"object": {
"type": "MemberExpression",
"start": 2210,
"end": 2228,
"loc": {
"start": {
"line": 63,
"column": 68
},
"end": {
"line": 63,
"column": 86
}
},
"object": {
"type": "Identifier",
"start": 2210,
"end": 2222,
"loc": {
"start": {
"line": 63,
"column": 68
},
"end": {
"line": 63,
"column": 80
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
},
"property": {
"type": "Identifier",
"start": 2223,
"end": 2228,
"loc": {
"start": {
"line": 63,
"column": 81
},
"end": {
"line": 63,
"column": 86
},
"identifierName": "debug"
},
"name": "debug"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2229,
"end": 2245,
"loc": {
"start": {
"line": 63,
"column": 87
},
"end": {
"line": 63,
"column": 103
},
"identifierName": "showEntityBounds"
},
"name": "showEntityBounds"
},
"computed": false
},
"extra": {
"parenthesized": true,
"parenStart": 2166
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 2248,
"end": 3532,
"loc": {
"start": {
"line": 63,
"column": 106
},
"end": {
"line": 94,
"column": 9
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 2263,
"end": 2330,
"loc": {
"start": {
"line": 64,
"column": 12
},
"end": {
"line": 64,
"column": 79
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2269,
"end": 2329,
"loc": {
"start": {
"line": 64,
"column": 18
},
"end": {
"line": 64,
"column": 78
}
},
"id": {
"type": "Identifier",
"start": 2269,
"end": 2278,
"loc": {
"start": {
"line": 64,
"column": 18
},
"end": {
"line": 64,
"column": 27
},
"identifierName": "cullRange"
},
"name": "cullRange"
},
"init": {
"type": "CallExpression",
"start": 2281,
"end": 2329,
"loc": {
"start": {
"line": 64,
"column": 30
},
"end": {
"line": 64,
"column": 78
}
},
"callee": {
"type": "MemberExpression",
"start": 2281,
"end": 2327,
"loc": {
"start": {
"line": 64,
"column": 30
},
"end": {
"line": 64,
"column": 76
}
},
"object": {
"type": "MemberExpression",
"start": 2281,
"end": 2307,
"loc": {
"start": {
"line": 64,
"column": 30
},
"end": {
"line": 64,
"column": 56
}
},
"object": {
"type": "Identifier",
"start": 2281,
"end": 2295,
"loc": {
"start": {
"line": 64,
"column": 30
},
"end": {
"line": 64,
"column": 44
},
"identifierName": "drawParameters"
},
"name": "drawParameters"
},
"property": {
"type": "Identifier",
"start": 2296,
"end": 2307,
"loc": {
"start": {
"line": 64,
"column": 45
},
"end": {
"line": 64,
"column": 56
},
"identifierName": "visibleRect"
},
"name": "visibleRect"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2308,
"end": 2327,
"loc": {
"start": {
"line": 64,
"column": 57
},
"end": {
"line": 64,
"column": 76
},
"identifierName": "toTileCullRectangle"
},
"name": "toTileCullRectangle"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 2344,
"end": 2372,
"loc": {
"start": {
"line": 65,
"column": 12
},
"end": {
"line": 65,
"column": 40
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2350,
"end": 2371,
"loc": {
"start": {
"line": 65,
"column": 18
},
"end": {
"line": 65,
"column": 39
}
},
"id": {
"type": "Identifier",
"start": 2350,
"end": 2353,
"loc": {
"start": {
"line": 65,
"column": 18
},
"end": {
"line": 65,
"column": 21
},
"identifierName": "top"
},
"name": "top"
},
"init": {
"type": "CallExpression",
"start": 2356,
"end": 2371,
"loc": {
"start": {
"line": 65,
"column": 24
},
"end": {
"line": 65,
"column": 39
}
},
"callee": {
"type": "MemberExpression",
"start": 2356,
"end": 2369,
"loc": {
"start": {
"line": 65,
"column": 24
},
"end": {
"line": 65,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 2356,
"end": 2365,
"loc": {
"start": {
"line": 65,
"column": 24
},
"end": {
"line": 65,
"column": 33
},
"identifierName": "cullRange"
},
"name": "cullRange"
},
"property": {
"type": "Identifier",
"start": 2366,
"end": 2369,
"loc": {
"start": {
"line": 65,
"column": 34
},
"end": {
"line": 65,
"column": 37
},
"identifierName": "top"
},
"name": "top"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 2386,
"end": 2418,
"loc": {
"start": {
"line": 66,
"column": 12
},
"end": {
"line": 66,
"column": 44
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2392,
"end": 2417,
"loc": {
"start": {
"line": 66,
"column": 18
},
"end": {
"line": 66,
"column": 43
}
},
"id": {
"type": "Identifier",
"start": 2392,
"end": 2397,
"loc": {
"start": {
"line": 66,
"column": 18
},
"end": {
"line": 66,
"column": 23
},
"identifierName": "right"
},
"name": "right"
},
"init": {
"type": "CallExpression",
"start": 2400,
"end": 2417,
"loc": {
"start": {
"line": 66,
"column": 26
},
"end": {
"line": 66,
"column": 43
}
},
"callee": {
"type": "MemberExpression",
"start": 2400,
"end": 2415,
"loc": {
"start": {
"line": 66,
"column": 26
},
"end": {
"line": 66,
"column": 41
}
},
"object": {
"type": "Identifier",
"start": 2400,
"end": 2409,
"loc": {
"start": {
"line": 66,
"column": 26
},
"end": {
"line": 66,
"column": 35
},
"identifierName": "cullRange"
},
"name": "cullRange"
},
"property": {
"type": "Identifier",
"start": 2410,
"end": 2415,
"loc": {
"start": {
"line": 66,
"column": 36
},
"end": {
"line": 66,
"column": 41
},
"identifierName": "right"
},
"name": "right"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 2432,
"end": 2466,
"loc": {
"start": {
"line": 67,
"column": 12
},
"end": {
"line": 67,
"column": 46
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2438,
"end": 2465,
"loc": {
"start": {
"line": 67,
"column": 18
},
"end": {
"line": 67,
"column": 45
}
},
"id": {
"type": "Identifier",
"start": 2438,
"end": 2444,
"loc": {
"start": {
"line": 67,
"column": 18
},
"end": {
"line": 67,
"column": 24
},
"identifierName": "bottom"
},
"name": "bottom"
},
"init": {
"type": "CallExpression",
"start": 2447,
"end": 2465,
"loc": {
"start": {
"line": 67,
"column": 27
},
"end": {
"line": 67,
"column": 45
}
},
"callee": {
"type": "MemberExpression",
"start": 2447,
"end": 2463,
"loc": {
"start": {
"line": 67,
"column": 27
},
"end": {
"line": 67,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 2447,
"end": 2456,
"loc": {
"start": {
"line": 67,
"column": 27
},
"end": {
"line": 67,
"column": 36
},
"identifierName": "cullRange"
},
"name": "cullRange"
},
"property": {
"type": "Identifier",
"start": 2457,
"end": 2463,
"loc": {
"start": {
"line": 67,
"column": 37
},
"end": {
"line": 67,
"column": 43
},
"identifierName": "bottom"
},
"name": "bottom"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 2480,
"end": 2510,
"loc": {
"start": {
"line": 68,
"column": 12
},
"end": {
"line": 68,
"column": 42
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2486,
"end": 2509,
"loc": {
"start": {
"line": 68,
"column": 18
},
"end": {
"line": 68,
"column": 41
}
},
"id": {
"type": "Identifier",
"start": 2486,
"end": 2490,
"loc": {
"start": {
"line": 68,
"column": 18
},
"end": {
"line": 68,
"column": 22
},
"identifierName": "left"
},
"name": "left"
},
"init": {
"type": "CallExpression",
"start": 2493,
"end": 2509,
"loc": {
"start": {
"line": 68,
"column": 25
},
"end": {
"line": 68,
"column": 41
}
},
"callee": {
"type": "MemberExpression",
"start": 2493,
"end": 2507,
"loc": {
"start": {
"line": 68,
"column": 25
},
"end": {
"line": 68,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 2493,
"end": 2502,
"loc": {
"start": {
"line": 68,
"column": 25
},
"end": {
"line": 68,
"column": 34
},
"identifierName": "cullRange"
},
"name": "cullRange"
},
"property": {
"type": "Identifier",
"start": 2503,
"end": 2507,
"loc": {
"start": {
"line": 68,
"column": 35
},
"end": {
"line": 68,
"column": 39
},
"identifierName": "left"
},
"name": "left"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 2526,
"end": 2543,
"loc": {
"start": {
"line": 70,
"column": 12
},
"end": {
"line": 70,
"column": 29
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2532,
"end": 2542,
"loc": {
"start": {
"line": 70,
"column": 18
},
"end": {
"line": 70,
"column": 28
}
},
"id": {
"type": "Identifier",
"start": 2532,
"end": 2538,
"loc": {
"start": {
"line": 70,
"column": 18
},
"end": {
"line": 70,
"column": 24
},
"identifierName": "border"
},
"name": "border"
},
"init": {
"type": "NumericLiteral",
"start": 2541,
"end": 2542,
"loc": {
"start": {
"line": 70,
"column": 27
},
"end": {
"line": 70,
"column": 28
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 2559,
"end": 2585,
"loc": {
"start": {
"line": 72,
"column": 12
},
"end": {
"line": 72,
"column": 38
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2565,
"end": 2584,
"loc": {
"start": {
"line": 72,
"column": 18
},
"end": {
"line": 72,
"column": 37
}
},
"id": {
"type": "Identifier",
"start": 2565,
"end": 2569,
"loc": {
"start": {
"line": 72,
"column": 18
},
"end": {
"line": 72,
"column": 22
},
"identifierName": "minY"
},
"name": "minY"
},
"init": {
"type": "BinaryExpression",
"start": 2572,
"end": 2584,
"loc": {
"start": {
"line": 72,
"column": 25
},
"end": {
"line": 72,
"column": 37
}
},
"left": {
"type": "Identifier",
"start": 2572,
"end": 2575,
"loc": {
"start": {
"line": 72,
"column": 25
},
"end": {
"line": 72,
"column": 28
},
"identifierName": "top"
},
"name": "top"
},
"operator": "-",
"right": {
"type": "Identifier",
"start": 2578,
"end": 2584,
"loc": {
"start": {
"line": 72,
"column": 31
},
"end": {
"line": 72,
"column": 37
},
"identifierName": "border"
},
"name": "border"
}
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 2599,
"end": 2628,
"loc": {
"start": {
"line": 73,
"column": 12
},
"end": {
"line": 73,
"column": 41
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2605,
"end": 2627,
"loc": {
"start": {
"line": 73,
"column": 18
},
"end": {
"line": 73,
"column": 40
}
},
"id": {
"type": "Identifier",
"start": 2605,
"end": 2609,
"loc": {
"start": {
"line": 73,
"column": 18
},
"end": {
"line": 73,
"column": 22
},
"identifierName": "maxY"
},
"name": "maxY"
},
"init": {
"type": "BinaryExpression",
"start": 2612,
"end": 2627,
"loc": {
"start": {
"line": 73,
"column": 25
},
"end": {
"line": 73,
"column": 40
}
},
"left": {
"type": "Identifier",
"start": 2612,
"end": 2618,
"loc": {
"start": {
"line": 73,
"column": 25
},
"end": {
"line": 73,
"column": 31
},
"identifierName": "bottom"
},
"name": "bottom"
},
"operator": "+",
"right": {
"type": "Identifier",
"start": 2621,
"end": 2627,
"loc": {
"start": {
"line": 73,
"column": 34
},
"end": {
"line": 73,
"column": 40
},
"identifierName": "border"
},
"name": "border"
}
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 2642,
"end": 2669,
"loc": {
"start": {
"line": 74,
"column": 12
},
"end": {
"line": 74,
"column": 39
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2648,
"end": 2668,
"loc": {
"start": {
"line": 74,
"column": 18
},
"end": {
"line": 74,
"column": 38
}
},
"id": {
"type": "Identifier",
"start": 2648,
"end": 2652,
"loc": {
"start": {
"line": 74,
"column": 18
},
"end": {
"line": 74,
"column": 22
},
"identifierName": "minX"
},
"name": "minX"
},
"init": {
"type": "BinaryExpression",
"start": 2655,
"end": 2668,
"loc": {
"start": {
"line": 74,
"column": 25
},
"end": {
"line": 74,
"column": 38
}
},
"left": {
"type": "Identifier",
"start": 2655,
"end": 2659,
"loc": {
"start": {
"line": 74,
"column": 25
},
"end": {
"line": 74,
"column": 29
},
"identifierName": "left"
},
"name": "left"
},
"operator": "-",
"right": {
"type": "Identifier",
"start": 2662,
"end": 2668,
"loc": {
"start": {
"line": 74,
"column": 32
},
"end": {
"line": 74,
"column": 38
},
"identifierName": "border"
},
"name": "border"
}
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 2683,
"end": 2715,
"loc": {
"start": {
"line": 75,
"column": 12
},
"end": {
"line": 75,
"column": 44
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2689,
"end": 2714,
"loc": {
"start": {
"line": 75,
"column": 18
},
"end": {
"line": 75,
"column": 43
}
},
"id": {
"type": "Identifier",
"start": 2689,
"end": 2693,
"loc": {
"start": {
"line": 75,
"column": 18
},
"end": {
"line": 75,
"column": 22
},
"identifierName": "maxX"
},
"name": "maxX"
},
"init": {
"type": "BinaryExpression",
"start": 2696,
"end": 2714,
"loc": {
"start": {
"line": 75,
"column": 25
},
"end": {
"line": 75,
"column": 43
}
},
"left": {
"type": "BinaryExpression",
"start": 2696,
"end": 2710,
"loc": {
"start": {
"line": 75,
"column": 25
},
"end": {
"line": 75,
"column": 39
}
},
"left": {
"type": "Identifier",
"start": 2696,
"end": 2701,
"loc": {
"start": {
"line": 75,
"column": 25
},
"end": {
"line": 75,
"column": 30
},
"identifierName": "right"
},
"name": "right"
},
"operator": "+",
"right": {
"type": "Identifier",
"start": 2704,
"end": 2710,
"loc": {
"start": {
"line": 75,
"column": 33
},
"end": {
"line": 75,
"column": 39
},
"identifierName": "border"
},
"name": "border"
}
},
"operator": "-",
"right": {
"type": "NumericLiteral",
"start": 2713,
"end": 2714,
"loc": {
"start": {
"line": 75,
"column": 42
},
"end": {
"line": 75,
"column": 43
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
}
}
],
"kind": "const",
"trailingComments": [
{
"type": "CommentLine",
"value": " Render y from top down for proper blending",
"start": 2731,
"end": 2776,
"loc": {
"start": {
"line": 77,
"column": 12
},
"end": {
"line": 77,
"column": 57
}
}
}
]
},
{
"type": "ForStatement",
"start": 2790,
"end": 3521,
"loc": {
"start": {
"line": 78,
"column": 12
},
"end": {
"line": 93,
"column": 13
}
},
"init": {
"type": "VariableDeclaration",
"start": 2795,
"end": 2807,
"loc": {
"start": {
"line": 78,
"column": 17
},
"end": {
"line": 78,
"column": 29
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2799,
"end": 2807,
"loc": {
"start": {
"line": 78,
"column": 21
},
"end": {
"line": 78,
"column": 29
}
},
"id": {
"type": "Identifier",
"start": 2799,
"end": 2800,
"loc": {
"start": {
"line": 78,
"column": 21
},
"end": {
"line": 78,
"column": 22
},
"identifierName": "y"
},
"name": "y",
"leadingComments": null
},
"init": {
"type": "Identifier",
"start": 2803,
"end": 2807,
"loc": {
"start": {
"line": 78,
"column": 25
},
"end": {
"line": 78,
"column": 29
},
"identifierName": "minY"
},
"name": "minY"
},
"leadingComments": null
}
],
"kind": "let",
"leadingComments": null
},
"test": {
"type": "BinaryExpression",
"start": 2809,
"end": 2818,
"loc": {
"start": {
"line": 78,
"column": 31
},
"end": {
"line": 78,
"column": 40
}
},
"left": {
"type": "Identifier",
"start": 2809,
"end": 2810,
"loc": {
"start": {
"line": 78,
"column": 31
},
"end": {
"line": 78,
"column": 32
},
"identifierName": "y"
},
"name": "y"
},
"operator": "<=",
"right": {
"type": "Identifier",
"start": 2814,
"end": 2818,
"loc": {
"start": {
"line": 78,
"column": 36
},
"end": {
"line": 78,
"column": 40
},
"identifierName": "maxY"
},
"name": "maxY"
}
},
"update": {
"type": "UpdateExpression",
"start": 2820,
"end": 2823,
"loc": {
"start": {
"line": 78,
"column": 42
},
"end": {
"line": 78,
"column": 45
}
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 2822,
"end": 2823,
"loc": {
"start": {
"line": 78,
"column": 44
},
"end": {
"line": 78,
"column": 45
},
"identifierName": "y"
},
"name": "y"
},
"extra": {
"parenthesizedArgument": false
}
},
"body": {
"type": "BlockStatement",
"start": 2825,
"end": 3521,
"loc": {
"start": {
"line": 78,
"column": 47
},
"end": {
"line": 93,
"column": 13
}
},
"body": [
{
"type": "ForStatement",
"start": 2844,
"end": 3506,
"loc": {
"start": {
"line": 79,
"column": 16
},
"end": {
"line": 92,
"column": 17
}
},
"init": {
"type": "VariableDeclaration",
"start": 2849,
"end": 2861,
"loc": {
"start": {
"line": 79,
"column": 21
},
"end": {
"line": 79,
"column": 33
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2853,
"end": 2861,
"loc": {
"start": {
"line": 79,
"column": 25
},
"end": {
"line": 79,
"column": 33
}
},
"id": {
"type": "Identifier",
"start": 2853,
"end": 2854,
"loc": {
"start": {
"line": 79,
"column": 25
},
"end": {
"line": 79,
"column": 26
},
"identifierName": "x"
},
"name": "x"
},
"init": {
"type": "Identifier",
"start": 2857,
"end": 2861,
"loc": {
"start": {
"line": 79,
"column": 29
},
"end": {
"line": 79,
"column": 33
},
"identifierName": "minX"
},
"name": "minX"
}
}
],
"kind": "let"
},
"test": {
"type": "BinaryExpression",
"start": 2863,
"end": 2872,
"loc": {
"start": {
"line": 79,
"column": 35
},
"end": {
"line": 79,
"column": 44
}
},
"left": {
"type": "Identifier",
"start": 2863,
"end": 2864,
"loc": {
"start": {
"line": 79,
"column": 35
},
"end": {
"line": 79,
"column": 36
},
"identifierName": "x"
},
"name": "x"
},
"operator": "<=",
"right": {
"type": "Identifier",
"start": 2868,
"end": 2872,
"loc": {
"start": {
"line": 79,
"column": 40
},
"end": {
"line": 79,
"column": 44
},
"identifierName": "maxX"
},
"name": "maxX"
}
},
"update": {
"type": "UpdateExpression",
"start": 2874,
"end": 2877,
"loc": {
"start": {
"line": 79,
"column": 46
},
"end": {
"line": 79,
"column": 49
}
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 2876,
"end": 2877,
"loc": {
"start": {
"line": 79,
"column": 48
},
"end": {
"line": 79,
"column": 49
},
"identifierName": "x"
},
"name": "x"
},
"extra": {
"parenthesizedArgument": false
}
},
"body": {
"type": "BlockStatement",
"start": 2879,
"end": 3506,
"loc": {
"start": {
"line": 79,
"column": 51
},
"end": {
"line": 92,
"column": 17
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 2960,
"end": 3006,
"loc": {
"start": {
"line": 81,
"column": 20
},
"end": {
"line": 81,
"column": 66
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2966,
"end": 3005,
"loc": {
"start": {
"line": 81,
"column": 26
},
"end": {
"line": 81,
"column": 65
}
},
"id": {
"type": "Identifier",
"start": 2966,
"end": 2971,
"loc": {
"start": {
"line": 81,
"column": 26
},
"end": {
"line": 81,
"column": 31
},
"identifierName": "chunk"
},
"name": "chunk",
"leadingComments": null
},
"init": {
"type": "CallExpression",
"start": 2974,
"end": 3005,
"loc": {
"start": {
"line": 81,
"column": 34
},
"end": {
"line": 81,
"column": 65
}
},
"callee": {
"type": "MemberExpression",
"start": 2974,
"end": 2999,
"loc": {
"start": {
"line": 81,
"column": 34
},
"end": {
"line": 81,
"column": 59
}
},
"object": {
"type": "ThisExpression",
"start": 2974,
"end": 2978,
"loc": {
"start": {
"line": 81,
"column": 34
},
"end": {
"line": 81,
"column": 38
}
}
},
"property": {
"type": "Identifier",
"start": 2979,
"end": 2999,
"loc": {
"start": {
"line": 81,
"column": 39
},
"end": {
"line": 81,
"column": 59
},
"identifierName": "getChunkAtTileOrNull"
},
"name": "getChunkAtTileOrNull"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 3000,
"end": 3001,
"loc": {
"start": {
"line": 81,
"column": 60
},
"end": {
"line": 81,
"column": 61
},
"identifierName": "x"
},
"name": "x"
},
{
"type": "Identifier",
"start": 3003,
"end": 3004,
"loc": {
"start": {
"line": 81,
"column": 63
},
"end": {
"line": 81,
"column": 64
},
"identifierName": "y"
},
"name": "y"
}
]
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentLine",
"value": " const content = this.tiles[x][y];",
"start": 2902,
"end": 2938,
"loc": {
"start": {
"line": 80,
"column": 20
},
"end": {
"line": 80,
"column": 56
}
}
}
]
},
{
"type": "IfStatement",
"start": 3028,
"end": 3099,
"loc": {
"start": {
"line": 82,
"column": 20
},
"end": {
"line": 84,
"column": 21
}
},
"test": {
"type": "UnaryExpression",
"start": 3032,
"end": 3038,
"loc": {
"start": {
"line": 82,
"column": 24
},
"end": {
"line": 82,
"column": 30
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 3033,
"end": 3038,
"loc": {
"start": {
"line": 82,
"column": 25
},
"end": {
"line": 82,
"column": 30
},
"identifierName": "chunk"
},
"name": "chunk"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 3040,
"end": 3099,
"loc": {
"start": {
"line": 82,
"column": 32
},
"end": {
"line": 84,
"column": 21
}
},
"body": [
{
"type": "ContinueStatement",
"start": 3067,
"end": 3076,
"loc": {
"start": {
"line": 83,
"column": 24
},
"end": {
"line": 83,
"column": 33
}
},
"label": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 3121,
"end": 3179,
"loc": {
"start": {
"line": 85,
"column": 20
},
"end": {
"line": 85,
"column": 78
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3127,
"end": 3178,
"loc": {
"start": {
"line": 85,
"column": 26
},
"end": {
"line": 85,
"column": 77
}
},
"id": {
"type": "Identifier",
"start": 3127,
"end": 3134,
"loc": {
"start": {
"line": 85,
"column": 26
},
"end": {
"line": 85,
"column": 33
},
"identifierName": "content"
},
"name": "content"
},
"init": {
"type": "CallExpression",
"start": 3137,
"end": 3178,
"loc": {
"start": {
"line": 85,
"column": 36
},
"end": {
"line": 85,
"column": 77
}
},
"callee": {
"type": "MemberExpression",
"start": 3137,
"end": 3172,
"loc": {
"start": {
"line": 85,
"column": 36
},
"end": {
"line": 85,
"column": 71
}
},
"object": {
"type": "Identifier",
"start": 3137,
"end": 3142,
"loc": {
"start": {
"line": 85,
"column": 36
},
"end": {
"line": 85,
"column": 41
},
"identifierName": "chunk"
},
"name": "chunk"
},
"property": {
"type": "Identifier",
"start": 3143,
"end": 3172,
"loc": {
"start": {
"line": 85,
"column": 42
},
"end": {
"line": 85,
"column": 71
},
"identifierName": "getTileContentFromWorldCoords"
},
"name": "getTileContentFromWorldCoords"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 3173,
"end": 3174,
"loc": {
"start": {
"line": 85,
"column": 72
},
"end": {
"line": 85,
"column": 73
},
"identifierName": "x"
},
"name": "x"
},
{
"type": "Identifier",
"start": 3176,
"end": 3177,
"loc": {
"start": {
"line": 85,
"column": 75
},
"end": {
"line": 85,
"column": 76
},
"identifierName": "y"
},
"name": "y"
}
]
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 3201,
"end": 3487,
"loc": {
"start": {
"line": 86,
"column": 20
},
"end": {
"line": 91,
"column": 21
}
},
"test": {
"type": "Identifier",
"start": 3205,
"end": 3212,
"loc": {
"start": {
"line": 86,
"column": 24
},
"end": {
"line": 86,
"column": 31
},
"identifierName": "content"
},
"name": "content"
},
"consequent": {
"type": "BlockStatement",
"start": 3214,
"end": 3487,
"loc": {
"start": {
"line": 86,
"column": 33
},
"end": {
"line": 91,
"column": 21
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 3241,
"end": 3323,
"loc": {
"start": {
"line": 87,
"column": 24
},
"end": {
"line": 87,
"column": 106
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3245,
"end": 3322,
"loc": {
"start": {
"line": 87,
"column": 28
},
"end": {
"line": 87,
"column": 105
}
},
"id": {
"type": "Identifier",
"start": 3245,
"end": 3253,
"loc": {
"start": {
"line": 87,
"column": 28
},
"end": {
"line": 87,
"column": 36
},
"identifierName": "isBorder"
},
"name": "isBorder"
},
"init": {
"type": "LogicalExpression",
"start": 3256,
"end": 3322,
"loc": {
"start": {
"line": 87,
"column": 39
},
"end": {
"line": 87,
"column": 105
}
},
"left": {
"type": "LogicalExpression",
"start": 3256,
"end": 3303,
"loc": {
"start": {
"line": 87,
"column": 39
},
"end": {
"line": 87,
"column": 86
}
},
"left": {
"type": "LogicalExpression",
"start": 3256,
"end": 3287,
"loc": {
"start": {
"line": 87,
"column": 39
},
"end": {
"line": 87,
"column": 70
}
},
"left": {
"type": "BinaryExpression",
"start": 3256,
"end": 3269,
"loc": {
"start": {
"line": 87,
"column": 39
},
"end": {
"line": 87,
"column": 52
}
},
"left": {
"type": "Identifier",
"start": 3256,
"end": 3257,
"loc": {
"start": {
"line": 87,
"column": 39
},
"end": {
"line": 87,
"column": 40
},
"identifierName": "x"
},
"name": "x"
},
"operator": "<=",
"right": {
"type": "BinaryExpression",
"start": 3261,
"end": 3269,
"loc": {
"start": {
"line": 87,
"column": 44
},
"end": {
"line": 87,
"column": 52
}
},
"left": {
"type": "Identifier",
"start": 3261,
"end": 3265,
"loc": {
"start": {
"line": 87,
"column": 44
},
"end": {
"line": 87,
"column": 48
},
"identifierName": "left"
},
"name": "left"
},
"operator": "-",
"right": {
"type": "NumericLiteral",
"start": 3268,
"end": 3269,
"loc": {
"start": {
"line": 87,
"column": 51
},
"end": {
"line": 87,
"column": 52
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
}
},
"operator": "||",
"right": {
"type": "BinaryExpression",
"start": 3273,
"end": 3287,
"loc": {
"start": {
"line": 87,
"column": 56
},
"end": {
"line": 87,
"column": 70
}
},
"left": {
"type": "Identifier",
"start": 3273,
"end": 3274,
"loc": {
"start": {
"line": 87,
"column": 56
},
"end": {
"line": 87,
"column": 57
},
"identifierName": "x"
},
"name": "x"
},
"operator": ">=",
"right": {
"type": "BinaryExpression",
"start": 3278,
"end": 3287,
"loc": {
"start": {
"line": 87,
"column": 61
},
"end": {
"line": 87,
"column": 70
}
},
"left": {
"type": "Identifier",
"start": 3278,
"end": 3283,
"loc": {
"start": {
"line": 87,
"column": 61
},
"end": {
"line": 87,
"column": 66
},
"identifierName": "right"
},
"name": "right"
},
"operator": "+",
"right": {
"type": "NumericLiteral",
"start": 3286,
"end": 3287,
"loc": {
"start": {
"line": 87,
"column": 69
},
"end": {
"line": 87,
"column": 70
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
}
}
},
"operator": "||",
"right": {
"type": "BinaryExpression",
"start": 3291,
"end": 3303,
"loc": {
"start": {
"line": 87,
"column": 74
},
"end": {
"line": 87,
"column": 86
}
},
"left": {
"type": "Identifier",
"start": 3291,
"end": 3292,
"loc": {
"start": {
"line": 87,
"column": 74
},
"end": {
"line": 87,
"column": 75
},
"identifierName": "y"
},
"name": "y"
},
"operator": "<=",
"right": {
"type": "BinaryExpression",
"start": 3296,
"end": 3303,
"loc": {
"start": {
"line": 87,
"column": 79
},
"end": {
"line": 87,
"column": 86
}
},
"left": {
"type": "Identifier",
"start": 3296,
"end": 3299,
"loc": {
"start": {
"line": 87,
"column": 79
},
"end": {
"line": 87,
"column": 82
},
"identifierName": "top"
},
"name": "top"
},
"operator": "-",
"right": {
"type": "NumericLiteral",
"start": 3302,
"end": 3303,
"loc": {
"start": {
"line": 87,
"column": 85
},
"end": {
"line": 87,
"column": 86
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
}
}
},
"operator": "||",
"right": {
"type": "BinaryExpression",
"start": 3307,
"end": 3322,
"loc": {
"start": {
"line": 87,
"column": 90
},
"end": {
"line": 87,
"column": 105
}
},
"left": {
"type": "Identifier",
"start": 3307,
"end": 3308,
"loc": {
"start": {
"line": 87,
"column": 90
},
"end": {
"line": 87,
"column": 91
},
"identifierName": "y"
},
"name": "y"
},
"operator": ">=",
"right": {
"type": "BinaryExpression",
"start": 3312,
"end": 3322,
"loc": {
"start": {
"line": 87,
"column": 95
},
"end": {
"line": 87,
"column": 105
}
},
"left": {
"type": "Identifier",
"start": 3312,
"end": 3318,
"loc": {
"start": {
"line": 87,
"column": 95
},
"end": {
"line": 87,
"column": 101
},
"identifierName": "bottom"
},
"name": "bottom"
},
"operator": "+",
"right": {
"type": "NumericLiteral",
"start": 3321,
"end": 3322,
"loc": {
"start": {
"line": 87,
"column": 104
},
"end": {
"line": 87,
"column": 105
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
}
}
}
}
],
"kind": "let"
},
{
"type": "IfStatement",
"start": 3349,
"end": 3464,
"loc": {
"start": {
"line": 88,
"column": 24
},
"end": {
"line": 90,
"column": 25
}
},
"test": {
"type": "UnaryExpression",
"start": 3353,
"end": 3362,
"loc": {
"start": {
"line": 88,
"column": 28
},
"end": {
"line": 88,
"column": 37
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 3354,
"end": 3362,
"loc": {
"start": {
"line": 88,
"column": 29
},
"end": {
"line": 88,
"column": 37
},
"identifierName": "isBorder"
},
"name": "isBorder"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 3364,
"end": 3464,
"loc": {
"start": {
"line": 88,
"column": 39
},
"end": {
"line": 90,
"column": 25
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 3395,
"end": 3437,
"loc": {
"start": {
"line": 89,
"column": 28
},
"end": {
"line": 89,
"column": 70
}
},
"expression": {
"type": "CallExpression",
"start": 3395,
"end": 3436,
"loc": {
"start": {
"line": 89,
"column": 28
},
"end": {
"line": 89,
"column": 69
}
},
"callee": {
"type": "MemberExpression",
"start": 3395,
"end": 3420,
"loc": {
"start": {
"line": 89,
"column": 28
},
"end": {
"line": 89,
"column": 53
}
},
"object": {
"type": "Identifier",
"start": 3395,
"end": 3402,
"loc": {
"start": {
"line": 89,
"column": 28
},
"end": {
"line": 89,
"column": 35
},
"identifierName": "content"
},
"name": "content"
},
"property": {
"type": "Identifier",
"start": 3403,
"end": 3420,
"loc": {
"start": {
"line": 89,
"column": 36
},
"end": {
"line": 89,
"column": 53
},
"identifierName": "drawDebugOverlays"
},
"name": "drawDebugOverlays"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 3421,
"end": 3435,
"loc": {
"start": {
"line": 89,
"column": 54
},
"end": {
"line": 89,
"column": 68
},
"identifierName": "drawParameters"
},
"name": "drawParameters"
}
]
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Render y from top down for proper blending",
"start": 2731,
"end": 2776,
"loc": {
"start": {
"line": 77,
"column": 12
},
"end": {
"line": 77,
"column": 57
}
}
}
]
}
],
"directives": []
},
"alternate": null
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Draws all static entities like buildings etc.\r\n * @param {DrawParameters} drawParameters\r\n ",
"start": 1974,
"end": 2087,
"loc": {
"start": {
"line": 58,
"column": 4
},
"end": {
"line": 61,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Initializes all canvases used for background rendering\r\n ",
"start": 3547,
"end": 3622,
"loc": {
"start": {
"line": 97,
"column": 4
},
"end": {
"line": 99,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 3628,
"end": 4584,
"loc": {
"start": {
"line": 100,
"column": 4
},
"end": {
"line": 123,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3628,
"end": 3670,
"loc": {
"start": {
"line": 100,
"column": 4
},
"end": {
"line": 100,
"column": 46
},
"identifierName": "internalInitializeCachedBackgroundCanvases"
},
"name": "internalInitializeCachedBackgroundCanvases",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 3673,
"end": 4584,
"loc": {
"start": {
"line": 100,
"column": 49
},
"end": {
"line": 123,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 3714,
"end": 3749,
"loc": {
"start": {
"line": 102,
"column": 8
},
"end": {
"line": 102,
"column": 43
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3720,
"end": 3748,
"loc": {
"start": {
"line": 102,
"column": 14
},
"end": {
"line": 102,
"column": 42
}
},
"id": {
"type": "Identifier",
"start": 3720,
"end": 3724,
"loc": {
"start": {
"line": 102,
"column": 14
},
"end": {
"line": 102,
"column": 18
},
"identifierName": "dims"
},
"name": "dims",
"leadingComments": null
},
"init": {
"type": "MemberExpression",
"start": 3727,
"end": 3748,
"loc": {
"start": {
"line": 102,
"column": 21
},
"end": {
"line": 102,
"column": 42
}
},
"object": {
"type": "Identifier",
"start": 3727,
"end": 3739,
"loc": {
"start": {
"line": 102,
"column": 21
},
"end": {
"line": 102,
"column": 33
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
},
"property": {
"type": "Identifier",
"start": 3740,
"end": 3748,
"loc": {
"start": {
"line": 102,
"column": 34
},
"end": {
"line": 102,
"column": 42
},
"identifierName": "tileSize"
},
"name": "tileSize"
},
"computed": false
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentLine",
"value": " Background canvas",
"start": 3684,
"end": 3704,
"loc": {
"start": {
"line": 101,
"column": 8
},
"end": {
"line": 101,
"column": 28
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 3759,
"end": 3795,
"loc": {
"start": {
"line": 103,
"column": 8
},
"end": {
"line": 103,
"column": 44
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3765,
"end": 3794,
"loc": {
"start": {
"line": 103,
"column": 14
},
"end": {
"line": 103,
"column": 43
}
},
"id": {
"type": "Identifier",
"start": 3765,
"end": 3768,
"loc": {
"start": {
"line": 103,
"column": 14
},
"end": {
"line": 103,
"column": 17
},
"identifierName": "dpi"
},
"name": "dpi"
},
"init": {
"type": "MemberExpression",
"start": 3771,
"end": 3794,
"loc": {
"start": {
"line": 103,
"column": 20
},
"end": {
"line": 103,
"column": 43
}
},
"object": {
"type": "ThisExpression",
"start": 3771,
"end": 3775,
"loc": {
"start": {
"line": 103,
"column": 20
},
"end": {
"line": 103,
"column": 24
}
}
},
"property": {
"type": "Identifier",
"start": 3776,
"end": 3794,
"loc": {
"start": {
"line": 103,
"column": 25
},
"end": {
"line": 103,
"column": 43
},
"identifierName": "backgroundCacheDPI"
},
"name": "backgroundCacheDPI"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 3805,
"end": 3954,
"loc": {
"start": {
"line": 104,
"column": 8
},
"end": {
"line": 107,
"column": 11
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3811,
"end": 3953,
"loc": {
"start": {
"line": 104,
"column": 14
},
"end": {
"line": 107,
"column": 10
}
},
"id": {
"type": "ArrayPattern",
"start": 3811,
"end": 3828,
"loc": {
"start": {
"line": 104,
"column": 14
},
"end": {
"line": 104,
"column": 31
}
},
"elements": [
{
"type": "Identifier",
"start": 3812,
"end": 3818,
"loc": {
"start": {
"line": 104,
"column": 15
},
"end": {
"line": 104,
"column": 21
},
"identifierName": "canvas"
},
"name": "canvas"
},
{
"type": "Identifier",
"start": 3820,
"end": 3827,
"loc": {
"start": {
"line": 104,
"column": 23
},
"end": {
"line": 104,
"column": 30
},
"identifierName": "context"
},
"name": "context"
}
]
},
"init": {
"type": "CallExpression",
"start": 3831,
"end": 3953,
"loc": {
"start": {
"line": 104,
"column": 34
},
"end": {
"line": 107,
"column": 10
}
},
"callee": {
"type": "Identifier",
"start": 3831,
"end": 3850,
"loc": {
"start": {
"line": 104,
"column": 34
},
"end": {
"line": 104,
"column": 53
},
"identifierName": "makeOffscreenBuffer"
},
"name": "makeOffscreenBuffer"
},
"arguments": [
{
"type": "BinaryExpression",
"start": 3851,
"end": 3861,
"loc": {
"start": {
"line": 104,
"column": 54
},
"end": {
"line": 104,
"column": 64
}
},
"left": {
"type": "Identifier",
"start": 3851,
"end": 3855,
"loc": {
"start": {
"line": 104,
"column": 54
},
"end": {
"line": 104,
"column": 58
},
"identifierName": "dims"
},
"name": "dims"
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 3858,
"end": 3861,
"loc": {
"start": {
"line": 104,
"column": 61
},
"end": {
"line": 104,
"column": 64
},
"identifierName": "dpi"
},
"name": "dpi"
}
},
{
"type": "BinaryExpression",
"start": 3863,
"end": 3873,
"loc": {
"start": {
"line": 104,
"column": 66
},
"end": {
"line": 104,
"column": 76
}
},
"left": {
"type": "Identifier",
"start": 3863,
"end": 3867,
"loc": {
"start": {
"line": 104,
"column": 66
},
"end": {
"line": 104,
"column": 70
},
"identifierName": "dims"
},
"name": "dims"
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 3870,
"end": 3873,
"loc": {
"start": {
"line": 104,
"column": 73
},
"end": {
"line": 104,
"column": 76
},
"identifierName": "dpi"
},
"name": "dpi"
}
},
{
"type": "ObjectExpression",
"start": 3875,
"end": 3952,
"loc": {
"start": {
"line": 104,
"column": 78
},
"end": {
"line": 107,
"column": 9
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 3890,
"end": 3903,
"loc": {
"start": {
"line": 105,
"column": 12
},
"end": {
"line": 105,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3890,
"end": 3896,
"loc": {
"start": {
"line": 105,
"column": 12
},
"end": {
"line": 105,
"column": 18
},
"identifierName": "smooth"
},
"name": "smooth"
},
"value": {
"type": "BooleanLiteral",
"start": 3898,
"end": 3903,
"loc": {
"start": {
"line": 105,
"column": 20
},
"end": {
"line": 105,
"column": 25
}
},
"value": false
}
},
{
"type": "ObjectProperty",
"start": 3918,
"end": 3940,
"loc": {
"start": {
"line": 106,
"column": 12
},
"end": {
"line": 106,
"column": 34
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3918,
"end": 3923,
"loc": {
"start": {
"line": 106,
"column": 12
},
"end": {
"line": 106,
"column": 17
},
"identifierName": "label"
},
"name": "label"
},
"value": {
"type": "StringLiteral",
"start": 3925,
"end": 3940,
"loc": {
"start": {
"line": 106,
"column": 19
},
"end": {
"line": 106,
"column": 34
}
},
"extra": {
"rawValue": "map-cached-bg",
"raw": "\"map-cached-bg\""
},
"value": "map-cached-bg"
}
}
]
}
]
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 3964,
"end": 3988,
"loc": {
"start": {
"line": 108,
"column": 8
},
"end": {
"line": 108,
"column": 32
}
},
"expression": {
"type": "CallExpression",
"start": 3964,
"end": 3987,
"loc": {
"start": {
"line": 108,
"column": 8
},
"end": {
"line": 108,
"column": 31
}
},
"callee": {
"type": "MemberExpression",
"start": 3964,
"end": 3977,
"loc": {
"start": {
"line": 108,
"column": 8
},
"end": {
"line": 108,
"column": 21
}
},
"object": {
"type": "Identifier",
"start": 3964,
"end": 3971,
"loc": {
"start": {
"line": 108,
"column": 8
},
"end": {
"line": 108,
"column": 15
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 3972,
"end": 3977,
"loc": {
"start": {
"line": 108,
"column": 16
},
"end": {
"line": 108,
"column": 21
},
"identifierName": "scale"
},
"name": "scale"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 3978,
"end": 3981,
"loc": {
"start": {
"line": 108,
"column": 22
},
"end": {
"line": 108,
"column": 25
},
"identifierName": "dpi"
},
"name": "dpi"
},
{
"type": "Identifier",
"start": 3983,
"end": 3986,
"loc": {
"start": {
"line": 108,
"column": 27
},
"end": {
"line": 108,
"column": 30
},
"identifierName": "dpi"
},
"name": "dpi"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 4000,
"end": 4041,
"loc": {
"start": {
"line": 110,
"column": 8
},
"end": {
"line": 110,
"column": 49
}
},
"expression": {
"type": "AssignmentExpression",
"start": 4000,
"end": 4040,
"loc": {
"start": {
"line": 110,
"column": 8
},
"end": {
"line": 110,
"column": 48
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 4000,
"end": 4017,
"loc": {
"start": {
"line": 110,
"column": 8
},
"end": {
"line": 110,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 4000,
"end": 4007,
"loc": {
"start": {
"line": 110,
"column": 8
},
"end": {
"line": 110,
"column": 15
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 4008,
"end": 4017,
"loc": {
"start": {
"line": 110,
"column": 16
},
"end": {
"line": 110,
"column": 25
},
"identifierName": "fillStyle"
},
"name": "fillStyle"
},
"computed": false
},
"right": {
"type": "MemberExpression",
"start": 4020,
"end": 4040,
"loc": {
"start": {
"line": 110,
"column": 28
},
"end": {
"line": 110,
"column": 48
}
},
"object": {
"type": "MemberExpression",
"start": 4020,
"end": 4029,
"loc": {
"start": {
"line": 110,
"column": 28
},
"end": {
"line": 110,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 4020,
"end": 4025,
"loc": {
"start": {
"line": 110,
"column": 28
},
"end": {
"line": 110,
"column": 33
},
"identifierName": "THEME"
},
"name": "THEME"
},
"property": {
"type": "Identifier",
"start": 4026,
"end": 4029,
"loc": {
"start": {
"line": 110,
"column": 34
},
"end": {
"line": 110,
"column": 37
},
"identifierName": "map"
},
"name": "map"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4030,
"end": 4040,
"loc": {
"start": {
"line": 110,
"column": 38
},
"end": {
"line": 110,
"column": 48
},
"identifierName": "background"
},
"name": "background"
},
"computed": false
}
}
},
{
"type": "ExpressionStatement",
"start": 4051,
"end": 4086,
"loc": {
"start": {
"line": 111,
"column": 8
},
"end": {
"line": 111,
"column": 43
}
},
"expression": {
"type": "CallExpression",
"start": 4051,
"end": 4085,
"loc": {
"start": {
"line": 111,
"column": 8
},
"end": {
"line": 111,
"column": 42
}
},
"callee": {
"type": "MemberExpression",
"start": 4051,
"end": 4067,
"loc": {
"start": {
"line": 111,
"column": 8
},
"end": {
"line": 111,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 4051,
"end": 4058,
"loc": {
"start": {
"line": 111,
"column": 8
},
"end": {
"line": 111,
"column": 15
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 4059,
"end": 4067,
"loc": {
"start": {
"line": 111,
"column": 16
},
"end": {
"line": 111,
"column": 24
},
"identifierName": "fillRect"
},
"name": "fillRect"
},
"computed": false
},
"arguments": [
{
"type": "NumericLiteral",
"start": 4068,
"end": 4069,
"loc": {
"start": {
"line": 111,
"column": 25
},
"end": {
"line": 111,
"column": 26
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
{
"type": "NumericLiteral",
"start": 4071,
"end": 4072,
"loc": {
"start": {
"line": 111,
"column": 28
},
"end": {
"line": 111,
"column": 29
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
{
"type": "Identifier",
"start": 4074,
"end": 4078,
"loc": {
"start": {
"line": 111,
"column": 31
},
"end": {
"line": 111,
"column": 35
},
"identifierName": "dims"
},
"name": "dims"
},
{
"type": "Identifier",
"start": 4080,
"end": 4084,
"loc": {
"start": {
"line": 111,
"column": 37
},
"end": {
"line": 111,
"column": 41
},
"identifierName": "dims"
},
"name": "dims"
}
]
}
},
{
"type": "VariableDeclaration",
"start": 4098,
"end": 4142,
"loc": {
"start": {
"line": 113,
"column": 8
},
"end": {
"line": 113,
"column": 52
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4104,
"end": 4141,
"loc": {
"start": {
"line": 113,
"column": 14
},
"end": {
"line": 113,
"column": 51
}
},
"id": {
"type": "Identifier",
"start": 4104,
"end": 4115,
"loc": {
"start": {
"line": 113,
"column": 14
},
"end": {
"line": 113,
"column": 25
},
"identifierName": "borderWidth"
},
"name": "borderWidth"
},
"init": {
"type": "MemberExpression",
"start": 4118,
"end": 4141,
"loc": {
"start": {
"line": 113,
"column": 28
},
"end": {
"line": 113,
"column": 51
}
},
"object": {
"type": "MemberExpression",
"start": 4118,
"end": 4127,
"loc": {
"start": {
"line": 113,
"column": 28
},
"end": {
"line": 113,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 4118,
"end": 4123,
"loc": {
"start": {
"line": 113,
"column": 28
},
"end": {
"line": 113,
"column": 33
},
"identifierName": "THEME"
},
"name": "THEME"
},
"property": {
"type": "Identifier",
"start": 4124,
"end": 4127,
"loc": {
"start": {
"line": 113,
"column": 34
},
"end": {
"line": 113,
"column": 37
},
"identifierName": "map"
},
"name": "map"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4128,
"end": 4141,
"loc": {
"start": {
"line": 113,
"column": 38
},
"end": {
"line": 113,
"column": 51
},
"identifierName": "gridLineWidth"
},
"name": "gridLineWidth"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 4152,
"end": 4187,
"loc": {
"start": {
"line": 114,
"column": 8
},
"end": {
"line": 114,
"column": 43
}
},
"expression": {
"type": "AssignmentExpression",
"start": 4152,
"end": 4186,
"loc": {
"start": {
"line": 114,
"column": 8
},
"end": {
"line": 114,
"column": 42
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 4152,
"end": 4169,
"loc": {
"start": {
"line": 114,
"column": 8
},
"end": {
"line": 114,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 4152,
"end": 4159,
"loc": {
"start": {
"line": 114,
"column": 8
},
"end": {
"line": 114,
"column": 15
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 4160,
"end": 4169,
"loc": {
"start": {
"line": 114,
"column": 16
},
"end": {
"line": 114,
"column": 25
},
"identifierName": "fillStyle"
},
"name": "fillStyle"
},
"computed": false
},
"right": {
"type": "MemberExpression",
"start": 4172,
"end": 4186,
"loc": {
"start": {
"line": 114,
"column": 28
},
"end": {
"line": 114,
"column": 42
}
},
"object": {
"type": "MemberExpression",
"start": 4172,
"end": 4181,
"loc": {
"start": {
"line": 114,
"column": 28
},
"end": {
"line": 114,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 4172,
"end": 4177,
"loc": {
"start": {
"line": 114,
"column": 28
},
"end": {
"line": 114,
"column": 33
},
"identifierName": "THEME"
},
"name": "THEME"
},
"property": {
"type": "Identifier",
"start": 4178,
"end": 4181,
"loc": {
"start": {
"line": 114,
"column": 34
},
"end": {
"line": 114,
"column": 37
},
"identifierName": "map"
},
"name": "map"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4182,
"end": 4186,
"loc": {
"start": {
"line": 114,
"column": 38
},
"end": {
"line": 114,
"column": 42
},
"identifierName": "grid"
},
"name": "grid"
},
"computed": false
}
}
},
{
"type": "ExpressionStatement",
"start": 4197,
"end": 4239,
"loc": {
"start": {
"line": 115,
"column": 8
},
"end": {
"line": 115,
"column": 50
}
},
"expression": {
"type": "CallExpression",
"start": 4197,
"end": 4238,
"loc": {
"start": {
"line": 115,
"column": 8
},
"end": {
"line": 115,
"column": 49
}
},
"callee": {
"type": "MemberExpression",
"start": 4197,
"end": 4213,
"loc": {
"start": {
"line": 115,
"column": 8
},
"end": {
"line": 115,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 4197,
"end": 4204,
"loc": {
"start": {
"line": 115,
"column": 8
},
"end": {
"line": 115,
"column": 15
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 4205,
"end": 4213,
"loc": {
"start": {
"line": 115,
"column": 16
},
"end": {
"line": 115,
"column": 24
},
"identifierName": "fillRect"
},
"name": "fillRect"
},
"computed": false
},
"arguments": [
{
"type": "NumericLiteral",
"start": 4214,
"end": 4215,
"loc": {
"start": {
"line": 115,
"column": 25
},
"end": {
"line": 115,
"column": 26
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
{
"type": "NumericLiteral",
"start": 4217,
"end": 4218,
"loc": {
"start": {
"line": 115,
"column": 28
},
"end": {
"line": 115,
"column": 29
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
{
"type": "Identifier",
"start": 4220,
"end": 4224,
"loc": {
"start": {
"line": 115,
"column": 31
},
"end": {
"line": 115,
"column": 35
},
"identifierName": "dims"
},
"name": "dims"
},
{
"type": "Identifier",
"start": 4226,
"end": 4237,
"loc": {
"start": {
"line": 115,
"column": 37
},
"end": {
"line": 115,
"column": 48
},
"identifierName": "borderWidth"
},
"name": "borderWidth"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 4249,
"end": 4301,
"loc": {
"start": {
"line": 116,
"column": 8
},
"end": {
"line": 116,
"column": 60
}
},
"expression": {
"type": "CallExpression",
"start": 4249,
"end": 4300,
"loc": {
"start": {
"line": 116,
"column": 8
},
"end": {
"line": 116,
"column": 59
}
},
"callee": {
"type": "MemberExpression",
"start": 4249,
"end": 4265,
"loc": {
"start": {
"line": 116,
"column": 8
},
"end": {
"line": 116,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 4249,
"end": 4256,
"loc": {
"start": {
"line": 116,
"column": 8
},
"end": {
"line": 116,
"column": 15
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 4257,
"end": 4265,
"loc": {
"start": {
"line": 116,
"column": 16
},
"end": {
"line": 116,
"column": 24
},
"identifierName": "fillRect"
},
"name": "fillRect"
},
"computed": false
},
"arguments": [
{
"type": "NumericLiteral",
"start": 4266,
"end": 4267,
"loc": {
"start": {
"line": 116,
"column": 25
},
"end": {
"line": 116,
"column": 26
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
{
"type": "Identifier",
"start": 4269,
"end": 4280,
"loc": {
"start": {
"line": 116,
"column": 28
},
"end": {
"line": 116,
"column": 39
},
"identifierName": "borderWidth"
},
"name": "borderWidth"
},
{
"type": "Identifier",
"start": 4282,
"end": 4293,
"loc": {
"start": {
"line": 116,
"column": 41
},
"end": {
"line": 116,
"column": 52
},
"identifierName": "borderWidth"
},
"name": "borderWidth"
},
{
"type": "Identifier",
"start": 4295,
"end": 4299,
"loc": {
"start": {
"line": 116,
"column": 54
},
"end": {
"line": 116,
"column": 58
},
"identifierName": "dims"
},
"name": "dims"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 4313,
"end": 4400,
"loc": {
"start": {
"line": 118,
"column": 8
},
"end": {
"line": 118,
"column": 95
}
},
"expression": {
"type": "CallExpression",
"start": 4313,
"end": 4399,
"loc": {
"start": {
"line": 118,
"column": 8
},
"end": {
"line": 118,
"column": 94
}
},
"callee": {
"type": "MemberExpression",
"start": 4313,
"end": 4329,
"loc": {
"start": {
"line": 118,
"column": 8
},
"end": {
"line": 118,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 4313,
"end": 4320,
"loc": {
"start": {
"line": 118,
"column": 8
},
"end": {
"line": 118,
"column": 15
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 4321,
"end": 4329,
"loc": {
"start": {
"line": 118,
"column": 16
},
"end": {
"line": 118,
"column": 24
},
"identifierName": "fillRect"
},
"name": "fillRect"
},
"computed": false
},
"arguments": [
{
"type": "BinaryExpression",
"start": 4330,
"end": 4348,
"loc": {
"start": {
"line": 118,
"column": 25
},
"end": {
"line": 118,
"column": 43
}
},
"left": {
"type": "Identifier",
"start": 4330,
"end": 4334,
"loc": {
"start": {
"line": 118,
"column": 25
},
"end": {
"line": 118,
"column": 29
},
"identifierName": "dims"
},
"name": "dims"
},
"operator": "-",
"right": {
"type": "Identifier",
"start": 4337,
"end": 4348,
"loc": {
"start": {
"line": 118,
"column": 32
},
"end": {
"line": 118,
"column": 43
},
"identifierName": "borderWidth"
},
"name": "borderWidth"
}
},
{
"type": "Identifier",
"start": 4350,
"end": 4361,
"loc": {
"start": {
"line": 118,
"column": 45
},
"end": {
"line": 118,
"column": 56
},
"identifierName": "borderWidth"
},
"name": "borderWidth"
},
{
"type": "Identifier",
"start": 4363,
"end": 4374,
"loc": {
"start": {
"line": 118,
"column": 58
},
"end": {
"line": 118,
"column": 69
},
"identifierName": "borderWidth"
},
"name": "borderWidth"
},
{
"type": "BinaryExpression",
"start": 4376,
"end": 4398,
"loc": {
"start": {
"line": 118,
"column": 71
},
"end": {
"line": 118,
"column": 93
}
},
"left": {
"type": "Identifier",
"start": 4376,
"end": 4380,
"loc": {
"start": {
"line": 118,
"column": 71
},
"end": {
"line": 118,
"column": 75
},
"identifierName": "dims"
},
"name": "dims"
},
"operator": "-",
"right": {
"type": "BinaryExpression",
"start": 4383,
"end": 4398,
"loc": {
"start": {
"line": 118,
"column": 78
},
"end": {
"line": 118,
"column": 93
}
},
"left": {
"type": "NumericLiteral",
"start": 4383,
"end": 4384,
"loc": {
"start": {
"line": 118,
"column": 78
},
"end": {
"line": 118,
"column": 79
}
},
"extra": {
"rawValue": 2,
"raw": "2"
},
"value": 2
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 4387,
"end": 4398,
"loc": {
"start": {
"line": 118,
"column": 82
},
"end": {
"line": 118,
"column": 93
},
"identifierName": "borderWidth"
},
"name": "borderWidth"
}
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 4410,
"end": 4479,
"loc": {
"start": {
"line": 119,
"column": 8
},
"end": {
"line": 119,
"column": 77
}
},
"expression": {
"type": "CallExpression",
"start": 4410,
"end": 4478,
"loc": {
"start": {
"line": 119,
"column": 8
},
"end": {
"line": 119,
"column": 76
}
},
"callee": {
"type": "MemberExpression",
"start": 4410,
"end": 4426,
"loc": {
"start": {
"line": 119,
"column": 8
},
"end": {
"line": 119,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 4410,
"end": 4417,
"loc": {
"start": {
"line": 119,
"column": 8
},
"end": {
"line": 119,
"column": 15
},
"identifierName": "context"
},
"name": "context"
},
"property": {
"type": "Identifier",
"start": 4418,
"end": 4426,
"loc": {
"start": {
"line": 119,
"column": 16
},
"end": {
"line": 119,
"column": 24
},
"identifierName": "fillRect"
},
"name": "fillRect"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 4427,
"end": 4438,
"loc": {
"start": {
"line": 119,
"column": 25
},
"end": {
"line": 119,
"column": 36
},
"identifierName": "borderWidth"
},
"name": "borderWidth"
},
{
"type": "BinaryExpression",
"start": 4440,
"end": 4458,
"loc": {
"start": {
"line": 119,
"column": 38
},
"end": {
"line": 119,
"column": 56
}
},
"left": {
"type": "Identifier",
"start": 4440,
"end": 4444,
"loc": {
"start": {
"line": 119,
"column": 38
},
"end": {
"line": 119,
"column": 42
},
"identifierName": "dims"
},
"name": "dims"
},
"operator": "-",
"right": {
"type": "Identifier",
"start": 4447,
"end": 4458,
"loc": {
"start": {
"line": 119,
"column": 45
},
"end": {
"line": 119,
"column": 56
},
"identifierName": "borderWidth"
},
"name": "borderWidth"
}
},
{
"type": "Identifier",
"start": 4460,
"end": 4464,
"loc": {
"start": {
"line": 119,
"column": 58
},
"end": {
"line": 119,
"column": 62
},
"identifierName": "dims"
},
"name": "dims"
},
{
"type": "Identifier",
"start": 4466,
"end": 4477,
"loc": {
"start": {
"line": 119,
"column": 64
},
"end": {
"line": 119,
"column": 75
},
"identifierName": "borderWidth"
},
"name": "borderWidth"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 4491,
"end": 4528,
"loc": {
"start": {
"line": 121,
"column": 8
},
"end": {
"line": 121,
"column": 45
}
},
"expression": {
"type": "AssignmentExpression",
"start": 4491,
"end": 4527,
"loc": {
"start": {
"line": 121,
"column": 8
},
"end": {
"line": 121,
"column": 44
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 4491,
"end": 4518,
"loc": {
"start": {
"line": 121,
"column": 8
},
"end": {
"line": 121,
"column": 35
}
},
"object": {
"type": "ThisExpression",
"start": 4491,
"end": 4495,
"loc": {
"start": {
"line": 121,
"column": 8
},
"end": {
"line": 121,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 4496,
"end": 4518,
"loc": {
"start": {
"line": 121,
"column": 13
},
"end": {
"line": 121,
"column": 35
},
"identifierName": "cachedBackgroundCanvas"
},
"name": "cachedBackgroundCanvas"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 4521,
"end": 4527,
"loc": {
"start": {
"line": 121,
"column": 38
},
"end": {
"line": 121,
"column": 44
},
"identifierName": "canvas"
},
"name": "canvas"
}
}
},
{
"type": "ExpressionStatement",
"start": 4538,
"end": 4577,
"loc": {
"start": {
"line": 122,
"column": 8
},
"end": {
"line": 122,
"column": 47
}
},
"expression": {
"type": "AssignmentExpression",
"start": 4538,
"end": 4576,
"loc": {
"start": {
"line": 122,
"column": 8
},
"end": {
"line": 122,
"column": 46
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 4538,
"end": 4566,
"loc": {
"start": {
"line": 122,
"column": 8
},
"end": {
"line": 122,
"column": 36
}
},
"object": {
"type": "ThisExpression",
"start": 4538,
"end": 4542,
"loc": {
"start": {
"line": 122,
"column": 8
},
"end": {
"line": 122,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 4543,
"end": 4566,
"loc": {
"start": {
"line": 122,
"column": 13
},
"end": {
"line": 122,
"column": 36
},
"identifierName": "cachedBackgroundContext"
},
"name": "cachedBackgroundContext"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 4569,
"end": 4576,
"loc": {
"start": {
"line": 122,
"column": 39
},
"end": {
"line": 122,
"column": 46
},
"identifierName": "context"
},
"name": "context"
}
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Initializes all canvases used for background rendering\r\n ",
"start": 3547,
"end": 3622,
"loc": {
"start": {
"line": 97,
"column": 4
},
"end": {
"line": 99,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Draws the maps foreground\r\n * @param {DrawParameters} parameters\r\n ",
"start": 4592,
"end": 4681,
"loc": {
"start": {
"line": 125,
"column": 4
},
"end": {
"line": 128,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 4687,
"end": 4913,
"loc": {
"start": {
"line": 129,
"column": 4
},
"end": {
"line": 132,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 4687,
"end": 4701,
"loc": {
"start": {
"line": 129,
"column": 4
},
"end": {
"line": 129,
"column": 18
},
"identifierName": "drawForeground"
},
"name": "drawForeground",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 4702,
"end": 4712,
"loc": {
"start": {
"line": 129,
"column": 19
},
"end": {
"line": 129,
"column": 29
},
"identifierName": "parameters"
},
"name": "parameters"
}
],
"body": {
"type": "BlockStatement",
"start": 4714,
"end": 4913,
"loc": {
"start": {
"line": 129,
"column": 31
},
"end": {
"line": 132,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 4725,
"end": 4811,
"loc": {
"start": {
"line": 130,
"column": 8
},
"end": {
"line": 130,
"column": 94
}
},
"expression": {
"type": "CallExpression",
"start": 4725,
"end": 4810,
"loc": {
"start": {
"line": 130,
"column": 8
},
"end": {
"line": 130,
"column": 93
}
},
"callee": {
"type": "MemberExpression",
"start": 4725,
"end": 4747,
"loc": {
"start": {
"line": 130,
"column": 8
},
"end": {
"line": 130,
"column": 30
}
},
"object": {
"type": "ThisExpression",
"start": 4725,
"end": 4729,
"loc": {
"start": {
"line": 130,
"column": 8
},
"end": {
"line": 130,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 4730,
"end": 4747,
"loc": {
"start": {
"line": 130,
"column": 13
},
"end": {
"line": 130,
"column": 30
},
"identifierName": "drawVisibleChunks"
},
"name": "drawVisibleChunks"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 4748,
"end": 4758,
"loc": {
"start": {
"line": 130,
"column": 31
},
"end": {
"line": 130,
"column": 41
},
"identifierName": "parameters"
},
"name": "parameters"
},
{
"type": "MemberExpression",
"start": 4760,
"end": 4809,
"loc": {
"start": {
"line": 130,
"column": 43
},
"end": {
"line": 130,
"column": 92
}
},
"object": {
"type": "MemberExpression",
"start": 4760,
"end": 4782,
"loc": {
"start": {
"line": 130,
"column": 43
},
"end": {
"line": 130,
"column": 65
}
},
"object": {
"type": "Identifier",
"start": 4760,
"end": 4772,
"loc": {
"start": {
"line": 130,
"column": 43
},
"end": {
"line": 130,
"column": 55
},
"identifierName": "MapChunkView"
},
"name": "MapChunkView"
},
"property": {
"type": "Identifier",
"start": 4773,
"end": 4782,
"loc": {
"start": {
"line": 130,
"column": 56
},
"end": {
"line": 130,
"column": 65
},
"identifierName": "prototype"
},
"name": "prototype"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4783,
"end": 4809,
"loc": {
"start": {
"line": 130,
"column": 66
},
"end": {
"line": 130,
"column": 92
},
"identifierName": "drawForegroundDynamicLayer"
},
"name": "drawForegroundDynamicLayer"
},
"computed": false
}
]
}
},
{
"type": "ExpressionStatement",
"start": 4821,
"end": 4906,
"loc": {
"start": {
"line": 131,
"column": 8
},
"end": {
"line": 131,
"column": 93
}
},
"expression": {
"type": "CallExpression",
"start": 4821,
"end": 4905,
"loc": {
"start": {
"line": 131,
"column": 8
},
"end": {
"line": 131,
"column": 92
}
},
"callee": {
"type": "MemberExpression",
"start": 4821,
"end": 4843,
"loc": {
"start": {
"line": 131,
"column": 8
},
"end": {
"line": 131,
"column": 30
}
},
"object": {
"type": "ThisExpression",
"start": 4821,
"end": 4825,
"loc": {
"start": {
"line": 131,
"column": 8
},
"end": {
"line": 131,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 4826,
"end": 4843,
"loc": {
"start": {
"line": 131,
"column": 13
},
"end": {
"line": 131,
"column": 30
},
"identifierName": "drawVisibleChunks"
},
"name": "drawVisibleChunks"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 4844,
"end": 4854,
"loc": {
"start": {
"line": 131,
"column": 31
},
"end": {
"line": 131,
"column": 41
},
"identifierName": "parameters"
},
"name": "parameters"
},
{
"type": "MemberExpression",
"start": 4856,
"end": 4904,
"loc": {
"start": {
"line": 131,
"column": 43
},
"end": {
"line": 131,
"column": 91
}
},
"object": {
"type": "MemberExpression",
"start": 4856,
"end": 4878,
"loc": {
"start": {
"line": 131,
"column": 43
},
"end": {
"line": 131,
"column": 65
}
},
"object": {
"type": "Identifier",
"start": 4856,
"end": 4868,
"loc": {
"start": {
"line": 131,
"column": 43
},
"end": {
"line": 131,
"column": 55
},
"identifierName": "MapChunkView"
},
"name": "MapChunkView"
},
"property": {
"type": "Identifier",
"start": 4869,
"end": 4878,
"loc": {
"start": {
"line": 131,
"column": 56
},
"end": {
"line": 131,
"column": 65
},
"identifierName": "prototype"
},
"name": "prototype"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4879,
"end": 4904,
"loc": {
"start": {
"line": 131,
"column": 66
},
"end": {
"line": 131,
"column": 91
},
"identifierName": "drawForegroundStaticLayer"
},
"name": "drawForegroundStaticLayer"
},
"computed": false
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Draws the maps foreground\r\n * @param {DrawParameters} parameters\r\n ",
"start": 4592,
"end": 4681,
"loc": {
"start": {
"line": 125,
"column": 4
},
"end": {
"line": 128,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Calls a given method on all given chunks\r\n * @param {DrawParameters} parameters\r\n * @param {function} method\r\n * @param {string=} layer\r\n ",
"start": 4921,
"end": 5089,
"loc": {
"start": {
"line": 134,
"column": 4
},
"end": {
"line": 139,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 5095,
"end": 6310,
"loc": {
"start": {
"line": 140,
"column": 4
},
"end": {
"line": 167,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 5095,
"end": 5112,
"loc": {
"start": {
"line": 140,
"column": 4
},
"end": {
"line": 140,
"column": 21
},
"identifierName": "drawVisibleChunks"
},
"name": "drawVisibleChunks",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 5113,
"end": 5123,
"loc": {
"start": {
"line": 140,
"column": 22
},
"end": {
"line": 140,
"column": 32
},
"identifierName": "parameters"
},
"name": "parameters"
},
{
"type": "Identifier",
"start": 5125,
"end": 5131,
"loc": {
"start": {
"line": 140,
"column": 34
},
"end": {
"line": 140,
"column": 40
},
"identifierName": "method"
},
"name": "method"
},
{
"type": "Identifier",
"start": 5133,
"end": 5138,
"loc": {
"start": {
"line": 140,
"column": 42
},
"end": {
"line": 140,
"column": 47
},
"identifierName": "layer"
},
"name": "layer"
}
],
"body": {
"type": "BlockStatement",
"start": 5140,
"end": 6310,
"loc": {
"start": {
"line": 140,
"column": 49
},
"end": {
"line": 167,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 5151,
"end": 5229,
"loc": {
"start": {
"line": 141,
"column": 8
},
"end": {
"line": 141,
"column": 86
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5157,
"end": 5228,
"loc": {
"start": {
"line": 141,
"column": 14
},
"end": {
"line": 141,
"column": 85
}
},
"id": {
"type": "Identifier",
"start": 5157,
"end": 5166,
"loc": {
"start": {
"line": 141,
"column": 14
},
"end": {
"line": 141,
"column": 23
},
"identifierName": "cullRange"
},
"name": "cullRange"
},
"init": {
"type": "CallExpression",
"start": 5169,
"end": 5228,
"loc": {
"start": {
"line": 141,
"column": 26
},
"end": {
"line": 141,
"column": 85
}
},
"callee": {
"type": "MemberExpression",
"start": 5169,
"end": 5201,
"loc": {
"start": {
"line": 141,
"column": 26
},
"end": {
"line": 141,
"column": 58
}
},
"object": {
"type": "MemberExpression",
"start": 5169,
"end": 5191,
"loc": {
"start": {
"line": 141,
"column": 26
},
"end": {
"line": 141,
"column": 48
}
},
"object": {
"type": "Identifier",
"start": 5169,
"end": 5179,
"loc": {
"start": {
"line": 141,
"column": 26
},
"end": {
"line": 141,
"column": 36
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "Identifier",
"start": 5180,
"end": 5191,
"loc": {
"start": {
"line": 141,
"column": 37
},
"end": {
"line": 141,
"column": 48
},
"identifierName": "visibleRect"
},
"name": "visibleRect"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5192,
"end": 5201,
"loc": {
"start": {
"line": 141,
"column": 49
},
"end": {
"line": 141,
"column": 58
},
"identifierName": "allScaled"
},
"name": "allScaled"
},
"computed": false
},
"arguments": [
{
"type": "BinaryExpression",
"start": 5202,
"end": 5227,
"loc": {
"start": {
"line": 141,
"column": 59
},
"end": {
"line": 141,
"column": 84
}
},
"left": {
"type": "NumericLiteral",
"start": 5202,
"end": 5203,
"loc": {
"start": {
"line": 141,
"column": 59
},
"end": {
"line": 141,
"column": 60
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"operator": "/",
"right": {
"type": "MemberExpression",
"start": 5206,
"end": 5227,
"loc": {
"start": {
"line": 141,
"column": 63
},
"end": {
"line": 141,
"column": 84
}
},
"object": {
"type": "Identifier",
"start": 5206,
"end": 5218,
"loc": {
"start": {
"line": 141,
"column": 63
},
"end": {
"line": 141,
"column": 75
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
},
"property": {
"type": "Identifier",
"start": 5219,
"end": 5227,
"loc": {
"start": {
"line": 141,
"column": 76
},
"end": {
"line": 141,
"column": 84
},
"identifierName": "tileSize"
},
"name": "tileSize"
},
"computed": false
}
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 5239,
"end": 5267,
"loc": {
"start": {
"line": 142,
"column": 8
},
"end": {
"line": 142,
"column": 36
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5245,
"end": 5266,
"loc": {
"start": {
"line": 142,
"column": 14
},
"end": {
"line": 142,
"column": 35
}
},
"id": {
"type": "Identifier",
"start": 5245,
"end": 5248,
"loc": {
"start": {
"line": 142,
"column": 14
},
"end": {
"line": 142,
"column": 17
},
"identifierName": "top"
},
"name": "top"
},
"init": {
"type": "CallExpression",
"start": 5251,
"end": 5266,
"loc": {
"start": {
"line": 142,
"column": 20
},
"end": {
"line": 142,
"column": 35
}
},
"callee": {
"type": "MemberExpression",
"start": 5251,
"end": 5264,
"loc": {
"start": {
"line": 142,
"column": 20
},
"end": {
"line": 142,
"column": 33
}
},
"object": {
"type": "Identifier",
"start": 5251,
"end": 5260,
"loc": {
"start": {
"line": 142,
"column": 20
},
"end": {
"line": 142,
"column": 29
},
"identifierName": "cullRange"
},
"name": "cullRange"
},
"property": {
"type": "Identifier",
"start": 5261,
"end": 5264,
"loc": {
"start": {
"line": 142,
"column": 30
},
"end": {
"line": 142,
"column": 33
},
"identifierName": "top"
},
"name": "top"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 5277,
"end": 5309,
"loc": {
"start": {
"line": 143,
"column": 8
},
"end": {
"line": 143,
"column": 40
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5283,
"end": 5308,
"loc": {
"start": {
"line": 143,
"column": 14
},
"end": {
"line": 143,
"column": 39
}
},
"id": {
"type": "Identifier",
"start": 5283,
"end": 5288,
"loc": {
"start": {
"line": 143,
"column": 14
},
"end": {
"line": 143,
"column": 19
},
"identifierName": "right"
},
"name": "right"
},
"init": {
"type": "CallExpression",
"start": 5291,
"end": 5308,
"loc": {
"start": {
"line": 143,
"column": 22
},
"end": {
"line": 143,
"column": 39
}
},
"callee": {
"type": "MemberExpression",
"start": 5291,
"end": 5306,
"loc": {
"start": {
"line": 143,
"column": 22
},
"end": {
"line": 143,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 5291,
"end": 5300,
"loc": {
"start": {
"line": 143,
"column": 22
},
"end": {
"line": 143,
"column": 31
},
"identifierName": "cullRange"
},
"name": "cullRange"
},
"property": {
"type": "Identifier",
"start": 5301,
"end": 5306,
"loc": {
"start": {
"line": 143,
"column": 32
},
"end": {
"line": 143,
"column": 37
},
"identifierName": "right"
},
"name": "right"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 5319,
"end": 5353,
"loc": {
"start": {
"line": 144,
"column": 8
},
"end": {
"line": 144,
"column": 42
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5325,
"end": 5352,
"loc": {
"start": {
"line": 144,
"column": 14
},
"end": {
"line": 144,
"column": 41
}
},
"id": {
"type": "Identifier",
"start": 5325,
"end": 5331,
"loc": {
"start": {
"line": 144,
"column": 14
},
"end": {
"line": 144,
"column": 20
},
"identifierName": "bottom"
},
"name": "bottom"
},
"init": {
"type": "CallExpression",
"start": 5334,
"end": 5352,
"loc": {
"start": {
"line": 144,
"column": 23
},
"end": {
"line": 144,
"column": 41
}
},
"callee": {
"type": "MemberExpression",
"start": 5334,
"end": 5350,
"loc": {
"start": {
"line": 144,
"column": 23
},
"end": {
"line": 144,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 5334,
"end": 5343,
"loc": {
"start": {
"line": 144,
"column": 23
},
"end": {
"line": 144,
"column": 32
},
"identifierName": "cullRange"
},
"name": "cullRange"
},
"property": {
"type": "Identifier",
"start": 5344,
"end": 5350,
"loc": {
"start": {
"line": 144,
"column": 33
},
"end": {
"line": 144,
"column": 39
},
"identifierName": "bottom"
},
"name": "bottom"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 5363,
"end": 5393,
"loc": {
"start": {
"line": 145,
"column": 8
},
"end": {
"line": 145,
"column": 38
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5369,
"end": 5392,
"loc": {
"start": {
"line": 145,
"column": 14
},
"end": {
"line": 145,
"column": 37
}
},
"id": {
"type": "Identifier",
"start": 5369,
"end": 5373,
"loc": {
"start": {
"line": 145,
"column": 14
},
"end": {
"line": 145,
"column": 18
},
"identifierName": "left"
},
"name": "left"
},
"init": {
"type": "CallExpression",
"start": 5376,
"end": 5392,
"loc": {
"start": {
"line": 145,
"column": 21
},
"end": {
"line": 145,
"column": 37
}
},
"callee": {
"type": "MemberExpression",
"start": 5376,
"end": 5390,
"loc": {
"start": {
"line": 145,
"column": 21
},
"end": {
"line": 145,
"column": 35
}
},
"object": {
"type": "Identifier",
"start": 5376,
"end": 5385,
"loc": {
"start": {
"line": 145,
"column": 21
},
"end": {
"line": 145,
"column": 30
},
"identifierName": "cullRange"
},
"name": "cullRange"
},
"property": {
"type": "Identifier",
"start": 5386,
"end": 5390,
"loc": {
"start": {
"line": 145,
"column": 31
},
"end": {
"line": 145,
"column": 35
},
"identifierName": "left"
},
"name": "left"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 5405,
"end": 5422,
"loc": {
"start": {
"line": 147,
"column": 8
},
"end": {
"line": 147,
"column": 25
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5411,
"end": 5421,
"loc": {
"start": {
"line": 147,
"column": 14
},
"end": {
"line": 147,
"column": 24
}
},
"id": {
"type": "Identifier",
"start": 5411,
"end": 5417,
"loc": {
"start": {
"line": 147,
"column": 14
},
"end": {
"line": 147,
"column": 20
},
"identifierName": "border"
},
"name": "border"
},
"init": {
"type": "NumericLiteral",
"start": 5420,
"end": 5421,
"loc": {
"start": {
"line": 147,
"column": 23
},
"end": {
"line": 147,
"column": 24
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 5432,
"end": 5458,
"loc": {
"start": {
"line": 148,
"column": 8
},
"end": {
"line": 148,
"column": 34
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5438,
"end": 5457,
"loc": {
"start": {
"line": 148,
"column": 14
},
"end": {
"line": 148,
"column": 33
}
},
"id": {
"type": "Identifier",
"start": 5438,
"end": 5442,
"loc": {
"start": {
"line": 148,
"column": 14
},
"end": {
"line": 148,
"column": 18
},
"identifierName": "minY"
},
"name": "minY"
},
"init": {
"type": "BinaryExpression",
"start": 5445,
"end": 5457,
"loc": {
"start": {
"line": 148,
"column": 21
},
"end": {
"line": 148,
"column": 33
}
},
"left": {
"type": "Identifier",
"start": 5445,
"end": 5448,
"loc": {
"start": {
"line": 148,
"column": 21
},
"end": {
"line": 148,
"column": 24
},
"identifierName": "top"
},
"name": "top"
},
"operator": "-",
"right": {
"type": "Identifier",
"start": 5451,
"end": 5457,
"loc": {
"start": {
"line": 148,
"column": 27
},
"end": {
"line": 148,
"column": 33
},
"identifierName": "border"
},
"name": "border"
}
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 5468,
"end": 5497,
"loc": {
"start": {
"line": 149,
"column": 8
},
"end": {
"line": 149,
"column": 37
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5474,
"end": 5496,
"loc": {
"start": {
"line": 149,
"column": 14
},
"end": {
"line": 149,
"column": 36
}
},
"id": {
"type": "Identifier",
"start": 5474,
"end": 5478,
"loc": {
"start": {
"line": 149,
"column": 14
},
"end": {
"line": 149,
"column": 18
},
"identifierName": "maxY"
},
"name": "maxY"
},
"init": {
"type": "BinaryExpression",
"start": 5481,
"end": 5496,
"loc": {
"start": {
"line": 149,
"column": 21
},
"end": {
"line": 149,
"column": 36
}
},
"left": {
"type": "Identifier",
"start": 5481,
"end": 5487,
"loc": {
"start": {
"line": 149,
"column": 21
},
"end": {
"line": 149,
"column": 27
},
"identifierName": "bottom"
},
"name": "bottom"
},
"operator": "+",
"right": {
"type": "Identifier",
"start": 5490,
"end": 5496,
"loc": {
"start": {
"line": 149,
"column": 30
},
"end": {
"line": 149,
"column": 36
},
"identifierName": "border"
},
"name": "border"
}
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 5507,
"end": 5534,
"loc": {
"start": {
"line": 150,
"column": 8
},
"end": {
"line": 150,
"column": 35
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5513,
"end": 5533,
"loc": {
"start": {
"line": 150,
"column": 14
},
"end": {
"line": 150,
"column": 34
}
},
"id": {
"type": "Identifier",
"start": 5513,
"end": 5517,
"loc": {
"start": {
"line": 150,
"column": 14
},
"end": {
"line": 150,
"column": 18
},
"identifierName": "minX"
},
"name": "minX"
},
"init": {
"type": "BinaryExpression",
"start": 5520,
"end": 5533,
"loc": {
"start": {
"line": 150,
"column": 21
},
"end": {
"line": 150,
"column": 34
}
},
"left": {
"type": "Identifier",
"start": 5520,
"end": 5524,
"loc": {
"start": {
"line": 150,
"column": 21
},
"end": {
"line": 150,
"column": 25
},
"identifierName": "left"
},
"name": "left"
},
"operator": "-",
"right": {
"type": "Identifier",
"start": 5527,
"end": 5533,
"loc": {
"start": {
"line": 150,
"column": 28
},
"end": {
"line": 150,
"column": 34
},
"identifierName": "border"
},
"name": "border"
}
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 5544,
"end": 5572,
"loc": {
"start": {
"line": 151,
"column": 8
},
"end": {
"line": 151,
"column": 36
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5550,
"end": 5571,
"loc": {
"start": {
"line": 151,
"column": 14
},
"end": {
"line": 151,
"column": 35
}
},
"id": {
"type": "Identifier",
"start": 5550,
"end": 5554,
"loc": {
"start": {
"line": 151,
"column": 14
},
"end": {
"line": 151,
"column": 18
},
"identifierName": "maxX"
},
"name": "maxX"
},
"init": {
"type": "BinaryExpression",
"start": 5557,
"end": 5571,
"loc": {
"start": {
"line": 151,
"column": 21
},
"end": {
"line": 151,
"column": 35
}
},
"left": {
"type": "Identifier",
"start": 5557,
"end": 5562,
"loc": {
"start": {
"line": 151,
"column": 21
},
"end": {
"line": 151,
"column": 26
},
"identifierName": "right"
},
"name": "right"
},
"operator": "+",
"right": {
"type": "Identifier",
"start": 5565,
"end": 5571,
"loc": {
"start": {
"line": 151,
"column": 29
},
"end": {
"line": 151,
"column": 35
},
"identifierName": "border"
},
"name": "border"
}
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 5584,
"end": 5649,
"loc": {
"start": {
"line": 153,
"column": 8
},
"end": {
"line": 153,
"column": 73
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5590,
"end": 5648,
"loc": {
"start": {
"line": 153,
"column": 14
},
"end": {
"line": 153,
"column": 72
}
},
"id": {
"type": "Identifier",
"start": 5590,
"end": 5601,
"loc": {
"start": {
"line": 153,
"column": 14
},
"end": {
"line": 153,
"column": 25
},
"identifierName": "chunkStartX"
},
"name": "chunkStartX"
},
"init": {
"type": "CallExpression",
"start": 5604,
"end": 5648,
"loc": {
"start": {
"line": 153,
"column": 28
},
"end": {
"line": 153,
"column": 72
}
},
"callee": {
"type": "MemberExpression",
"start": 5604,
"end": 5614,
"loc": {
"start": {
"line": 153,
"column": 28
},
"end": {
"line": 153,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 5604,
"end": 5608,
"loc": {
"start": {
"line": 153,
"column": 28
},
"end": {
"line": 153,
"column": 32
},
"identifierName": "Math"
},
"name": "Math"
},
"property": {
"type": "Identifier",
"start": 5609,
"end": 5614,
"loc": {
"start": {
"line": 153,
"column": 33
},
"end": {
"line": 153,
"column": 38
},
"identifierName": "floor"
},
"name": "floor"
},
"computed": false
},
"arguments": [
{
"type": "BinaryExpression",
"start": 5615,
"end": 5647,
"loc": {
"start": {
"line": 153,
"column": 39
},
"end": {
"line": 153,
"column": 71
}
},
"left": {
"type": "Identifier",
"start": 5615,
"end": 5619,
"loc": {
"start": {
"line": 153,
"column": 39
},
"end": {
"line": 153,
"column": 43
},
"identifierName": "minX"
},
"name": "minX"
},
"operator": "/",
"right": {
"type": "MemberExpression",
"start": 5622,
"end": 5647,
"loc": {
"start": {
"line": 153,
"column": 46
},
"end": {
"line": 153,
"column": 71
}
},
"object": {
"type": "Identifier",
"start": 5622,
"end": 5634,
"loc": {
"start": {
"line": 153,
"column": 46
},
"end": {
"line": 153,
"column": 58
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
},
"property": {
"type": "Identifier",
"start": 5635,
"end": 5647,
"loc": {
"start": {
"line": 153,
"column": 59
},
"end": {
"line": 153,
"column": 71
},
"identifierName": "mapChunkSize"
},
"name": "mapChunkSize"
},
"computed": false
}
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 5659,
"end": 5724,
"loc": {
"start": {
"line": 154,
"column": 8
},
"end": {
"line": 154,
"column": 73
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5665,
"end": 5723,
"loc": {
"start": {
"line": 154,
"column": 14
},
"end": {
"line": 154,
"column": 72
}
},
"id": {
"type": "Identifier",
"start": 5665,
"end": 5676,
"loc": {
"start": {
"line": 154,
"column": 14
},
"end": {
"line": 154,
"column": 25
},
"identifierName": "chunkStartY"
},
"name": "chunkStartY"
},
"init": {
"type": "CallExpression",
"start": 5679,
"end": 5723,
"loc": {
"start": {
"line": 154,
"column": 28
},
"end": {
"line": 154,
"column": 72
}
},
"callee": {
"type": "MemberExpression",
"start": 5679,
"end": 5689,
"loc": {
"start": {
"line": 154,
"column": 28
},
"end": {
"line": 154,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 5679,
"end": 5683,
"loc": {
"start": {
"line": 154,
"column": 28
},
"end": {
"line": 154,
"column": 32
},
"identifierName": "Math"
},
"name": "Math"
},
"property": {
"type": "Identifier",
"start": 5684,
"end": 5689,
"loc": {
"start": {
"line": 154,
"column": 33
},
"end": {
"line": 154,
"column": 38
},
"identifierName": "floor"
},
"name": "floor"
},
"computed": false
},
"arguments": [
{
"type": "BinaryExpression",
"start": 5690,
"end": 5722,
"loc": {
"start": {
"line": 154,
"column": 39
},
"end": {
"line": 154,
"column": 71
}
},
"left": {
"type": "Identifier",
"start": 5690,
"end": 5694,
"loc": {
"start": {
"line": 154,
"column": 39
},
"end": {
"line": 154,
"column": 43
},
"identifierName": "minY"
},
"name": "minY"
},
"operator": "/",
"right": {
"type": "MemberExpression",
"start": 5697,
"end": 5722,
"loc": {
"start": {
"line": 154,
"column": 46
},
"end": {
"line": 154,
"column": 71
}
},
"object": {
"type": "Identifier",
"start": 5697,
"end": 5709,
"loc": {
"start": {
"line": 154,
"column": 46
},
"end": {
"line": 154,
"column": 58
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
},
"property": {
"type": "Identifier",
"start": 5710,
"end": 5722,
"loc": {
"start": {
"line": 154,
"column": 59
},
"end": {
"line": 154,
"column": 71
},
"identifierName": "mapChunkSize"
},
"name": "mapChunkSize"
},
"computed": false
}
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 5736,
"end": 5799,
"loc": {
"start": {
"line": 156,
"column": 8
},
"end": {
"line": 156,
"column": 71
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5742,
"end": 5798,
"loc": {
"start": {
"line": 156,
"column": 14
},
"end": {
"line": 156,
"column": 70
}
},
"id": {
"type": "Identifier",
"start": 5742,
"end": 5751,
"loc": {
"start": {
"line": 156,
"column": 14
},
"end": {
"line": 156,
"column": 23
},
"identifierName": "chunkEndX"
},
"name": "chunkEndX"
},
"init": {
"type": "CallExpression",
"start": 5754,
"end": 5798,
"loc": {
"start": {
"line": 156,
"column": 26
},
"end": {
"line": 156,
"column": 70
}
},
"callee": {
"type": "MemberExpression",
"start": 5754,
"end": 5764,
"loc": {
"start": {
"line": 156,
"column": 26
},
"end": {
"line": 156,
"column": 36
}
},
"object": {
"type": "Identifier",
"start": 5754,
"end": 5758,
"loc": {
"start": {
"line": 156,
"column": 26
},
"end": {
"line": 156,
"column": 30
},
"identifierName": "Math"
},
"name": "Math"
},
"property": {
"type": "Identifier",
"start": 5759,
"end": 5764,
"loc": {
"start": {
"line": 156,
"column": 31
},
"end": {
"line": 156,
"column": 36
},
"identifierName": "floor"
},
"name": "floor"
},
"computed": false
},
"arguments": [
{
"type": "BinaryExpression",
"start": 5765,
"end": 5797,
"loc": {
"start": {
"line": 156,
"column": 37
},
"end": {
"line": 156,
"column": 69
}
},
"left": {
"type": "Identifier",
"start": 5765,
"end": 5769,
"loc": {
"start": {
"line": 156,
"column": 37
},
"end": {
"line": 156,
"column": 41
},
"identifierName": "maxX"
},
"name": "maxX"
},
"operator": "/",
"right": {
"type": "MemberExpression",
"start": 5772,
"end": 5797,
"loc": {
"start": {
"line": 156,
"column": 44
},
"end": {
"line": 156,
"column": 69
}
},
"object": {
"type": "Identifier",
"start": 5772,
"end": 5784,
"loc": {
"start": {
"line": 156,
"column": 44
},
"end": {
"line": 156,
"column": 56
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
},
"property": {
"type": "Identifier",
"start": 5785,
"end": 5797,
"loc": {
"start": {
"line": 156,
"column": 57
},
"end": {
"line": 156,
"column": 69
},
"identifierName": "mapChunkSize"
},
"name": "mapChunkSize"
},
"computed": false
}
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 5809,
"end": 5872,
"loc": {
"start": {
"line": 157,
"column": 8
},
"end": {
"line": 157,
"column": 71
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5815,
"end": 5871,
"loc": {
"start": {
"line": 157,
"column": 14
},
"end": {
"line": 157,
"column": 70
}
},
"id": {
"type": "Identifier",
"start": 5815,
"end": 5824,
"loc": {
"start": {
"line": 157,
"column": 14
},
"end": {
"line": 157,
"column": 23
},
"identifierName": "chunkEndY"
},
"name": "chunkEndY"
},
"init": {
"type": "CallExpression",
"start": 5827,
"end": 5871,
"loc": {
"start": {
"line": 157,
"column": 26
},
"end": {
"line": 157,
"column": 70
}
},
"callee": {
"type": "MemberExpression",
"start": 5827,
"end": 5837,
"loc": {
"start": {
"line": 157,
"column": 26
},
"end": {
"line": 157,
"column": 36
}
},
"object": {
"type": "Identifier",
"start": 5827,
"end": 5831,
"loc": {
"start": {
"line": 157,
"column": 26
},
"end": {
"line": 157,
"column": 30
},
"identifierName": "Math"
},
"name": "Math"
},
"property": {
"type": "Identifier",
"start": 5832,
"end": 5837,
"loc": {
"start": {
"line": 157,
"column": 31
},
"end": {
"line": 157,
"column": 36
},
"identifierName": "floor"
},
"name": "floor"
},
"computed": false
},
"arguments": [
{
"type": "BinaryExpression",
"start": 5838,
"end": 5870,
"loc": {
"start": {
"line": 157,
"column": 37
},
"end": {
"line": 157,
"column": 69
}
},
"left": {
"type": "Identifier",
"start": 5838,
"end": 5842,
"loc": {
"start": {
"line": 157,
"column": 37
},
"end": {
"line": 157,
"column": 41
},
"identifierName": "maxY"
},
"name": "maxY"
},
"operator": "/",
"right": {
"type": "MemberExpression",
"start": 5845,
"end": 5870,
"loc": {
"start": {
"line": 157,
"column": 44
},
"end": {
"line": 157,
"column": 69
}
},
"object": {
"type": "Identifier",
"start": 5845,
"end": 5857,
"loc": {
"start": {
"line": 157,
"column": 44
},
"end": {
"line": 157,
"column": 56
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
},
"property": {
"type": "Identifier",
"start": 5858,
"end": 5870,
"loc": {
"start": {
"line": 157,
"column": 57
},
"end": {
"line": 157,
"column": 69
},
"identifierName": "mapChunkSize"
},
"name": "mapChunkSize"
},
"computed": false
}
}
]
}
}
],
"kind": "const",
"trailingComments": [
{
"type": "CommentLine",
"value": " Render y from top down for proper blending",
"start": 5884,
"end": 5929,
"loc": {
"start": {
"line": 159,
"column": 8
},
"end": {
"line": 159,
"column": 53
}
}
}
]
},
{
"type": "ForStatement",
"start": 5939,
"end": 6303,
"loc": {
"start": {
"line": 160,
"column": 8
},
"end": {
"line": 166,
"column": 9
}
},
"init": {
"type": "VariableDeclaration",
"start": 5944,
"end": 5968,
"loc": {
"start": {
"line": 160,
"column": 13
},
"end": {
"line": 160,
"column": 37
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5948,
"end": 5968,
"loc": {
"start": {
"line": 160,
"column": 17
},
"end": {
"line": 160,
"column": 37
}
},
"id": {
"type": "Identifier",
"start": 5948,
"end": 5954,
"loc": {
"start": {
"line": 160,
"column": 17
},
"end": {
"line": 160,
"column": 23
},
"identifierName": "chunkX"
},
"name": "chunkX",
"leadingComments": null
},
"init": {
"type": "Identifier",
"start": 5957,
"end": 5968,
"loc": {
"start": {
"line": 160,
"column": 26
},
"end": {
"line": 160,
"column": 37
},
"identifierName": "chunkStartX"
},
"name": "chunkStartX"
},
"leadingComments": null
}
],
"kind": "let",
"leadingComments": null
},
"test": {
"type": "BinaryExpression",
"start": 5970,
"end": 5989,
"loc": {
"start": {
"line": 160,
"column": 39
},
"end": {
"line": 160,
"column": 58
}
},
"left": {
"type": "Identifier",
"start": 5970,
"end": 5976,
"loc": {
"start": {
"line": 160,
"column": 39
},
"end": {
"line": 160,
"column": 45
},
"identifierName": "chunkX"
},
"name": "chunkX"
},
"operator": "<=",
"right": {
"type": "Identifier",
"start": 5980,
"end": 5989,
"loc": {
"start": {
"line": 160,
"column": 49
},
"end": {
"line": 160,
"column": 58
},
"identifierName": "chunkEndX"
},
"name": "chunkEndX"
}
},
"update": {
"type": "UpdateExpression",
"start": 5991,
"end": 5999,
"loc": {
"start": {
"line": 160,
"column": 60
},
"end": {
"line": 160,
"column": 68
}
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 5993,
"end": 5999,
"loc": {
"start": {
"line": 160,
"column": 62
},
"end": {
"line": 160,
"column": 68
},
"identifierName": "chunkX"
},
"name": "chunkX"
},
"extra": {
"parenthesizedArgument": false
}
},
"body": {
"type": "BlockStatement",
"start": 6001,
"end": 6303,
"loc": {
"start": {
"line": 160,
"column": 70
},
"end": {
"line": 166,
"column": 9
}
},
"body": [
{
"type": "ForStatement",
"start": 6016,
"end": 6292,
"loc": {
"start": {
"line": 161,
"column": 12
},
"end": {
"line": 165,
"column": 13
}
},
"init": {
"type": "VariableDeclaration",
"start": 6021,
"end": 6045,
"loc": {
"start": {
"line": 161,
"column": 17
},
"end": {
"line": 161,
"column": 41
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6025,
"end": 6045,
"loc": {
"start": {
"line": 161,
"column": 21
},
"end": {
"line": 161,
"column": 41
}
},
"id": {
"type": "Identifier",
"start": 6025,
"end": 6031,
"loc": {
"start": {
"line": 161,
"column": 21
},
"end": {
"line": 161,
"column": 27
},
"identifierName": "chunkY"
},
"name": "chunkY"
},
"init": {
"type": "Identifier",
"start": 6034,
"end": 6045,
"loc": {
"start": {
"line": 161,
"column": 30
},
"end": {
"line": 161,
"column": 41
},
"identifierName": "chunkStartY"
},
"name": "chunkStartY"
}
}
],
"kind": "let"
},
"test": {
"type": "BinaryExpression",
"start": 6047,
"end": 6066,
"loc": {
"start": {
"line": 161,
"column": 43
},
"end": {
"line": 161,
"column": 62
}
},
"left": {
"type": "Identifier",
"start": 6047,
"end": 6053,
"loc": {
"start": {
"line": 161,
"column": 43
},
"end": {
"line": 161,
"column": 49
},
"identifierName": "chunkY"
},
"name": "chunkY"
},
"operator": "<=",
"right": {
"type": "Identifier",
"start": 6057,
"end": 6066,
"loc": {
"start": {
"line": 161,
"column": 53
},
"end": {
"line": 161,
"column": 62
},
"identifierName": "chunkEndY"
},
"name": "chunkEndY"
}
},
"update": {
"type": "UpdateExpression",
"start": 6068,
"end": 6076,
"loc": {
"start": {
"line": 161,
"column": 64
},
"end": {
"line": 161,
"column": 72
}
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 6070,
"end": 6076,
"loc": {
"start": {
"line": 161,
"column": 66
},
"end": {
"line": 161,
"column": 72
},
"identifierName": "chunkY"
},
"name": "chunkY"
},
"extra": {
"parenthesizedArgument": false
}
},
"body": {
"type": "BlockStatement",
"start": 6078,
"end": 6292,
"loc": {
"start": {
"line": 161,
"column": 74
},
"end": {
"line": 165,
"column": 13
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 6097,
"end": 6156,
"loc": {
"start": {
"line": 162,
"column": 16
},
"end": {
"line": 162,
"column": 75
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6103,
"end": 6155,
"loc": {
"start": {
"line": 162,
"column": 22
},
"end": {
"line": 162,
"column": 74
}
},
"id": {
"type": "Identifier",
"start": 6103,
"end": 6108,
"loc": {
"start": {
"line": 162,
"column": 22
},
"end": {
"line": 162,
"column": 27
},
"identifierName": "chunk"
},
"name": "chunk"
},
"init": {
"type": "CallExpression",
"start": 6111,
"end": 6155,
"loc": {
"start": {
"line": 162,
"column": 30
},
"end": {
"line": 162,
"column": 74
}
},
"callee": {
"type": "MemberExpression",
"start": 6111,
"end": 6133,
"loc": {
"start": {
"line": 162,
"column": 30
},
"end": {
"line": 162,
"column": 52
}
},
"object": {
"type": "MemberExpression",
"start": 6111,
"end": 6124,
"loc": {
"start": {
"line": 162,
"column": 30
},
"end": {
"line": 162,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 6111,
"end": 6120,
"loc": {
"start": {
"line": 162,
"column": 30
},
"end": {
"line": 162,
"column": 39
}
},
"object": {
"type": "ThisExpression",
"start": 6111,
"end": 6115,
"loc": {
"start": {
"line": 162,
"column": 30
},
"end": {
"line": 162,
"column": 34
}
}
},
"property": {
"type": "Identifier",
"start": 6116,
"end": 6120,
"loc": {
"start": {
"line": 162,
"column": 35
},
"end": {
"line": 162,
"column": 39
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6121,
"end": 6124,
"loc": {
"start": {
"line": 162,
"column": 40
},
"end": {
"line": 162,
"column": 43
},
"identifierName": "map"
},
"name": "map"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6125,
"end": 6133,
"loc": {
"start": {
"line": 162,
"column": 44
},
"end": {
"line": 162,
"column": 52
},
"identifierName": "getChunk"
},
"name": "getChunk"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 6134,
"end": 6140,
"loc": {
"start": {
"line": 162,
"column": 53
},
"end": {
"line": 162,
"column": 59
},
"identifierName": "chunkX"
},
"name": "chunkX"
},
{
"type": "Identifier",
"start": 6142,
"end": 6148,
"loc": {
"start": {
"line": 162,
"column": 61
},
"end": {
"line": 162,
"column": 67
},
"identifierName": "chunkY"
},
"name": "chunkY"
},
{
"type": "BooleanLiteral",
"start": 6150,
"end": 6154,
"loc": {
"start": {
"line": 162,
"column": 69
},
"end": {
"line": 162,
"column": 73
}
},
"value": true
}
]
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 6174,
"end": 6277,
"loc": {
"start": {
"line": 163,
"column": 16
},
"end": {
"line": 164,
"column": 52
}
},
"test": {
"type": "Identifier",
"start": 6178,
"end": 6183,
"loc": {
"start": {
"line": 163,
"column": 20
},
"end": {
"line": 163,
"column": 25
},
"identifierName": "layer"
},
"name": "layer"
},
"consequent": {
"type": "ExpressionStatement",
"start": 6185,
"end": 6223,
"loc": {
"start": {
"line": 163,
"column": 27
},
"end": {
"line": 163,
"column": 65
}
},
"expression": {
"type": "CallExpression",
"start": 6185,
"end": 6222,
"loc": {
"start": {
"line": 163,
"column": 27
},
"end": {
"line": 163,
"column": 64
}
},
"callee": {
"type": "MemberExpression",
"start": 6185,
"end": 6196,
"loc": {
"start": {
"line": 163,
"column": 27
},
"end": {
"line": 163,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 6185,
"end": 6191,
"loc": {
"start": {
"line": 163,
"column": 27
},
"end": {
"line": 163,
"column": 33
},
"identifierName": "method"
},
"name": "method"
},
"property": {
"type": "Identifier",
"start": 6192,
"end": 6196,
"loc": {
"start": {
"line": 163,
"column": 34
},
"end": {
"line": 163,
"column": 38
},
"identifierName": "call"
},
"name": "call"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 6197,
"end": 6202,
"loc": {
"start": {
"line": 163,
"column": 39
},
"end": {
"line": 163,
"column": 44
},
"identifierName": "chunk"
},
"name": "chunk"
},
{
"type": "Identifier",
"start": 6204,
"end": 6214,
"loc": {
"start": {
"line": 163,
"column": 46
},
"end": {
"line": 163,
"column": 56
},
"identifierName": "parameters"
},
"name": "parameters"
},
{
"type": "Identifier",
"start": 6216,
"end": 6221,
"loc": {
"start": {
"line": 163,
"column": 58
},
"end": {
"line": 163,
"column": 63
},
"identifierName": "layer"
},
"name": "layer"
}
]
}
},
"alternate": {
"type": "ExpressionStatement",
"start": 6246,
"end": 6277,
"loc": {
"start": {
"line": 164,
"column": 21
},
"end": {
"line": 164,
"column": 52
}
},
"expression": {
"type": "CallExpression",
"start": 6246,
"end": 6276,
"loc": {
"start": {
"line": 164,
"column": 21
},
"end": {
"line": 164,
"column": 51
}
},
"callee": {
"type": "MemberExpression",
"start": 6246,
"end": 6257,
"loc": {
"start": {
"line": 164,
"column": 21
},
"end": {
"line": 164,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 6246,
"end": 6252,
"loc": {
"start": {
"line": 164,
"column": 21
},
"end": {
"line": 164,
"column": 27
},
"identifierName": "method"
},
"name": "method"
},
"property": {
"type": "Identifier",
"start": 6253,
"end": 6257,
"loc": {
"start": {
"line": 164,
"column": 28
},
"end": {
"line": 164,
"column": 32
},
"identifierName": "call"
},
"name": "call"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 6258,
"end": 6263,
"loc": {
"start": {
"line": 164,
"column": 33
},
"end": {
"line": 164,
"column": 38
},
"identifierName": "chunk"
},
"name": "chunk"
},
{
"type": "Identifier",
"start": 6265,
"end": 6275,
"loc": {
"start": {
"line": 164,
"column": 40
},
"end": {
"line": 164,
"column": 50
},
"identifierName": "parameters"
},
"name": "parameters"
}
]
}
}
}
],
"directives": []
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Render y from top down for proper blending",
"start": 5884,
"end": 5929,
"loc": {
"start": {
"line": 159,
"column": 8
},
"end": {
"line": 159,
"column": 53
}
}
}
]
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Calls a given method on all given chunks\r\n * @param {DrawParameters} parameters\r\n * @param {function} method\r\n * @param {string=} layer\r\n ",
"start": 4921,
"end": 5089,
"loc": {
"start": {
"line": 134,
"column": 4
},
"end": {
"line": 139,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Draws the wires foreground\r\n * @param {DrawParameters} parameters\r\n ",
"start": 6318,
"end": 6408,
"loc": {
"start": {
"line": 169,
"column": 4
},
"end": {
"line": 172,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 6414,
"end": 6553,
"loc": {
"start": {
"line": 173,
"column": 4
},
"end": {
"line": 175,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 6414,
"end": 6438,
"loc": {
"start": {
"line": 173,
"column": 4
},
"end": {
"line": 173,
"column": 28
},
"identifierName": "drawWiresForegroundLayer"
},
"name": "drawWiresForegroundLayer",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 6439,
"end": 6449,
"loc": {
"start": {
"line": 173,
"column": 29
},
"end": {
"line": 173,
"column": 39
},
"identifierName": "parameters"
},
"name": "parameters"
}
],
"body": {
"type": "BlockStatement",
"start": 6451,
"end": 6553,
"loc": {
"start": {
"line": 173,
"column": 41
},
"end": {
"line": 175,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 6462,
"end": 6546,
"loc": {
"start": {
"line": 174,
"column": 8
},
"end": {
"line": 174,
"column": 92
}
},
"expression": {
"type": "CallExpression",
"start": 6462,
"end": 6545,
"loc": {
"start": {
"line": 174,
"column": 8
},
"end": {
"line": 174,
"column": 91
}
},
"callee": {
"type": "MemberExpression",
"start": 6462,
"end": 6484,
"loc": {
"start": {
"line": 174,
"column": 8
},
"end": {
"line": 174,
"column": 30
}
},
"object": {
"type": "ThisExpression",
"start": 6462,
"end": 6466,
"loc": {
"start": {
"line": 174,
"column": 8
},
"end": {
"line": 174,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 6467,
"end": 6484,
"loc": {
"start": {
"line": 174,
"column": 13
},
"end": {
"line": 174,
"column": 30
},
"identifierName": "drawVisibleChunks"
},
"name": "drawVisibleChunks"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 6485,
"end": 6495,
"loc": {
"start": {
"line": 174,
"column": 31
},
"end": {
"line": 174,
"column": 41
},
"identifierName": "parameters"
},
"name": "parameters"
},
{
"type": "MemberExpression",
"start": 6497,
"end": 6544,
"loc": {
"start": {
"line": 174,
"column": 43
},
"end": {
"line": 174,
"column": 90
}
},
"object": {
"type": "MemberExpression",
"start": 6497,
"end": 6519,
"loc": {
"start": {
"line": 174,
"column": 43
},
"end": {
"line": 174,
"column": 65
}
},
"object": {
"type": "Identifier",
"start": 6497,
"end": 6509,
"loc": {
"start": {
"line": 174,
"column": 43
},
"end": {
"line": 174,
"column": 55
},
"identifierName": "MapChunkView"
},
"name": "MapChunkView"
},
"property": {
"type": "Identifier",
"start": 6510,
"end": 6519,
"loc": {
"start": {
"line": 174,
"column": 56
},
"end": {
"line": 174,
"column": 65
},
"identifierName": "prototype"
},
"name": "prototype"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6520,
"end": 6544,
"loc": {
"start": {
"line": 174,
"column": 66
},
"end": {
"line": 174,
"column": 90
},
"identifierName": "drawWiresForegroundLayer"
},
"name": "drawWiresForegroundLayer"
},
"computed": false
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Draws the wires foreground\r\n * @param {DrawParameters} parameters\r\n ",
"start": 6318,
"end": 6408,
"loc": {
"start": {
"line": 169,
"column": 4
},
"end": {
"line": 172,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Draws the layer foreground\r\n * @param {DrawParameters} parameters\r\n * @param {Layer} layer\r\n ",
"start": 6561,
"end": 6680,
"loc": {
"start": {
"line": 177,
"column": 4
},
"end": {
"line": 181,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 6686,
"end": 6829,
"loc": {
"start": {
"line": 182,
"column": 4
},
"end": {
"line": 184,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 6686,
"end": 6705,
"loc": {
"start": {
"line": 182,
"column": 4
},
"end": {
"line": 182,
"column": 23
},
"identifierName": "drawForegroundLayer"
},
"name": "drawForegroundLayer",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 6706,
"end": 6716,
"loc": {
"start": {
"line": 182,
"column": 24
},
"end": {
"line": 182,
"column": 34
},
"identifierName": "parameters"
},
"name": "parameters"
},
{
"type": "Identifier",
"start": 6718,
"end": 6723,
"loc": {
"start": {
"line": 182,
"column": 36
},
"end": {
"line": 182,
"column": 41
},
"identifierName": "layer"
},
"name": "layer"
}
],
"body": {
"type": "BlockStatement",
"start": 6725,
"end": 6829,
"loc": {
"start": {
"line": 182,
"column": 43
},
"end": {
"line": 184,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 6736,
"end": 6822,
"loc": {
"start": {
"line": 183,
"column": 8
},
"end": {
"line": 183,
"column": 94
}
},
"expression": {
"type": "CallExpression",
"start": 6736,
"end": 6821,
"loc": {
"start": {
"line": 183,
"column": 8
},
"end": {
"line": 183,
"column": 93
}
},
"callee": {
"type": "MemberExpression",
"start": 6736,
"end": 6758,
"loc": {
"start": {
"line": 183,
"column": 8
},
"end": {
"line": 183,
"column": 30
}
},
"object": {
"type": "ThisExpression",
"start": 6736,
"end": 6740,
"loc": {
"start": {
"line": 183,
"column": 8
},
"end": {
"line": 183,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 6741,
"end": 6758,
"loc": {
"start": {
"line": 183,
"column": 13
},
"end": {
"line": 183,
"column": 30
},
"identifierName": "drawVisibleChunks"
},
"name": "drawVisibleChunks"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 6759,
"end": 6769,
"loc": {
"start": {
"line": 183,
"column": 31
},
"end": {
"line": 183,
"column": 41
},
"identifierName": "parameters"
},
"name": "parameters"
},
{
"type": "MemberExpression",
"start": 6771,
"end": 6813,
"loc": {
"start": {
"line": 183,
"column": 43
},
"end": {
"line": 183,
"column": 85
}
},
"object": {
"type": "MemberExpression",
"start": 6771,
"end": 6793,
"loc": {
"start": {
"line": 183,
"column": 43
},
"end": {
"line": 183,
"column": 65
}
},
"object": {
"type": "Identifier",
"start": 6771,
"end": 6783,
"loc": {
"start": {
"line": 183,
"column": 43
},
"end": {
"line": 183,
"column": 55
},
"identifierName": "MapChunkView"
},
"name": "MapChunkView"
},
"property": {
"type": "Identifier",
"start": 6784,
"end": 6793,
"loc": {
"start": {
"line": 183,
"column": 56
},
"end": {
"line": 183,
"column": 65
},
"identifierName": "prototype"
},
"name": "prototype"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6794,
"end": 6813,
"loc": {
"start": {
"line": 183,
"column": 66
},
"end": {
"line": 183,
"column": 85
},
"identifierName": "drawForegroundLayer"
},
"name": "drawForegroundLayer"
},
"computed": false
},
{
"type": "Identifier",
"start": 6815,
"end": 6820,
"loc": {
"start": {
"line": 183,
"column": 87
},
"end": {
"line": 183,
"column": 92
},
"identifierName": "layer"
},
"name": "layer"
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Draws the layer foreground\r\n * @param {DrawParameters} parameters\r\n * @param {Layer} layer\r\n ",
"start": 6561,
"end": 6680,
"loc": {
"start": {
"line": 177,
"column": 4
},
"end": {
"line": 181,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Draws the map overlay\r\n * @param {DrawParameters} parameters\r\n ",
"start": 6837,
"end": 6922,
"loc": {
"start": {
"line": 186,
"column": 4
},
"end": {
"line": 189,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 6928,
"end": 7041,
"loc": {
"start": {
"line": 190,
"column": 4
},
"end": {
"line": 192,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 6928,
"end": 6939,
"loc": {
"start": {
"line": 190,
"column": 4
},
"end": {
"line": 190,
"column": 15
},
"identifierName": "drawOverlay"
},
"name": "drawOverlay",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 6940,
"end": 6950,
"loc": {
"start": {
"line": 190,
"column": 16
},
"end": {
"line": 190,
"column": 26
},
"identifierName": "parameters"
},
"name": "parameters"
}
],
"body": {
"type": "BlockStatement",
"start": 6952,
"end": 7041,
"loc": {
"start": {
"line": 190,
"column": 28
},
"end": {
"line": 192,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 6963,
"end": 7034,
"loc": {
"start": {
"line": 191,
"column": 8
},
"end": {
"line": 191,
"column": 79
}
},
"expression": {
"type": "CallExpression",
"start": 6963,
"end": 7033,
"loc": {
"start": {
"line": 191,
"column": 8
},
"end": {
"line": 191,
"column": 78
}
},
"callee": {
"type": "MemberExpression",
"start": 6963,
"end": 6985,
"loc": {
"start": {
"line": 191,
"column": 8
},
"end": {
"line": 191,
"column": 30
}
},
"object": {
"type": "ThisExpression",
"start": 6963,
"end": 6967,
"loc": {
"start": {
"line": 191,
"column": 8
},
"end": {
"line": 191,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 6968,
"end": 6985,
"loc": {
"start": {
"line": 191,
"column": 13
},
"end": {
"line": 191,
"column": 30
},
"identifierName": "drawVisibleChunks"
},
"name": "drawVisibleChunks"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 6986,
"end": 6996,
"loc": {
"start": {
"line": 191,
"column": 31
},
"end": {
"line": 191,
"column": 41
},
"identifierName": "parameters"
},
"name": "parameters"
},
{
"type": "MemberExpression",
"start": 6998,
"end": 7032,
"loc": {
"start": {
"line": 191,
"column": 43
},
"end": {
"line": 191,
"column": 77
}
},
"object": {
"type": "MemberExpression",
"start": 6998,
"end": 7020,
"loc": {
"start": {
"line": 191,
"column": 43
},
"end": {
"line": 191,
"column": 65
}
},
"object": {
"type": "Identifier",
"start": 6998,
"end": 7010,
"loc": {
"start": {
"line": 191,
"column": 43
},
"end": {
"line": 191,
"column": 55
},
"identifierName": "MapChunkView"
},
"name": "MapChunkView"
},
"property": {
"type": "Identifier",
"start": 7011,
"end": 7020,
"loc": {
"start": {
"line": 191,
"column": 56
},
"end": {
"line": 191,
"column": 65
},
"identifierName": "prototype"
},
"name": "prototype"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7021,
"end": 7032,
"loc": {
"start": {
"line": 191,
"column": 66
},
"end": {
"line": 191,
"column": 77
},
"identifierName": "drawOverlay"
},
"name": "drawOverlay"
},
"computed": false
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Draws the map overlay\r\n * @param {DrawParameters} parameters\r\n ",
"start": 6837,
"end": 6922,
"loc": {
"start": {
"line": 186,
"column": 4
},
"end": {
"line": 189,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Draws the map background\r\n * @param {DrawParameters} parameters\r\n ",
"start": 7049,
"end": 7137,
"loc": {
"start": {
"line": 194,
"column": 4
},
"end": {
"line": 197,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 7143,
"end": 7959,
"loc": {
"start": {
"line": 198,
"column": 4
},
"end": {
"line": 218,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 7143,
"end": 7157,
"loc": {
"start": {
"line": 198,
"column": 4
},
"end": {
"line": 198,
"column": 18
},
"identifierName": "drawBackground"
},
"name": "drawBackground",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 7158,
"end": 7168,
"loc": {
"start": {
"line": 198,
"column": 19
},
"end": {
"line": 198,
"column": 29
},
"identifierName": "parameters"
},
"name": "parameters"
}
],
"body": {
"type": "BlockStatement",
"start": 7170,
"end": 7959,
"loc": {
"start": {
"line": 198,
"column": 31
},
"end": {
"line": 218,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 7210,
"end": 7861,
"loc": {
"start": {
"line": 200,
"column": 8
},
"end": {
"line": 215,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 7214,
"end": 7270,
"loc": {
"start": {
"line": 200,
"column": 12
},
"end": {
"line": 200,
"column": 68
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 7215,
"end": 7270,
"loc": {
"start": {
"line": 200,
"column": 13
},
"end": {
"line": 200,
"column": 68
}
},
"object": {
"type": "CallExpression",
"start": 7215,
"end": 7254,
"loc": {
"start": {
"line": 200,
"column": 13
},
"end": {
"line": 200,
"column": 52
}
},
"callee": {
"type": "MemberExpression",
"start": 7215,
"end": 7252,
"loc": {
"start": {
"line": 200,
"column": 13
},
"end": {
"line": 200,
"column": 50
}
},
"object": {
"type": "MemberExpression",
"start": 7215,
"end": 7237,
"loc": {
"start": {
"line": 200,
"column": 13
},
"end": {
"line": 200,
"column": 35
}
},
"object": {
"type": "MemberExpression",
"start": 7215,
"end": 7228,
"loc": {
"start": {
"line": 200,
"column": 13
},
"end": {
"line": 200,
"column": 26
}
},
"object": {
"type": "MemberExpression",
"start": 7215,
"end": 7224,
"loc": {
"start": {
"line": 200,
"column": 13
},
"end": {
"line": 200,
"column": 22
}
},
"object": {
"type": "ThisExpression",
"start": 7215,
"end": 7219,
"loc": {
"start": {
"line": 200,
"column": 13
},
"end": {
"line": 200,
"column": 17
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 7220,
"end": 7224,
"loc": {
"start": {
"line": 200,
"column": 18
},
"end": {
"line": 200,
"column": 22
},
"identifierName": "root"
},
"name": "root"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 7225,
"end": 7228,
"loc": {
"start": {
"line": 200,
"column": 23
},
"end": {
"line": 200,
"column": 26
},
"identifierName": "app"
},
"name": "app"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 7229,
"end": 7237,
"loc": {
"start": {
"line": 200,
"column": 27
},
"end": {
"line": 200,
"column": 35
},
"identifierName": "settings"
},
"name": "settings"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 7238,
"end": 7252,
"loc": {
"start": {
"line": 200,
"column": 36
},
"end": {
"line": 200,
"column": 50
},
"identifierName": "getAllSettings"
},
"name": "getAllSettings"
},
"computed": false,
"leadingComments": null
},
"arguments": [],
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 7255,
"end": 7270,
"loc": {
"start": {
"line": 200,
"column": 53
},
"end": {
"line": 200,
"column": 68
},
"identifierName": "disableTileGrid"
},
"name": "disableTileGrid"
},
"computed": false,
"leadingComments": null
},
"extra": {
"parenthesizedArgument": false
},
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 7272,
"end": 7861,
"loc": {
"start": {
"line": 200,
"column": 70
},
"end": {
"line": 215,
"column": 9
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 7287,
"end": 7323,
"loc": {
"start": {
"line": 201,
"column": 12
},
"end": {
"line": 201,
"column": 48
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 7293,
"end": 7322,
"loc": {
"start": {
"line": 201,
"column": 18
},
"end": {
"line": 201,
"column": 47
}
},
"id": {
"type": "Identifier",
"start": 7293,
"end": 7296,
"loc": {
"start": {
"line": 201,
"column": 18
},
"end": {
"line": 201,
"column": 21
},
"identifierName": "dpi"
},
"name": "dpi"
},
"init": {
"type": "MemberExpression",
"start": 7299,
"end": 7322,
"loc": {
"start": {
"line": 201,
"column": 24
},
"end": {
"line": 201,
"column": 47
}
},
"object": {
"type": "ThisExpression",
"start": 7299,
"end": 7303,
"loc": {
"start": {
"line": 201,
"column": 24
},
"end": {
"line": 201,
"column": 28
}
}
},
"property": {
"type": "Identifier",
"start": 7304,
"end": 7322,
"loc": {
"start": {
"line": 201,
"column": 29
},
"end": {
"line": 201,
"column": 47
},
"identifierName": "backgroundCacheDPI"
},
"name": "backgroundCacheDPI"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 7337,
"end": 7380,
"loc": {
"start": {
"line": 202,
"column": 12
},
"end": {
"line": 202,
"column": 55
}
},
"expression": {
"type": "CallExpression",
"start": 7337,
"end": 7379,
"loc": {
"start": {
"line": 202,
"column": 12
},
"end": {
"line": 202,
"column": 54
}
},
"callee": {
"type": "MemberExpression",
"start": 7337,
"end": 7361,
"loc": {
"start": {
"line": 202,
"column": 12
},
"end": {
"line": 202,
"column": 36
}
},
"object": {
"type": "MemberExpression",
"start": 7337,
"end": 7355,
"loc": {
"start": {
"line": 202,
"column": 12
},
"end": {
"line": 202,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 7337,
"end": 7347,
"loc": {
"start": {
"line": 202,
"column": 12
},
"end": {
"line": 202,
"column": 22
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "Identifier",
"start": 7348,
"end": 7355,
"loc": {
"start": {
"line": 202,
"column": 23
},
"end": {
"line": 202,
"column": 30
},
"identifierName": "context"
},
"name": "context"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7356,
"end": 7361,
"loc": {
"start": {
"line": 202,
"column": 31
},
"end": {
"line": 202,
"column": 36
},
"identifierName": "scale"
},
"name": "scale"
},
"computed": false
},
"arguments": [
{
"type": "BinaryExpression",
"start": 7362,
"end": 7369,
"loc": {
"start": {
"line": 202,
"column": 37
},
"end": {
"line": 202,
"column": 44
}
},
"left": {
"type": "NumericLiteral",
"start": 7362,
"end": 7363,
"loc": {
"start": {
"line": 202,
"column": 37
},
"end": {
"line": 202,
"column": 38
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"operator": "/",
"right": {
"type": "Identifier",
"start": 7366,
"end": 7369,
"loc": {
"start": {
"line": 202,
"column": 41
},
"end": {
"line": 202,
"column": 44
},
"identifierName": "dpi"
},
"name": "dpi"
}
},
{
"type": "BinaryExpression",
"start": 7371,
"end": 7378,
"loc": {
"start": {
"line": 202,
"column": 46
},
"end": {
"line": 202,
"column": 53
}
},
"left": {
"type": "NumericLiteral",
"start": 7371,
"end": 7372,
"loc": {
"start": {
"line": 202,
"column": 46
},
"end": {
"line": 202,
"column": 47
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"operator": "/",
"right": {
"type": "Identifier",
"start": 7375,
"end": 7378,
"loc": {
"start": {
"line": 202,
"column": 50
},
"end": {
"line": 202,
"column": 53
},
"identifierName": "dpi"
},
"name": "dpi"
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 7396,
"end": 7548,
"loc": {
"start": {
"line": 204,
"column": 12
},
"end": {
"line": 207,
"column": 14
}
},
"expression": {
"type": "AssignmentExpression",
"start": 7396,
"end": 7547,
"loc": {
"start": {
"line": 204,
"column": 12
},
"end": {
"line": 207,
"column": 13
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 7396,
"end": 7424,
"loc": {
"start": {
"line": 204,
"column": 12
},
"end": {
"line": 204,
"column": 40
}
},
"object": {
"type": "MemberExpression",
"start": 7396,
"end": 7414,
"loc": {
"start": {
"line": 204,
"column": 12
},
"end": {
"line": 204,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 7396,
"end": 7406,
"loc": {
"start": {
"line": 204,
"column": 12
},
"end": {
"line": 204,
"column": 22
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "Identifier",
"start": 7407,
"end": 7414,
"loc": {
"start": {
"line": 204,
"column": 23
},
"end": {
"line": 204,
"column": 30
},
"identifierName": "context"
},
"name": "context"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7415,
"end": 7424,
"loc": {
"start": {
"line": 204,
"column": 31
},
"end": {
"line": 204,
"column": 40
},
"identifierName": "fillStyle"
},
"name": "fillStyle"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 7427,
"end": 7547,
"loc": {
"start": {
"line": 204,
"column": 43
},
"end": {
"line": 207,
"column": 13
}
},
"callee": {
"type": "MemberExpression",
"start": 7427,
"end": 7459,
"loc": {
"start": {
"line": 204,
"column": 43
},
"end": {
"line": 204,
"column": 75
}
},
"object": {
"type": "MemberExpression",
"start": 7427,
"end": 7445,
"loc": {
"start": {
"line": 204,
"column": 43
},
"end": {
"line": 204,
"column": 61
}
},
"object": {
"type": "Identifier",
"start": 7427,
"end": 7437,
"loc": {
"start": {
"line": 204,
"column": 43
},
"end": {
"line": 204,
"column": 53
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "Identifier",
"start": 7438,
"end": 7445,
"loc": {
"start": {
"line": 204,
"column": 54
},
"end": {
"line": 204,
"column": 61
},
"identifierName": "context"
},
"name": "context"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7446,
"end": 7459,
"loc": {
"start": {
"line": 204,
"column": 62
},
"end": {
"line": 204,
"column": 75
},
"identifierName": "createPattern"
},
"name": "createPattern"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 7478,
"end": 7505,
"loc": {
"start": {
"line": 205,
"column": 16
},
"end": {
"line": 205,
"column": 43
}
},
"object": {
"type": "ThisExpression",
"start": 7478,
"end": 7482,
"loc": {
"start": {
"line": 205,
"column": 16
},
"end": {
"line": 205,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 7483,
"end": 7505,
"loc": {
"start": {
"line": 205,
"column": 21
},
"end": {
"line": 205,
"column": 43
},
"identifierName": "cachedBackgroundCanvas"
},
"name": "cachedBackgroundCanvas"
},
"computed": false
},
{
"type": "StringLiteral",
"start": 7524,
"end": 7532,
"loc": {
"start": {
"line": 206,
"column": 16
},
"end": {
"line": 206,
"column": 24
}
},
"extra": {
"rawValue": "repeat",
"raw": "\"repeat\""
},
"value": "repeat"
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 7562,
"end": 7801,
"loc": {
"start": {
"line": 208,
"column": 12
},
"end": {
"line": 213,
"column": 14
}
},
"expression": {
"type": "CallExpression",
"start": 7562,
"end": 7800,
"loc": {
"start": {
"line": 208,
"column": 12
},
"end": {
"line": 213,
"column": 13
}
},
"callee": {
"type": "MemberExpression",
"start": 7562,
"end": 7589,
"loc": {
"start": {
"line": 208,
"column": 12
},
"end": {
"line": 208,
"column": 39
}
},
"object": {
"type": "MemberExpression",
"start": 7562,
"end": 7580,
"loc": {
"start": {
"line": 208,
"column": 12
},
"end": {
"line": 208,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 7562,
"end": 7572,
"loc": {
"start": {
"line": 208,
"column": 12
},
"end": {
"line": 208,
"column": 22
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "Identifier",
"start": 7573,
"end": 7580,
"loc": {
"start": {
"line": 208,
"column": 23
},
"end": {
"line": 208,
"column": 30
},
"identifierName": "context"
},
"name": "context"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7581,
"end": 7589,
"loc": {
"start": {
"line": 208,
"column": 31
},
"end": {
"line": 208,
"column": 39
},
"identifierName": "fillRect"
},
"name": "fillRect"
},
"computed": false
},
"arguments": [
{
"type": "BinaryExpression",
"start": 7608,
"end": 7638,
"loc": {
"start": {
"line": 209,
"column": 16
},
"end": {
"line": 209,
"column": 46
}
},
"left": {
"type": "MemberExpression",
"start": 7608,
"end": 7632,
"loc": {
"start": {
"line": 209,
"column": 16
},
"end": {
"line": 209,
"column": 40
}
},
"object": {
"type": "MemberExpression",
"start": 7608,
"end": 7630,
"loc": {
"start": {
"line": 209,
"column": 16
},
"end": {
"line": 209,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 7608,
"end": 7618,
"loc": {
"start": {
"line": 209,
"column": 16
},
"end": {
"line": 209,
"column": 26
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "Identifier",
"start": 7619,
"end": 7630,
"loc": {
"start": {
"line": 209,
"column": 27
},
"end": {
"line": 209,
"column": 38
},
"identifierName": "visibleRect"
},
"name": "visibleRect"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7631,
"end": 7632,
"loc": {
"start": {
"line": 209,
"column": 39
},
"end": {
"line": 209,
"column": 40
},
"identifierName": "x"
},
"name": "x"
},
"computed": false
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 7635,
"end": 7638,
"loc": {
"start": {
"line": 209,
"column": 43
},
"end": {
"line": 209,
"column": 46
},
"identifierName": "dpi"
},
"name": "dpi"
}
},
{
"type": "BinaryExpression",
"start": 7657,
"end": 7687,
"loc": {
"start": {
"line": 210,
"column": 16
},
"end": {
"line": 210,
"column": 46
}
},
"left": {
"type": "MemberExpression",
"start": 7657,
"end": 7681,
"loc": {
"start": {
"line": 210,
"column": 16
},
"end": {
"line": 210,
"column": 40
}
},
"object": {
"type": "MemberExpression",
"start": 7657,
"end": 7679,
"loc": {
"start": {
"line": 210,
"column": 16
},
"end": {
"line": 210,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 7657,
"end": 7667,
"loc": {
"start": {
"line": 210,
"column": 16
},
"end": {
"line": 210,
"column": 26
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "Identifier",
"start": 7668,
"end": 7679,
"loc": {
"start": {
"line": 210,
"column": 27
},
"end": {
"line": 210,
"column": 38
},
"identifierName": "visibleRect"
},
"name": "visibleRect"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7680,
"end": 7681,
"loc": {
"start": {
"line": 210,
"column": 39
},
"end": {
"line": 210,
"column": 40
},
"identifierName": "y"
},
"name": "y"
},
"computed": false
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 7684,
"end": 7687,
"loc": {
"start": {
"line": 210,
"column": 43
},
"end": {
"line": 210,
"column": 46
},
"identifierName": "dpi"
},
"name": "dpi"
}
},
{
"type": "BinaryExpression",
"start": 7706,
"end": 7736,
"loc": {
"start": {
"line": 211,
"column": 16
},
"end": {
"line": 211,
"column": 46
}
},
"left": {
"type": "MemberExpression",
"start": 7706,
"end": 7730,
"loc": {
"start": {
"line": 211,
"column": 16
},
"end": {
"line": 211,
"column": 40
}
},
"object": {
"type": "MemberExpression",
"start": 7706,
"end": 7728,
"loc": {
"start": {
"line": 211,
"column": 16
},
"end": {
"line": 211,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 7706,
"end": 7716,
"loc": {
"start": {
"line": 211,
"column": 16
},
"end": {
"line": 211,
"column": 26
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "Identifier",
"start": 7717,
"end": 7728,
"loc": {
"start": {
"line": 211,
"column": 27
},
"end": {
"line": 211,
"column": 38
},
"identifierName": "visibleRect"
},
"name": "visibleRect"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7729,
"end": 7730,
"loc": {
"start": {
"line": 211,
"column": 39
},
"end": {
"line": 211,
"column": 40
},
"identifierName": "w"
},
"name": "w"
},
"computed": false
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 7733,
"end": 7736,
"loc": {
"start": {
"line": 211,
"column": 43
},
"end": {
"line": 211,
"column": 46
},
"identifierName": "dpi"
},
"name": "dpi"
}
},
{
"type": "BinaryExpression",
"start": 7755,
"end": 7785,
"loc": {
"start": {
"line": 212,
"column": 16
},
"end": {
"line": 212,
"column": 46
}
},
"left": {
"type": "MemberExpression",
"start": 7755,
"end": 7779,
"loc": {
"start": {
"line": 212,
"column": 16
},
"end": {
"line": 212,
"column": 40
}
},
"object": {
"type": "MemberExpression",
"start": 7755,
"end": 7777,
"loc": {
"start": {
"line": 212,
"column": 16
},
"end": {
"line": 212,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 7755,
"end": 7765,
"loc": {
"start": {
"line": 212,
"column": 16
},
"end": {
"line": 212,
"column": 26
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "Identifier",
"start": 7766,
"end": 7777,
"loc": {
"start": {
"line": 212,
"column": 27
},
"end": {
"line": 212,
"column": 38
},
"identifierName": "visibleRect"
},
"name": "visibleRect"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7778,
"end": 7779,
"loc": {
"start": {
"line": 212,
"column": 39
},
"end": {
"line": 212,
"column": 40
},
"identifierName": "h"
},
"name": "h"
},
"computed": false
},
"operator": "*",
"right": {
"type": "Identifier",
"start": 7782,
"end": 7785,
"loc": {
"start": {
"line": 212,
"column": 43
},
"end": {
"line": 212,
"column": 46
},
"identifierName": "dpi"
},
"name": "dpi"
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 7815,
"end": 7850,
"loc": {
"start": {
"line": 214,
"column": 12
},
"end": {
"line": 214,
"column": 47
}
},
"expression": {
"type": "CallExpression",
"start": 7815,
"end": 7849,
"loc": {
"start": {
"line": 214,
"column": 12
},
"end": {
"line": 214,
"column": 46
}
},
"callee": {
"type": "MemberExpression",
"start": 7815,
"end": 7839,
"loc": {
"start": {
"line": 214,
"column": 12
},
"end": {
"line": 214,
"column": 36
}
},
"object": {
"type": "MemberExpression",
"start": 7815,
"end": 7833,
"loc": {
"start": {
"line": 214,
"column": 12
},
"end": {
"line": 214,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 7815,
"end": 7825,
"loc": {
"start": {
"line": 214,
"column": 12
},
"end": {
"line": 214,
"column": 22
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "Identifier",
"start": 7826,
"end": 7833,
"loc": {
"start": {
"line": 214,
"column": 23
},
"end": {
"line": 214,
"column": 30
},
"identifierName": "context"
},
"name": "context"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7834,
"end": 7839,
"loc": {
"start": {
"line": 214,
"column": 31
},
"end": {
"line": 214,
"column": 36
},
"identifierName": "scale"
},
"name": "scale"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 7840,
"end": 7843,
"loc": {
"start": {
"line": 214,
"column": 37
},
"end": {
"line": 214,
"column": 40
},
"identifierName": "dpi"
},
"name": "dpi"
},
{
"type": "Identifier",
"start": 7845,
"end": 7848,
"loc": {
"start": {
"line": 214,
"column": 42
},
"end": {
"line": 214,
"column": 45
},
"identifierName": "dpi"
},
"name": "dpi"
}
]
}
}
],
"directives": []
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Render tile grid",
"start": 7181,
"end": 7200,
"loc": {
"start": {
"line": 199,
"column": 8
},
"end": {
"line": 199,
"column": 27
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 7873,
"end": 7952,
"loc": {
"start": {
"line": 217,
"column": 8
},
"end": {
"line": 217,
"column": 87
}
},
"expression": {
"type": "CallExpression",
"start": 7873,
"end": 7951,
"loc": {
"start": {
"line": 217,
"column": 8
},
"end": {
"line": 217,
"column": 86
}
},
"callee": {
"type": "MemberExpression",
"start": 7873,
"end": 7895,
"loc": {
"start": {
"line": 217,
"column": 8
},
"end": {
"line": 217,
"column": 30
}
},
"object": {
"type": "ThisExpression",
"start": 7873,
"end": 7877,
"loc": {
"start": {
"line": 217,
"column": 8
},
"end": {
"line": 217,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 7878,
"end": 7895,
"loc": {
"start": {
"line": 217,
"column": 13
},
"end": {
"line": 217,
"column": 30
},
"identifierName": "drawVisibleChunks"
},
"name": "drawVisibleChunks"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 7896,
"end": 7906,
"loc": {
"start": {
"line": 217,
"column": 31
},
"end": {
"line": 217,
"column": 41
},
"identifierName": "parameters"
},
"name": "parameters"
},
{
"type": "MemberExpression",
"start": 7908,
"end": 7950,
"loc": {
"start": {
"line": 217,
"column": 43
},
"end": {
"line": 217,
"column": 85
}
},
"object": {
"type": "MemberExpression",
"start": 7908,
"end": 7930,
"loc": {
"start": {
"line": 217,
"column": 43
},
"end": {
"line": 217,
"column": 65
}
},
"object": {
"type": "Identifier",
"start": 7908,
"end": 7920,
"loc": {
"start": {
"line": 217,
"column": 43
},
"end": {
"line": 217,
"column": 55
},
"identifierName": "MapChunkView"
},
"name": "MapChunkView"
},
"property": {
"type": "Identifier",
"start": 7921,
"end": 7930,
"loc": {
"start": {
"line": 217,
"column": 56
},
"end": {
"line": 217,
"column": 65
},
"identifierName": "prototype"
},
"name": "prototype"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7931,
"end": 7950,
"loc": {
"start": {
"line": 217,
"column": 66
},
"end": {
"line": 217,
"column": 85
},
"identifierName": "drawBackgroundLayer"
},
"name": "drawBackgroundLayer"
},
"computed": false
}
]
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Draws the map background\r\n * @param {DrawParameters} parameters\r\n ",
"start": 7049,
"end": 7137,
"loc": {
"start": {
"line": 194,
"column": 4
},
"end": {
"line": 197,
"column": 7
}
}
}
]
}
]
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * This is the view of the map, it extends the map which is the raw model and allows\r\n * to draw it\r\n ",
"start": 336,
"end": 445,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 12,
"column": 3
}
}
}
],
"trailingComments": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * This is the view of the map, it extends the map which is the raw model and allows\r\n * to draw it\r\n ",
"start": 336,
"end": 445,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 12,
"column": 3
}
}
}
]
}
],
"directives": []
},
"comments": [
{
"type": "CommentBlock",
"value": "*\r\n * This is the view of the map, it extends the map which is the raw model and allows\r\n * to draw it\r\n ",
"start": 336,
"end": 445,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 12,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * DPI of the background cache images, required in some places\r\n ",
"start": 544,
"end": 632,
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 19,
"column": 11
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * The cached background sprite, containing the flat background\r\n * @type {HTMLCanvasElement} ",
"start": 682,
"end": 799,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 24,
"column": 39
}
}
},
{
"type": "CommentBlock",
"value": "* @type {CanvasRenderingContext2D} ",
"start": 856,
"end": 895,
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 27,
"column": 47
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Called when an entity was added, removed or changed\r\n * @param {Entity} entity\r\n ",
"start": 1429,
"end": 1532,
"loc": {
"start": {
"line": 42,
"column": 4
},
"end": {
"line": 45,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Draws all static entities like buildings etc.\r\n * @param {DrawParameters} drawParameters\r\n ",
"start": 1974,
"end": 2087,
"loc": {
"start": {
"line": 58,
"column": 4
},
"end": {
"line": 61,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " Render y from top down for proper blending",
"start": 2731,
"end": 2776,
"loc": {
"start": {
"line": 77,
"column": 12
},
"end": {
"line": 77,
"column": 57
}
}
},
{
"type": "CommentLine",
"value": " const content = this.tiles[x][y];",
"start": 2902,
"end": 2938,
"loc": {
"start": {
"line": 80,
"column": 20
},
"end": {
"line": 80,
"column": 56
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Initializes all canvases used for background rendering\r\n ",
"start": 3547,
"end": 3622,
"loc": {
"start": {
"line": 97,
"column": 4
},
"end": {
"line": 99,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " Background canvas",
"start": 3684,
"end": 3704,
"loc": {
"start": {
"line": 101,
"column": 8
},
"end": {
"line": 101,
"column": 28
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Draws the maps foreground\r\n * @param {DrawParameters} parameters\r\n ",
"start": 4592,
"end": 4681,
"loc": {
"start": {
"line": 125,
"column": 4
},
"end": {
"line": 128,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Calls a given method on all given chunks\r\n * @param {DrawParameters} parameters\r\n * @param {function} method\r\n * @param {string=} layer\r\n ",
"start": 4921,
"end": 5089,
"loc": {
"start": {
"line": 134,
"column": 4
},
"end": {
"line": 139,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " Render y from top down for proper blending",
"start": 5884,
"end": 5929,
"loc": {
"start": {
"line": 159,
"column": 8
},
"end": {
"line": 159,
"column": 53
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Draws the wires foreground\r\n * @param {DrawParameters} parameters\r\n ",
"start": 6318,
"end": 6408,
"loc": {
"start": {
"line": 169,
"column": 4
},
"end": {
"line": 172,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Draws the layer foreground\r\n * @param {DrawParameters} parameters\r\n * @param {Layer} layer\r\n ",
"start": 6561,
"end": 6680,
"loc": {
"start": {
"line": 177,
"column": 4
},
"end": {
"line": 181,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Draws the map overlay\r\n * @param {DrawParameters} parameters\r\n ",
"start": 6837,
"end": 6922,
"loc": {
"start": {
"line": 186,
"column": 4
},
"end": {
"line": 189,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Draws the map background\r\n * @param {DrawParameters} parameters\r\n ",
"start": 7049,
"end": 7137,
"loc": {
"start": {
"line": 194,
"column": 4
},
"end": {
"line": 197,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " Render tile grid",
"start": 7181,
"end": 7200,
"loc": {
"start": {
"line": 199,
"column": 8
},
"end": {
"line": 199,
"column": 27
}
}
}
],
"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": 45,
"loc": {
"start": {
"line": 1,
"column": 29
},
"end": {
"line": 1,
"column": 45
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 45,
"end": 46,
"loc": {
"start": {
"line": 1,
"column": 45
},
"end": {
"line": 1,
"column": 46
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 48,
"end": 54,
"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": 55,
"end": 56,
"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": 57,
"end": 71,
"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": 72,
"end": 73,
"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": 74,
"end": 78,
"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": 79,
"end": 104,
"loc": {
"start": {
"line": 2,
"column": 31
},
"end": {
"line": 2,
"column": 56
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 104,
"end": 105,
"loc": {
"start": {
"line": 2,
"column": 56
},
"end": {
"line": 2,
"column": 57
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 107,
"end": 113,
"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": 114,
"end": 115,
"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": "BaseMap",
"start": 116,
"end": 123,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 16
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 124,
"end": 125,
"loc": {
"start": {
"line": 3,
"column": 17
},
"end": {
"line": 3,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 126,
"end": 130,
"loc": {
"start": {
"line": 3,
"column": 19
},
"end": {
"line": 3,
"column": 23
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "./map",
"start": 131,
"end": 138,
"loc": {
"start": {
"line": 3,
"column": 24
},
"end": {
"line": 3,
"column": 31
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 138,
"end": 139,
"loc": {
"start": {
"line": 3,
"column": 31
},
"end": {
"line": 3,
"column": 32
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 141,
"end": 147,
"loc": {
"start": {
"line": 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": 148,
"end": 149,
"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": "freeCanvas",
"start": 150,
"end": 160,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 19
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 160,
"end": 161,
"loc": {
"start": {
"line": 4,
"column": 19
},
"end": {
"line": 4,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "makeOffscreenBuffer",
"start": 162,
"end": 181,
"loc": {
"start": {
"line": 4,
"column": 21
},
"end": {
"line": 4,
"column": 40
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 182,
"end": 183,
"loc": {
"start": {
"line": 4,
"column": 41
},
"end": {
"line": 4,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 184,
"end": 188,
"loc": {
"start": {
"line": 4,
"column": 43
},
"end": {
"line": 4,
"column": 47
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../core/buffer_utils",
"start": 189,
"end": 211,
"loc": {
"start": {
"line": 4,
"column": 48
},
"end": {
"line": 4,
"column": 70
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 211,
"end": 212,
"loc": {
"start": {
"line": 4,
"column": 70
},
"end": {
"line": 4,
"column": 71
}
}
},
{
"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": 214,
"end": 220,
"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": 221,
"end": 222,
"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": "Entity",
"start": 223,
"end": 229,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 15
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 230,
"end": 231,
"loc": {
"start": {
"line": 5,
"column": 16
},
"end": {
"line": 5,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 232,
"end": 236,
"loc": {
"start": {
"line": 5,
"column": 18
},
"end": {
"line": 5,
"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": 237,
"end": 247,
"loc": {
"start": {
"line": 5,
"column": 23
},
"end": {
"line": 5,
"column": 33
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 247,
"end": 248,
"loc": {
"start": {
"line": 5,
"column": 33
},
"end": {
"line": 5,
"column": 34
}
}
},
{
"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": 250,
"end": 256,
"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": 257,
"end": 258,
"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": "THEME",
"start": 259,
"end": 264,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 14
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 265,
"end": 266,
"loc": {
"start": {
"line": 6,
"column": 15
},
"end": {
"line": 6,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 267,
"end": 271,
"loc": {
"start": {
"line": 6,
"column": 17
},
"end": {
"line": 6,
"column": 21
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "./theme",
"start": 272,
"end": 281,
"loc": {
"start": {
"line": 6,
"column": 22
},
"end": {
"line": 6,
"column": 31
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 281,
"end": 282,
"loc": {
"start": {
"line": 6,
"column": 31
},
"end": {
"line": 6,
"column": 32
}
}
},
{
"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": 284,
"end": 290,
"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": 291,
"end": 292,
"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": "MapChunkView",
"start": 293,
"end": 305,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 21
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 306,
"end": 307,
"loc": {
"start": {
"line": 7,
"column": 22
},
"end": {
"line": 7,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 308,
"end": 312,
"loc": {
"start": {
"line": 7,
"column": 24
},
"end": {
"line": 7,
"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": 313,
"end": 331,
"loc": {
"start": {
"line": 7,
"column": 29
},
"end": {
"line": 7,
"column": 47
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 331,
"end": 332,
"loc": {
"start": {
"line": 7,
"column": 47
},
"end": {
"line": 7,
"column": 48
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * This is the view of the map, it extends the map which is the raw model and allows\r\n * to draw it\r\n ",
"start": 336,
"end": 445,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 12,
"column": 3
}
}
},
{
"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": 447,
"end": 453,
"loc": {
"start": {
"line": 13,
"column": 0
},
"end": {
"line": 13,
"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": 454,
"end": 459,
"loc": {
"start": {
"line": 13,
"column": 7
},
"end": {
"line": 13,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MapView",
"start": 460,
"end": 467,
"loc": {
"start": {
"line": 13,
"column": 13
},
"end": {
"line": 13,
"column": 20
}
}
},
{
"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": 468,
"end": 475,
"loc": {
"start": {
"line": 13,
"column": 21
},
"end": {
"line": 13,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "BaseMap",
"start": 476,
"end": 483,
"loc": {
"start": {
"line": 13,
"column": 29
},
"end": {
"line": 13,
"column": 36
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 484,
"end": 485,
"loc": {
"start": {
"line": 13,
"column": 37
},
"end": {
"line": 13,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 491,
"end": 502,
"loc": {
"start": {
"line": 14,
"column": 4
},
"end": {
"line": 14,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 502,
"end": 503,
"loc": {
"start": {
"line": 14,
"column": 15
},
"end": {
"line": 14,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 503,
"end": 507,
"loc": {
"start": {
"line": 14,
"column": 16
},
"end": {
"line": 14,
"column": 20
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 507,
"end": 508,
"loc": {
"start": {
"line": 14,
"column": 20
},
"end": {
"line": 14,
"column": 21
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 509,
"end": 510,
"loc": {
"start": {
"line": 14,
"column": 22
},
"end": {
"line": 14,
"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": 520,
"end": 525,
"loc": {
"start": {
"line": 15,
"column": 8
},
"end": {
"line": 15,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 525,
"end": 526,
"loc": {
"start": {
"line": 15,
"column": 13
},
"end": {
"line": 15,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 526,
"end": 530,
"loc": {
"start": {
"line": 15,
"column": 14
},
"end": {
"line": 15,
"column": 18
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 530,
"end": 531,
"loc": {
"start": {
"line": 15,
"column": 18
},
"end": {
"line": 15,
"column": 19
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 531,
"end": 532,
"loc": {
"start": {
"line": 15,
"column": 19
},
"end": {
"line": 15,
"column": 20
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * DPI of the background cache images, required in some places\r\n ",
"start": 544,
"end": 632,
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 19,
"column": 11
}
}
},
{
"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": 642,
"end": 646,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 646,
"end": 647,
"loc": {
"start": {
"line": 20,
"column": 12
},
"end": {
"line": 20,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "backgroundCacheDPI",
"start": 647,
"end": 665,
"loc": {
"start": {
"line": 20,
"column": 13
},
"end": {
"line": 20,
"column": 31
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 666,
"end": 667,
"loc": {
"start": {
"line": 20,
"column": 32
},
"end": {
"line": 20,
"column": 33
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 2,
"start": 668,
"end": 669,
"loc": {
"start": {
"line": 20,
"column": 34
},
"end": {
"line": 20,
"column": 35
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 669,
"end": 670,
"loc": {
"start": {
"line": 20,
"column": 35
},
"end": {
"line": 20,
"column": 36
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * The cached background sprite, containing the flat background\r\n * @type {HTMLCanvasElement} ",
"start": 682,
"end": 799,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 24,
"column": 39
}
}
},
{
"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": 809,
"end": 813,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 813,
"end": 814,
"loc": {
"start": {
"line": 25,
"column": 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": "cachedBackgroundCanvas",
"start": 814,
"end": 836,
"loc": {
"start": {
"line": 25,
"column": 13
},
"end": {
"line": 25,
"column": 35
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 837,
"end": 838,
"loc": {
"start": {
"line": 25,
"column": 36
},
"end": {
"line": 25,
"column": 37
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 839,
"end": 843,
"loc": {
"start": {
"line": 25,
"column": 38
},
"end": {
"line": 25,
"column": 42
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 843,
"end": 844,
"loc": {
"start": {
"line": 25,
"column": 42
},
"end": {
"line": 25,
"column": 43
}
}
},
{
"type": "CommentBlock",
"value": "* @type {CanvasRenderingContext2D} ",
"start": 856,
"end": 895,
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 27,
"column": 47
}
}
},
{
"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": 905,
"end": 909,
"loc": {
"start": {
"line": 28,
"column": 8
},
"end": {
"line": 28,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 909,
"end": 910,
"loc": {
"start": {
"line": 28,
"column": 12
},
"end": {
"line": 28,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cachedBackgroundContext",
"start": 910,
"end": 933,
"loc": {
"start": {
"line": 28,
"column": 13
},
"end": {
"line": 28,
"column": 36
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 934,
"end": 935,
"loc": {
"start": {
"line": 28,
"column": 37
},
"end": {
"line": 28,
"column": 38
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 936,
"end": 940,
"loc": {
"start": {
"line": 28,
"column": 39
},
"end": {
"line": 28,
"column": 43
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 940,
"end": 941,
"loc": {
"start": {
"line": 28,
"column": 43
},
"end": {
"line": 28,
"column": 44
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 951,
"end": 955,
"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": 955,
"end": 956,
"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": "internalInitializeCachedBackgroundCanvases",
"start": 956,
"end": 998,
"loc": {
"start": {
"line": 29,
"column": 13
},
"end": {
"line": 29,
"column": 55
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 998,
"end": 999,
"loc": {
"start": {
"line": 29,
"column": 55
},
"end": {
"line": 29,
"column": 56
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 999,
"end": 1000,
"loc": {
"start": {
"line": 29,
"column": 56
},
"end": {
"line": 29,
"column": 57
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1000,
"end": 1001,
"loc": {
"start": {
"line": 29,
"column": 57
},
"end": {
"line": 29,
"column": 58
}
}
},
{
"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": 1011,
"end": 1015,
"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": 1015,
"end": 1016,
"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": 1016,
"end": 1020,
"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": 1020,
"end": 1021,
"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": 1021,
"end": 1028,
"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": 1028,
"end": 1029,
"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": "aboutToDestruct",
"start": 1029,
"end": 1044,
"loc": {
"start": {
"line": 30,
"column": 26
},
"end": {
"line": 30,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1044,
"end": 1045,
"loc": {
"start": {
"line": 30,
"column": 41
},
"end": {
"line": 30,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 1045,
"end": 1048,
"loc": {
"start": {
"line": 30,
"column": 42
},
"end": {
"line": 30,
"column": 45
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1048,
"end": 1049,
"loc": {
"start": {
"line": 30,
"column": 45
},
"end": {
"line": 30,
"column": 46
}
}
},
{
"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": 1049,
"end": 1053,
"loc": {
"start": {
"line": 30,
"column": 46
},
"end": {
"line": 30,
"column": 50
}
}
},
{
"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": 30,
"column": 50
},
"end": {
"line": 30,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cleanup",
"start": 1054,
"end": 1061,
"loc": {
"start": {
"line": 30,
"column": 51
},
"end": {
"line": 30,
"column": 58
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1061,
"end": 1062,
"loc": {
"start": {
"line": 30,
"column": 58
},
"end": {
"line": 30,
"column": 59
}
}
},
{
"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": 1063,
"end": 1067,
"loc": {
"start": {
"line": 30,
"column": 60
},
"end": {
"line": 30,
"column": 64
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1067,
"end": 1068,
"loc": {
"start": {
"line": 30,
"column": 64
},
"end": {
"line": 30,
"column": 65
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1068,
"end": 1069,
"loc": {
"start": {
"line": 30,
"column": 65
},
"end": {
"line": 30,
"column": 66
}
}
},
{
"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": 1081,
"end": 1085,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1085,
"end": 1086,
"loc": {
"start": {
"line": 32,
"column": 12
},
"end": {
"line": 32,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 1086,
"end": 1090,
"loc": {
"start": {
"line": 32,
"column": 13
},
"end": {
"line": 32,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1090,
"end": 1091,
"loc": {
"start": {
"line": 32,
"column": 17
},
"end": {
"line": 32,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "signals",
"start": 1091,
"end": 1098,
"loc": {
"start": {
"line": 32,
"column": 18
},
"end": {
"line": 32,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1098,
"end": 1099,
"loc": {
"start": {
"line": 32,
"column": 25
},
"end": {
"line": 32,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entityAdded",
"start": 1099,
"end": 1110,
"loc": {
"start": {
"line": 32,
"column": 26
},
"end": {
"line": 32,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1110,
"end": 1111,
"loc": {
"start": {
"line": 32,
"column": 37
},
"end": {
"line": 32,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 1111,
"end": 1114,
"loc": {
"start": {
"line": 32,
"column": 38
},
"end": {
"line": 32,
"column": 41
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1114,
"end": 1115,
"loc": {
"start": {
"line": 32,
"column": 41
},
"end": {
"line": 32,
"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": 1115,
"end": 1119,
"loc": {
"start": {
"line": 32,
"column": 42
},
"end": {
"line": 32,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1119,
"end": 1120,
"loc": {
"start": {
"line": 32,
"column": 46
},
"end": {
"line": 32,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "onEntityChanged",
"start": 1120,
"end": 1135,
"loc": {
"start": {
"line": 32,
"column": 47
},
"end": {
"line": 32,
"column": 62
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1135,
"end": 1136,
"loc": {
"start": {
"line": 32,
"column": 62
},
"end": {
"line": 32,
"column": 63
}
}
},
{
"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": 1137,
"end": 1141,
"loc": {
"start": {
"line": 32,
"column": 64
},
"end": {
"line": 32,
"column": 68
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1141,
"end": 1142,
"loc": {
"start": {
"line": 32,
"column": 68
},
"end": {
"line": 32,
"column": 69
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1142,
"end": 1143,
"loc": {
"start": {
"line": 32,
"column": 69
},
"end": {
"line": 32,
"column": 70
}
}
},
{
"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": 1153,
"end": 1157,
"loc": {
"start": {
"line": 33,
"column": 8
},
"end": {
"line": 33,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1157,
"end": 1158,
"loc": {
"start": {
"line": 33,
"column": 12
},
"end": {
"line": 33,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 1158,
"end": 1162,
"loc": {
"start": {
"line": 33,
"column": 13
},
"end": {
"line": 33,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1162,
"end": 1163,
"loc": {
"start": {
"line": 33,
"column": 17
},
"end": {
"line": 33,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "signals",
"start": 1163,
"end": 1170,
"loc": {
"start": {
"line": 33,
"column": 18
},
"end": {
"line": 33,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1170,
"end": 1171,
"loc": {
"start": {
"line": 33,
"column": 25
},
"end": {
"line": 33,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entityDestroyed",
"start": 1171,
"end": 1186,
"loc": {
"start": {
"line": 33,
"column": 26
},
"end": {
"line": 33,
"column": 41
}
}
},
{
"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": 33,
"column": 41
},
"end": {
"line": 33,
"column": 42
}
}
},
{
"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": 33,
"column": 42
},
"end": {
"line": 33,
"column": 45
}
}
},
{
"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": 33,
"column": 45
},
"end": {
"line": 33,
"column": 46
}
}
},
{
"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": 33,
"column": 46
},
"end": {
"line": 33,
"column": 50
}
}
},
{
"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": 33,
"column": 50
},
"end": {
"line": 33,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "onEntityChanged",
"start": 1196,
"end": 1211,
"loc": {
"start": {
"line": 33,
"column": 51
},
"end": {
"line": 33,
"column": 66
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1211,
"end": 1212,
"loc": {
"start": {
"line": 33,
"column": 66
},
"end": {
"line": 33,
"column": 67
}
}
},
{
"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": 1213,
"end": 1217,
"loc": {
"start": {
"line": 33,
"column": 68
},
"end": {
"line": 33,
"column": 72
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1217,
"end": 1218,
"loc": {
"start": {
"line": 33,
"column": 72
},
"end": {
"line": 33,
"column": 73
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1218,
"end": 1219,
"loc": {
"start": {
"line": 33,
"column": 73
},
"end": {
"line": 33,
"column": 74
}
}
},
{
"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": 1229,
"end": 1233,
"loc": {
"start": {
"line": 34,
"column": 8
},
"end": {
"line": 34,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1233,
"end": 1234,
"loc": {
"start": {
"line": 34,
"column": 12
},
"end": {
"line": 34,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 1234,
"end": 1238,
"loc": {
"start": {
"line": 34,
"column": 13
},
"end": {
"line": 34,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1238,
"end": 1239,
"loc": {
"start": {
"line": 34,
"column": 17
},
"end": {
"line": 34,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "signals",
"start": 1239,
"end": 1246,
"loc": {
"start": {
"line": 34,
"column": 18
},
"end": {
"line": 34,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1246,
"end": 1247,
"loc": {
"start": {
"line": 34,
"column": 25
},
"end": {
"line": 34,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entityChanged",
"start": 1247,
"end": 1260,
"loc": {
"start": {
"line": 34,
"column": 26
},
"end": {
"line": 34,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1260,
"end": 1261,
"loc": {
"start": {
"line": 34,
"column": 39
},
"end": {
"line": 34,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 1261,
"end": 1264,
"loc": {
"start": {
"line": 34,
"column": 40
},
"end": {
"line": 34,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1264,
"end": 1265,
"loc": {
"start": {
"line": 34,
"column": 43
},
"end": {
"line": 34,
"column": 44
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1265,
"end": 1269,
"loc": {
"start": {
"line": 34,
"column": 44
},
"end": {
"line": 34,
"column": 48
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1269,
"end": 1270,
"loc": {
"start": {
"line": 34,
"column": 48
},
"end": {
"line": 34,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "onEntityChanged",
"start": 1270,
"end": 1285,
"loc": {
"start": {
"line": 34,
"column": 49
},
"end": {
"line": 34,
"column": 64
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1285,
"end": 1286,
"loc": {
"start": {
"line": 34,
"column": 64
},
"end": {
"line": 34,
"column": 65
}
}
},
{
"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": 1287,
"end": 1291,
"loc": {
"start": {
"line": 34,
"column": 66
},
"end": {
"line": 34,
"column": 70
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1291,
"end": 1292,
"loc": {
"start": {
"line": 34,
"column": 70
},
"end": {
"line": 34,
"column": 71
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1292,
"end": 1293,
"loc": {
"start": {
"line": 34,
"column": 71
},
"end": {
"line": 34,
"column": 72
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1299,
"end": 1300,
"loc": {
"start": {
"line": 35,
"column": 4
},
"end": {
"line": 35,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cleanup",
"start": 1308,
"end": 1315,
"loc": {
"start": {
"line": 37,
"column": 4
},
"end": {
"line": 37,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1315,
"end": 1316,
"loc": {
"start": {
"line": 37,
"column": 11
},
"end": {
"line": 37,
"column": 12
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1316,
"end": 1317,
"loc": {
"start": {
"line": 37,
"column": 12
},
"end": {
"line": 37,
"column": 13
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1318,
"end": 1319,
"loc": {
"start": {
"line": 37,
"column": 14
},
"end": {
"line": 37,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "freeCanvas",
"start": 1329,
"end": 1339,
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 38,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1339,
"end": 1340,
"loc": {
"start": {
"line": 38,
"column": 18
},
"end": {
"line": 38,
"column": 19
}
}
},
{
"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": 1340,
"end": 1344,
"loc": {
"start": {
"line": 38,
"column": 19
},
"end": {
"line": 38,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1344,
"end": 1345,
"loc": {
"start": {
"line": 38,
"column": 23
},
"end": {
"line": 38,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cachedBackgroundCanvas",
"start": 1345,
"end": 1367,
"loc": {
"start": {
"line": 38,
"column": 24
},
"end": {
"line": 38,
"column": 46
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1367,
"end": 1368,
"loc": {
"start": {
"line": 38,
"column": 46
},
"end": {
"line": 38,
"column": 47
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1368,
"end": 1369,
"loc": {
"start": {
"line": 38,
"column": 47
},
"end": {
"line": 38,
"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": 1379,
"end": 1383,
"loc": {
"start": {
"line": 39,
"column": 8
},
"end": {
"line": 39,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1383,
"end": 1384,
"loc": {
"start": {
"line": 39,
"column": 12
},
"end": {
"line": 39,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cachedBackgroundCanvas",
"start": 1384,
"end": 1406,
"loc": {
"start": {
"line": 39,
"column": 13
},
"end": {
"line": 39,
"column": 35
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1407,
"end": 1408,
"loc": {
"start": {
"line": 39,
"column": 36
},
"end": {
"line": 39,
"column": 37
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 1409,
"end": 1413,
"loc": {
"start": {
"line": 39,
"column": 38
},
"end": {
"line": 39,
"column": 42
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1413,
"end": 1414,
"loc": {
"start": {
"line": 39,
"column": 42
},
"end": {
"line": 39,
"column": 43
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1420,
"end": 1421,
"loc": {
"start": {
"line": 40,
"column": 4
},
"end": {
"line": 40,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Called when an entity was added, removed or changed\r\n * @param {Entity} entity\r\n ",
"start": 1429,
"end": 1532,
"loc": {
"start": {
"line": 42,
"column": 4
},
"end": {
"line": 45,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "onEntityChanged",
"start": 1538,
"end": 1553,
"loc": {
"start": {
"line": 46,
"column": 4
},
"end": {
"line": 46,
"column": 19
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1553,
"end": 1554,
"loc": {
"start": {
"line": 46,
"column": 19
},
"end": {
"line": 46,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 1554,
"end": 1560,
"loc": {
"start": {
"line": 46,
"column": 20
},
"end": {
"line": 46,
"column": 26
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1560,
"end": 1561,
"loc": {
"start": {
"line": 46,
"column": 26
},
"end": {
"line": 46,
"column": 27
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1562,
"end": 1563,
"loc": {
"start": {
"line": 46,
"column": 28
},
"end": {
"line": 46,
"column": 29
}
}
},
{
"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": 1573,
"end": 1578,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 47,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "staticComp",
"start": 1579,
"end": 1589,
"loc": {
"start": {
"line": 47,
"column": 14
},
"end": {
"line": 47,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1590,
"end": 1591,
"loc": {
"start": {
"line": 47,
"column": 25
},
"end": {
"line": 47,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 1592,
"end": 1598,
"loc": {
"start": {
"line": 47,
"column": 27
},
"end": {
"line": 47,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1598,
"end": 1599,
"loc": {
"start": {
"line": 47,
"column": 33
},
"end": {
"line": 47,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 1599,
"end": 1609,
"loc": {
"start": {
"line": 47,
"column": 34
},
"end": {
"line": 47,
"column": 44
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1609,
"end": 1610,
"loc": {
"start": {
"line": 47,
"column": 44
},
"end": {
"line": 47,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "StaticMapEntity",
"start": 1610,
"end": 1625,
"loc": {
"start": {
"line": 47,
"column": 45
},
"end": {
"line": 47,
"column": 60
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1625,
"end": 1626,
"loc": {
"start": {
"line": 47,
"column": 60
},
"end": {
"line": 47,
"column": 61
}
}
},
{
"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": 1636,
"end": 1638,
"loc": {
"start": {
"line": 48,
"column": 8
},
"end": {
"line": 48,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1639,
"end": 1640,
"loc": {
"start": {
"line": 48,
"column": 11
},
"end": {
"line": 48,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "staticComp",
"start": 1640,
"end": 1650,
"loc": {
"start": {
"line": 48,
"column": 12
},
"end": {
"line": 48,
"column": 22
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1650,
"end": 1651,
"loc": {
"start": {
"line": 48,
"column": 22
},
"end": {
"line": 48,
"column": 23
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1652,
"end": 1653,
"loc": {
"start": {
"line": 48,
"column": 24
},
"end": {
"line": 48,
"column": 25
}
}
},
{
"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": 1667,
"end": 1672,
"loc": {
"start": {
"line": 49,
"column": 12
},
"end": {
"line": 49,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rect",
"start": 1673,
"end": 1677,
"loc": {
"start": {
"line": 49,
"column": 18
},
"end": {
"line": 49,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1678,
"end": 1679,
"loc": {
"start": {
"line": 49,
"column": 23
},
"end": {
"line": 49,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "staticComp",
"start": 1680,
"end": 1690,
"loc": {
"start": {
"line": 49,
"column": 25
},
"end": {
"line": 49,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1690,
"end": 1691,
"loc": {
"start": {
"line": 49,
"column": 35
},
"end": {
"line": 49,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getTileSpaceBounds",
"start": 1691,
"end": 1709,
"loc": {
"start": {
"line": 49,
"column": 36
},
"end": {
"line": 49,
"column": 54
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1709,
"end": 1710,
"loc": {
"start": {
"line": 49,
"column": 54
},
"end": {
"line": 49,
"column": 55
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1710,
"end": 1711,
"loc": {
"start": {
"line": 49,
"column": 55
},
"end": {
"line": 49,
"column": 56
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1711,
"end": 1712,
"loc": {
"start": {
"line": 49,
"column": 56
},
"end": {
"line": 49,
"column": 57
}
}
},
{
"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": 1726,
"end": 1729,
"loc": {
"start": {
"line": 50,
"column": 12
},
"end": {
"line": 50,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1730,
"end": 1731,
"loc": {
"start": {
"line": 50,
"column": 16
},
"end": {
"line": 50,
"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": 1731,
"end": 1734,
"loc": {
"start": {
"line": 50,
"column": 17
},
"end": {
"line": 50,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 1735,
"end": 1736,
"loc": {
"start": {
"line": 50,
"column": 21
},
"end": {
"line": 50,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1737,
"end": 1738,
"loc": {
"start": {
"line": 50,
"column": 23
},
"end": {
"line": 50,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rect",
"start": 1739,
"end": 1743,
"loc": {
"start": {
"line": 50,
"column": 25
},
"end": {
"line": 50,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1743,
"end": 1744,
"loc": {
"start": {
"line": 50,
"column": 29
},
"end": {
"line": 50,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 1744,
"end": 1745,
"loc": {
"start": {
"line": 50,
"column": 30
},
"end": {
"line": 50,
"column": 31
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1745,
"end": 1746,
"loc": {
"start": {
"line": 50,
"column": 31
},
"end": {
"line": 50,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 1747,
"end": 1748,
"loc": {
"start": {
"line": 50,
"column": 33
},
"end": {
"line": 50,
"column": 34
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<=",
"start": 1749,
"end": 1751,
"loc": {
"start": {
"line": 50,
"column": 35
},
"end": {
"line": 50,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rect",
"start": 1752,
"end": 1756,
"loc": {
"start": {
"line": 50,
"column": 38
},
"end": {
"line": 50,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1756,
"end": 1757,
"loc": {
"start": {
"line": 50,
"column": 42
},
"end": {
"line": 50,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "right",
"start": 1757,
"end": 1762,
"loc": {
"start": {
"line": 50,
"column": 43
},
"end": {
"line": 50,
"column": 48
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1762,
"end": 1763,
"loc": {
"start": {
"line": 50,
"column": 48
},
"end": {
"line": 50,
"column": 49
}
}
},
{
"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": 50,
"column": 49
},
"end": {
"line": 50,
"column": 50
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1764,
"end": 1765,
"loc": {
"start": {
"line": 50,
"column": 50
},
"end": {
"line": 50,
"column": 51
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 1766,
"end": 1768,
"loc": {
"start": {
"line": 50,
"column": 52
},
"end": {
"line": 50,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 1768,
"end": 1769,
"loc": {
"start": {
"line": 50,
"column": 54
},
"end": {
"line": 50,
"column": 55
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1769,
"end": 1770,
"loc": {
"start": {
"line": 50,
"column": 55
},
"end": {
"line": 50,
"column": 56
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1771,
"end": 1772,
"loc": {
"start": {
"line": 50,
"column": 57
},
"end": {
"line": 50,
"column": 58
}
}
},
{
"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": 1790,
"end": 1793,
"loc": {
"start": {
"line": 51,
"column": 16
},
"end": {
"line": 51,
"column": 19
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1794,
"end": 1795,
"loc": {
"start": {
"line": 51,
"column": 20
},
"end": {
"line": 51,
"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": 1795,
"end": 1798,
"loc": {
"start": {
"line": 51,
"column": 21
},
"end": {
"line": 51,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 1799,
"end": 1800,
"loc": {
"start": {
"line": 51,
"column": 25
},
"end": {
"line": 51,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1801,
"end": 1802,
"loc": {
"start": {
"line": 51,
"column": 27
},
"end": {
"line": 51,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rect",
"start": 1803,
"end": 1807,
"loc": {
"start": {
"line": 51,
"column": 29
},
"end": {
"line": 51,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1807,
"end": 1808,
"loc": {
"start": {
"line": 51,
"column": 33
},
"end": {
"line": 51,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 1808,
"end": 1809,
"loc": {
"start": {
"line": 51,
"column": 34
},
"end": {
"line": 51,
"column": 35
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1809,
"end": 1810,
"loc": {
"start": {
"line": 51,
"column": 35
},
"end": {
"line": 51,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 1811,
"end": 1812,
"loc": {
"start": {
"line": 51,
"column": 37
},
"end": {
"line": 51,
"column": 38
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<=",
"start": 1813,
"end": 1815,
"loc": {
"start": {
"line": 51,
"column": 39
},
"end": {
"line": 51,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rect",
"start": 1816,
"end": 1820,
"loc": {
"start": {
"line": 51,
"column": 42
},
"end": {
"line": 51,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1820,
"end": 1821,
"loc": {
"start": {
"line": 51,
"column": 46
},
"end": {
"line": 51,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bottom",
"start": 1821,
"end": 1827,
"loc": {
"start": {
"line": 51,
"column": 47
},
"end": {
"line": 51,
"column": 53
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1827,
"end": 1828,
"loc": {
"start": {
"line": 51,
"column": 53
},
"end": {
"line": 51,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1828,
"end": 1829,
"loc": {
"start": {
"line": 51,
"column": 54
},
"end": {
"line": 51,
"column": 55
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1829,
"end": 1830,
"loc": {
"start": {
"line": 51,
"column": 55
},
"end": {
"line": 51,
"column": 56
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 1831,
"end": 1833,
"loc": {
"start": {
"line": 51,
"column": 57
},
"end": {
"line": 51,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 1833,
"end": 1834,
"loc": {
"start": {
"line": 51,
"column": 59
},
"end": {
"line": 51,
"column": 60
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1834,
"end": 1835,
"loc": {
"start": {
"line": 51,
"column": 60
},
"end": {
"line": 51,
"column": 61
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1836,
"end": 1837,
"loc": {
"start": {
"line": 51,
"column": 62
},
"end": {
"line": 51,
"column": 63
}
}
},
{
"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": 1859,
"end": 1863,
"loc": {
"start": {
"line": 52,
"column": 20
},
"end": {
"line": 52,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1863,
"end": 1864,
"loc": {
"start": {
"line": 52,
"column": 24
},
"end": {
"line": 52,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 1864,
"end": 1868,
"loc": {
"start": {
"line": 52,
"column": 25
},
"end": {
"line": 52,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1868,
"end": 1869,
"loc": {
"start": {
"line": 52,
"column": 29
},
"end": {
"line": 52,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "map",
"start": 1869,
"end": 1872,
"loc": {
"start": {
"line": 52,
"column": 30
},
"end": {
"line": 52,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1872,
"end": 1873,
"loc": {
"start": {
"line": 52,
"column": 33
},
"end": {
"line": 52,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getOrCreateChunkAtTile",
"start": 1873,
"end": 1895,
"loc": {
"start": {
"line": 52,
"column": 34
},
"end": {
"line": 52,
"column": 56
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1895,
"end": 1896,
"loc": {
"start": {
"line": 52,
"column": 56
},
"end": {
"line": 52,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 1896,
"end": 1897,
"loc": {
"start": {
"line": 52,
"column": 57
},
"end": {
"line": 52,
"column": 58
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1897,
"end": 1898,
"loc": {
"start": {
"line": 52,
"column": 58
},
"end": {
"line": 52,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 1899,
"end": 1900,
"loc": {
"start": {
"line": 52,
"column": 60
},
"end": {
"line": 52,
"column": 61
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1900,
"end": 1901,
"loc": {
"start": {
"line": 52,
"column": 61
},
"end": {
"line": 52,
"column": 62
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1901,
"end": 1902,
"loc": {
"start": {
"line": 52,
"column": 62
},
"end": {
"line": 52,
"column": 63
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "markDirty",
"start": 1902,
"end": 1911,
"loc": {
"start": {
"line": 52,
"column": 63
},
"end": {
"line": 52,
"column": 72
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1911,
"end": 1912,
"loc": {
"start": {
"line": 52,
"column": 72
},
"end": {
"line": 52,
"column": 73
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1912,
"end": 1913,
"loc": {
"start": {
"line": 52,
"column": 73
},
"end": {
"line": 52,
"column": 74
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1913,
"end": 1914,
"loc": {
"start": {
"line": 52,
"column": 74
},
"end": {
"line": 52,
"column": 75
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1932,
"end": 1933,
"loc": {
"start": {
"line": 53,
"column": 16
},
"end": {
"line": 53,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1947,
"end": 1948,
"loc": {
"start": {
"line": 54,
"column": 12
},
"end": {
"line": 54,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1958,
"end": 1959,
"loc": {
"start": {
"line": 55,
"column": 8
},
"end": {
"line": 55,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1965,
"end": 1966,
"loc": {
"start": {
"line": 56,
"column": 4
},
"end": {
"line": 56,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Draws all static entities like buildings etc.\r\n * @param {DrawParameters} drawParameters\r\n ",
"start": 1974,
"end": 2087,
"loc": {
"start": {
"line": 58,
"column": 4
},
"end": {
"line": 61,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "drawStaticEntityDebugOverlays",
"start": 2093,
"end": 2122,
"loc": {
"start": {
"line": 62,
"column": 4
},
"end": {
"line": 62,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2122,
"end": 2123,
"loc": {
"start": {
"line": 62,
"column": 33
},
"end": {
"line": 62,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "drawParameters",
"start": 2123,
"end": 2137,
"loc": {
"start": {
"line": 62,
"column": 34
},
"end": {
"line": 62,
"column": 48
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2137,
"end": 2138,
"loc": {
"start": {
"line": 62,
"column": 48
},
"end": {
"line": 62,
"column": 49
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2139,
"end": 2140,
"loc": {
"start": {
"line": 62,
"column": 50
},
"end": {
"line": 62,
"column": 51
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 2150,
"end": 2152,
"loc": {
"start": {
"line": 63,
"column": 8
},
"end": {
"line": 63,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2153,
"end": 2154,
"loc": {
"start": {
"line": 63,
"column": 11
},
"end": {
"line": 63,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "G_IS_DEV",
"start": 2154,
"end": 2162,
"loc": {
"start": {
"line": 63,
"column": 12
},
"end": {
"line": 63,
"column": 20
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 2163,
"end": 2165,
"loc": {
"start": {
"line": 63,
"column": 21
},
"end": {
"line": 63,
"column": 23
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2166,
"end": 2167,
"loc": {
"start": {
"line": 63,
"column": 24
},
"end": {
"line": 63,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalConfig",
"start": 2167,
"end": 2179,
"loc": {
"start": {
"line": 63,
"column": 25
},
"end": {
"line": 63,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2179,
"end": 2180,
"loc": {
"start": {
"line": 63,
"column": 37
},
"end": {
"line": 63,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "debug",
"start": 2180,
"end": 2185,
"loc": {
"start": {
"line": 63,
"column": 38
},
"end": {
"line": 63,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2185,
"end": 2186,
"loc": {
"start": {
"line": 63,
"column": 43
},
"end": {
"line": 63,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "showAcceptorEjectors",
"start": 2186,
"end": 2206,
"loc": {
"start": {
"line": 63,
"column": 44
},
"end": {
"line": 63,
"column": 64
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 2207,
"end": 2209,
"loc": {
"start": {
"line": 63,
"column": 65
},
"end": {
"line": 63,
"column": 67
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalConfig",
"start": 2210,
"end": 2222,
"loc": {
"start": {
"line": 63,
"column": 68
},
"end": {
"line": 63,
"column": 80
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2222,
"end": 2223,
"loc": {
"start": {
"line": 63,
"column": 80
},
"end": {
"line": 63,
"column": 81
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "debug",
"start": 2223,
"end": 2228,
"loc": {
"start": {
"line": 63,
"column": 81
},
"end": {
"line": 63,
"column": 86
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2228,
"end": 2229,
"loc": {
"start": {
"line": 63,
"column": 86
},
"end": {
"line": 63,
"column": 87
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "showEntityBounds",
"start": 2229,
"end": 2245,
"loc": {
"start": {
"line": 63,
"column": 87
},
"end": {
"line": 63,
"column": 103
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2245,
"end": 2246,
"loc": {
"start": {
"line": 63,
"column": 103
},
"end": {
"line": 63,
"column": 104
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2246,
"end": 2247,
"loc": {
"start": {
"line": 63,
"column": 104
},
"end": {
"line": 63,
"column": 105
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2248,
"end": 2249,
"loc": {
"start": {
"line": 63,
"column": 106
},
"end": {
"line": 63,
"column": 107
}
}
},
{
"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": 2263,
"end": 2268,
"loc": {
"start": {
"line": 64,
"column": 12
},
"end": {
"line": 64,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cullRange",
"start": 2269,
"end": 2278,
"loc": {
"start": {
"line": 64,
"column": 18
},
"end": {
"line": 64,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2279,
"end": 2280,
"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": "drawParameters",
"start": 2281,
"end": 2295,
"loc": {
"start": {
"line": 64,
"column": 30
},
"end": {
"line": 64,
"column": 44
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2295,
"end": 2296,
"loc": {
"start": {
"line": 64,
"column": 44
},
"end": {
"line": 64,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "visibleRect",
"start": 2296,
"end": 2307,
"loc": {
"start": {
"line": 64,
"column": 45
},
"end": {
"line": 64,
"column": 56
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2307,
"end": 2308,
"loc": {
"start": {
"line": 64,
"column": 56
},
"end": {
"line": 64,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "toTileCullRectangle",
"start": 2308,
"end": 2327,
"loc": {
"start": {
"line": 64,
"column": 57
},
"end": {
"line": 64,
"column": 76
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2327,
"end": 2328,
"loc": {
"start": {
"line": 64,
"column": 76
},
"end": {
"line": 64,
"column": 77
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2328,
"end": 2329,
"loc": {
"start": {
"line": 64,
"column": 77
},
"end": {
"line": 64,
"column": 78
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2329,
"end": 2330,
"loc": {
"start": {
"line": 64,
"column": 78
},
"end": {
"line": 64,
"column": 79
}
}
},
{
"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": 2344,
"end": 2349,
"loc": {
"start": {
"line": 65,
"column": 12
},
"end": {
"line": 65,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "top",
"start": 2350,
"end": 2353,
"loc": {
"start": {
"line": 65,
"column": 18
},
"end": {
"line": 65,
"column": 21
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2354,
"end": 2355,
"loc": {
"start": {
"line": 65,
"column": 22
},
"end": {
"line": 65,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cullRange",
"start": 2356,
"end": 2365,
"loc": {
"start": {
"line": 65,
"column": 24
},
"end": {
"line": 65,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2365,
"end": 2366,
"loc": {
"start": {
"line": 65,
"column": 33
},
"end": {
"line": 65,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "top",
"start": 2366,
"end": 2369,
"loc": {
"start": {
"line": 65,
"column": 34
},
"end": {
"line": 65,
"column": 37
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2369,
"end": 2370,
"loc": {
"start": {
"line": 65,
"column": 37
},
"end": {
"line": 65,
"column": 38
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2370,
"end": 2371,
"loc": {
"start": {
"line": 65,
"column": 38
},
"end": {
"line": 65,
"column": 39
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2371,
"end": 2372,
"loc": {
"start": {
"line": 65,
"column": 39
},
"end": {
"line": 65,
"column": 40
}
}
},
{
"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": 2386,
"end": 2391,
"loc": {
"start": {
"line": 66,
"column": 12
},
"end": {
"line": 66,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "right",
"start": 2392,
"end": 2397,
"loc": {
"start": {
"line": 66,
"column": 18
},
"end": {
"line": 66,
"column": 23
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2398,
"end": 2399,
"loc": {
"start": {
"line": 66,
"column": 24
},
"end": {
"line": 66,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cullRange",
"start": 2400,
"end": 2409,
"loc": {
"start": {
"line": 66,
"column": 26
},
"end": {
"line": 66,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2409,
"end": 2410,
"loc": {
"start": {
"line": 66,
"column": 35
},
"end": {
"line": 66,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "right",
"start": 2410,
"end": 2415,
"loc": {
"start": {
"line": 66,
"column": 36
},
"end": {
"line": 66,
"column": 41
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2415,
"end": 2416,
"loc": {
"start": {
"line": 66,
"column": 41
},
"end": {
"line": 66,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2416,
"end": 2417,
"loc": {
"start": {
"line": 66,
"column": 42
},
"end": {
"line": 66,
"column": 43
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2417,
"end": 2418,
"loc": {
"start": {
"line": 66,
"column": 43
},
"end": {
"line": 66,
"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": 2432,
"end": 2437,
"loc": {
"start": {
"line": 67,
"column": 12
},
"end": {
"line": 67,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bottom",
"start": 2438,
"end": 2444,
"loc": {
"start": {
"line": 67,
"column": 18
},
"end": {
"line": 67,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2445,
"end": 2446,
"loc": {
"start": {
"line": 67,
"column": 25
},
"end": {
"line": 67,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cullRange",
"start": 2447,
"end": 2456,
"loc": {
"start": {
"line": 67,
"column": 27
},
"end": {
"line": 67,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2456,
"end": 2457,
"loc": {
"start": {
"line": 67,
"column": 36
},
"end": {
"line": 67,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bottom",
"start": 2457,
"end": 2463,
"loc": {
"start": {
"line": 67,
"column": 37
},
"end": {
"line": 67,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2463,
"end": 2464,
"loc": {
"start": {
"line": 67,
"column": 43
},
"end": {
"line": 67,
"column": 44
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2464,
"end": 2465,
"loc": {
"start": {
"line": 67,
"column": 44
},
"end": {
"line": 67,
"column": 45
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2465,
"end": 2466,
"loc": {
"start": {
"line": 67,
"column": 45
},
"end": {
"line": 67,
"column": 46
}
}
},
{
"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": 2480,
"end": 2485,
"loc": {
"start": {
"line": 68,
"column": 12
},
"end": {
"line": 68,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "left",
"start": 2486,
"end": 2490,
"loc": {
"start": {
"line": 68,
"column": 18
},
"end": {
"line": 68,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2491,
"end": 2492,
"loc": {
"start": {
"line": 68,
"column": 23
},
"end": {
"line": 68,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cullRange",
"start": 2493,
"end": 2502,
"loc": {
"start": {
"line": 68,
"column": 25
},
"end": {
"line": 68,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2502,
"end": 2503,
"loc": {
"start": {
"line": 68,
"column": 34
},
"end": {
"line": 68,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "left",
"start": 2503,
"end": 2507,
"loc": {
"start": {
"line": 68,
"column": 35
},
"end": {
"line": 68,
"column": 39
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2507,
"end": 2508,
"loc": {
"start": {
"line": 68,
"column": 39
},
"end": {
"line": 68,
"column": 40
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2508,
"end": 2509,
"loc": {
"start": {
"line": 68,
"column": 40
},
"end": {
"line": 68,
"column": 41
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2509,
"end": 2510,
"loc": {
"start": {
"line": 68,
"column": 41
},
"end": {
"line": 68,
"column": 42
}
}
},
{
"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": 2526,
"end": 2531,
"loc": {
"start": {
"line": 70,
"column": 12
},
"end": {
"line": 70,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "border",
"start": 2532,
"end": 2538,
"loc": {
"start": {
"line": 70,
"column": 18
},
"end": {
"line": 70,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2539,
"end": 2540,
"loc": {
"start": {
"line": 70,
"column": 25
},
"end": {
"line": 70,
"column": 26
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 2541,
"end": 2542,
"loc": {
"start": {
"line": 70,
"column": 27
},
"end": {
"line": 70,
"column": 28
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2542,
"end": 2543,
"loc": {
"start": {
"line": 70,
"column": 28
},
"end": {
"line": 70,
"column": 29
}
}
},
{
"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": 2559,
"end": 2564,
"loc": {
"start": {
"line": 72,
"column": 12
},
"end": {
"line": 72,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "minY",
"start": 2565,
"end": 2569,
"loc": {
"start": {
"line": 72,
"column": 18
},
"end": {
"line": 72,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2570,
"end": 2571,
"loc": {
"start": {
"line": 72,
"column": 23
},
"end": {
"line": 72,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "top",
"start": 2572,
"end": 2575,
"loc": {
"start": {
"line": 72,
"column": 25
},
"end": {
"line": 72,
"column": 28
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 2576,
"end": 2577,
"loc": {
"start": {
"line": 72,
"column": 29
},
"end": {
"line": 72,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "border",
"start": 2578,
"end": 2584,
"loc": {
"start": {
"line": 72,
"column": 31
},
"end": {
"line": 72,
"column": 37
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2584,
"end": 2585,
"loc": {
"start": {
"line": 72,
"column": 37
},
"end": {
"line": 72,
"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": 2599,
"end": 2604,
"loc": {
"start": {
"line": 73,
"column": 12
},
"end": {
"line": 73,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "maxY",
"start": 2605,
"end": 2609,
"loc": {
"start": {
"line": 73,
"column": 18
},
"end": {
"line": 73,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2610,
"end": 2611,
"loc": {
"start": {
"line": 73,
"column": 23
},
"end": {
"line": 73,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bottom",
"start": 2612,
"end": 2618,
"loc": {
"start": {
"line": 73,
"column": 25
},
"end": {
"line": 73,
"column": 31
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 2619,
"end": 2620,
"loc": {
"start": {
"line": 73,
"column": 32
},
"end": {
"line": 73,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "border",
"start": 2621,
"end": 2627,
"loc": {
"start": {
"line": 73,
"column": 34
},
"end": {
"line": 73,
"column": 40
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2627,
"end": 2628,
"loc": {
"start": {
"line": 73,
"column": 40
},
"end": {
"line": 73,
"column": 41
}
}
},
{
"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": 2642,
"end": 2647,
"loc": {
"start": {
"line": 74,
"column": 12
},
"end": {
"line": 74,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "minX",
"start": 2648,
"end": 2652,
"loc": {
"start": {
"line": 74,
"column": 18
},
"end": {
"line": 74,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2653,
"end": 2654,
"loc": {
"start": {
"line": 74,
"column": 23
},
"end": {
"line": 74,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "left",
"start": 2655,
"end": 2659,
"loc": {
"start": {
"line": 74,
"column": 25
},
"end": {
"line": 74,
"column": 29
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 2660,
"end": 2661,
"loc": {
"start": {
"line": 74,
"column": 30
},
"end": {
"line": 74,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "border",
"start": 2662,
"end": 2668,
"loc": {
"start": {
"line": 74,
"column": 32
},
"end": {
"line": 74,
"column": 38
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2668,
"end": 2669,
"loc": {
"start": {
"line": 74,
"column": 38
},
"end": {
"line": 74,
"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": 2683,
"end": 2688,
"loc": {
"start": {
"line": 75,
"column": 12
},
"end": {
"line": 75,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "maxX",
"start": 2689,
"end": 2693,
"loc": {
"start": {
"line": 75,
"column": 18
},
"end": {
"line": 75,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2694,
"end": 2695,
"loc": {
"start": {
"line": 75,
"column": 23
},
"end": {
"line": 75,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "right",
"start": 2696,
"end": 2701,
"loc": {
"start": {
"line": 75,
"column": 25
},
"end": {
"line": 75,
"column": 30
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 2702,
"end": 2703,
"loc": {
"start": {
"line": 75,
"column": 31
},
"end": {
"line": 75,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "border",
"start": 2704,
"end": 2710,
"loc": {
"start": {
"line": 75,
"column": 33
},
"end": {
"line": 75,
"column": 39
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 2711,
"end": 2712,
"loc": {
"start": {
"line": 75,
"column": 40
},
"end": {
"line": 75,
"column": 41
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 2713,
"end": 2714,
"loc": {
"start": {
"line": 75,
"column": 42
},
"end": {
"line": 75,
"column": 43
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2714,
"end": 2715,
"loc": {
"start": {
"line": 75,
"column": 43
},
"end": {
"line": 75,
"column": 44
}
}
},
{
"type": "CommentLine",
"value": " Render y from top down for proper blending",
"start": 2731,
"end": 2776,
"loc": {
"start": {
"line": 77,
"column": 12
},
"end": {
"line": 77,
"column": 57
}
}
},
{
"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": 2790,
"end": 2793,
"loc": {
"start": {
"line": 78,
"column": 12
},
"end": {
"line": 78,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2794,
"end": 2795,
"loc": {
"start": {
"line": 78,
"column": 16
},
"end": {
"line": 78,
"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": 2795,
"end": 2798,
"loc": {
"start": {
"line": 78,
"column": 17
},
"end": {
"line": 78,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 2799,
"end": 2800,
"loc": {
"start": {
"line": 78,
"column": 21
},
"end": {
"line": 78,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2801,
"end": 2802,
"loc": {
"start": {
"line": 78,
"column": 23
},
"end": {
"line": 78,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "minY",
"start": 2803,
"end": 2807,
"loc": {
"start": {
"line": 78,
"column": 25
},
"end": {
"line": 78,
"column": 29
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2807,
"end": 2808,
"loc": {
"start": {
"line": 78,
"column": 29
},
"end": {
"line": 78,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 2809,
"end": 2810,
"loc": {
"start": {
"line": 78,
"column": 31
},
"end": {
"line": 78,
"column": 32
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<=",
"start": 2811,
"end": 2813,
"loc": {
"start": {
"line": 78,
"column": 33
},
"end": {
"line": 78,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "maxY",
"start": 2814,
"end": 2818,
"loc": {
"start": {
"line": 78,
"column": 36
},
"end": {
"line": 78,
"column": 40
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2818,
"end": 2819,
"loc": {
"start": {
"line": 78,
"column": 40
},
"end": {
"line": 78,
"column": 41
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 2820,
"end": 2822,
"loc": {
"start": {
"line": 78,
"column": 42
},
"end": {
"line": 78,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 2822,
"end": 2823,
"loc": {
"start": {
"line": 78,
"column": 44
},
"end": {
"line": 78,
"column": 45
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2823,
"end": 2824,
"loc": {
"start": {
"line": 78,
"column": 45
},
"end": {
"line": 78,
"column": 46
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2825,
"end": 2826,
"loc": {
"start": {
"line": 78,
"column": 47
},
"end": {
"line": 78,
"column": 48
}
}
},
{
"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": 2844,
"end": 2847,
"loc": {
"start": {
"line": 79,
"column": 16
},
"end": {
"line": 79,
"column": 19
}
}
},
{
"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": 79,
"column": 20
},
"end": {
"line": 79,
"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": 2849,
"end": 2852,
"loc": {
"start": {
"line": 79,
"column": 21
},
"end": {
"line": 79,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 2853,
"end": 2854,
"loc": {
"start": {
"line": 79,
"column": 25
},
"end": {
"line": 79,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2855,
"end": 2856,
"loc": {
"start": {
"line": 79,
"column": 27
},
"end": {
"line": 79,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "minX",
"start": 2857,
"end": 2861,
"loc": {
"start": {
"line": 79,
"column": 29
},
"end": {
"line": 79,
"column": 33
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2861,
"end": 2862,
"loc": {
"start": {
"line": 79,
"column": 33
},
"end": {
"line": 79,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 2863,
"end": 2864,
"loc": {
"start": {
"line": 79,
"column": 35
},
"end": {
"line": 79,
"column": 36
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<=",
"start": 2865,
"end": 2867,
"loc": {
"start": {
"line": 79,
"column": 37
},
"end": {
"line": 79,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "maxX",
"start": 2868,
"end": 2872,
"loc": {
"start": {
"line": 79,
"column": 40
},
"end": {
"line": 79,
"column": 44
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2872,
"end": 2873,
"loc": {
"start": {
"line": 79,
"column": 44
},
"end": {
"line": 79,
"column": 45
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 2874,
"end": 2876,
"loc": {
"start": {
"line": 79,
"column": 46
},
"end": {
"line": 79,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 2876,
"end": 2877,
"loc": {
"start": {
"line": 79,
"column": 48
},
"end": {
"line": 79,
"column": 49
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2877,
"end": 2878,
"loc": {
"start": {
"line": 79,
"column": 49
},
"end": {
"line": 79,
"column": 50
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2879,
"end": 2880,
"loc": {
"start": {
"line": 79,
"column": 51
},
"end": {
"line": 79,
"column": 52
}
}
},
{
"type": "CommentLine",
"value": " const content = this.tiles[x][y];",
"start": 2902,
"end": 2938,
"loc": {
"start": {
"line": 80,
"column": 20
},
"end": {
"line": 80,
"column": 56
}
}
},
{
"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": 2960,
"end": 2965,
"loc": {
"start": {
"line": 81,
"column": 20
},
"end": {
"line": 81,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "chunk",
"start": 2966,
"end": 2971,
"loc": {
"start": {
"line": 81,
"column": 26
},
"end": {
"line": 81,
"column": 31
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2972,
"end": 2973,
"loc": {
"start": {
"line": 81,
"column": 32
},
"end": {
"line": 81,
"column": 33
}
}
},
{
"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": 2974,
"end": 2978,
"loc": {
"start": {
"line": 81,
"column": 34
},
"end": {
"line": 81,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2978,
"end": 2979,
"loc": {
"start": {
"line": 81,
"column": 38
},
"end": {
"line": 81,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getChunkAtTileOrNull",
"start": 2979,
"end": 2999,
"loc": {
"start": {
"line": 81,
"column": 39
},
"end": {
"line": 81,
"column": 59
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2999,
"end": 3000,
"loc": {
"start": {
"line": 81,
"column": 59
},
"end": {
"line": 81,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 3000,
"end": 3001,
"loc": {
"start": {
"line": 81,
"column": 60
},
"end": {
"line": 81,
"column": 61
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3001,
"end": 3002,
"loc": {
"start": {
"line": 81,
"column": 61
},
"end": {
"line": 81,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 3003,
"end": 3004,
"loc": {
"start": {
"line": 81,
"column": 63
},
"end": {
"line": 81,
"column": 64
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3004,
"end": 3005,
"loc": {
"start": {
"line": 81,
"column": 64
},
"end": {
"line": 81,
"column": 65
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3005,
"end": 3006,
"loc": {
"start": {
"line": 81,
"column": 65
},
"end": {
"line": 81,
"column": 66
}
}
},
{
"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": 3028,
"end": 3030,
"loc": {
"start": {
"line": 82,
"column": 20
},
"end": {
"line": 82,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3031,
"end": 3032,
"loc": {
"start": {
"line": 82,
"column": 23
},
"end": {
"line": 82,
"column": 24
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 3032,
"end": 3033,
"loc": {
"start": {
"line": 82,
"column": 24
},
"end": {
"line": 82,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "chunk",
"start": 3033,
"end": 3038,
"loc": {
"start": {
"line": 82,
"column": 25
},
"end": {
"line": 82,
"column": 30
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3038,
"end": 3039,
"loc": {
"start": {
"line": 82,
"column": 30
},
"end": {
"line": 82,
"column": 31
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3040,
"end": 3041,
"loc": {
"start": {
"line": 82,
"column": 32
},
"end": {
"line": 82,
"column": 33
}
}
},
{
"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": 3067,
"end": 3075,
"loc": {
"start": {
"line": 83,
"column": 24
},
"end": {
"line": 83,
"column": 32
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3075,
"end": 3076,
"loc": {
"start": {
"line": 83,
"column": 32
},
"end": {
"line": 83,
"column": 33
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3098,
"end": 3099,
"loc": {
"start": {
"line": 84,
"column": 20
},
"end": {
"line": 84,
"column": 21
}
}
},
{
"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": 3121,
"end": 3126,
"loc": {
"start": {
"line": 85,
"column": 20
},
"end": {
"line": 85,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "content",
"start": 3127,
"end": 3134,
"loc": {
"start": {
"line": 85,
"column": 26
},
"end": {
"line": 85,
"column": 33
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3135,
"end": 3136,
"loc": {
"start": {
"line": 85,
"column": 34
},
"end": {
"line": 85,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "chunk",
"start": 3137,
"end": 3142,
"loc": {
"start": {
"line": 85,
"column": 36
},
"end": {
"line": 85,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3142,
"end": 3143,
"loc": {
"start": {
"line": 85,
"column": 41
},
"end": {
"line": 85,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getTileContentFromWorldCoords",
"start": 3143,
"end": 3172,
"loc": {
"start": {
"line": 85,
"column": 42
},
"end": {
"line": 85,
"column": 71
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3172,
"end": 3173,
"loc": {
"start": {
"line": 85,
"column": 71
},
"end": {
"line": 85,
"column": 72
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 3173,
"end": 3174,
"loc": {
"start": {
"line": 85,
"column": 72
},
"end": {
"line": 85,
"column": 73
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3174,
"end": 3175,
"loc": {
"start": {
"line": 85,
"column": 73
},
"end": {
"line": 85,
"column": 74
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 3176,
"end": 3177,
"loc": {
"start": {
"line": 85,
"column": 75
},
"end": {
"line": 85,
"column": 76
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3177,
"end": 3178,
"loc": {
"start": {
"line": 85,
"column": 76
},
"end": {
"line": 85,
"column": 77
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3178,
"end": 3179,
"loc": {
"start": {
"line": 85,
"column": 77
},
"end": {
"line": 85,
"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": 3201,
"end": 3203,
"loc": {
"start": {
"line": 86,
"column": 20
},
"end": {
"line": 86,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3204,
"end": 3205,
"loc": {
"start": {
"line": 86,
"column": 23
},
"end": {
"line": 86,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "content",
"start": 3205,
"end": 3212,
"loc": {
"start": {
"line": 86,
"column": 24
},
"end": {
"line": 86,
"column": 31
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3212,
"end": 3213,
"loc": {
"start": {
"line": 86,
"column": 31
},
"end": {
"line": 86,
"column": 32
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3214,
"end": 3215,
"loc": {
"start": {
"line": 86,
"column": 33
},
"end": {
"line": 86,
"column": 34
}
}
},
{
"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": 3241,
"end": 3244,
"loc": {
"start": {
"line": 87,
"column": 24
},
"end": {
"line": 87,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isBorder",
"start": 3245,
"end": 3253,
"loc": {
"start": {
"line": 87,
"column": 28
},
"end": {
"line": 87,
"column": 36
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3254,
"end": 3255,
"loc": {
"start": {
"line": 87,
"column": 37
},
"end": {
"line": 87,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 3256,
"end": 3257,
"loc": {
"start": {
"line": 87,
"column": 39
},
"end": {
"line": 87,
"column": 40
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<=",
"start": 3258,
"end": 3260,
"loc": {
"start": {
"line": 87,
"column": 41
},
"end": {
"line": 87,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "left",
"start": 3261,
"end": 3265,
"loc": {
"start": {
"line": 87,
"column": 44
},
"end": {
"line": 87,
"column": 48
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 3266,
"end": 3267,
"loc": {
"start": {
"line": 87,
"column": 49
},
"end": {
"line": 87,
"column": 50
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 3268,
"end": 3269,
"loc": {
"start": {
"line": 87,
"column": 51
},
"end": {
"line": 87,
"column": 52
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 3270,
"end": 3272,
"loc": {
"start": {
"line": 87,
"column": 53
},
"end": {
"line": 87,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 3273,
"end": 3274,
"loc": {
"start": {
"line": 87,
"column": 56
},
"end": {
"line": 87,
"column": 57
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": ">=",
"start": 3275,
"end": 3277,
"loc": {
"start": {
"line": 87,
"column": 58
},
"end": {
"line": 87,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "right",
"start": 3278,
"end": 3283,
"loc": {
"start": {
"line": 87,
"column": 61
},
"end": {
"line": 87,
"column": 66
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 3284,
"end": 3285,
"loc": {
"start": {
"line": 87,
"column": 67
},
"end": {
"line": 87,
"column": 68
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 3286,
"end": 3287,
"loc": {
"start": {
"line": 87,
"column": 69
},
"end": {
"line": 87,
"column": 70
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 3288,
"end": 3290,
"loc": {
"start": {
"line": 87,
"column": 71
},
"end": {
"line": 87,
"column": 73
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 3291,
"end": 3292,
"loc": {
"start": {
"line": 87,
"column": 74
},
"end": {
"line": 87,
"column": 75
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<=",
"start": 3293,
"end": 3295,
"loc": {
"start": {
"line": 87,
"column": 76
},
"end": {
"line": 87,
"column": 78
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "top",
"start": 3296,
"end": 3299,
"loc": {
"start": {
"line": 87,
"column": 79
},
"end": {
"line": 87,
"column": 82
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 3300,
"end": 3301,
"loc": {
"start": {
"line": 87,
"column": 83
},
"end": {
"line": 87,
"column": 84
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 3302,
"end": 3303,
"loc": {
"start": {
"line": 87,
"column": 85
},
"end": {
"line": 87,
"column": 86
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 3304,
"end": 3306,
"loc": {
"start": {
"line": 87,
"column": 87
},
"end": {
"line": 87,
"column": 89
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 3307,
"end": 3308,
"loc": {
"start": {
"line": 87,
"column": 90
},
"end": {
"line": 87,
"column": 91
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": ">=",
"start": 3309,
"end": 3311,
"loc": {
"start": {
"line": 87,
"column": 92
},
"end": {
"line": 87,
"column": 94
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bottom",
"start": 3312,
"end": 3318,
"loc": {
"start": {
"line": 87,
"column": 95
},
"end": {
"line": 87,
"column": 101
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 3319,
"end": 3320,
"loc": {
"start": {
"line": 87,
"column": 102
},
"end": {
"line": 87,
"column": 103
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 3321,
"end": 3322,
"loc": {
"start": {
"line": 87,
"column": 104
},
"end": {
"line": 87,
"column": 105
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3322,
"end": 3323,
"loc": {
"start": {
"line": 87,
"column": 105
},
"end": {
"line": 87,
"column": 106
}
}
},
{
"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": 3349,
"end": 3351,
"loc": {
"start": {
"line": 88,
"column": 24
},
"end": {
"line": 88,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3352,
"end": 3353,
"loc": {
"start": {
"line": 88,
"column": 27
},
"end": {
"line": 88,
"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": 3353,
"end": 3354,
"loc": {
"start": {
"line": 88,
"column": 28
},
"end": {
"line": 88,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isBorder",
"start": 3354,
"end": 3362,
"loc": {
"start": {
"line": 88,
"column": 29
},
"end": {
"line": 88,
"column": 37
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3362,
"end": 3363,
"loc": {
"start": {
"line": 88,
"column": 37
},
"end": {
"line": 88,
"column": 38
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3364,
"end": 3365,
"loc": {
"start": {
"line": 88,
"column": 39
},
"end": {
"line": 88,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "content",
"start": 3395,
"end": 3402,
"loc": {
"start": {
"line": 89,
"column": 28
},
"end": {
"line": 89,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3402,
"end": 3403,
"loc": {
"start": {
"line": 89,
"column": 35
},
"end": {
"line": 89,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "drawDebugOverlays",
"start": 3403,
"end": 3420,
"loc": {
"start": {
"line": 89,
"column": 36
},
"end": {
"line": 89,
"column": 53
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3420,
"end": 3421,
"loc": {
"start": {
"line": 89,
"column": 53
},
"end": {
"line": 89,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "drawParameters",
"start": 3421,
"end": 3435,
"loc": {
"start": {
"line": 89,
"column": 54
},
"end": {
"line": 89,
"column": 68
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3435,
"end": 3436,
"loc": {
"start": {
"line": 89,
"column": 68
},
"end": {
"line": 89,
"column": 69
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3436,
"end": 3437,
"loc": {
"start": {
"line": 89,
"column": 69
},
"end": {
"line": 89,
"column": 70
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3463,
"end": 3464,
"loc": {
"start": {
"line": 90,
"column": 24
},
"end": {
"line": 90,
"column": 25
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3486,
"end": 3487,
"loc": {
"start": {
"line": 91,
"column": 20
},
"end": {
"line": 91,
"column": 21
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3505,
"end": 3506,
"loc": {
"start": {
"line": 92,
"column": 16
},
"end": {
"line": 92,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3520,
"end": 3521,
"loc": {
"start": {
"line": 93,
"column": 12
},
"end": {
"line": 93,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3531,
"end": 3532,
"loc": {
"start": {
"line": 94,
"column": 8
},
"end": {
"line": 94,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3538,
"end": 3539,
"loc": {
"start": {
"line": 95,
"column": 4
},
"end": {
"line": 95,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Initializes all canvases used for background rendering\r\n ",
"start": 3547,
"end": 3622,
"loc": {
"start": {
"line": 97,
"column": 4
},
"end": {
"line": 99,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "internalInitializeCachedBackgroundCanvases",
"start": 3628,
"end": 3670,
"loc": {
"start": {
"line": 100,
"column": 4
},
"end": {
"line": 100,
"column": 46
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3670,
"end": 3671,
"loc": {
"start": {
"line": 100,
"column": 46
},
"end": {
"line": 100,
"column": 47
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3671,
"end": 3672,
"loc": {
"start": {
"line": 100,
"column": 47
},
"end": {
"line": 100,
"column": 48
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3673,
"end": 3674,
"loc": {
"start": {
"line": 100,
"column": 49
},
"end": {
"line": 100,
"column": 50
}
}
},
{
"type": "CommentLine",
"value": " Background canvas",
"start": 3684,
"end": 3704,
"loc": {
"start": {
"line": 101,
"column": 8
},
"end": {
"line": 101,
"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": 3714,
"end": 3719,
"loc": {
"start": {
"line": 102,
"column": 8
},
"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": "dims",
"start": 3720,
"end": 3724,
"loc": {
"start": {
"line": 102,
"column": 14
},
"end": {
"line": 102,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3725,
"end": 3726,
"loc": {
"start": {
"line": 102,
"column": 19
},
"end": {
"line": 102,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalConfig",
"start": 3727,
"end": 3739,
"loc": {
"start": {
"line": 102,
"column": 21
},
"end": {
"line": 102,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3739,
"end": 3740,
"loc": {
"start": {
"line": 102,
"column": 33
},
"end": {
"line": 102,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tileSize",
"start": 3740,
"end": 3748,
"loc": {
"start": {
"line": 102,
"column": 34
},
"end": {
"line": 102,
"column": 42
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3748,
"end": 3749,
"loc": {
"start": {
"line": 102,
"column": 42
},
"end": {
"line": 102,
"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": 3759,
"end": 3764,
"loc": {
"start": {
"line": 103,
"column": 8
},
"end": {
"line": 103,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dpi",
"start": 3765,
"end": 3768,
"loc": {
"start": {
"line": 103,
"column": 14
},
"end": {
"line": 103,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3769,
"end": 3770,
"loc": {
"start": {
"line": 103,
"column": 18
},
"end": {
"line": 103,
"column": 19
}
}
},
{
"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": 3771,
"end": 3775,
"loc": {
"start": {
"line": 103,
"column": 20
},
"end": {
"line": 103,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3775,
"end": 3776,
"loc": {
"start": {
"line": 103,
"column": 24
},
"end": {
"line": 103,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "backgroundCacheDPI",
"start": 3776,
"end": 3794,
"loc": {
"start": {
"line": 103,
"column": 25
},
"end": {
"line": 103,
"column": 43
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3794,
"end": 3795,
"loc": {
"start": {
"line": 103,
"column": 43
},
"end": {
"line": 103,
"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": 3805,
"end": 3810,
"loc": {
"start": {
"line": 104,
"column": 8
},
"end": {
"line": 104,
"column": 13
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3811,
"end": 3812,
"loc": {
"start": {
"line": 104,
"column": 14
},
"end": {
"line": 104,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "canvas",
"start": 3812,
"end": 3818,
"loc": {
"start": {
"line": 104,
"column": 15
},
"end": {
"line": 104,
"column": 21
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3818,
"end": 3819,
"loc": {
"start": {
"line": 104,
"column": 21
},
"end": {
"line": 104,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 3820,
"end": 3827,
"loc": {
"start": {
"line": 104,
"column": 23
},
"end": {
"line": 104,
"column": 30
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3827,
"end": 3828,
"loc": {
"start": {
"line": 104,
"column": 30
},
"end": {
"line": 104,
"column": 31
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3829,
"end": 3830,
"loc": {
"start": {
"line": 104,
"column": 32
},
"end": {
"line": 104,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "makeOffscreenBuffer",
"start": 3831,
"end": 3850,
"loc": {
"start": {
"line": 104,
"column": 34
},
"end": {
"line": 104,
"column": 53
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3850,
"end": 3851,
"loc": {
"start": {
"line": 104,
"column": 53
},
"end": {
"line": 104,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dims",
"start": 3851,
"end": 3855,
"loc": {
"start": {
"line": 104,
"column": 54
},
"end": {
"line": 104,
"column": 58
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 3856,
"end": 3857,
"loc": {
"start": {
"line": 104,
"column": 59
},
"end": {
"line": 104,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dpi",
"start": 3858,
"end": 3861,
"loc": {
"start": {
"line": 104,
"column": 61
},
"end": {
"line": 104,
"column": 64
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3861,
"end": 3862,
"loc": {
"start": {
"line": 104,
"column": 64
},
"end": {
"line": 104,
"column": 65
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dims",
"start": 3863,
"end": 3867,
"loc": {
"start": {
"line": 104,
"column": 66
},
"end": {
"line": 104,
"column": 70
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 3868,
"end": 3869,
"loc": {
"start": {
"line": 104,
"column": 71
},
"end": {
"line": 104,
"column": 72
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dpi",
"start": 3870,
"end": 3873,
"loc": {
"start": {
"line": 104,
"column": 73
},
"end": {
"line": 104,
"column": 76
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3873,
"end": 3874,
"loc": {
"start": {
"line": 104,
"column": 76
},
"end": {
"line": 104,
"column": 77
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3875,
"end": 3876,
"loc": {
"start": {
"line": 104,
"column": 78
},
"end": {
"line": 104,
"column": 79
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "smooth",
"start": 3890,
"end": 3896,
"loc": {
"start": {
"line": 105,
"column": 12
},
"end": {
"line": 105,
"column": 18
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3896,
"end": 3897,
"loc": {
"start": {
"line": 105,
"column": 18
},
"end": {
"line": 105,
"column": 19
}
}
},
{
"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": 3898,
"end": 3903,
"loc": {
"start": {
"line": 105,
"column": 20
},
"end": {
"line": 105,
"column": 25
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3903,
"end": 3904,
"loc": {
"start": {
"line": 105,
"column": 25
},
"end": {
"line": 105,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "label",
"start": 3918,
"end": 3923,
"loc": {
"start": {
"line": 106,
"column": 12
},
"end": {
"line": 106,
"column": 17
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3923,
"end": 3924,
"loc": {
"start": {
"line": 106,
"column": 17
},
"end": {
"line": 106,
"column": 18
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "map-cached-bg",
"start": 3925,
"end": 3940,
"loc": {
"start": {
"line": 106,
"column": 19
},
"end": {
"line": 106,
"column": 34
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3940,
"end": 3941,
"loc": {
"start": {
"line": 106,
"column": 34
},
"end": {
"line": 106,
"column": 35
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3951,
"end": 3952,
"loc": {
"start": {
"line": 107,
"column": 8
},
"end": {
"line": 107,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3952,
"end": 3953,
"loc": {
"start": {
"line": 107,
"column": 9
},
"end": {
"line": 107,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3953,
"end": 3954,
"loc": {
"start": {
"line": 107,
"column": 10
},
"end": {
"line": 107,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 3964,
"end": 3971,
"loc": {
"start": {
"line": 108,
"column": 8
},
"end": {
"line": 108,
"column": 15
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3971,
"end": 3972,
"loc": {
"start": {
"line": 108,
"column": 15
},
"end": {
"line": 108,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scale",
"start": 3972,
"end": 3977,
"loc": {
"start": {
"line": 108,
"column": 16
},
"end": {
"line": 108,
"column": 21
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3977,
"end": 3978,
"loc": {
"start": {
"line": 108,
"column": 21
},
"end": {
"line": 108,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dpi",
"start": 3978,
"end": 3981,
"loc": {
"start": {
"line": 108,
"column": 22
},
"end": {
"line": 108,
"column": 25
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3981,
"end": 3982,
"loc": {
"start": {
"line": 108,
"column": 25
},
"end": {
"line": 108,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dpi",
"start": 3983,
"end": 3986,
"loc": {
"start": {
"line": 108,
"column": 27
},
"end": {
"line": 108,
"column": 30
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3986,
"end": 3987,
"loc": {
"start": {
"line": 108,
"column": 30
},
"end": {
"line": 108,
"column": 31
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3987,
"end": 3988,
"loc": {
"start": {
"line": 108,
"column": 31
},
"end": {
"line": 108,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 4000,
"end": 4007,
"loc": {
"start": {
"line": 110,
"column": 8
},
"end": {
"line": 110,
"column": 15
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4007,
"end": 4008,
"loc": {
"start": {
"line": 110,
"column": 15
},
"end": {
"line": 110,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fillStyle",
"start": 4008,
"end": 4017,
"loc": {
"start": {
"line": 110,
"column": 16
},
"end": {
"line": 110,
"column": 25
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4018,
"end": 4019,
"loc": {
"start": {
"line": 110,
"column": 26
},
"end": {
"line": 110,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "THEME",
"start": 4020,
"end": 4025,
"loc": {
"start": {
"line": 110,
"column": 28
},
"end": {
"line": 110,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4025,
"end": 4026,
"loc": {
"start": {
"line": 110,
"column": 33
},
"end": {
"line": 110,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "map",
"start": 4026,
"end": 4029,
"loc": {
"start": {
"line": 110,
"column": 34
},
"end": {
"line": 110,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4029,
"end": 4030,
"loc": {
"start": {
"line": 110,
"column": 37
},
"end": {
"line": 110,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "background",
"start": 4030,
"end": 4040,
"loc": {
"start": {
"line": 110,
"column": 38
},
"end": {
"line": 110,
"column": 48
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4040,
"end": 4041,
"loc": {
"start": {
"line": 110,
"column": 48
},
"end": {
"line": 110,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 4051,
"end": 4058,
"loc": {
"start": {
"line": 111,
"column": 8
},
"end": {
"line": 111,
"column": 15
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4058,
"end": 4059,
"loc": {
"start": {
"line": 111,
"column": 15
},
"end": {
"line": 111,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fillRect",
"start": 4059,
"end": 4067,
"loc": {
"start": {
"line": 111,
"column": 16
},
"end": {
"line": 111,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4067,
"end": 4068,
"loc": {
"start": {
"line": 111,
"column": 24
},
"end": {
"line": 111,
"column": 25
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 4068,
"end": 4069,
"loc": {
"start": {
"line": 111,
"column": 25
},
"end": {
"line": 111,
"column": 26
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4069,
"end": 4070,
"loc": {
"start": {
"line": 111,
"column": 26
},
"end": {
"line": 111,
"column": 27
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 4071,
"end": 4072,
"loc": {
"start": {
"line": 111,
"column": 28
},
"end": {
"line": 111,
"column": 29
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4072,
"end": 4073,
"loc": {
"start": {
"line": 111,
"column": 29
},
"end": {
"line": 111,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dims",
"start": 4074,
"end": 4078,
"loc": {
"start": {
"line": 111,
"column": 31
},
"end": {
"line": 111,
"column": 35
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4078,
"end": 4079,
"loc": {
"start": {
"line": 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": "dims",
"start": 4080,
"end": 4084,
"loc": {
"start": {
"line": 111,
"column": 37
},
"end": {
"line": 111,
"column": 41
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4084,
"end": 4085,
"loc": {
"start": {
"line": 111,
"column": 41
},
"end": {
"line": 111,
"column": 42
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4085,
"end": 4086,
"loc": {
"start": {
"line": 111,
"column": 42
},
"end": {
"line": 111,
"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": 4098,
"end": 4103,
"loc": {
"start": {
"line": 113,
"column": 8
},
"end": {
"line": 113,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "borderWidth",
"start": 4104,
"end": 4115,
"loc": {
"start": {
"line": 113,
"column": 14
},
"end": {
"line": 113,
"column": 25
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4116,
"end": 4117,
"loc": {
"start": {
"line": 113,
"column": 26
},
"end": {
"line": 113,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "THEME",
"start": 4118,
"end": 4123,
"loc": {
"start": {
"line": 113,
"column": 28
},
"end": {
"line": 113,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4123,
"end": 4124,
"loc": {
"start": {
"line": 113,
"column": 33
},
"end": {
"line": 113,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "map",
"start": 4124,
"end": 4127,
"loc": {
"start": {
"line": 113,
"column": 34
},
"end": {
"line": 113,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4127,
"end": 4128,
"loc": {
"start": {
"line": 113,
"column": 37
},
"end": {
"line": 113,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "gridLineWidth",
"start": 4128,
"end": 4141,
"loc": {
"start": {
"line": 113,
"column": 38
},
"end": {
"line": 113,
"column": 51
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4141,
"end": 4142,
"loc": {
"start": {
"line": 113,
"column": 51
},
"end": {
"line": 113,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 4152,
"end": 4159,
"loc": {
"start": {
"line": 114,
"column": 8
},
"end": {
"line": 114,
"column": 15
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4159,
"end": 4160,
"loc": {
"start": {
"line": 114,
"column": 15
},
"end": {
"line": 114,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fillStyle",
"start": 4160,
"end": 4169,
"loc": {
"start": {
"line": 114,
"column": 16
},
"end": {
"line": 114,
"column": 25
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4170,
"end": 4171,
"loc": {
"start": {
"line": 114,
"column": 26
},
"end": {
"line": 114,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "THEME",
"start": 4172,
"end": 4177,
"loc": {
"start": {
"line": 114,
"column": 28
},
"end": {
"line": 114,
"column": 33
}
}
},
{
"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": 114,
"column": 33
},
"end": {
"line": 114,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "map",
"start": 4178,
"end": 4181,
"loc": {
"start": {
"line": 114,
"column": 34
},
"end": {
"line": 114,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4181,
"end": 4182,
"loc": {
"start": {
"line": 114,
"column": 37
},
"end": {
"line": 114,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "grid",
"start": 4182,
"end": 4186,
"loc": {
"start": {
"line": 114,
"column": 38
},
"end": {
"line": 114,
"column": 42
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4186,
"end": 4187,
"loc": {
"start": {
"line": 114,
"column": 42
},
"end": {
"line": 114,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 4197,
"end": 4204,
"loc": {
"start": {
"line": 115,
"column": 8
},
"end": {
"line": 115,
"column": 15
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4204,
"end": 4205,
"loc": {
"start": {
"line": 115,
"column": 15
},
"end": {
"line": 115,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fillRect",
"start": 4205,
"end": 4213,
"loc": {
"start": {
"line": 115,
"column": 16
},
"end": {
"line": 115,
"column": 24
}
}
},
{
"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": 115,
"column": 24
},
"end": {
"line": 115,
"column": 25
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 4214,
"end": 4215,
"loc": {
"start": {
"line": 115,
"column": 25
},
"end": {
"line": 115,
"column": 26
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4215,
"end": 4216,
"loc": {
"start": {
"line": 115,
"column": 26
},
"end": {
"line": 115,
"column": 27
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 4217,
"end": 4218,
"loc": {
"start": {
"line": 115,
"column": 28
},
"end": {
"line": 115,
"column": 29
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4218,
"end": 4219,
"loc": {
"start": {
"line": 115,
"column": 29
},
"end": {
"line": 115,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dims",
"start": 4220,
"end": 4224,
"loc": {
"start": {
"line": 115,
"column": 31
},
"end": {
"line": 115,
"column": 35
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4224,
"end": 4225,
"loc": {
"start": {
"line": 115,
"column": 35
},
"end": {
"line": 115,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "borderWidth",
"start": 4226,
"end": 4237,
"loc": {
"start": {
"line": 115,
"column": 37
},
"end": {
"line": 115,
"column": 48
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4237,
"end": 4238,
"loc": {
"start": {
"line": 115,
"column": 48
},
"end": {
"line": 115,
"column": 49
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4238,
"end": 4239,
"loc": {
"start": {
"line": 115,
"column": 49
},
"end": {
"line": 115,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 4249,
"end": 4256,
"loc": {
"start": {
"line": 116,
"column": 8
},
"end": {
"line": 116,
"column": 15
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4256,
"end": 4257,
"loc": {
"start": {
"line": 116,
"column": 15
},
"end": {
"line": 116,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fillRect",
"start": 4257,
"end": 4265,
"loc": {
"start": {
"line": 116,
"column": 16
},
"end": {
"line": 116,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4265,
"end": 4266,
"loc": {
"start": {
"line": 116,
"column": 24
},
"end": {
"line": 116,
"column": 25
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 4266,
"end": 4267,
"loc": {
"start": {
"line": 116,
"column": 25
},
"end": {
"line": 116,
"column": 26
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4267,
"end": 4268,
"loc": {
"start": {
"line": 116,
"column": 26
},
"end": {
"line": 116,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "borderWidth",
"start": 4269,
"end": 4280,
"loc": {
"start": {
"line": 116,
"column": 28
},
"end": {
"line": 116,
"column": 39
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4280,
"end": 4281,
"loc": {
"start": {
"line": 116,
"column": 39
},
"end": {
"line": 116,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "borderWidth",
"start": 4282,
"end": 4293,
"loc": {
"start": {
"line": 116,
"column": 41
},
"end": {
"line": 116,
"column": 52
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4293,
"end": 4294,
"loc": {
"start": {
"line": 116,
"column": 52
},
"end": {
"line": 116,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dims",
"start": 4295,
"end": 4299,
"loc": {
"start": {
"line": 116,
"column": 54
},
"end": {
"line": 116,
"column": 58
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4299,
"end": 4300,
"loc": {
"start": {
"line": 116,
"column": 58
},
"end": {
"line": 116,
"column": 59
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4300,
"end": 4301,
"loc": {
"start": {
"line": 116,
"column": 59
},
"end": {
"line": 116,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 4313,
"end": 4320,
"loc": {
"start": {
"line": 118,
"column": 8
},
"end": {
"line": 118,
"column": 15
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4320,
"end": 4321,
"loc": {
"start": {
"line": 118,
"column": 15
},
"end": {
"line": 118,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fillRect",
"start": 4321,
"end": 4329,
"loc": {
"start": {
"line": 118,
"column": 16
},
"end": {
"line": 118,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4329,
"end": 4330,
"loc": {
"start": {
"line": 118,
"column": 24
},
"end": {
"line": 118,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dims",
"start": 4330,
"end": 4334,
"loc": {
"start": {
"line": 118,
"column": 25
},
"end": {
"line": 118,
"column": 29
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 4335,
"end": 4336,
"loc": {
"start": {
"line": 118,
"column": 30
},
"end": {
"line": 118,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "borderWidth",
"start": 4337,
"end": 4348,
"loc": {
"start": {
"line": 118,
"column": 32
},
"end": {
"line": 118,
"column": 43
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4348,
"end": 4349,
"loc": {
"start": {
"line": 118,
"column": 43
},
"end": {
"line": 118,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "borderWidth",
"start": 4350,
"end": 4361,
"loc": {
"start": {
"line": 118,
"column": 45
},
"end": {
"line": 118,
"column": 56
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4361,
"end": 4362,
"loc": {
"start": {
"line": 118,
"column": 56
},
"end": {
"line": 118,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "borderWidth",
"start": 4363,
"end": 4374,
"loc": {
"start": {
"line": 118,
"column": 58
},
"end": {
"line": 118,
"column": 69
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4374,
"end": 4375,
"loc": {
"start": {
"line": 118,
"column": 69
},
"end": {
"line": 118,
"column": 70
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dims",
"start": 4376,
"end": 4380,
"loc": {
"start": {
"line": 118,
"column": 71
},
"end": {
"line": 118,
"column": 75
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 4381,
"end": 4382,
"loc": {
"start": {
"line": 118,
"column": 76
},
"end": {
"line": 118,
"column": 77
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 2,
"start": 4383,
"end": 4384,
"loc": {
"start": {
"line": 118,
"column": 78
},
"end": {
"line": 118,
"column": 79
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 4385,
"end": 4386,
"loc": {
"start": {
"line": 118,
"column": 80
},
"end": {
"line": 118,
"column": 81
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "borderWidth",
"start": 4387,
"end": 4398,
"loc": {
"start": {
"line": 118,
"column": 82
},
"end": {
"line": 118,
"column": 93
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4398,
"end": 4399,
"loc": {
"start": {
"line": 118,
"column": 93
},
"end": {
"line": 118,
"column": 94
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4399,
"end": 4400,
"loc": {
"start": {
"line": 118,
"column": 94
},
"end": {
"line": 118,
"column": 95
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 4410,
"end": 4417,
"loc": {
"start": {
"line": 119,
"column": 8
},
"end": {
"line": 119,
"column": 15
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4417,
"end": 4418,
"loc": {
"start": {
"line": 119,
"column": 15
},
"end": {
"line": 119,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fillRect",
"start": 4418,
"end": 4426,
"loc": {
"start": {
"line": 119,
"column": 16
},
"end": {
"line": 119,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4426,
"end": 4427,
"loc": {
"start": {
"line": 119,
"column": 24
},
"end": {
"line": 119,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "borderWidth",
"start": 4427,
"end": 4438,
"loc": {
"start": {
"line": 119,
"column": 25
},
"end": {
"line": 119,
"column": 36
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4438,
"end": 4439,
"loc": {
"start": {
"line": 119,
"column": 36
},
"end": {
"line": 119,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dims",
"start": 4440,
"end": 4444,
"loc": {
"start": {
"line": 119,
"column": 38
},
"end": {
"line": 119,
"column": 42
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 4445,
"end": 4446,
"loc": {
"start": {
"line": 119,
"column": 43
},
"end": {
"line": 119,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "borderWidth",
"start": 4447,
"end": 4458,
"loc": {
"start": {
"line": 119,
"column": 45
},
"end": {
"line": 119,
"column": 56
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4458,
"end": 4459,
"loc": {
"start": {
"line": 119,
"column": 56
},
"end": {
"line": 119,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dims",
"start": 4460,
"end": 4464,
"loc": {
"start": {
"line": 119,
"column": 58
},
"end": {
"line": 119,
"column": 62
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4464,
"end": 4465,
"loc": {
"start": {
"line": 119,
"column": 62
},
"end": {
"line": 119,
"column": 63
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "borderWidth",
"start": 4466,
"end": 4477,
"loc": {
"start": {
"line": 119,
"column": 64
},
"end": {
"line": 119,
"column": 75
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4477,
"end": 4478,
"loc": {
"start": {
"line": 119,
"column": 75
},
"end": {
"line": 119,
"column": 76
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4478,
"end": 4479,
"loc": {
"start": {
"line": 119,
"column": 76
},
"end": {
"line": 119,
"column": 77
}
}
},
{
"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": 4491,
"end": 4495,
"loc": {
"start": {
"line": 121,
"column": 8
},
"end": {
"line": 121,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4495,
"end": 4496,
"loc": {
"start": {
"line": 121,
"column": 12
},
"end": {
"line": 121,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cachedBackgroundCanvas",
"start": 4496,
"end": 4518,
"loc": {
"start": {
"line": 121,
"column": 13
},
"end": {
"line": 121,
"column": 35
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4519,
"end": 4520,
"loc": {
"start": {
"line": 121,
"column": 36
},
"end": {
"line": 121,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "canvas",
"start": 4521,
"end": 4527,
"loc": {
"start": {
"line": 121,
"column": 38
},
"end": {
"line": 121,
"column": 44
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4527,
"end": 4528,
"loc": {
"start": {
"line": 121,
"column": 44
},
"end": {
"line": 121,
"column": 45
}
}
},
{
"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": 4538,
"end": 4542,
"loc": {
"start": {
"line": 122,
"column": 8
},
"end": {
"line": 122,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4542,
"end": 4543,
"loc": {
"start": {
"line": 122,
"column": 12
},
"end": {
"line": 122,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cachedBackgroundContext",
"start": 4543,
"end": 4566,
"loc": {
"start": {
"line": 122,
"column": 13
},
"end": {
"line": 122,
"column": 36
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4567,
"end": 4568,
"loc": {
"start": {
"line": 122,
"column": 37
},
"end": {
"line": 122,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 4569,
"end": 4576,
"loc": {
"start": {
"line": 122,
"column": 39
},
"end": {
"line": 122,
"column": 46
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4576,
"end": 4577,
"loc": {
"start": {
"line": 122,
"column": 46
},
"end": {
"line": 122,
"column": 47
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4583,
"end": 4584,
"loc": {
"start": {
"line": 123,
"column": 4
},
"end": {
"line": 123,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Draws the maps foreground\r\n * @param {DrawParameters} parameters\r\n ",
"start": 4592,
"end": 4681,
"loc": {
"start": {
"line": 125,
"column": 4
},
"end": {
"line": 128,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "drawForeground",
"start": 4687,
"end": 4701,
"loc": {
"start": {
"line": 129,
"column": 4
},
"end": {
"line": 129,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4701,
"end": 4702,
"loc": {
"start": {
"line": 129,
"column": 18
},
"end": {
"line": 129,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 4702,
"end": 4712,
"loc": {
"start": {
"line": 129,
"column": 19
},
"end": {
"line": 129,
"column": 29
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4712,
"end": 4713,
"loc": {
"start": {
"line": 129,
"column": 29
},
"end": {
"line": 129,
"column": 30
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4714,
"end": 4715,
"loc": {
"start": {
"line": 129,
"column": 31
},
"end": {
"line": 129,
"column": 32
}
}
},
{
"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": 4725,
"end": 4729,
"loc": {
"start": {
"line": 130,
"column": 8
},
"end": {
"line": 130,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4729,
"end": 4730,
"loc": {
"start": {
"line": 130,
"column": 12
},
"end": {
"line": 130,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "drawVisibleChunks",
"start": 4730,
"end": 4747,
"loc": {
"start": {
"line": 130,
"column": 13
},
"end": {
"line": 130,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4747,
"end": 4748,
"loc": {
"start": {
"line": 130,
"column": 30
},
"end": {
"line": 130,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 4748,
"end": 4758,
"loc": {
"start": {
"line": 130,
"column": 31
},
"end": {
"line": 130,
"column": 41
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4758,
"end": 4759,
"loc": {
"start": {
"line": 130,
"column": 41
},
"end": {
"line": 130,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MapChunkView",
"start": 4760,
"end": 4772,
"loc": {
"start": {
"line": 130,
"column": 43
},
"end": {
"line": 130,
"column": 55
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4772,
"end": 4773,
"loc": {
"start": {
"line": 130,
"column": 55
},
"end": {
"line": 130,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "prototype",
"start": 4773,
"end": 4782,
"loc": {
"start": {
"line": 130,
"column": 56
},
"end": {
"line": 130,
"column": 65
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4782,
"end": 4783,
"loc": {
"start": {
"line": 130,
"column": 65
},
"end": {
"line": 130,
"column": 66
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "drawForegroundDynamicLayer",
"start": 4783,
"end": 4809,
"loc": {
"start": {
"line": 130,
"column": 66
},
"end": {
"line": 130,
"column": 92
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4809,
"end": 4810,
"loc": {
"start": {
"line": 130,
"column": 92
},
"end": {
"line": 130,
"column": 93
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4810,
"end": 4811,
"loc": {
"start": {
"line": 130,
"column": 93
},
"end": {
"line": 130,
"column": 94
}
}
},
{
"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": 4821,
"end": 4825,
"loc": {
"start": {
"line": 131,
"column": 8
},
"end": {
"line": 131,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4825,
"end": 4826,
"loc": {
"start": {
"line": 131,
"column": 12
},
"end": {
"line": 131,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "drawVisibleChunks",
"start": 4826,
"end": 4843,
"loc": {
"start": {
"line": 131,
"column": 13
},
"end": {
"line": 131,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4843,
"end": 4844,
"loc": {
"start": {
"line": 131,
"column": 30
},
"end": {
"line": 131,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 4844,
"end": 4854,
"loc": {
"start": {
"line": 131,
"column": 31
},
"end": {
"line": 131,
"column": 41
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4854,
"end": 4855,
"loc": {
"start": {
"line": 131,
"column": 41
},
"end": {
"line": 131,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MapChunkView",
"start": 4856,
"end": 4868,
"loc": {
"start": {
"line": 131,
"column": 43
},
"end": {
"line": 131,
"column": 55
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4868,
"end": 4869,
"loc": {
"start": {
"line": 131,
"column": 55
},
"end": {
"line": 131,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "prototype",
"start": 4869,
"end": 4878,
"loc": {
"start": {
"line": 131,
"column": 56
},
"end": {
"line": 131,
"column": 65
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4878,
"end": 4879,
"loc": {
"start": {
"line": 131,
"column": 65
},
"end": {
"line": 131,
"column": 66
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "drawForegroundStaticLayer",
"start": 4879,
"end": 4904,
"loc": {
"start": {
"line": 131,
"column": 66
},
"end": {
"line": 131,
"column": 91
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4904,
"end": 4905,
"loc": {
"start": {
"line": 131,
"column": 91
},
"end": {
"line": 131,
"column": 92
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4905,
"end": 4906,
"loc": {
"start": {
"line": 131,
"column": 92
},
"end": {
"line": 131,
"column": 93
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4912,
"end": 4913,
"loc": {
"start": {
"line": 132,
"column": 4
},
"end": {
"line": 132,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Calls a given method on all given chunks\r\n * @param {DrawParameters} parameters\r\n * @param {function} method\r\n * @param {string=} layer\r\n ",
"start": 4921,
"end": 5089,
"loc": {
"start": {
"line": 134,
"column": 4
},
"end": {
"line": 139,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "drawVisibleChunks",
"start": 5095,
"end": 5112,
"loc": {
"start": {
"line": 140,
"column": 4
},
"end": {
"line": 140,
"column": 21
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5112,
"end": 5113,
"loc": {
"start": {
"line": 140,
"column": 21
},
"end": {
"line": 140,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 5113,
"end": 5123,
"loc": {
"start": {
"line": 140,
"column": 22
},
"end": {
"line": 140,
"column": 32
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5123,
"end": 5124,
"loc": {
"start": {
"line": 140,
"column": 32
},
"end": {
"line": 140,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "method",
"start": 5125,
"end": 5131,
"loc": {
"start": {
"line": 140,
"column": 34
},
"end": {
"line": 140,
"column": 40
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5131,
"end": 5132,
"loc": {
"start": {
"line": 140,
"column": 40
},
"end": {
"line": 140,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "layer",
"start": 5133,
"end": 5138,
"loc": {
"start": {
"line": 140,
"column": 42
},
"end": {
"line": 140,
"column": 47
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5138,
"end": 5139,
"loc": {
"start": {
"line": 140,
"column": 47
},
"end": {
"line": 140,
"column": 48
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5140,
"end": 5141,
"loc": {
"start": {
"line": 140,
"column": 49
},
"end": {
"line": 140,
"column": 50
}
}
},
{
"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": 5151,
"end": 5156,
"loc": {
"start": {
"line": 141,
"column": 8
},
"end": {
"line": 141,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cullRange",
"start": 5157,
"end": 5166,
"loc": {
"start": {
"line": 141,
"column": 14
},
"end": {
"line": 141,
"column": 23
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5167,
"end": 5168,
"loc": {
"start": {
"line": 141,
"column": 24
},
"end": {
"line": 141,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 5169,
"end": 5179,
"loc": {
"start": {
"line": 141,
"column": 26
},
"end": {
"line": 141,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5179,
"end": 5180,
"loc": {
"start": {
"line": 141,
"column": 36
},
"end": {
"line": 141,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "visibleRect",
"start": 5180,
"end": 5191,
"loc": {
"start": {
"line": 141,
"column": 37
},
"end": {
"line": 141,
"column": 48
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5191,
"end": 5192,
"loc": {
"start": {
"line": 141,
"column": 48
},
"end": {
"line": 141,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "allScaled",
"start": 5192,
"end": 5201,
"loc": {
"start": {
"line": 141,
"column": 49
},
"end": {
"line": 141,
"column": 58
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5201,
"end": 5202,
"loc": {
"start": {
"line": 141,
"column": 58
},
"end": {
"line": 141,
"column": 59
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 5202,
"end": 5203,
"loc": {
"start": {
"line": 141,
"column": 59
},
"end": {
"line": 141,
"column": 60
}
}
},
{
"type": {
"label": "/",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "/",
"start": 5204,
"end": 5205,
"loc": {
"start": {
"line": 141,
"column": 61
},
"end": {
"line": 141,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalConfig",
"start": 5206,
"end": 5218,
"loc": {
"start": {
"line": 141,
"column": 63
},
"end": {
"line": 141,
"column": 75
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5218,
"end": 5219,
"loc": {
"start": {
"line": 141,
"column": 75
},
"end": {
"line": 141,
"column": 76
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tileSize",
"start": 5219,
"end": 5227,
"loc": {
"start": {
"line": 141,
"column": 76
},
"end": {
"line": 141,
"column": 84
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5227,
"end": 5228,
"loc": {
"start": {
"line": 141,
"column": 84
},
"end": {
"line": 141,
"column": 85
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5228,
"end": 5229,
"loc": {
"start": {
"line": 141,
"column": 85
},
"end": {
"line": 141,
"column": 86
}
}
},
{
"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": 5239,
"end": 5244,
"loc": {
"start": {
"line": 142,
"column": 8
},
"end": {
"line": 142,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "top",
"start": 5245,
"end": 5248,
"loc": {
"start": {
"line": 142,
"column": 14
},
"end": {
"line": 142,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5249,
"end": 5250,
"loc": {
"start": {
"line": 142,
"column": 18
},
"end": {
"line": 142,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cullRange",
"start": 5251,
"end": 5260,
"loc": {
"start": {
"line": 142,
"column": 20
},
"end": {
"line": 142,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5260,
"end": 5261,
"loc": {
"start": {
"line": 142,
"column": 29
},
"end": {
"line": 142,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "top",
"start": 5261,
"end": 5264,
"loc": {
"start": {
"line": 142,
"column": 30
},
"end": {
"line": 142,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5264,
"end": 5265,
"loc": {
"start": {
"line": 142,
"column": 33
},
"end": {
"line": 142,
"column": 34
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5265,
"end": 5266,
"loc": {
"start": {
"line": 142,
"column": 34
},
"end": {
"line": 142,
"column": 35
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5266,
"end": 5267,
"loc": {
"start": {
"line": 142,
"column": 35
},
"end": {
"line": 142,
"column": 36
}
}
},
{
"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": 5277,
"end": 5282,
"loc": {
"start": {
"line": 143,
"column": 8
},
"end": {
"line": 143,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "right",
"start": 5283,
"end": 5288,
"loc": {
"start": {
"line": 143,
"column": 14
},
"end": {
"line": 143,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5289,
"end": 5290,
"loc": {
"start": {
"line": 143,
"column": 20
},
"end": {
"line": 143,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cullRange",
"start": 5291,
"end": 5300,
"loc": {
"start": {
"line": 143,
"column": 22
},
"end": {
"line": 143,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5300,
"end": 5301,
"loc": {
"start": {
"line": 143,
"column": 31
},
"end": {
"line": 143,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "right",
"start": 5301,
"end": 5306,
"loc": {
"start": {
"line": 143,
"column": 32
},
"end": {
"line": 143,
"column": 37
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5306,
"end": 5307,
"loc": {
"start": {
"line": 143,
"column": 37
},
"end": {
"line": 143,
"column": 38
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5307,
"end": 5308,
"loc": {
"start": {
"line": 143,
"column": 38
},
"end": {
"line": 143,
"column": 39
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5308,
"end": 5309,
"loc": {
"start": {
"line": 143,
"column": 39
},
"end": {
"line": 143,
"column": 40
}
}
},
{
"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": 5319,
"end": 5324,
"loc": {
"start": {
"line": 144,
"column": 8
},
"end": {
"line": 144,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bottom",
"start": 5325,
"end": 5331,
"loc": {
"start": {
"line": 144,
"column": 14
},
"end": {
"line": 144,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5332,
"end": 5333,
"loc": {
"start": {
"line": 144,
"column": 21
},
"end": {
"line": 144,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cullRange",
"start": 5334,
"end": 5343,
"loc": {
"start": {
"line": 144,
"column": 23
},
"end": {
"line": 144,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5343,
"end": 5344,
"loc": {
"start": {
"line": 144,
"column": 32
},
"end": {
"line": 144,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bottom",
"start": 5344,
"end": 5350,
"loc": {
"start": {
"line": 144,
"column": 33
},
"end": {
"line": 144,
"column": 39
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5350,
"end": 5351,
"loc": {
"start": {
"line": 144,
"column": 39
},
"end": {
"line": 144,
"column": 40
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5351,
"end": 5352,
"loc": {
"start": {
"line": 144,
"column": 40
},
"end": {
"line": 144,
"column": 41
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5352,
"end": 5353,
"loc": {
"start": {
"line": 144,
"column": 41
},
"end": {
"line": 144,
"column": 42
}
}
},
{
"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": 5363,
"end": 5368,
"loc": {
"start": {
"line": 145,
"column": 8
},
"end": {
"line": 145,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "left",
"start": 5369,
"end": 5373,
"loc": {
"start": {
"line": 145,
"column": 14
},
"end": {
"line": 145,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5374,
"end": 5375,
"loc": {
"start": {
"line": 145,
"column": 19
},
"end": {
"line": 145,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cullRange",
"start": 5376,
"end": 5385,
"loc": {
"start": {
"line": 145,
"column": 21
},
"end": {
"line": 145,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5385,
"end": 5386,
"loc": {
"start": {
"line": 145,
"column": 30
},
"end": {
"line": 145,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "left",
"start": 5386,
"end": 5390,
"loc": {
"start": {
"line": 145,
"column": 31
},
"end": {
"line": 145,
"column": 35
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5390,
"end": 5391,
"loc": {
"start": {
"line": 145,
"column": 35
},
"end": {
"line": 145,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5391,
"end": 5392,
"loc": {
"start": {
"line": 145,
"column": 36
},
"end": {
"line": 145,
"column": 37
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5392,
"end": 5393,
"loc": {
"start": {
"line": 145,
"column": 37
},
"end": {
"line": 145,
"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": 5405,
"end": 5410,
"loc": {
"start": {
"line": 147,
"column": 8
},
"end": {
"line": 147,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "border",
"start": 5411,
"end": 5417,
"loc": {
"start": {
"line": 147,
"column": 14
},
"end": {
"line": 147,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5418,
"end": 5419,
"loc": {
"start": {
"line": 147,
"column": 21
},
"end": {
"line": 147,
"column": 22
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 5420,
"end": 5421,
"loc": {
"start": {
"line": 147,
"column": 23
},
"end": {
"line": 147,
"column": 24
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5421,
"end": 5422,
"loc": {
"start": {
"line": 147,
"column": 24
},
"end": {
"line": 147,
"column": 25
}
}
},
{
"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": 5432,
"end": 5437,
"loc": {
"start": {
"line": 148,
"column": 8
},
"end": {
"line": 148,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "minY",
"start": 5438,
"end": 5442,
"loc": {
"start": {
"line": 148,
"column": 14
},
"end": {
"line": 148,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5443,
"end": 5444,
"loc": {
"start": {
"line": 148,
"column": 19
},
"end": {
"line": 148,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "top",
"start": 5445,
"end": 5448,
"loc": {
"start": {
"line": 148,
"column": 21
},
"end": {
"line": 148,
"column": 24
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 5449,
"end": 5450,
"loc": {
"start": {
"line": 148,
"column": 25
},
"end": {
"line": 148,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "border",
"start": 5451,
"end": 5457,
"loc": {
"start": {
"line": 148,
"column": 27
},
"end": {
"line": 148,
"column": 33
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5457,
"end": 5458,
"loc": {
"start": {
"line": 148,
"column": 33
},
"end": {
"line": 148,
"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": 5468,
"end": 5473,
"loc": {
"start": {
"line": 149,
"column": 8
},
"end": {
"line": 149,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "maxY",
"start": 5474,
"end": 5478,
"loc": {
"start": {
"line": 149,
"column": 14
},
"end": {
"line": 149,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5479,
"end": 5480,
"loc": {
"start": {
"line": 149,
"column": 19
},
"end": {
"line": 149,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bottom",
"start": 5481,
"end": 5487,
"loc": {
"start": {
"line": 149,
"column": 21
},
"end": {
"line": 149,
"column": 27
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 5488,
"end": 5489,
"loc": {
"start": {
"line": 149,
"column": 28
},
"end": {
"line": 149,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "border",
"start": 5490,
"end": 5496,
"loc": {
"start": {
"line": 149,
"column": 30
},
"end": {
"line": 149,
"column": 36
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5496,
"end": 5497,
"loc": {
"start": {
"line": 149,
"column": 36
},
"end": {
"line": 149,
"column": 37
}
}
},
{
"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": 5507,
"end": 5512,
"loc": {
"start": {
"line": 150,
"column": 8
},
"end": {
"line": 150,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "minX",
"start": 5513,
"end": 5517,
"loc": {
"start": {
"line": 150,
"column": 14
},
"end": {
"line": 150,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5518,
"end": 5519,
"loc": {
"start": {
"line": 150,
"column": 19
},
"end": {
"line": 150,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "left",
"start": 5520,
"end": 5524,
"loc": {
"start": {
"line": 150,
"column": 21
},
"end": {
"line": 150,
"column": 25
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 5525,
"end": 5526,
"loc": {
"start": {
"line": 150,
"column": 26
},
"end": {
"line": 150,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "border",
"start": 5527,
"end": 5533,
"loc": {
"start": {
"line": 150,
"column": 28
},
"end": {
"line": 150,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5533,
"end": 5534,
"loc": {
"start": {
"line": 150,
"column": 34
},
"end": {
"line": 150,
"column": 35
}
}
},
{
"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": 5544,
"end": 5549,
"loc": {
"start": {
"line": 151,
"column": 8
},
"end": {
"line": 151,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "maxX",
"start": 5550,
"end": 5554,
"loc": {
"start": {
"line": 151,
"column": 14
},
"end": {
"line": 151,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5555,
"end": 5556,
"loc": {
"start": {
"line": 151,
"column": 19
},
"end": {
"line": 151,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "right",
"start": 5557,
"end": 5562,
"loc": {
"start": {
"line": 151,
"column": 21
},
"end": {
"line": 151,
"column": 26
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 5563,
"end": 5564,
"loc": {
"start": {
"line": 151,
"column": 27
},
"end": {
"line": 151,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "border",
"start": 5565,
"end": 5571,
"loc": {
"start": {
"line": 151,
"column": 29
},
"end": {
"line": 151,
"column": 35
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5571,
"end": 5572,
"loc": {
"start": {
"line": 151,
"column": 35
},
"end": {
"line": 151,
"column": 36
}
}
},
{
"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": 5584,
"end": 5589,
"loc": {
"start": {
"line": 153,
"column": 8
},
"end": {
"line": 153,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "chunkStartX",
"start": 5590,
"end": 5601,
"loc": {
"start": {
"line": 153,
"column": 14
},
"end": {
"line": 153,
"column": 25
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5602,
"end": 5603,
"loc": {
"start": {
"line": 153,
"column": 26
},
"end": {
"line": 153,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Math",
"start": 5604,
"end": 5608,
"loc": {
"start": {
"line": 153,
"column": 28
},
"end": {
"line": 153,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5608,
"end": 5609,
"loc": {
"start": {
"line": 153,
"column": 32
},
"end": {
"line": 153,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "floor",
"start": 5609,
"end": 5614,
"loc": {
"start": {
"line": 153,
"column": 33
},
"end": {
"line": 153,
"column": 38
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5614,
"end": 5615,
"loc": {
"start": {
"line": 153,
"column": 38
},
"end": {
"line": 153,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "minX",
"start": 5615,
"end": 5619,
"loc": {
"start": {
"line": 153,
"column": 39
},
"end": {
"line": 153,
"column": 43
}
}
},
{
"type": {
"label": "/",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "/",
"start": 5620,
"end": 5621,
"loc": {
"start": {
"line": 153,
"column": 44
},
"end": {
"line": 153,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalConfig",
"start": 5622,
"end": 5634,
"loc": {
"start": {
"line": 153,
"column": 46
},
"end": {
"line": 153,
"column": 58
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5634,
"end": 5635,
"loc": {
"start": {
"line": 153,
"column": 58
},
"end": {
"line": 153,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "mapChunkSize",
"start": 5635,
"end": 5647,
"loc": {
"start": {
"line": 153,
"column": 59
},
"end": {
"line": 153,
"column": 71
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5647,
"end": 5648,
"loc": {
"start": {
"line": 153,
"column": 71
},
"end": {
"line": 153,
"column": 72
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5648,
"end": 5649,
"loc": {
"start": {
"line": 153,
"column": 72
},
"end": {
"line": 153,
"column": 73
}
}
},
{
"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": 5659,
"end": 5664,
"loc": {
"start": {
"line": 154,
"column": 8
},
"end": {
"line": 154,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "chunkStartY",
"start": 5665,
"end": 5676,
"loc": {
"start": {
"line": 154,
"column": 14
},
"end": {
"line": 154,
"column": 25
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5677,
"end": 5678,
"loc": {
"start": {
"line": 154,
"column": 26
},
"end": {
"line": 154,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Math",
"start": 5679,
"end": 5683,
"loc": {
"start": {
"line": 154,
"column": 28
},
"end": {
"line": 154,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5683,
"end": 5684,
"loc": {
"start": {
"line": 154,
"column": 32
},
"end": {
"line": 154,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "floor",
"start": 5684,
"end": 5689,
"loc": {
"start": {
"line": 154,
"column": 33
},
"end": {
"line": 154,
"column": 38
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5689,
"end": 5690,
"loc": {
"start": {
"line": 154,
"column": 38
},
"end": {
"line": 154,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "minY",
"start": 5690,
"end": 5694,
"loc": {
"start": {
"line": 154,
"column": 39
},
"end": {
"line": 154,
"column": 43
}
}
},
{
"type": {
"label": "/",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "/",
"start": 5695,
"end": 5696,
"loc": {
"start": {
"line": 154,
"column": 44
},
"end": {
"line": 154,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalConfig",
"start": 5697,
"end": 5709,
"loc": {
"start": {
"line": 154,
"column": 46
},
"end": {
"line": 154,
"column": 58
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5709,
"end": 5710,
"loc": {
"start": {
"line": 154,
"column": 58
},
"end": {
"line": 154,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "mapChunkSize",
"start": 5710,
"end": 5722,
"loc": {
"start": {
"line": 154,
"column": 59
},
"end": {
"line": 154,
"column": 71
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5722,
"end": 5723,
"loc": {
"start": {
"line": 154,
"column": 71
},
"end": {
"line": 154,
"column": 72
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5723,
"end": 5724,
"loc": {
"start": {
"line": 154,
"column": 72
},
"end": {
"line": 154,
"column": 73
}
}
},
{
"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": 5736,
"end": 5741,
"loc": {
"start": {
"line": 156,
"column": 8
},
"end": {
"line": 156,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "chunkEndX",
"start": 5742,
"end": 5751,
"loc": {
"start": {
"line": 156,
"column": 14
},
"end": {
"line": 156,
"column": 23
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5752,
"end": 5753,
"loc": {
"start": {
"line": 156,
"column": 24
},
"end": {
"line": 156,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Math",
"start": 5754,
"end": 5758,
"loc": {
"start": {
"line": 156,
"column": 26
},
"end": {
"line": 156,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5758,
"end": 5759,
"loc": {
"start": {
"line": 156,
"column": 30
},
"end": {
"line": 156,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "floor",
"start": 5759,
"end": 5764,
"loc": {
"start": {
"line": 156,
"column": 31
},
"end": {
"line": 156,
"column": 36
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5764,
"end": 5765,
"loc": {
"start": {
"line": 156,
"column": 36
},
"end": {
"line": 156,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "maxX",
"start": 5765,
"end": 5769,
"loc": {
"start": {
"line": 156,
"column": 37
},
"end": {
"line": 156,
"column": 41
}
}
},
{
"type": {
"label": "/",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "/",
"start": 5770,
"end": 5771,
"loc": {
"start": {
"line": 156,
"column": 42
},
"end": {
"line": 156,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalConfig",
"start": 5772,
"end": 5784,
"loc": {
"start": {
"line": 156,
"column": 44
},
"end": {
"line": 156,
"column": 56
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5784,
"end": 5785,
"loc": {
"start": {
"line": 156,
"column": 56
},
"end": {
"line": 156,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "mapChunkSize",
"start": 5785,
"end": 5797,
"loc": {
"start": {
"line": 156,
"column": 57
},
"end": {
"line": 156,
"column": 69
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5797,
"end": 5798,
"loc": {
"start": {
"line": 156,
"column": 69
},
"end": {
"line": 156,
"column": 70
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5798,
"end": 5799,
"loc": {
"start": {
"line": 156,
"column": 70
},
"end": {
"line": 156,
"column": 71
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 5809,
"end": 5814,
"loc": {
"start": {
"line": 157,
"column": 8
},
"end": {
"line": 157,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "chunkEndY",
"start": 5815,
"end": 5824,
"loc": {
"start": {
"line": 157,
"column": 14
},
"end": {
"line": 157,
"column": 23
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5825,
"end": 5826,
"loc": {
"start": {
"line": 157,
"column": 24
},
"end": {
"line": 157,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Math",
"start": 5827,
"end": 5831,
"loc": {
"start": {
"line": 157,
"column": 26
},
"end": {
"line": 157,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5831,
"end": 5832,
"loc": {
"start": {
"line": 157,
"column": 30
},
"end": {
"line": 157,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "floor",
"start": 5832,
"end": 5837,
"loc": {
"start": {
"line": 157,
"column": 31
},
"end": {
"line": 157,
"column": 36
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5837,
"end": 5838,
"loc": {
"start": {
"line": 157,
"column": 36
},
"end": {
"line": 157,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "maxY",
"start": 5838,
"end": 5842,
"loc": {
"start": {
"line": 157,
"column": 37
},
"end": {
"line": 157,
"column": 41
}
}
},
{
"type": {
"label": "/",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "/",
"start": 5843,
"end": 5844,
"loc": {
"start": {
"line": 157,
"column": 42
},
"end": {
"line": 157,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalConfig",
"start": 5845,
"end": 5857,
"loc": {
"start": {
"line": 157,
"column": 44
},
"end": {
"line": 157,
"column": 56
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5857,
"end": 5858,
"loc": {
"start": {
"line": 157,
"column": 56
},
"end": {
"line": 157,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "mapChunkSize",
"start": 5858,
"end": 5870,
"loc": {
"start": {
"line": 157,
"column": 57
},
"end": {
"line": 157,
"column": 69
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5870,
"end": 5871,
"loc": {
"start": {
"line": 157,
"column": 69
},
"end": {
"line": 157,
"column": 70
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5871,
"end": 5872,
"loc": {
"start": {
"line": 157,
"column": 70
},
"end": {
"line": 157,
"column": 71
}
}
},
{
"type": "CommentLine",
"value": " Render y from top down for proper blending",
"start": 5884,
"end": 5929,
"loc": {
"start": {
"line": 159,
"column": 8
},
"end": {
"line": 159,
"column": 53
}
}
},
{
"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": 5939,
"end": 5942,
"loc": {
"start": {
"line": 160,
"column": 8
},
"end": {
"line": 160,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5943,
"end": 5944,
"loc": {
"start": {
"line": 160,
"column": 12
},
"end": {
"line": 160,
"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": 5944,
"end": 5947,
"loc": {
"start": {
"line": 160,
"column": 13
},
"end": {
"line": 160,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "chunkX",
"start": 5948,
"end": 5954,
"loc": {
"start": {
"line": 160,
"column": 17
},
"end": {
"line": 160,
"column": 23
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5955,
"end": 5956,
"loc": {
"start": {
"line": 160,
"column": 24
},
"end": {
"line": 160,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "chunkStartX",
"start": 5957,
"end": 5968,
"loc": {
"start": {
"line": 160,
"column": 26
},
"end": {
"line": 160,
"column": 37
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5968,
"end": 5969,
"loc": {
"start": {
"line": 160,
"column": 37
},
"end": {
"line": 160,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "chunkX",
"start": 5970,
"end": 5976,
"loc": {
"start": {
"line": 160,
"column": 39
},
"end": {
"line": 160,
"column": 45
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<=",
"start": 5977,
"end": 5979,
"loc": {
"start": {
"line": 160,
"column": 46
},
"end": {
"line": 160,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "chunkEndX",
"start": 5980,
"end": 5989,
"loc": {
"start": {
"line": 160,
"column": 49
},
"end": {
"line": 160,
"column": 58
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5989,
"end": 5990,
"loc": {
"start": {
"line": 160,
"column": 58
},
"end": {
"line": 160,
"column": 59
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 5991,
"end": 5993,
"loc": {
"start": {
"line": 160,
"column": 60
},
"end": {
"line": 160,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "chunkX",
"start": 5993,
"end": 5999,
"loc": {
"start": {
"line": 160,
"column": 62
},
"end": {
"line": 160,
"column": 68
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5999,
"end": 6000,
"loc": {
"start": {
"line": 160,
"column": 68
},
"end": {
"line": 160,
"column": 69
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6001,
"end": 6002,
"loc": {
"start": {
"line": 160,
"column": 70
},
"end": {
"line": 160,
"column": 71
}
}
},
{
"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": 6016,
"end": 6019,
"loc": {
"start": {
"line": 161,
"column": 12
},
"end": {
"line": 161,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6020,
"end": 6021,
"loc": {
"start": {
"line": 161,
"column": 16
},
"end": {
"line": 161,
"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": 6021,
"end": 6024,
"loc": {
"start": {
"line": 161,
"column": 17
},
"end": {
"line": 161,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "chunkY",
"start": 6025,
"end": 6031,
"loc": {
"start": {
"line": 161,
"column": 21
},
"end": {
"line": 161,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6032,
"end": 6033,
"loc": {
"start": {
"line": 161,
"column": 28
},
"end": {
"line": 161,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "chunkStartY",
"start": 6034,
"end": 6045,
"loc": {
"start": {
"line": 161,
"column": 30
},
"end": {
"line": 161,
"column": 41
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6045,
"end": 6046,
"loc": {
"start": {
"line": 161,
"column": 41
},
"end": {
"line": 161,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "chunkY",
"start": 6047,
"end": 6053,
"loc": {
"start": {
"line": 161,
"column": 43
},
"end": {
"line": 161,
"column": 49
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<=",
"start": 6054,
"end": 6056,
"loc": {
"start": {
"line": 161,
"column": 50
},
"end": {
"line": 161,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "chunkEndY",
"start": 6057,
"end": 6066,
"loc": {
"start": {
"line": 161,
"column": 53
},
"end": {
"line": 161,
"column": 62
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6066,
"end": 6067,
"loc": {
"start": {
"line": 161,
"column": 62
},
"end": {
"line": 161,
"column": 63
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 6068,
"end": 6070,
"loc": {
"start": {
"line": 161,
"column": 64
},
"end": {
"line": 161,
"column": 66
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "chunkY",
"start": 6070,
"end": 6076,
"loc": {
"start": {
"line": 161,
"column": 66
},
"end": {
"line": 161,
"column": 72
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6076,
"end": 6077,
"loc": {
"start": {
"line": 161,
"column": 72
},
"end": {
"line": 161,
"column": 73
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6078,
"end": 6079,
"loc": {
"start": {
"line": 161,
"column": 74
},
"end": {
"line": 161,
"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": 6097,
"end": 6102,
"loc": {
"start": {
"line": 162,
"column": 16
},
"end": {
"line": 162,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "chunk",
"start": 6103,
"end": 6108,
"loc": {
"start": {
"line": 162,
"column": 22
},
"end": {
"line": 162,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6109,
"end": 6110,
"loc": {
"start": {
"line": 162,
"column": 28
},
"end": {
"line": 162,
"column": 29
}
}
},
{
"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": 6111,
"end": 6115,
"loc": {
"start": {
"line": 162,
"column": 30
},
"end": {
"line": 162,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6115,
"end": 6116,
"loc": {
"start": {
"line": 162,
"column": 34
},
"end": {
"line": 162,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 6116,
"end": 6120,
"loc": {
"start": {
"line": 162,
"column": 35
},
"end": {
"line": 162,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6120,
"end": 6121,
"loc": {
"start": {
"line": 162,
"column": 39
},
"end": {
"line": 162,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "map",
"start": 6121,
"end": 6124,
"loc": {
"start": {
"line": 162,
"column": 40
},
"end": {
"line": 162,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6124,
"end": 6125,
"loc": {
"start": {
"line": 162,
"column": 43
},
"end": {
"line": 162,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getChunk",
"start": 6125,
"end": 6133,
"loc": {
"start": {
"line": 162,
"column": 44
},
"end": {
"line": 162,
"column": 52
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6133,
"end": 6134,
"loc": {
"start": {
"line": 162,
"column": 52
},
"end": {
"line": 162,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "chunkX",
"start": 6134,
"end": 6140,
"loc": {
"start": {
"line": 162,
"column": 53
},
"end": {
"line": 162,
"column": 59
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6140,
"end": 6141,
"loc": {
"start": {
"line": 162,
"column": 59
},
"end": {
"line": 162,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "chunkY",
"start": 6142,
"end": 6148,
"loc": {
"start": {
"line": 162,
"column": 61
},
"end": {
"line": 162,
"column": 67
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6148,
"end": 6149,
"loc": {
"start": {
"line": 162,
"column": 67
},
"end": {
"line": 162,
"column": 68
}
}
},
{
"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": 6150,
"end": 6154,
"loc": {
"start": {
"line": 162,
"column": 69
},
"end": {
"line": 162,
"column": 73
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6154,
"end": 6155,
"loc": {
"start": {
"line": 162,
"column": 73
},
"end": {
"line": 162,
"column": 74
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6155,
"end": 6156,
"loc": {
"start": {
"line": 162,
"column": 74
},
"end": {
"line": 162,
"column": 75
}
}
},
{
"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": 6174,
"end": 6176,
"loc": {
"start": {
"line": 163,
"column": 16
},
"end": {
"line": 163,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6177,
"end": 6178,
"loc": {
"start": {
"line": 163,
"column": 19
},
"end": {
"line": 163,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "layer",
"start": 6178,
"end": 6183,
"loc": {
"start": {
"line": 163,
"column": 20
},
"end": {
"line": 163,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6183,
"end": 6184,
"loc": {
"start": {
"line": 163,
"column": 25
},
"end": {
"line": 163,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "method",
"start": 6185,
"end": 6191,
"loc": {
"start": {
"line": 163,
"column": 27
},
"end": {
"line": 163,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6191,
"end": 6192,
"loc": {
"start": {
"line": 163,
"column": 33
},
"end": {
"line": 163,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "call",
"start": 6192,
"end": 6196,
"loc": {
"start": {
"line": 163,
"column": 34
},
"end": {
"line": 163,
"column": 38
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6196,
"end": 6197,
"loc": {
"start": {
"line": 163,
"column": 38
},
"end": {
"line": 163,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "chunk",
"start": 6197,
"end": 6202,
"loc": {
"start": {
"line": 163,
"column": 39
},
"end": {
"line": 163,
"column": 44
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6202,
"end": 6203,
"loc": {
"start": {
"line": 163,
"column": 44
},
"end": {
"line": 163,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 6204,
"end": 6214,
"loc": {
"start": {
"line": 163,
"column": 46
},
"end": {
"line": 163,
"column": 56
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6214,
"end": 6215,
"loc": {
"start": {
"line": 163,
"column": 56
},
"end": {
"line": 163,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "layer",
"start": 6216,
"end": 6221,
"loc": {
"start": {
"line": 163,
"column": 58
},
"end": {
"line": 163,
"column": 63
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6221,
"end": 6222,
"loc": {
"start": {
"line": 163,
"column": 63
},
"end": {
"line": 163,
"column": 64
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6222,
"end": 6223,
"loc": {
"start": {
"line": 163,
"column": 64
},
"end": {
"line": 163,
"column": 65
}
}
},
{
"type": {
"label": "else",
"keyword": "else",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "else",
"start": 6241,
"end": 6245,
"loc": {
"start": {
"line": 164,
"column": 16
},
"end": {
"line": 164,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "method",
"start": 6246,
"end": 6252,
"loc": {
"start": {
"line": 164,
"column": 21
},
"end": {
"line": 164,
"column": 27
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6252,
"end": 6253,
"loc": {
"start": {
"line": 164,
"column": 27
},
"end": {
"line": 164,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "call",
"start": 6253,
"end": 6257,
"loc": {
"start": {
"line": 164,
"column": 28
},
"end": {
"line": 164,
"column": 32
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6257,
"end": 6258,
"loc": {
"start": {
"line": 164,
"column": 32
},
"end": {
"line": 164,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "chunk",
"start": 6258,
"end": 6263,
"loc": {
"start": {
"line": 164,
"column": 33
},
"end": {
"line": 164,
"column": 38
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6263,
"end": 6264,
"loc": {
"start": {
"line": 164,
"column": 38
},
"end": {
"line": 164,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 6265,
"end": 6275,
"loc": {
"start": {
"line": 164,
"column": 40
},
"end": {
"line": 164,
"column": 50
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6275,
"end": 6276,
"loc": {
"start": {
"line": 164,
"column": 50
},
"end": {
"line": 164,
"column": 51
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6276,
"end": 6277,
"loc": {
"start": {
"line": 164,
"column": 51
},
"end": {
"line": 164,
"column": 52
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6291,
"end": 6292,
"loc": {
"start": {
"line": 165,
"column": 12
},
"end": {
"line": 165,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6302,
"end": 6303,
"loc": {
"start": {
"line": 166,
"column": 8
},
"end": {
"line": 166,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6309,
"end": 6310,
"loc": {
"start": {
"line": 167,
"column": 4
},
"end": {
"line": 167,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Draws the wires foreground\r\n * @param {DrawParameters} parameters\r\n ",
"start": 6318,
"end": 6408,
"loc": {
"start": {
"line": 169,
"column": 4
},
"end": {
"line": 172,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "drawWiresForegroundLayer",
"start": 6414,
"end": 6438,
"loc": {
"start": {
"line": 173,
"column": 4
},
"end": {
"line": 173,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6438,
"end": 6439,
"loc": {
"start": {
"line": 173,
"column": 28
},
"end": {
"line": 173,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 6439,
"end": 6449,
"loc": {
"start": {
"line": 173,
"column": 29
},
"end": {
"line": 173,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6449,
"end": 6450,
"loc": {
"start": {
"line": 173,
"column": 39
},
"end": {
"line": 173,
"column": 40
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6451,
"end": 6452,
"loc": {
"start": {
"line": 173,
"column": 41
},
"end": {
"line": 173,
"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": 6462,
"end": 6466,
"loc": {
"start": {
"line": 174,
"column": 8
},
"end": {
"line": 174,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6466,
"end": 6467,
"loc": {
"start": {
"line": 174,
"column": 12
},
"end": {
"line": 174,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "drawVisibleChunks",
"start": 6467,
"end": 6484,
"loc": {
"start": {
"line": 174,
"column": 13
},
"end": {
"line": 174,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6484,
"end": 6485,
"loc": {
"start": {
"line": 174,
"column": 30
},
"end": {
"line": 174,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 6485,
"end": 6495,
"loc": {
"start": {
"line": 174,
"column": 31
},
"end": {
"line": 174,
"column": 41
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6495,
"end": 6496,
"loc": {
"start": {
"line": 174,
"column": 41
},
"end": {
"line": 174,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MapChunkView",
"start": 6497,
"end": 6509,
"loc": {
"start": {
"line": 174,
"column": 43
},
"end": {
"line": 174,
"column": 55
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6509,
"end": 6510,
"loc": {
"start": {
"line": 174,
"column": 55
},
"end": {
"line": 174,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "prototype",
"start": 6510,
"end": 6519,
"loc": {
"start": {
"line": 174,
"column": 56
},
"end": {
"line": 174,
"column": 65
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6519,
"end": 6520,
"loc": {
"start": {
"line": 174,
"column": 65
},
"end": {
"line": 174,
"column": 66
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "drawWiresForegroundLayer",
"start": 6520,
"end": 6544,
"loc": {
"start": {
"line": 174,
"column": 66
},
"end": {
"line": 174,
"column": 90
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6544,
"end": 6545,
"loc": {
"start": {
"line": 174,
"column": 90
},
"end": {
"line": 174,
"column": 91
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6545,
"end": 6546,
"loc": {
"start": {
"line": 174,
"column": 91
},
"end": {
"line": 174,
"column": 92
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6552,
"end": 6553,
"loc": {
"start": {
"line": 175,
"column": 4
},
"end": {
"line": 175,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Draws the layer foreground\r\n * @param {DrawParameters} parameters\r\n * @param {Layer} layer\r\n ",
"start": 6561,
"end": 6680,
"loc": {
"start": {
"line": 177,
"column": 4
},
"end": {
"line": 181,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "drawForegroundLayer",
"start": 6686,
"end": 6705,
"loc": {
"start": {
"line": 182,
"column": 4
},
"end": {
"line": 182,
"column": 23
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6705,
"end": 6706,
"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": "parameters",
"start": 6706,
"end": 6716,
"loc": {
"start": {
"line": 182,
"column": 24
},
"end": {
"line": 182,
"column": 34
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6716,
"end": 6717,
"loc": {
"start": {
"line": 182,
"column": 34
},
"end": {
"line": 182,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "layer",
"start": 6718,
"end": 6723,
"loc": {
"start": {
"line": 182,
"column": 36
},
"end": {
"line": 182,
"column": 41
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6723,
"end": 6724,
"loc": {
"start": {
"line": 182,
"column": 41
},
"end": {
"line": 182,
"column": 42
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6725,
"end": 6726,
"loc": {
"start": {
"line": 182,
"column": 43
},
"end": {
"line": 182,
"column": 44
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 6736,
"end": 6740,
"loc": {
"start": {
"line": 183,
"column": 8
},
"end": {
"line": 183,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6740,
"end": 6741,
"loc": {
"start": {
"line": 183,
"column": 12
},
"end": {
"line": 183,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "drawVisibleChunks",
"start": 6741,
"end": 6758,
"loc": {
"start": {
"line": 183,
"column": 13
},
"end": {
"line": 183,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6758,
"end": 6759,
"loc": {
"start": {
"line": 183,
"column": 30
},
"end": {
"line": 183,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 6759,
"end": 6769,
"loc": {
"start": {
"line": 183,
"column": 31
},
"end": {
"line": 183,
"column": 41
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6769,
"end": 6770,
"loc": {
"start": {
"line": 183,
"column": 41
},
"end": {
"line": 183,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MapChunkView",
"start": 6771,
"end": 6783,
"loc": {
"start": {
"line": 183,
"column": 43
},
"end": {
"line": 183,
"column": 55
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6783,
"end": 6784,
"loc": {
"start": {
"line": 183,
"column": 55
},
"end": {
"line": 183,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "prototype",
"start": 6784,
"end": 6793,
"loc": {
"start": {
"line": 183,
"column": 56
},
"end": {
"line": 183,
"column": 65
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6793,
"end": 6794,
"loc": {
"start": {
"line": 183,
"column": 65
},
"end": {
"line": 183,
"column": 66
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "drawForegroundLayer",
"start": 6794,
"end": 6813,
"loc": {
"start": {
"line": 183,
"column": 66
},
"end": {
"line": 183,
"column": 85
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6813,
"end": 6814,
"loc": {
"start": {
"line": 183,
"column": 85
},
"end": {
"line": 183,
"column": 86
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "layer",
"start": 6815,
"end": 6820,
"loc": {
"start": {
"line": 183,
"column": 87
},
"end": {
"line": 183,
"column": 92
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6820,
"end": 6821,
"loc": {
"start": {
"line": 183,
"column": 92
},
"end": {
"line": 183,
"column": 93
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6821,
"end": 6822,
"loc": {
"start": {
"line": 183,
"column": 93
},
"end": {
"line": 183,
"column": 94
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6828,
"end": 6829,
"loc": {
"start": {
"line": 184,
"column": 4
},
"end": {
"line": 184,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Draws the map overlay\r\n * @param {DrawParameters} parameters\r\n ",
"start": 6837,
"end": 6922,
"loc": {
"start": {
"line": 186,
"column": 4
},
"end": {
"line": 189,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "drawOverlay",
"start": 6928,
"end": 6939,
"loc": {
"start": {
"line": 190,
"column": 4
},
"end": {
"line": 190,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6939,
"end": 6940,
"loc": {
"start": {
"line": 190,
"column": 15
},
"end": {
"line": 190,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 6940,
"end": 6950,
"loc": {
"start": {
"line": 190,
"column": 16
},
"end": {
"line": 190,
"column": 26
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6950,
"end": 6951,
"loc": {
"start": {
"line": 190,
"column": 26
},
"end": {
"line": 190,
"column": 27
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6952,
"end": 6953,
"loc": {
"start": {
"line": 190,
"column": 28
},
"end": {
"line": 190,
"column": 29
}
}
},
{
"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": 6963,
"end": 6967,
"loc": {
"start": {
"line": 191,
"column": 8
},
"end": {
"line": 191,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6967,
"end": 6968,
"loc": {
"start": {
"line": 191,
"column": 12
},
"end": {
"line": 191,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "drawVisibleChunks",
"start": 6968,
"end": 6985,
"loc": {
"start": {
"line": 191,
"column": 13
},
"end": {
"line": 191,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6985,
"end": 6986,
"loc": {
"start": {
"line": 191,
"column": 30
},
"end": {
"line": 191,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 6986,
"end": 6996,
"loc": {
"start": {
"line": 191,
"column": 31
},
"end": {
"line": 191,
"column": 41
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6996,
"end": 6997,
"loc": {
"start": {
"line": 191,
"column": 41
},
"end": {
"line": 191,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MapChunkView",
"start": 6998,
"end": 7010,
"loc": {
"start": {
"line": 191,
"column": 43
},
"end": {
"line": 191,
"column": 55
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7010,
"end": 7011,
"loc": {
"start": {
"line": 191,
"column": 55
},
"end": {
"line": 191,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "prototype",
"start": 7011,
"end": 7020,
"loc": {
"start": {
"line": 191,
"column": 56
},
"end": {
"line": 191,
"column": 65
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7020,
"end": 7021,
"loc": {
"start": {
"line": 191,
"column": 65
},
"end": {
"line": 191,
"column": 66
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "drawOverlay",
"start": 7021,
"end": 7032,
"loc": {
"start": {
"line": 191,
"column": 66
},
"end": {
"line": 191,
"column": 77
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7032,
"end": 7033,
"loc": {
"start": {
"line": 191,
"column": 77
},
"end": {
"line": 191,
"column": 78
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7033,
"end": 7034,
"loc": {
"start": {
"line": 191,
"column": 78
},
"end": {
"line": 191,
"column": 79
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7040,
"end": 7041,
"loc": {
"start": {
"line": 192,
"column": 4
},
"end": {
"line": 192,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Draws the map background\r\n * @param {DrawParameters} parameters\r\n ",
"start": 7049,
"end": 7137,
"loc": {
"start": {
"line": 194,
"column": 4
},
"end": {
"line": 197,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "drawBackground",
"start": 7143,
"end": 7157,
"loc": {
"start": {
"line": 198,
"column": 4
},
"end": {
"line": 198,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7157,
"end": 7158,
"loc": {
"start": {
"line": 198,
"column": 18
},
"end": {
"line": 198,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 7158,
"end": 7168,
"loc": {
"start": {
"line": 198,
"column": 19
},
"end": {
"line": 198,
"column": 29
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7168,
"end": 7169,
"loc": {
"start": {
"line": 198,
"column": 29
},
"end": {
"line": 198,
"column": 30
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7170,
"end": 7171,
"loc": {
"start": {
"line": 198,
"column": 31
},
"end": {
"line": 198,
"column": 32
}
}
},
{
"type": "CommentLine",
"value": " Render tile grid",
"start": 7181,
"end": 7200,
"loc": {
"start": {
"line": 199,
"column": 8
},
"end": {
"line": 199,
"column": 27
}
}
},
{
"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": 7210,
"end": 7212,
"loc": {
"start": {
"line": 200,
"column": 8
},
"end": {
"line": 200,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7213,
"end": 7214,
"loc": {
"start": {
"line": 200,
"column": 11
},
"end": {
"line": 200,
"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": 7214,
"end": 7215,
"loc": {
"start": {
"line": 200,
"column": 12
},
"end": {
"line": 200,
"column": 13
}
}
},
{
"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": 7215,
"end": 7219,
"loc": {
"start": {
"line": 200,
"column": 13
},
"end": {
"line": 200,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7219,
"end": 7220,
"loc": {
"start": {
"line": 200,
"column": 17
},
"end": {
"line": 200,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 7220,
"end": 7224,
"loc": {
"start": {
"line": 200,
"column": 18
},
"end": {
"line": 200,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7224,
"end": 7225,
"loc": {
"start": {
"line": 200,
"column": 22
},
"end": {
"line": 200,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "app",
"start": 7225,
"end": 7228,
"loc": {
"start": {
"line": 200,
"column": 23
},
"end": {
"line": 200,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7228,
"end": 7229,
"loc": {
"start": {
"line": 200,
"column": 26
},
"end": {
"line": 200,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "settings",
"start": 7229,
"end": 7237,
"loc": {
"start": {
"line": 200,
"column": 27
},
"end": {
"line": 200,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7237,
"end": 7238,
"loc": {
"start": {
"line": 200,
"column": 35
},
"end": {
"line": 200,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getAllSettings",
"start": 7238,
"end": 7252,
"loc": {
"start": {
"line": 200,
"column": 36
},
"end": {
"line": 200,
"column": 50
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7252,
"end": 7253,
"loc": {
"start": {
"line": 200,
"column": 50
},
"end": {
"line": 200,
"column": 51
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7253,
"end": 7254,
"loc": {
"start": {
"line": 200,
"column": 51
},
"end": {
"line": 200,
"column": 52
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7254,
"end": 7255,
"loc": {
"start": {
"line": 200,
"column": 52
},
"end": {
"line": 200,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "disableTileGrid",
"start": 7255,
"end": 7270,
"loc": {
"start": {
"line": 200,
"column": 53
},
"end": {
"line": 200,
"column": 68
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7270,
"end": 7271,
"loc": {
"start": {
"line": 200,
"column": 68
},
"end": {
"line": 200,
"column": 69
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7272,
"end": 7273,
"loc": {
"start": {
"line": 200,
"column": 70
},
"end": {
"line": 200,
"column": 71
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 7287,
"end": 7292,
"loc": {
"start": {
"line": 201,
"column": 12
},
"end": {
"line": 201,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dpi",
"start": 7293,
"end": 7296,
"loc": {
"start": {
"line": 201,
"column": 18
},
"end": {
"line": 201,
"column": 21
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7297,
"end": 7298,
"loc": {
"start": {
"line": 201,
"column": 22
},
"end": {
"line": 201,
"column": 23
}
}
},
{
"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": 7299,
"end": 7303,
"loc": {
"start": {
"line": 201,
"column": 24
},
"end": {
"line": 201,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7303,
"end": 7304,
"loc": {
"start": {
"line": 201,
"column": 28
},
"end": {
"line": 201,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "backgroundCacheDPI",
"start": 7304,
"end": 7322,
"loc": {
"start": {
"line": 201,
"column": 29
},
"end": {
"line": 201,
"column": 47
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7322,
"end": 7323,
"loc": {
"start": {
"line": 201,
"column": 47
},
"end": {
"line": 201,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 7337,
"end": 7347,
"loc": {
"start": {
"line": 202,
"column": 12
},
"end": {
"line": 202,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7347,
"end": 7348,
"loc": {
"start": {
"line": 202,
"column": 22
},
"end": {
"line": 202,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 7348,
"end": 7355,
"loc": {
"start": {
"line": 202,
"column": 23
},
"end": {
"line": 202,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7355,
"end": 7356,
"loc": {
"start": {
"line": 202,
"column": 30
},
"end": {
"line": 202,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scale",
"start": 7356,
"end": 7361,
"loc": {
"start": {
"line": 202,
"column": 31
},
"end": {
"line": 202,
"column": 36
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7361,
"end": 7362,
"loc": {
"start": {
"line": 202,
"column": 36
},
"end": {
"line": 202,
"column": 37
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 7362,
"end": 7363,
"loc": {
"start": {
"line": 202,
"column": 37
},
"end": {
"line": 202,
"column": 38
}
}
},
{
"type": {
"label": "/",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "/",
"start": 7364,
"end": 7365,
"loc": {
"start": {
"line": 202,
"column": 39
},
"end": {
"line": 202,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dpi",
"start": 7366,
"end": 7369,
"loc": {
"start": {
"line": 202,
"column": 41
},
"end": {
"line": 202,
"column": 44
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7369,
"end": 7370,
"loc": {
"start": {
"line": 202,
"column": 44
},
"end": {
"line": 202,
"column": 45
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 7371,
"end": 7372,
"loc": {
"start": {
"line": 202,
"column": 46
},
"end": {
"line": 202,
"column": 47
}
}
},
{
"type": {
"label": "/",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "/",
"start": 7373,
"end": 7374,
"loc": {
"start": {
"line": 202,
"column": 48
},
"end": {
"line": 202,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dpi",
"start": 7375,
"end": 7378,
"loc": {
"start": {
"line": 202,
"column": 50
},
"end": {
"line": 202,
"column": 53
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7378,
"end": 7379,
"loc": {
"start": {
"line": 202,
"column": 53
},
"end": {
"line": 202,
"column": 54
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7379,
"end": 7380,
"loc": {
"start": {
"line": 202,
"column": 54
},
"end": {
"line": 202,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 7396,
"end": 7406,
"loc": {
"start": {
"line": 204,
"column": 12
},
"end": {
"line": 204,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7406,
"end": 7407,
"loc": {
"start": {
"line": 204,
"column": 22
},
"end": {
"line": 204,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 7407,
"end": 7414,
"loc": {
"start": {
"line": 204,
"column": 23
},
"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": 7414,
"end": 7415,
"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": "fillStyle",
"start": 7415,
"end": 7424,
"loc": {
"start": {
"line": 204,
"column": 31
},
"end": {
"line": 204,
"column": 40
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7425,
"end": 7426,
"loc": {
"start": {
"line": 204,
"column": 41
},
"end": {
"line": 204,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 7427,
"end": 7437,
"loc": {
"start": {
"line": 204,
"column": 43
},
"end": {
"line": 204,
"column": 53
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7437,
"end": 7438,
"loc": {
"start": {
"line": 204,
"column": 53
},
"end": {
"line": 204,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 7438,
"end": 7445,
"loc": {
"start": {
"line": 204,
"column": 54
},
"end": {
"line": 204,
"column": 61
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7445,
"end": 7446,
"loc": {
"start": {
"line": 204,
"column": 61
},
"end": {
"line": 204,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "createPattern",
"start": 7446,
"end": 7459,
"loc": {
"start": {
"line": 204,
"column": 62
},
"end": {
"line": 204,
"column": 75
}
}
},
{
"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": 204,
"column": 75
},
"end": {
"line": 204,
"column": 76
}
}
},
{
"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": 7478,
"end": 7482,
"loc": {
"start": {
"line": 205,
"column": 16
},
"end": {
"line": 205,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7482,
"end": 7483,
"loc": {
"start": {
"line": 205,
"column": 20
},
"end": {
"line": 205,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cachedBackgroundCanvas",
"start": 7483,
"end": 7505,
"loc": {
"start": {
"line": 205,
"column": 21
},
"end": {
"line": 205,
"column": 43
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7505,
"end": 7506,
"loc": {
"start": {
"line": 205,
"column": 43
},
"end": {
"line": 205,
"column": 44
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "repeat",
"start": 7524,
"end": 7532,
"loc": {
"start": {
"line": 206,
"column": 16
},
"end": {
"line": 206,
"column": 24
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7546,
"end": 7547,
"loc": {
"start": {
"line": 207,
"column": 12
},
"end": {
"line": 207,
"column": 13
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7547,
"end": 7548,
"loc": {
"start": {
"line": 207,
"column": 13
},
"end": {
"line": 207,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 7562,
"end": 7572,
"loc": {
"start": {
"line": 208,
"column": 12
},
"end": {
"line": 208,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7572,
"end": 7573,
"loc": {
"start": {
"line": 208,
"column": 22
},
"end": {
"line": 208,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 7573,
"end": 7580,
"loc": {
"start": {
"line": 208,
"column": 23
},
"end": {
"line": 208,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7580,
"end": 7581,
"loc": {
"start": {
"line": 208,
"column": 30
},
"end": {
"line": 208,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fillRect",
"start": 7581,
"end": 7589,
"loc": {
"start": {
"line": 208,
"column": 31
},
"end": {
"line": 208,
"column": 39
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7589,
"end": 7590,
"loc": {
"start": {
"line": 208,
"column": 39
},
"end": {
"line": 208,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 7608,
"end": 7618,
"loc": {
"start": {
"line": 209,
"column": 16
},
"end": {
"line": 209,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7618,
"end": 7619,
"loc": {
"start": {
"line": 209,
"column": 26
},
"end": {
"line": 209,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "visibleRect",
"start": 7619,
"end": 7630,
"loc": {
"start": {
"line": 209,
"column": 27
},
"end": {
"line": 209,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7630,
"end": 7631,
"loc": {
"start": {
"line": 209,
"column": 38
},
"end": {
"line": 209,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "x",
"start": 7631,
"end": 7632,
"loc": {
"start": {
"line": 209,
"column": 39
},
"end": {
"line": 209,
"column": 40
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 7633,
"end": 7634,
"loc": {
"start": {
"line": 209,
"column": 41
},
"end": {
"line": 209,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dpi",
"start": 7635,
"end": 7638,
"loc": {
"start": {
"line": 209,
"column": 43
},
"end": {
"line": 209,
"column": 46
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7638,
"end": 7639,
"loc": {
"start": {
"line": 209,
"column": 46
},
"end": {
"line": 209,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 7657,
"end": 7667,
"loc": {
"start": {
"line": 210,
"column": 16
},
"end": {
"line": 210,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7667,
"end": 7668,
"loc": {
"start": {
"line": 210,
"column": 26
},
"end": {
"line": 210,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "visibleRect",
"start": 7668,
"end": 7679,
"loc": {
"start": {
"line": 210,
"column": 27
},
"end": {
"line": 210,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7679,
"end": 7680,
"loc": {
"start": {
"line": 210,
"column": 38
},
"end": {
"line": 210,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 7680,
"end": 7681,
"loc": {
"start": {
"line": 210,
"column": 39
},
"end": {
"line": 210,
"column": 40
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 7682,
"end": 7683,
"loc": {
"start": {
"line": 210,
"column": 41
},
"end": {
"line": 210,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dpi",
"start": 7684,
"end": 7687,
"loc": {
"start": {
"line": 210,
"column": 43
},
"end": {
"line": 210,
"column": 46
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7687,
"end": 7688,
"loc": {
"start": {
"line": 210,
"column": 46
},
"end": {
"line": 210,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 7706,
"end": 7716,
"loc": {
"start": {
"line": 211,
"column": 16
},
"end": {
"line": 211,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7716,
"end": 7717,
"loc": {
"start": {
"line": 211,
"column": 26
},
"end": {
"line": 211,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "visibleRect",
"start": 7717,
"end": 7728,
"loc": {
"start": {
"line": 211,
"column": 27
},
"end": {
"line": 211,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7728,
"end": 7729,
"loc": {
"start": {
"line": 211,
"column": 38
},
"end": {
"line": 211,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "w",
"start": 7729,
"end": 7730,
"loc": {
"start": {
"line": 211,
"column": 39
},
"end": {
"line": 211,
"column": 40
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 7731,
"end": 7732,
"loc": {
"start": {
"line": 211,
"column": 41
},
"end": {
"line": 211,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dpi",
"start": 7733,
"end": 7736,
"loc": {
"start": {
"line": 211,
"column": 43
},
"end": {
"line": 211,
"column": 46
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7736,
"end": 7737,
"loc": {
"start": {
"line": 211,
"column": 46
},
"end": {
"line": 211,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 7755,
"end": 7765,
"loc": {
"start": {
"line": 212,
"column": 16
},
"end": {
"line": 212,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7765,
"end": 7766,
"loc": {
"start": {
"line": 212,
"column": 26
},
"end": {
"line": 212,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "visibleRect",
"start": 7766,
"end": 7777,
"loc": {
"start": {
"line": 212,
"column": 27
},
"end": {
"line": 212,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7777,
"end": 7778,
"loc": {
"start": {
"line": 212,
"column": 38
},
"end": {
"line": 212,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "h",
"start": 7778,
"end": 7779,
"loc": {
"start": {
"line": 212,
"column": 39
},
"end": {
"line": 212,
"column": 40
}
}
},
{
"type": {
"label": "*",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 10,
"updateContext": null
},
"value": "*",
"start": 7780,
"end": 7781,
"loc": {
"start": {
"line": 212,
"column": 41
},
"end": {
"line": 212,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dpi",
"start": 7782,
"end": 7785,
"loc": {
"start": {
"line": 212,
"column": 43
},
"end": {
"line": 212,
"column": 46
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7799,
"end": 7800,
"loc": {
"start": {
"line": 213,
"column": 12
},
"end": {
"line": 213,
"column": 13
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7800,
"end": 7801,
"loc": {
"start": {
"line": 213,
"column": 13
},
"end": {
"line": 213,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 7815,
"end": 7825,
"loc": {
"start": {
"line": 214,
"column": 12
},
"end": {
"line": 214,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7825,
"end": 7826,
"loc": {
"start": {
"line": 214,
"column": 22
},
"end": {
"line": 214,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "context",
"start": 7826,
"end": 7833,
"loc": {
"start": {
"line": 214,
"column": 23
},
"end": {
"line": 214,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7833,
"end": 7834,
"loc": {
"start": {
"line": 214,
"column": 30
},
"end": {
"line": 214,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scale",
"start": 7834,
"end": 7839,
"loc": {
"start": {
"line": 214,
"column": 31
},
"end": {
"line": 214,
"column": 36
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7839,
"end": 7840,
"loc": {
"start": {
"line": 214,
"column": 36
},
"end": {
"line": 214,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dpi",
"start": 7840,
"end": 7843,
"loc": {
"start": {
"line": 214,
"column": 37
},
"end": {
"line": 214,
"column": 40
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7843,
"end": 7844,
"loc": {
"start": {
"line": 214,
"column": 40
},
"end": {
"line": 214,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dpi",
"start": 7845,
"end": 7848,
"loc": {
"start": {
"line": 214,
"column": 42
},
"end": {
"line": 214,
"column": 45
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7848,
"end": 7849,
"loc": {
"start": {
"line": 214,
"column": 45
},
"end": {
"line": 214,
"column": 46
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7849,
"end": 7850,
"loc": {
"start": {
"line": 214,
"column": 46
},
"end": {
"line": 214,
"column": 47
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7860,
"end": 7861,
"loc": {
"start": {
"line": 215,
"column": 8
},
"end": {
"line": 215,
"column": 9
}
}
},
{
"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": 7873,
"end": 7877,
"loc": {
"start": {
"line": 217,
"column": 8
},
"end": {
"line": 217,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7877,
"end": 7878,
"loc": {
"start": {
"line": 217,
"column": 12
},
"end": {
"line": 217,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "drawVisibleChunks",
"start": 7878,
"end": 7895,
"loc": {
"start": {
"line": 217,
"column": 13
},
"end": {
"line": 217,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7895,
"end": 7896,
"loc": {
"start": {
"line": 217,
"column": 30
},
"end": {
"line": 217,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 7896,
"end": 7906,
"loc": {
"start": {
"line": 217,
"column": 31
},
"end": {
"line": 217,
"column": 41
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7906,
"end": 7907,
"loc": {
"start": {
"line": 217,
"column": 41
},
"end": {
"line": 217,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MapChunkView",
"start": 7908,
"end": 7920,
"loc": {
"start": {
"line": 217,
"column": 43
},
"end": {
"line": 217,
"column": 55
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7920,
"end": 7921,
"loc": {
"start": {
"line": 217,
"column": 55
},
"end": {
"line": 217,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "prototype",
"start": 7921,
"end": 7930,
"loc": {
"start": {
"line": 217,
"column": 56
},
"end": {
"line": 217,
"column": 65
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7930,
"end": 7931,
"loc": {
"start": {
"line": 217,
"column": 65
},
"end": {
"line": 217,
"column": 66
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "drawBackgroundLayer",
"start": 7931,
"end": 7950,
"loc": {
"start": {
"line": 217,
"column": 66
},
"end": {
"line": 217,
"column": 85
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7950,
"end": 7951,
"loc": {
"start": {
"line": 217,
"column": 85
},
"end": {
"line": 217,
"column": 86
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7951,
"end": 7952,
"loc": {
"start": {
"line": 217,
"column": 86
},
"end": {
"line": 217,
"column": 87
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7958,
"end": 7959,
"loc": {
"start": {
"line": 218,
"column": 4
},
"end": {
"line": 218,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7961,
"end": 7962,
"loc": {
"start": {
"line": 219,
"column": 0
},
"end": {
"line": 219,
"column": 1
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7962,
"end": 7962,
"loc": {
"start": {
"line": 219,
"column": 1
},
"end": {
"line": 219,
"column": 1
}
}
}
]
}