{ "type": "File", "start": 0, "end": 5299, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 135, "column": 1 } }, "program": { "type": "Program", "start": 0, "end": 5299, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 135, "column": 1 } }, "sourceType": "module", "body": [ { "type": "ImportDeclaration", "start": 0, "end": 49, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 49 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 9, "end": 21, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 21 } }, "imported": { "type": "Identifier", "start": 9, "end": 21, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 21 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "local": { "type": "Identifier", "start": 9, "end": 21, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 21 }, "identifierName": "globalConfig" }, "name": "globalConfig" } } ], "source": { "type": "StringLiteral", "start": 29, "end": 48, "loc": { "start": { "line": 1, "column": 29 }, "end": { "line": 1, "column": 48 } }, "extra": { "rawValue": "../../core/config", "raw": "\"../../core/config\"" }, "value": "../../core/config" } }, { "type": "ImportDeclaration", "start": 51, "end": 111, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 60 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 60, "end": 74, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 23 } }, "imported": { "type": "Identifier", "start": 60, "end": 74, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 23 }, "identifierName": "DrawParameters" }, "name": "DrawParameters" }, "local": { "type": "Identifier", "start": 60, "end": 74, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 23 }, "identifierName": "DrawParameters" }, "name": "DrawParameters" } } ], "source": { "type": "StringLiteral", "start": 82, "end": 110, "loc": { "start": { "line": 2, "column": 31 }, "end": { "line": 2, "column": 59 } }, "extra": { "rawValue": "../../core/draw_parameters", "raw": "\"../../core/draw_parameters\"" }, "value": "../../core/draw_parameters" } }, { "type": "ImportDeclaration", "start": 113, "end": 157, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 44 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 122, "end": 132, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 19 } }, "imported": { "type": "Identifier", "start": 122, "end": 132, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 19 }, "identifierName": "GameSystem" }, "name": "GameSystem" }, "local": { "type": "Identifier", "start": 122, "end": 132, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 19 }, "identifierName": "GameSystem" }, "name": "GameSystem" } } ], "source": { "type": "StringLiteral", "start": 140, "end": 156, "loc": { "start": { "line": 3, "column": 27 }, "end": { "line": 3, "column": 43 } }, "extra": { "rawValue": "../game_system", "raw": "\"../game_system\"" }, "value": "../game_system" } }, { "type": "ImportDeclaration", "start": 159, "end": 208, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 49 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 168, "end": 180, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 21 } }, "imported": { "type": "Identifier", "start": 168, "end": 180, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 21 }, "identifierName": "MapChunkView" }, "name": "MapChunkView" }, "local": { "type": "Identifier", "start": 168, "end": 180, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 21 }, "identifierName": "MapChunkView" }, "name": "MapChunkView" } } ], "source": { "type": "StringLiteral", "start": 188, "end": 207, "loc": { "start": { "line": 4, "column": 29 }, "end": { "line": 4, "column": 48 } }, "extra": { "rawValue": "../map_chunk_view", "raw": "\"../map_chunk_view\"" }, "value": "../map_chunk_view" } }, { "type": "ImportDeclaration", "start": 210, "end": 243, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 33 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 219, "end": 224, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 14 } }, "imported": { "type": "Identifier", "start": 219, "end": 224, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 14 }, "identifierName": "THEME" }, "name": "THEME" }, "local": { "type": "Identifier", "start": 219, "end": 224, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 14 }, "identifierName": "THEME" }, "name": "THEME" } } ], "source": { "type": "StringLiteral", "start": 232, "end": 242, "loc": { "start": { "line": 5, "column": 22 }, "end": { "line": 5, "column": 32 } }, "extra": { "rawValue": "../theme", "raw": "\"../theme\"" }, "value": "../theme" } }, { "type": "ImportDeclaration", "start": 245, "end": 303, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "column": 58 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 254, "end": 271, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 26 } }, "imported": { "type": "Identifier", "start": 254, "end": 271, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 26 }, "identifierName": "drawSpriteClipped" }, "name": "drawSpriteClipped" }, "local": { "type": "Identifier", "start": 254, "end": 271, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 26 }, "identifierName": "drawSpriteClipped" }, "name": "drawSpriteClipped" } } ], "source": { "type": "StringLiteral", "start": 279, "end": 302, "loc": { "start": { "line": 6, "column": 34 }, "end": { "line": 6, "column": 57 } }, "extra": { "rawValue": "../../core/draw_utils", "raw": "\"../../core/draw_utils\"" }, "value": "../../core/draw_utils" } }, { "type": "ExportNamedDeclaration", "start": 307, "end": 5299, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 135, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "ClassDeclaration", "start": 314, "end": 5299, "loc": { "start": { "line": 8, "column": 7 }, "end": { "line": 135, "column": 1 } }, "id": { "type": "Identifier", "start": 320, "end": 338, "loc": { "start": { "line": 8, "column": 13 }, "end": { "line": 8, "column": 31 }, "identifierName": "MapResourcesSystem" }, "name": "MapResourcesSystem" }, "superClass": { "type": "Identifier", "start": 347, "end": 357, "loc": { "start": { "line": 8, "column": 40 }, "end": { "line": 8, "column": 50 }, "identifierName": "GameSystem" }, "name": "GameSystem" }, "body": { "type": "ClassBody", "start": 358, "end": 5299, "loc": { "start": { "line": 8, "column": 51 }, "end": { "line": 135, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 365, "end": 420, "loc": { "start": { "line": 9, "column": 4 }, "end": { "line": 11, "column": 5 } }, "static": true, "computed": false, "key": { "type": "Identifier", "start": 372, "end": 377, "loc": { "start": { "line": 9, "column": 11 }, "end": { "line": 9, "column": 16 }, "identifierName": "getId" }, "name": "getId" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 380, "end": 420, "loc": { "start": { "line": 9, "column": 19 }, "end": { "line": 11, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 391, "end": 413, "loc": { "start": { "line": 10, "column": 8 }, "end": { "line": 10, "column": 30 } }, "argument": { "type": "StringLiteral", "start": 398, "end": 412, "loc": { "start": { "line": 10, "column": 15 }, "end": { "line": 10, "column": 29 } }, "extra": { "rawValue": "mapResources", "raw": "\"mapResources\"" }, "value": "mapResources" } } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Draws the map resources\r\n * @param {DrawParameters} parameters\r\n * @param {MapChunkView} chunk\r\n ", "start": 428, "end": 551, "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 17, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 557, "end": 3753, "loc": { "start": { "line": 18, "column": 4 }, "end": { "line": 91, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 557, "end": 582, "loc": { "start": { "line": 18, "column": 4 }, "end": { "line": 18, "column": 29 }, "identifierName": "drawChunk_BackgroundLayer" }, "name": "drawChunk_BackgroundLayer", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 583, "end": 593, "loc": { "start": { "line": 18, "column": 30 }, "end": { "line": 18, "column": 40 }, "identifierName": "parameters" }, "name": "parameters" }, { "type": "Identifier", "start": 595, "end": 600, "loc": { "start": { "line": 18, "column": 42 }, "end": { "line": 18, "column": 47 }, "identifierName": "chunk" }, "name": "chunk" } ], "body": { "type": "BlockStatement", "start": 602, "end": 3753, "loc": { "start": { "line": 18, "column": 49 }, "end": { "line": 91, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 613, "end": 939, "loc": { "start": { "line": 19, "column": 8 }, "end": { "line": 26, "column": 11 } }, "declarations": [ { "type": "VariableDeclarator", "start": 619, "end": 938, "loc": { "start": { "line": 19, "column": 14 }, "end": { "line": 26, "column": 10 } }, "id": { "type": "Identifier", "start": 619, "end": 639, "loc": { "start": { "line": 19, "column": 14 }, "end": { "line": 19, "column": 34 }, "identifierName": "basicChunkBackground" }, "name": "basicChunkBackground" }, "init": { "type": "CallExpression", "start": 642, "end": 938, "loc": { "start": { "line": 19, "column": 37 }, "end": { "line": 26, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 642, "end": 669, "loc": { "start": { "line": 19, "column": 37 }, "end": { "line": 19, "column": 64 } }, "object": { "type": "MemberExpression", "start": 642, "end": 659, "loc": { "start": { "line": 19, "column": 37 }, "end": { "line": 19, "column": 54 } }, "object": { "type": "MemberExpression", "start": 642, "end": 651, "loc": { "start": { "line": 19, "column": 37 }, "end": { "line": 19, "column": 46 } }, "object": { "type": "ThisExpression", "start": 642, "end": 646, "loc": { "start": { "line": 19, "column": 37 }, "end": { "line": 19, "column": 41 } } }, "property": { "type": "Identifier", "start": 647, "end": 651, "loc": { "start": { "line": 19, "column": 42 }, "end": { "line": 19, "column": 46 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 652, "end": 659, "loc": { "start": { "line": 19, "column": 47 }, "end": { "line": 19, "column": 54 }, "identifierName": "buffers" }, "name": "buffers" }, "computed": false }, "property": { "type": "Identifier", "start": 660, "end": 669, "loc": { "start": { "line": 19, "column": 55 }, "end": { "line": 19, "column": 64 }, "identifierName": "getForKey" }, "name": "getForKey" }, "computed": false }, "arguments": [ { "type": "ObjectExpression", "start": 670, "end": 937, "loc": { "start": { "line": 19, "column": 65 }, "end": { "line": 26, "column": 9 } }, "properties": [ { "type": "ObjectProperty", "start": 685, "end": 705, "loc": { "start": { "line": 20, "column": 12 }, "end": { "line": 20, "column": 32 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 685, "end": 688, "loc": { "start": { "line": 20, "column": 12 }, "end": { "line": 20, "column": 15 }, "identifierName": "key" }, "name": "key" }, "value": { "type": "StringLiteral", "start": 690, "end": 705, "loc": { "start": { "line": 20, "column": 17 }, "end": { "line": 20, "column": 32 } }, "extra": { "rawValue": "mapresourcebg", "raw": "\"mapresourcebg\"" }, "value": "mapresourcebg" } }, { "type": "ObjectProperty", "start": 720, "end": 743, "loc": { "start": { "line": 21, "column": 12 }, "end": { "line": 21, "column": 35 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 720, "end": 726, "loc": { "start": { "line": 21, "column": 12 }, "end": { "line": 21, "column": 18 }, "identifierName": "subKey" }, "name": "subKey" }, "value": { "type": "MemberExpression", "start": 728, "end": 743, "loc": { "start": { "line": 21, "column": 20 }, "end": { "line": 21, "column": 35 } }, "object": { "type": "Identifier", "start": 728, "end": 733, "loc": { "start": { "line": 21, "column": 20 }, "end": { "line": 21, "column": 25 }, "identifierName": "chunk" }, "name": "chunk" }, "property": { "type": "Identifier", "start": 734, "end": 743, "loc": { "start": { "line": 21, "column": 26 }, "end": { "line": 21, "column": 35 }, "identifierName": "renderKey" }, "name": "renderKey" }, "computed": false } }, { "type": "ObjectProperty", "start": 758, "end": 786, "loc": { "start": { "line": 22, "column": 12 }, "end": { "line": 22, "column": 40 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 758, "end": 759, "loc": { "start": { "line": 22, "column": 12 }, "end": { "line": 22, "column": 13 }, "identifierName": "w" }, "name": "w" }, "value": { "type": "MemberExpression", "start": 761, "end": 786, "loc": { "start": { "line": 22, "column": 15 }, "end": { "line": 22, "column": 40 } }, "object": { "type": "Identifier", "start": 761, "end": 773, "loc": { "start": { "line": 22, "column": 15 }, "end": { "line": 22, "column": 27 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 774, "end": 786, "loc": { "start": { "line": 22, "column": 28 }, "end": { "line": 22, "column": 40 }, "identifierName": "mapChunkSize" }, "name": "mapChunkSize" }, "computed": false } }, { "type": "ObjectProperty", "start": 801, "end": 829, "loc": { "start": { "line": 23, "column": 12 }, "end": { "line": 23, "column": 40 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 801, "end": 802, "loc": { "start": { "line": 23, "column": 12 }, "end": { "line": 23, "column": 13 }, "identifierName": "h" }, "name": "h" }, "value": { "type": "MemberExpression", "start": 804, "end": 829, "loc": { "start": { "line": 23, "column": 15 }, "end": { "line": 23, "column": 40 } }, "object": { "type": "Identifier", "start": 804, "end": 816, "loc": { "start": { "line": 23, "column": 15 }, "end": { "line": 23, "column": 27 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 817, "end": 829, "loc": { "start": { "line": 23, "column": 28 }, "end": { "line": 23, "column": 40 }, "identifierName": "mapChunkSize" }, "name": "mapChunkSize" }, "computed": false } }, { "type": "ObjectProperty", "start": 844, "end": 850, "loc": { "start": { "line": 24, "column": 12 }, "end": { "line": 24, "column": 18 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 844, "end": 847, "loc": { "start": { "line": 24, "column": 12 }, "end": { "line": 24, "column": 15 }, "identifierName": "dpi" }, "name": "dpi" }, "value": { "type": "NumericLiteral", "start": 849, "end": 850, "loc": { "start": { "line": 24, "column": 17 }, "end": { "line": 24, "column": 18 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, { "type": "ObjectProperty", "start": 865, "end": 925, "loc": { "start": { "line": 25, "column": 12 }, "end": { "line": 25, "column": 72 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 865, "end": 877, "loc": { "start": { "line": 25, "column": 12 }, "end": { "line": 25, "column": 24 }, "identifierName": "redrawMethod" }, "name": "redrawMethod" }, "value": { "type": "CallExpression", "start": 879, "end": 925, "loc": { "start": { "line": 25, "column": 26 }, "end": { "line": 25, "column": 72 } }, "callee": { "type": "MemberExpression", "start": 879, "end": 912, "loc": { "start": { "line": 25, "column": 26 }, "end": { "line": 25, "column": 59 } }, "object": { "type": "MemberExpression", "start": 879, "end": 907, "loc": { "start": { "line": 25, "column": 26 }, "end": { "line": 25, "column": 54 } }, "object": { "type": "ThisExpression", "start": 879, "end": 883, "loc": { "start": { "line": 25, "column": 26 }, "end": { "line": 25, "column": 30 } } }, "property": { "type": "Identifier", "start": 884, "end": 907, "loc": { "start": { "line": 25, "column": 31 }, "end": { "line": 25, "column": 54 }, "identifierName": "generateChunkBackground" }, "name": "generateChunkBackground" }, "computed": false }, "property": { "type": "Identifier", "start": 908, "end": 912, "loc": { "start": { "line": 25, "column": 55 }, "end": { "line": 25, "column": 59 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 913, "end": 917, "loc": { "start": { "line": 25, "column": 60 }, "end": { "line": 25, "column": 64 } } }, { "type": "Identifier", "start": 919, "end": 924, "loc": { "start": { "line": 25, "column": 66 }, "end": { "line": 25, "column": 71 }, "identifierName": "chunk" }, "name": "chunk" } ] } } ] } ] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 951, "end": 1000, "loc": { "start": { "line": 28, "column": 8 }, "end": { "line": 28, "column": 57 } }, "expression": { "type": "AssignmentExpression", "start": 951, "end": 999, "loc": { "start": { "line": 28, "column": 8 }, "end": { "line": 28, "column": 56 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 951, "end": 991, "loc": { "start": { "line": 28, "column": 8 }, "end": { "line": 28, "column": 48 } }, "object": { "type": "MemberExpression", "start": 951, "end": 969, "loc": { "start": { "line": 28, "column": 8 }, "end": { "line": 28, "column": 26 } }, "object": { "type": "Identifier", "start": 951, "end": 961, "loc": { "start": { "line": 28, "column": 8 }, "end": { "line": 28, "column": 18 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 962, "end": 969, "loc": { "start": { "line": 28, "column": 19 }, "end": { "line": 28, "column": 26 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 970, "end": 991, "loc": { "start": { "line": 28, "column": 27 }, "end": { "line": 28, "column": 48 }, "identifierName": "imageSmoothingEnabled" }, "name": "imageSmoothingEnabled" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 994, "end": 999, "loc": { "start": { "line": 28, "column": 51 }, "end": { "line": 28, "column": 56 } }, "value": false } } }, { "type": "ExpressionStatement", "start": 1010, "end": 1414, "loc": { "start": { "line": 29, "column": 8 }, "end": { "line": 38, "column": 11 } }, "expression": { "type": "CallExpression", "start": 1010, "end": 1413, "loc": { "start": { "line": 29, "column": 8 }, "end": { "line": 38, "column": 10 } }, "callee": { "type": "Identifier", "start": 1010, "end": 1027, "loc": { "start": { "line": 29, "column": 8 }, "end": { "line": 29, "column": 25 }, "identifierName": "drawSpriteClipped" }, "name": "drawSpriteClipped" }, "arguments": [ { "type": "ObjectExpression", "start": 1028, "end": 1412, "loc": { "start": { "line": 29, "column": 26 }, "end": { "line": 38, "column": 9 } }, "properties": [ { "type": "ObjectProperty", "start": 1043, "end": 1053, "loc": { "start": { "line": 30, "column": 12 }, "end": { "line": 30, "column": 22 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 1043, "end": 1053, "loc": { "start": { "line": 30, "column": 12 }, "end": { "line": 30, "column": 22 }, "identifierName": "parameters" }, "name": "parameters" }, "value": { "type": "Identifier", "start": 1043, "end": 1053, "loc": { "start": { "line": 30, "column": 12 }, "end": { "line": 30, "column": 22 }, "identifierName": "parameters" }, "name": "parameters" }, "extra": { "shorthand": true } }, { "type": "ObjectProperty", "start": 1068, "end": 1096, "loc": { "start": { "line": 31, "column": 12 }, "end": { "line": 31, "column": 40 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1068, "end": 1074, "loc": { "start": { "line": 31, "column": 12 }, "end": { "line": 31, "column": 18 }, "identifierName": "sprite" }, "name": "sprite" }, "value": { "type": "Identifier", "start": 1076, "end": 1096, "loc": { "start": { "line": 31, "column": 20 }, "end": { "line": 31, "column": 40 }, "identifierName": "basicChunkBackground" }, "name": "basicChunkBackground" } }, { "type": "ObjectProperty", "start": 1111, "end": 1149, "loc": { "start": { "line": 32, "column": 12 }, "end": { "line": 32, "column": 50 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1111, "end": 1112, "loc": { "start": { "line": 32, "column": 12 }, "end": { "line": 32, "column": 13 }, "identifierName": "x" }, "name": "x" }, "value": { "type": "BinaryExpression", "start": 1114, "end": 1149, "loc": { "start": { "line": 32, "column": 15 }, "end": { "line": 32, "column": 50 } }, "left": { "type": "MemberExpression", "start": 1114, "end": 1125, "loc": { "start": { "line": 32, "column": 15 }, "end": { "line": 32, "column": 26 } }, "object": { "type": "Identifier", "start": 1114, "end": 1119, "loc": { "start": { "line": 32, "column": 15 }, "end": { "line": 32, "column": 20 }, "identifierName": "chunk" }, "name": "chunk" }, "property": { "type": "Identifier", "start": 1120, "end": 1125, "loc": { "start": { "line": 32, "column": 21 }, "end": { "line": 32, "column": 26 }, "identifierName": "tileX" }, "name": "tileX" }, "computed": false }, "operator": "*", "right": { "type": "MemberExpression", "start": 1128, "end": 1149, "loc": { "start": { "line": 32, "column": 29 }, "end": { "line": 32, "column": 50 } }, "object": { "type": "Identifier", "start": 1128, "end": 1140, "loc": { "start": { "line": 32, "column": 29 }, "end": { "line": 32, "column": 41 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 1141, "end": 1149, "loc": { "start": { "line": 32, "column": 42 }, "end": { "line": 32, "column": 50 }, "identifierName": "tileSize" }, "name": "tileSize" }, "computed": false } } }, { "type": "ObjectProperty", "start": 1164, "end": 1202, "loc": { "start": { "line": 33, "column": 12 }, "end": { "line": 33, "column": 50 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1164, "end": 1165, "loc": { "start": { "line": 33, "column": 12 }, "end": { "line": 33, "column": 13 }, "identifierName": "y" }, "name": "y" }, "value": { "type": "BinaryExpression", "start": 1167, "end": 1202, "loc": { "start": { "line": 33, "column": 15 }, "end": { "line": 33, "column": 50 } }, "left": { "type": "MemberExpression", "start": 1167, "end": 1178, "loc": { "start": { "line": 33, "column": 15 }, "end": { "line": 33, "column": 26 } }, "object": { "type": "Identifier", "start": 1167, "end": 1172, "loc": { "start": { "line": 33, "column": 15 }, "end": { "line": 33, "column": 20 }, "identifierName": "chunk" }, "name": "chunk" }, "property": { "type": "Identifier", "start": 1173, "end": 1178, "loc": { "start": { "line": 33, "column": 21 }, "end": { "line": 33, "column": 26 }, "identifierName": "tileY" }, "name": "tileY" }, "computed": false }, "operator": "*", "right": { "type": "MemberExpression", "start": 1181, "end": 1202, "loc": { "start": { "line": 33, "column": 29 }, "end": { "line": 33, "column": 50 } }, "object": { "type": "Identifier", "start": 1181, "end": 1193, "loc": { "start": { "line": 33, "column": 29 }, "end": { "line": 33, "column": 41 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 1194, "end": 1202, "loc": { "start": { "line": 33, "column": 42 }, "end": { "line": 33, "column": 50 }, "identifierName": "tileSize" }, "name": "tileSize" }, "computed": false } } }, { "type": "ObjectProperty", "start": 1217, "end": 1250, "loc": { "start": { "line": 34, "column": 12 }, "end": { "line": 34, "column": 45 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1217, "end": 1218, "loc": { "start": { "line": 34, "column": 12 }, "end": { "line": 34, "column": 13 }, "identifierName": "w" }, "name": "w" }, "value": { "type": "MemberExpression", "start": 1220, "end": 1250, "loc": { "start": { "line": 34, "column": 15 }, "end": { "line": 34, "column": 45 } }, "object": { "type": "Identifier", "start": 1220, "end": 1232, "loc": { "start": { "line": 34, "column": 15 }, "end": { "line": 34, "column": 27 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 1233, "end": 1250, "loc": { "start": { "line": 34, "column": 28 }, "end": { "line": 34, "column": 45 }, "identifierName": "mapChunkWorldSize" }, "name": "mapChunkWorldSize" }, "computed": false } }, { "type": "ObjectProperty", "start": 1265, "end": 1298, "loc": { "start": { "line": 35, "column": 12 }, "end": { "line": 35, "column": 45 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1265, "end": 1266, "loc": { "start": { "line": 35, "column": 12 }, "end": { "line": 35, "column": 13 }, "identifierName": "h" }, "name": "h" }, "value": { "type": "MemberExpression", "start": 1268, "end": 1298, "loc": { "start": { "line": 35, "column": 15 }, "end": { "line": 35, "column": 45 } }, "object": { "type": "Identifier", "start": 1268, "end": 1280, "loc": { "start": { "line": 35, "column": 15 }, "end": { "line": 35, "column": 27 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 1281, "end": 1298, "loc": { "start": { "line": 35, "column": 28 }, "end": { "line": 35, "column": 45 }, "identifierName": "mapChunkWorldSize" }, "name": "mapChunkWorldSize" }, "computed": false } }, { "type": "ObjectProperty", "start": 1313, "end": 1349, "loc": { "start": { "line": 36, "column": 12 }, "end": { "line": 36, "column": 48 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1313, "end": 1322, "loc": { "start": { "line": 36, "column": 12 }, "end": { "line": 36, "column": 21 }, "identifierName": "originalW" }, "name": "originalW" }, "value": { "type": "MemberExpression", "start": 1324, "end": 1349, "loc": { "start": { "line": 36, "column": 23 }, "end": { "line": 36, "column": 48 } }, "object": { "type": "Identifier", "start": 1324, "end": 1336, "loc": { "start": { "line": 36, "column": 23 }, "end": { "line": 36, "column": 35 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 1337, "end": 1349, "loc": { "start": { "line": 36, "column": 36 }, "end": { "line": 36, "column": 48 }, "identifierName": "mapChunkSize" }, "name": "mapChunkSize" }, "computed": false } }, { "type": "ObjectProperty", "start": 1364, "end": 1400, "loc": { "start": { "line": 37, "column": 12 }, "end": { "line": 37, "column": 48 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 1364, "end": 1373, "loc": { "start": { "line": 37, "column": 12 }, "end": { "line": 37, "column": 21 }, "identifierName": "originalH" }, "name": "originalH" }, "value": { "type": "MemberExpression", "start": 1375, "end": 1400, "loc": { "start": { "line": 37, "column": 23 }, "end": { "line": 37, "column": 48 } }, "object": { "type": "Identifier", "start": 1375, "end": 1387, "loc": { "start": { "line": 37, "column": 23 }, "end": { "line": 37, "column": 35 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 1388, "end": 1400, "loc": { "start": { "line": 37, "column": 36 }, "end": { "line": 37, "column": 48 }, "identifierName": "mapChunkSize" }, "name": "mapChunkSize" }, "computed": false } } ] } ] } }, { "type": "ExpressionStatement", "start": 1424, "end": 1472, "loc": { "start": { "line": 39, "column": 8 }, "end": { "line": 39, "column": 56 } }, "expression": { "type": "AssignmentExpression", "start": 1424, "end": 1471, "loc": { "start": { "line": 39, "column": 8 }, "end": { "line": 39, "column": 55 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1424, "end": 1464, "loc": { "start": { "line": 39, "column": 8 }, "end": { "line": 39, "column": 48 } }, "object": { "type": "MemberExpression", "start": 1424, "end": 1442, "loc": { "start": { "line": 39, "column": 8 }, "end": { "line": 39, "column": 26 } }, "object": { "type": "Identifier", "start": 1424, "end": 1434, "loc": { "start": { "line": 39, "column": 8 }, "end": { "line": 39, "column": 18 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 1435, "end": 1442, "loc": { "start": { "line": 39, "column": 19 }, "end": { "line": 39, "column": 26 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 1443, "end": 1464, "loc": { "start": { "line": 39, "column": 27 }, "end": { "line": 39, "column": 48 }, "identifierName": "imageSmoothingEnabled" }, "name": "imageSmoothingEnabled" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 1467, "end": 1471, "loc": { "start": { "line": 39, "column": 51 }, "end": { "line": 39, "column": 55 } }, "value": true } } }, { "type": "ExpressionStatement", "start": 1484, "end": 1521, "loc": { "start": { "line": 41, "column": 8 }, "end": { "line": 41, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 1484, "end": 1520, "loc": { "start": { "line": 41, "column": 8 }, "end": { "line": 41, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1484, "end": 1514, "loc": { "start": { "line": 41, "column": 8 }, "end": { "line": 41, "column": 38 } }, "object": { "type": "MemberExpression", "start": 1484, "end": 1502, "loc": { "start": { "line": 41, "column": 8 }, "end": { "line": 41, "column": 26 } }, "object": { "type": "Identifier", "start": 1484, "end": 1494, "loc": { "start": { "line": 41, "column": 8 }, "end": { "line": 41, "column": 18 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 1495, "end": 1502, "loc": { "start": { "line": 41, "column": 19 }, "end": { "line": 41, "column": 26 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 1503, "end": 1514, "loc": { "start": { "line": 41, "column": 27 }, "end": { "line": 41, "column": 38 }, "identifierName": "globalAlpha" }, "name": "globalAlpha" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 1517, "end": 1520, "loc": { "start": { "line": 41, "column": 41 }, "end": { "line": 41, "column": 44 } }, "extra": { "rawValue": 0.5, "raw": "0.5" }, "value": 0.5 } } }, { "type": "IfStatement", "start": 1533, "end": 3701, "loc": { "start": { "line": 43, "column": 8 }, "end": { "line": 89, "column": 9 } }, "test": { "type": "MemberExpression", "start": 1537, "end": 1599, "loc": { "start": { "line": 43, "column": 12 }, "end": { "line": 43, "column": 74 } }, "object": { "type": "CallExpression", "start": 1537, "end": 1576, "loc": { "start": { "line": 43, "column": 12 }, "end": { "line": 43, "column": 51 } }, "callee": { "type": "MemberExpression", "start": 1537, "end": 1574, "loc": { "start": { "line": 43, "column": 12 }, "end": { "line": 43, "column": 49 } }, "object": { "type": "MemberExpression", "start": 1537, "end": 1559, "loc": { "start": { "line": 43, "column": 12 }, "end": { "line": 43, "column": 34 } }, "object": { "type": "MemberExpression", "start": 1537, "end": 1550, "loc": { "start": { "line": 43, "column": 12 }, "end": { "line": 43, "column": 25 } }, "object": { "type": "MemberExpression", "start": 1537, "end": 1546, "loc": { "start": { "line": 43, "column": 12 }, "end": { "line": 43, "column": 21 } }, "object": { "type": "ThisExpression", "start": 1537, "end": 1541, "loc": { "start": { "line": 43, "column": 12 }, "end": { "line": 43, "column": 16 } } }, "property": { "type": "Identifier", "start": 1542, "end": 1546, "loc": { "start": { "line": 43, "column": 17 }, "end": { "line": 43, "column": 21 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 1547, "end": 1550, "loc": { "start": { "line": 43, "column": 22 }, "end": { "line": 43, "column": 25 }, "identifierName": "app" }, "name": "app" }, "computed": false }, "property": { "type": "Identifier", "start": 1551, "end": 1559, "loc": { "start": { "line": 43, "column": 26 }, "end": { "line": 43, "column": 34 }, "identifierName": "settings" }, "name": "settings" }, "computed": false }, "property": { "type": "Identifier", "start": 1560, "end": 1574, "loc": { "start": { "line": 43, "column": 35 }, "end": { "line": 43, "column": 49 }, "identifierName": "getAllSettings" }, "name": "getAllSettings" }, "computed": false }, "arguments": [] }, "property": { "type": "Identifier", "start": 1577, "end": 1599, "loc": { "start": { "line": 43, "column": 52 }, "end": { "line": 43, "column": 74 }, "identifierName": "lowQualityMapResources" }, "name": "lowQualityMapResources" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 1601, "end": 2260, "loc": { "start": { "line": 43, "column": 76 }, "end": { "line": 55, "column": 9 } }, "body": [ { "type": "ForStatement", "start": 1667, "end": 2249, "loc": { "start": { "line": 45, "column": 12 }, "end": { "line": 54, "column": 13 } }, "init": { "type": "VariableDeclaration", "start": 1672, "end": 1681, "loc": { "start": { "line": 45, "column": 17 }, "end": { "line": 45, "column": 26 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1676, "end": 1681, "loc": { "start": { "line": 45, "column": 21 }, "end": { "line": 45, "column": 26 } }, "id": { "type": "Identifier", "start": 1676, "end": 1677, "loc": { "start": { "line": 45, "column": 21 }, "end": { "line": 45, "column": 22 }, "identifierName": "i" }, "name": "i", "leadingComments": null }, "init": { "type": "NumericLiteral", "start": 1680, "end": 1681, "loc": { "start": { "line": 45, "column": 25 }, "end": { "line": 45, "column": 26 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "leadingComments": null } ], "kind": "let", "leadingComments": null }, "test": { "type": "BinaryExpression", "start": 1683, "end": 1707, "loc": { "start": { "line": 45, "column": 28 }, "end": { "line": 45, "column": 52 } }, "left": { "type": "Identifier", "start": 1683, "end": 1684, "loc": { "start": { "line": 45, "column": 28 }, "end": { "line": 45, "column": 29 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 1687, "end": 1707, "loc": { "start": { "line": 45, "column": 32 }, "end": { "line": 45, "column": 52 } }, "object": { "type": "MemberExpression", "start": 1687, "end": 1700, "loc": { "start": { "line": 45, "column": 32 }, "end": { "line": 45, "column": 45 } }, "object": { "type": "Identifier", "start": 1687, "end": 1692, "loc": { "start": { "line": 45, "column": 32 }, "end": { "line": 45, "column": 37 }, "identifierName": "chunk" }, "name": "chunk" }, "property": { "type": "Identifier", "start": 1693, "end": 1700, "loc": { "start": { "line": 45, "column": 38 }, "end": { "line": 45, "column": 45 }, "identifierName": "patches" }, "name": "patches" }, "computed": false }, "property": { "type": "Identifier", "start": 1701, "end": 1707, "loc": { "start": { "line": 45, "column": 46 }, "end": { "line": 45, "column": 52 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 1709, "end": 1712, "loc": { "start": { "line": 45, "column": 54 }, "end": { "line": 45, "column": 57 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 1711, "end": 1712, "loc": { "start": { "line": 45, "column": 56 }, "end": { "line": 45, "column": 57 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 1714, "end": 2249, "loc": { "start": { "line": 45, "column": 59 }, "end": { "line": 54, "column": 13 } }, "body": [ { "type": "VariableDeclaration", "start": 1733, "end": 1764, "loc": { "start": { "line": 46, "column": 16 }, "end": { "line": 46, "column": 47 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1739, "end": 1763, "loc": { "start": { "line": 46, "column": 22 }, "end": { "line": 46, "column": 46 } }, "id": { "type": "Identifier", "start": 1739, "end": 1744, "loc": { "start": { "line": 46, "column": 22 }, "end": { "line": 46, "column": 27 }, "identifierName": "patch" }, "name": "patch" }, "init": { "type": "MemberExpression", "start": 1747, "end": 1763, "loc": { "start": { "line": 46, "column": 30 }, "end": { "line": 46, "column": 46 } }, "object": { "type": "MemberExpression", "start": 1747, "end": 1760, "loc": { "start": { "line": 46, "column": 30 }, "end": { "line": 46, "column": 43 } }, "object": { "type": "Identifier", "start": 1747, "end": 1752, "loc": { "start": { "line": 46, "column": 30 }, "end": { "line": 46, "column": 35 }, "identifierName": "chunk" }, "name": "chunk" }, "property": { "type": "Identifier", "start": 1753, "end": 1760, "loc": { "start": { "line": 46, "column": 36 }, "end": { "line": 46, "column": 43 }, "identifierName": "patches" }, "name": "patches" }, "computed": false }, "property": { "type": "Identifier", "start": 1761, "end": 1762, "loc": { "start": { "line": 46, "column": 44 }, "end": { "line": 46, "column": 45 }, "identifierName": "i" }, "name": "i" }, "computed": true } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 1782, "end": 1875, "loc": { "start": { "line": 47, "column": 16 }, "end": { "line": 47, "column": 109 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1788, "end": 1874, "loc": { "start": { "line": 47, "column": 22 }, "end": { "line": 47, "column": 108 } }, "id": { "type": "Identifier", "start": 1788, "end": 1793, "loc": { "start": { "line": 47, "column": 22 }, "end": { "line": 47, "column": 27 }, "identifierName": "destX" }, "name": "destX" }, "init": { "type": "BinaryExpression", "start": 1796, "end": 1874, "loc": { "start": { "line": 47, "column": 30 }, "end": { "line": 47, "column": 108 } }, "left": { "type": "BinaryExpression", "start": 1796, "end": 1836, "loc": { "start": { "line": 47, "column": 30 }, "end": { "line": 47, "column": 70 } }, "left": { "type": "MemberExpression", "start": 1796, "end": 1803, "loc": { "start": { "line": 47, "column": 30 }, "end": { "line": 47, "column": 37 } }, "object": { "type": "Identifier", "start": 1796, "end": 1801, "loc": { "start": { "line": 47, "column": 30 }, "end": { "line": 47, "column": 35 }, "identifierName": "chunk" }, "name": "chunk" }, "property": { "type": "Identifier", "start": 1802, "end": 1803, "loc": { "start": { "line": 47, "column": 36 }, "end": { "line": 47, "column": 37 }, "identifierName": "x" }, "name": "x" }, "computed": false }, "operator": "*", "right": { "type": "MemberExpression", "start": 1806, "end": 1836, "loc": { "start": { "line": 47, "column": 40 }, "end": { "line": 47, "column": 70 } }, "object": { "type": "Identifier", "start": 1806, "end": 1818, "loc": { "start": { "line": 47, "column": 40 }, "end": { "line": 47, "column": 52 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 1819, "end": 1836, "loc": { "start": { "line": 47, "column": 53 }, "end": { "line": 47, "column": 70 }, "identifierName": "mapChunkWorldSize" }, "name": "mapChunkWorldSize" }, "computed": false } }, "operator": "+", "right": { "type": "BinaryExpression", "start": 1839, "end": 1874, "loc": { "start": { "line": 47, "column": 73 }, "end": { "line": 47, "column": 108 } }, "left": { "type": "MemberExpression", "start": 1839, "end": 1850, "loc": { "start": { "line": 47, "column": 73 }, "end": { "line": 47, "column": 84 } }, "object": { "type": "MemberExpression", "start": 1839, "end": 1848, "loc": { "start": { "line": 47, "column": 73 }, "end": { "line": 47, "column": 82 } }, "object": { "type": "Identifier", "start": 1839, "end": 1844, "loc": { "start": { "line": 47, "column": 73 }, "end": { "line": 47, "column": 78 }, "identifierName": "patch" }, "name": "patch" }, "property": { "type": "Identifier", "start": 1845, "end": 1848, "loc": { "start": { "line": 47, "column": 79 }, "end": { "line": 47, "column": 82 }, "identifierName": "pos" }, "name": "pos" }, "computed": false }, "property": { "type": "Identifier", "start": 1849, "end": 1850, "loc": { "start": { "line": 47, "column": 83 }, "end": { "line": 47, "column": 84 }, "identifierName": "x" }, "name": "x" }, "computed": false }, "operator": "*", "right": { "type": "MemberExpression", "start": 1853, "end": 1874, "loc": { "start": { "line": 47, "column": 87 }, "end": { "line": 47, "column": 108 } }, "object": { "type": "Identifier", "start": 1853, "end": 1865, "loc": { "start": { "line": 47, "column": 87 }, "end": { "line": 47, "column": 99 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 1866, "end": 1874, "loc": { "start": { "line": 47, "column": 100 }, "end": { "line": 47, "column": 108 }, "identifierName": "tileSize" }, "name": "tileSize" }, "computed": false } } } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 1893, "end": 1986, "loc": { "start": { "line": 48, "column": 16 }, "end": { "line": 48, "column": 109 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1899, "end": 1985, "loc": { "start": { "line": 48, "column": 22 }, "end": { "line": 48, "column": 108 } }, "id": { "type": "Identifier", "start": 1899, "end": 1904, "loc": { "start": { "line": 48, "column": 22 }, "end": { "line": 48, "column": 27 }, "identifierName": "destY" }, "name": "destY" }, "init": { "type": "BinaryExpression", "start": 1907, "end": 1985, "loc": { "start": { "line": 48, "column": 30 }, "end": { "line": 48, "column": 108 } }, "left": { "type": "BinaryExpression", "start": 1907, "end": 1947, "loc": { "start": { "line": 48, "column": 30 }, "end": { "line": 48, "column": 70 } }, "left": { "type": "MemberExpression", "start": 1907, "end": 1914, "loc": { "start": { "line": 48, "column": 30 }, "end": { "line": 48, "column": 37 } }, "object": { "type": "Identifier", "start": 1907, "end": 1912, "loc": { "start": { "line": 48, "column": 30 }, "end": { "line": 48, "column": 35 }, "identifierName": "chunk" }, "name": "chunk" }, "property": { "type": "Identifier", "start": 1913, "end": 1914, "loc": { "start": { "line": 48, "column": 36 }, "end": { "line": 48, "column": 37 }, "identifierName": "y" }, "name": "y" }, "computed": false }, "operator": "*", "right": { "type": "MemberExpression", "start": 1917, "end": 1947, "loc": { "start": { "line": 48, "column": 40 }, "end": { "line": 48, "column": 70 } }, "object": { "type": "Identifier", "start": 1917, "end": 1929, "loc": { "start": { "line": 48, "column": 40 }, "end": { "line": 48, "column": 52 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 1930, "end": 1947, "loc": { "start": { "line": 48, "column": 53 }, "end": { "line": 48, "column": 70 }, "identifierName": "mapChunkWorldSize" }, "name": "mapChunkWorldSize" }, "computed": false } }, "operator": "+", "right": { "type": "BinaryExpression", "start": 1950, "end": 1985, "loc": { "start": { "line": 48, "column": 73 }, "end": { "line": 48, "column": 108 } }, "left": { "type": "MemberExpression", "start": 1950, "end": 1961, "loc": { "start": { "line": 48, "column": 73 }, "end": { "line": 48, "column": 84 } }, "object": { "type": "MemberExpression", "start": 1950, "end": 1959, "loc": { "start": { "line": 48, "column": 73 }, "end": { "line": 48, "column": 82 } }, "object": { "type": "Identifier", "start": 1950, "end": 1955, "loc": { "start": { "line": 48, "column": 73 }, "end": { "line": 48, "column": 78 }, "identifierName": "patch" }, "name": "patch" }, "property": { "type": "Identifier", "start": 1956, "end": 1959, "loc": { "start": { "line": 48, "column": 79 }, "end": { "line": 48, "column": 82 }, "identifierName": "pos" }, "name": "pos" }, "computed": false }, "property": { "type": "Identifier", "start": 1960, "end": 1961, "loc": { "start": { "line": 48, "column": 83 }, "end": { "line": 48, "column": 84 }, "identifierName": "y" }, "name": "y" }, "computed": false }, "operator": "*", "right": { "type": "MemberExpression", "start": 1964, "end": 1985, "loc": { "start": { "line": 48, "column": 87 }, "end": { "line": 48, "column": 108 } }, "object": { "type": "Identifier", "start": 1964, "end": 1976, "loc": { "start": { "line": 48, "column": 87 }, "end": { "line": 48, "column": 99 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 1977, "end": 1985, "loc": { "start": { "line": 48, "column": 100 }, "end": { "line": 48, "column": 108 }, "identifierName": "tileSize" }, "name": "tileSize" }, "computed": false } } } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 2004, "end": 2061, "loc": { "start": { "line": 49, "column": 16 }, "end": { "line": 49, "column": 73 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2010, "end": 2060, "loc": { "start": { "line": 49, "column": 22 }, "end": { "line": 49, "column": 72 } }, "id": { "type": "Identifier", "start": 2010, "end": 2018, "loc": { "start": { "line": 49, "column": 22 }, "end": { "line": 49, "column": 30 }, "identifierName": "diameter" }, "name": "diameter" }, "init": { "type": "CallExpression", "start": 2021, "end": 2060, "loc": { "start": { "line": 49, "column": 33 }, "end": { "line": 49, "column": 72 } }, "callee": { "type": "MemberExpression", "start": 2021, "end": 2029, "loc": { "start": { "line": 49, "column": 33 }, "end": { "line": 49, "column": 41 } }, "object": { "type": "Identifier", "start": 2021, "end": 2025, "loc": { "start": { "line": 49, "column": 33 }, "end": { "line": 49, "column": 37 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 2026, "end": 2029, "loc": { "start": { "line": 49, "column": 38 }, "end": { "line": 49, "column": 41 }, "identifierName": "min" }, "name": "min" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 2030, "end": 2032, "loc": { "start": { "line": 49, "column": 42 }, "end": { "line": 49, "column": 44 } }, "extra": { "rawValue": 80, "raw": "80" }, "value": 80 }, { "type": "BinaryExpression", "start": 2034, "end": 2059, "loc": { "start": { "line": 49, "column": 46 }, "end": { "line": 49, "column": 71 } }, "left": { "type": "NumericLiteral", "start": 2034, "end": 2036, "loc": { "start": { "line": 49, "column": 46 }, "end": { "line": 49, "column": 48 } }, "extra": { "rawValue": 40, "raw": "40" }, "value": 40 }, "operator": "/", "right": { "type": "MemberExpression", "start": 2039, "end": 2059, "loc": { "start": { "line": 49, "column": 51 }, "end": { "line": 49, "column": 71 } }, "object": { "type": "Identifier", "start": 2039, "end": 2049, "loc": { "start": { "line": 49, "column": 51 }, "end": { "line": 49, "column": 61 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 2050, "end": 2059, "loc": { "start": { "line": 49, "column": 62 }, "end": { "line": 49, "column": 71 }, "identifierName": "zoomLevel" }, "name": "zoomLevel" }, "computed": false } } ] } } ], "kind": "const" }, { "type": "IfStatement", "start": 2081, "end": 2234, "loc": { "start": { "line": 51, "column": 16 }, "end": { "line": 53, "column": 17 } }, "test": { "type": "MemberExpression", "start": 2085, "end": 2119, "loc": { "start": { "line": 51, "column": 20 }, "end": { "line": 51, "column": 54 } }, "object": { "type": "MemberExpression", "start": 2085, "end": 2095, "loc": { "start": { "line": 51, "column": 20 }, "end": { "line": 51, "column": 30 } }, "object": { "type": "Identifier", "start": 2085, "end": 2090, "loc": { "start": { "line": 51, "column": 20 }, "end": { "line": 51, "column": 25 }, "identifierName": "patch" }, "name": "patch" }, "property": { "type": "Identifier", "start": 2091, "end": 2095, "loc": { "start": { "line": 51, "column": 26 }, "end": { "line": 51, "column": 30 }, "identifierName": "item" }, "name": "item" }, "computed": false }, "property": { "type": "Identifier", "start": 2096, "end": 2119, "loc": { "start": { "line": 51, "column": 31 }, "end": { "line": 51, "column": 54 }, "identifierName": "drawItemCenteredClipped" }, "name": "drawItemCenteredClipped" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 2121, "end": 2234, "loc": { "start": { "line": 51, "column": 56 }, "end": { "line": 53, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 2144, "end": 2215, "loc": { "start": { "line": 52, "column": 20 }, "end": { "line": 52, "column": 91 } }, "expression": { "type": "CallExpression", "start": 2144, "end": 2214, "loc": { "start": { "line": 52, "column": 20 }, "end": { "line": 52, "column": 90 } }, "callee": { "type": "MemberExpression", "start": 2144, "end": 2178, "loc": { "start": { "line": 52, "column": 20 }, "end": { "line": 52, "column": 54 } }, "object": { "type": "MemberExpression", "start": 2144, "end": 2154, "loc": { "start": { "line": 52, "column": 20 }, "end": { "line": 52, "column": 30 } }, "object": { "type": "Identifier", "start": 2144, "end": 2149, "loc": { "start": { "line": 52, "column": 20 }, "end": { "line": 52, "column": 25 }, "identifierName": "patch" }, "name": "patch" }, "property": { "type": "Identifier", "start": 2150, "end": 2154, "loc": { "start": { "line": 52, "column": 26 }, "end": { "line": 52, "column": 30 }, "identifierName": "item" }, "name": "item" }, "computed": false }, "property": { "type": "Identifier", "start": 2155, "end": 2178, "loc": { "start": { "line": 52, "column": 31 }, "end": { "line": 52, "column": 54 }, "identifierName": "drawItemCenteredClipped" }, "name": "drawItemCenteredClipped" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 2179, "end": 2184, "loc": { "start": { "line": 52, "column": 55 }, "end": { "line": 52, "column": 60 }, "identifierName": "destX" }, "name": "destX" }, { "type": "Identifier", "start": 2186, "end": 2191, "loc": { "start": { "line": 52, "column": 62 }, "end": { "line": 52, "column": 67 }, "identifierName": "destY" }, "name": "destY" }, { "type": "Identifier", "start": 2193, "end": 2203, "loc": { "start": { "line": 52, "column": 69 }, "end": { "line": 52, "column": 79 }, "identifierName": "parameters" }, "name": "parameters" }, { "type": "Identifier", "start": 2205, "end": 2213, "loc": { "start": { "line": 52, "column": 81 }, "end": { "line": 52, "column": 89 }, "identifierName": "diameter" }, "name": "diameter" } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " LOW QUALITY: Draw patch items only", "start": 1616, "end": 1653, "loc": { "start": { "line": 44, "column": 12 }, "end": { "line": 44, "column": 49 } } } ] } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 2266, "end": 3701, "loc": { "start": { "line": 55, "column": 15 }, "end": { "line": 89, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 2326, "end": 2357, "loc": { "start": { "line": 57, "column": 12 }, "end": { "line": 57, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2332, "end": 2356, "loc": { "start": { "line": 57, "column": 18 }, "end": { "line": 57, "column": 42 } }, "id": { "type": "Identifier", "start": 2332, "end": 2337, "loc": { "start": { "line": 57, "column": 18 }, "end": { "line": 57, "column": 23 }, "identifierName": "layer" }, "name": "layer", "leadingComments": null }, "init": { "type": "MemberExpression", "start": 2340, "end": 2356, "loc": { "start": { "line": 57, "column": 26 }, "end": { "line": 57, "column": 42 } }, "object": { "type": "Identifier", "start": 2340, "end": 2345, "loc": { "start": { "line": 57, "column": 26 }, "end": { "line": 57, "column": 31 }, "identifierName": "chunk" }, "name": "chunk" }, "property": { "type": "Identifier", "start": 2346, "end": 2356, "loc": { "start": { "line": 57, "column": 32 }, "end": { "line": 57, "column": 42 }, "identifierName": "lowerLayer" }, "name": "lowerLayer" }, "computed": false }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " HIGH QUALITY: Draw all items", "start": 2281, "end": 2312, "loc": { "start": { "line": 56, "column": 12 }, "end": { "line": 56, "column": 43 } } } ] }, { "type": "VariableDeclaration", "start": 2371, "end": 2408, "loc": { "start": { "line": 58, "column": 12 }, "end": { "line": 58, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2377, "end": 2407, "loc": { "start": { "line": 58, "column": 18 }, "end": { "line": 58, "column": 48 } }, "id": { "type": "Identifier", "start": 2377, "end": 2390, "loc": { "start": { "line": 58, "column": 18 }, "end": { "line": 58, "column": 31 }, "identifierName": "layerEntities" }, "name": "layerEntities" }, "init": { "type": "MemberExpression", "start": 2393, "end": 2407, "loc": { "start": { "line": 58, "column": 34 }, "end": { "line": 58, "column": 48 } }, "object": { "type": "Identifier", "start": 2393, "end": 2398, "loc": { "start": { "line": 58, "column": 34 }, "end": { "line": 58, "column": 39 }, "identifierName": "chunk" }, "name": "chunk" }, "property": { "type": "Identifier", "start": 2399, "end": 2407, "loc": { "start": { "line": 58, "column": 40 }, "end": { "line": 58, "column": 48 }, "identifierName": "contents" }, "name": "contents" }, "computed": false } } ], "kind": "const" }, { "type": "ForStatement", "start": 2422, "end": 3690, "loc": { "start": { "line": 59, "column": 12 }, "end": { "line": 88, "column": 13 } }, "init": { "type": "VariableDeclaration", "start": 2427, "end": 2436, "loc": { "start": { "line": 59, "column": 17 }, "end": { "line": 59, "column": 26 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2431, "end": 2436, "loc": { "start": { "line": 59, "column": 21 }, "end": { "line": 59, "column": 26 } }, "id": { "type": "Identifier", "start": 2431, "end": 2432, "loc": { "start": { "line": 59, "column": 21 }, "end": { "line": 59, "column": 22 }, "identifierName": "x" }, "name": "x" }, "init": { "type": "NumericLiteral", "start": 2435, "end": 2436, "loc": { "start": { "line": 59, "column": 25 }, "end": { "line": 59, "column": 26 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 2438, "end": 2467, "loc": { "start": { "line": 59, "column": 28 }, "end": { "line": 59, "column": 57 } }, "left": { "type": "Identifier", "start": 2438, "end": 2439, "loc": { "start": { "line": 59, "column": 28 }, "end": { "line": 59, "column": 29 }, "identifierName": "x" }, "name": "x" }, "operator": "<", "right": { "type": "MemberExpression", "start": 2442, "end": 2467, "loc": { "start": { "line": 59, "column": 32 }, "end": { "line": 59, "column": 57 } }, "object": { "type": "Identifier", "start": 2442, "end": 2454, "loc": { "start": { "line": 59, "column": 32 }, "end": { "line": 59, "column": 44 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 2455, "end": 2467, "loc": { "start": { "line": 59, "column": 45 }, "end": { "line": 59, "column": 57 }, "identifierName": "mapChunkSize" }, "name": "mapChunkSize" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 2469, "end": 2472, "loc": { "start": { "line": 59, "column": 59 }, "end": { "line": 59, "column": 62 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 2471, "end": 2472, "loc": { "start": { "line": 59, "column": 61 }, "end": { "line": 59, "column": 62 }, "identifierName": "x" }, "name": "x" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 2474, "end": 3690, "loc": { "start": { "line": 59, "column": 64 }, "end": { "line": 88, "column": 13 } }, "body": [ { "type": "VariableDeclaration", "start": 2493, "end": 2514, "loc": { "start": { "line": 60, "column": 16 }, "end": { "line": 60, "column": 37 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2499, "end": 2513, "loc": { "start": { "line": 60, "column": 22 }, "end": { "line": 60, "column": 36 } }, "id": { "type": "Identifier", "start": 2499, "end": 2502, "loc": { "start": { "line": 60, "column": 22 }, "end": { "line": 60, "column": 25 }, "identifierName": "row" }, "name": "row" }, "init": { "type": "MemberExpression", "start": 2505, "end": 2513, "loc": { "start": { "line": 60, "column": 28 }, "end": { "line": 60, "column": 36 } }, "object": { "type": "Identifier", "start": 2505, "end": 2510, "loc": { "start": { "line": 60, "column": 28 }, "end": { "line": 60, "column": 33 }, "identifierName": "layer" }, "name": "layer" }, "property": { "type": "Identifier", "start": 2511, "end": 2512, "loc": { "start": { "line": 60, "column": 34 }, "end": { "line": 60, "column": 35 }, "identifierName": "x" }, "name": "x" }, "computed": true } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 2532, "end": 2569, "loc": { "start": { "line": 61, "column": 16 }, "end": { "line": 61, "column": 53 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2538, "end": 2568, "loc": { "start": { "line": 61, "column": 22 }, "end": { "line": 61, "column": 52 } }, "id": { "type": "Identifier", "start": 2538, "end": 2549, "loc": { "start": { "line": 61, "column": 22 }, "end": { "line": 61, "column": 33 }, "identifierName": "rowEntities" }, "name": "rowEntities" }, "init": { "type": "MemberExpression", "start": 2552, "end": 2568, "loc": { "start": { "line": 61, "column": 36 }, "end": { "line": 61, "column": 52 } }, "object": { "type": "Identifier", "start": 2552, "end": 2565, "loc": { "start": { "line": 61, "column": 36 }, "end": { "line": 61, "column": 49 }, "identifierName": "layerEntities" }, "name": "layerEntities" }, "property": { "type": "Identifier", "start": 2566, "end": 2567, "loc": { "start": { "line": 61, "column": 50 }, "end": { "line": 61, "column": 51 }, "identifierName": "x" }, "name": "x" }, "computed": true } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 2587, "end": 2644, "loc": { "start": { "line": 62, "column": 16 }, "end": { "line": 62, "column": 73 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2593, "end": 2643, "loc": { "start": { "line": 62, "column": 22 }, "end": { "line": 62, "column": 72 } }, "id": { "type": "Identifier", "start": 2593, "end": 2599, "loc": { "start": { "line": 62, "column": 22 }, "end": { "line": 62, "column": 28 }, "identifierName": "worldX" }, "name": "worldX" }, "init": { "type": "BinaryExpression", "start": 2602, "end": 2643, "loc": { "start": { "line": 62, "column": 31 }, "end": { "line": 62, "column": 72 } }, "left": { "type": "BinaryExpression", "start": 2603, "end": 2618, "loc": { "start": { "line": 62, "column": 32 }, "end": { "line": 62, "column": 47 } }, "left": { "type": "MemberExpression", "start": 2603, "end": 2614, "loc": { "start": { "line": 62, "column": 32 }, "end": { "line": 62, "column": 43 } }, "object": { "type": "Identifier", "start": 2603, "end": 2608, "loc": { "start": { "line": 62, "column": 32 }, "end": { "line": 62, "column": 37 }, "identifierName": "chunk" }, "name": "chunk" }, "property": { "type": "Identifier", "start": 2609, "end": 2614, "loc": { "start": { "line": 62, "column": 38 }, "end": { "line": 62, "column": 43 }, "identifierName": "tileX" }, "name": "tileX" }, "computed": false }, "operator": "+", "right": { "type": "Identifier", "start": 2617, "end": 2618, "loc": { "start": { "line": 62, "column": 46 }, "end": { "line": 62, "column": 47 }, "identifierName": "x" }, "name": "x" }, "extra": { "parenthesized": true, "parenStart": 2602 } }, "operator": "*", "right": { "type": "MemberExpression", "start": 2622, "end": 2643, "loc": { "start": { "line": 62, "column": 51 }, "end": { "line": 62, "column": 72 } }, "object": { "type": "Identifier", "start": 2622, "end": 2634, "loc": { "start": { "line": 62, "column": 51 }, "end": { "line": 62, "column": 63 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 2635, "end": 2643, "loc": { "start": { "line": 62, "column": 64 }, "end": { "line": 62, "column": 72 }, "identifierName": "tileSize" }, "name": "tileSize" }, "computed": false } } } ], "kind": "const" }, { "type": "ForStatement", "start": 2662, "end": 3675, "loc": { "start": { "line": 63, "column": 16 }, "end": { "line": 87, "column": 17 } }, "init": { "type": "VariableDeclaration", "start": 2667, "end": 2676, "loc": { "start": { "line": 63, "column": 21 }, "end": { "line": 63, "column": 30 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2671, "end": 2676, "loc": { "start": { "line": 63, "column": 25 }, "end": { "line": 63, "column": 30 } }, "id": { "type": "Identifier", "start": 2671, "end": 2672, "loc": { "start": { "line": 63, "column": 25 }, "end": { "line": 63, "column": 26 }, "identifierName": "y" }, "name": "y" }, "init": { "type": "NumericLiteral", "start": 2675, "end": 2676, "loc": { "start": { "line": 63, "column": 29 }, "end": { "line": 63, "column": 30 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 2678, "end": 2707, "loc": { "start": { "line": 63, "column": 32 }, "end": { "line": 63, "column": 61 } }, "left": { "type": "Identifier", "start": 2678, "end": 2679, "loc": { "start": { "line": 63, "column": 32 }, "end": { "line": 63, "column": 33 }, "identifierName": "y" }, "name": "y" }, "operator": "<", "right": { "type": "MemberExpression", "start": 2682, "end": 2707, "loc": { "start": { "line": 63, "column": 36 }, "end": { "line": 63, "column": 61 } }, "object": { "type": "Identifier", "start": 2682, "end": 2694, "loc": { "start": { "line": 63, "column": 36 }, "end": { "line": 63, "column": 48 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 2695, "end": 2707, "loc": { "start": { "line": 63, "column": 49 }, "end": { "line": 63, "column": 61 }, "identifierName": "mapChunkSize" }, "name": "mapChunkSize" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 2709, "end": 2712, "loc": { "start": { "line": 63, "column": 63 }, "end": { "line": 63, "column": 66 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 2711, "end": 2712, "loc": { "start": { "line": 63, "column": 65 }, "end": { "line": 63, "column": 66 }, "identifierName": "y" }, "name": "y" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 2714, "end": 3675, "loc": { "start": { "line": 63, "column": 68 }, "end": { "line": 87, "column": 17 } }, "body": [ { "type": "VariableDeclaration", "start": 2737, "end": 2762, "loc": { "start": { "line": 64, "column": 20 }, "end": { "line": 64, "column": 45 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2743, "end": 2761, "loc": { "start": { "line": 64, "column": 26 }, "end": { "line": 64, "column": 44 } }, "id": { "type": "Identifier", "start": 2743, "end": 2752, "loc": { "start": { "line": 64, "column": 26 }, "end": { "line": 64, "column": 35 }, "identifierName": "lowerItem" }, "name": "lowerItem" }, "init": { "type": "MemberExpression", "start": 2755, "end": 2761, "loc": { "start": { "line": 64, "column": 38 }, "end": { "line": 64, "column": 44 } }, "object": { "type": "Identifier", "start": 2755, "end": 2758, "loc": { "start": { "line": 64, "column": 38 }, "end": { "line": 64, "column": 41 }, "identifierName": "row" }, "name": "row" }, "property": { "type": "Identifier", "start": 2759, "end": 2760, "loc": { "start": { "line": 64, "column": 42 }, "end": { "line": 64, "column": 43 }, "identifierName": "y" }, "name": "y" }, "computed": true } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 2786, "end": 2816, "loc": { "start": { "line": 66, "column": 20 }, "end": { "line": 66, "column": 50 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2792, "end": 2815, "loc": { "start": { "line": 66, "column": 26 }, "end": { "line": 66, "column": 49 } }, "id": { "type": "Identifier", "start": 2792, "end": 2798, "loc": { "start": { "line": 66, "column": 26 }, "end": { "line": 66, "column": 32 }, "identifierName": "entity" }, "name": "entity" }, "init": { "type": "MemberExpression", "start": 2801, "end": 2815, "loc": { "start": { "line": 66, "column": 35 }, "end": { "line": 66, "column": 49 } }, "object": { "type": "Identifier", "start": 2801, "end": 2812, "loc": { "start": { "line": 66, "column": 35 }, "end": { "line": 66, "column": 46 }, "identifierName": "rowEntities" }, "name": "rowEntities" }, "property": { "type": "Identifier", "start": 2813, "end": 2814, "loc": { "start": { "line": 66, "column": 47 }, "end": { "line": 66, "column": 48 }, "identifierName": "y" }, "name": "y" }, "computed": true } } ], "kind": "const" }, { "type": "IfStatement", "start": 2838, "end": 2976, "loc": { "start": { "line": 67, "column": 20 }, "end": { "line": 70, "column": 21 } }, "test": { "type": "Identifier", "start": 2842, "end": 2848, "loc": { "start": { "line": 67, "column": 24 }, "end": { "line": 67, "column": 30 }, "identifierName": "entity" }, "name": "entity" }, "consequent": { "type": "BlockStatement", "start": 2850, "end": 2976, "loc": { "start": { "line": 67, "column": 32 }, "end": { "line": 70, "column": 21 } }, "body": [ { "type": "ContinueStatement", "start": 2944, "end": 2953, "loc": { "start": { "line": 69, "column": 24 }, "end": { "line": 69, "column": 33 } }, "label": null, "leadingComments": [ { "type": "CommentLine", "value": " Don't draw if there is an entity above", "start": 2877, "end": 2918, "loc": { "start": { "line": 68, "column": 24 }, "end": { "line": 68, "column": 65 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 3000, "end": 3656, "loc": { "start": { "line": 72, "column": 20 }, "end": { "line": 86, "column": 21 } }, "test": { "type": "Identifier", "start": 3004, "end": 3013, "loc": { "start": { "line": 72, "column": 24 }, "end": { "line": 72, "column": 33 }, "identifierName": "lowerItem" }, "name": "lowerItem" }, "consequent": { "type": "BlockStatement", "start": 3015, "end": 3656, "loc": { "start": { "line": 72, "column": 35 }, "end": { "line": 86, "column": 21 } }, "body": [ { "type": "VariableDeclaration", "start": 3042, "end": 3099, "loc": { "start": { "line": 73, "column": 24 }, "end": { "line": 73, "column": 81 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3048, "end": 3098, "loc": { "start": { "line": 73, "column": 30 }, "end": { "line": 73, "column": 80 } }, "id": { "type": "Identifier", "start": 3048, "end": 3054, "loc": { "start": { "line": 73, "column": 30 }, "end": { "line": 73, "column": 36 }, "identifierName": "worldY" }, "name": "worldY" }, "init": { "type": "BinaryExpression", "start": 3057, "end": 3098, "loc": { "start": { "line": 73, "column": 39 }, "end": { "line": 73, "column": 80 } }, "left": { "type": "BinaryExpression", "start": 3058, "end": 3073, "loc": { "start": { "line": 73, "column": 40 }, "end": { "line": 73, "column": 55 } }, "left": { "type": "MemberExpression", "start": 3058, "end": 3069, "loc": { "start": { "line": 73, "column": 40 }, "end": { "line": 73, "column": 51 } }, "object": { "type": "Identifier", "start": 3058, "end": 3063, "loc": { "start": { "line": 73, "column": 40 }, "end": { "line": 73, "column": 45 }, "identifierName": "chunk" }, "name": "chunk" }, "property": { "type": "Identifier", "start": 3064, "end": 3069, "loc": { "start": { "line": 73, "column": 46 }, "end": { "line": 73, "column": 51 }, "identifierName": "tileY" }, "name": "tileY" }, "computed": false }, "operator": "+", "right": { "type": "Identifier", "start": 3072, "end": 3073, "loc": { "start": { "line": 73, "column": 54 }, "end": { "line": 73, "column": 55 }, "identifierName": "y" }, "name": "y" }, "extra": { "parenthesized": true, "parenStart": 3057 } }, "operator": "*", "right": { "type": "MemberExpression", "start": 3077, "end": 3098, "loc": { "start": { "line": 73, "column": 59 }, "end": { "line": 73, "column": 80 } }, "object": { "type": "Identifier", "start": 3077, "end": 3089, "loc": { "start": { "line": 73, "column": 59 }, "end": { "line": 73, "column": 71 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 3090, "end": 3098, "loc": { "start": { "line": 73, "column": 72 }, "end": { "line": 73, "column": 80 }, "identifierName": "tileSize" }, "name": "tileSize" }, "computed": false } } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 3127, "end": 3176, "loc": { "start": { "line": 75, "column": 24 }, "end": { "line": 75, "column": 73 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3133, "end": 3175, "loc": { "start": { "line": 75, "column": 30 }, "end": { "line": 75, "column": 72 } }, "id": { "type": "Identifier", "start": 3133, "end": 3138, "loc": { "start": { "line": 75, "column": 30 }, "end": { "line": 75, "column": 35 }, "identifierName": "destX" }, "name": "destX" }, "init": { "type": "BinaryExpression", "start": 3141, "end": 3175, "loc": { "start": { "line": 75, "column": 38 }, "end": { "line": 75, "column": 72 } }, "left": { "type": "Identifier", "start": 3141, "end": 3147, "loc": { "start": { "line": 75, "column": 38 }, "end": { "line": 75, "column": 44 }, "identifierName": "worldX" }, "name": "worldX" }, "operator": "+", "right": { "type": "MemberExpression", "start": 3150, "end": 3175, "loc": { "start": { "line": 75, "column": 47 }, "end": { "line": 75, "column": 72 } }, "object": { "type": "Identifier", "start": 3150, "end": 3162, "loc": { "start": { "line": 75, "column": 47 }, "end": { "line": 75, "column": 59 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 3163, "end": 3175, "loc": { "start": { "line": 75, "column": 60 }, "end": { "line": 75, "column": 72 }, "identifierName": "halfTileSize" }, "name": "halfTileSize" }, "computed": false } } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 3202, "end": 3251, "loc": { "start": { "line": 76, "column": 24 }, "end": { "line": 76, "column": 73 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3208, "end": 3250, "loc": { "start": { "line": 76, "column": 30 }, "end": { "line": 76, "column": 72 } }, "id": { "type": "Identifier", "start": 3208, "end": 3213, "loc": { "start": { "line": 76, "column": 30 }, "end": { "line": 76, "column": 35 }, "identifierName": "destY" }, "name": "destY" }, "init": { "type": "BinaryExpression", "start": 3216, "end": 3250, "loc": { "start": { "line": 76, "column": 38 }, "end": { "line": 76, "column": 72 } }, "left": { "type": "Identifier", "start": 3216, "end": 3222, "loc": { "start": { "line": 76, "column": 38 }, "end": { "line": 76, "column": 44 }, "identifierName": "worldY" }, "name": "worldY" }, "operator": "+", "right": { "type": "MemberExpression", "start": 3225, "end": 3250, "loc": { "start": { "line": 76, "column": 47 }, "end": { "line": 76, "column": 72 } }, "object": { "type": "Identifier", "start": 3225, "end": 3237, "loc": { "start": { "line": 76, "column": 47 }, "end": { "line": 76, "column": 59 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 3238, "end": 3250, "loc": { "start": { "line": 76, "column": 60 }, "end": { "line": 76, "column": 72 }, "identifierName": "halfTileSize" }, "name": "halfTileSize" }, "computed": false } } } ], "kind": "const" }, { "type": "IfStatement", "start": 3279, "end": 3633, "loc": { "start": { "line": 78, "column": 24 }, "end": { "line": 85, "column": 25 } }, "test": { "type": "MemberExpression", "start": 3283, "end": 3316, "loc": { "start": { "line": 78, "column": 28 }, "end": { "line": 78, "column": 61 } }, "object": { "type": "Identifier", "start": 3283, "end": 3292, "loc": { "start": { "line": 78, "column": 28 }, "end": { "line": 78, "column": 37 }, "identifierName": "lowerItem" }, "name": "lowerItem" }, "property": { "type": "Identifier", "start": 3293, "end": 3316, "loc": { "start": { "line": 78, "column": 38 }, "end": { "line": 78, "column": 61 }, "identifierName": "drawItemCenteredClipped" }, "name": "drawItemCenteredClipped" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 3318, "end": 3633, "loc": { "start": { "line": 78, "column": 63 }, "end": { "line": 85, "column": 25 } }, "body": [ { "type": "ExpressionStatement", "start": 3349, "end": 3606, "loc": { "start": { "line": 79, "column": 28 }, "end": { "line": 84, "column": 30 } }, "expression": { "type": "CallExpression", "start": 3349, "end": 3605, "loc": { "start": { "line": 79, "column": 28 }, "end": { "line": 84, "column": 29 } }, "callee": { "type": "MemberExpression", "start": 3349, "end": 3382, "loc": { "start": { "line": 79, "column": 28 }, "end": { "line": 79, "column": 61 } }, "object": { "type": "Identifier", "start": 3349, "end": 3358, "loc": { "start": { "line": 79, "column": 28 }, "end": { "line": 79, "column": 37 }, "identifierName": "lowerItem" }, "name": "lowerItem" }, "property": { "type": "Identifier", "start": 3359, "end": 3382, "loc": { "start": { "line": 79, "column": 38 }, "end": { "line": 79, "column": 61 }, "identifierName": "drawItemCenteredClipped" }, "name": "drawItemCenteredClipped" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 3417, "end": 3422, "loc": { "start": { "line": 80, "column": 32 }, "end": { "line": 80, "column": 37 }, "identifierName": "destX" }, "name": "destX" }, { "type": "Identifier", "start": 3457, "end": 3462, "loc": { "start": { "line": 81, "column": 32 }, "end": { "line": 81, "column": 37 }, "identifierName": "destY" }, "name": "destY" }, { "type": "Identifier", "start": 3497, "end": 3507, "loc": { "start": { "line": 82, "column": 32 }, "end": { "line": 82, "column": 42 }, "identifierName": "parameters" }, "name": "parameters" }, { "type": "MemberExpression", "start": 3542, "end": 3574, "loc": { "start": { "line": 83, "column": 32 }, "end": { "line": 83, "column": 64 } }, "object": { "type": "Identifier", "start": 3542, "end": 3554, "loc": { "start": { "line": 83, "column": 32 }, "end": { "line": 83, "column": 44 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 3555, "end": 3574, "loc": { "start": { "line": 83, "column": 45 }, "end": { "line": 83, "column": 64 }, "identifierName": "defaultItemDiameter" }, "name": "defaultItemDiameter" }, "computed": false } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": null } ], "directives": [] } } ], "directives": [] } } ], "directives": [] } }, { "type": "ExpressionStatement", "start": 3711, "end": 3746, "loc": { "start": { "line": 90, "column": 8 }, "end": { "line": 90, "column": 43 } }, "expression": { "type": "AssignmentExpression", "start": 3711, "end": 3745, "loc": { "start": { "line": 90, "column": 8 }, "end": { "line": 90, "column": 42 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3711, "end": 3741, "loc": { "start": { "line": 90, "column": 8 }, "end": { "line": 90, "column": 38 } }, "object": { "type": "MemberExpression", "start": 3711, "end": 3729, "loc": { "start": { "line": 90, "column": 8 }, "end": { "line": 90, "column": 26 } }, "object": { "type": "Identifier", "start": 3711, "end": 3721, "loc": { "start": { "line": 90, "column": 8 }, "end": { "line": 90, "column": 18 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 3722, "end": 3729, "loc": { "start": { "line": 90, "column": 19 }, "end": { "line": 90, "column": 26 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 3730, "end": 3741, "loc": { "start": { "line": 90, "column": 27 }, "end": { "line": 90, "column": 38 }, "identifierName": "globalAlpha" }, "name": "globalAlpha" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 3744, "end": 3745, "loc": { "start": { "line": 90, "column": 41 }, "end": { "line": 90, "column": 42 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Draws the map resources\r\n * @param {DrawParameters} parameters\r\n * @param {MapChunkView} chunk\r\n ", "start": 428, "end": 551, "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 17, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n *\r\n * @param {MapChunkView} chunk\r\n * @param {HTMLCanvasElement} canvas\r\n * @param {CanvasRenderingContext2D} context\r\n * @param {number} w\r\n * @param {number} h\r\n * @param {number} dpi\r\n ", "start": 3761, "end": 3989, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 101, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 3995, "end": 5296, "loc": { "start": { "line": 102, "column": 4 }, "end": { "line": 134, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 3995, "end": 4018, "loc": { "start": { "line": 102, "column": 4 }, "end": { "line": 102, "column": 27 }, "identifierName": "generateChunkBackground" }, "name": "generateChunkBackground", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 4019, "end": 4024, "loc": { "start": { "line": 102, "column": 28 }, "end": { "line": 102, "column": 33 }, "identifierName": "chunk" }, "name": "chunk" }, { "type": "Identifier", "start": 4026, "end": 4032, "loc": { "start": { "line": 102, "column": 35 }, "end": { "line": 102, "column": 41 }, "identifierName": "canvas" }, "name": "canvas" }, { "type": "Identifier", "start": 4034, "end": 4041, "loc": { "start": { "line": 102, "column": 43 }, "end": { "line": 102, "column": 50 }, "identifierName": "context" }, "name": "context" }, { "type": "Identifier", "start": 4043, "end": 4044, "loc": { "start": { "line": 102, "column": 52 }, "end": { "line": 102, "column": 53 }, "identifierName": "w" }, "name": "w" }, { "type": "Identifier", "start": 4046, "end": 4047, "loc": { "start": { "line": 102, "column": 55 }, "end": { "line": 102, "column": 56 }, "identifierName": "h" }, "name": "h" }, { "type": "Identifier", "start": 4049, "end": 4052, "loc": { "start": { "line": 102, "column": 58 }, "end": { "line": 102, "column": 61 }, "identifierName": "dpi" }, "name": "dpi" } ], "body": { "type": "BlockStatement", "start": 4054, "end": 5296, "loc": { "start": { "line": 102, "column": 63 }, "end": { "line": 134, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 4065, "end": 4363, "loc": { "start": { "line": 103, "column": 8 }, "end": { "line": 109, "column": 9 } }, "test": { "type": "MemberExpression", "start": 4069, "end": 4124, "loc": { "start": { "line": 103, "column": 12 }, "end": { "line": 103, "column": 67 } }, "object": { "type": "CallExpression", "start": 4069, "end": 4108, "loc": { "start": { "line": 103, "column": 12 }, "end": { "line": 103, "column": 51 } }, "callee": { "type": "MemberExpression", "start": 4069, "end": 4106, "loc": { "start": { "line": 103, "column": 12 }, "end": { "line": 103, "column": 49 } }, "object": { "type": "MemberExpression", "start": 4069, "end": 4091, "loc": { "start": { "line": 103, "column": 12 }, "end": { "line": 103, "column": 34 } }, "object": { "type": "MemberExpression", "start": 4069, "end": 4082, "loc": { "start": { "line": 103, "column": 12 }, "end": { "line": 103, "column": 25 } }, "object": { "type": "MemberExpression", "start": 4069, "end": 4078, "loc": { "start": { "line": 103, "column": 12 }, "end": { "line": 103, "column": 21 } }, "object": { "type": "ThisExpression", "start": 4069, "end": 4073, "loc": { "start": { "line": 103, "column": 12 }, "end": { "line": 103, "column": 16 } } }, "property": { "type": "Identifier", "start": 4074, "end": 4078, "loc": { "start": { "line": 103, "column": 17 }, "end": { "line": 103, "column": 21 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 4079, "end": 4082, "loc": { "start": { "line": 103, "column": 22 }, "end": { "line": 103, "column": 25 }, "identifierName": "app" }, "name": "app" }, "computed": false }, "property": { "type": "Identifier", "start": 4083, "end": 4091, "loc": { "start": { "line": 103, "column": 26 }, "end": { "line": 103, "column": 34 }, "identifierName": "settings" }, "name": "settings" }, "computed": false }, "property": { "type": "Identifier", "start": 4092, "end": 4106, "loc": { "start": { "line": 103, "column": 35 }, "end": { "line": 103, "column": 49 }, "identifierName": "getAllSettings" }, "name": "getAllSettings" }, "computed": false }, "arguments": [] }, "property": { "type": "Identifier", "start": 4109, "end": 4124, "loc": { "start": { "line": 103, "column": 52 }, "end": { "line": 103, "column": 67 }, "identifierName": "disableTileGrid" }, "name": "disableTileGrid" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 4126, "end": 4301, "loc": { "start": { "line": 103, "column": 69 }, "end": { "line": 107, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 4206, "end": 4247, "loc": { "start": { "line": 105, "column": 12 }, "end": { "line": 105, "column": 53 } }, "expression": { "type": "AssignmentExpression", "start": 4206, "end": 4246, "loc": { "start": { "line": 105, "column": 12 }, "end": { "line": 105, "column": 52 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4206, "end": 4223, "loc": { "start": { "line": 105, "column": 12 }, "end": { "line": 105, "column": 29 } }, "object": { "type": "Identifier", "start": 4206, "end": 4213, "loc": { "start": { "line": 105, "column": 12 }, "end": { "line": 105, "column": 19 }, "identifierName": "context" }, "name": "context", "leadingComments": null }, "property": { "type": "Identifier", "start": 4214, "end": 4223, "loc": { "start": { "line": 105, "column": 20 }, "end": { "line": 105, "column": 29 }, "identifierName": "fillStyle" }, "name": "fillStyle" }, "computed": false, "leadingComments": null }, "right": { "type": "MemberExpression", "start": 4226, "end": 4246, "loc": { "start": { "line": 105, "column": 32 }, "end": { "line": 105, "column": 52 } }, "object": { "type": "MemberExpression", "start": 4226, "end": 4235, "loc": { "start": { "line": 105, "column": 32 }, "end": { "line": 105, "column": 41 } }, "object": { "type": "Identifier", "start": 4226, "end": 4231, "loc": { "start": { "line": 105, "column": 32 }, "end": { "line": 105, "column": 37 }, "identifierName": "THEME" }, "name": "THEME" }, "property": { "type": "Identifier", "start": 4232, "end": 4235, "loc": { "start": { "line": 105, "column": 38 }, "end": { "line": 105, "column": 41 }, "identifierName": "map" }, "name": "map" }, "computed": false }, "property": { "type": "Identifier", "start": 4236, "end": 4246, "loc": { "start": { "line": 105, "column": 42 }, "end": { "line": 105, "column": 52 }, "identifierName": "background" }, "name": "background" }, "computed": false }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " The map doesn't draw a background, so we have to", "start": 4141, "end": 4192, "loc": { "start": { "line": 104, "column": 12 }, "end": { "line": 104, "column": 63 } } } ] }, { "type": "ExpressionStatement", "start": 4261, "end": 4290, "loc": { "start": { "line": 106, "column": 12 }, "end": { "line": 106, "column": 41 } }, "expression": { "type": "CallExpression", "start": 4261, "end": 4289, "loc": { "start": { "line": 106, "column": 12 }, "end": { "line": 106, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 4261, "end": 4277, "loc": { "start": { "line": 106, "column": 12 }, "end": { "line": 106, "column": 28 } }, "object": { "type": "Identifier", "start": 4261, "end": 4268, "loc": { "start": { "line": 106, "column": 12 }, "end": { "line": 106, "column": 19 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 4269, "end": 4277, "loc": { "start": { "line": 106, "column": 20 }, "end": { "line": 106, "column": 28 }, "identifierName": "fillRect" }, "name": "fillRect" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 4278, "end": 4279, "loc": { "start": { "line": 106, "column": 29 }, "end": { "line": 106, "column": 30 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "NumericLiteral", "start": 4281, "end": 4282, "loc": { "start": { "line": 106, "column": 32 }, "end": { "line": 106, "column": 33 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "Identifier", "start": 4284, "end": 4285, "loc": { "start": { "line": 106, "column": 35 }, "end": { "line": 106, "column": 36 }, "identifierName": "w" }, "name": "w" }, { "type": "Identifier", "start": 4287, "end": 4288, "loc": { "start": { "line": 106, "column": 38 }, "end": { "line": 106, "column": 39 }, "identifierName": "h" }, "name": "h" } ] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 4307, "end": 4363, "loc": { "start": { "line": 107, "column": 15 }, "end": { "line": 109, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 4322, "end": 4352, "loc": { "start": { "line": 108, "column": 12 }, "end": { "line": 108, "column": 42 } }, "expression": { "type": "CallExpression", "start": 4322, "end": 4351, "loc": { "start": { "line": 108, "column": 12 }, "end": { "line": 108, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 4322, "end": 4339, "loc": { "start": { "line": 108, "column": 12 }, "end": { "line": 108, "column": 29 } }, "object": { "type": "Identifier", "start": 4322, "end": 4329, "loc": { "start": { "line": 108, "column": 12 }, "end": { "line": 108, "column": 19 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 4330, "end": 4339, "loc": { "start": { "line": 108, "column": 20 }, "end": { "line": 108, "column": 29 }, "identifierName": "clearRect" }, "name": "clearRect" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 4340, "end": 4341, "loc": { "start": { "line": 108, "column": 30 }, "end": { "line": 108, "column": 31 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "NumericLiteral", "start": 4343, "end": 4344, "loc": { "start": { "line": 108, "column": 33 }, "end": { "line": 108, "column": 34 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "Identifier", "start": 4346, "end": 4347, "loc": { "start": { "line": 108, "column": 36 }, "end": { "line": 108, "column": 37 }, "identifierName": "w" }, "name": "w" }, { "type": "Identifier", "start": 4349, "end": 4350, "loc": { "start": { "line": 108, "column": 39 }, "end": { "line": 108, "column": 40 }, "identifierName": "h" }, "name": "h" } ] } } ], "directives": [] } }, { "type": "ExpressionStatement", "start": 4375, "end": 4401, "loc": { "start": { "line": 111, "column": 8 }, "end": { "line": 111, "column": 34 } }, "expression": { "type": "AssignmentExpression", "start": 4375, "end": 4400, "loc": { "start": { "line": 111, "column": 8 }, "end": { "line": 111, "column": 33 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4375, "end": 4394, "loc": { "start": { "line": 111, "column": 8 }, "end": { "line": 111, "column": 27 } }, "object": { "type": "Identifier", "start": 4375, "end": 4382, "loc": { "start": { "line": 111, "column": 8 }, "end": { "line": 111, "column": 15 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 4383, "end": 4394, "loc": { "start": { "line": 111, "column": 16 }, "end": { "line": 111, "column": 27 }, "identifierName": "globalAlpha" }, "name": "globalAlpha" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 4397, "end": 4400, "loc": { "start": { "line": 111, "column": 30 }, "end": { "line": 111, "column": 33 } }, "extra": { "rawValue": 0.5, "raw": "0.5" }, "value": 0.5 } } }, { "type": "VariableDeclaration", "start": 4411, "end": 4442, "loc": { "start": { "line": 112, "column": 8 }, "end": { "line": 112, "column": 39 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4417, "end": 4441, "loc": { "start": { "line": 112, "column": 14 }, "end": { "line": 112, "column": 38 } }, "id": { "type": "Identifier", "start": 4417, "end": 4422, "loc": { "start": { "line": 112, "column": 14 }, "end": { "line": 112, "column": 19 }, "identifierName": "layer" }, "name": "layer" }, "init": { "type": "MemberExpression", "start": 4425, "end": 4441, "loc": { "start": { "line": 112, "column": 22 }, "end": { "line": 112, "column": 38 } }, "object": { "type": "Identifier", "start": 4425, "end": 4430, "loc": { "start": { "line": 112, "column": 22 }, "end": { "line": 112, "column": 27 }, "identifierName": "chunk" }, "name": "chunk" }, "property": { "type": "Identifier", "start": 4431, "end": 4441, "loc": { "start": { "line": 112, "column": 28 }, "end": { "line": 112, "column": 38 }, "identifierName": "lowerLayer" }, "name": "lowerLayer" }, "computed": false } } ], "kind": "const" }, { "type": "ForStatement", "start": 4452, "end": 5057, "loc": { "start": { "line": 113, "column": 8 }, "end": { "line": 127, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 4457, "end": 4466, "loc": { "start": { "line": 113, "column": 13 }, "end": { "line": 113, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4461, "end": 4466, "loc": { "start": { "line": 113, "column": 17 }, "end": { "line": 113, "column": 22 } }, "id": { "type": "Identifier", "start": 4461, "end": 4462, "loc": { "start": { "line": 113, "column": 17 }, "end": { "line": 113, "column": 18 }, "identifierName": "x" }, "name": "x" }, "init": { "type": "NumericLiteral", "start": 4465, "end": 4466, "loc": { "start": { "line": 113, "column": 21 }, "end": { "line": 113, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 4468, "end": 4497, "loc": { "start": { "line": 113, "column": 24 }, "end": { "line": 113, "column": 53 } }, "left": { "type": "Identifier", "start": 4468, "end": 4469, "loc": { "start": { "line": 113, "column": 24 }, "end": { "line": 113, "column": 25 }, "identifierName": "x" }, "name": "x" }, "operator": "<", "right": { "type": "MemberExpression", "start": 4472, "end": 4497, "loc": { "start": { "line": 113, "column": 28 }, "end": { "line": 113, "column": 53 } }, "object": { "type": "Identifier", "start": 4472, "end": 4484, "loc": { "start": { "line": 113, "column": 28 }, "end": { "line": 113, "column": 40 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 4485, "end": 4497, "loc": { "start": { "line": 113, "column": 41 }, "end": { "line": 113, "column": 53 }, "identifierName": "mapChunkSize" }, "name": "mapChunkSize" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 4499, "end": 4502, "loc": { "start": { "line": 113, "column": 55 }, "end": { "line": 113, "column": 58 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 4501, "end": 4502, "loc": { "start": { "line": 113, "column": 57 }, "end": { "line": 113, "column": 58 }, "identifierName": "x" }, "name": "x" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 4504, "end": 5057, "loc": { "start": { "line": 113, "column": 60 }, "end": { "line": 127, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 4519, "end": 4540, "loc": { "start": { "line": 114, "column": 12 }, "end": { "line": 114, "column": 33 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4525, "end": 4539, "loc": { "start": { "line": 114, "column": 18 }, "end": { "line": 114, "column": 32 } }, "id": { "type": "Identifier", "start": 4525, "end": 4528, "loc": { "start": { "line": 114, "column": 18 }, "end": { "line": 114, "column": 21 }, "identifierName": "row" }, "name": "row" }, "init": { "type": "MemberExpression", "start": 4531, "end": 4539, "loc": { "start": { "line": 114, "column": 24 }, "end": { "line": 114, "column": 32 } }, "object": { "type": "Identifier", "start": 4531, "end": 4536, "loc": { "start": { "line": 114, "column": 24 }, "end": { "line": 114, "column": 29 }, "identifierName": "layer" }, "name": "layer" }, "property": { "type": "Identifier", "start": 4537, "end": 4538, "loc": { "start": { "line": 114, "column": 30 }, "end": { "line": 114, "column": 31 }, "identifierName": "x" }, "name": "x" }, "computed": true } } ], "kind": "const" }, { "type": "ForStatement", "start": 4554, "end": 5046, "loc": { "start": { "line": 115, "column": 12 }, "end": { "line": 126, "column": 13 } }, "init": { "type": "VariableDeclaration", "start": 4559, "end": 4568, "loc": { "start": { "line": 115, "column": 17 }, "end": { "line": 115, "column": 26 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4563, "end": 4568, "loc": { "start": { "line": 115, "column": 21 }, "end": { "line": 115, "column": 26 } }, "id": { "type": "Identifier", "start": 4563, "end": 4564, "loc": { "start": { "line": 115, "column": 21 }, "end": { "line": 115, "column": 22 }, "identifierName": "y" }, "name": "y" }, "init": { "type": "NumericLiteral", "start": 4567, "end": 4568, "loc": { "start": { "line": 115, "column": 25 }, "end": { "line": 115, "column": 26 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 4570, "end": 4599, "loc": { "start": { "line": 115, "column": 28 }, "end": { "line": 115, "column": 57 } }, "left": { "type": "Identifier", "start": 4570, "end": 4571, "loc": { "start": { "line": 115, "column": 28 }, "end": { "line": 115, "column": 29 }, "identifierName": "y" }, "name": "y" }, "operator": "<", "right": { "type": "MemberExpression", "start": 4574, "end": 4599, "loc": { "start": { "line": 115, "column": 32 }, "end": { "line": 115, "column": 57 } }, "object": { "type": "Identifier", "start": 4574, "end": 4586, "loc": { "start": { "line": 115, "column": 32 }, "end": { "line": 115, "column": 44 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 4587, "end": 4599, "loc": { "start": { "line": 115, "column": 45 }, "end": { "line": 115, "column": 57 }, "identifierName": "mapChunkSize" }, "name": "mapChunkSize" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 4601, "end": 4604, "loc": { "start": { "line": 115, "column": 59 }, "end": { "line": 115, "column": 62 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 4603, "end": 4604, "loc": { "start": { "line": 115, "column": 61 }, "end": { "line": 115, "column": 62 }, "identifierName": "y" }, "name": "y" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 4606, "end": 5046, "loc": { "start": { "line": 115, "column": 64 }, "end": { "line": 126, "column": 13 } }, "body": [ { "type": "VariableDeclaration", "start": 4625, "end": 4645, "loc": { "start": { "line": 116, "column": 16 }, "end": { "line": 116, "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4631, "end": 4644, "loc": { "start": { "line": 116, "column": 22 }, "end": { "line": 116, "column": 35 } }, "id": { "type": "Identifier", "start": 4631, "end": 4635, "loc": { "start": { "line": 116, "column": 22 }, "end": { "line": 116, "column": 26 }, "identifierName": "item" }, "name": "item" }, "init": { "type": "MemberExpression", "start": 4638, "end": 4644, "loc": { "start": { "line": 116, "column": 29 }, "end": { "line": 116, "column": 35 } }, "object": { "type": "Identifier", "start": 4638, "end": 4641, "loc": { "start": { "line": 116, "column": 29 }, "end": { "line": 116, "column": 32 }, "identifierName": "row" }, "name": "row" }, "property": { "type": "Identifier", "start": 4642, "end": 4643, "loc": { "start": { "line": 116, "column": 33 }, "end": { "line": 116, "column": 34 }, "identifierName": "y" }, "name": "y" }, "computed": true } } ], "kind": "const" }, { "type": "IfStatement", "start": 4663, "end": 5031, "loc": { "start": { "line": 117, "column": 16 }, "end": { "line": 125, "column": 17 } }, "test": { "type": "Identifier", "start": 4667, "end": 4671, "loc": { "start": { "line": 117, "column": 20 }, "end": { "line": 117, "column": 24 }, "identifierName": "item" }, "name": "item" }, "consequent": { "type": "BlockStatement", "start": 4673, "end": 5031, "loc": { "start": { "line": 117, "column": 26 }, "end": { "line": 125, "column": 17 } }, "body": [ { "type": "IfStatement", "start": 4696, "end": 4961, "loc": { "start": { "line": 118, "column": 20 }, "end": { "line": 123, "column": 21 } }, "test": { "type": "MemberExpression", "start": 4700, "end": 4733, "loc": { "start": { "line": 118, "column": 24 }, "end": { "line": 118, "column": 57 } }, "object": { "type": "Identifier", "start": 4700, "end": 4704, "loc": { "start": { "line": 118, "column": 24 }, "end": { "line": 118, "column": 28 }, "identifierName": "item" }, "name": "item" }, "property": { "type": "Identifier", "start": 4705, "end": 4733, "loc": { "start": { "line": 118, "column": 29 }, "end": { "line": 118, "column": 57 }, "identifierName": "getBackgroundColorAsResource" }, "name": "getBackgroundColorAsResource" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 4735, "end": 4841, "loc": { "start": { "line": 118, "column": 59 }, "end": { "line": 120, "column": 21 } }, "body": [ { "type": "ExpressionStatement", "start": 4762, "end": 4818, "loc": { "start": { "line": 119, "column": 24 }, "end": { "line": 119, "column": 80 } }, "expression": { "type": "AssignmentExpression", "start": 4762, "end": 4817, "loc": { "start": { "line": 119, "column": 24 }, "end": { "line": 119, "column": 79 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4762, "end": 4779, "loc": { "start": { "line": 119, "column": 24 }, "end": { "line": 119, "column": 41 } }, "object": { "type": "Identifier", "start": 4762, "end": 4769, "loc": { "start": { "line": 119, "column": 24 }, "end": { "line": 119, "column": 31 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 4770, "end": 4779, "loc": { "start": { "line": 119, "column": 32 }, "end": { "line": 119, "column": 41 }, "identifierName": "fillStyle" }, "name": "fillStyle" }, "computed": false }, "right": { "type": "CallExpression", "start": 4782, "end": 4817, "loc": { "start": { "line": 119, "column": 44 }, "end": { "line": 119, "column": 79 } }, "callee": { "type": "MemberExpression", "start": 4782, "end": 4815, "loc": { "start": { "line": 119, "column": 44 }, "end": { "line": 119, "column": 77 } }, "object": { "type": "Identifier", "start": 4782, "end": 4786, "loc": { "start": { "line": 119, "column": 44 }, "end": { "line": 119, "column": 48 }, "identifierName": "item" }, "name": "item" }, "property": { "type": "Identifier", "start": 4787, "end": 4815, "loc": { "start": { "line": 119, "column": 49 }, "end": { "line": 119, "column": 77 }, "identifierName": "getBackgroundColorAsResource" }, "name": "getBackgroundColorAsResource" }, "computed": false }, "arguments": [] } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 4847, "end": 4961, "loc": { "start": { "line": 120, "column": 27 }, "end": { "line": 123, "column": 21 } }, "body": [ { "type": "ExpressionStatement", "start": 4913, "end": 4938, "loc": { "start": { "line": 122, "column": 24 }, "end": { "line": 122, "column": 49 } }, "expression": { "type": "AssignmentExpression", "start": 4913, "end": 4937, "loc": { "start": { "line": 122, "column": 24 }, "end": { "line": 122, "column": 48 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4913, "end": 4930, "loc": { "start": { "line": 122, "column": 24 }, "end": { "line": 122, "column": 41 } }, "object": { "type": "Identifier", "start": 4913, "end": 4920, "loc": { "start": { "line": 122, "column": 24 }, "end": { "line": 122, "column": 31 }, "identifierName": "context" }, "name": "context", "leadingComments": null }, "property": { "type": "Identifier", "start": 4921, "end": 4930, "loc": { "start": { "line": 122, "column": 32 }, "end": { "line": 122, "column": 41 }, "identifierName": "fillStyle" }, "name": "fillStyle" }, "computed": false, "leadingComments": null }, "right": { "type": "Identifier", "start": 4933, "end": 4937, "loc": { "start": { "line": 122, "column": 44 }, "end": { "line": 122, "column": 48 }, "identifierName": "item" }, "name": "item" }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " @ts-ignore", "start": 4874, "end": 4887, "loc": { "start": { "line": 121, "column": 24 }, "end": { "line": 121, "column": 37 } } } ] } ], "directives": [] } }, { "type": "ExpressionStatement", "start": 4983, "end": 5012, "loc": { "start": { "line": 124, "column": 20 }, "end": { "line": 124, "column": 49 } }, "expression": { "type": "CallExpression", "start": 4983, "end": 5011, "loc": { "start": { "line": 124, "column": 20 }, "end": { "line": 124, "column": 48 } }, "callee": { "type": "MemberExpression", "start": 4983, "end": 4999, "loc": { "start": { "line": 124, "column": 20 }, "end": { "line": 124, "column": 36 } }, "object": { "type": "Identifier", "start": 4983, "end": 4990, "loc": { "start": { "line": 124, "column": 20 }, "end": { "line": 124, "column": 27 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 4991, "end": 4999, "loc": { "start": { "line": 124, "column": 28 }, "end": { "line": 124, "column": 36 }, "identifierName": "fillRect" }, "name": "fillRect" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 5000, "end": 5001, "loc": { "start": { "line": 124, "column": 37 }, "end": { "line": 124, "column": 38 }, "identifierName": "x" }, "name": "x" }, { "type": "Identifier", "start": 5003, "end": 5004, "loc": { "start": { "line": 124, "column": 40 }, "end": { "line": 124, "column": 41 }, "identifierName": "y" }, "name": "y" }, { "type": "NumericLiteral", "start": 5006, "end": 5007, "loc": { "start": { "line": 124, "column": 43 }, "end": { "line": 124, "column": 44 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, { "type": "NumericLiteral", "start": 5009, "end": 5010, "loc": { "start": { "line": 124, "column": 46 }, "end": { "line": 124, "column": 47 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] } } ], "directives": [] } }, { "type": "IfStatement", "start": 5069, "end": 5289, "loc": { "start": { "line": 129, "column": 8 }, "end": { "line": 133, "column": 9 } }, "test": { "type": "MemberExpression", "start": 5073, "end": 5132, "loc": { "start": { "line": 129, "column": 12 }, "end": { "line": 129, "column": 71 } }, "object": { "type": "CallExpression", "start": 5073, "end": 5112, "loc": { "start": { "line": 129, "column": 12 }, "end": { "line": 129, "column": 51 } }, "callee": { "type": "MemberExpression", "start": 5073, "end": 5110, "loc": { "start": { "line": 129, "column": 12 }, "end": { "line": 129, "column": 49 } }, "object": { "type": "MemberExpression", "start": 5073, "end": 5095, "loc": { "start": { "line": 129, "column": 12 }, "end": { "line": 129, "column": 34 } }, "object": { "type": "MemberExpression", "start": 5073, "end": 5086, "loc": { "start": { "line": 129, "column": 12 }, "end": { "line": 129, "column": 25 } }, "object": { "type": "MemberExpression", "start": 5073, "end": 5082, "loc": { "start": { "line": 129, "column": 12 }, "end": { "line": 129, "column": 21 } }, "object": { "type": "ThisExpression", "start": 5073, "end": 5077, "loc": { "start": { "line": 129, "column": 12 }, "end": { "line": 129, "column": 16 } } }, "property": { "type": "Identifier", "start": 5078, "end": 5082, "loc": { "start": { "line": 129, "column": 17 }, "end": { "line": 129, "column": 21 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 5083, "end": 5086, "loc": { "start": { "line": 129, "column": 22 }, "end": { "line": 129, "column": 25 }, "identifierName": "app" }, "name": "app" }, "computed": false }, "property": { "type": "Identifier", "start": 5087, "end": 5095, "loc": { "start": { "line": 129, "column": 26 }, "end": { "line": 129, "column": 34 }, "identifierName": "settings" }, "name": "settings" }, "computed": false }, "property": { "type": "Identifier", "start": 5096, "end": 5110, "loc": { "start": { "line": 129, "column": 35 }, "end": { "line": 129, "column": 49 }, "identifierName": "getAllSettings" }, "name": "getAllSettings" }, "computed": false }, "arguments": [] }, "property": { "type": "Identifier", "start": 5113, "end": 5132, "loc": { "start": { "line": 129, "column": 52 }, "end": { "line": 129, "column": 71 }, "identifierName": "displayChunkBorders" }, "name": "displayChunkBorders" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 5134, "end": 5289, "loc": { "start": { "line": 129, "column": 73 }, "end": { "line": 133, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 5149, "end": 5192, "loc": { "start": { "line": 130, "column": 12 }, "end": { "line": 130, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 5149, "end": 5191, "loc": { "start": { "line": 130, "column": 12 }, "end": { "line": 130, "column": 54 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5149, "end": 5166, "loc": { "start": { "line": 130, "column": 12 }, "end": { "line": 130, "column": 29 } }, "object": { "type": "Identifier", "start": 5149, "end": 5156, "loc": { "start": { "line": 130, "column": 12 }, "end": { "line": 130, "column": 19 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 5157, "end": 5166, "loc": { "start": { "line": 130, "column": 20 }, "end": { "line": 130, "column": 29 }, "identifierName": "fillStyle" }, "name": "fillStyle" }, "computed": false }, "right": { "type": "MemberExpression", "start": 5169, "end": 5191, "loc": { "start": { "line": 130, "column": 32 }, "end": { "line": 130, "column": 54 } }, "object": { "type": "MemberExpression", "start": 5169, "end": 5178, "loc": { "start": { "line": 130, "column": 32 }, "end": { "line": 130, "column": 41 } }, "object": { "type": "Identifier", "start": 5169, "end": 5174, "loc": { "start": { "line": 130, "column": 32 }, "end": { "line": 130, "column": 37 }, "identifierName": "THEME" }, "name": "THEME" }, "property": { "type": "Identifier", "start": 5175, "end": 5178, "loc": { "start": { "line": 130, "column": 38 }, "end": { "line": 130, "column": 41 }, "identifierName": "map" }, "name": "map" }, "computed": false }, "property": { "type": "Identifier", "start": 5179, "end": 5191, "loc": { "start": { "line": 130, "column": 42 }, "end": { "line": 130, "column": 54 }, "identifierName": "chunkBorders" }, "name": "chunkBorders" }, "computed": false } } }, { "type": "ExpressionStatement", "start": 5206, "end": 5235, "loc": { "start": { "line": 131, "column": 12 }, "end": { "line": 131, "column": 41 } }, "expression": { "type": "CallExpression", "start": 5206, "end": 5234, "loc": { "start": { "line": 131, "column": 12 }, "end": { "line": 131, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 5206, "end": 5222, "loc": { "start": { "line": 131, "column": 12 }, "end": { "line": 131, "column": 28 } }, "object": { "type": "Identifier", "start": 5206, "end": 5213, "loc": { "start": { "line": 131, "column": 12 }, "end": { "line": 131, "column": 19 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 5214, "end": 5222, "loc": { "start": { "line": 131, "column": 20 }, "end": { "line": 131, "column": 28 }, "identifierName": "fillRect" }, "name": "fillRect" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 5223, "end": 5224, "loc": { "start": { "line": 131, "column": 29 }, "end": { "line": 131, "column": 30 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "NumericLiteral", "start": 5226, "end": 5227, "loc": { "start": { "line": 131, "column": 32 }, "end": { "line": 131, "column": 33 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "Identifier", "start": 5229, "end": 5230, "loc": { "start": { "line": 131, "column": 35 }, "end": { "line": 131, "column": 36 }, "identifierName": "w" }, "name": "w" }, { "type": "NumericLiteral", "start": 5232, "end": 5233, "loc": { "start": { "line": 131, "column": 38 }, "end": { "line": 131, "column": 39 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } ] } }, { "type": "ExpressionStatement", "start": 5249, "end": 5278, "loc": { "start": { "line": 132, "column": 12 }, "end": { "line": 132, "column": 41 } }, "expression": { "type": "CallExpression", "start": 5249, "end": 5277, "loc": { "start": { "line": 132, "column": 12 }, "end": { "line": 132, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 5249, "end": 5265, "loc": { "start": { "line": 132, "column": 12 }, "end": { "line": 132, "column": 28 } }, "object": { "type": "Identifier", "start": 5249, "end": 5256, "loc": { "start": { "line": 132, "column": 12 }, "end": { "line": 132, "column": 19 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 5257, "end": 5265, "loc": { "start": { "line": 132, "column": 20 }, "end": { "line": 132, "column": 28 }, "identifierName": "fillRect" }, "name": "fillRect" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 5266, "end": 5267, "loc": { "start": { "line": 132, "column": 29 }, "end": { "line": 132, "column": 30 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "NumericLiteral", "start": 5269, "end": 5270, "loc": { "start": { "line": 132, "column": 32 }, "end": { "line": 132, "column": 33 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, { "type": "NumericLiteral", "start": 5272, "end": 5273, "loc": { "start": { "line": 132, "column": 35 }, "end": { "line": 132, "column": 36 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, { "type": "Identifier", "start": 5275, "end": 5276, "loc": { "start": { "line": 132, "column": 38 }, "end": { "line": 132, "column": 39 }, "identifierName": "h" }, "name": "h" } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n *\r\n * @param {MapChunkView} chunk\r\n * @param {HTMLCanvasElement} canvas\r\n * @param {CanvasRenderingContext2D} context\r\n * @param {number} w\r\n * @param {number} h\r\n * @param {number} dpi\r\n ", "start": 3761, "end": 3989, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 101, "column": 7 } } } ] } ] }, "leadingComments": [], "trailingComments": [] } } ], "directives": [] }, "comments": [ { "type": "CommentBlock", "value": "*\r\n * Draws the map resources\r\n * @param {DrawParameters} parameters\r\n * @param {MapChunkView} chunk\r\n ", "start": 428, "end": 551, "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 17, "column": 7 } } }, { "type": "CommentLine", "value": " LOW QUALITY: Draw patch items only", "start": 1616, "end": 1653, "loc": { "start": { "line": 44, "column": 12 }, "end": { "line": 44, "column": 49 } } }, { "type": "CommentLine", "value": " HIGH QUALITY: Draw all items", "start": 2281, "end": 2312, "loc": { "start": { "line": 56, "column": 12 }, "end": { "line": 56, "column": 43 } } }, { "type": "CommentLine", "value": " Don't draw if there is an entity above", "start": 2877, "end": 2918, "loc": { "start": { "line": 68, "column": 24 }, "end": { "line": 68, "column": 65 } } }, { "type": "CommentBlock", "value": "*\r\n *\r\n * @param {MapChunkView} chunk\r\n * @param {HTMLCanvasElement} canvas\r\n * @param {CanvasRenderingContext2D} context\r\n * @param {number} w\r\n * @param {number} h\r\n * @param {number} dpi\r\n ", "start": 3761, "end": 3989, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 101, "column": 7 } } }, { "type": "CommentLine", "value": " The map doesn't draw a background, so we have to", "start": 4141, "end": 4192, "loc": { "start": { "line": 104, "column": 12 }, "end": { "line": 104, "column": 63 } } }, { "type": "CommentLine", "value": " @ts-ignore", "start": 4874, "end": 4887, "loc": { "start": { "line": 121, "column": 24 }, "end": { "line": 121, "column": 37 } } } ], "tokens": [ { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 0, "end": 6, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7, "end": 8, "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 1, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 9, "end": 21, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22, "end": 23, "loc": { "start": { "line": 1, "column": 22 }, "end": { "line": 1, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 24, "end": 28, "loc": { "start": { "line": 1, "column": 24 }, "end": { "line": 1, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../../core/config", "start": 29, "end": 48, "loc": { "start": { "line": 1, "column": 29 }, "end": { "line": 1, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 48, "end": 49, "loc": { "start": { "line": 1, "column": 48 }, "end": { "line": 1, "column": 49 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 51, "end": 57, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 58, "end": 59, "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "DrawParameters", "start": 60, "end": 74, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 23 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 75, "end": 76, "loc": { "start": { "line": 2, "column": 24 }, "end": { "line": 2, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 77, "end": 81, "loc": { "start": { "line": 2, "column": 26 }, "end": { "line": 2, "column": 30 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../../core/draw_parameters", "start": 82, "end": 110, "loc": { "start": { "line": 2, "column": 31 }, "end": { "line": 2, "column": 59 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 110, "end": 111, "loc": { "start": { "line": 2, "column": 59 }, "end": { "line": 2, "column": 60 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 113, "end": 119, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 120, "end": 121, "loc": { "start": { "line": 3, "column": 7 }, "end": { "line": 3, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "GameSystem", "start": 122, "end": 132, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 133, "end": 134, "loc": { "start": { "line": 3, "column": 20 }, "end": { "line": 3, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 135, "end": 139, "loc": { "start": { "line": 3, "column": 22 }, "end": { "line": 3, "column": 26 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../game_system", "start": 140, "end": 156, "loc": { "start": { "line": 3, "column": 27 }, "end": { "line": 3, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 156, "end": 157, "loc": { "start": { "line": 3, "column": 43 }, "end": { "line": 3, "column": 44 } } }, { "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": 159, "end": 165, "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": 166, "end": 167, "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": "MapChunkView", "start": 168, "end": 180, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 181, "end": 182, "loc": { "start": { "line": 4, "column": 22 }, "end": { "line": 4, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 183, "end": 187, "loc": { "start": { "line": 4, "column": 24 }, "end": { "line": 4, "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": 188, "end": 207, "loc": { "start": { "line": 4, "column": 29 }, "end": { "line": 4, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 207, "end": 208, "loc": { "start": { "line": 4, "column": 48 }, "end": { "line": 4, "column": 49 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 210, "end": 216, "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": 217, "end": 218, "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": "THEME", "start": 219, "end": 224, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 14 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 225, "end": 226, "loc": { "start": { "line": 5, "column": 15 }, "end": { "line": 5, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 227, "end": 231, "loc": { "start": { "line": 5, "column": 17 }, "end": { "line": 5, "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": 232, "end": 242, "loc": { "start": { "line": 5, "column": 22 }, "end": { "line": 5, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 242, "end": 243, "loc": { "start": { "line": 5, "column": 32 }, "end": { "line": 5, "column": 33 } } }, { "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": 245, "end": 251, "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": 252, "end": 253, "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": "drawSpriteClipped", "start": 254, "end": 271, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 26 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 272, "end": 273, "loc": { "start": { "line": 6, "column": 27 }, "end": { "line": 6, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 274, "end": 278, "loc": { "start": { "line": 6, "column": 29 }, "end": { "line": 6, "column": 33 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../../core/draw_utils", "start": 279, "end": 302, "loc": { "start": { "line": 6, "column": 34 }, "end": { "line": 6, "column": 57 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 302, "end": 303, "loc": { "start": { "line": 6, "column": 57 }, "end": { "line": 6, "column": 58 } } }, { "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": 307, "end": 313, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 8, "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": 314, "end": 319, "loc": { "start": { "line": 8, "column": 7 }, "end": { "line": 8, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "MapResourcesSystem", "start": 320, "end": 338, "loc": { "start": { "line": 8, "column": 13 }, "end": { "line": 8, "column": 31 } } }, { "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": 339, "end": 346, "loc": { "start": { "line": 8, "column": 32 }, "end": { "line": 8, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "GameSystem", "start": 347, "end": 357, "loc": { "start": { "line": 8, "column": 40 }, "end": { "line": 8, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 358, "end": 359, "loc": { "start": { "line": 8, "column": 51 }, "end": { "line": 8, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "static", "start": 365, "end": 371, "loc": { "start": { "line": 9, "column": 4 }, "end": { "line": 9, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getId", "start": 372, "end": 377, "loc": { "start": { "line": 9, "column": 11 }, "end": { "line": 9, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 377, "end": 378, "loc": { "start": { "line": 9, "column": 16 }, "end": { "line": 9, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 378, "end": 379, "loc": { "start": { "line": 9, "column": 17 }, "end": { "line": 9, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 380, "end": 381, "loc": { "start": { "line": 9, "column": 19 }, "end": { "line": 9, "column": 20 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 391, "end": 397, "loc": { "start": { "line": 10, "column": 8 }, "end": { "line": 10, "column": 14 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "mapResources", "start": 398, "end": 412, "loc": { "start": { "line": 10, "column": 15 }, "end": { "line": 10, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 412, "end": 413, "loc": { "start": { "line": 10, "column": 29 }, "end": { "line": 10, "column": 30 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 419, "end": 420, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 11, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Draws the map resources\r\n * @param {DrawParameters} parameters\r\n * @param {MapChunkView} chunk\r\n ", "start": 428, "end": 551, "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 17, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "drawChunk_BackgroundLayer", "start": 557, "end": 582, "loc": { "start": { "line": 18, "column": 4 }, "end": { "line": 18, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 582, "end": 583, "loc": { "start": { "line": 18, "column": 29 }, "end": { "line": 18, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 583, "end": 593, "loc": { "start": { "line": 18, "column": 30 }, "end": { "line": 18, "column": 40 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 593, "end": 594, "loc": { "start": { "line": 18, "column": 40 }, "end": { "line": 18, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "chunk", "start": 595, "end": 600, "loc": { "start": { "line": 18, "column": 42 }, "end": { "line": 18, "column": 47 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 600, "end": 601, "loc": { "start": { "line": 18, "column": 47 }, "end": { "line": 18, "column": 48 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 602, "end": 603, "loc": { "start": { "line": 18, "column": 49 }, "end": { "line": 18, "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": 613, "end": 618, "loc": { "start": { "line": 19, "column": 8 }, "end": { "line": 19, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "basicChunkBackground", "start": 619, "end": 639, "loc": { "start": { "line": 19, "column": 14 }, "end": { "line": 19, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 640, "end": 641, "loc": { "start": { "line": 19, "column": 35 }, "end": { "line": 19, "column": 36 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 642, "end": 646, "loc": { "start": { "line": 19, "column": 37 }, "end": { "line": 19, "column": 41 } } }, { "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": 19, "column": 41 }, "end": { "line": 19, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 647, "end": 651, "loc": { "start": { "line": 19, "column": 42 }, "end": { "line": 19, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 651, "end": 652, "loc": { "start": { "line": 19, "column": 46 }, "end": { "line": 19, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buffers", "start": 652, "end": 659, "loc": { "start": { "line": 19, "column": 47 }, "end": { "line": 19, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 659, "end": 660, "loc": { "start": { "line": 19, "column": 54 }, "end": { "line": 19, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getForKey", "start": 660, "end": 669, "loc": { "start": { "line": 19, "column": 55 }, "end": { "line": 19, "column": 64 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 669, "end": 670, "loc": { "start": { "line": 19, "column": 64 }, "end": { "line": 19, "column": 65 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 670, "end": 671, "loc": { "start": { "line": 19, "column": 65 }, "end": { "line": 19, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 685, "end": 688, "loc": { "start": { "line": 20, "column": 12 }, "end": { "line": 20, "column": 15 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 688, "end": 689, "loc": { "start": { "line": 20, "column": 15 }, "end": { "line": 20, "column": 16 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "mapresourcebg", "start": 690, "end": 705, "loc": { "start": { "line": 20, "column": 17 }, "end": { "line": 20, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 705, "end": 706, "loc": { "start": { "line": 20, "column": 32 }, "end": { "line": 20, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subKey", "start": 720, "end": 726, "loc": { "start": { "line": 21, "column": 12 }, "end": { "line": 21, "column": 18 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 726, "end": 727, "loc": { "start": { "line": 21, "column": 18 }, "end": { "line": 21, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "chunk", "start": 728, "end": 733, "loc": { "start": { "line": 21, "column": 20 }, "end": { "line": 21, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 733, "end": 734, "loc": { "start": { "line": 21, "column": 25 }, "end": { "line": 21, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "renderKey", "start": 734, "end": 743, "loc": { "start": { "line": 21, "column": 26 }, "end": { "line": 21, "column": 35 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 743, "end": 744, "loc": { "start": { "line": 21, "column": 35 }, "end": { "line": 21, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "w", "start": 758, "end": 759, "loc": { "start": { "line": 22, "column": 12 }, "end": { "line": 22, "column": 13 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 759, "end": 760, "loc": { "start": { "line": 22, "column": 13 }, "end": { "line": 22, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 761, "end": 773, "loc": { "start": { "line": 22, "column": 15 }, "end": { "line": 22, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 773, "end": 774, "loc": { "start": { "line": 22, "column": 27 }, "end": { "line": 22, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapChunkSize", "start": 774, "end": 786, "loc": { "start": { "line": 22, "column": 28 }, "end": { "line": 22, "column": 40 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 786, "end": 787, "loc": { "start": { "line": 22, "column": 40 }, "end": { "line": 22, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "h", "start": 801, "end": 802, "loc": { "start": { "line": 23, "column": 12 }, "end": { "line": 23, "column": 13 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 802, "end": 803, "loc": { "start": { "line": 23, "column": 13 }, "end": { "line": 23, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 804, "end": 816, "loc": { "start": { "line": 23, "column": 15 }, "end": { "line": 23, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 816, "end": 817, "loc": { "start": { "line": 23, "column": 27 }, "end": { "line": 23, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapChunkSize", "start": 817, "end": 829, "loc": { "start": { "line": 23, "column": 28 }, "end": { "line": 23, "column": 40 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 829, "end": 830, "loc": { "start": { "line": 23, "column": 40 }, "end": { "line": 23, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dpi", "start": 844, "end": 847, "loc": { "start": { "line": 24, "column": 12 }, "end": { "line": 24, "column": 15 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 847, "end": 848, "loc": { "start": { "line": 24, "column": 15 }, "end": { "line": 24, "column": 16 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 849, "end": 850, "loc": { "start": { "line": 24, "column": 17 }, "end": { "line": 24, "column": 18 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 850, "end": 851, "loc": { "start": { "line": 24, "column": 18 }, "end": { "line": 24, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "redrawMethod", "start": 865, "end": 877, "loc": { "start": { "line": 25, "column": 12 }, "end": { "line": 25, "column": 24 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 877, "end": 878, "loc": { "start": { "line": 25, "column": 24 }, "end": { "line": 25, "column": 25 } } }, { "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": 879, "end": 883, "loc": { "start": { "line": 25, "column": 26 }, "end": { "line": 25, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 883, "end": 884, "loc": { "start": { "line": 25, "column": 30 }, "end": { "line": 25, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "generateChunkBackground", "start": 884, "end": 907, "loc": { "start": { "line": 25, "column": 31 }, "end": { "line": 25, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 907, "end": 908, "loc": { "start": { "line": 25, "column": 54 }, "end": { "line": 25, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 908, "end": 912, "loc": { "start": { "line": 25, "column": 55 }, "end": { "line": 25, "column": 59 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 912, "end": 913, "loc": { "start": { "line": 25, "column": 59 }, "end": { "line": 25, "column": 60 } } }, { "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": 913, "end": 917, "loc": { "start": { "line": 25, "column": 60 }, "end": { "line": 25, "column": 64 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 917, "end": 918, "loc": { "start": { "line": 25, "column": 64 }, "end": { "line": 25, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "chunk", "start": 919, "end": 924, "loc": { "start": { "line": 25, "column": 66 }, "end": { "line": 25, "column": 71 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 924, "end": 925, "loc": { "start": { "line": 25, "column": 71 }, "end": { "line": 25, "column": 72 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 925, "end": 926, "loc": { "start": { "line": 25, "column": 72 }, "end": { "line": 25, "column": 73 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 936, "end": 937, "loc": { "start": { "line": 26, "column": 8 }, "end": { "line": 26, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 937, "end": 938, "loc": { "start": { "line": 26, "column": 9 }, "end": { "line": 26, "column": 10 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 938, "end": 939, "loc": { "start": { "line": 26, "column": 10 }, "end": { "line": 26, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 951, "end": 961, "loc": { "start": { "line": 28, "column": 8 }, "end": { "line": 28, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 961, "end": 962, "loc": { "start": { "line": 28, "column": 18 }, "end": { "line": 28, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 962, "end": 969, "loc": { "start": { "line": 28, "column": 19 }, "end": { "line": 28, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 969, "end": 970, "loc": { "start": { "line": 28, "column": 26 }, "end": { "line": 28, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "imageSmoothingEnabled", "start": 970, "end": 991, "loc": { "start": { "line": 28, "column": 27 }, "end": { "line": 28, "column": 48 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 992, "end": 993, "loc": { "start": { "line": 28, "column": 49 }, "end": { "line": 28, "column": 50 } } }, { "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": 994, "end": 999, "loc": { "start": { "line": 28, "column": 51 }, "end": { "line": 28, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 999, "end": 1000, "loc": { "start": { "line": 28, "column": 56 }, "end": { "line": 28, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "drawSpriteClipped", "start": 1010, "end": 1027, "loc": { "start": { "line": 29, "column": 8 }, "end": { "line": 29, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1027, "end": 1028, "loc": { "start": { "line": 29, "column": 25 }, "end": { "line": 29, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1028, "end": 1029, "loc": { "start": { "line": 29, "column": 26 }, "end": { "line": 29, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 1043, "end": 1053, "loc": { "start": { "line": 30, "column": 12 }, "end": { "line": 30, "column": 22 } } }, { "type": { "label": ",", "beforeExpr": true, "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": 22 }, "end": { "line": 30, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sprite", "start": 1068, "end": 1074, "loc": { "start": { "line": 31, "column": 12 }, "end": { "line": 31, "column": 18 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1074, "end": 1075, "loc": { "start": { "line": 31, "column": 18 }, "end": { "line": 31, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "basicChunkBackground", "start": 1076, "end": 1096, "loc": { "start": { "line": 31, "column": 20 }, "end": { "line": 31, "column": 40 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1096, "end": 1097, "loc": { "start": { "line": 31, "column": 40 }, "end": { "line": 31, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 1111, "end": 1112, "loc": { "start": { "line": 32, "column": 12 }, "end": { "line": 32, "column": 13 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1112, "end": 1113, "loc": { "start": { "line": 32, "column": 13 }, "end": { "line": 32, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "chunk", "start": 1114, "end": 1119, "loc": { "start": { "line": 32, "column": 15 }, "end": { "line": 32, "column": 20 } } }, { "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": 20 }, "end": { "line": 32, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tileX", "start": 1120, "end": 1125, "loc": { "start": { "line": 32, "column": 21 }, "end": { "line": 32, "column": 26 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 1126, "end": 1127, "loc": { "start": { "line": 32, "column": 27 }, "end": { "line": 32, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 1128, "end": 1140, "loc": { "start": { "line": 32, "column": 29 }, "end": { "line": 32, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1140, "end": 1141, "loc": { "start": { "line": 32, "column": 41 }, "end": { "line": 32, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tileSize", "start": 1141, "end": 1149, "loc": { "start": { "line": 32, "column": 42 }, "end": { "line": 32, "column": 50 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1149, "end": 1150, "loc": { "start": { "line": 32, "column": 50 }, "end": { "line": 32, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 1164, "end": 1165, "loc": { "start": { "line": 33, "column": 12 }, "end": { "line": 33, "column": 13 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1165, "end": 1166, "loc": { "start": { "line": 33, "column": 13 }, "end": { "line": 33, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "chunk", "start": 1167, "end": 1172, "loc": { "start": { "line": 33, "column": 15 }, "end": { "line": 33, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1172, "end": 1173, "loc": { "start": { "line": 33, "column": 20 }, "end": { "line": 33, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tileY", "start": 1173, "end": 1178, "loc": { "start": { "line": 33, "column": 21 }, "end": { "line": 33, "column": 26 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 1179, "end": 1180, "loc": { "start": { "line": 33, "column": 27 }, "end": { "line": 33, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 1181, "end": 1193, "loc": { "start": { "line": 33, "column": 29 }, "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": 1193, "end": 1194, "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": "tileSize", "start": 1194, "end": 1202, "loc": { "start": { "line": 33, "column": 42 }, "end": { "line": 33, "column": 50 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1202, "end": 1203, "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": "w", "start": 1217, "end": 1218, "loc": { "start": { "line": 34, "column": 12 }, "end": { "line": 34, "column": 13 } } }, { "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": 34, "column": 13 }, "end": { "line": 34, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 1220, "end": 1232, "loc": { "start": { "line": 34, "column": 15 }, "end": { "line": 34, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1232, "end": 1233, "loc": { "start": { "line": 34, "column": 27 }, "end": { "line": 34, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapChunkWorldSize", "start": 1233, "end": 1250, "loc": { "start": { "line": 34, "column": 28 }, "end": { "line": 34, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1250, "end": 1251, "loc": { "start": { "line": 34, "column": 45 }, "end": { "line": 34, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "h", "start": 1265, "end": 1266, "loc": { "start": { "line": 35, "column": 12 }, "end": { "line": 35, "column": 13 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1266, "end": 1267, "loc": { "start": { "line": 35, "column": 13 }, "end": { "line": 35, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 1268, "end": 1280, "loc": { "start": { "line": 35, "column": 15 }, "end": { "line": 35, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1280, "end": 1281, "loc": { "start": { "line": 35, "column": 27 }, "end": { "line": 35, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapChunkWorldSize", "start": 1281, "end": 1298, "loc": { "start": { "line": 35, "column": 28 }, "end": { "line": 35, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1298, "end": 1299, "loc": { "start": { "line": 35, "column": 45 }, "end": { "line": 35, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "originalW", "start": 1313, "end": 1322, "loc": { "start": { "line": 36, "column": 12 }, "end": { "line": 36, "column": 21 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1322, "end": 1323, "loc": { "start": { "line": 36, "column": 21 }, "end": { "line": 36, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 1324, "end": 1336, "loc": { "start": { "line": 36, "column": 23 }, "end": { "line": 36, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1336, "end": 1337, "loc": { "start": { "line": 36, "column": 35 }, "end": { "line": 36, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapChunkSize", "start": 1337, "end": 1349, "loc": { "start": { "line": 36, "column": 36 }, "end": { "line": 36, "column": 48 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1349, "end": 1350, "loc": { "start": { "line": 36, "column": 48 }, "end": { "line": 36, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "originalH", "start": 1364, "end": 1373, "loc": { "start": { "line": 37, "column": 12 }, "end": { "line": 37, "column": 21 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1373, "end": 1374, "loc": { "start": { "line": 37, "column": 21 }, "end": { "line": 37, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 1375, "end": 1387, "loc": { "start": { "line": 37, "column": 23 }, "end": { "line": 37, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1387, "end": 1388, "loc": { "start": { "line": 37, "column": 35 }, "end": { "line": 37, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapChunkSize", "start": 1388, "end": 1400, "loc": { "start": { "line": 37, "column": 36 }, "end": { "line": 37, "column": 48 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1400, "end": 1401, "loc": { "start": { "line": 37, "column": 48 }, "end": { "line": 37, "column": 49 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1411, "end": 1412, "loc": { "start": { "line": 38, "column": 8 }, "end": { "line": 38, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1412, "end": 1413, "loc": { "start": { "line": 38, "column": 9 }, "end": { "line": 38, "column": 10 } } }, { "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": 38, "column": 10 }, "end": { "line": 38, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 1424, "end": 1434, "loc": { "start": { "line": 39, "column": 8 }, "end": { "line": 39, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1434, "end": 1435, "loc": { "start": { "line": 39, "column": 18 }, "end": { "line": 39, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 1435, "end": 1442, "loc": { "start": { "line": 39, "column": 19 }, "end": { "line": 39, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1442, "end": 1443, "loc": { "start": { "line": 39, "column": 26 }, "end": { "line": 39, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "imageSmoothingEnabled", "start": 1443, "end": 1464, "loc": { "start": { "line": 39, "column": 27 }, "end": { "line": 39, "column": 48 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1465, "end": 1466, "loc": { "start": { "line": 39, "column": 49 }, "end": { "line": 39, "column": 50 } } }, { "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": 1467, "end": 1471, "loc": { "start": { "line": 39, "column": 51 }, "end": { "line": 39, "column": 55 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1471, "end": 1472, "loc": { "start": { "line": 39, "column": 55 }, "end": { "line": 39, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 1484, "end": 1494, "loc": { "start": { "line": 41, "column": 8 }, "end": { "line": 41, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1494, "end": 1495, "loc": { "start": { "line": 41, "column": 18 }, "end": { "line": 41, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 1495, "end": 1502, "loc": { "start": { "line": 41, "column": 19 }, "end": { "line": 41, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1502, "end": 1503, "loc": { "start": { "line": 41, "column": 26 }, "end": { "line": 41, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalAlpha", "start": 1503, "end": 1514, "loc": { "start": { "line": 41, "column": 27 }, "end": { "line": 41, "column": 38 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1515, "end": 1516, "loc": { "start": { "line": 41, "column": 39 }, "end": { "line": 41, "column": 40 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.5, "start": 1517, "end": 1520, "loc": { "start": { "line": 41, "column": 41 }, "end": { "line": 41, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1520, "end": 1521, "loc": { "start": { "line": 41, "column": 44 }, "end": { "line": 41, "column": 45 } } }, { "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": 1533, "end": 1535, "loc": { "start": { "line": 43, "column": 8 }, "end": { "line": 43, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1536, "end": 1537, "loc": { "start": { "line": 43, "column": 11 }, "end": { "line": 43, "column": 12 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1537, "end": 1541, "loc": { "start": { "line": 43, "column": 12 }, "end": { "line": 43, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1541, "end": 1542, "loc": { "start": { "line": 43, "column": 16 }, "end": { "line": 43, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 1542, "end": 1546, "loc": { "start": { "line": 43, "column": 17 }, "end": { "line": 43, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1546, "end": 1547, "loc": { "start": { "line": 43, "column": 21 }, "end": { "line": 43, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "app", "start": 1547, "end": 1550, "loc": { "start": { "line": 43, "column": 22 }, "end": { "line": 43, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1550, "end": 1551, "loc": { "start": { "line": 43, "column": 25 }, "end": { "line": 43, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "settings", "start": 1551, "end": 1559, "loc": { "start": { "line": 43, "column": 26 }, "end": { "line": 43, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1559, "end": 1560, "loc": { "start": { "line": 43, "column": 34 }, "end": { "line": 43, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getAllSettings", "start": 1560, "end": 1574, "loc": { "start": { "line": 43, "column": 35 }, "end": { "line": 43, "column": 49 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1574, "end": 1575, "loc": { "start": { "line": 43, "column": 49 }, "end": { "line": 43, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1575, "end": 1576, "loc": { "start": { "line": 43, "column": 50 }, "end": { "line": 43, "column": 51 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1576, "end": 1577, "loc": { "start": { "line": 43, "column": 51 }, "end": { "line": 43, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lowQualityMapResources", "start": 1577, "end": 1599, "loc": { "start": { "line": 43, "column": 52 }, "end": { "line": 43, "column": 74 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1599, "end": 1600, "loc": { "start": { "line": 43, "column": 74 }, "end": { "line": 43, "column": 75 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1601, "end": 1602, "loc": { "start": { "line": 43, "column": 76 }, "end": { "line": 43, "column": 77 } } }, { "type": "CommentLine", "value": " LOW QUALITY: Draw patch items only", "start": 1616, "end": 1653, "loc": { "start": { "line": 44, "column": 12 }, "end": { "line": 44, "column": 49 } } }, { "type": { "label": "for", "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "for", "start": 1667, "end": 1670, "loc": { "start": { "line": 45, "column": 12 }, "end": { "line": 45, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1671, "end": 1672, "loc": { "start": { "line": 45, "column": 16 }, "end": { "line": 45, "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": 1672, "end": 1675, "loc": { "start": { "line": 45, "column": 17 }, "end": { "line": 45, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 1676, "end": 1677, "loc": { "start": { "line": 45, "column": 21 }, "end": { "line": 45, "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": 45, "column": 23 }, "end": { "line": 45, "column": 24 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 1680, "end": 1681, "loc": { "start": { "line": 45, "column": 25 }, "end": { "line": 45, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1681, "end": 1682, "loc": { "start": { "line": 45, "column": 26 }, "end": { "line": 45, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 1683, "end": 1684, "loc": { "start": { "line": 45, "column": 28 }, "end": { "line": 45, "column": 29 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 1685, "end": 1686, "loc": { "start": { "line": 45, "column": 30 }, "end": { "line": 45, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "chunk", "start": 1687, "end": 1692, "loc": { "start": { "line": 45, "column": 32 }, "end": { "line": 45, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1692, "end": 1693, "loc": { "start": { "line": 45, "column": 37 }, "end": { "line": 45, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "patches", "start": 1693, "end": 1700, "loc": { "start": { "line": 45, "column": 38 }, "end": { "line": 45, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1700, "end": 1701, "loc": { "start": { "line": 45, "column": 45 }, "end": { "line": 45, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 1701, "end": 1707, "loc": { "start": { "line": 45, "column": 46 }, "end": { "line": 45, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1707, "end": 1708, "loc": { "start": { "line": 45, "column": 52 }, "end": { "line": 45, "column": 53 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 1709, "end": 1711, "loc": { "start": { "line": 45, "column": 54 }, "end": { "line": 45, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 1711, "end": 1712, "loc": { "start": { "line": 45, "column": 56 }, "end": { "line": 45, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1712, "end": 1713, "loc": { "start": { "line": 45, "column": 57 }, "end": { "line": 45, "column": 58 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1714, "end": 1715, "loc": { "start": { "line": 45, "column": 59 }, "end": { "line": 45, "column": 60 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 1733, "end": 1738, "loc": { "start": { "line": 46, "column": 16 }, "end": { "line": 46, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "patch", "start": 1739, "end": 1744, "loc": { "start": { "line": 46, "column": 22 }, "end": { "line": 46, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1745, "end": 1746, "loc": { "start": { "line": 46, "column": 28 }, "end": { "line": 46, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "chunk", "start": 1747, "end": 1752, "loc": { "start": { "line": 46, "column": 30 }, "end": { "line": 46, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1752, "end": 1753, "loc": { "start": { "line": 46, "column": 35 }, "end": { "line": 46, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "patches", "start": 1753, "end": 1760, "loc": { "start": { "line": 46, "column": 36 }, "end": { "line": 46, "column": 43 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1760, "end": 1761, "loc": { "start": { "line": 46, "column": 43 }, "end": { "line": 46, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 1761, "end": 1762, "loc": { "start": { "line": 46, "column": 44 }, "end": { "line": 46, "column": 45 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1762, "end": 1763, "loc": { "start": { "line": 46, "column": 45 }, "end": { "line": 46, "column": 46 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1763, "end": 1764, "loc": { "start": { "line": 46, "column": 46 }, "end": { "line": 46, "column": 47 } } }, { "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": 1782, "end": 1787, "loc": { "start": { "line": 47, "column": 16 }, "end": { "line": 47, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "destX", "start": 1788, "end": 1793, "loc": { "start": { "line": 47, "column": 22 }, "end": { "line": 47, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1794, "end": 1795, "loc": { "start": { "line": 47, "column": 28 }, "end": { "line": 47, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "chunk", "start": 1796, "end": 1801, "loc": { "start": { "line": 47, "column": 30 }, "end": { "line": 47, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1801, "end": 1802, "loc": { "start": { "line": 47, "column": 35 }, "end": { "line": 47, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 1802, "end": 1803, "loc": { "start": { "line": 47, "column": 36 }, "end": { "line": 47, "column": 37 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 1804, "end": 1805, "loc": { "start": { "line": 47, "column": 38 }, "end": { "line": 47, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 1806, "end": 1818, "loc": { "start": { "line": 47, "column": 40 }, "end": { "line": 47, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1818, "end": 1819, "loc": { "start": { "line": 47, "column": 52 }, "end": { "line": 47, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapChunkWorldSize", "start": 1819, "end": 1836, "loc": { "start": { "line": 47, "column": 53 }, "end": { "line": 47, "column": 70 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 1837, "end": 1838, "loc": { "start": { "line": 47, "column": 71 }, "end": { "line": 47, "column": 72 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "patch", "start": 1839, "end": 1844, "loc": { "start": { "line": 47, "column": 73 }, "end": { "line": 47, "column": 78 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1844, "end": 1845, "loc": { "start": { "line": 47, "column": 78 }, "end": { "line": 47, "column": 79 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pos", "start": 1845, "end": 1848, "loc": { "start": { "line": 47, "column": 79 }, "end": { "line": 47, "column": 82 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1848, "end": 1849, "loc": { "start": { "line": 47, "column": 82 }, "end": { "line": 47, "column": 83 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 1849, "end": 1850, "loc": { "start": { "line": 47, "column": 83 }, "end": { "line": 47, "column": 84 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 1851, "end": 1852, "loc": { "start": { "line": 47, "column": 85 }, "end": { "line": 47, "column": 86 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 1853, "end": 1865, "loc": { "start": { "line": 47, "column": 87 }, "end": { "line": 47, "column": 99 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1865, "end": 1866, "loc": { "start": { "line": 47, "column": 99 }, "end": { "line": 47, "column": 100 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tileSize", "start": 1866, "end": 1874, "loc": { "start": { "line": 47, "column": 100 }, "end": { "line": 47, "column": 108 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1874, "end": 1875, "loc": { "start": { "line": 47, "column": 108 }, "end": { "line": 47, "column": 109 } } }, { "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": 1893, "end": 1898, "loc": { "start": { "line": 48, "column": 16 }, "end": { "line": 48, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "destY", "start": 1899, "end": 1904, "loc": { "start": { "line": 48, "column": 22 }, "end": { "line": 48, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1905, "end": 1906, "loc": { "start": { "line": 48, "column": 28 }, "end": { "line": 48, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "chunk", "start": 1907, "end": 1912, "loc": { "start": { "line": 48, "column": 30 }, "end": { "line": 48, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1912, "end": 1913, "loc": { "start": { "line": 48, "column": 35 }, "end": { "line": 48, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 1913, "end": 1914, "loc": { "start": { "line": 48, "column": 36 }, "end": { "line": 48, "column": 37 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 1915, "end": 1916, "loc": { "start": { "line": 48, "column": 38 }, "end": { "line": 48, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 1917, "end": 1929, "loc": { "start": { "line": 48, "column": 40 }, "end": { "line": 48, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1929, "end": 1930, "loc": { "start": { "line": 48, "column": 52 }, "end": { "line": 48, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapChunkWorldSize", "start": 1930, "end": 1947, "loc": { "start": { "line": 48, "column": 53 }, "end": { "line": 48, "column": 70 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 1948, "end": 1949, "loc": { "start": { "line": 48, "column": 71 }, "end": { "line": 48, "column": 72 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "patch", "start": 1950, "end": 1955, "loc": { "start": { "line": 48, "column": 73 }, "end": { "line": 48, "column": 78 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1955, "end": 1956, "loc": { "start": { "line": 48, "column": 78 }, "end": { "line": 48, "column": 79 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pos", "start": 1956, "end": 1959, "loc": { "start": { "line": 48, "column": 79 }, "end": { "line": 48, "column": 82 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1959, "end": 1960, "loc": { "start": { "line": 48, "column": 82 }, "end": { "line": 48, "column": 83 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 1960, "end": 1961, "loc": { "start": { "line": 48, "column": 83 }, "end": { "line": 48, "column": 84 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 1962, "end": 1963, "loc": { "start": { "line": 48, "column": 85 }, "end": { "line": 48, "column": 86 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 1964, "end": 1976, "loc": { "start": { "line": 48, "column": 87 }, "end": { "line": 48, "column": 99 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1976, "end": 1977, "loc": { "start": { "line": 48, "column": 99 }, "end": { "line": 48, "column": 100 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tileSize", "start": 1977, "end": 1985, "loc": { "start": { "line": 48, "column": 100 }, "end": { "line": 48, "column": 108 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1985, "end": 1986, "loc": { "start": { "line": 48, "column": 108 }, "end": { "line": 48, "column": 109 } } }, { "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": 2004, "end": 2009, "loc": { "start": { "line": 49, "column": 16 }, "end": { "line": 49, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "diameter", "start": 2010, "end": 2018, "loc": { "start": { "line": 49, "column": 22 }, "end": { "line": 49, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2019, "end": 2020, "loc": { "start": { "line": 49, "column": 31 }, "end": { "line": 49, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 2021, "end": 2025, "loc": { "start": { "line": 49, "column": 33 }, "end": { "line": 49, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2025, "end": 2026, "loc": { "start": { "line": 49, "column": 37 }, "end": { "line": 49, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "min", "start": 2026, "end": 2029, "loc": { "start": { "line": 49, "column": 38 }, "end": { "line": 49, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2029, "end": 2030, "loc": { "start": { "line": 49, "column": 41 }, "end": { "line": 49, "column": 42 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 80, "start": 2030, "end": 2032, "loc": { "start": { "line": 49, "column": 42 }, "end": { "line": 49, "column": 44 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2032, "end": 2033, "loc": { "start": { "line": 49, "column": 44 }, "end": { "line": 49, "column": 45 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 40, "start": 2034, "end": 2036, "loc": { "start": { "line": 49, "column": 46 }, "end": { "line": 49, "column": 48 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 2037, "end": 2038, "loc": { "start": { "line": 49, "column": 49 }, "end": { "line": 49, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 2039, "end": 2049, "loc": { "start": { "line": 49, "column": 51 }, "end": { "line": 49, "column": 61 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2049, "end": 2050, "loc": { "start": { "line": 49, "column": 61 }, "end": { "line": 49, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "zoomLevel", "start": 2050, "end": 2059, "loc": { "start": { "line": 49, "column": 62 }, "end": { "line": 49, "column": 71 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2059, "end": 2060, "loc": { "start": { "line": 49, "column": 71 }, "end": { "line": 49, "column": 72 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2060, "end": 2061, "loc": { "start": { "line": 49, "column": 72 }, "end": { "line": 49, "column": 73 } } }, { "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": 2081, "end": 2083, "loc": { "start": { "line": 51, "column": 16 }, "end": { "line": 51, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2084, "end": 2085, "loc": { "start": { "line": 51, "column": 19 }, "end": { "line": 51, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "patch", "start": 2085, "end": 2090, "loc": { "start": { "line": 51, "column": 20 }, "end": { "line": 51, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2090, "end": 2091, "loc": { "start": { "line": 51, "column": 25 }, "end": { "line": 51, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 2091, "end": 2095, "loc": { "start": { "line": 51, "column": 26 }, "end": { "line": 51, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2095, "end": 2096, "loc": { "start": { "line": 51, "column": 30 }, "end": { "line": 51, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "drawItemCenteredClipped", "start": 2096, "end": 2119, "loc": { "start": { "line": 51, "column": 31 }, "end": { "line": 51, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2119, "end": 2120, "loc": { "start": { "line": 51, "column": 54 }, "end": { "line": 51, "column": 55 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2121, "end": 2122, "loc": { "start": { "line": 51, "column": 56 }, "end": { "line": 51, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "patch", "start": 2144, "end": 2149, "loc": { "start": { "line": 52, "column": 20 }, "end": { "line": 52, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2149, "end": 2150, "loc": { "start": { "line": 52, "column": 25 }, "end": { "line": 52, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 2150, "end": 2154, "loc": { "start": { "line": 52, "column": 26 }, "end": { "line": 52, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2154, "end": 2155, "loc": { "start": { "line": 52, "column": 30 }, "end": { "line": 52, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "drawItemCenteredClipped", "start": 2155, "end": 2178, "loc": { "start": { "line": 52, "column": 31 }, "end": { "line": 52, "column": 54 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2178, "end": 2179, "loc": { "start": { "line": 52, "column": 54 }, "end": { "line": 52, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "destX", "start": 2179, "end": 2184, "loc": { "start": { "line": 52, "column": 55 }, "end": { "line": 52, "column": 60 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2184, "end": 2185, "loc": { "start": { "line": 52, "column": 60 }, "end": { "line": 52, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "destY", "start": 2186, "end": 2191, "loc": { "start": { "line": 52, "column": 62 }, "end": { "line": 52, "column": 67 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2191, "end": 2192, "loc": { "start": { "line": 52, "column": 67 }, "end": { "line": 52, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 2193, "end": 2203, "loc": { "start": { "line": 52, "column": 69 }, "end": { "line": 52, "column": 79 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2203, "end": 2204, "loc": { "start": { "line": 52, "column": 79 }, "end": { "line": 52, "column": 80 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "diameter", "start": 2205, "end": 2213, "loc": { "start": { "line": 52, "column": 81 }, "end": { "line": 52, "column": 89 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2213, "end": 2214, "loc": { "start": { "line": 52, "column": 89 }, "end": { "line": 52, "column": 90 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2214, "end": 2215, "loc": { "start": { "line": 52, "column": 90 }, "end": { "line": 52, "column": 91 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2233, "end": 2234, "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": 2248, "end": 2249, "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": 2259, "end": 2260, "loc": { "start": { "line": 55, "column": 8 }, "end": { "line": 55, "column": 9 } } }, { "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": 2261, "end": 2265, "loc": { "start": { "line": 55, "column": 10 }, "end": { "line": 55, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2266, "end": 2267, "loc": { "start": { "line": 55, "column": 15 }, "end": { "line": 55, "column": 16 } } }, { "type": "CommentLine", "value": " HIGH QUALITY: Draw all items", "start": 2281, "end": 2312, "loc": { "start": { "line": 56, "column": 12 }, "end": { "line": 56, "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": 2326, "end": 2331, "loc": { "start": { "line": 57, "column": 12 }, "end": { "line": 57, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layer", "start": 2332, "end": 2337, "loc": { "start": { "line": 57, "column": 18 }, "end": { "line": 57, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2338, "end": 2339, "loc": { "start": { "line": 57, "column": 24 }, "end": { "line": 57, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "chunk", "start": 2340, "end": 2345, "loc": { "start": { "line": 57, "column": 26 }, "end": { "line": 57, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2345, "end": 2346, "loc": { "start": { "line": 57, "column": 31 }, "end": { "line": 57, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lowerLayer", "start": 2346, "end": 2356, "loc": { "start": { "line": 57, "column": 32 }, "end": { "line": 57, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2356, "end": 2357, "loc": { "start": { "line": 57, "column": 42 }, "end": { "line": 57, "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": 2371, "end": 2376, "loc": { "start": { "line": 58, "column": 12 }, "end": { "line": 58, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layerEntities", "start": 2377, "end": 2390, "loc": { "start": { "line": 58, "column": 18 }, "end": { "line": 58, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2391, "end": 2392, "loc": { "start": { "line": 58, "column": 32 }, "end": { "line": 58, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "chunk", "start": 2393, "end": 2398, "loc": { "start": { "line": 58, "column": 34 }, "end": { "line": 58, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2398, "end": 2399, "loc": { "start": { "line": 58, "column": 39 }, "end": { "line": 58, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contents", "start": 2399, "end": 2407, "loc": { "start": { "line": 58, "column": 40 }, "end": { "line": 58, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2407, "end": 2408, "loc": { "start": { "line": 58, "column": 48 }, "end": { "line": 58, "column": 49 } } }, { "type": { "label": "for", "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "for", "start": 2422, "end": 2425, "loc": { "start": { "line": 59, "column": 12 }, "end": { "line": 59, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2426, "end": 2427, "loc": { "start": { "line": 59, "column": 16 }, "end": { "line": 59, "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": 2427, "end": 2430, "loc": { "start": { "line": 59, "column": 17 }, "end": { "line": 59, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 2431, "end": 2432, "loc": { "start": { "line": 59, "column": 21 }, "end": { "line": 59, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2433, "end": 2434, "loc": { "start": { "line": 59, "column": 23 }, "end": { "line": 59, "column": 24 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 2435, "end": 2436, "loc": { "start": { "line": 59, "column": 25 }, "end": { "line": 59, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2436, "end": 2437, "loc": { "start": { "line": 59, "column": 26 }, "end": { "line": 59, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 2438, "end": 2439, "loc": { "start": { "line": 59, "column": 28 }, "end": { "line": 59, "column": 29 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 2440, "end": 2441, "loc": { "start": { "line": 59, "column": 30 }, "end": { "line": 59, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 2442, "end": 2454, "loc": { "start": { "line": 59, "column": 32 }, "end": { "line": 59, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2454, "end": 2455, "loc": { "start": { "line": 59, "column": 44 }, "end": { "line": 59, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapChunkSize", "start": 2455, "end": 2467, "loc": { "start": { "line": 59, "column": 45 }, "end": { "line": 59, "column": 57 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2467, "end": 2468, "loc": { "start": { "line": 59, "column": 57 }, "end": { "line": 59, "column": 58 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 2469, "end": 2471, "loc": { "start": { "line": 59, "column": 59 }, "end": { "line": 59, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 2471, "end": 2472, "loc": { "start": { "line": 59, "column": 61 }, "end": { "line": 59, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2472, "end": 2473, "loc": { "start": { "line": 59, "column": 62 }, "end": { "line": 59, "column": 63 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2474, "end": 2475, "loc": { "start": { "line": 59, "column": 64 }, "end": { "line": 59, "column": 65 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 2493, "end": 2498, "loc": { "start": { "line": 60, "column": 16 }, "end": { "line": 60, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "row", "start": 2499, "end": 2502, "loc": { "start": { "line": 60, "column": 22 }, "end": { "line": 60, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2503, "end": 2504, "loc": { "start": { "line": 60, "column": 26 }, "end": { "line": 60, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layer", "start": 2505, "end": 2510, "loc": { "start": { "line": 60, "column": 28 }, "end": { "line": 60, "column": 33 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2510, "end": 2511, "loc": { "start": { "line": 60, "column": 33 }, "end": { "line": 60, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 2511, "end": 2512, "loc": { "start": { "line": 60, "column": 34 }, "end": { "line": 60, "column": 35 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2512, "end": 2513, "loc": { "start": { "line": 60, "column": 35 }, "end": { "line": 60, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2513, "end": 2514, "loc": { "start": { "line": 60, "column": 36 }, "end": { "line": 60, "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": 2532, "end": 2537, "loc": { "start": { "line": 61, "column": 16 }, "end": { "line": 61, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rowEntities", "start": 2538, "end": 2549, "loc": { "start": { "line": 61, "column": 22 }, "end": { "line": 61, "column": 33 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2550, "end": 2551, "loc": { "start": { "line": 61, "column": 34 }, "end": { "line": 61, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layerEntities", "start": 2552, "end": 2565, "loc": { "start": { "line": 61, "column": 36 }, "end": { "line": 61, "column": 49 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2565, "end": 2566, "loc": { "start": { "line": 61, "column": 49 }, "end": { "line": 61, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 2566, "end": 2567, "loc": { "start": { "line": 61, "column": 50 }, "end": { "line": 61, "column": 51 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2567, "end": 2568, "loc": { "start": { "line": 61, "column": 51 }, "end": { "line": 61, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2568, "end": 2569, "loc": { "start": { "line": 61, "column": 52 }, "end": { "line": 61, "column": 53 } } }, { "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": 2587, "end": 2592, "loc": { "start": { "line": 62, "column": 16 }, "end": { "line": 62, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldX", "start": 2593, "end": 2599, "loc": { "start": { "line": 62, "column": 22 }, "end": { "line": 62, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2600, "end": 2601, "loc": { "start": { "line": 62, "column": 29 }, "end": { "line": 62, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2602, "end": 2603, "loc": { "start": { "line": 62, "column": 31 }, "end": { "line": 62, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "chunk", "start": 2603, "end": 2608, "loc": { "start": { "line": 62, "column": 32 }, "end": { "line": 62, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2608, "end": 2609, "loc": { "start": { "line": 62, "column": 37 }, "end": { "line": 62, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tileX", "start": 2609, "end": 2614, "loc": { "start": { "line": 62, "column": 38 }, "end": { "line": 62, "column": 43 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 2615, "end": 2616, "loc": { "start": { "line": 62, "column": 44 }, "end": { "line": 62, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 2617, "end": 2618, "loc": { "start": { "line": 62, "column": 46 }, "end": { "line": 62, "column": 47 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2618, "end": 2619, "loc": { "start": { "line": 62, "column": 47 }, "end": { "line": 62, "column": 48 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 2620, "end": 2621, "loc": { "start": { "line": 62, "column": 49 }, "end": { "line": 62, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 2622, "end": 2634, "loc": { "start": { "line": 62, "column": 51 }, "end": { "line": 62, "column": 63 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2634, "end": 2635, "loc": { "start": { "line": 62, "column": 63 }, "end": { "line": 62, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tileSize", "start": 2635, "end": 2643, "loc": { "start": { "line": 62, "column": 64 }, "end": { "line": 62, "column": 72 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2643, "end": 2644, "loc": { "start": { "line": 62, "column": 72 }, "end": { "line": 62, "column": 73 } } }, { "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": 2662, "end": 2665, "loc": { "start": { "line": 63, "column": 16 }, "end": { "line": 63, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2666, "end": 2667, "loc": { "start": { "line": 63, "column": 20 }, "end": { "line": 63, "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": 2667, "end": 2670, "loc": { "start": { "line": 63, "column": 21 }, "end": { "line": 63, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 2671, "end": 2672, "loc": { "start": { "line": 63, "column": 25 }, "end": { "line": 63, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2673, "end": 2674, "loc": { "start": { "line": 63, "column": 27 }, "end": { "line": 63, "column": 28 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 2675, "end": 2676, "loc": { "start": { "line": 63, "column": 29 }, "end": { "line": 63, "column": 30 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2676, "end": 2677, "loc": { "start": { "line": 63, "column": 30 }, "end": { "line": 63, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 2678, "end": 2679, "loc": { "start": { "line": 63, "column": 32 }, "end": { "line": 63, "column": 33 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 2680, "end": 2681, "loc": { "start": { "line": 63, "column": 34 }, "end": { "line": 63, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 2682, "end": 2694, "loc": { "start": { "line": 63, "column": 36 }, "end": { "line": 63, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2694, "end": 2695, "loc": { "start": { "line": 63, "column": 48 }, "end": { "line": 63, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapChunkSize", "start": 2695, "end": 2707, "loc": { "start": { "line": 63, "column": 49 }, "end": { "line": 63, "column": 61 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2707, "end": 2708, "loc": { "start": { "line": 63, "column": 61 }, "end": { "line": 63, "column": 62 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 2709, "end": 2711, "loc": { "start": { "line": 63, "column": 63 }, "end": { "line": 63, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 2711, "end": 2712, "loc": { "start": { "line": 63, "column": 65 }, "end": { "line": 63, "column": 66 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2712, "end": 2713, "loc": { "start": { "line": 63, "column": 66 }, "end": { "line": 63, "column": 67 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2714, "end": 2715, "loc": { "start": { "line": 63, "column": 68 }, "end": { "line": 63, "column": 69 } } }, { "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": 2737, "end": 2742, "loc": { "start": { "line": 64, "column": 20 }, "end": { "line": 64, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lowerItem", "start": 2743, "end": 2752, "loc": { "start": { "line": 64, "column": 26 }, "end": { "line": 64, "column": 35 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2753, "end": 2754, "loc": { "start": { "line": 64, "column": 36 }, "end": { "line": 64, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "row", "start": 2755, "end": 2758, "loc": { "start": { "line": 64, "column": 38 }, "end": { "line": 64, "column": 41 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2758, "end": 2759, "loc": { "start": { "line": 64, "column": 41 }, "end": { "line": 64, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 2759, "end": 2760, "loc": { "start": { "line": 64, "column": 42 }, "end": { "line": 64, "column": 43 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2760, "end": 2761, "loc": { "start": { "line": 64, "column": 43 }, "end": { "line": 64, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2761, "end": 2762, "loc": { "start": { "line": 64, "column": 44 }, "end": { "line": 64, "column": 45 } } }, { "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": 2786, "end": 2791, "loc": { "start": { "line": 66, "column": 20 }, "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": "entity", "start": 2792, "end": 2798, "loc": { "start": { "line": 66, "column": 26 }, "end": { "line": 66, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2799, "end": 2800, "loc": { "start": { "line": 66, "column": 33 }, "end": { "line": 66, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rowEntities", "start": 2801, "end": 2812, "loc": { "start": { "line": 66, "column": 35 }, "end": { "line": 66, "column": 46 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2812, "end": 2813, "loc": { "start": { "line": 66, "column": 46 }, "end": { "line": 66, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 2813, "end": 2814, "loc": { "start": { "line": 66, "column": 47 }, "end": { "line": 66, "column": 48 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2814, "end": 2815, "loc": { "start": { "line": 66, "column": 48 }, "end": { "line": 66, "column": 49 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2815, "end": 2816, "loc": { "start": { "line": 66, "column": 49 }, "end": { "line": 66, "column": 50 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 2838, "end": 2840, "loc": { "start": { "line": 67, "column": 20 }, "end": { "line": 67, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2841, "end": 2842, "loc": { "start": { "line": 67, "column": 23 }, "end": { "line": 67, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 2842, "end": 2848, "loc": { "start": { "line": 67, "column": 24 }, "end": { "line": 67, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2848, "end": 2849, "loc": { "start": { "line": 67, "column": 30 }, "end": { "line": 67, "column": 31 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2850, "end": 2851, "loc": { "start": { "line": 67, "column": 32 }, "end": { "line": 67, "column": 33 } } }, { "type": "CommentLine", "value": " Don't draw if there is an entity above", "start": 2877, "end": 2918, "loc": { "start": { "line": 68, "column": 24 }, "end": { "line": 68, "column": 65 } } }, { "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": 2944, "end": 2952, "loc": { "start": { "line": 69, "column": 24 }, "end": { "line": 69, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2952, "end": 2953, "loc": { "start": { "line": 69, "column": 32 }, "end": { "line": 69, "column": 33 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2975, "end": 2976, "loc": { "start": { "line": 70, "column": 20 }, "end": { "line": 70, "column": 21 } } }, { "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": 3000, "end": 3002, "loc": { "start": { "line": 72, "column": 20 }, "end": { "line": 72, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3003, "end": 3004, "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": "lowerItem", "start": 3004, "end": 3013, "loc": { "start": { "line": 72, "column": 24 }, "end": { "line": 72, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3013, "end": 3014, "loc": { "start": { "line": 72, "column": 33 }, "end": { "line": 72, "column": 34 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3015, "end": 3016, "loc": { "start": { "line": 72, "column": 35 }, "end": { "line": 72, "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": 3042, "end": 3047, "loc": { "start": { "line": 73, "column": 24 }, "end": { "line": 73, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldY", "start": 3048, "end": 3054, "loc": { "start": { "line": 73, "column": 30 }, "end": { "line": 73, "column": 36 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3055, "end": 3056, "loc": { "start": { "line": 73, "column": 37 }, "end": { "line": 73, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3057, "end": 3058, "loc": { "start": { "line": 73, "column": 39 }, "end": { "line": 73, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "chunk", "start": 3058, "end": 3063, "loc": { "start": { "line": 73, "column": 40 }, "end": { "line": 73, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3063, "end": 3064, "loc": { "start": { "line": 73, "column": 45 }, "end": { "line": 73, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tileY", "start": 3064, "end": 3069, "loc": { "start": { "line": 73, "column": 46 }, "end": { "line": 73, "column": 51 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 3070, "end": 3071, "loc": { "start": { "line": 73, "column": 52 }, "end": { "line": 73, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 3072, "end": 3073, "loc": { "start": { "line": 73, "column": 54 }, "end": { "line": 73, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3073, "end": 3074, "loc": { "start": { "line": 73, "column": 55 }, "end": { "line": 73, "column": 56 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 3075, "end": 3076, "loc": { "start": { "line": 73, "column": 57 }, "end": { "line": 73, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 3077, "end": 3089, "loc": { "start": { "line": 73, "column": 59 }, "end": { "line": 73, "column": 71 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3089, "end": 3090, "loc": { "start": { "line": 73, "column": 71 }, "end": { "line": 73, "column": 72 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tileSize", "start": 3090, "end": 3098, "loc": { "start": { "line": 73, "column": 72 }, "end": { "line": 73, "column": 80 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3098, "end": 3099, "loc": { "start": { "line": 73, "column": 80 }, "end": { "line": 73, "column": 81 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 3127, "end": 3132, "loc": { "start": { "line": 75, "column": 24 }, "end": { "line": 75, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "destX", "start": 3133, "end": 3138, "loc": { "start": { "line": 75, "column": 30 }, "end": { "line": 75, "column": 35 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3139, "end": 3140, "loc": { "start": { "line": 75, "column": 36 }, "end": { "line": 75, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldX", "start": 3141, "end": 3147, "loc": { "start": { "line": 75, "column": 38 }, "end": { "line": 75, "column": 44 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 3148, "end": 3149, "loc": { "start": { "line": 75, "column": 45 }, "end": { "line": 75, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 3150, "end": 3162, "loc": { "start": { "line": 75, "column": 47 }, "end": { "line": 75, "column": 59 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3162, "end": 3163, "loc": { "start": { "line": 75, "column": 59 }, "end": { "line": 75, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "halfTileSize", "start": 3163, "end": 3175, "loc": { "start": { "line": 75, "column": 60 }, "end": { "line": 75, "column": 72 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3175, "end": 3176, "loc": { "start": { "line": 75, "column": 72 }, "end": { "line": 75, "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": 3202, "end": 3207, "loc": { "start": { "line": 76, "column": 24 }, "end": { "line": 76, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "destY", "start": 3208, "end": 3213, "loc": { "start": { "line": 76, "column": 30 }, "end": { "line": 76, "column": 35 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3214, "end": 3215, "loc": { "start": { "line": 76, "column": 36 }, "end": { "line": 76, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldY", "start": 3216, "end": 3222, "loc": { "start": { "line": 76, "column": 38 }, "end": { "line": 76, "column": 44 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 3223, "end": 3224, "loc": { "start": { "line": 76, "column": 45 }, "end": { "line": 76, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 3225, "end": 3237, "loc": { "start": { "line": 76, "column": 47 }, "end": { "line": 76, "column": 59 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3237, "end": 3238, "loc": { "start": { "line": 76, "column": 59 }, "end": { "line": 76, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "halfTileSize", "start": 3238, "end": 3250, "loc": { "start": { "line": 76, "column": 60 }, "end": { "line": 76, "column": 72 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3250, "end": 3251, "loc": { "start": { "line": 76, "column": 72 }, "end": { "line": 76, "column": 73 } } }, { "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": 3279, "end": 3281, "loc": { "start": { "line": 78, "column": 24 }, "end": { "line": 78, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3282, "end": 3283, "loc": { "start": { "line": 78, "column": 27 }, "end": { "line": 78, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lowerItem", "start": 3283, "end": 3292, "loc": { "start": { "line": 78, "column": 28 }, "end": { "line": 78, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3292, "end": 3293, "loc": { "start": { "line": 78, "column": 37 }, "end": { "line": 78, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "drawItemCenteredClipped", "start": 3293, "end": 3316, "loc": { "start": { "line": 78, "column": 38 }, "end": { "line": 78, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3316, "end": 3317, "loc": { "start": { "line": 78, "column": 61 }, "end": { "line": 78, "column": 62 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3318, "end": 3319, "loc": { "start": { "line": 78, "column": 63 }, "end": { "line": 78, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lowerItem", "start": 3349, "end": 3358, "loc": { "start": { "line": 79, "column": 28 }, "end": { "line": 79, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3358, "end": 3359, "loc": { "start": { "line": 79, "column": 37 }, "end": { "line": 79, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "drawItemCenteredClipped", "start": 3359, "end": 3382, "loc": { "start": { "line": 79, "column": 38 }, "end": { "line": 79, "column": 61 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3382, "end": 3383, "loc": { "start": { "line": 79, "column": 61 }, "end": { "line": 79, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "destX", "start": 3417, "end": 3422, "loc": { "start": { "line": 80, "column": 32 }, "end": { "line": 80, "column": 37 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3422, "end": 3423, "loc": { "start": { "line": 80, "column": 37 }, "end": { "line": 80, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "destY", "start": 3457, "end": 3462, "loc": { "start": { "line": 81, "column": 32 }, "end": { "line": 81, "column": 37 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3462, "end": 3463, "loc": { "start": { "line": 81, "column": 37 }, "end": { "line": 81, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 3497, "end": 3507, "loc": { "start": { "line": 82, "column": 32 }, "end": { "line": 82, "column": 42 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3507, "end": 3508, "loc": { "start": { "line": 82, "column": 42 }, "end": { "line": 82, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 3542, "end": 3554, "loc": { "start": { "line": 83, "column": 32 }, "end": { "line": 83, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3554, "end": 3555, "loc": { "start": { "line": 83, "column": 44 }, "end": { "line": 83, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "defaultItemDiameter", "start": 3555, "end": 3574, "loc": { "start": { "line": 83, "column": 45 }, "end": { "line": 83, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3604, "end": 3605, "loc": { "start": { "line": 84, "column": 28 }, "end": { "line": 84, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3605, "end": 3606, "loc": { "start": { "line": 84, "column": 29 }, "end": { "line": 84, "column": 30 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3632, "end": 3633, "loc": { "start": { "line": 85, "column": 24 }, "end": { "line": 85, "column": 25 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3655, "end": 3656, "loc": { "start": { "line": 86, "column": 20 }, "end": { "line": 86, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3674, "end": 3675, "loc": { "start": { "line": 87, "column": 16 }, "end": { "line": 87, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3689, "end": 3690, "loc": { "start": { "line": 88, "column": 12 }, "end": { "line": 88, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3700, "end": 3701, "loc": { "start": { "line": 89, "column": 8 }, "end": { "line": 89, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 3711, "end": 3721, "loc": { "start": { "line": 90, "column": 8 }, "end": { "line": 90, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3721, "end": 3722, "loc": { "start": { "line": 90, "column": 18 }, "end": { "line": 90, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 3722, "end": 3729, "loc": { "start": { "line": 90, "column": 19 }, "end": { "line": 90, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3729, "end": 3730, "loc": { "start": { "line": 90, "column": 26 }, "end": { "line": 90, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalAlpha", "start": 3730, "end": 3741, "loc": { "start": { "line": 90, "column": 27 }, "end": { "line": 90, "column": 38 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3742, "end": 3743, "loc": { "start": { "line": 90, "column": 39 }, "end": { "line": 90, "column": 40 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 3744, "end": 3745, "loc": { "start": { "line": 90, "column": 41 }, "end": { "line": 90, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3745, "end": 3746, "loc": { "start": { "line": 90, "column": 42 }, "end": { "line": 90, "column": 43 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3752, "end": 3753, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n *\r\n * @param {MapChunkView} chunk\r\n * @param {HTMLCanvasElement} canvas\r\n * @param {CanvasRenderingContext2D} context\r\n * @param {number} w\r\n * @param {number} h\r\n * @param {number} dpi\r\n ", "start": 3761, "end": 3989, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 101, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "generateChunkBackground", "start": 3995, "end": 4018, "loc": { "start": { "line": 102, "column": 4 }, "end": { "line": 102, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4018, "end": 4019, "loc": { "start": { "line": 102, "column": 27 }, "end": { "line": 102, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "chunk", "start": 4019, "end": 4024, "loc": { "start": { "line": 102, "column": 28 }, "end": { "line": 102, "column": 33 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4024, "end": 4025, "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": "canvas", "start": 4026, "end": 4032, "loc": { "start": { "line": 102, "column": 35 }, "end": { "line": 102, "column": 41 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4032, "end": 4033, "loc": { "start": { "line": 102, "column": 41 }, "end": { "line": 102, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 4034, "end": 4041, "loc": { "start": { "line": 102, "column": 43 }, "end": { "line": 102, "column": 50 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4041, "end": 4042, "loc": { "start": { "line": 102, "column": 50 }, "end": { "line": 102, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "w", "start": 4043, "end": 4044, "loc": { "start": { "line": 102, "column": 52 }, "end": { "line": 102, "column": 53 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4044, "end": 4045, "loc": { "start": { "line": 102, "column": 53 }, "end": { "line": 102, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "h", "start": 4046, "end": 4047, "loc": { "start": { "line": 102, "column": 55 }, "end": { "line": 102, "column": 56 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4047, "end": 4048, "loc": { "start": { "line": 102, "column": 56 }, "end": { "line": 102, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dpi", "start": 4049, "end": 4052, "loc": { "start": { "line": 102, "column": 58 }, "end": { "line": 102, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4052, "end": 4053, "loc": { "start": { "line": 102, "column": 61 }, "end": { "line": 102, "column": 62 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4054, "end": 4055, "loc": { "start": { "line": 102, "column": 63 }, "end": { "line": 102, "column": 64 } } }, { "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": 4065, "end": 4067, "loc": { "start": { "line": 103, "column": 8 }, "end": { "line": 103, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4068, "end": 4069, "loc": { "start": { "line": 103, "column": 11 }, "end": { "line": 103, "column": 12 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4069, "end": 4073, "loc": { "start": { "line": 103, "column": 12 }, "end": { "line": 103, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4073, "end": 4074, "loc": { "start": { "line": 103, "column": 16 }, "end": { "line": 103, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 4074, "end": 4078, "loc": { "start": { "line": 103, "column": 17 }, "end": { "line": 103, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4078, "end": 4079, "loc": { "start": { "line": 103, "column": 21 }, "end": { "line": 103, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "app", "start": 4079, "end": 4082, "loc": { "start": { "line": 103, "column": 22 }, "end": { "line": 103, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4082, "end": 4083, "loc": { "start": { "line": 103, "column": 25 }, "end": { "line": 103, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "settings", "start": 4083, "end": 4091, "loc": { "start": { "line": 103, "column": 26 }, "end": { "line": 103, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4091, "end": 4092, "loc": { "start": { "line": 103, "column": 34 }, "end": { "line": 103, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getAllSettings", "start": 4092, "end": 4106, "loc": { "start": { "line": 103, "column": 35 }, "end": { "line": 103, "column": 49 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4106, "end": 4107, "loc": { "start": { "line": 103, "column": 49 }, "end": { "line": 103, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4107, "end": 4108, "loc": { "start": { "line": 103, "column": 50 }, "end": { "line": 103, "column": 51 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4108, "end": 4109, "loc": { "start": { "line": 103, "column": 51 }, "end": { "line": 103, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "disableTileGrid", "start": 4109, "end": 4124, "loc": { "start": { "line": 103, "column": 52 }, "end": { "line": 103, "column": 67 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4124, "end": 4125, "loc": { "start": { "line": 103, "column": 67 }, "end": { "line": 103, "column": 68 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4126, "end": 4127, "loc": { "start": { "line": 103, "column": 69 }, "end": { "line": 103, "column": 70 } } }, { "type": "CommentLine", "value": " The map doesn't draw a background, so we have to", "start": 4141, "end": 4192, "loc": { "start": { "line": 104, "column": 12 }, "end": { "line": 104, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 4206, "end": 4213, "loc": { "start": { "line": 105, "column": 12 }, "end": { "line": 105, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4213, "end": 4214, "loc": { "start": { "line": 105, "column": 19 }, "end": { "line": 105, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fillStyle", "start": 4214, "end": 4223, "loc": { "start": { "line": 105, "column": 20 }, "end": { "line": 105, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4224, "end": 4225, "loc": { "start": { "line": 105, "column": 30 }, "end": { "line": 105, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "THEME", "start": 4226, "end": 4231, "loc": { "start": { "line": 105, "column": 32 }, "end": { "line": 105, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4231, "end": 4232, "loc": { "start": { "line": 105, "column": 37 }, "end": { "line": 105, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "map", "start": 4232, "end": 4235, "loc": { "start": { "line": 105, "column": 38 }, "end": { "line": 105, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4235, "end": 4236, "loc": { "start": { "line": 105, "column": 41 }, "end": { "line": 105, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "background", "start": 4236, "end": 4246, "loc": { "start": { "line": 105, "column": 42 }, "end": { "line": 105, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4246, "end": 4247, "loc": { "start": { "line": 105, "column": 52 }, "end": { "line": 105, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 4261, "end": 4268, "loc": { "start": { "line": 106, "column": 12 }, "end": { "line": 106, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4268, "end": 4269, "loc": { "start": { "line": 106, "column": 19 }, "end": { "line": 106, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fillRect", "start": 4269, "end": 4277, "loc": { "start": { "line": 106, "column": 20 }, "end": { "line": 106, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4277, "end": 4278, "loc": { "start": { "line": 106, "column": 28 }, "end": { "line": 106, "column": 29 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 4278, "end": 4279, "loc": { "start": { "line": 106, "column": 29 }, "end": { "line": 106, "column": 30 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4279, "end": 4280, "loc": { "start": { "line": 106, "column": 30 }, "end": { "line": 106, "column": 31 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 4281, "end": 4282, "loc": { "start": { "line": 106, "column": 32 }, "end": { "line": 106, "column": 33 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4282, "end": 4283, "loc": { "start": { "line": 106, "column": 33 }, "end": { "line": 106, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "w", "start": 4284, "end": 4285, "loc": { "start": { "line": 106, "column": 35 }, "end": { "line": 106, "column": 36 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4285, "end": 4286, "loc": { "start": { "line": 106, "column": 36 }, "end": { "line": 106, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "h", "start": 4287, "end": 4288, "loc": { "start": { "line": 106, "column": 38 }, "end": { "line": 106, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4288, "end": 4289, "loc": { "start": { "line": 106, "column": 39 }, "end": { "line": 106, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4289, "end": 4290, "loc": { "start": { "line": 106, "column": 40 }, "end": { "line": 106, "column": 41 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4300, "end": 4301, "loc": { "start": { "line": 107, "column": 8 }, "end": { "line": 107, "column": 9 } } }, { "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": 4302, "end": 4306, "loc": { "start": { "line": 107, "column": 10 }, "end": { "line": 107, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4307, "end": 4308, "loc": { "start": { "line": 107, "column": 15 }, "end": { "line": 107, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 4322, "end": 4329, "loc": { "start": { "line": 108, "column": 12 }, "end": { "line": 108, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4329, "end": 4330, "loc": { "start": { "line": 108, "column": 19 }, "end": { "line": 108, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clearRect", "start": 4330, "end": 4339, "loc": { "start": { "line": 108, "column": 20 }, "end": { "line": 108, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4339, "end": 4340, "loc": { "start": { "line": 108, "column": 29 }, "end": { "line": 108, "column": 30 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 4340, "end": 4341, "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": 4341, "end": 4342, "loc": { "start": { "line": 108, "column": 31 }, "end": { "line": 108, "column": 32 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 4343, "end": 4344, "loc": { "start": { "line": 108, "column": 33 }, "end": { "line": 108, "column": 34 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4344, "end": 4345, "loc": { "start": { "line": 108, "column": 34 }, "end": { "line": 108, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "w", "start": 4346, "end": 4347, "loc": { "start": { "line": 108, "column": 36 }, "end": { "line": 108, "column": 37 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4347, "end": 4348, "loc": { "start": { "line": 108, "column": 37 }, "end": { "line": 108, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "h", "start": 4349, "end": 4350, "loc": { "start": { "line": 108, "column": 39 }, "end": { "line": 108, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4350, "end": 4351, "loc": { "start": { "line": 108, "column": 40 }, "end": { "line": 108, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4351, "end": 4352, "loc": { "start": { "line": 108, "column": 41 }, "end": { "line": 108, "column": 42 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4362, "end": 4363, "loc": { "start": { "line": 109, "column": 8 }, "end": { "line": 109, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 4375, "end": 4382, "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": 4382, "end": 4383, "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": "globalAlpha", "start": 4383, "end": 4394, "loc": { "start": { "line": 111, "column": 16 }, "end": { "line": 111, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4395, "end": 4396, "loc": { "start": { "line": 111, "column": 28 }, "end": { "line": 111, "column": 29 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.5, "start": 4397, "end": 4400, "loc": { "start": { "line": 111, "column": 30 }, "end": { "line": 111, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4400, "end": 4401, "loc": { "start": { "line": 111, "column": 33 }, "end": { "line": 111, "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": 4411, "end": 4416, "loc": { "start": { "line": 112, "column": 8 }, "end": { "line": 112, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layer", "start": 4417, "end": 4422, "loc": { "start": { "line": 112, "column": 14 }, "end": { "line": 112, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4423, "end": 4424, "loc": { "start": { "line": 112, "column": 20 }, "end": { "line": 112, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "chunk", "start": 4425, "end": 4430, "loc": { "start": { "line": 112, "column": 22 }, "end": { "line": 112, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4430, "end": 4431, "loc": { "start": { "line": 112, "column": 27 }, "end": { "line": 112, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lowerLayer", "start": 4431, "end": 4441, "loc": { "start": { "line": 112, "column": 28 }, "end": { "line": 112, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4441, "end": 4442, "loc": { "start": { "line": 112, "column": 38 }, "end": { "line": 112, "column": 39 } } }, { "type": { "label": "for", "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "for", "start": 4452, "end": 4455, "loc": { "start": { "line": 113, "column": 8 }, "end": { "line": 113, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4456, "end": 4457, "loc": { "start": { "line": 113, "column": 12 }, "end": { "line": 113, "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": 4457, "end": 4460, "loc": { "start": { "line": 113, "column": 13 }, "end": { "line": 113, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 4461, "end": 4462, "loc": { "start": { "line": 113, "column": 17 }, "end": { "line": 113, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4463, "end": 4464, "loc": { "start": { "line": 113, "column": 19 }, "end": { "line": 113, "column": 20 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 4465, "end": 4466, "loc": { "start": { "line": 113, "column": 21 }, "end": { "line": 113, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4466, "end": 4467, "loc": { "start": { "line": 113, "column": 22 }, "end": { "line": 113, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 4468, "end": 4469, "loc": { "start": { "line": 113, "column": 24 }, "end": { "line": 113, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 4470, "end": 4471, "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": "globalConfig", "start": 4472, "end": 4484, "loc": { "start": { "line": 113, "column": 28 }, "end": { "line": 113, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4484, "end": 4485, "loc": { "start": { "line": 113, "column": 40 }, "end": { "line": 113, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapChunkSize", "start": 4485, "end": 4497, "loc": { "start": { "line": 113, "column": 41 }, "end": { "line": 113, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4497, "end": 4498, "loc": { "start": { "line": 113, "column": 53 }, "end": { "line": 113, "column": 54 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 4499, "end": 4501, "loc": { "start": { "line": 113, "column": 55 }, "end": { "line": 113, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 4501, "end": 4502, "loc": { "start": { "line": 113, "column": 57 }, "end": { "line": 113, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4502, "end": 4503, "loc": { "start": { "line": 113, "column": 58 }, "end": { "line": 113, "column": 59 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4504, "end": 4505, "loc": { "start": { "line": 113, "column": 60 }, "end": { "line": 113, "column": 61 } } }, { "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": 4519, "end": 4524, "loc": { "start": { "line": 114, "column": 12 }, "end": { "line": 114, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "row", "start": 4525, "end": 4528, "loc": { "start": { "line": 114, "column": 18 }, "end": { "line": 114, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4529, "end": 4530, "loc": { "start": { "line": 114, "column": 22 }, "end": { "line": 114, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layer", "start": 4531, "end": 4536, "loc": { "start": { "line": 114, "column": 24 }, "end": { "line": 114, "column": 29 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4536, "end": 4537, "loc": { "start": { "line": 114, "column": 29 }, "end": { "line": 114, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 4537, "end": 4538, "loc": { "start": { "line": 114, "column": 30 }, "end": { "line": 114, "column": 31 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4538, "end": 4539, "loc": { "start": { "line": 114, "column": 31 }, "end": { "line": 114, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4539, "end": 4540, "loc": { "start": { "line": 114, "column": 32 }, "end": { "line": 114, "column": 33 } } }, { "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": 4554, "end": 4557, "loc": { "start": { "line": 115, "column": 12 }, "end": { "line": 115, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4558, "end": 4559, "loc": { "start": { "line": 115, "column": 16 }, "end": { "line": 115, "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": 4559, "end": 4562, "loc": { "start": { "line": 115, "column": 17 }, "end": { "line": 115, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 4563, "end": 4564, "loc": { "start": { "line": 115, "column": 21 }, "end": { "line": 115, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4565, "end": 4566, "loc": { "start": { "line": 115, "column": 23 }, "end": { "line": 115, "column": 24 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 4567, "end": 4568, "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": 4568, "end": 4569, "loc": { "start": { "line": 115, "column": 26 }, "end": { "line": 115, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 4570, "end": 4571, "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": 7, "updateContext": null }, "value": "<", "start": 4572, "end": 4573, "loc": { "start": { "line": 115, "column": 30 }, "end": { "line": 115, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 4574, "end": 4586, "loc": { "start": { "line": 115, "column": 32 }, "end": { "line": 115, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4586, "end": 4587, "loc": { "start": { "line": 115, "column": 44 }, "end": { "line": 115, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapChunkSize", "start": 4587, "end": 4599, "loc": { "start": { "line": 115, "column": 45 }, "end": { "line": 115, "column": 57 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4599, "end": 4600, "loc": { "start": { "line": 115, "column": 57 }, "end": { "line": 115, "column": 58 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 4601, "end": 4603, "loc": { "start": { "line": 115, "column": 59 }, "end": { "line": 115, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 4603, "end": 4604, "loc": { "start": { "line": 115, "column": 61 }, "end": { "line": 115, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4604, "end": 4605, "loc": { "start": { "line": 115, "column": 62 }, "end": { "line": 115, "column": 63 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4606, "end": 4607, "loc": { "start": { "line": 115, "column": 64 }, "end": { "line": 115, "column": 65 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 4625, "end": 4630, "loc": { "start": { "line": 116, "column": 16 }, "end": { "line": 116, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 4631, "end": 4635, "loc": { "start": { "line": 116, "column": 22 }, "end": { "line": 116, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4636, "end": 4637, "loc": { "start": { "line": 116, "column": 27 }, "end": { "line": 116, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "row", "start": 4638, "end": 4641, "loc": { "start": { "line": 116, "column": 29 }, "end": { "line": 116, "column": 32 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4641, "end": 4642, "loc": { "start": { "line": 116, "column": 32 }, "end": { "line": 116, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 4642, "end": 4643, "loc": { "start": { "line": 116, "column": 33 }, "end": { "line": 116, "column": 34 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4643, "end": 4644, "loc": { "start": { "line": 116, "column": 34 }, "end": { "line": 116, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4644, "end": 4645, "loc": { "start": { "line": 116, "column": 35 }, "end": { "line": 116, "column": 36 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 4663, "end": 4665, "loc": { "start": { "line": 117, "column": 16 }, "end": { "line": 117, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4666, "end": 4667, "loc": { "start": { "line": 117, "column": 19 }, "end": { "line": 117, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 4667, "end": 4671, "loc": { "start": { "line": 117, "column": 20 }, "end": { "line": 117, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4671, "end": 4672, "loc": { "start": { "line": 117, "column": 24 }, "end": { "line": 117, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4673, "end": 4674, "loc": { "start": { "line": 117, "column": 26 }, "end": { "line": 117, "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": 4696, "end": 4698, "loc": { "start": { "line": 118, "column": 20 }, "end": { "line": 118, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4699, "end": 4700, "loc": { "start": { "line": 118, "column": 23 }, "end": { "line": 118, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 4700, "end": 4704, "loc": { "start": { "line": 118, "column": 24 }, "end": { "line": 118, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4704, "end": 4705, "loc": { "start": { "line": 118, "column": 28 }, "end": { "line": 118, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getBackgroundColorAsResource", "start": 4705, "end": 4733, "loc": { "start": { "line": 118, "column": 29 }, "end": { "line": 118, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4733, "end": 4734, "loc": { "start": { "line": 118, "column": 57 }, "end": { "line": 118, "column": 58 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4735, "end": 4736, "loc": { "start": { "line": 118, "column": 59 }, "end": { "line": 118, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 4762, "end": 4769, "loc": { "start": { "line": 119, "column": 24 }, "end": { "line": 119, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4769, "end": 4770, "loc": { "start": { "line": 119, "column": 31 }, "end": { "line": 119, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fillStyle", "start": 4770, "end": 4779, "loc": { "start": { "line": 119, "column": 32 }, "end": { "line": 119, "column": 41 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4780, "end": 4781, "loc": { "start": { "line": 119, "column": 42 }, "end": { "line": 119, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 4782, "end": 4786, "loc": { "start": { "line": 119, "column": 44 }, "end": { "line": 119, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4786, "end": 4787, "loc": { "start": { "line": 119, "column": 48 }, "end": { "line": 119, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getBackgroundColorAsResource", "start": 4787, "end": 4815, "loc": { "start": { "line": 119, "column": 49 }, "end": { "line": 119, "column": 77 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4815, "end": 4816, "loc": { "start": { "line": 119, "column": 77 }, "end": { "line": 119, "column": 78 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4816, "end": 4817, "loc": { "start": { "line": 119, "column": 78 }, "end": { "line": 119, "column": 79 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4817, "end": 4818, "loc": { "start": { "line": 119, "column": 79 }, "end": { "line": 119, "column": 80 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4840, "end": 4841, "loc": { "start": { "line": 120, "column": 20 }, "end": { "line": 120, "column": 21 } } }, { "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": 4842, "end": 4846, "loc": { "start": { "line": 120, "column": 22 }, "end": { "line": 120, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4847, "end": 4848, "loc": { "start": { "line": 120, "column": 27 }, "end": { "line": 120, "column": 28 } } }, { "type": "CommentLine", "value": " @ts-ignore", "start": 4874, "end": 4887, "loc": { "start": { "line": 121, "column": 24 }, "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": "context", "start": 4913, "end": 4920, "loc": { "start": { "line": 122, "column": 24 }, "end": { "line": 122, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4920, "end": 4921, "loc": { "start": { "line": 122, "column": 31 }, "end": { "line": 122, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fillStyle", "start": 4921, "end": 4930, "loc": { "start": { "line": 122, "column": 32 }, "end": { "line": 122, "column": 41 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4931, "end": 4932, "loc": { "start": { "line": 122, "column": 42 }, "end": { "line": 122, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 4933, "end": 4937, "loc": { "start": { "line": 122, "column": 44 }, "end": { "line": 122, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4937, "end": 4938, "loc": { "start": { "line": 122, "column": 48 }, "end": { "line": 122, "column": 49 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4960, "end": 4961, "loc": { "start": { "line": 123, "column": 20 }, "end": { "line": 123, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 4983, "end": 4990, "loc": { "start": { "line": 124, "column": 20 }, "end": { "line": 124, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4990, "end": 4991, "loc": { "start": { "line": 124, "column": 27 }, "end": { "line": 124, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fillRect", "start": 4991, "end": 4999, "loc": { "start": { "line": 124, "column": 28 }, "end": { "line": 124, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4999, "end": 5000, "loc": { "start": { "line": 124, "column": 36 }, "end": { "line": 124, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 5000, "end": 5001, "loc": { "start": { "line": 124, "column": 37 }, "end": { "line": 124, "column": 38 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5001, "end": 5002, "loc": { "start": { "line": 124, "column": 38 }, "end": { "line": 124, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 5003, "end": 5004, "loc": { "start": { "line": 124, "column": 40 }, "end": { "line": 124, "column": 41 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5004, "end": 5005, "loc": { "start": { "line": 124, "column": 41 }, "end": { "line": 124, "column": 42 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 5006, "end": 5007, "loc": { "start": { "line": 124, "column": 43 }, "end": { "line": 124, "column": 44 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5007, "end": 5008, "loc": { "start": { "line": 124, "column": 44 }, "end": { "line": 124, "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": 5009, "end": 5010, "loc": { "start": { "line": 124, "column": 46 }, "end": { "line": 124, "column": 47 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5010, "end": 5011, "loc": { "start": { "line": 124, "column": 47 }, "end": { "line": 124, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5011, "end": 5012, "loc": { "start": { "line": 124, "column": 48 }, "end": { "line": 124, "column": 49 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5030, "end": 5031, "loc": { "start": { "line": 125, "column": 16 }, "end": { "line": 125, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5045, "end": 5046, "loc": { "start": { "line": 126, "column": 12 }, "end": { "line": 126, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5056, "end": 5057, "loc": { "start": { "line": 127, "column": 8 }, "end": { "line": 127, "column": 9 } } }, { "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": 5069, "end": 5071, "loc": { "start": { "line": 129, "column": 8 }, "end": { "line": 129, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5072, "end": 5073, "loc": { "start": { "line": 129, "column": 11 }, "end": { "line": 129, "column": 12 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5073, "end": 5077, "loc": { "start": { "line": 129, "column": 12 }, "end": { "line": 129, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5077, "end": 5078, "loc": { "start": { "line": 129, "column": 16 }, "end": { "line": 129, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 5078, "end": 5082, "loc": { "start": { "line": 129, "column": 17 }, "end": { "line": 129, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5082, "end": 5083, "loc": { "start": { "line": 129, "column": 21 }, "end": { "line": 129, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "app", "start": 5083, "end": 5086, "loc": { "start": { "line": 129, "column": 22 }, "end": { "line": 129, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5086, "end": 5087, "loc": { "start": { "line": 129, "column": 25 }, "end": { "line": 129, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "settings", "start": 5087, "end": 5095, "loc": { "start": { "line": 129, "column": 26 }, "end": { "line": 129, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5095, "end": 5096, "loc": { "start": { "line": 129, "column": 34 }, "end": { "line": 129, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getAllSettings", "start": 5096, "end": 5110, "loc": { "start": { "line": 129, "column": 35 }, "end": { "line": 129, "column": 49 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5110, "end": 5111, "loc": { "start": { "line": 129, "column": 49 }, "end": { "line": 129, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5111, "end": 5112, "loc": { "start": { "line": 129, "column": 50 }, "end": { "line": 129, "column": 51 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5112, "end": 5113, "loc": { "start": { "line": 129, "column": 51 }, "end": { "line": 129, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "displayChunkBorders", "start": 5113, "end": 5132, "loc": { "start": { "line": 129, "column": 52 }, "end": { "line": 129, "column": 71 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5132, "end": 5133, "loc": { "start": { "line": 129, "column": 71 }, "end": { "line": 129, "column": 72 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5134, "end": 5135, "loc": { "start": { "line": 129, "column": 73 }, "end": { "line": 129, "column": 74 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 5149, "end": 5156, "loc": { "start": { "line": 130, "column": 12 }, "end": { "line": 130, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5156, "end": 5157, "loc": { "start": { "line": 130, "column": 19 }, "end": { "line": 130, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fillStyle", "start": 5157, "end": 5166, "loc": { "start": { "line": 130, "column": 20 }, "end": { "line": 130, "column": 29 } } }, { "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": 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": "THEME", "start": 5169, "end": 5174, "loc": { "start": { "line": 130, "column": 32 }, "end": { "line": 130, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5174, "end": 5175, "loc": { "start": { "line": 130, "column": 37 }, "end": { "line": 130, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "map", "start": 5175, "end": 5178, "loc": { "start": { "line": 130, "column": 38 }, "end": { "line": 130, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5178, "end": 5179, "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": "chunkBorders", "start": 5179, "end": 5191, "loc": { "start": { "line": 130, "column": 42 }, "end": { "line": 130, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5191, "end": 5192, "loc": { "start": { "line": 130, "column": 54 }, "end": { "line": 130, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 5206, "end": 5213, "loc": { "start": { "line": 131, "column": 12 }, "end": { "line": 131, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5213, "end": 5214, "loc": { "start": { "line": 131, "column": 19 }, "end": { "line": 131, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fillRect", "start": 5214, "end": 5222, "loc": { "start": { "line": 131, "column": 20 }, "end": { "line": 131, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5222, "end": 5223, "loc": { "start": { "line": 131, "column": 28 }, "end": { "line": 131, "column": 29 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 5223, "end": 5224, "loc": { "start": { "line": 131, "column": 29 }, "end": { "line": 131, "column": 30 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5224, "end": 5225, "loc": { "start": { "line": 131, "column": 30 }, "end": { "line": 131, "column": 31 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 5226, "end": 5227, "loc": { "start": { "line": 131, "column": 32 }, "end": { "line": 131, "column": 33 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5227, "end": 5228, "loc": { "start": { "line": 131, "column": 33 }, "end": { "line": 131, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "w", "start": 5229, "end": 5230, "loc": { "start": { "line": 131, "column": 35 }, "end": { "line": 131, "column": 36 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5230, "end": 5231, "loc": { "start": { "line": 131, "column": 36 }, "end": { "line": 131, "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": 5232, "end": 5233, "loc": { "start": { "line": 131, "column": 38 }, "end": { "line": 131, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5233, "end": 5234, "loc": { "start": { "line": 131, "column": 39 }, "end": { "line": 131, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5234, "end": 5235, "loc": { "start": { "line": 131, "column": 40 }, "end": { "line": 131, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 5249, "end": 5256, "loc": { "start": { "line": 132, "column": 12 }, "end": { "line": 132, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5256, "end": 5257, "loc": { "start": { "line": 132, "column": 19 }, "end": { "line": 132, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fillRect", "start": 5257, "end": 5265, "loc": { "start": { "line": 132, "column": 20 }, "end": { "line": 132, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5265, "end": 5266, "loc": { "start": { "line": 132, "column": 28 }, "end": { "line": 132, "column": 29 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 5266, "end": 5267, "loc": { "start": { "line": 132, "column": 29 }, "end": { "line": 132, "column": 30 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5267, "end": 5268, "loc": { "start": { "line": 132, "column": 30 }, "end": { "line": 132, "column": 31 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 5269, "end": 5270, "loc": { "start": { "line": 132, "column": 32 }, "end": { "line": 132, "column": 33 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5270, "end": 5271, "loc": { "start": { "line": 132, "column": 33 }, "end": { "line": 132, "column": 34 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 5272, "end": 5273, "loc": { "start": { "line": 132, "column": 35 }, "end": { "line": 132, "column": 36 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5273, "end": 5274, "loc": { "start": { "line": 132, "column": 36 }, "end": { "line": 132, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "h", "start": 5275, "end": 5276, "loc": { "start": { "line": 132, "column": 38 }, "end": { "line": 132, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5276, "end": 5277, "loc": { "start": { "line": 132, "column": 39 }, "end": { "line": 132, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5277, "end": 5278, "loc": { "start": { "line": 132, "column": 40 }, "end": { "line": 132, "column": 41 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5288, "end": 5289, "loc": { "start": { "line": 133, "column": 8 }, "end": { "line": 133, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5295, "end": 5296, "loc": { "start": { "line": 134, "column": 4 }, "end": { "line": 134, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5298, "end": 5299, "loc": { "start": { "line": 135, "column": 0 }, "end": { "line": 135, "column": 1 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5299, "end": 5299, "loc": { "start": { "line": 135, "column": 1 }, "end": { "line": 135, "column": 1 } } } ] }