{ "type": "File", "start": 0, "end": 1795, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 48, "column": 1 } }, "program": { "type": "Program", "start": 0, "end": 1795, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 48, "column": 1 } }, "sourceType": "module", "body": [ { "type": "ImportDeclaration", "start": 0, "end": 66, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 66 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 9, "end": 29, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 29 } }, "imported": { "type": "Identifier", "start": 9, "end": 29, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 29 }, "identifierName": "GameSystemWithFilter" }, "name": "GameSystemWithFilter" }, "local": { "type": "Identifier", "start": 9, "end": 29, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 29 }, "identifierName": "GameSystemWithFilter" }, "name": "GameSystemWithFilter" } } ], "source": { "type": "StringLiteral", "start": 37, "end": 65, "loc": { "start": { "line": 1, "column": 37 }, "end": { "line": 1, "column": 65 } }, "extra": { "rawValue": "../game_system_with_filter", "raw": "\"../game_system_with_filter\"" }, "value": "../game_system_with_filter" } }, { "type": "ImportDeclaration", "start": 68, "end": 121, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 53 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 77, "end": 91, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 23 } }, "imported": { "type": "Identifier", "start": 77, "end": 91, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 23 }, "identifierName": "LeverComponent" }, "name": "LeverComponent" }, "local": { "type": "Identifier", "start": 77, "end": 91, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 23 }, "identifierName": "LeverComponent" }, "name": "LeverComponent" } } ], "source": { "type": "StringLiteral", "start": 99, "end": 120, "loc": { "start": { "line": 2, "column": 31 }, "end": { "line": 2, "column": 52 } }, "extra": { "rawValue": "../components/lever", "raw": "\"../components/lever\"" }, "value": "../components/lever" } }, { "type": "ImportDeclaration", "start": 123, "end": 205, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 82 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 132, "end": 151, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 28 } }, "imported": { "type": "Identifier", "start": 132, "end": 151, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 28 }, "identifierName": "BOOL_TRUE_SINGLETON" }, "name": "BOOL_TRUE_SINGLETON" }, "local": { "type": "Identifier", "start": 132, "end": 151, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 28 }, "identifierName": "BOOL_TRUE_SINGLETON" }, "name": "BOOL_TRUE_SINGLETON" } }, { "type": "ImportSpecifier", "start": 153, "end": 173, "loc": { "start": { "line": 3, "column": 30 }, "end": { "line": 3, "column": 50 } }, "imported": { "type": "Identifier", "start": 153, "end": 173, "loc": { "start": { "line": 3, "column": 30 }, "end": { "line": 3, "column": 50 }, "identifierName": "BOOL_FALSE_SINGLETON" }, "name": "BOOL_FALSE_SINGLETON" }, "local": { "type": "Identifier", "start": 153, "end": 173, "loc": { "start": { "line": 3, "column": 30 }, "end": { "line": 3, "column": 50 }, "identifierName": "BOOL_FALSE_SINGLETON" }, "name": "BOOL_FALSE_SINGLETON" } } ], "source": { "type": "StringLiteral", "start": 181, "end": 204, "loc": { "start": { "line": 3, "column": 58 }, "end": { "line": 3, "column": 81 } }, "extra": { "rawValue": "../items/boolean_item", "raw": "\"../items/boolean_item\"" }, "value": "../items/boolean_item" } }, { "type": "ImportDeclaration", "start": 207, "end": 256, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 49 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 216, "end": 228, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 21 } }, "imported": { "type": "Identifier", "start": 216, "end": 228, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 21 }, "identifierName": "MapChunkView" }, "name": "MapChunkView" }, "local": { "type": "Identifier", "start": 216, "end": 228, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 21 }, "identifierName": "MapChunkView" }, "name": "MapChunkView" } } ], "source": { "type": "StringLiteral", "start": 236, "end": 255, "loc": { "start": { "line": 4, "column": 29 }, "end": { "line": 4, "column": 48 } }, "extra": { "rawValue": "../map_chunk_view", "raw": "\"../map_chunk_view\"" }, "value": "../map_chunk_view" } }, { "type": "ImportDeclaration", "start": 258, "end": 307, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 49 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 267, "end": 279, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 21 } }, "imported": { "type": "Identifier", "start": 267, "end": 279, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 21 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "local": { "type": "Identifier", "start": 267, "end": 279, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 21 }, "identifierName": "globalConfig" }, "name": "globalConfig" } } ], "source": { "type": "StringLiteral", "start": 287, "end": 306, "loc": { "start": { "line": 5, "column": 29 }, "end": { "line": 5, "column": 48 } }, "extra": { "rawValue": "../../core/config", "raw": "\"../../core/config\"" }, "value": "../../core/config" } }, { "type": "ImportDeclaration", "start": 309, "end": 352, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "column": 43 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 318, "end": 324, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 15 } }, "imported": { "type": "Identifier", "start": 318, "end": 324, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 15 }, "identifierName": "Loader" }, "name": "Loader" }, "local": { "type": "Identifier", "start": 318, "end": 324, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 15 }, "identifierName": "Loader" }, "name": "Loader" } } ], "source": { "type": "StringLiteral", "start": 332, "end": 351, "loc": { "start": { "line": 6, "column": 23 }, "end": { "line": 6, "column": 42 } }, "extra": { "rawValue": "../../core/loader", "raw": "\"../../core/loader\"" }, "value": "../../core/loader" } }, { "type": "ExportNamedDeclaration", "start": 356, "end": 1795, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 48, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "ClassDeclaration", "start": 363, "end": 1795, "loc": { "start": { "line": 8, "column": 7 }, "end": { "line": 48, "column": 1 } }, "id": { "type": "Identifier", "start": 369, "end": 380, "loc": { "start": { "line": 8, "column": 13 }, "end": { "line": 8, "column": 24 }, "identifierName": "LeverSystem" }, "name": "LeverSystem" }, "superClass": { "type": "Identifier", "start": 389, "end": 409, "loc": { "start": { "line": 8, "column": 33 }, "end": { "line": 8, "column": 53 }, "identifierName": "GameSystemWithFilter" }, "name": "GameSystemWithFilter" }, "body": { "type": "ClassBody", "start": 410, "end": 1795, "loc": { "start": { "line": 8, "column": 54 }, "end": { "line": 48, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 417, "end": 633, "loc": { "start": { "line": 9, "column": 4 }, "end": { "line": 14, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 417, "end": 428, "loc": { "start": { "line": 9, "column": 4 }, "end": { "line": 9, "column": 15 }, "identifierName": "constructor" }, "name": "constructor" }, "kind": "constructor", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 429, "end": 433, "loc": { "start": { "line": 9, "column": 16 }, "end": { "line": 9, "column": 20 }, "identifierName": "root" }, "name": "root" } ], "body": { "type": "BlockStatement", "start": 435, "end": 633, "loc": { "start": { "line": 9, "column": 22 }, "end": { "line": 14, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 446, "end": 476, "loc": { "start": { "line": 10, "column": 8 }, "end": { "line": 10, "column": 38 } }, "expression": { "type": "CallExpression", "start": 446, "end": 475, "loc": { "start": { "line": 10, "column": 8 }, "end": { "line": 10, "column": 37 } }, "callee": { "type": "Super", "start": 446, "end": 451, "loc": { "start": { "line": 10, "column": 8 }, "end": { "line": 10, "column": 13 } } }, "arguments": [ { "type": "Identifier", "start": 452, "end": 456, "loc": { "start": { "line": 10, "column": 14 }, "end": { "line": 10, "column": 18 }, "identifierName": "root" }, "name": "root" }, { "type": "ArrayExpression", "start": 458, "end": 474, "loc": { "start": { "line": 10, "column": 20 }, "end": { "line": 10, "column": 36 } }, "elements": [ { "type": "Identifier", "start": 459, "end": 473, "loc": { "start": { "line": 10, "column": 21 }, "end": { "line": 10, "column": 35 }, "identifierName": "LeverComponent" }, "name": "LeverComponent" } ] } ] } }, { "type": "ExpressionStatement", "start": 488, "end": 551, "loc": { "start": { "line": 12, "column": 8 }, "end": { "line": 12, "column": 71 } }, "expression": { "type": "AssignmentExpression", "start": 488, "end": 550, "loc": { "start": { "line": 12, "column": 8 }, "end": { "line": 12, "column": 70 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 488, "end": 501, "loc": { "start": { "line": 12, "column": 8 }, "end": { "line": 12, "column": 21 } }, "object": { "type": "ThisExpression", "start": 488, "end": 492, "loc": { "start": { "line": 12, "column": 8 }, "end": { "line": 12, "column": 12 } } }, "property": { "type": "Identifier", "start": 493, "end": 501, "loc": { "start": { "line": 12, "column": 13 }, "end": { "line": 12, "column": 21 }, "identifierName": "spriteOn" }, "name": "spriteOn" }, "computed": false }, "right": { "type": "CallExpression", "start": 504, "end": 550, "loc": { "start": { "line": 12, "column": 24 }, "end": { "line": 12, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 504, "end": 520, "loc": { "start": { "line": 12, "column": 24 }, "end": { "line": 12, "column": 40 } }, "object": { "type": "Identifier", "start": 504, "end": 510, "loc": { "start": { "line": 12, "column": 24 }, "end": { "line": 12, "column": 30 }, "identifierName": "Loader" }, "name": "Loader" }, "property": { "type": "Identifier", "start": 511, "end": 520, "loc": { "start": { "line": 12, "column": 31 }, "end": { "line": 12, "column": 40 }, "identifierName": "getSprite" }, "name": "getSprite" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 521, "end": 549, "loc": { "start": { "line": 12, "column": 41 }, "end": { "line": 12, "column": 69 } }, "extra": { "rawValue": "sprites/wires/lever_on.png", "raw": "\"sprites/wires/lever_on.png\"" }, "value": "sprites/wires/lever_on.png" } ] } } }, { "type": "ExpressionStatement", "start": 561, "end": 626, "loc": { "start": { "line": 13, "column": 8 }, "end": { "line": 13, "column": 73 } }, "expression": { "type": "AssignmentExpression", "start": 561, "end": 625, "loc": { "start": { "line": 13, "column": 8 }, "end": { "line": 13, "column": 72 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 561, "end": 575, "loc": { "start": { "line": 13, "column": 8 }, "end": { "line": 13, "column": 22 } }, "object": { "type": "ThisExpression", "start": 561, "end": 565, "loc": { "start": { "line": 13, "column": 8 }, "end": { "line": 13, "column": 12 } } }, "property": { "type": "Identifier", "start": 566, "end": 575, "loc": { "start": { "line": 13, "column": 13 }, "end": { "line": 13, "column": 22 }, "identifierName": "spriteOff" }, "name": "spriteOff" }, "computed": false }, "right": { "type": "CallExpression", "start": 578, "end": 625, "loc": { "start": { "line": 13, "column": 25 }, "end": { "line": 13, "column": 72 } }, "callee": { "type": "MemberExpression", "start": 578, "end": 594, "loc": { "start": { "line": 13, "column": 25 }, "end": { "line": 13, "column": 41 } }, "object": { "type": "Identifier", "start": 578, "end": 584, "loc": { "start": { "line": 13, "column": 25 }, "end": { "line": 13, "column": 31 }, "identifierName": "Loader" }, "name": "Loader" }, "property": { "type": "Identifier", "start": 585, "end": 594, "loc": { "start": { "line": 13, "column": 32 }, "end": { "line": 13, "column": 41 }, "identifierName": "getSprite" }, "name": "getSprite" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 595, "end": 624, "loc": { "start": { "line": 13, "column": 42 }, "end": { "line": 13, "column": 71 } }, "extra": { "rawValue": "sprites/buildings/lever.png", "raw": "\"sprites/buildings/lever.png\"" }, "value": "sprites/buildings/lever.png" } ] } } } ], "directives": [] } }, { "type": "ClassMethod", "start": 641, "end": 689, "loc": { "start": { "line": 16, "column": 4 }, "end": { "line": 18, "column": 5 } }, "static": true, "computed": false, "key": { "type": "Identifier", "start": 648, "end": 653, "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": 656, "end": 689, "loc": { "start": { "line": 16, "column": 19 }, "end": { "line": 18, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 667, "end": 682, "loc": { "start": { "line": 17, "column": 8 }, "end": { "line": 17, "column": 23 } }, "argument": { "type": "StringLiteral", "start": 674, "end": 681, "loc": { "start": { "line": 17, "column": 15 }, "end": { "line": 17, "column": 22 } }, "extra": { "rawValue": "lever", "raw": "\"lever\"" }, "value": "lever" } } ], "directives": [] } }, { "type": "ClassMethod", "start": 697, "end": 1114, "loc": { "start": { "line": 20, "column": 4 }, "end": { "line": 30, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 697, "end": 703, "loc": { "start": { "line": 20, "column": 4 }, "end": { "line": 20, "column": 10 }, "identifierName": "update" }, "name": "update" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 706, "end": 1114, "loc": { "start": { "line": 20, "column": 13 }, "end": { "line": 30, "column": 5 } }, "body": [ { "type": "ForStatement", "start": 717, "end": 1107, "loc": { "start": { "line": 21, "column": 8 }, "end": { "line": 29, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 722, "end": 731, "loc": { "start": { "line": 21, "column": 13 }, "end": { "line": 21, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 726, "end": 731, "loc": { "start": { "line": 21, "column": 17 }, "end": { "line": 21, "column": 22 } }, "id": { "type": "Identifier", "start": 726, "end": 727, "loc": { "start": { "line": 21, "column": 17 }, "end": { "line": 21, "column": 18 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 730, "end": 731, "loc": { "start": { "line": 21, "column": 21 }, "end": { "line": 21, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 733, "end": 760, "loc": { "start": { "line": 21, "column": 24 }, "end": { "line": 21, "column": 51 } }, "left": { "type": "Identifier", "start": 733, "end": 734, "loc": { "start": { "line": 21, "column": 24 }, "end": { "line": 21, "column": 25 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 737, "end": 760, "loc": { "start": { "line": 21, "column": 28 }, "end": { "line": 21, "column": 51 } }, "object": { "type": "MemberExpression", "start": 737, "end": 753, "loc": { "start": { "line": 21, "column": 28 }, "end": { "line": 21, "column": 44 } }, "object": { "type": "ThisExpression", "start": 737, "end": 741, "loc": { "start": { "line": 21, "column": 28 }, "end": { "line": 21, "column": 32 } } }, "property": { "type": "Identifier", "start": 742, "end": 753, "loc": { "start": { "line": 21, "column": 33 }, "end": { "line": 21, "column": 44 }, "identifierName": "allEntities" }, "name": "allEntities" }, "computed": false }, "property": { "type": "Identifier", "start": 754, "end": 760, "loc": { "start": { "line": 21, "column": 45 }, "end": { "line": 21, "column": 51 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 762, "end": 765, "loc": { "start": { "line": 21, "column": 53 }, "end": { "line": 21, "column": 56 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 764, "end": 765, "loc": { "start": { "line": 21, "column": 55 }, "end": { "line": 21, "column": 56 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 767, "end": 1107, "loc": { "start": { "line": 21, "column": 58 }, "end": { "line": 29, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 782, "end": 817, "loc": { "start": { "line": 22, "column": 12 }, "end": { "line": 22, "column": 47 } }, "declarations": [ { "type": "VariableDeclarator", "start": 788, "end": 816, "loc": { "start": { "line": 22, "column": 18 }, "end": { "line": 22, "column": 46 } }, "id": { "type": "Identifier", "start": 788, "end": 794, "loc": { "start": { "line": 22, "column": 18 }, "end": { "line": 22, "column": 24 }, "identifierName": "entity" }, "name": "entity" }, "init": { "type": "MemberExpression", "start": 797, "end": 816, "loc": { "start": { "line": 22, "column": 27 }, "end": { "line": 22, "column": 46 } }, "object": { "type": "MemberExpression", "start": 797, "end": 813, "loc": { "start": { "line": 22, "column": 27 }, "end": { "line": 22, "column": 43 } }, "object": { "type": "ThisExpression", "start": 797, "end": 801, "loc": { "start": { "line": 22, "column": 27 }, "end": { "line": 22, "column": 31 } } }, "property": { "type": "Identifier", "start": 802, "end": 813, "loc": { "start": { "line": 22, "column": 32 }, "end": { "line": 22, "column": 43 }, "identifierName": "allEntities" }, "name": "allEntities" }, "computed": false }, "property": { "type": "Identifier", "start": 814, "end": 815, "loc": { "start": { "line": 22, "column": 44 }, "end": { "line": 22, "column": 45 }, "identifierName": "i" }, "name": "i" }, "computed": true } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 833, "end": 875, "loc": { "start": { "line": 24, "column": 12 }, "end": { "line": 24, "column": 54 } }, "declarations": [ { "type": "VariableDeclarator", "start": 839, "end": 874, "loc": { "start": { "line": 24, "column": 18 }, "end": { "line": 24, "column": 53 } }, "id": { "type": "Identifier", "start": 839, "end": 848, "loc": { "start": { "line": 24, "column": 18 }, "end": { "line": 24, "column": 27 }, "identifierName": "leverComp" }, "name": "leverComp" }, "init": { "type": "MemberExpression", "start": 851, "end": 874, "loc": { "start": { "line": 24, "column": 30 }, "end": { "line": 24, "column": 53 } }, "object": { "type": "MemberExpression", "start": 851, "end": 868, "loc": { "start": { "line": 24, "column": 30 }, "end": { "line": 24, "column": 47 } }, "object": { "type": "Identifier", "start": 851, "end": 857, "loc": { "start": { "line": 24, "column": 30 }, "end": { "line": 24, "column": 36 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 858, "end": 868, "loc": { "start": { "line": 24, "column": 37 }, "end": { "line": 24, "column": 47 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 869, "end": 874, "loc": { "start": { "line": 24, "column": 48 }, "end": { "line": 24, "column": 53 }, "identifierName": "Lever" }, "name": "Lever" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 889, "end": 934, "loc": { "start": { "line": 25, "column": 12 }, "end": { "line": 25, "column": 57 } }, "declarations": [ { "type": "VariableDeclarator", "start": 895, "end": 933, "loc": { "start": { "line": 25, "column": 18 }, "end": { "line": 25, "column": 56 } }, "id": { "type": "Identifier", "start": 895, "end": 903, "loc": { "start": { "line": 25, "column": 18 }, "end": { "line": 25, "column": 26 }, "identifierName": "pinsComp" }, "name": "pinsComp" }, "init": { "type": "MemberExpression", "start": 906, "end": 933, "loc": { "start": { "line": 25, "column": 29 }, "end": { "line": 25, "column": 56 } }, "object": { "type": "MemberExpression", "start": 906, "end": 923, "loc": { "start": { "line": 25, "column": 29 }, "end": { "line": 25, "column": 46 } }, "object": { "type": "Identifier", "start": 906, "end": 912, "loc": { "start": { "line": 25, "column": 29 }, "end": { "line": 25, "column": 35 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 913, "end": 923, "loc": { "start": { "line": 25, "column": 36 }, "end": { "line": 25, "column": 46 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 924, "end": 933, "loc": { "start": { "line": 25, "column": 47 }, "end": { "line": 25, "column": 56 }, "identifierName": "WiredPins" }, "name": "WiredPins" }, "computed": false } } ], "kind": "const", "trailingComments": [ { "type": "CommentLine", "value": " Simply sync the status to the first slot", "start": 950, "end": 993, "loc": { "start": { "line": 27, "column": 12 }, "end": { "line": 27, "column": 55 } } } ] }, { "type": "ExpressionStatement", "start": 1007, "end": 1096, "loc": { "start": { "line": 28, "column": 12 }, "end": { "line": 28, "column": 101 } }, "expression": { "type": "AssignmentExpression", "start": 1007, "end": 1095, "loc": { "start": { "line": 28, "column": 12 }, "end": { "line": 28, "column": 100 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1007, "end": 1030, "loc": { "start": { "line": 28, "column": 12 }, "end": { "line": 28, "column": 35 } }, "object": { "type": "MemberExpression", "start": 1007, "end": 1024, "loc": { "start": { "line": 28, "column": 12 }, "end": { "line": 28, "column": 29 } }, "object": { "type": "MemberExpression", "start": 1007, "end": 1021, "loc": { "start": { "line": 28, "column": 12 }, "end": { "line": 28, "column": 26 } }, "object": { "type": "Identifier", "start": 1007, "end": 1015, "loc": { "start": { "line": 28, "column": 12 }, "end": { "line": 28, "column": 20 }, "identifierName": "pinsComp" }, "name": "pinsComp", "leadingComments": null }, "property": { "type": "Identifier", "start": 1016, "end": 1021, "loc": { "start": { "line": 28, "column": 21 }, "end": { "line": 28, "column": 26 }, "identifierName": "slots" }, "name": "slots" }, "computed": false, "leadingComments": null }, "property": { "type": "NumericLiteral", "start": 1022, "end": 1023, "loc": { "start": { "line": 28, "column": 27 }, "end": { "line": 28, "column": 28 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true, "leadingComments": null }, "property": { "type": "Identifier", "start": 1025, "end": 1030, "loc": { "start": { "line": 28, "column": 30 }, "end": { "line": 28, "column": 35 }, "identifierName": "value" }, "name": "value" }, "computed": false, "leadingComments": null }, "right": { "type": "ConditionalExpression", "start": 1033, "end": 1095, "loc": { "start": { "line": 28, "column": 38 }, "end": { "line": 28, "column": 100 } }, "test": { "type": "MemberExpression", "start": 1033, "end": 1050, "loc": { "start": { "line": 28, "column": 38 }, "end": { "line": 28, "column": 55 } }, "object": { "type": "Identifier", "start": 1033, "end": 1042, "loc": { "start": { "line": 28, "column": 38 }, "end": { "line": 28, "column": 47 }, "identifierName": "leverComp" }, "name": "leverComp" }, "property": { "type": "Identifier", "start": 1043, "end": 1050, "loc": { "start": { "line": 28, "column": 48 }, "end": { "line": 28, "column": 55 }, "identifierName": "toggled" }, "name": "toggled" }, "computed": false }, "consequent": { "type": "Identifier", "start": 1053, "end": 1072, "loc": { "start": { "line": 28, "column": 58 }, "end": { "line": 28, "column": 77 }, "identifierName": "BOOL_TRUE_SINGLETON" }, "name": "BOOL_TRUE_SINGLETON" }, "alternate": { "type": "Identifier", "start": 1075, "end": 1095, "loc": { "start": { "line": 28, "column": 80 }, "end": { "line": 28, "column": 100 }, "identifierName": "BOOL_FALSE_SINGLETON" }, "name": "BOOL_FALSE_SINGLETON" } }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Simply sync the status to the first slot", "start": 950, "end": 993, "loc": { "start": { "line": 27, "column": 12 }, "end": { "line": 27, "column": 55 } } } ] } ], "directives": [] } } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Draws a given chunk\r\n * @param {import(\"../../core/draw_utils\").DrawParameters} parameters\r\n * @param {MapChunkView} chunk\r\n ", "start": 1122, "end": 1273, "loc": { "start": { "line": 32, "column": 4 }, "end": { "line": 36, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 1279, "end": 1792, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 47, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 1279, "end": 1310, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 37, "column": 35 }, "identifierName": "drawChunk_ForegroundStaticLayer" }, "name": "drawChunk_ForegroundStaticLayer", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 1311, "end": 1321, "loc": { "start": { "line": 37, "column": 36 }, "end": { "line": 37, "column": 46 }, "identifierName": "parameters" }, "name": "parameters" }, { "type": "Identifier", "start": 1323, "end": 1328, "loc": { "start": { "line": 37, "column": 48 }, "end": { "line": 37, "column": 53 }, "identifierName": "chunk" }, "name": "chunk" } ], "body": { "type": "BlockStatement", "start": 1330, "end": 1792, "loc": { "start": { "line": 37, "column": 55 }, "end": { "line": 47, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 1341, "end": 1397, "loc": { "start": { "line": 38, "column": 8 }, "end": { "line": 38, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1347, "end": 1396, "loc": { "start": { "line": 38, "column": 14 }, "end": { "line": 38, "column": 63 } }, "id": { "type": "Identifier", "start": 1347, "end": 1355, "loc": { "start": { "line": 38, "column": 14 }, "end": { "line": 38, "column": 22 }, "identifierName": "contents" }, "name": "contents" }, "init": { "type": "MemberExpression", "start": 1358, "end": 1396, "loc": { "start": { "line": 38, "column": 25 }, "end": { "line": 38, "column": 63 } }, "object": { "type": "MemberExpression", "start": 1358, "end": 1388, "loc": { "start": { "line": 38, "column": 25 }, "end": { "line": 38, "column": 55 } }, "object": { "type": "Identifier", "start": 1358, "end": 1363, "loc": { "start": { "line": 38, "column": 25 }, "end": { "line": 38, "column": 30 }, "identifierName": "chunk" }, "name": "chunk" }, "property": { "type": "Identifier", "start": 1364, "end": 1388, "loc": { "start": { "line": 38, "column": 31 }, "end": { "line": 38, "column": 55 }, "identifierName": "containedEntitiesByLayer" }, "name": "containedEntitiesByLayer" }, "computed": false }, "property": { "type": "Identifier", "start": 1389, "end": 1396, "loc": { "start": { "line": 38, "column": 56 }, "end": { "line": 38, "column": 63 }, "identifierName": "regular" }, "name": "regular" }, "computed": false } } ], "kind": "const" }, { "type": "ForStatement", "start": 1407, "end": 1785, "loc": { "start": { "line": 39, "column": 8 }, "end": { "line": 46, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 1412, "end": 1421, "loc": { "start": { "line": 39, "column": 13 }, "end": { "line": 39, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1416, "end": 1421, "loc": { "start": { "line": 39, "column": 17 }, "end": { "line": 39, "column": 22 } }, "id": { "type": "Identifier", "start": 1416, "end": 1417, "loc": { "start": { "line": 39, "column": 17 }, "end": { "line": 39, "column": 18 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 1420, "end": 1421, "loc": { "start": { "line": 39, "column": 21 }, "end": { "line": 39, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 1423, "end": 1442, "loc": { "start": { "line": 39, "column": 24 }, "end": { "line": 39, "column": 43 } }, "left": { "type": "Identifier", "start": 1423, "end": 1424, "loc": { "start": { "line": 39, "column": 24 }, "end": { "line": 39, "column": 25 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 1427, "end": 1442, "loc": { "start": { "line": 39, "column": 28 }, "end": { "line": 39, "column": 43 } }, "object": { "type": "Identifier", "start": 1427, "end": 1435, "loc": { "start": { "line": 39, "column": 28 }, "end": { "line": 39, "column": 36 }, "identifierName": "contents" }, "name": "contents" }, "property": { "type": "Identifier", "start": 1436, "end": 1442, "loc": { "start": { "line": 39, "column": 37 }, "end": { "line": 39, "column": 43 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 1444, "end": 1447, "loc": { "start": { "line": 39, "column": 45 }, "end": { "line": 39, "column": 48 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 1446, "end": 1447, "loc": { "start": { "line": 39, "column": 47 }, "end": { "line": 39, "column": 48 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 1449, "end": 1785, "loc": { "start": { "line": 39, "column": 50 }, "end": { "line": 46, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 1464, "end": 1491, "loc": { "start": { "line": 40, "column": 12 }, "end": { "line": 40, "column": 39 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1470, "end": 1490, "loc": { "start": { "line": 40, "column": 18 }, "end": { "line": 40, "column": 38 } }, "id": { "type": "Identifier", "start": 1470, "end": 1476, "loc": { "start": { "line": 40, "column": 18 }, "end": { "line": 40, "column": 24 }, "identifierName": "entity" }, "name": "entity" }, "init": { "type": "MemberExpression", "start": 1479, "end": 1490, "loc": { "start": { "line": 40, "column": 27 }, "end": { "line": 40, "column": 38 } }, "object": { "type": "Identifier", "start": 1479, "end": 1487, "loc": { "start": { "line": 40, "column": 27 }, "end": { "line": 40, "column": 35 }, "identifierName": "contents" }, "name": "contents" }, "property": { "type": "Identifier", "start": 1488, "end": 1489, "loc": { "start": { "line": 40, "column": 36 }, "end": { "line": 40, "column": 37 }, "identifierName": "i" }, "name": "i" }, "computed": true } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 1505, "end": 1547, "loc": { "start": { "line": 41, "column": 12 }, "end": { "line": 41, "column": 54 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1511, "end": 1546, "loc": { "start": { "line": 41, "column": 18 }, "end": { "line": 41, "column": 53 } }, "id": { "type": "Identifier", "start": 1511, "end": 1520, "loc": { "start": { "line": 41, "column": 18 }, "end": { "line": 41, "column": 27 }, "identifierName": "leverComp" }, "name": "leverComp" }, "init": { "type": "MemberExpression", "start": 1523, "end": 1546, "loc": { "start": { "line": 41, "column": 30 }, "end": { "line": 41, "column": 53 } }, "object": { "type": "MemberExpression", "start": 1523, "end": 1540, "loc": { "start": { "line": 41, "column": 30 }, "end": { "line": 41, "column": 47 } }, "object": { "type": "Identifier", "start": 1523, "end": 1529, "loc": { "start": { "line": 41, "column": 30 }, "end": { "line": 41, "column": 36 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 1530, "end": 1540, "loc": { "start": { "line": 41, "column": 37 }, "end": { "line": 41, "column": 47 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 1541, "end": 1546, "loc": { "start": { "line": 41, "column": 48 }, "end": { "line": 41, "column": 53 }, "identifierName": "Lever" }, "name": "Lever" }, "computed": false } } ], "kind": "const" }, { "type": "IfStatement", "start": 1561, "end": 1774, "loc": { "start": { "line": 42, "column": 12 }, "end": { "line": 45, "column": 13 } }, "test": { "type": "Identifier", "start": 1565, "end": 1574, "loc": { "start": { "line": 42, "column": 16 }, "end": { "line": 42, "column": 25 }, "identifierName": "leverComp" }, "name": "leverComp" }, "consequent": { "type": "BlockStatement", "start": 1576, "end": 1774, "loc": { "start": { "line": 42, "column": 27 }, "end": { "line": 45, "column": 13 } }, "body": [ { "type": "VariableDeclaration", "start": 1595, "end": 1661, "loc": { "start": { "line": 43, "column": 16 }, "end": { "line": 43, "column": 82 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1601, "end": 1660, "loc": { "start": { "line": 43, "column": 22 }, "end": { "line": 43, "column": 81 } }, "id": { "type": "Identifier", "start": 1601, "end": 1607, "loc": { "start": { "line": 43, "column": 22 }, "end": { "line": 43, "column": 28 }, "identifierName": "sprite" }, "name": "sprite" }, "init": { "type": "ConditionalExpression", "start": 1610, "end": 1660, "loc": { "start": { "line": 43, "column": 31 }, "end": { "line": 43, "column": 81 } }, "test": { "type": "MemberExpression", "start": 1610, "end": 1627, "loc": { "start": { "line": 43, "column": 31 }, "end": { "line": 43, "column": 48 } }, "object": { "type": "Identifier", "start": 1610, "end": 1619, "loc": { "start": { "line": 43, "column": 31 }, "end": { "line": 43, "column": 40 }, "identifierName": "leverComp" }, "name": "leverComp" }, "property": { "type": "Identifier", "start": 1620, "end": 1627, "loc": { "start": { "line": 43, "column": 41 }, "end": { "line": 43, "column": 48 }, "identifierName": "toggled" }, "name": "toggled" }, "computed": false }, "consequent": { "type": "MemberExpression", "start": 1630, "end": 1643, "loc": { "start": { "line": 43, "column": 51 }, "end": { "line": 43, "column": 64 } }, "object": { "type": "ThisExpression", "start": 1630, "end": 1634, "loc": { "start": { "line": 43, "column": 51 }, "end": { "line": 43, "column": 55 } } }, "property": { "type": "Identifier", "start": 1635, "end": 1643, "loc": { "start": { "line": 43, "column": 56 }, "end": { "line": 43, "column": 64 }, "identifierName": "spriteOn" }, "name": "spriteOn" }, "computed": false }, "alternate": { "type": "MemberExpression", "start": 1646, "end": 1660, "loc": { "start": { "line": 43, "column": 67 }, "end": { "line": 43, "column": 81 } }, "object": { "type": "ThisExpression", "start": 1646, "end": 1650, "loc": { "start": { "line": 43, "column": 67 }, "end": { "line": 43, "column": 71 } } }, "property": { "type": "Identifier", "start": 1651, "end": 1660, "loc": { "start": { "line": 43, "column": 72 }, "end": { "line": 43, "column": 81 }, "identifierName": "spriteOff" }, "name": "spriteOff" }, "computed": false } } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 1679, "end": 1759, "loc": { "start": { "line": 44, "column": 16 }, "end": { "line": 44, "column": 96 } }, "expression": { "type": "CallExpression", "start": 1679, "end": 1758, "loc": { "start": { "line": 44, "column": 16 }, "end": { "line": 44, "column": 95 } }, "callee": { "type": "MemberExpression", "start": 1679, "end": 1738, "loc": { "start": { "line": 44, "column": 16 }, "end": { "line": 44, "column": 75 } }, "object": { "type": "MemberExpression", "start": 1679, "end": 1712, "loc": { "start": { "line": 44, "column": 16 }, "end": { "line": 44, "column": 49 } }, "object": { "type": "MemberExpression", "start": 1679, "end": 1696, "loc": { "start": { "line": 44, "column": 16 }, "end": { "line": 44, "column": 33 } }, "object": { "type": "Identifier", "start": 1679, "end": 1685, "loc": { "start": { "line": 44, "column": 16 }, "end": { "line": 44, "column": 22 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 1686, "end": 1696, "loc": { "start": { "line": 44, "column": 23 }, "end": { "line": 44, "column": 33 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 1697, "end": 1712, "loc": { "start": { "line": 44, "column": 34 }, "end": { "line": 44, "column": 49 }, "identifierName": "StaticMapEntity" }, "name": "StaticMapEntity" }, "computed": false }, "property": { "type": "Identifier", "start": 1713, "end": 1738, "loc": { "start": { "line": 44, "column": 50 }, "end": { "line": 44, "column": 75 }, "identifierName": "drawSpriteOnBoundsClipped" }, "name": "drawSpriteOnBoundsClipped" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 1739, "end": 1749, "loc": { "start": { "line": 44, "column": 76 }, "end": { "line": 44, "column": 86 }, "identifierName": "parameters" }, "name": "parameters" }, { "type": "Identifier", "start": 1751, "end": 1757, "loc": { "start": { "line": 44, "column": 88 }, "end": { "line": 44, "column": 94 }, "identifierName": "sprite" }, "name": "sprite" } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Draws a given chunk\r\n * @param {import(\"../../core/draw_utils\").DrawParameters} parameters\r\n * @param {MapChunkView} chunk\r\n ", "start": 1122, "end": 1273, "loc": { "start": { "line": 32, "column": 4 }, "end": { "line": 36, "column": 7 } } } ] } ] }, "leadingComments": [], "trailingComments": [] } } ], "directives": [] }, "comments": [ { "type": "CommentLine", "value": " Simply sync the status to the first slot", "start": 950, "end": 993, "loc": { "start": { "line": 27, "column": 12 }, "end": { "line": 27, "column": 55 } } }, { "type": "CommentBlock", "value": "*\r\n * Draws a given chunk\r\n * @param {import(\"../../core/draw_utils\").DrawParameters} parameters\r\n * @param {MapChunkView} chunk\r\n ", "start": 1122, "end": 1273, "loc": { "start": { "line": 32, "column": 4 }, "end": { "line": 36, "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": "GameSystemWithFilter", "start": 9, "end": 29, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 30, "end": 31, "loc": { "start": { "line": 1, "column": 30 }, "end": { "line": 1, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 32, "end": 36, "loc": { "start": { "line": 1, "column": 32 }, "end": { "line": 1, "column": 36 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../game_system_with_filter", "start": 37, "end": 65, "loc": { "start": { "line": 1, "column": 37 }, "end": { "line": 1, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 65, "end": 66, "loc": { "start": { "line": 1, "column": 65 }, "end": { "line": 1, "column": 66 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 68, "end": 74, "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": 75, "end": 76, "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": "LeverComponent", "start": 77, "end": 91, "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": 92, "end": 93, "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": 94, "end": 98, "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": "../components/lever", "start": 99, "end": 120, "loc": { "start": { "line": 2, "column": 31 }, "end": { "line": 2, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 120, "end": 121, "loc": { "start": { "line": 2, "column": 52 }, "end": { "line": 2, "column": 53 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 123, "end": 129, "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": 130, "end": 131, "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": "BOOL_TRUE_SINGLETON", "start": 132, "end": 151, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 28 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 151, "end": 152, "loc": { "start": { "line": 3, "column": 28 }, "end": { "line": 3, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "BOOL_FALSE_SINGLETON", "start": 153, "end": 173, "loc": { "start": { "line": 3, "column": 30 }, "end": { "line": 3, "column": 50 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 174, "end": 175, "loc": { "start": { "line": 3, "column": 51 }, "end": { "line": 3, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 176, "end": 180, "loc": { "start": { "line": 3, "column": 53 }, "end": { "line": 3, "column": 57 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../items/boolean_item", "start": 181, "end": 204, "loc": { "start": { "line": 3, "column": 58 }, "end": { "line": 3, "column": 81 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 204, "end": 205, "loc": { "start": { "line": 3, "column": 81 }, "end": { "line": 3, "column": 82 } } }, { "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": 207, "end": 213, "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": 214, "end": 215, "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": 216, "end": 228, "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": 229, "end": 230, "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": 231, "end": 235, "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": 236, "end": 255, "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": 255, "end": 256, "loc": { "start": { "line": 4, "column": 48 }, "end": { "line": 4, "column": 49 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 258, "end": 264, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 265, "end": 266, "loc": { "start": { "line": 5, "column": 7 }, "end": { "line": 5, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 267, "end": 279, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 280, "end": 281, "loc": { "start": { "line": 5, "column": 22 }, "end": { "line": 5, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 282, "end": 286, "loc": { "start": { "line": 5, "column": 24 }, "end": { "line": 5, "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": 287, "end": 306, "loc": { "start": { "line": 5, "column": 29 }, "end": { "line": 5, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 306, "end": 307, "loc": { "start": { "line": 5, "column": 48 }, "end": { "line": 5, "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": 309, "end": 315, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 316, "end": 317, "loc": { "start": { "line": 6, "column": 7 }, "end": { "line": 6, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Loader", "start": 318, "end": 324, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 325, "end": 326, "loc": { "start": { "line": 6, "column": 16 }, "end": { "line": 6, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 327, "end": 331, "loc": { "start": { "line": 6, "column": 18 }, "end": { "line": 6, "column": 22 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../../core/loader", "start": 332, "end": 351, "loc": { "start": { "line": 6, "column": 23 }, "end": { "line": 6, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 351, "end": 352, "loc": { "start": { "line": 6, "column": 42 }, "end": { "line": 6, "column": 43 } } }, { "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": 356, "end": 362, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 8, "column": 6 } } }, { "type": { "label": "class", "keyword": "class", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "class", "start": 363, "end": 368, "loc": { "start": { "line": 8, "column": 7 }, "end": { "line": 8, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "LeverSystem", "start": 369, "end": 380, "loc": { "start": { "line": 8, "column": 13 }, "end": { "line": 8, "column": 24 } } }, { "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": 381, "end": 388, "loc": { "start": { "line": 8, "column": 25 }, "end": { "line": 8, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "GameSystemWithFilter", "start": 389, "end": 409, "loc": { "start": { "line": 8, "column": 33 }, "end": { "line": 8, "column": 53 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 410, "end": 411, "loc": { "start": { "line": 8, "column": 54 }, "end": { "line": 8, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 417, "end": 428, "loc": { "start": { "line": 9, "column": 4 }, "end": { "line": 9, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 428, "end": 429, "loc": { "start": { "line": 9, "column": 15 }, "end": { "line": 9, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 429, "end": 433, "loc": { "start": { "line": 9, "column": 16 }, "end": { "line": 9, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 433, "end": 434, "loc": { "start": { "line": 9, "column": 20 }, "end": { "line": 9, "column": 21 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 435, "end": 436, "loc": { "start": { "line": 9, "column": 22 }, "end": { "line": 9, "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": 446, "end": 451, "loc": { "start": { "line": 10, "column": 8 }, "end": { "line": 10, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 451, "end": 452, "loc": { "start": { "line": 10, "column": 13 }, "end": { "line": 10, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 452, "end": 456, "loc": { "start": { "line": 10, "column": 14 }, "end": { "line": 10, "column": 18 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 456, "end": 457, "loc": { "start": { "line": 10, "column": 18 }, "end": { "line": 10, "column": 19 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 458, "end": 459, "loc": { "start": { "line": 10, "column": 20 }, "end": { "line": 10, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "LeverComponent", "start": 459, "end": 473, "loc": { "start": { "line": 10, "column": 21 }, "end": { "line": 10, "column": 35 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 473, "end": 474, "loc": { "start": { "line": 10, "column": 35 }, "end": { "line": 10, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 474, "end": 475, "loc": { "start": { "line": 10, "column": 36 }, "end": { "line": 10, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 475, "end": 476, "loc": { "start": { "line": 10, "column": 37 }, "end": { "line": 10, "column": 38 } } }, { "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": 488, "end": 492, "loc": { "start": { "line": 12, "column": 8 }, "end": { "line": 12, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 492, "end": 493, "loc": { "start": { "line": 12, "column": 12 }, "end": { "line": 12, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "spriteOn", "start": 493, "end": 501, "loc": { "start": { "line": 12, "column": 13 }, "end": { "line": 12, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 502, "end": 503, "loc": { "start": { "line": 12, "column": 22 }, "end": { "line": 12, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Loader", "start": 504, "end": 510, "loc": { "start": { "line": 12, "column": 24 }, "end": { "line": 12, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 510, "end": 511, "loc": { "start": { "line": 12, "column": 30 }, "end": { "line": 12, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getSprite", "start": 511, "end": 520, "loc": { "start": { "line": 12, "column": 31 }, "end": { "line": 12, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 520, "end": 521, "loc": { "start": { "line": 12, "column": 40 }, "end": { "line": 12, "column": 41 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "sprites/wires/lever_on.png", "start": 521, "end": 549, "loc": { "start": { "line": 12, "column": 41 }, "end": { "line": 12, "column": 69 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 549, "end": 550, "loc": { "start": { "line": 12, "column": 69 }, "end": { "line": 12, "column": 70 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 550, "end": 551, "loc": { "start": { "line": 12, "column": 70 }, "end": { "line": 12, "column": 71 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 561, "end": 565, "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": 565, "end": 566, "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": "spriteOff", "start": 566, "end": 575, "loc": { "start": { "line": 13, "column": 13 }, "end": { "line": 13, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 576, "end": 577, "loc": { "start": { "line": 13, "column": 23 }, "end": { "line": 13, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Loader", "start": 578, "end": 584, "loc": { "start": { "line": 13, "column": 25 }, "end": { "line": 13, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 584, "end": 585, "loc": { "start": { "line": 13, "column": 31 }, "end": { "line": 13, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getSprite", "start": 585, "end": 594, "loc": { "start": { "line": 13, "column": 32 }, "end": { "line": 13, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 594, "end": 595, "loc": { "start": { "line": 13, "column": 41 }, "end": { "line": 13, "column": 42 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "sprites/buildings/lever.png", "start": 595, "end": 624, "loc": { "start": { "line": 13, "column": 42 }, "end": { "line": 13, "column": 71 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 624, "end": 625, "loc": { "start": { "line": 13, "column": 71 }, "end": { "line": 13, "column": 72 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 625, "end": 626, "loc": { "start": { "line": 13, "column": 72 }, "end": { "line": 13, "column": 73 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 632, "end": 633, "loc": { "start": { "line": 14, "column": 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": 641, "end": 647, "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": 648, "end": 653, "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": 653, "end": 654, "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": 654, "end": 655, "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": 656, "end": 657, "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": 667, "end": 673, "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": "lever", "start": 674, "end": 681, "loc": { "start": { "line": 17, "column": 15 }, "end": { "line": 17, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 681, "end": 682, "loc": { "start": { "line": 17, "column": 22 }, "end": { "line": 17, "column": 23 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 688, "end": 689, "loc": { "start": { "line": 18, "column": 4 }, "end": { "line": 18, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "update", "start": 697, "end": 703, "loc": { "start": { "line": 20, "column": 4 }, "end": { "line": 20, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 703, "end": 704, "loc": { "start": { "line": 20, "column": 10 }, "end": { "line": 20, "column": 11 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 704, "end": 705, "loc": { "start": { "line": 20, "column": 11 }, "end": { "line": 20, "column": 12 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 706, "end": 707, "loc": { "start": { "line": 20, "column": 13 }, "end": { "line": 20, "column": 14 } } }, { "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": 717, "end": 720, "loc": { "start": { "line": 21, "column": 8 }, "end": { "line": 21, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 721, "end": 722, "loc": { "start": { "line": 21, "column": 12 }, "end": { "line": 21, "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": 722, "end": 725, "loc": { "start": { "line": 21, "column": 13 }, "end": { "line": 21, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 726, "end": 727, "loc": { "start": { "line": 21, "column": 17 }, "end": { "line": 21, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 728, "end": 729, "loc": { "start": { "line": 21, "column": 19 }, "end": { "line": 21, "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": 730, "end": 731, "loc": { "start": { "line": 21, "column": 21 }, "end": { "line": 21, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 731, "end": 732, "loc": { "start": { "line": 21, "column": 22 }, "end": { "line": 21, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 733, "end": 734, "loc": { "start": { "line": 21, "column": 24 }, "end": { "line": 21, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 735, "end": 736, "loc": { "start": { "line": 21, "column": 26 }, "end": { "line": 21, "column": 27 } } }, { "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": 737, "end": 741, "loc": { "start": { "line": 21, "column": 28 }, "end": { "line": 21, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 741, "end": 742, "loc": { "start": { "line": 21, "column": 32 }, "end": { "line": 21, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "allEntities", "start": 742, "end": 753, "loc": { "start": { "line": 21, "column": 33 }, "end": { "line": 21, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 753, "end": 754, "loc": { "start": { "line": 21, "column": 44 }, "end": { "line": 21, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 754, "end": 760, "loc": { "start": { "line": 21, "column": 45 }, "end": { "line": 21, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 760, "end": 761, "loc": { "start": { "line": 21, "column": 51 }, "end": { "line": 21, "column": 52 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 762, "end": 764, "loc": { "start": { "line": 21, "column": 53 }, "end": { "line": 21, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 764, "end": 765, "loc": { "start": { "line": 21, "column": 55 }, "end": { "line": 21, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 765, "end": 766, "loc": { "start": { "line": 21, "column": 56 }, "end": { "line": 21, "column": 57 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 767, "end": 768, "loc": { "start": { "line": 21, "column": 58 }, "end": { "line": 21, "column": 59 } } }, { "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": 782, "end": 787, "loc": { "start": { "line": 22, "column": 12 }, "end": { "line": 22, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 788, "end": 794, "loc": { "start": { "line": 22, "column": 18 }, "end": { "line": 22, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 795, "end": 796, "loc": { "start": { "line": 22, "column": 25 }, "end": { "line": 22, "column": 26 } } }, { "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": 797, "end": 801, "loc": { "start": { "line": 22, "column": 27 }, "end": { "line": 22, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 801, "end": 802, "loc": { "start": { "line": 22, "column": 31 }, "end": { "line": 22, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "allEntities", "start": 802, "end": 813, "loc": { "start": { "line": 22, "column": 32 }, "end": { "line": 22, "column": 43 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 813, "end": 814, "loc": { "start": { "line": 22, "column": 43 }, "end": { "line": 22, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 814, "end": 815, "loc": { "start": { "line": 22, "column": 44 }, "end": { "line": 22, "column": 45 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 815, "end": 816, "loc": { "start": { "line": 22, "column": 45 }, "end": { "line": 22, "column": 46 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 816, "end": 817, "loc": { "start": { "line": 22, "column": 46 }, "end": { "line": 22, "column": 47 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 833, "end": 838, "loc": { "start": { "line": 24, "column": 12 }, "end": { "line": 24, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "leverComp", "start": 839, "end": 848, "loc": { "start": { "line": 24, "column": 18 }, "end": { "line": 24, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 849, "end": 850, "loc": { "start": { "line": 24, "column": 28 }, "end": { "line": 24, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 851, "end": 857, "loc": { "start": { "line": 24, "column": 30 }, "end": { "line": 24, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 857, "end": 858, "loc": { "start": { "line": 24, "column": 36 }, "end": { "line": 24, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 858, "end": 868, "loc": { "start": { "line": 24, "column": 37 }, "end": { "line": 24, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 868, "end": 869, "loc": { "start": { "line": 24, "column": 47 }, "end": { "line": 24, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Lever", "start": 869, "end": 874, "loc": { "start": { "line": 24, "column": 48 }, "end": { "line": 24, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 874, "end": 875, "loc": { "start": { "line": 24, "column": 53 }, "end": { "line": 24, "column": 54 } } }, { "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": 889, "end": 894, "loc": { "start": { "line": 25, "column": 12 }, "end": { "line": 25, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pinsComp", "start": 895, "end": 903, "loc": { "start": { "line": 25, "column": 18 }, "end": { "line": 25, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 904, "end": 905, "loc": { "start": { "line": 25, "column": 27 }, "end": { "line": 25, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 906, "end": 912, "loc": { "start": { "line": 25, "column": 29 }, "end": { "line": 25, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 912, "end": 913, "loc": { "start": { "line": 25, "column": 35 }, "end": { "line": 25, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 913, "end": 923, "loc": { "start": { "line": 25, "column": 36 }, "end": { "line": 25, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 923, "end": 924, "loc": { "start": { "line": 25, "column": 46 }, "end": { "line": 25, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "WiredPins", "start": 924, "end": 933, "loc": { "start": { "line": 25, "column": 47 }, "end": { "line": 25, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 933, "end": 934, "loc": { "start": { "line": 25, "column": 56 }, "end": { "line": 25, "column": 57 } } }, { "type": "CommentLine", "value": " Simply sync the status to the first slot", "start": 950, "end": 993, "loc": { "start": { "line": 27, "column": 12 }, "end": { "line": 27, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pinsComp", "start": 1007, "end": 1015, "loc": { "start": { "line": 28, "column": 12 }, "end": { "line": 28, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1015, "end": 1016, "loc": { "start": { "line": 28, "column": 20 }, "end": { "line": 28, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "slots", "start": 1016, "end": 1021, "loc": { "start": { "line": 28, "column": 21 }, "end": { "line": 28, "column": 26 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1021, "end": 1022, "loc": { "start": { "line": 28, "column": 26 }, "end": { "line": 28, "column": 27 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 1022, "end": 1023, "loc": { "start": { "line": 28, "column": 27 }, "end": { "line": 28, "column": 28 } } }, { "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": 28, "column": 28 }, "end": { "line": 28, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1024, "end": 1025, "loc": { "start": { "line": 28, "column": 29 }, "end": { "line": 28, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "value", "start": 1025, "end": 1030, "loc": { "start": { "line": 28, "column": 30 }, "end": { "line": 28, "column": 35 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1031, "end": 1032, "loc": { "start": { "line": 28, "column": 36 }, "end": { "line": 28, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "leverComp", "start": 1033, "end": 1042, "loc": { "start": { "line": 28, "column": 38 }, "end": { "line": 28, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1042, "end": 1043, "loc": { "start": { "line": 28, "column": 47 }, "end": { "line": 28, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toggled", "start": 1043, "end": 1050, "loc": { "start": { "line": 28, "column": 48 }, "end": { "line": 28, "column": 55 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1051, "end": 1052, "loc": { "start": { "line": 28, "column": 56 }, "end": { "line": 28, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "BOOL_TRUE_SINGLETON", "start": 1053, "end": 1072, "loc": { "start": { "line": 28, "column": 58 }, "end": { "line": 28, "column": 77 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1073, "end": 1074, "loc": { "start": { "line": 28, "column": 78 }, "end": { "line": 28, "column": 79 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "BOOL_FALSE_SINGLETON", "start": 1075, "end": 1095, "loc": { "start": { "line": 28, "column": 80 }, "end": { "line": 28, "column": 100 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1095, "end": 1096, "loc": { "start": { "line": 28, "column": 100 }, "end": { "line": 28, "column": 101 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1106, "end": 1107, "loc": { "start": { "line": 29, "column": 8 }, "end": { "line": 29, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1113, "end": 1114, "loc": { "start": { "line": 30, "column": 4 }, "end": { "line": 30, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Draws a given chunk\r\n * @param {import(\"../../core/draw_utils\").DrawParameters} parameters\r\n * @param {MapChunkView} chunk\r\n ", "start": 1122, "end": 1273, "loc": { "start": { "line": 32, "column": 4 }, "end": { "line": 36, "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": 1279, "end": 1310, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 37, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1310, "end": 1311, "loc": { "start": { "line": 37, "column": 35 }, "end": { "line": 37, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 1311, "end": 1321, "loc": { "start": { "line": 37, "column": 36 }, "end": { "line": 37, "column": 46 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1321, "end": 1322, "loc": { "start": { "line": 37, "column": 46 }, "end": { "line": 37, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "chunk", "start": 1323, "end": 1328, "loc": { "start": { "line": 37, "column": 48 }, "end": { "line": 37, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1328, "end": 1329, "loc": { "start": { "line": 37, "column": 53 }, "end": { "line": 37, "column": 54 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1330, "end": 1331, "loc": { "start": { "line": 37, "column": 55 }, "end": { "line": 37, "column": 56 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 1341, "end": 1346, "loc": { "start": { "line": 38, "column": 8 }, "end": { "line": 38, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contents", "start": 1347, "end": 1355, "loc": { "start": { "line": 38, "column": 14 }, "end": { "line": 38, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1356, "end": 1357, "loc": { "start": { "line": 38, "column": 23 }, "end": { "line": 38, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "chunk", "start": 1358, "end": 1363, "loc": { "start": { "line": 38, "column": 25 }, "end": { "line": 38, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1363, "end": 1364, "loc": { "start": { "line": 38, "column": 30 }, "end": { "line": 38, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "containedEntitiesByLayer", "start": 1364, "end": 1388, "loc": { "start": { "line": 38, "column": 31 }, "end": { "line": 38, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1388, "end": 1389, "loc": { "start": { "line": 38, "column": 55 }, "end": { "line": 38, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "regular", "start": 1389, "end": 1396, "loc": { "start": { "line": 38, "column": 56 }, "end": { "line": 38, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1396, "end": 1397, "loc": { "start": { "line": 38, "column": 63 }, "end": { "line": 38, "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": 1407, "end": 1410, "loc": { "start": { "line": 39, "column": 8 }, "end": { "line": 39, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1411, "end": 1412, "loc": { "start": { "line": 39, "column": 12 }, "end": { "line": 39, "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": 1412, "end": 1415, "loc": { "start": { "line": 39, "column": 13 }, "end": { "line": 39, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 1416, "end": 1417, "loc": { "start": { "line": 39, "column": 17 }, "end": { "line": 39, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1418, "end": 1419, "loc": { "start": { "line": 39, "column": 19 }, "end": { "line": 39, "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": 1420, "end": 1421, "loc": { "start": { "line": 39, "column": 21 }, "end": { "line": 39, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1421, "end": 1422, "loc": { "start": { "line": 39, "column": 22 }, "end": { "line": 39, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 1423, "end": 1424, "loc": { "start": { "line": 39, "column": 24 }, "end": { "line": 39, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 1425, "end": 1426, "loc": { "start": { "line": 39, "column": 26 }, "end": { "line": 39, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contents", "start": 1427, "end": 1435, "loc": { "start": { "line": 39, "column": 28 }, "end": { "line": 39, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1435, "end": 1436, "loc": { "start": { "line": 39, "column": 36 }, "end": { "line": 39, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 1436, "end": 1442, "loc": { "start": { "line": 39, "column": 37 }, "end": { "line": 39, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1442, "end": 1443, "loc": { "start": { "line": 39, "column": 43 }, "end": { "line": 39, "column": 44 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 1444, "end": 1446, "loc": { "start": { "line": 39, "column": 45 }, "end": { "line": 39, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 1446, "end": 1447, "loc": { "start": { "line": 39, "column": 47 }, "end": { "line": 39, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1447, "end": 1448, "loc": { "start": { "line": 39, "column": 48 }, "end": { "line": 39, "column": 49 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1449, "end": 1450, "loc": { "start": { "line": 39, "column": 50 }, "end": { "line": 39, "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": 1464, "end": 1469, "loc": { "start": { "line": 40, "column": 12 }, "end": { "line": 40, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 1470, "end": 1476, "loc": { "start": { "line": 40, "column": 18 }, "end": { "line": 40, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1477, "end": 1478, "loc": { "start": { "line": 40, "column": 25 }, "end": { "line": 40, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contents", "start": 1479, "end": 1487, "loc": { "start": { "line": 40, "column": 27 }, "end": { "line": 40, "column": 35 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1487, "end": 1488, "loc": { "start": { "line": 40, "column": 35 }, "end": { "line": 40, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 1488, "end": 1489, "loc": { "start": { "line": 40, "column": 36 }, "end": { "line": 40, "column": 37 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1489, "end": 1490, "loc": { "start": { "line": 40, "column": 37 }, "end": { "line": 40, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1490, "end": 1491, "loc": { "start": { "line": 40, "column": 38 }, "end": { "line": 40, "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": 1505, "end": 1510, "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": "leverComp", "start": 1511, "end": 1520, "loc": { "start": { "line": 41, "column": 18 }, "end": { "line": 41, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1521, "end": 1522, "loc": { "start": { "line": 41, "column": 28 }, "end": { "line": 41, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 1523, "end": 1529, "loc": { "start": { "line": 41, "column": 30 }, "end": { "line": 41, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1529, "end": 1530, "loc": { "start": { "line": 41, "column": 36 }, "end": { "line": 41, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 1530, "end": 1540, "loc": { "start": { "line": 41, "column": 37 }, "end": { "line": 41, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1540, "end": 1541, "loc": { "start": { "line": 41, "column": 47 }, "end": { "line": 41, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Lever", "start": 1541, "end": 1546, "loc": { "start": { "line": 41, "column": 48 }, "end": { "line": 41, "column": 53 } } }, { "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": 41, "column": 53 }, "end": { "line": 41, "column": 54 } } }, { "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": 1561, "end": 1563, "loc": { "start": { "line": 42, "column": 12 }, "end": { "line": 42, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1564, "end": 1565, "loc": { "start": { "line": 42, "column": 15 }, "end": { "line": 42, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "leverComp", "start": 1565, "end": 1574, "loc": { "start": { "line": 42, "column": 16 }, "end": { "line": 42, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1574, "end": 1575, "loc": { "start": { "line": 42, "column": 25 }, "end": { "line": 42, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1576, "end": 1577, "loc": { "start": { "line": 42, "column": 27 }, "end": { "line": 42, "column": 28 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 1595, "end": 1600, "loc": { "start": { "line": 43, "column": 16 }, "end": { "line": 43, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sprite", "start": 1601, "end": 1607, "loc": { "start": { "line": 43, "column": 22 }, "end": { "line": 43, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1608, "end": 1609, "loc": { "start": { "line": 43, "column": 29 }, "end": { "line": 43, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "leverComp", "start": 1610, "end": 1619, "loc": { "start": { "line": 43, "column": 31 }, "end": { "line": 43, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1619, "end": 1620, "loc": { "start": { "line": 43, "column": 40 }, "end": { "line": 43, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toggled", "start": 1620, "end": 1627, "loc": { "start": { "line": 43, "column": 41 }, "end": { "line": 43, "column": 48 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1628, "end": 1629, "loc": { "start": { "line": 43, "column": 49 }, "end": { "line": 43, "column": 50 } } }, { "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": 1630, "end": 1634, "loc": { "start": { "line": 43, "column": 51 }, "end": { "line": 43, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1634, "end": 1635, "loc": { "start": { "line": 43, "column": 55 }, "end": { "line": 43, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "spriteOn", "start": 1635, "end": 1643, "loc": { "start": { "line": 43, "column": 56 }, "end": { "line": 43, "column": 64 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1644, "end": 1645, "loc": { "start": { "line": 43, "column": 65 }, "end": { "line": 43, "column": 66 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1646, "end": 1650, "loc": { "start": { "line": 43, "column": 67 }, "end": { "line": 43, "column": 71 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1650, "end": 1651, "loc": { "start": { "line": 43, "column": 71 }, "end": { "line": 43, "column": 72 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "spriteOff", "start": 1651, "end": 1660, "loc": { "start": { "line": 43, "column": 72 }, "end": { "line": 43, "column": 81 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1660, "end": 1661, "loc": { "start": { "line": 43, "column": 81 }, "end": { "line": 43, "column": 82 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 1679, "end": 1685, "loc": { "start": { "line": 44, "column": 16 }, "end": { "line": 44, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1685, "end": 1686, "loc": { "start": { "line": 44, "column": 22 }, "end": { "line": 44, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 1686, "end": 1696, "loc": { "start": { "line": 44, "column": 23 }, "end": { "line": 44, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1696, "end": 1697, "loc": { "start": { "line": 44, "column": 33 }, "end": { "line": 44, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "StaticMapEntity", "start": 1697, "end": 1712, "loc": { "start": { "line": 44, "column": 34 }, "end": { "line": 44, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1712, "end": 1713, "loc": { "start": { "line": 44, "column": 49 }, "end": { "line": 44, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "drawSpriteOnBoundsClipped", "start": 1713, "end": 1738, "loc": { "start": { "line": 44, "column": 50 }, "end": { "line": 44, "column": 75 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1738, "end": 1739, "loc": { "start": { "line": 44, "column": 75 }, "end": { "line": 44, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 1739, "end": 1749, "loc": { "start": { "line": 44, "column": 76 }, "end": { "line": 44, "column": 86 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1749, "end": 1750, "loc": { "start": { "line": 44, "column": 86 }, "end": { "line": 44, "column": 87 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sprite", "start": 1751, "end": 1757, "loc": { "start": { "line": 44, "column": 88 }, "end": { "line": 44, "column": 94 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1757, "end": 1758, "loc": { "start": { "line": 44, "column": 94 }, "end": { "line": 44, "column": 95 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1758, "end": 1759, "loc": { "start": { "line": 44, "column": 95 }, "end": { "line": 44, "column": 96 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1773, "end": 1774, "loc": { "start": { "line": 45, "column": 12 }, "end": { "line": 45, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1784, "end": 1785, "loc": { "start": { "line": 46, "column": 8 }, "end": { "line": 46, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1791, "end": 1792, "loc": { "start": { "line": 47, "column": 4 }, "end": { "line": 47, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1794, "end": 1795, "loc": { "start": { "line": 48, "column": 0 }, "end": { "line": 48, "column": 1 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1795, "end": 1795, "loc": { "start": { "line": 48, "column": 1 }, "end": { "line": 48, "column": 1 } } } ] }