{ "type": "File", "start": 0, "end": 3768, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 114, "column": 1 } }, "program": { "type": "Program", "start": 0, "end": 3768, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 114, "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": "ExportNamedDeclaration", "start": 212, "end": 3768, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 114, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "ClassDeclaration", "start": 219, "end": 3768, "loc": { "start": { "line": 6, "column": 7 }, "end": { "line": 114, "column": 1 } }, "id": { "type": "Identifier", "start": 225, "end": 246, "loc": { "start": { "line": 6, "column": 13 }, "end": { "line": 6, "column": 34 }, "identifierName": "StaticMapEntitySystem" }, "name": "StaticMapEntitySystem" }, "superClass": { "type": "Identifier", "start": 255, "end": 265, "loc": { "start": { "line": 6, "column": 43 }, "end": { "line": 6, "column": 53 }, "identifierName": "GameSystem" }, "name": "GameSystem" }, "body": { "type": "ClassBody", "start": 266, "end": 3768, "loc": { "start": { "line": 6, "column": 54 }, "end": { "line": 114, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 273, "end": 472, "loc": { "start": { "line": 7, "column": 4 }, "end": { "line": 14, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 273, "end": 284, "loc": { "start": { "line": 7, "column": 4 }, "end": { "line": 7, "column": 15 }, "identifierName": "constructor" }, "name": "constructor" }, "kind": "constructor", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 285, "end": 289, "loc": { "start": { "line": 7, "column": 16 }, "end": { "line": 7, "column": 20 }, "identifierName": "root" }, "name": "root" } ], "body": { "type": "BlockStatement", "start": 291, "end": 472, "loc": { "start": { "line": 7, "column": 22 }, "end": { "line": 14, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 302, "end": 314, "loc": { "start": { "line": 8, "column": 8 }, "end": { "line": 8, "column": 20 } }, "expression": { "type": "CallExpression", "start": 302, "end": 313, "loc": { "start": { "line": 8, "column": 8 }, "end": { "line": 8, "column": 19 } }, "callee": { "type": "Super", "start": 302, "end": 307, "loc": { "start": { "line": 8, "column": 8 }, "end": { "line": 8, "column": 13 } } }, "arguments": [ { "type": "Identifier", "start": 308, "end": 312, "loc": { "start": { "line": 8, "column": 14 }, "end": { "line": 8, "column": 18 }, "identifierName": "root" }, "name": "root" } ] }, "trailingComments": [ { "type": "CommentBlock", "value": "* @type {Set} ", "start": 326, "end": 352, "loc": { "start": { "line": 10, "column": 8 }, "end": { "line": 10, "column": 34 } } } ] }, { "type": "ExpressionStatement", "start": 362, "end": 389, "loc": { "start": { "line": 11, "column": 8 }, "end": { "line": 11, "column": 35 } }, "expression": { "type": "AssignmentExpression", "start": 362, "end": 388, "loc": { "start": { "line": 11, "column": 8 }, "end": { "line": 11, "column": 34 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 362, "end": 376, "loc": { "start": { "line": 11, "column": 8 }, "end": { "line": 11, "column": 22 } }, "object": { "type": "ThisExpression", "start": 362, "end": 366, "loc": { "start": { "line": 11, "column": 8 }, "end": { "line": 11, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 367, "end": 376, "loc": { "start": { "line": 11, "column": 13 }, "end": { "line": 11, "column": 22 }, "identifierName": "drawnUids" }, "name": "drawnUids" }, "computed": false, "leadingComments": null }, "right": { "type": "NewExpression", "start": 379, "end": 388, "loc": { "start": { "line": 11, "column": 25 }, "end": { "line": 11, "column": 34 } }, "callee": { "type": "Identifier", "start": 383, "end": 386, "loc": { "start": { "line": 11, "column": 29 }, "end": { "line": 11, "column": 32 }, "identifierName": "Set" }, "name": "Set" }, "arguments": [] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "* @type {Set} ", "start": 326, "end": 352, "loc": { "start": { "line": 10, "column": 8 }, "end": { "line": 10, "column": 34 } } } ] }, { "type": "ExpressionStatement", "start": 401, "end": 465, "loc": { "start": { "line": 13, "column": 8 }, "end": { "line": 13, "column": 72 } }, "expression": { "type": "CallExpression", "start": 401, "end": 464, "loc": { "start": { "line": 13, "column": 8 }, "end": { "line": 13, "column": 71 } }, "callee": { "type": "MemberExpression", "start": 401, "end": 439, "loc": { "start": { "line": 13, "column": 8 }, "end": { "line": 13, "column": 46 } }, "object": { "type": "MemberExpression", "start": 401, "end": 435, "loc": { "start": { "line": 13, "column": 8 }, "end": { "line": 13, "column": 42 } }, "object": { "type": "MemberExpression", "start": 401, "end": 418, "loc": { "start": { "line": 13, "column": 8 }, "end": { "line": 13, "column": 25 } }, "object": { "type": "MemberExpression", "start": 401, "end": 410, "loc": { "start": { "line": 13, "column": 8 }, "end": { "line": 13, "column": 17 } }, "object": { "type": "ThisExpression", "start": 401, "end": 405, "loc": { "start": { "line": 13, "column": 8 }, "end": { "line": 13, "column": 12 } } }, "property": { "type": "Identifier", "start": 406, "end": 410, "loc": { "start": { "line": 13, "column": 13 }, "end": { "line": 13, "column": 17 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 411, "end": 418, "loc": { "start": { "line": 13, "column": 18 }, "end": { "line": 13, "column": 25 }, "identifierName": "signals" }, "name": "signals" }, "computed": false }, "property": { "type": "Identifier", "start": 419, "end": 435, "loc": { "start": { "line": 13, "column": 26 }, "end": { "line": 13, "column": 42 }, "identifierName": "gameFrameStarted" }, "name": "gameFrameStarted" }, "computed": false }, "property": { "type": "Identifier", "start": 436, "end": 439, "loc": { "start": { "line": 13, "column": 43 }, "end": { "line": 13, "column": 46 }, "identifierName": "add" }, "name": "add" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 440, "end": 457, "loc": { "start": { "line": 13, "column": 47 }, "end": { "line": 13, "column": 64 } }, "object": { "type": "ThisExpression", "start": 440, "end": 444, "loc": { "start": { "line": 13, "column": 47 }, "end": { "line": 13, "column": 51 } } }, "property": { "type": "Identifier", "start": 445, "end": 457, "loc": { "start": { "line": 13, "column": 52 }, "end": { "line": 13, "column": 64 }, "identifierName": "clearUidList" }, "name": "clearUidList" }, "computed": false }, { "type": "ThisExpression", "start": 459, "end": 463, "loc": { "start": { "line": 13, "column": 66 }, "end": { "line": 13, "column": 70 } } } ] } } ], "directives": [] } }, { "type": "ClassMethod", "start": 480, "end": 540, "loc": { "start": { "line": 16, "column": 4 }, "end": { "line": 18, "column": 5 } }, "static": true, "computed": false, "key": { "type": "Identifier", "start": 487, "end": 492, "loc": { "start": { "line": 16, "column": 11 }, "end": { "line": 16, "column": 16 }, "identifierName": "getId" }, "name": "getId" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 495, "end": 540, "loc": { "start": { "line": 16, "column": 19 }, "end": { "line": 18, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 506, "end": 533, "loc": { "start": { "line": 17, "column": 8 }, "end": { "line": 17, "column": 35 } }, "argument": { "type": "StringLiteral", "start": 513, "end": 532, "loc": { "start": { "line": 17, "column": 15 }, "end": { "line": 17, "column": 34 } }, "extra": { "rawValue": "staticMapEntities", "raw": "\"staticMapEntities\"" }, "value": "staticMapEntities" } } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Clears the uid list when a new frame started\r\n ", "start": 548, "end": 613, "loc": { "start": { "line": 20, "column": 4 }, "end": { "line": 22, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 619, "end": 675, "loc": { "start": { "line": 23, "column": 4 }, "end": { "line": 25, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 619, "end": 631, "loc": { "start": { "line": 23, "column": 4 }, "end": { "line": 23, "column": 16 }, "identifierName": "clearUidList" }, "name": "clearUidList", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 634, "end": 675, "loc": { "start": { "line": 23, "column": 19 }, "end": { "line": 25, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 645, "end": 668, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 31 } }, "expression": { "type": "CallExpression", "start": 645, "end": 667, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 30 } }, "callee": { "type": "MemberExpression", "start": 645, "end": 665, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 28 } }, "object": { "type": "MemberExpression", "start": 645, "end": 659, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 22 } }, "object": { "type": "ThisExpression", "start": 645, "end": 649, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 12 } } }, "property": { "type": "Identifier", "start": 650, "end": 659, "loc": { "start": { "line": 24, "column": 13 }, "end": { "line": 24, "column": 22 }, "identifierName": "drawnUids" }, "name": "drawnUids" }, "computed": false }, "property": { "type": "Identifier", "start": 660, "end": 665, "loc": { "start": { "line": 24, "column": 23 }, "end": { "line": 24, "column": 28 }, "identifierName": "clear" }, "name": "clear" }, "computed": false }, "arguments": [] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Clears the uid list when a new frame started\r\n ", "start": 548, "end": 613, "loc": { "start": { "line": 20, "column": 4 }, "end": { "line": 22, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Draws the static entities\r\n * @param {DrawParameters} parameters\r\n * @param {MapChunkView} chunk\r\n ", "start": 683, "end": 808, "loc": { "start": { "line": 27, "column": 4 }, "end": { "line": 31, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 814, "end": 1658, "loc": { "start": { "line": 32, "column": 4 }, "end": { "line": 54, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 814, "end": 845, "loc": { "start": { "line": 32, "column": 4 }, "end": { "line": 32, "column": 35 }, "identifierName": "drawChunk_ForegroundStaticLayer" }, "name": "drawChunk_ForegroundStaticLayer", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 846, "end": 856, "loc": { "start": { "line": 32, "column": 36 }, "end": { "line": 32, "column": 46 }, "identifierName": "parameters" }, "name": "parameters" }, { "type": "Identifier", "start": 858, "end": 863, "loc": { "start": { "line": 32, "column": 48 }, "end": { "line": 32, "column": 53 }, "identifierName": "chunk" }, "name": "chunk" } ], "body": { "type": "BlockStatement", "start": 865, "end": 1658, "loc": { "start": { "line": 32, "column": 55 }, "end": { "line": 54, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 876, "end": 964, "loc": { "start": { "line": 33, "column": 8 }, "end": { "line": 35, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 880, "end": 929, "loc": { "start": { "line": 33, "column": 12 }, "end": { "line": 33, "column": 61 } }, "left": { "type": "Identifier", "start": 880, "end": 888, "loc": { "start": { "line": 33, "column": 12 }, "end": { "line": 33, "column": 20 }, "identifierName": "G_IS_DEV" }, "name": "G_IS_DEV" }, "operator": "&&", "right": { "type": "MemberExpression", "start": 892, "end": 929, "loc": { "start": { "line": 33, "column": 24 }, "end": { "line": 33, "column": 61 } }, "object": { "type": "MemberExpression", "start": 892, "end": 910, "loc": { "start": { "line": 33, "column": 24 }, "end": { "line": 33, "column": 42 } }, "object": { "type": "Identifier", "start": 892, "end": 904, "loc": { "start": { "line": 33, "column": 24 }, "end": { "line": 33, "column": 36 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 905, "end": 910, "loc": { "start": { "line": 33, "column": 37 }, "end": { "line": 33, "column": 42 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "property": { "type": "Identifier", "start": 911, "end": 929, "loc": { "start": { "line": 33, "column": 43 }, "end": { "line": 33, "column": 61 }, "identifierName": "doNotRenderStatics" }, "name": "doNotRenderStatics" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 931, "end": 964, "loc": { "start": { "line": 33, "column": 63 }, "end": { "line": 35, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 946, "end": 953, "loc": { "start": { "line": 34, "column": 12 }, "end": { "line": 34, "column": 19 } }, "argument": null } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 976, "end": 1032, "loc": { "start": { "line": 37, "column": 8 }, "end": { "line": 37, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", "start": 982, "end": 1031, "loc": { "start": { "line": 37, "column": 14 }, "end": { "line": 37, "column": 63 } }, "id": { "type": "Identifier", "start": 982, "end": 990, "loc": { "start": { "line": 37, "column": 14 }, "end": { "line": 37, "column": 22 }, "identifierName": "contents" }, "name": "contents" }, "init": { "type": "MemberExpression", "start": 993, "end": 1031, "loc": { "start": { "line": 37, "column": 25 }, "end": { "line": 37, "column": 63 } }, "object": { "type": "MemberExpression", "start": 993, "end": 1023, "loc": { "start": { "line": 37, "column": 25 }, "end": { "line": 37, "column": 55 } }, "object": { "type": "Identifier", "start": 993, "end": 998, "loc": { "start": { "line": 37, "column": 25 }, "end": { "line": 37, "column": 30 }, "identifierName": "chunk" }, "name": "chunk" }, "property": { "type": "Identifier", "start": 999, "end": 1023, "loc": { "start": { "line": 37, "column": 31 }, "end": { "line": 37, "column": 55 }, "identifierName": "containedEntitiesByLayer" }, "name": "containedEntitiesByLayer" }, "computed": false }, "property": { "type": "Identifier", "start": 1024, "end": 1031, "loc": { "start": { "line": 37, "column": 56 }, "end": { "line": 37, "column": 63 }, "identifierName": "regular" }, "name": "regular" }, "computed": false } } ], "kind": "const" }, { "type": "ForStatement", "start": 1042, "end": 1651, "loc": { "start": { "line": 38, "column": 8 }, "end": { "line": 53, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 1047, "end": 1056, "loc": { "start": { "line": 38, "column": 13 }, "end": { "line": 38, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1051, "end": 1056, "loc": { "start": { "line": 38, "column": 17 }, "end": { "line": 38, "column": 22 } }, "id": { "type": "Identifier", "start": 1051, "end": 1052, "loc": { "start": { "line": 38, "column": 17 }, "end": { "line": 38, "column": 18 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 1055, "end": 1056, "loc": { "start": { "line": 38, "column": 21 }, "end": { "line": 38, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 1058, "end": 1077, "loc": { "start": { "line": 38, "column": 24 }, "end": { "line": 38, "column": 43 } }, "left": { "type": "Identifier", "start": 1058, "end": 1059, "loc": { "start": { "line": 38, "column": 24 }, "end": { "line": 38, "column": 25 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 1062, "end": 1077, "loc": { "start": { "line": 38, "column": 28 }, "end": { "line": 38, "column": 43 } }, "object": { "type": "Identifier", "start": 1062, "end": 1070, "loc": { "start": { "line": 38, "column": 28 }, "end": { "line": 38, "column": 36 }, "identifierName": "contents" }, "name": "contents" }, "property": { "type": "Identifier", "start": 1071, "end": 1077, "loc": { "start": { "line": 38, "column": 37 }, "end": { "line": 38, "column": 43 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 1079, "end": 1082, "loc": { "start": { "line": 38, "column": 45 }, "end": { "line": 38, "column": 48 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 1081, "end": 1082, "loc": { "start": { "line": 38, "column": 47 }, "end": { "line": 38, "column": 48 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 1084, "end": 1651, "loc": { "start": { "line": 38, "column": 50 }, "end": { "line": 53, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 1099, "end": 1126, "loc": { "start": { "line": 39, "column": 12 }, "end": { "line": 39, "column": 39 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1105, "end": 1125, "loc": { "start": { "line": 39, "column": 18 }, "end": { "line": 39, "column": 38 } }, "id": { "type": "Identifier", "start": 1105, "end": 1111, "loc": { "start": { "line": 39, "column": 18 }, "end": { "line": 39, "column": 24 }, "identifierName": "entity" }, "name": "entity" }, "init": { "type": "MemberExpression", "start": 1114, "end": 1125, "loc": { "start": { "line": 39, "column": 27 }, "end": { "line": 39, "column": 38 } }, "object": { "type": "Identifier", "start": 1114, "end": 1122, "loc": { "start": { "line": 39, "column": 27 }, "end": { "line": 39, "column": 35 }, "identifierName": "contents" }, "name": "contents" }, "property": { "type": "Identifier", "start": 1123, "end": 1124, "loc": { "start": { "line": 39, "column": 36 }, "end": { "line": 39, "column": 37 }, "identifierName": "i" }, "name": "i" }, "computed": true } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 1142, "end": 1195, "loc": { "start": { "line": 41, "column": 12 }, "end": { "line": 41, "column": 65 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1148, "end": 1194, "loc": { "start": { "line": 41, "column": 18 }, "end": { "line": 41, "column": 64 } }, "id": { "type": "Identifier", "start": 1148, "end": 1158, "loc": { "start": { "line": 41, "column": 18 }, "end": { "line": 41, "column": 28 }, "identifierName": "staticComp" }, "name": "staticComp" }, "init": { "type": "MemberExpression", "start": 1161, "end": 1194, "loc": { "start": { "line": 41, "column": 31 }, "end": { "line": 41, "column": 64 } }, "object": { "type": "MemberExpression", "start": 1161, "end": 1178, "loc": { "start": { "line": 41, "column": 31 }, "end": { "line": 41, "column": 48 } }, "object": { "type": "Identifier", "start": 1161, "end": 1167, "loc": { "start": { "line": 41, "column": 31 }, "end": { "line": 41, "column": 37 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 1168, "end": 1178, "loc": { "start": { "line": 41, "column": 38 }, "end": { "line": 41, "column": 48 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 1179, "end": 1194, "loc": { "start": { "line": 41, "column": 49 }, "end": { "line": 41, "column": 64 }, "identifierName": "StaticMapEntity" }, "name": "StaticMapEntity" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 1209, "end": 1247, "loc": { "start": { "line": 42, "column": 12 }, "end": { "line": 42, "column": 50 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1215, "end": 1246, "loc": { "start": { "line": 42, "column": 18 }, "end": { "line": 42, "column": 49 } }, "id": { "type": "Identifier", "start": 1215, "end": 1221, "loc": { "start": { "line": 42, "column": 18 }, "end": { "line": 42, "column": 24 }, "identifierName": "sprite" }, "name": "sprite" }, "init": { "type": "CallExpression", "start": 1224, "end": 1246, "loc": { "start": { "line": 42, "column": 27 }, "end": { "line": 42, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 1224, "end": 1244, "loc": { "start": { "line": 42, "column": 27 }, "end": { "line": 42, "column": 47 } }, "object": { "type": "Identifier", "start": 1224, "end": 1234, "loc": { "start": { "line": 42, "column": 27 }, "end": { "line": 42, "column": 37 }, "identifierName": "staticComp" }, "name": "staticComp" }, "property": { "type": "Identifier", "start": 1235, "end": 1244, "loc": { "start": { "line": 42, "column": 38 }, "end": { "line": 42, "column": 47 }, "identifierName": "getSprite" }, "name": "getSprite" }, "computed": false }, "arguments": [] } } ], "kind": "const" }, { "type": "IfStatement", "start": 1261, "end": 1640, "loc": { "start": { "line": 43, "column": 12 }, "end": { "line": 52, "column": 13 } }, "test": { "type": "Identifier", "start": 1265, "end": 1271, "loc": { "start": { "line": 43, "column": 16 }, "end": { "line": 43, "column": 22 }, "identifierName": "sprite" }, "name": "sprite" }, "consequent": { "type": "BlockStatement", "start": 1273, "end": 1640, "loc": { "start": { "line": 43, "column": 24 }, "end": { "line": 52, "column": 13 } }, "body": [ { "type": "IfStatement", "start": 1409, "end": 1496, "loc": { "start": { "line": 46, "column": 16 }, "end": { "line": 48, "column": 17 } }, "test": { "type": "CallExpression", "start": 1413, "end": 1443, "loc": { "start": { "line": 46, "column": 20 }, "end": { "line": 46, "column": 50 } }, "callee": { "type": "MemberExpression", "start": 1413, "end": 1431, "loc": { "start": { "line": 46, "column": 20 }, "end": { "line": 46, "column": 38 } }, "object": { "type": "MemberExpression", "start": 1413, "end": 1427, "loc": { "start": { "line": 46, "column": 20 }, "end": { "line": 46, "column": 34 } }, "object": { "type": "ThisExpression", "start": 1413, "end": 1417, "loc": { "start": { "line": 46, "column": 20 }, "end": { "line": 46, "column": 24 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 1418, "end": 1427, "loc": { "start": { "line": 46, "column": 25 }, "end": { "line": 46, "column": 34 }, "identifierName": "drawnUids" }, "name": "drawnUids" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 1428, "end": 1431, "loc": { "start": { "line": 46, "column": 35 }, "end": { "line": 46, "column": 38 }, "identifierName": "has" }, "name": "has" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "MemberExpression", "start": 1432, "end": 1442, "loc": { "start": { "line": 46, "column": 39 }, "end": { "line": 46, "column": 49 } }, "object": { "type": "Identifier", "start": 1432, "end": 1438, "loc": { "start": { "line": 46, "column": 39 }, "end": { "line": 46, "column": 45 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 1439, "end": 1442, "loc": { "start": { "line": 46, "column": 46 }, "end": { "line": 46, "column": 49 }, "identifierName": "uid" }, "name": "uid" }, "computed": false } ], "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 1445, "end": 1496, "loc": { "start": { "line": 46, "column": 52 }, "end": { "line": 48, "column": 17 } }, "body": [ { "type": "ContinueStatement", "start": 1468, "end": 1477, "loc": { "start": { "line": 47, "column": 20 }, "end": { "line": 47, "column": 29 } }, "label": null } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentLine", "value": " Avoid drawing an entity twice which has been drawn for", "start": 1292, "end": 1349, "loc": { "start": { "line": 44, "column": 16 }, "end": { "line": 44, "column": 73 } } }, { "type": "CommentLine", "value": " another chunk already", "start": 1367, "end": 1391, "loc": { "start": { "line": 45, "column": 16 }, "end": { "line": 45, "column": 40 } } } ] }, { "type": "ExpressionStatement", "start": 1516, "end": 1547, "loc": { "start": { "line": 50, "column": 16 }, "end": { "line": 50, "column": 47 } }, "expression": { "type": "CallExpression", "start": 1516, "end": 1546, "loc": { "start": { "line": 50, "column": 16 }, "end": { "line": 50, "column": 46 } }, "callee": { "type": "MemberExpression", "start": 1516, "end": 1534, "loc": { "start": { "line": 50, "column": 16 }, "end": { "line": 50, "column": 34 } }, "object": { "type": "MemberExpression", "start": 1516, "end": 1530, "loc": { "start": { "line": 50, "column": 16 }, "end": { "line": 50, "column": 30 } }, "object": { "type": "ThisExpression", "start": 1516, "end": 1520, "loc": { "start": { "line": 50, "column": 16 }, "end": { "line": 50, "column": 20 } } }, "property": { "type": "Identifier", "start": 1521, "end": 1530, "loc": { "start": { "line": 50, "column": 21 }, "end": { "line": 50, "column": 30 }, "identifierName": "drawnUids" }, "name": "drawnUids" }, "computed": false }, "property": { "type": "Identifier", "start": 1531, "end": 1534, "loc": { "start": { "line": 50, "column": 31 }, "end": { "line": 50, "column": 34 }, "identifierName": "add" }, "name": "add" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 1535, "end": 1545, "loc": { "start": { "line": 50, "column": 35 }, "end": { "line": 50, "column": 45 } }, "object": { "type": "Identifier", "start": 1535, "end": 1541, "loc": { "start": { "line": 50, "column": 35 }, "end": { "line": 50, "column": 41 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 1542, "end": 1545, "loc": { "start": { "line": 50, "column": 42 }, "end": { "line": 50, "column": 45 }, "identifierName": "uid" }, "name": "uid" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 1565, "end": 1625, "loc": { "start": { "line": 51, "column": 16 }, "end": { "line": 51, "column": 76 } }, "expression": { "type": "CallExpression", "start": 1565, "end": 1624, "loc": { "start": { "line": 51, "column": 16 }, "end": { "line": 51, "column": 75 } }, "callee": { "type": "MemberExpression", "start": 1565, "end": 1601, "loc": { "start": { "line": 51, "column": 16 }, "end": { "line": 51, "column": 52 } }, "object": { "type": "Identifier", "start": 1565, "end": 1575, "loc": { "start": { "line": 51, "column": 16 }, "end": { "line": 51, "column": 26 }, "identifierName": "staticComp" }, "name": "staticComp" }, "property": { "type": "Identifier", "start": 1576, "end": 1601, "loc": { "start": { "line": 51, "column": 27 }, "end": { "line": 51, "column": 52 }, "identifierName": "drawSpriteOnBoundsClipped" }, "name": "drawSpriteOnBoundsClipped" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 1602, "end": 1612, "loc": { "start": { "line": 51, "column": 53 }, "end": { "line": 51, "column": 63 }, "identifierName": "parameters" }, "name": "parameters" }, { "type": "Identifier", "start": 1614, "end": 1620, "loc": { "start": { "line": 51, "column": 65 }, "end": { "line": 51, "column": 71 }, "identifierName": "sprite" }, "name": "sprite" }, { "type": "NumericLiteral", "start": 1622, "end": 1623, "loc": { "start": { "line": 51, "column": 73 }, "end": { "line": 51, "column": 74 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Draws the static entities\r\n * @param {DrawParameters} parameters\r\n * @param {MapChunkView} chunk\r\n ", "start": 683, "end": 808, "loc": { "start": { "line": 27, "column": 4 }, "end": { "line": 31, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Draws the static wire entities\r\n * @param {DrawParameters} parameters\r\n * @param {MapChunkView} chunk\r\n ", "start": 1666, "end": 1796, "loc": { "start": { "line": 56, "column": 4 }, "end": { "line": 60, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 1802, "end": 2739, "loc": { "start": { "line": 61, "column": 4 }, "end": { "line": 85, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 1802, "end": 1832, "loc": { "start": { "line": 61, "column": 4 }, "end": { "line": 61, "column": 34 }, "identifierName": "drawChunk_WiresForegroundLayer" }, "name": "drawChunk_WiresForegroundLayer", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 1833, "end": 1843, "loc": { "start": { "line": 61, "column": 35 }, "end": { "line": 61, "column": 45 }, "identifierName": "parameters" }, "name": "parameters" }, { "type": "Identifier", "start": 1845, "end": 1850, "loc": { "start": { "line": 61, "column": 47 }, "end": { "line": 61, "column": 52 }, "identifierName": "chunk" }, "name": "chunk" } ], "body": { "type": "BlockStatement", "start": 1852, "end": 2739, "loc": { "start": { "line": 61, "column": 54 }, "end": { "line": 85, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 1863, "end": 1951, "loc": { "start": { "line": 62, "column": 8 }, "end": { "line": 64, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 1867, "end": 1916, "loc": { "start": { "line": 62, "column": 12 }, "end": { "line": 62, "column": 61 } }, "left": { "type": "Identifier", "start": 1867, "end": 1875, "loc": { "start": { "line": 62, "column": 12 }, "end": { "line": 62, "column": 20 }, "identifierName": "G_IS_DEV" }, "name": "G_IS_DEV" }, "operator": "&&", "right": { "type": "MemberExpression", "start": 1879, "end": 1916, "loc": { "start": { "line": 62, "column": 24 }, "end": { "line": 62, "column": 61 } }, "object": { "type": "MemberExpression", "start": 1879, "end": 1897, "loc": { "start": { "line": 62, "column": 24 }, "end": { "line": 62, "column": 42 } }, "object": { "type": "Identifier", "start": 1879, "end": 1891, "loc": { "start": { "line": 62, "column": 24 }, "end": { "line": 62, "column": 36 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 1892, "end": 1897, "loc": { "start": { "line": 62, "column": 37 }, "end": { "line": 62, "column": 42 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "property": { "type": "Identifier", "start": 1898, "end": 1916, "loc": { "start": { "line": 62, "column": 43 }, "end": { "line": 62, "column": 61 }, "identifierName": "doNotRenderStatics" }, "name": "doNotRenderStatics" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 1918, "end": 1951, "loc": { "start": { "line": 62, "column": 63 }, "end": { "line": 64, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 1933, "end": 1940, "loc": { "start": { "line": 63, "column": 12 }, "end": { "line": 63, "column": 19 } }, "argument": null } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 1963, "end": 1991, "loc": { "start": { "line": 66, "column": 8 }, "end": { "line": 66, "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1969, "end": 1990, "loc": { "start": { "line": 66, "column": 14 }, "end": { "line": 66, "column": 35 } }, "id": { "type": "Identifier", "start": 1969, "end": 1978, "loc": { "start": { "line": 66, "column": 14 }, "end": { "line": 66, "column": 23 }, "identifierName": "drawnUids" }, "name": "drawnUids" }, "init": { "type": "NewExpression", "start": 1981, "end": 1990, "loc": { "start": { "line": 66, "column": 26 }, "end": { "line": 66, "column": 35 } }, "callee": { "type": "Identifier", "start": 1985, "end": 1988, "loc": { "start": { "line": 66, "column": 30 }, "end": { "line": 66, "column": 33 }, "identifierName": "Set" }, "name": "Set" }, "arguments": [] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 2001, "end": 2037, "loc": { "start": { "line": 67, "column": 8 }, "end": { "line": 67, "column": 44 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2007, "end": 2036, "loc": { "start": { "line": 67, "column": 14 }, "end": { "line": 67, "column": 43 } }, "id": { "type": "Identifier", "start": 2007, "end": 2015, "loc": { "start": { "line": 67, "column": 14 }, "end": { "line": 67, "column": 22 }, "identifierName": "contents" }, "name": "contents" }, "init": { "type": "MemberExpression", "start": 2018, "end": 2036, "loc": { "start": { "line": 67, "column": 25 }, "end": { "line": 67, "column": 43 } }, "object": { "type": "Identifier", "start": 2018, "end": 2023, "loc": { "start": { "line": 67, "column": 25 }, "end": { "line": 67, "column": 30 }, "identifierName": "chunk" }, "name": "chunk" }, "property": { "type": "Identifier", "start": 2024, "end": 2036, "loc": { "start": { "line": 67, "column": 31 }, "end": { "line": 67, "column": 43 }, "identifierName": "wireContents" }, "name": "wireContents" }, "computed": false } } ], "kind": "const" }, { "type": "ForStatement", "start": 2047, "end": 2732, "loc": { "start": { "line": 68, "column": 8 }, "end": { "line": 84, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 2052, "end": 2061, "loc": { "start": { "line": 68, "column": 13 }, "end": { "line": 68, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2056, "end": 2061, "loc": { "start": { "line": 68, "column": 17 }, "end": { "line": 68, "column": 22 } }, "id": { "type": "Identifier", "start": 2056, "end": 2057, "loc": { "start": { "line": 68, "column": 17 }, "end": { "line": 68, "column": 18 }, "identifierName": "y" }, "name": "y" }, "init": { "type": "NumericLiteral", "start": 2060, "end": 2061, "loc": { "start": { "line": 68, "column": 21 }, "end": { "line": 68, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 2063, "end": 2092, "loc": { "start": { "line": 68, "column": 24 }, "end": { "line": 68, "column": 53 } }, "left": { "type": "Identifier", "start": 2063, "end": 2064, "loc": { "start": { "line": 68, "column": 24 }, "end": { "line": 68, "column": 25 }, "identifierName": "y" }, "name": "y" }, "operator": "<", "right": { "type": "MemberExpression", "start": 2067, "end": 2092, "loc": { "start": { "line": 68, "column": 28 }, "end": { "line": 68, "column": 53 } }, "object": { "type": "Identifier", "start": 2067, "end": 2079, "loc": { "start": { "line": 68, "column": 28 }, "end": { "line": 68, "column": 40 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 2080, "end": 2092, "loc": { "start": { "line": 68, "column": 41 }, "end": { "line": 68, "column": 53 }, "identifierName": "mapChunkSize" }, "name": "mapChunkSize" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 2094, "end": 2097, "loc": { "start": { "line": 68, "column": 55 }, "end": { "line": 68, "column": 58 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 2096, "end": 2097, "loc": { "start": { "line": 68, "column": 57 }, "end": { "line": 68, "column": 58 }, "identifierName": "y" }, "name": "y" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 2099, "end": 2732, "loc": { "start": { "line": 68, "column": 60 }, "end": { "line": 84, "column": 9 } }, "body": [ { "type": "ForStatement", "start": 2114, "end": 2721, "loc": { "start": { "line": 69, "column": 12 }, "end": { "line": 83, "column": 13 } }, "init": { "type": "VariableDeclaration", "start": 2119, "end": 2128, "loc": { "start": { "line": 69, "column": 17 }, "end": { "line": 69, "column": 26 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2123, "end": 2128, "loc": { "start": { "line": 69, "column": 21 }, "end": { "line": 69, "column": 26 } }, "id": { "type": "Identifier", "start": 2123, "end": 2124, "loc": { "start": { "line": 69, "column": 21 }, "end": { "line": 69, "column": 22 }, "identifierName": "x" }, "name": "x" }, "init": { "type": "NumericLiteral", "start": 2127, "end": 2128, "loc": { "start": { "line": 69, "column": 25 }, "end": { "line": 69, "column": 26 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 2130, "end": 2159, "loc": { "start": { "line": 69, "column": 28 }, "end": { "line": 69, "column": 57 } }, "left": { "type": "Identifier", "start": 2130, "end": 2131, "loc": { "start": { "line": 69, "column": 28 }, "end": { "line": 69, "column": 29 }, "identifierName": "x" }, "name": "x" }, "operator": "<", "right": { "type": "MemberExpression", "start": 2134, "end": 2159, "loc": { "start": { "line": 69, "column": 32 }, "end": { "line": 69, "column": 57 } }, "object": { "type": "Identifier", "start": 2134, "end": 2146, "loc": { "start": { "line": 69, "column": 32 }, "end": { "line": 69, "column": 44 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 2147, "end": 2159, "loc": { "start": { "line": 69, "column": 45 }, "end": { "line": 69, "column": 57 }, "identifierName": "mapChunkSize" }, "name": "mapChunkSize" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 2161, "end": 2164, "loc": { "start": { "line": 69, "column": 59 }, "end": { "line": 69, "column": 62 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 2163, "end": 2164, "loc": { "start": { "line": 69, "column": 61 }, "end": { "line": 69, "column": 62 }, "identifierName": "x" }, "name": "x" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 2166, "end": 2721, "loc": { "start": { "line": 69, "column": 64 }, "end": { "line": 83, "column": 13 } }, "body": [ { "type": "VariableDeclaration", "start": 2185, "end": 2215, "loc": { "start": { "line": 70, "column": 16 }, "end": { "line": 70, "column": 46 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2191, "end": 2214, "loc": { "start": { "line": 70, "column": 22 }, "end": { "line": 70, "column": 45 } }, "id": { "type": "Identifier", "start": 2191, "end": 2197, "loc": { "start": { "line": 70, "column": 22 }, "end": { "line": 70, "column": 28 }, "identifierName": "entity" }, "name": "entity" }, "init": { "type": "MemberExpression", "start": 2200, "end": 2214, "loc": { "start": { "line": 70, "column": 31 }, "end": { "line": 70, "column": 45 } }, "object": { "type": "MemberExpression", "start": 2200, "end": 2211, "loc": { "start": { "line": 70, "column": 31 }, "end": { "line": 70, "column": 42 } }, "object": { "type": "Identifier", "start": 2200, "end": 2208, "loc": { "start": { "line": 70, "column": 31 }, "end": { "line": 70, "column": 39 }, "identifierName": "contents" }, "name": "contents" }, "property": { "type": "Identifier", "start": 2209, "end": 2210, "loc": { "start": { "line": 70, "column": 40 }, "end": { "line": 70, "column": 41 }, "identifierName": "x" }, "name": "x" }, "computed": true }, "property": { "type": "Identifier", "start": 2212, "end": 2213, "loc": { "start": { "line": 70, "column": 43 }, "end": { "line": 70, "column": 44 }, "identifierName": "y" }, "name": "y" }, "computed": true } } ], "kind": "const" }, { "type": "IfStatement", "start": 2233, "end": 2706, "loc": { "start": { "line": 71, "column": 16 }, "end": { "line": 82, "column": 17 } }, "test": { "type": "Identifier", "start": 2237, "end": 2243, "loc": { "start": { "line": 71, "column": 20 }, "end": { "line": 71, "column": 26 }, "identifierName": "entity" }, "name": "entity" }, "consequent": { "type": "BlockStatement", "start": 2245, "end": 2706, "loc": { "start": { "line": 71, "column": 28 }, "end": { "line": 82, "column": 17 } }, "body": [ { "type": "IfStatement", "start": 2268, "end": 2358, "loc": { "start": { "line": 72, "column": 20 }, "end": { "line": 74, "column": 21 } }, "test": { "type": "CallExpression", "start": 2272, "end": 2297, "loc": { "start": { "line": 72, "column": 24 }, "end": { "line": 72, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 2272, "end": 2285, "loc": { "start": { "line": 72, "column": 24 }, "end": { "line": 72, "column": 37 } }, "object": { "type": "Identifier", "start": 2272, "end": 2281, "loc": { "start": { "line": 72, "column": 24 }, "end": { "line": 72, "column": 33 }, "identifierName": "drawnUids" }, "name": "drawnUids" }, "property": { "type": "Identifier", "start": 2282, "end": 2285, "loc": { "start": { "line": 72, "column": 34 }, "end": { "line": 72, "column": 37 }, "identifierName": "has" }, "name": "has" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 2286, "end": 2296, "loc": { "start": { "line": 72, "column": 38 }, "end": { "line": 72, "column": 48 } }, "object": { "type": "Identifier", "start": 2286, "end": 2292, "loc": { "start": { "line": 72, "column": 38 }, "end": { "line": 72, "column": 44 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 2293, "end": 2296, "loc": { "start": { "line": 72, "column": 45 }, "end": { "line": 72, "column": 48 }, "identifierName": "uid" }, "name": "uid" }, "computed": false } ] }, "consequent": { "type": "BlockStatement", "start": 2299, "end": 2358, "loc": { "start": { "line": 72, "column": 51 }, "end": { "line": 74, "column": 21 } }, "body": [ { "type": "ContinueStatement", "start": 2326, "end": 2335, "loc": { "start": { "line": 73, "column": 24 }, "end": { "line": 73, "column": 33 } }, "label": null } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 2380, "end": 2406, "loc": { "start": { "line": 75, "column": 20 }, "end": { "line": 75, "column": 46 } }, "expression": { "type": "CallExpression", "start": 2380, "end": 2405, "loc": { "start": { "line": 75, "column": 20 }, "end": { "line": 75, "column": 45 } }, "callee": { "type": "MemberExpression", "start": 2380, "end": 2393, "loc": { "start": { "line": 75, "column": 20 }, "end": { "line": 75, "column": 33 } }, "object": { "type": "Identifier", "start": 2380, "end": 2389, "loc": { "start": { "line": 75, "column": 20 }, "end": { "line": 75, "column": 29 }, "identifierName": "drawnUids" }, "name": "drawnUids" }, "property": { "type": "Identifier", "start": 2390, "end": 2393, "loc": { "start": { "line": 75, "column": 30 }, "end": { "line": 75, "column": 33 }, "identifierName": "add" }, "name": "add" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 2394, "end": 2404, "loc": { "start": { "line": 75, "column": 34 }, "end": { "line": 75, "column": 44 } }, "object": { "type": "Identifier", "start": 2394, "end": 2400, "loc": { "start": { "line": 75, "column": 34 }, "end": { "line": 75, "column": 40 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 2401, "end": 2404, "loc": { "start": { "line": 75, "column": 41 }, "end": { "line": 75, "column": 44 }, "identifierName": "uid" }, "name": "uid" }, "computed": false } ] } }, { "type": "VariableDeclaration", "start": 2428, "end": 2481, "loc": { "start": { "line": 76, "column": 20 }, "end": { "line": 76, "column": 73 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2434, "end": 2480, "loc": { "start": { "line": 76, "column": 26 }, "end": { "line": 76, "column": 72 } }, "id": { "type": "Identifier", "start": 2434, "end": 2444, "loc": { "start": { "line": 76, "column": 26 }, "end": { "line": 76, "column": 36 }, "identifierName": "staticComp" }, "name": "staticComp" }, "init": { "type": "MemberExpression", "start": 2447, "end": 2480, "loc": { "start": { "line": 76, "column": 39 }, "end": { "line": 76, "column": 72 } }, "object": { "type": "MemberExpression", "start": 2447, "end": 2464, "loc": { "start": { "line": 76, "column": 39 }, "end": { "line": 76, "column": 56 } }, "object": { "type": "Identifier", "start": 2447, "end": 2453, "loc": { "start": { "line": 76, "column": 39 }, "end": { "line": 76, "column": 45 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 2454, "end": 2464, "loc": { "start": { "line": 76, "column": 46 }, "end": { "line": 76, "column": 56 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 2465, "end": 2480, "loc": { "start": { "line": 76, "column": 57 }, "end": { "line": 76, "column": 72 }, "identifierName": "StaticMapEntity" }, "name": "StaticMapEntity" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 2505, "end": 2543, "loc": { "start": { "line": 78, "column": 20 }, "end": { "line": 78, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2511, "end": 2542, "loc": { "start": { "line": 78, "column": 26 }, "end": { "line": 78, "column": 57 } }, "id": { "type": "Identifier", "start": 2511, "end": 2517, "loc": { "start": { "line": 78, "column": 26 }, "end": { "line": 78, "column": 32 }, "identifierName": "sprite" }, "name": "sprite" }, "init": { "type": "CallExpression", "start": 2520, "end": 2542, "loc": { "start": { "line": 78, "column": 35 }, "end": { "line": 78, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 2520, "end": 2540, "loc": { "start": { "line": 78, "column": 35 }, "end": { "line": 78, "column": 55 } }, "object": { "type": "Identifier", "start": 2520, "end": 2530, "loc": { "start": { "line": 78, "column": 35 }, "end": { "line": 78, "column": 45 }, "identifierName": "staticComp" }, "name": "staticComp" }, "property": { "type": "Identifier", "start": 2531, "end": 2540, "loc": { "start": { "line": 78, "column": 46 }, "end": { "line": 78, "column": 55 }, "identifierName": "getSprite" }, "name": "getSprite" }, "computed": false }, "arguments": [] } } ], "kind": "const" }, { "type": "IfStatement", "start": 2565, "end": 2687, "loc": { "start": { "line": 79, "column": 20 }, "end": { "line": 81, "column": 21 } }, "test": { "type": "Identifier", "start": 2569, "end": 2575, "loc": { "start": { "line": 79, "column": 24 }, "end": { "line": 79, "column": 30 }, "identifierName": "sprite" }, "name": "sprite" }, "consequent": { "type": "BlockStatement", "start": 2577, "end": 2687, "loc": { "start": { "line": 79, "column": 32 }, "end": { "line": 81, "column": 21 } }, "body": [ { "type": "ExpressionStatement", "start": 2604, "end": 2664, "loc": { "start": { "line": 80, "column": 24 }, "end": { "line": 80, "column": 84 } }, "expression": { "type": "CallExpression", "start": 2604, "end": 2663, "loc": { "start": { "line": 80, "column": 24 }, "end": { "line": 80, "column": 83 } }, "callee": { "type": "MemberExpression", "start": 2604, "end": 2640, "loc": { "start": { "line": 80, "column": 24 }, "end": { "line": 80, "column": 60 } }, "object": { "type": "Identifier", "start": 2604, "end": 2614, "loc": { "start": { "line": 80, "column": 24 }, "end": { "line": 80, "column": 34 }, "identifierName": "staticComp" }, "name": "staticComp" }, "property": { "type": "Identifier", "start": 2615, "end": 2640, "loc": { "start": { "line": 80, "column": 35 }, "end": { "line": 80, "column": 60 }, "identifierName": "drawSpriteOnBoundsClipped" }, "name": "drawSpriteOnBoundsClipped" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 2641, "end": 2651, "loc": { "start": { "line": 80, "column": 61 }, "end": { "line": 80, "column": 71 }, "identifierName": "parameters" }, "name": "parameters" }, { "type": "Identifier", "start": 2653, "end": 2659, "loc": { "start": { "line": 80, "column": 73 }, "end": { "line": 80, "column": 79 }, "identifierName": "sprite" }, "name": "sprite" }, { "type": "NumericLiteral", "start": 2661, "end": 2662, "loc": { "start": { "line": 80, "column": 81 }, "end": { "line": 80, "column": 82 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": null } ], "directives": [] } } ], "directives": [] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Draws the static wire entities\r\n * @param {DrawParameters} parameters\r\n * @param {MapChunkView} chunk\r\n ", "start": 1666, "end": 1796, "loc": { "start": { "line": 56, "column": 4 }, "end": { "line": 60, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Draws the static wire entities\r\n * @param {DrawParameters} parameters\r\n * @param {MapChunkView} chunk\r\n * @param {string} layer\r\n ", "start": 2747, "end": 2907, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 92, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 2913, "end": 3765, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 113, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 2913, "end": 2938, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 93, "column": 29 }, "identifierName": "drawChunk_ForegroundLayer" }, "name": "drawChunk_ForegroundLayer", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2939, "end": 2949, "loc": { "start": { "line": 93, "column": 30 }, "end": { "line": 93, "column": 40 }, "identifierName": "parameters" }, "name": "parameters" }, { "type": "Identifier", "start": 2951, "end": 2956, "loc": { "start": { "line": 93, "column": 42 }, "end": { "line": 93, "column": 47 }, "identifierName": "chunk" }, "name": "chunk" }, { "type": "Identifier", "start": 2958, "end": 2963, "loc": { "start": { "line": 93, "column": 49 }, "end": { "line": 93, "column": 54 }, "identifierName": "layer" }, "name": "layer" } ], "body": { "type": "BlockStatement", "start": 2965, "end": 3765, "loc": { "start": { "line": 93, "column": 56 }, "end": { "line": 113, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 2976, "end": 3004, "loc": { "start": { "line": 94, "column": 8 }, "end": { "line": 94, "column": 36 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2982, "end": 3003, "loc": { "start": { "line": 94, "column": 14 }, "end": { "line": 94, "column": 35 } }, "id": { "type": "Identifier", "start": 2982, "end": 2991, "loc": { "start": { "line": 94, "column": 14 }, "end": { "line": 94, "column": 23 }, "identifierName": "drawnUids" }, "name": "drawnUids" }, "init": { "type": "NewExpression", "start": 2994, "end": 3003, "loc": { "start": { "line": 94, "column": 26 }, "end": { "line": 94, "column": 35 } }, "callee": { "type": "Identifier", "start": 2998, "end": 3001, "loc": { "start": { "line": 94, "column": 30 }, "end": { "line": 94, "column": 33 }, "identifierName": "Set" }, "name": "Set" }, "arguments": [] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 3014, "end": 3063, "loc": { "start": { "line": 95, "column": 8 }, "end": { "line": 95, "column": 57 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3020, "end": 3062, "loc": { "start": { "line": 95, "column": 14 }, "end": { "line": 95, "column": 56 } }, "id": { "type": "Identifier", "start": 3020, "end": 3028, "loc": { "start": { "line": 95, "column": 14 }, "end": { "line": 95, "column": 22 }, "identifierName": "contents" }, "name": "contents" }, "init": { "type": "CallExpression", "start": 3031, "end": 3062, "loc": { "start": { "line": 95, "column": 25 }, "end": { "line": 95, "column": 56 } }, "callee": { "type": "MemberExpression", "start": 3031, "end": 3055, "loc": { "start": { "line": 95, "column": 25 }, "end": { "line": 95, "column": 49 } }, "object": { "type": "MemberExpression", "start": 3031, "end": 3051, "loc": { "start": { "line": 95, "column": 25 }, "end": { "line": 95, "column": 45 } }, "object": { "type": "Identifier", "start": 3031, "end": 3036, "loc": { "start": { "line": 95, "column": 25 }, "end": { "line": 95, "column": 30 }, "identifierName": "chunk" }, "name": "chunk" }, "property": { "type": "Identifier", "start": 3037, "end": 3051, "loc": { "start": { "line": 95, "column": 31 }, "end": { "line": 95, "column": 45 }, "identifierName": "layersContents" }, "name": "layersContents" }, "computed": false }, "property": { "type": "Identifier", "start": 3052, "end": 3055, "loc": { "start": { "line": 95, "column": 46 }, "end": { "line": 95, "column": 49 }, "identifierName": "get" }, "name": "get" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 3056, "end": 3061, "loc": { "start": { "line": 95, "column": 50 }, "end": { "line": 95, "column": 55 }, "identifierName": "layer" }, "name": "layer" } ] } } ], "kind": "const" }, { "type": "ForStatement", "start": 3073, "end": 3758, "loc": { "start": { "line": 96, "column": 8 }, "end": { "line": 112, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 3078, "end": 3087, "loc": { "start": { "line": 96, "column": 13 }, "end": { "line": 96, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3082, "end": 3087, "loc": { "start": { "line": 96, "column": 17 }, "end": { "line": 96, "column": 22 } }, "id": { "type": "Identifier", "start": 3082, "end": 3083, "loc": { "start": { "line": 96, "column": 17 }, "end": { "line": 96, "column": 18 }, "identifierName": "y" }, "name": "y" }, "init": { "type": "NumericLiteral", "start": 3086, "end": 3087, "loc": { "start": { "line": 96, "column": 21 }, "end": { "line": 96, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 3089, "end": 3118, "loc": { "start": { "line": 96, "column": 24 }, "end": { "line": 96, "column": 53 } }, "left": { "type": "Identifier", "start": 3089, "end": 3090, "loc": { "start": { "line": 96, "column": 24 }, "end": { "line": 96, "column": 25 }, "identifierName": "y" }, "name": "y" }, "operator": "<", "right": { "type": "MemberExpression", "start": 3093, "end": 3118, "loc": { "start": { "line": 96, "column": 28 }, "end": { "line": 96, "column": 53 } }, "object": { "type": "Identifier", "start": 3093, "end": 3105, "loc": { "start": { "line": 96, "column": 28 }, "end": { "line": 96, "column": 40 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 3106, "end": 3118, "loc": { "start": { "line": 96, "column": 41 }, "end": { "line": 96, "column": 53 }, "identifierName": "mapChunkSize" }, "name": "mapChunkSize" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 3120, "end": 3123, "loc": { "start": { "line": 96, "column": 55 }, "end": { "line": 96, "column": 58 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 3122, "end": 3123, "loc": { "start": { "line": 96, "column": 57 }, "end": { "line": 96, "column": 58 }, "identifierName": "y" }, "name": "y" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 3125, "end": 3758, "loc": { "start": { "line": 96, "column": 60 }, "end": { "line": 112, "column": 9 } }, "body": [ { "type": "ForStatement", "start": 3140, "end": 3747, "loc": { "start": { "line": 97, "column": 12 }, "end": { "line": 111, "column": 13 } }, "init": { "type": "VariableDeclaration", "start": 3145, "end": 3154, "loc": { "start": { "line": 97, "column": 17 }, "end": { "line": 97, "column": 26 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3149, "end": 3154, "loc": { "start": { "line": 97, "column": 21 }, "end": { "line": 97, "column": 26 } }, "id": { "type": "Identifier", "start": 3149, "end": 3150, "loc": { "start": { "line": 97, "column": 21 }, "end": { "line": 97, "column": 22 }, "identifierName": "x" }, "name": "x" }, "init": { "type": "NumericLiteral", "start": 3153, "end": 3154, "loc": { "start": { "line": 97, "column": 25 }, "end": { "line": 97, "column": 26 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 3156, "end": 3185, "loc": { "start": { "line": 97, "column": 28 }, "end": { "line": 97, "column": 57 } }, "left": { "type": "Identifier", "start": 3156, "end": 3157, "loc": { "start": { "line": 97, "column": 28 }, "end": { "line": 97, "column": 29 }, "identifierName": "x" }, "name": "x" }, "operator": "<", "right": { "type": "MemberExpression", "start": 3160, "end": 3185, "loc": { "start": { "line": 97, "column": 32 }, "end": { "line": 97, "column": 57 } }, "object": { "type": "Identifier", "start": 3160, "end": 3172, "loc": { "start": { "line": 97, "column": 32 }, "end": { "line": 97, "column": 44 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 3173, "end": 3185, "loc": { "start": { "line": 97, "column": 45 }, "end": { "line": 97, "column": 57 }, "identifierName": "mapChunkSize" }, "name": "mapChunkSize" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 3187, "end": 3190, "loc": { "start": { "line": 97, "column": 59 }, "end": { "line": 97, "column": 62 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 3189, "end": 3190, "loc": { "start": { "line": 97, "column": 61 }, "end": { "line": 97, "column": 62 }, "identifierName": "x" }, "name": "x" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 3192, "end": 3747, "loc": { "start": { "line": 97, "column": 64 }, "end": { "line": 111, "column": 13 } }, "body": [ { "type": "VariableDeclaration", "start": 3211, "end": 3241, "loc": { "start": { "line": 98, "column": 16 }, "end": { "line": 98, "column": 46 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3217, "end": 3240, "loc": { "start": { "line": 98, "column": 22 }, "end": { "line": 98, "column": 45 } }, "id": { "type": "Identifier", "start": 3217, "end": 3223, "loc": { "start": { "line": 98, "column": 22 }, "end": { "line": 98, "column": 28 }, "identifierName": "entity" }, "name": "entity" }, "init": { "type": "MemberExpression", "start": 3226, "end": 3240, "loc": { "start": { "line": 98, "column": 31 }, "end": { "line": 98, "column": 45 } }, "object": { "type": "MemberExpression", "start": 3226, "end": 3237, "loc": { "start": { "line": 98, "column": 31 }, "end": { "line": 98, "column": 42 } }, "object": { "type": "Identifier", "start": 3226, "end": 3234, "loc": { "start": { "line": 98, "column": 31 }, "end": { "line": 98, "column": 39 }, "identifierName": "contents" }, "name": "contents" }, "property": { "type": "Identifier", "start": 3235, "end": 3236, "loc": { "start": { "line": 98, "column": 40 }, "end": { "line": 98, "column": 41 }, "identifierName": "x" }, "name": "x" }, "computed": true }, "property": { "type": "Identifier", "start": 3238, "end": 3239, "loc": { "start": { "line": 98, "column": 43 }, "end": { "line": 98, "column": 44 }, "identifierName": "y" }, "name": "y" }, "computed": true } } ], "kind": "const" }, { "type": "IfStatement", "start": 3259, "end": 3732, "loc": { "start": { "line": 99, "column": 16 }, "end": { "line": 110, "column": 17 } }, "test": { "type": "Identifier", "start": 3263, "end": 3269, "loc": { "start": { "line": 99, "column": 20 }, "end": { "line": 99, "column": 26 }, "identifierName": "entity" }, "name": "entity" }, "consequent": { "type": "BlockStatement", "start": 3271, "end": 3732, "loc": { "start": { "line": 99, "column": 28 }, "end": { "line": 110, "column": 17 } }, "body": [ { "type": "IfStatement", "start": 3294, "end": 3384, "loc": { "start": { "line": 100, "column": 20 }, "end": { "line": 102, "column": 21 } }, "test": { "type": "CallExpression", "start": 3298, "end": 3323, "loc": { "start": { "line": 100, "column": 24 }, "end": { "line": 100, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 3298, "end": 3311, "loc": { "start": { "line": 100, "column": 24 }, "end": { "line": 100, "column": 37 } }, "object": { "type": "Identifier", "start": 3298, "end": 3307, "loc": { "start": { "line": 100, "column": 24 }, "end": { "line": 100, "column": 33 }, "identifierName": "drawnUids" }, "name": "drawnUids" }, "property": { "type": "Identifier", "start": 3308, "end": 3311, "loc": { "start": { "line": 100, "column": 34 }, "end": { "line": 100, "column": 37 }, "identifierName": "has" }, "name": "has" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 3312, "end": 3322, "loc": { "start": { "line": 100, "column": 38 }, "end": { "line": 100, "column": 48 } }, "object": { "type": "Identifier", "start": 3312, "end": 3318, "loc": { "start": { "line": 100, "column": 38 }, "end": { "line": 100, "column": 44 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 3319, "end": 3322, "loc": { "start": { "line": 100, "column": 45 }, "end": { "line": 100, "column": 48 }, "identifierName": "uid" }, "name": "uid" }, "computed": false } ] }, "consequent": { "type": "BlockStatement", "start": 3325, "end": 3384, "loc": { "start": { "line": 100, "column": 51 }, "end": { "line": 102, "column": 21 } }, "body": [ { "type": "ContinueStatement", "start": 3352, "end": 3361, "loc": { "start": { "line": 101, "column": 24 }, "end": { "line": 101, "column": 33 } }, "label": null } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 3406, "end": 3432, "loc": { "start": { "line": 103, "column": 20 }, "end": { "line": 103, "column": 46 } }, "expression": { "type": "CallExpression", "start": 3406, "end": 3431, "loc": { "start": { "line": 103, "column": 20 }, "end": { "line": 103, "column": 45 } }, "callee": { "type": "MemberExpression", "start": 3406, "end": 3419, "loc": { "start": { "line": 103, "column": 20 }, "end": { "line": 103, "column": 33 } }, "object": { "type": "Identifier", "start": 3406, "end": 3415, "loc": { "start": { "line": 103, "column": 20 }, "end": { "line": 103, "column": 29 }, "identifierName": "drawnUids" }, "name": "drawnUids" }, "property": { "type": "Identifier", "start": 3416, "end": 3419, "loc": { "start": { "line": 103, "column": 30 }, "end": { "line": 103, "column": 33 }, "identifierName": "add" }, "name": "add" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 3420, "end": 3430, "loc": { "start": { "line": 103, "column": 34 }, "end": { "line": 103, "column": 44 } }, "object": { "type": "Identifier", "start": 3420, "end": 3426, "loc": { "start": { "line": 103, "column": 34 }, "end": { "line": 103, "column": 40 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 3427, "end": 3430, "loc": { "start": { "line": 103, "column": 41 }, "end": { "line": 103, "column": 44 }, "identifierName": "uid" }, "name": "uid" }, "computed": false } ] } }, { "type": "VariableDeclaration", "start": 3454, "end": 3507, "loc": { "start": { "line": 104, "column": 20 }, "end": { "line": 104, "column": 73 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3460, "end": 3506, "loc": { "start": { "line": 104, "column": 26 }, "end": { "line": 104, "column": 72 } }, "id": { "type": "Identifier", "start": 3460, "end": 3470, "loc": { "start": { "line": 104, "column": 26 }, "end": { "line": 104, "column": 36 }, "identifierName": "staticComp" }, "name": "staticComp" }, "init": { "type": "MemberExpression", "start": 3473, "end": 3506, "loc": { "start": { "line": 104, "column": 39 }, "end": { "line": 104, "column": 72 } }, "object": { "type": "MemberExpression", "start": 3473, "end": 3490, "loc": { "start": { "line": 104, "column": 39 }, "end": { "line": 104, "column": 56 } }, "object": { "type": "Identifier", "start": 3473, "end": 3479, "loc": { "start": { "line": 104, "column": 39 }, "end": { "line": 104, "column": 45 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 3480, "end": 3490, "loc": { "start": { "line": 104, "column": 46 }, "end": { "line": 104, "column": 56 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 3491, "end": 3506, "loc": { "start": { "line": 104, "column": 57 }, "end": { "line": 104, "column": 72 }, "identifierName": "StaticMapEntity" }, "name": "StaticMapEntity" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 3531, "end": 3569, "loc": { "start": { "line": 106, "column": 20 }, "end": { "line": 106, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3537, "end": 3568, "loc": { "start": { "line": 106, "column": 26 }, "end": { "line": 106, "column": 57 } }, "id": { "type": "Identifier", "start": 3537, "end": 3543, "loc": { "start": { "line": 106, "column": 26 }, "end": { "line": 106, "column": 32 }, "identifierName": "sprite" }, "name": "sprite" }, "init": { "type": "CallExpression", "start": 3546, "end": 3568, "loc": { "start": { "line": 106, "column": 35 }, "end": { "line": 106, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 3546, "end": 3566, "loc": { "start": { "line": 106, "column": 35 }, "end": { "line": 106, "column": 55 } }, "object": { "type": "Identifier", "start": 3546, "end": 3556, "loc": { "start": { "line": 106, "column": 35 }, "end": { "line": 106, "column": 45 }, "identifierName": "staticComp" }, "name": "staticComp" }, "property": { "type": "Identifier", "start": 3557, "end": 3566, "loc": { "start": { "line": 106, "column": 46 }, "end": { "line": 106, "column": 55 }, "identifierName": "getSprite" }, "name": "getSprite" }, "computed": false }, "arguments": [] } } ], "kind": "const" }, { "type": "IfStatement", "start": 3591, "end": 3713, "loc": { "start": { "line": 107, "column": 20 }, "end": { "line": 109, "column": 21 } }, "test": { "type": "Identifier", "start": 3595, "end": 3601, "loc": { "start": { "line": 107, "column": 24 }, "end": { "line": 107, "column": 30 }, "identifierName": "sprite" }, "name": "sprite" }, "consequent": { "type": "BlockStatement", "start": 3603, "end": 3713, "loc": { "start": { "line": 107, "column": 32 }, "end": { "line": 109, "column": 21 } }, "body": [ { "type": "ExpressionStatement", "start": 3630, "end": 3690, "loc": { "start": { "line": 108, "column": 24 }, "end": { "line": 108, "column": 84 } }, "expression": { "type": "CallExpression", "start": 3630, "end": 3689, "loc": { "start": { "line": 108, "column": 24 }, "end": { "line": 108, "column": 83 } }, "callee": { "type": "MemberExpression", "start": 3630, "end": 3666, "loc": { "start": { "line": 108, "column": 24 }, "end": { "line": 108, "column": 60 } }, "object": { "type": "Identifier", "start": 3630, "end": 3640, "loc": { "start": { "line": 108, "column": 24 }, "end": { "line": 108, "column": 34 }, "identifierName": "staticComp" }, "name": "staticComp" }, "property": { "type": "Identifier", "start": 3641, "end": 3666, "loc": { "start": { "line": 108, "column": 35 }, "end": { "line": 108, "column": 60 }, "identifierName": "drawSpriteOnBoundsClipped" }, "name": "drawSpriteOnBoundsClipped" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 3667, "end": 3677, "loc": { "start": { "line": 108, "column": 61 }, "end": { "line": 108, "column": 71 }, "identifierName": "parameters" }, "name": "parameters" }, { "type": "Identifier", "start": 3679, "end": 3685, "loc": { "start": { "line": 108, "column": 73 }, "end": { "line": 108, "column": 79 }, "identifierName": "sprite" }, "name": "sprite" }, { "type": "NumericLiteral", "start": 3687, "end": 3688, "loc": { "start": { "line": 108, "column": 81 }, "end": { "line": 108, "column": 82 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": null } ], "directives": [] } } ], "directives": [] } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Draws the static wire entities\r\n * @param {DrawParameters} parameters\r\n * @param {MapChunkView} chunk\r\n * @param {string} layer\r\n ", "start": 2747, "end": 2907, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 92, "column": 7 } } } ] } ] }, "leadingComments": [], "trailingComments": [] } } ], "directives": [] }, "comments": [ { "type": "CommentBlock", "value": "* @type {Set} ", "start": 326, "end": 352, "loc": { "start": { "line": 10, "column": 8 }, "end": { "line": 10, "column": 34 } } }, { "type": "CommentBlock", "value": "*\r\n * Clears the uid list when a new frame started\r\n ", "start": 548, "end": 613, "loc": { "start": { "line": 20, "column": 4 }, "end": { "line": 22, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Draws the static entities\r\n * @param {DrawParameters} parameters\r\n * @param {MapChunkView} chunk\r\n ", "start": 683, "end": 808, "loc": { "start": { "line": 27, "column": 4 }, "end": { "line": 31, "column": 7 } } }, { "type": "CommentLine", "value": " Avoid drawing an entity twice which has been drawn for", "start": 1292, "end": 1349, "loc": { "start": { "line": 44, "column": 16 }, "end": { "line": 44, "column": 73 } } }, { "type": "CommentLine", "value": " another chunk already", "start": 1367, "end": 1391, "loc": { "start": { "line": 45, "column": 16 }, "end": { "line": 45, "column": 40 } } }, { "type": "CommentBlock", "value": "*\r\n * Draws the static wire entities\r\n * @param {DrawParameters} parameters\r\n * @param {MapChunkView} chunk\r\n ", "start": 1666, "end": 1796, "loc": { "start": { "line": 56, "column": 4 }, "end": { "line": 60, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Draws the static wire entities\r\n * @param {DrawParameters} parameters\r\n * @param {MapChunkView} chunk\r\n * @param {string} layer\r\n ", "start": 2747, "end": 2907, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 92, "column": 7 } } } ], "tokens": [ { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 0, "end": 6, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7, "end": 8, "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 1, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "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": "export", "keyword": "export", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "export", "start": 212, "end": 218, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "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": 219, "end": 224, "loc": { "start": { "line": 6, "column": 7 }, "end": { "line": 6, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "StaticMapEntitySystem", "start": 225, "end": 246, "loc": { "start": { "line": 6, "column": 13 }, "end": { "line": 6, "column": 34 } } }, { "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": 247, "end": 254, "loc": { "start": { "line": 6, "column": 35 }, "end": { "line": 6, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "GameSystem", "start": 255, "end": 265, "loc": { "start": { "line": 6, "column": 43 }, "end": { "line": 6, "column": 53 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 266, "end": 267, "loc": { "start": { "line": 6, "column": 54 }, "end": { "line": 6, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 273, "end": 284, "loc": { "start": { "line": 7, "column": 4 }, "end": { "line": 7, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 284, "end": 285, "loc": { "start": { "line": 7, "column": 15 }, "end": { "line": 7, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 285, "end": 289, "loc": { "start": { "line": 7, "column": 16 }, "end": { "line": 7, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 289, "end": 290, "loc": { "start": { "line": 7, "column": 20 }, "end": { "line": 7, "column": 21 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 291, "end": 292, "loc": { "start": { "line": 7, "column": 22 }, "end": { "line": 7, "column": 23 } } }, { "type": { "label": "super", "keyword": "super", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "super", "start": 302, "end": 307, "loc": { "start": { "line": 8, "column": 8 }, "end": { "line": 8, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 307, "end": 308, "loc": { "start": { "line": 8, "column": 13 }, "end": { "line": 8, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 308, "end": 312, "loc": { "start": { "line": 8, "column": 14 }, "end": { "line": 8, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 312, "end": 313, "loc": { "start": { "line": 8, "column": 18 }, "end": { "line": 8, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 313, "end": 314, "loc": { "start": { "line": 8, "column": 19 }, "end": { "line": 8, "column": 20 } } }, { "type": "CommentBlock", "value": "* @type {Set} ", "start": 326, "end": 352, "loc": { "start": { "line": 10, "column": 8 }, "end": { "line": 10, "column": 34 } } }, { "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": 362, "end": 366, "loc": { "start": { "line": 11, "column": 8 }, "end": { "line": 11, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 366, "end": 367, "loc": { "start": { "line": 11, "column": 12 }, "end": { "line": 11, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "drawnUids", "start": 367, "end": 376, "loc": { "start": { "line": 11, "column": 13 }, "end": { "line": 11, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 377, "end": 378, "loc": { "start": { "line": 11, "column": 23 }, "end": { "line": 11, "column": 24 } } }, { "type": { "label": "new", "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "new", "start": 379, "end": 382, "loc": { "start": { "line": 11, "column": 25 }, "end": { "line": 11, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Set", "start": 383, "end": 386, "loc": { "start": { "line": 11, "column": 29 }, "end": { "line": 11, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 386, "end": 387, "loc": { "start": { "line": 11, "column": 32 }, "end": { "line": 11, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 387, "end": 388, "loc": { "start": { "line": 11, "column": 33 }, "end": { "line": 11, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 388, "end": 389, "loc": { "start": { "line": 11, "column": 34 }, "end": { "line": 11, "column": 35 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 401, "end": 405, "loc": { "start": { "line": 13, "column": 8 }, "end": { "line": 13, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 405, "end": 406, "loc": { "start": { "line": 13, "column": 12 }, "end": { "line": 13, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 406, "end": 410, "loc": { "start": { "line": 13, "column": 13 }, "end": { "line": 13, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 410, "end": 411, "loc": { "start": { "line": 13, "column": 17 }, "end": { "line": 13, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "signals", "start": 411, "end": 418, "loc": { "start": { "line": 13, "column": 18 }, "end": { "line": 13, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 418, "end": 419, "loc": { "start": { "line": 13, "column": 25 }, "end": { "line": 13, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "gameFrameStarted", "start": 419, "end": 435, "loc": { "start": { "line": 13, "column": 26 }, "end": { "line": 13, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 435, "end": 436, "loc": { "start": { "line": 13, "column": 42 }, "end": { "line": 13, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "add", "start": 436, "end": 439, "loc": { "start": { "line": 13, "column": 43 }, "end": { "line": 13, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 439, "end": 440, "loc": { "start": { "line": 13, "column": 46 }, "end": { "line": 13, "column": 47 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 440, "end": 444, "loc": { "start": { "line": 13, "column": 47 }, "end": { "line": 13, "column": 51 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 444, "end": 445, "loc": { "start": { "line": 13, "column": 51 }, "end": { "line": 13, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clearUidList", "start": 445, "end": 457, "loc": { "start": { "line": 13, "column": 52 }, "end": { "line": 13, "column": 64 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 457, "end": 458, "loc": { "start": { "line": 13, "column": 64 }, "end": { "line": 13, "column": 65 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 459, "end": 463, "loc": { "start": { "line": 13, "column": 66 }, "end": { "line": 13, "column": 70 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 463, "end": 464, "loc": { "start": { "line": 13, "column": 70 }, "end": { "line": 13, "column": 71 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 464, "end": 465, "loc": { "start": { "line": 13, "column": 71 }, "end": { "line": 13, "column": 72 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 471, "end": 472, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 14, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "static", "start": 480, "end": 486, "loc": { "start": { "line": 16, "column": 4 }, "end": { "line": 16, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getId", "start": 487, "end": 492, "loc": { "start": { "line": 16, "column": 11 }, "end": { "line": 16, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 492, "end": 493, "loc": { "start": { "line": 16, "column": 16 }, "end": { "line": 16, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 493, "end": 494, "loc": { "start": { "line": 16, "column": 17 }, "end": { "line": 16, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 495, "end": 496, "loc": { "start": { "line": 16, "column": 19 }, "end": { "line": 16, "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": 506, "end": 512, "loc": { "start": { "line": 17, "column": 8 }, "end": { "line": 17, "column": 14 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "staticMapEntities", "start": 513, "end": 532, "loc": { "start": { "line": 17, "column": 15 }, "end": { "line": 17, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 532, "end": 533, "loc": { "start": { "line": 17, "column": 34 }, "end": { "line": 17, "column": 35 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 539, "end": 540, "loc": { "start": { "line": 18, "column": 4 }, "end": { "line": 18, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Clears the uid list when a new frame started\r\n ", "start": 548, "end": 613, "loc": { "start": { "line": 20, "column": 4 }, "end": { "line": 22, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clearUidList", "start": 619, "end": 631, "loc": { "start": { "line": 23, "column": 4 }, "end": { "line": 23, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 631, "end": 632, "loc": { "start": { "line": 23, "column": 16 }, "end": { "line": 23, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 632, "end": 633, "loc": { "start": { "line": 23, "column": 17 }, "end": { "line": 23, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 634, "end": 635, "loc": { "start": { "line": 23, "column": 19 }, "end": { "line": 23, "column": 20 } } }, { "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": 645, "end": 649, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 649, "end": 650, "loc": { "start": { "line": 24, "column": 12 }, "end": { "line": 24, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "drawnUids", "start": 650, "end": 659, "loc": { "start": { "line": 24, "column": 13 }, "end": { "line": 24, "column": 22 } } }, { "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": 24, "column": 22 }, "end": { "line": 24, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clear", "start": 660, "end": 665, "loc": { "start": { "line": 24, "column": 23 }, "end": { "line": 24, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 665, "end": 666, "loc": { "start": { "line": 24, "column": 28 }, "end": { "line": 24, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 666, "end": 667, "loc": { "start": { "line": 24, "column": 29 }, "end": { "line": 24, "column": 30 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 667, "end": 668, "loc": { "start": { "line": 24, "column": 30 }, "end": { "line": 24, "column": 31 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 674, "end": 675, "loc": { "start": { "line": 25, "column": 4 }, "end": { "line": 25, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Draws the static entities\r\n * @param {DrawParameters} parameters\r\n * @param {MapChunkView} chunk\r\n ", "start": 683, "end": 808, "loc": { "start": { "line": 27, "column": 4 }, "end": { "line": 31, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "drawChunk_ForegroundStaticLayer", "start": 814, "end": 845, "loc": { "start": { "line": 32, "column": 4 }, "end": { "line": 32, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 845, "end": 846, "loc": { "start": { "line": 32, "column": 35 }, "end": { "line": 32, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 846, "end": 856, "loc": { "start": { "line": 32, "column": 36 }, "end": { "line": 32, "column": 46 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 856, "end": 857, "loc": { "start": { "line": 32, "column": 46 }, "end": { "line": 32, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "chunk", "start": 858, "end": 863, "loc": { "start": { "line": 32, "column": 48 }, "end": { "line": 32, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 863, "end": 864, "loc": { "start": { "line": 32, "column": 53 }, "end": { "line": 32, "column": 54 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 865, "end": 866, "loc": { "start": { "line": 32, "column": 55 }, "end": { "line": 32, "column": 56 } } }, { "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": 876, "end": 878, "loc": { "start": { "line": 33, "column": 8 }, "end": { "line": 33, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 879, "end": 880, "loc": { "start": { "line": 33, "column": 11 }, "end": { "line": 33, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "G_IS_DEV", "start": 880, "end": 888, "loc": { "start": { "line": 33, "column": 12 }, "end": { "line": 33, "column": 20 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 889, "end": 891, "loc": { "start": { "line": 33, "column": 21 }, "end": { "line": 33, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 892, "end": 904, "loc": { "start": { "line": 33, "column": 24 }, "end": { "line": 33, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 904, "end": 905, "loc": { "start": { "line": 33, "column": 36 }, "end": { "line": 33, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 905, "end": 910, "loc": { "start": { "line": 33, "column": 37 }, "end": { "line": 33, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 910, "end": 911, "loc": { "start": { "line": 33, "column": 42 }, "end": { "line": 33, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "doNotRenderStatics", "start": 911, "end": 929, "loc": { "start": { "line": 33, "column": 43 }, "end": { "line": 33, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 929, "end": 930, "loc": { "start": { "line": 33, "column": 61 }, "end": { "line": 33, "column": 62 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 931, "end": 932, "loc": { "start": { "line": 33, "column": 63 }, "end": { "line": 33, "column": 64 } } }, { "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": 946, "end": 952, "loc": { "start": { "line": 34, "column": 12 }, "end": { "line": 34, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 952, "end": 953, "loc": { "start": { "line": 34, "column": 18 }, "end": { "line": 34, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 963, "end": 964, "loc": { "start": { "line": 35, "column": 8 }, "end": { "line": 35, "column": 9 } } }, { "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": 976, "end": 981, "loc": { "start": { "line": 37, "column": 8 }, "end": { "line": 37, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contents", "start": 982, "end": 990, "loc": { "start": { "line": 37, "column": 14 }, "end": { "line": 37, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 991, "end": 992, "loc": { "start": { "line": 37, "column": 23 }, "end": { "line": 37, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "chunk", "start": 993, "end": 998, "loc": { "start": { "line": 37, "column": 25 }, "end": { "line": 37, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 998, "end": 999, "loc": { "start": { "line": 37, "column": 30 }, "end": { "line": 37, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "containedEntitiesByLayer", "start": 999, "end": 1023, "loc": { "start": { "line": 37, "column": 31 }, "end": { "line": 37, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1023, "end": 1024, "loc": { "start": { "line": 37, "column": 55 }, "end": { "line": 37, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "regular", "start": 1024, "end": 1031, "loc": { "start": { "line": 37, "column": 56 }, "end": { "line": 37, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1031, "end": 1032, "loc": { "start": { "line": 37, "column": 63 }, "end": { "line": 37, "column": 64 } } }, { "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": 1042, "end": 1045, "loc": { "start": { "line": 38, "column": 8 }, "end": { "line": 38, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1046, "end": 1047, "loc": { "start": { "line": 38, "column": 12 }, "end": { "line": 38, "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": 1047, "end": 1050, "loc": { "start": { "line": 38, "column": 13 }, "end": { "line": 38, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 1051, "end": 1052, "loc": { "start": { "line": 38, "column": 17 }, "end": { "line": 38, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1053, "end": 1054, "loc": { "start": { "line": 38, "column": 19 }, "end": { "line": 38, "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": 1055, "end": 1056, "loc": { "start": { "line": 38, "column": 21 }, "end": { "line": 38, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1056, "end": 1057, "loc": { "start": { "line": 38, "column": 22 }, "end": { "line": 38, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 1058, "end": 1059, "loc": { "start": { "line": 38, "column": 24 }, "end": { "line": 38, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 1060, "end": 1061, "loc": { "start": { "line": 38, "column": 26 }, "end": { "line": 38, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contents", "start": 1062, "end": 1070, "loc": { "start": { "line": 38, "column": 28 }, "end": { "line": 38, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1070, "end": 1071, "loc": { "start": { "line": 38, "column": 36 }, "end": { "line": 38, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 1071, "end": 1077, "loc": { "start": { "line": 38, "column": 37 }, "end": { "line": 38, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1077, "end": 1078, "loc": { "start": { "line": 38, "column": 43 }, "end": { "line": 38, "column": 44 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 1079, "end": 1081, "loc": { "start": { "line": 38, "column": 45 }, "end": { "line": 38, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 1081, "end": 1082, "loc": { "start": { "line": 38, "column": 47 }, "end": { "line": 38, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1082, "end": 1083, "loc": { "start": { "line": 38, "column": 48 }, "end": { "line": 38, "column": 49 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1084, "end": 1085, "loc": { "start": { "line": 38, "column": 50 }, "end": { "line": 38, "column": 51 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 1099, "end": 1104, "loc": { "start": { "line": 39, "column": 12 }, "end": { "line": 39, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 1105, "end": 1111, "loc": { "start": { "line": 39, "column": 18 }, "end": { "line": 39, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1112, "end": 1113, "loc": { "start": { "line": 39, "column": 25 }, "end": { "line": 39, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contents", "start": 1114, "end": 1122, "loc": { "start": { "line": 39, "column": 27 }, "end": { "line": 39, "column": 35 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1122, "end": 1123, "loc": { "start": { "line": 39, "column": 35 }, "end": { "line": 39, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 1123, "end": 1124, "loc": { "start": { "line": 39, "column": 36 }, "end": { "line": 39, "column": 37 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1124, "end": 1125, "loc": { "start": { "line": 39, "column": 37 }, "end": { "line": 39, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1125, "end": 1126, "loc": { "start": { "line": 39, "column": 38 }, "end": { "line": 39, "column": 39 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 1142, "end": 1147, "loc": { "start": { "line": 41, "column": 12 }, "end": { "line": 41, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "staticComp", "start": 1148, "end": 1158, "loc": { "start": { "line": 41, "column": 18 }, "end": { "line": 41, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1159, "end": 1160, "loc": { "start": { "line": 41, "column": 29 }, "end": { "line": 41, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 1161, "end": 1167, "loc": { "start": { "line": 41, "column": 31 }, "end": { "line": 41, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1167, "end": 1168, "loc": { "start": { "line": 41, "column": 37 }, "end": { "line": 41, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 1168, "end": 1178, "loc": { "start": { "line": 41, "column": 38 }, "end": { "line": 41, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1178, "end": 1179, "loc": { "start": { "line": 41, "column": 48 }, "end": { "line": 41, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "StaticMapEntity", "start": 1179, "end": 1194, "loc": { "start": { "line": 41, "column": 49 }, "end": { "line": 41, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1194, "end": 1195, "loc": { "start": { "line": 41, "column": 64 }, "end": { "line": 41, "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": 1209, "end": 1214, "loc": { "start": { "line": 42, "column": 12 }, "end": { "line": 42, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sprite", "start": 1215, "end": 1221, "loc": { "start": { "line": 42, "column": 18 }, "end": { "line": 42, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1222, "end": 1223, "loc": { "start": { "line": 42, "column": 25 }, "end": { "line": 42, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "staticComp", "start": 1224, "end": 1234, "loc": { "start": { "line": 42, "column": 27 }, "end": { "line": 42, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1234, "end": 1235, "loc": { "start": { "line": 42, "column": 37 }, "end": { "line": 42, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getSprite", "start": 1235, "end": 1244, "loc": { "start": { "line": 42, "column": 38 }, "end": { "line": 42, "column": 47 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1244, "end": 1245, "loc": { "start": { "line": 42, "column": 47 }, "end": { "line": 42, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1245, "end": 1246, "loc": { "start": { "line": 42, "column": 48 }, "end": { "line": 42, "column": 49 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1246, "end": 1247, "loc": { "start": { "line": 42, "column": 49 }, "end": { "line": 42, "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": 1261, "end": 1263, "loc": { "start": { "line": 43, "column": 12 }, "end": { "line": 43, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1264, "end": 1265, "loc": { "start": { "line": 43, "column": 15 }, "end": { "line": 43, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sprite", "start": 1265, "end": 1271, "loc": { "start": { "line": 43, "column": 16 }, "end": { "line": 43, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1271, "end": 1272, "loc": { "start": { "line": 43, "column": 22 }, "end": { "line": 43, "column": 23 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1273, "end": 1274, "loc": { "start": { "line": 43, "column": 24 }, "end": { "line": 43, "column": 25 } } }, { "type": "CommentLine", "value": " Avoid drawing an entity twice which has been drawn for", "start": 1292, "end": 1349, "loc": { "start": { "line": 44, "column": 16 }, "end": { "line": 44, "column": 73 } } }, { "type": "CommentLine", "value": " another chunk already", "start": 1367, "end": 1391, "loc": { "start": { "line": 45, "column": 16 }, "end": { "line": 45, "column": 40 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 1409, "end": 1411, "loc": { "start": { "line": 46, "column": 16 }, "end": { "line": 46, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1412, "end": 1413, "loc": { "start": { "line": 46, "column": 19 }, "end": { "line": 46, "column": 20 } } }, { "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": 1413, "end": 1417, "loc": { "start": { "line": 46, "column": 20 }, "end": { "line": 46, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1417, "end": 1418, "loc": { "start": { "line": 46, "column": 24 }, "end": { "line": 46, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "drawnUids", "start": 1418, "end": 1427, "loc": { "start": { "line": 46, "column": 25 }, "end": { "line": 46, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1427, "end": 1428, "loc": { "start": { "line": 46, "column": 34 }, "end": { "line": 46, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "has", "start": 1428, "end": 1431, "loc": { "start": { "line": 46, "column": 35 }, "end": { "line": 46, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1431, "end": 1432, "loc": { "start": { "line": 46, "column": 38 }, "end": { "line": 46, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 1432, "end": 1438, "loc": { "start": { "line": 46, "column": 39 }, "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": 1438, "end": 1439, "loc": { "start": { "line": 46, "column": 45 }, "end": { "line": 46, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "uid", "start": 1439, "end": 1442, "loc": { "start": { "line": 46, "column": 46 }, "end": { "line": 46, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1442, "end": 1443, "loc": { "start": { "line": 46, "column": 49 }, "end": { "line": 46, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1443, "end": 1444, "loc": { "start": { "line": 46, "column": 50 }, "end": { "line": 46, "column": 51 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1445, "end": 1446, "loc": { "start": { "line": 46, "column": 52 }, "end": { "line": 46, "column": 53 } } }, { "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": 1468, "end": 1476, "loc": { "start": { "line": 47, "column": 20 }, "end": { "line": 47, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1476, "end": 1477, "loc": { "start": { "line": 47, "column": 28 }, "end": { "line": 47, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1495, "end": 1496, "loc": { "start": { "line": 48, "column": 16 }, "end": { "line": 48, "column": 17 } } }, { "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": 1516, "end": 1520, "loc": { "start": { "line": 50, "column": 16 }, "end": { "line": 50, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1520, "end": 1521, "loc": { "start": { "line": 50, "column": 20 }, "end": { "line": 50, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "drawnUids", "start": 1521, "end": 1530, "loc": { "start": { "line": 50, "column": 21 }, "end": { "line": 50, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1530, "end": 1531, "loc": { "start": { "line": 50, "column": 30 }, "end": { "line": 50, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "add", "start": 1531, "end": 1534, "loc": { "start": { "line": 50, "column": 31 }, "end": { "line": 50, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1534, "end": 1535, "loc": { "start": { "line": 50, "column": 34 }, "end": { "line": 50, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 1535, "end": 1541, "loc": { "start": { "line": 50, "column": 35 }, "end": { "line": 50, "column": 41 } } }, { "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": 50, "column": 41 }, "end": { "line": 50, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "uid", "start": 1542, "end": 1545, "loc": { "start": { "line": 50, "column": 42 }, "end": { "line": 50, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1545, "end": 1546, "loc": { "start": { "line": 50, "column": 45 }, "end": { "line": 50, "column": 46 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1546, "end": 1547, "loc": { "start": { "line": 50, "column": 46 }, "end": { "line": 50, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "staticComp", "start": 1565, "end": 1575, "loc": { "start": { "line": 51, "column": 16 }, "end": { "line": 51, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1575, "end": 1576, "loc": { "start": { "line": 51, "column": 26 }, "end": { "line": 51, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "drawSpriteOnBoundsClipped", "start": 1576, "end": 1601, "loc": { "start": { "line": 51, "column": 27 }, "end": { "line": 51, "column": 52 } } }, { "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": 51, "column": 52 }, "end": { "line": 51, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 1602, "end": 1612, "loc": { "start": { "line": 51, "column": 53 }, "end": { "line": 51, "column": 63 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1612, "end": 1613, "loc": { "start": { "line": 51, "column": 63 }, "end": { "line": 51, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sprite", "start": 1614, "end": 1620, "loc": { "start": { "line": 51, "column": 65 }, "end": { "line": 51, "column": 71 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1620, "end": 1621, "loc": { "start": { "line": 51, "column": 71 }, "end": { "line": 51, "column": 72 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 1622, "end": 1623, "loc": { "start": { "line": 51, "column": 73 }, "end": { "line": 51, "column": 74 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1623, "end": 1624, "loc": { "start": { "line": 51, "column": 74 }, "end": { "line": 51, "column": 75 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1624, "end": 1625, "loc": { "start": { "line": 51, "column": 75 }, "end": { "line": 51, "column": 76 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1639, "end": 1640, "loc": { "start": { "line": 52, "column": 12 }, "end": { "line": 52, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1650, "end": 1651, "loc": { "start": { "line": 53, "column": 8 }, "end": { "line": 53, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1657, "end": 1658, "loc": { "start": { "line": 54, "column": 4 }, "end": { "line": 54, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Draws the static wire entities\r\n * @param {DrawParameters} parameters\r\n * @param {MapChunkView} chunk\r\n ", "start": 1666, "end": 1796, "loc": { "start": { "line": 56, "column": 4 }, "end": { "line": 60, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "drawChunk_WiresForegroundLayer", "start": 1802, "end": 1832, "loc": { "start": { "line": 61, "column": 4 }, "end": { "line": 61, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1832, "end": 1833, "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": "parameters", "start": 1833, "end": 1843, "loc": { "start": { "line": 61, "column": 35 }, "end": { "line": 61, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1843, "end": 1844, "loc": { "start": { "line": 61, "column": 45 }, "end": { "line": 61, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "chunk", "start": 1845, "end": 1850, "loc": { "start": { "line": 61, "column": 47 }, "end": { "line": 61, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1850, "end": 1851, "loc": { "start": { "line": 61, "column": 52 }, "end": { "line": 61, "column": 53 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1852, "end": 1853, "loc": { "start": { "line": 61, "column": 54 }, "end": { "line": 61, "column": 55 } } }, { "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": 1863, "end": 1865, "loc": { "start": { "line": 62, "column": 8 }, "end": { "line": 62, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1866, "end": 1867, "loc": { "start": { "line": 62, "column": 11 }, "end": { "line": 62, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "G_IS_DEV", "start": 1867, "end": 1875, "loc": { "start": { "line": 62, "column": 12 }, "end": { "line": 62, "column": 20 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 1876, "end": 1878, "loc": { "start": { "line": 62, "column": 21 }, "end": { "line": 62, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 1879, "end": 1891, "loc": { "start": { "line": 62, "column": 24 }, "end": { "line": 62, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1891, "end": 1892, "loc": { "start": { "line": 62, "column": 36 }, "end": { "line": 62, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 1892, "end": 1897, "loc": { "start": { "line": 62, "column": 37 }, "end": { "line": 62, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1897, "end": 1898, "loc": { "start": { "line": 62, "column": 42 }, "end": { "line": 62, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "doNotRenderStatics", "start": 1898, "end": 1916, "loc": { "start": { "line": 62, "column": 43 }, "end": { "line": 62, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1916, "end": 1917, "loc": { "start": { "line": 62, "column": 61 }, "end": { "line": 62, "column": 62 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1918, "end": 1919, "loc": { "start": { "line": 62, "column": 63 }, "end": { "line": 62, "column": 64 } } }, { "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": 1933, "end": 1939, "loc": { "start": { "line": 63, "column": 12 }, "end": { "line": 63, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1939, "end": 1940, "loc": { "start": { "line": 63, "column": 18 }, "end": { "line": 63, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1950, "end": 1951, "loc": { "start": { "line": 64, "column": 8 }, "end": { "line": 64, "column": 9 } } }, { "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": 1963, "end": 1968, "loc": { "start": { "line": 66, "column": 8 }, "end": { "line": 66, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "drawnUids", "start": 1969, "end": 1978, "loc": { "start": { "line": 66, "column": 14 }, "end": { "line": 66, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1979, "end": 1980, "loc": { "start": { "line": 66, "column": 24 }, "end": { "line": 66, "column": 25 } } }, { "type": { "label": "new", "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "new", "start": 1981, "end": 1984, "loc": { "start": { "line": 66, "column": 26 }, "end": { "line": 66, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Set", "start": 1985, "end": 1988, "loc": { "start": { "line": 66, "column": 30 }, "end": { "line": 66, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1988, "end": 1989, "loc": { "start": { "line": 66, "column": 33 }, "end": { "line": 66, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1989, "end": 1990, "loc": { "start": { "line": 66, "column": 34 }, "end": { "line": 66, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1990, "end": 1991, "loc": { "start": { "line": 66, "column": 35 }, "end": { "line": 66, "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": 2001, "end": 2006, "loc": { "start": { "line": 67, "column": 8 }, "end": { "line": 67, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contents", "start": 2007, "end": 2015, "loc": { "start": { "line": 67, "column": 14 }, "end": { "line": 67, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2016, "end": 2017, "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": "chunk", "start": 2018, "end": 2023, "loc": { "start": { "line": 67, "column": 25 }, "end": { "line": 67, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2023, "end": 2024, "loc": { "start": { "line": 67, "column": 30 }, "end": { "line": 67, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "wireContents", "start": 2024, "end": 2036, "loc": { "start": { "line": 67, "column": 31 }, "end": { "line": 67, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2036, "end": 2037, "loc": { "start": { "line": 67, "column": 43 }, "end": { "line": 67, "column": 44 } } }, { "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": 2047, "end": 2050, "loc": { "start": { "line": 68, "column": 8 }, "end": { "line": 68, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2051, "end": 2052, "loc": { "start": { "line": 68, "column": 12 }, "end": { "line": 68, "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": 2052, "end": 2055, "loc": { "start": { "line": 68, "column": 13 }, "end": { "line": 68, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 2056, "end": 2057, "loc": { "start": { "line": 68, "column": 17 }, "end": { "line": 68, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2058, "end": 2059, "loc": { "start": { "line": 68, "column": 19 }, "end": { "line": 68, "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": 2060, "end": 2061, "loc": { "start": { "line": 68, "column": 21 }, "end": { "line": 68, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2061, "end": 2062, "loc": { "start": { "line": 68, "column": 22 }, "end": { "line": 68, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 2063, "end": 2064, "loc": { "start": { "line": 68, "column": 24 }, "end": { "line": 68, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 2065, "end": 2066, "loc": { "start": { "line": 68, "column": 26 }, "end": { "line": 68, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 2067, "end": 2079, "loc": { "start": { "line": 68, "column": 28 }, "end": { "line": 68, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2079, "end": 2080, "loc": { "start": { "line": 68, "column": 40 }, "end": { "line": 68, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapChunkSize", "start": 2080, "end": 2092, "loc": { "start": { "line": 68, "column": 41 }, "end": { "line": 68, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2092, "end": 2093, "loc": { "start": { "line": 68, "column": 53 }, "end": { "line": 68, "column": 54 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 2094, "end": 2096, "loc": { "start": { "line": 68, "column": 55 }, "end": { "line": 68, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 2096, "end": 2097, "loc": { "start": { "line": 68, "column": 57 }, "end": { "line": 68, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2097, "end": 2098, "loc": { "start": { "line": 68, "column": 58 }, "end": { "line": 68, "column": 59 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2099, "end": 2100, "loc": { "start": { "line": 68, "column": 60 }, "end": { "line": 68, "column": 61 } } }, { "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": 2114, "end": 2117, "loc": { "start": { "line": 69, "column": 12 }, "end": { "line": 69, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2118, "end": 2119, "loc": { "start": { "line": 69, "column": 16 }, "end": { "line": 69, "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": 2119, "end": 2122, "loc": { "start": { "line": 69, "column": 17 }, "end": { "line": 69, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 2123, "end": 2124, "loc": { "start": { "line": 69, "column": 21 }, "end": { "line": 69, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2125, "end": 2126, "loc": { "start": { "line": 69, "column": 23 }, "end": { "line": 69, "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": 2127, "end": 2128, "loc": { "start": { "line": 69, "column": 25 }, "end": { "line": 69, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2128, "end": 2129, "loc": { "start": { "line": 69, "column": 26 }, "end": { "line": 69, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 2130, "end": 2131, "loc": { "start": { "line": 69, "column": 28 }, "end": { "line": 69, "column": 29 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 2132, "end": 2133, "loc": { "start": { "line": 69, "column": 30 }, "end": { "line": 69, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 2134, "end": 2146, "loc": { "start": { "line": 69, "column": 32 }, "end": { "line": 69, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2146, "end": 2147, "loc": { "start": { "line": 69, "column": 44 }, "end": { "line": 69, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapChunkSize", "start": 2147, "end": 2159, "loc": { "start": { "line": 69, "column": 45 }, "end": { "line": 69, "column": 57 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2159, "end": 2160, "loc": { "start": { "line": 69, "column": 57 }, "end": { "line": 69, "column": 58 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 2161, "end": 2163, "loc": { "start": { "line": 69, "column": 59 }, "end": { "line": 69, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 2163, "end": 2164, "loc": { "start": { "line": 69, "column": 61 }, "end": { "line": 69, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2164, "end": 2165, "loc": { "start": { "line": 69, "column": 62 }, "end": { "line": 69, "column": 63 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2166, "end": 2167, "loc": { "start": { "line": 69, "column": 64 }, "end": { "line": 69, "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": 2185, "end": 2190, "loc": { "start": { "line": 70, "column": 16 }, "end": { "line": 70, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 2191, "end": 2197, "loc": { "start": { "line": 70, "column": 22 }, "end": { "line": 70, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2198, "end": 2199, "loc": { "start": { "line": 70, "column": 29 }, "end": { "line": 70, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contents", "start": 2200, "end": 2208, "loc": { "start": { "line": 70, "column": 31 }, "end": { "line": 70, "column": 39 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2208, "end": 2209, "loc": { "start": { "line": 70, "column": 39 }, "end": { "line": 70, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 2209, "end": 2210, "loc": { "start": { "line": 70, "column": 40 }, "end": { "line": 70, "column": 41 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2210, "end": 2211, "loc": { "start": { "line": 70, "column": 41 }, "end": { "line": 70, "column": 42 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2211, "end": 2212, "loc": { "start": { "line": 70, "column": 42 }, "end": { "line": 70, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 2212, "end": 2213, "loc": { "start": { "line": 70, "column": 43 }, "end": { "line": 70, "column": 44 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2213, "end": 2214, "loc": { "start": { "line": 70, "column": 44 }, "end": { "line": 70, "column": 45 } } }, { "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": 70, "column": 45 }, "end": { "line": 70, "column": 46 } } }, { "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": 2233, "end": 2235, "loc": { "start": { "line": 71, "column": 16 }, "end": { "line": 71, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2236, "end": 2237, "loc": { "start": { "line": 71, "column": 19 }, "end": { "line": 71, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 2237, "end": 2243, "loc": { "start": { "line": 71, "column": 20 }, "end": { "line": 71, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2243, "end": 2244, "loc": { "start": { "line": 71, "column": 26 }, "end": { "line": 71, "column": 27 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2245, "end": 2246, "loc": { "start": { "line": 71, "column": 28 }, "end": { "line": 71, "column": 29 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 2268, "end": 2270, "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": 2271, "end": 2272, "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": "drawnUids", "start": 2272, "end": 2281, "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, "updateContext": null }, "start": 2281, "end": 2282, "loc": { "start": { "line": 72, "column": 33 }, "end": { "line": 72, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "has", "start": 2282, "end": 2285, "loc": { "start": { "line": 72, "column": 34 }, "end": { "line": 72, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2285, "end": 2286, "loc": { "start": { "line": 72, "column": 37 }, "end": { "line": 72, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 2286, "end": 2292, "loc": { "start": { "line": 72, "column": 38 }, "end": { "line": 72, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2292, "end": 2293, "loc": { "start": { "line": 72, "column": 44 }, "end": { "line": 72, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "uid", "start": 2293, "end": 2296, "loc": { "start": { "line": 72, "column": 45 }, "end": { "line": 72, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2296, "end": 2297, "loc": { "start": { "line": 72, "column": 48 }, "end": { "line": 72, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2297, "end": 2298, "loc": { "start": { "line": 72, "column": 49 }, "end": { "line": 72, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2299, "end": 2300, "loc": { "start": { "line": 72, "column": 51 }, "end": { "line": 72, "column": 52 } } }, { "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": 2326, "end": 2334, "loc": { "start": { "line": 73, "column": 24 }, "end": { "line": 73, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2334, "end": 2335, "loc": { "start": { "line": 73, "column": 32 }, "end": { "line": 73, "column": 33 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2357, "end": 2358, "loc": { "start": { "line": 74, "column": 20 }, "end": { "line": 74, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "drawnUids", "start": 2380, "end": 2389, "loc": { "start": { "line": 75, "column": 20 }, "end": { "line": 75, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2389, "end": 2390, "loc": { "start": { "line": 75, "column": 29 }, "end": { "line": 75, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "add", "start": 2390, "end": 2393, "loc": { "start": { "line": 75, "column": 30 }, "end": { "line": 75, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2393, "end": 2394, "loc": { "start": { "line": 75, "column": 33 }, "end": { "line": 75, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 2394, "end": 2400, "loc": { "start": { "line": 75, "column": 34 }, "end": { "line": 75, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2400, "end": 2401, "loc": { "start": { "line": 75, "column": 40 }, "end": { "line": 75, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "uid", "start": 2401, "end": 2404, "loc": { "start": { "line": 75, "column": 41 }, "end": { "line": 75, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2404, "end": 2405, "loc": { "start": { "line": 75, "column": 44 }, "end": { "line": 75, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2405, "end": 2406, "loc": { "start": { "line": 75, "column": 45 }, "end": { "line": 75, "column": 46 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 2428, "end": 2433, "loc": { "start": { "line": 76, "column": 20 }, "end": { "line": 76, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "staticComp", "start": 2434, "end": 2444, "loc": { "start": { "line": 76, "column": 26 }, "end": { "line": 76, "column": 36 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2445, "end": 2446, "loc": { "start": { "line": 76, "column": 37 }, "end": { "line": 76, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 2447, "end": 2453, "loc": { "start": { "line": 76, "column": 39 }, "end": { "line": 76, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2453, "end": 2454, "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": "components", "start": 2454, "end": 2464, "loc": { "start": { "line": 76, "column": 46 }, "end": { "line": 76, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2464, "end": 2465, "loc": { "start": { "line": 76, "column": 56 }, "end": { "line": 76, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "StaticMapEntity", "start": 2465, "end": 2480, "loc": { "start": { "line": 76, "column": 57 }, "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": 2480, "end": 2481, "loc": { "start": { "line": 76, "column": 72 }, "end": { "line": 76, "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": 2505, "end": 2510, "loc": { "start": { "line": 78, "column": 20 }, "end": { "line": 78, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sprite", "start": 2511, "end": 2517, "loc": { "start": { "line": 78, "column": 26 }, "end": { "line": 78, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2518, "end": 2519, "loc": { "start": { "line": 78, "column": 33 }, "end": { "line": 78, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "staticComp", "start": 2520, "end": 2530, "loc": { "start": { "line": 78, "column": 35 }, "end": { "line": 78, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2530, "end": 2531, "loc": { "start": { "line": 78, "column": 45 }, "end": { "line": 78, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getSprite", "start": 2531, "end": 2540, "loc": { "start": { "line": 78, "column": 46 }, "end": { "line": 78, "column": 55 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2540, "end": 2541, "loc": { "start": { "line": 78, "column": 55 }, "end": { "line": 78, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2541, "end": 2542, "loc": { "start": { "line": 78, "column": 56 }, "end": { "line": 78, "column": 57 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2542, "end": 2543, "loc": { "start": { "line": 78, "column": 57 }, "end": { "line": 78, "column": 58 } } }, { "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": 2565, "end": 2567, "loc": { "start": { "line": 79, "column": 20 }, "end": { "line": 79, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2568, "end": 2569, "loc": { "start": { "line": 79, "column": 23 }, "end": { "line": 79, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sprite", "start": 2569, "end": 2575, "loc": { "start": { "line": 79, "column": 24 }, "end": { "line": 79, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2575, "end": 2576, "loc": { "start": { "line": 79, "column": 30 }, "end": { "line": 79, "column": 31 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2577, "end": 2578, "loc": { "start": { "line": 79, "column": 32 }, "end": { "line": 79, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "staticComp", "start": 2604, "end": 2614, "loc": { "start": { "line": 80, "column": 24 }, "end": { "line": 80, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2614, "end": 2615, "loc": { "start": { "line": 80, "column": 34 }, "end": { "line": 80, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "drawSpriteOnBoundsClipped", "start": 2615, "end": 2640, "loc": { "start": { "line": 80, "column": 35 }, "end": { "line": 80, "column": 60 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2640, "end": 2641, "loc": { "start": { "line": 80, "column": 60 }, "end": { "line": 80, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 2641, "end": 2651, "loc": { "start": { "line": 80, "column": 61 }, "end": { "line": 80, "column": 71 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2651, "end": 2652, "loc": { "start": { "line": 80, "column": 71 }, "end": { "line": 80, "column": 72 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sprite", "start": 2653, "end": 2659, "loc": { "start": { "line": 80, "column": 73 }, "end": { "line": 80, "column": 79 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2659, "end": 2660, "loc": { "start": { "line": 80, "column": 79 }, "end": { "line": 80, "column": 80 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 2661, "end": 2662, "loc": { "start": { "line": 80, "column": 81 }, "end": { "line": 80, "column": 82 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2662, "end": 2663, "loc": { "start": { "line": 80, "column": 82 }, "end": { "line": 80, "column": 83 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2663, "end": 2664, "loc": { "start": { "line": 80, "column": 83 }, "end": { "line": 80, "column": 84 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2686, "end": 2687, "loc": { "start": { "line": 81, "column": 20 }, "end": { "line": 81, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2705, "end": 2706, "loc": { "start": { "line": 82, "column": 16 }, "end": { "line": 82, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2720, "end": 2721, "loc": { "start": { "line": 83, "column": 12 }, "end": { "line": 83, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2731, "end": 2732, "loc": { "start": { "line": 84, "column": 8 }, "end": { "line": 84, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2738, "end": 2739, "loc": { "start": { "line": 85, "column": 4 }, "end": { "line": 85, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Draws the static wire entities\r\n * @param {DrawParameters} parameters\r\n * @param {MapChunkView} chunk\r\n * @param {string} layer\r\n ", "start": 2747, "end": 2907, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 92, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "drawChunk_ForegroundLayer", "start": 2913, "end": 2938, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 93, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2938, "end": 2939, "loc": { "start": { "line": 93, "column": 29 }, "end": { "line": 93, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 2939, "end": 2949, "loc": { "start": { "line": 93, "column": 30 }, "end": { "line": 93, "column": 40 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2949, "end": 2950, "loc": { "start": { "line": 93, "column": 40 }, "end": { "line": 93, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "chunk", "start": 2951, "end": 2956, "loc": { "start": { "line": 93, "column": 42 }, "end": { "line": 93, "column": 47 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2956, "end": 2957, "loc": { "start": { "line": 93, "column": 47 }, "end": { "line": 93, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layer", "start": 2958, "end": 2963, "loc": { "start": { "line": 93, "column": 49 }, "end": { "line": 93, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2963, "end": 2964, "loc": { "start": { "line": 93, "column": 54 }, "end": { "line": 93, "column": 55 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2965, "end": 2966, "loc": { "start": { "line": 93, "column": 56 }, "end": { "line": 93, "column": 57 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 2976, "end": 2981, "loc": { "start": { "line": 94, "column": 8 }, "end": { "line": 94, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "drawnUids", "start": 2982, "end": 2991, "loc": { "start": { "line": 94, "column": 14 }, "end": { "line": 94, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2992, "end": 2993, "loc": { "start": { "line": 94, "column": 24 }, "end": { "line": 94, "column": 25 } } }, { "type": { "label": "new", "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "new", "start": 2994, "end": 2997, "loc": { "start": { "line": 94, "column": 26 }, "end": { "line": 94, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Set", "start": 2998, "end": 3001, "loc": { "start": { "line": 94, "column": 30 }, "end": { "line": 94, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3001, "end": 3002, "loc": { "start": { "line": 94, "column": 33 }, "end": { "line": 94, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3002, "end": 3003, "loc": { "start": { "line": 94, "column": 34 }, "end": { "line": 94, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3003, "end": 3004, "loc": { "start": { "line": 94, "column": 35 }, "end": { "line": 94, "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": 3014, "end": 3019, "loc": { "start": { "line": 95, "column": 8 }, "end": { "line": 95, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contents", "start": 3020, "end": 3028, "loc": { "start": { "line": 95, "column": 14 }, "end": { "line": 95, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3029, "end": 3030, "loc": { "start": { "line": 95, "column": 23 }, "end": { "line": 95, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "chunk", "start": 3031, "end": 3036, "loc": { "start": { "line": 95, "column": 25 }, "end": { "line": 95, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3036, "end": 3037, "loc": { "start": { "line": 95, "column": 30 }, "end": { "line": 95, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layersContents", "start": 3037, "end": 3051, "loc": { "start": { "line": 95, "column": 31 }, "end": { "line": 95, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3051, "end": 3052, "loc": { "start": { "line": 95, "column": 45 }, "end": { "line": 95, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "get", "start": 3052, "end": 3055, "loc": { "start": { "line": 95, "column": 46 }, "end": { "line": 95, "column": 49 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3055, "end": 3056, "loc": { "start": { "line": 95, "column": 49 }, "end": { "line": 95, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layer", "start": 3056, "end": 3061, "loc": { "start": { "line": 95, "column": 50 }, "end": { "line": 95, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3061, "end": 3062, "loc": { "start": { "line": 95, "column": 55 }, "end": { "line": 95, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3062, "end": 3063, "loc": { "start": { "line": 95, "column": 56 }, "end": { "line": 95, "column": 57 } } }, { "type": { "label": "for", "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "for", "start": 3073, "end": 3076, "loc": { "start": { "line": 96, "column": 8 }, "end": { "line": 96, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3077, "end": 3078, "loc": { "start": { "line": 96, "column": 12 }, "end": { "line": 96, "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": 3078, "end": 3081, "loc": { "start": { "line": 96, "column": 13 }, "end": { "line": 96, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 3082, "end": 3083, "loc": { "start": { "line": 96, "column": 17 }, "end": { "line": 96, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3084, "end": 3085, "loc": { "start": { "line": 96, "column": 19 }, "end": { "line": 96, "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": 3086, "end": 3087, "loc": { "start": { "line": 96, "column": 21 }, "end": { "line": 96, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3087, "end": 3088, "loc": { "start": { "line": 96, "column": 22 }, "end": { "line": 96, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 3089, "end": 3090, "loc": { "start": { "line": 96, "column": 24 }, "end": { "line": 96, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 3091, "end": 3092, "loc": { "start": { "line": 96, "column": 26 }, "end": { "line": 96, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 3093, "end": 3105, "loc": { "start": { "line": 96, "column": 28 }, "end": { "line": 96, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3105, "end": 3106, "loc": { "start": { "line": 96, "column": 40 }, "end": { "line": 96, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapChunkSize", "start": 3106, "end": 3118, "loc": { "start": { "line": 96, "column": 41 }, "end": { "line": 96, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3118, "end": 3119, "loc": { "start": { "line": 96, "column": 53 }, "end": { "line": 96, "column": 54 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 3120, "end": 3122, "loc": { "start": { "line": 96, "column": 55 }, "end": { "line": 96, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 3122, "end": 3123, "loc": { "start": { "line": 96, "column": 57 }, "end": { "line": 96, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3123, "end": 3124, "loc": { "start": { "line": 96, "column": 58 }, "end": { "line": 96, "column": 59 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3125, "end": 3126, "loc": { "start": { "line": 96, "column": 60 }, "end": { "line": 96, "column": 61 } } }, { "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": 3140, "end": 3143, "loc": { "start": { "line": 97, "column": 12 }, "end": { "line": 97, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3144, "end": 3145, "loc": { "start": { "line": 97, "column": 16 }, "end": { "line": 97, "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": 3145, "end": 3148, "loc": { "start": { "line": 97, "column": 17 }, "end": { "line": 97, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 3149, "end": 3150, "loc": { "start": { "line": 97, "column": 21 }, "end": { "line": 97, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3151, "end": 3152, "loc": { "start": { "line": 97, "column": 23 }, "end": { "line": 97, "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": 3153, "end": 3154, "loc": { "start": { "line": 97, "column": 25 }, "end": { "line": 97, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3154, "end": 3155, "loc": { "start": { "line": 97, "column": 26 }, "end": { "line": 97, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 3156, "end": 3157, "loc": { "start": { "line": 97, "column": 28 }, "end": { "line": 97, "column": 29 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 3158, "end": 3159, "loc": { "start": { "line": 97, "column": 30 }, "end": { "line": 97, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 3160, "end": 3172, "loc": { "start": { "line": 97, "column": 32 }, "end": { "line": 97, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3172, "end": 3173, "loc": { "start": { "line": 97, "column": 44 }, "end": { "line": 97, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapChunkSize", "start": 3173, "end": 3185, "loc": { "start": { "line": 97, "column": 45 }, "end": { "line": 97, "column": 57 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3185, "end": 3186, "loc": { "start": { "line": 97, "column": 57 }, "end": { "line": 97, "column": 58 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 3187, "end": 3189, "loc": { "start": { "line": 97, "column": 59 }, "end": { "line": 97, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 3189, "end": 3190, "loc": { "start": { "line": 97, "column": 61 }, "end": { "line": 97, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3190, "end": 3191, "loc": { "start": { "line": 97, "column": 62 }, "end": { "line": 97, "column": 63 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3192, "end": 3193, "loc": { "start": { "line": 97, "column": 64 }, "end": { "line": 97, "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": 3211, "end": 3216, "loc": { "start": { "line": 98, "column": 16 }, "end": { "line": 98, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 3217, "end": 3223, "loc": { "start": { "line": 98, "column": 22 }, "end": { "line": 98, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3224, "end": 3225, "loc": { "start": { "line": 98, "column": 29 }, "end": { "line": 98, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contents", "start": 3226, "end": 3234, "loc": { "start": { "line": 98, "column": 31 }, "end": { "line": 98, "column": 39 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3234, "end": 3235, "loc": { "start": { "line": 98, "column": 39 }, "end": { "line": 98, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 3235, "end": 3236, "loc": { "start": { "line": 98, "column": 40 }, "end": { "line": 98, "column": 41 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3236, "end": 3237, "loc": { "start": { "line": 98, "column": 41 }, "end": { "line": 98, "column": 42 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3237, "end": 3238, "loc": { "start": { "line": 98, "column": 42 }, "end": { "line": 98, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 3238, "end": 3239, "loc": { "start": { "line": 98, "column": 43 }, "end": { "line": 98, "column": 44 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3239, "end": 3240, "loc": { "start": { "line": 98, "column": 44 }, "end": { "line": 98, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3240, "end": 3241, "loc": { "start": { "line": 98, "column": 45 }, "end": { "line": 98, "column": 46 } } }, { "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": 3259, "end": 3261, "loc": { "start": { "line": 99, "column": 16 }, "end": { "line": 99, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3262, "end": 3263, "loc": { "start": { "line": 99, "column": 19 }, "end": { "line": 99, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 3263, "end": 3269, "loc": { "start": { "line": 99, "column": 20 }, "end": { "line": 99, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3269, "end": 3270, "loc": { "start": { "line": 99, "column": 26 }, "end": { "line": 99, "column": 27 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3271, "end": 3272, "loc": { "start": { "line": 99, "column": 28 }, "end": { "line": 99, "column": 29 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 3294, "end": 3296, "loc": { "start": { "line": 100, "column": 20 }, "end": { "line": 100, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3297, "end": 3298, "loc": { "start": { "line": 100, "column": 23 }, "end": { "line": 100, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "drawnUids", "start": 3298, "end": 3307, "loc": { "start": { "line": 100, "column": 24 }, "end": { "line": 100, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3307, "end": 3308, "loc": { "start": { "line": 100, "column": 33 }, "end": { "line": 100, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "has", "start": 3308, "end": 3311, "loc": { "start": { "line": 100, "column": 34 }, "end": { "line": 100, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3311, "end": 3312, "loc": { "start": { "line": 100, "column": 37 }, "end": { "line": 100, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 3312, "end": 3318, "loc": { "start": { "line": 100, "column": 38 }, "end": { "line": 100, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3318, "end": 3319, "loc": { "start": { "line": 100, "column": 44 }, "end": { "line": 100, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "uid", "start": 3319, "end": 3322, "loc": { "start": { "line": 100, "column": 45 }, "end": { "line": 100, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3322, "end": 3323, "loc": { "start": { "line": 100, "column": 48 }, "end": { "line": 100, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3323, "end": 3324, "loc": { "start": { "line": 100, "column": 49 }, "end": { "line": 100, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3325, "end": 3326, "loc": { "start": { "line": 100, "column": 51 }, "end": { "line": 100, "column": 52 } } }, { "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": 3352, "end": 3360, "loc": { "start": { "line": 101, "column": 24 }, "end": { "line": 101, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3360, "end": 3361, "loc": { "start": { "line": 101, "column": 32 }, "end": { "line": 101, "column": 33 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3383, "end": 3384, "loc": { "start": { "line": 102, "column": 20 }, "end": { "line": 102, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "drawnUids", "start": 3406, "end": 3415, "loc": { "start": { "line": 103, "column": 20 }, "end": { "line": 103, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3415, "end": 3416, "loc": { "start": { "line": 103, "column": 29 }, "end": { "line": 103, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "add", "start": 3416, "end": 3419, "loc": { "start": { "line": 103, "column": 30 }, "end": { "line": 103, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3419, "end": 3420, "loc": { "start": { "line": 103, "column": 33 }, "end": { "line": 103, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 3420, "end": 3426, "loc": { "start": { "line": 103, "column": 34 }, "end": { "line": 103, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3426, "end": 3427, "loc": { "start": { "line": 103, "column": 40 }, "end": { "line": 103, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "uid", "start": 3427, "end": 3430, "loc": { "start": { "line": 103, "column": 41 }, "end": { "line": 103, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3430, "end": 3431, "loc": { "start": { "line": 103, "column": 44 }, "end": { "line": 103, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3431, "end": 3432, "loc": { "start": { "line": 103, "column": 45 }, "end": { "line": 103, "column": 46 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 3454, "end": 3459, "loc": { "start": { "line": 104, "column": 20 }, "end": { "line": 104, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "staticComp", "start": 3460, "end": 3470, "loc": { "start": { "line": 104, "column": 26 }, "end": { "line": 104, "column": 36 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3471, "end": 3472, "loc": { "start": { "line": 104, "column": 37 }, "end": { "line": 104, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 3473, "end": 3479, "loc": { "start": { "line": 104, "column": 39 }, "end": { "line": 104, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3479, "end": 3480, "loc": { "start": { "line": 104, "column": 45 }, "end": { "line": 104, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 3480, "end": 3490, "loc": { "start": { "line": 104, "column": 46 }, "end": { "line": 104, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3490, "end": 3491, "loc": { "start": { "line": 104, "column": 56 }, "end": { "line": 104, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "StaticMapEntity", "start": 3491, "end": 3506, "loc": { "start": { "line": 104, "column": 57 }, "end": { "line": 104, "column": 72 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3506, "end": 3507, "loc": { "start": { "line": 104, "column": 72 }, "end": { "line": 104, "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": 3531, "end": 3536, "loc": { "start": { "line": 106, "column": 20 }, "end": { "line": 106, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sprite", "start": 3537, "end": 3543, "loc": { "start": { "line": 106, "column": 26 }, "end": { "line": 106, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3544, "end": 3545, "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": "staticComp", "start": 3546, "end": 3556, "loc": { "start": { "line": 106, "column": 35 }, "end": { "line": 106, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3556, "end": 3557, "loc": { "start": { "line": 106, "column": 45 }, "end": { "line": 106, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getSprite", "start": 3557, "end": 3566, "loc": { "start": { "line": 106, "column": 46 }, "end": { "line": 106, "column": 55 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3566, "end": 3567, "loc": { "start": { "line": 106, "column": 55 }, "end": { "line": 106, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3567, "end": 3568, "loc": { "start": { "line": 106, "column": 56 }, "end": { "line": 106, "column": 57 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3568, "end": 3569, "loc": { "start": { "line": 106, "column": 57 }, "end": { "line": 106, "column": 58 } } }, { "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": 3591, "end": 3593, "loc": { "start": { "line": 107, "column": 20 }, "end": { "line": 107, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3594, "end": 3595, "loc": { "start": { "line": 107, "column": 23 }, "end": { "line": 107, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sprite", "start": 3595, "end": 3601, "loc": { "start": { "line": 107, "column": 24 }, "end": { "line": 107, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3601, "end": 3602, "loc": { "start": { "line": 107, "column": 30 }, "end": { "line": 107, "column": 31 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3603, "end": 3604, "loc": { "start": { "line": 107, "column": 32 }, "end": { "line": 107, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "staticComp", "start": 3630, "end": 3640, "loc": { "start": { "line": 108, "column": 24 }, "end": { "line": 108, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3640, "end": 3641, "loc": { "start": { "line": 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": "drawSpriteOnBoundsClipped", "start": 3641, "end": 3666, "loc": { "start": { "line": 108, "column": 35 }, "end": { "line": 108, "column": 60 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3666, "end": 3667, "loc": { "start": { "line": 108, "column": 60 }, "end": { "line": 108, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 3667, "end": 3677, "loc": { "start": { "line": 108, "column": 61 }, "end": { "line": 108, "column": 71 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3677, "end": 3678, "loc": { "start": { "line": 108, "column": 71 }, "end": { "line": 108, "column": 72 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sprite", "start": 3679, "end": 3685, "loc": { "start": { "line": 108, "column": 73 }, "end": { "line": 108, "column": 79 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3685, "end": 3686, "loc": { "start": { "line": 108, "column": 79 }, "end": { "line": 108, "column": 80 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 3687, "end": 3688, "loc": { "start": { "line": 108, "column": 81 }, "end": { "line": 108, "column": 82 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3688, "end": 3689, "loc": { "start": { "line": 108, "column": 82 }, "end": { "line": 108, "column": 83 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3689, "end": 3690, "loc": { "start": { "line": 108, "column": 83 }, "end": { "line": 108, "column": 84 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3712, "end": 3713, "loc": { "start": { "line": 109, "column": 20 }, "end": { "line": 109, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3731, "end": 3732, "loc": { "start": { "line": 110, "column": 16 }, "end": { "line": 110, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3746, "end": 3747, "loc": { "start": { "line": 111, "column": 12 }, "end": { "line": 111, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3757, "end": 3758, "loc": { "start": { "line": 112, "column": 8 }, "end": { "line": 112, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3764, "end": 3765, "loc": { "start": { "line": 113, "column": 4 }, "end": { "line": 113, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3767, "end": 3768, "loc": { "start": { "line": 114, "column": 0 }, "end": { "line": 114, "column": 1 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3768, "end": 3768, "loc": { "start": { "line": 114, "column": 1 }, "end": { "line": 114, "column": 1 } } } ] }