{ "type": "File", "start": 0, "end": 5921, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 162, "column": 1 } }, "program": { "type": "Program", "start": 0, "end": 5921, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 162, "column": 1 } }, "sourceType": "module", "body": [ { "type": "ImportDeclaration", "start": 0, "end": 65, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 65 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 9, "end": 28, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 28 } }, "imported": { "type": "Identifier", "start": 9, "end": 28, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 28 }, "identifierName": "makeOffscreenBuffer" }, "name": "makeOffscreenBuffer" }, "local": { "type": "Identifier", "start": 9, "end": 28, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 28 }, "identifierName": "makeOffscreenBuffer" }, "name": "makeOffscreenBuffer" } } ], "source": { "type": "StringLiteral", "start": 36, "end": 64, "loc": { "start": { "line": 1, "column": 36 }, "end": { "line": 1, "column": 64 } }, "extra": { "rawValue": "../../../core/buffer_utils", "raw": "\"../../../core/buffer_utils\"" }, "value": "../../../core/buffer_utils" } }, { "type": "ImportDeclaration", "start": 67, "end": 119, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 52 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 76, "end": 88, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 21 } }, "imported": { "type": "Identifier", "start": 76, "end": 88, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 21 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "local": { "type": "Identifier", "start": 76, "end": 88, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 21 }, "identifierName": "globalConfig" }, "name": "globalConfig" } } ], "source": { "type": "StringLiteral", "start": 96, "end": 118, "loc": { "start": { "line": 2, "column": 29 }, "end": { "line": 2, "column": 51 } }, "extra": { "rawValue": "../../../core/config", "raw": "\"../../../core/config\"" }, "value": "../../../core/config" } }, { "type": "ImportDeclaration", "start": 121, "end": 184, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 63 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 130, "end": 144, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 23 } }, "imported": { "type": "Identifier", "start": 130, "end": 144, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 23 }, "identifierName": "DrawParameters" }, "name": "DrawParameters" }, "local": { "type": "Identifier", "start": 130, "end": 144, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 23 }, "identifierName": "DrawParameters" }, "name": "DrawParameters" } } ], "source": { "type": "StringLiteral", "start": 152, "end": 183, "loc": { "start": { "line": 3, "column": 31 }, "end": { "line": 3, "column": 62 } }, "extra": { "rawValue": "../../../core/draw_parameters", "raw": "\"../../../core/draw_parameters\"" }, "value": "../../../core/draw_parameters" } }, { "type": "ImportDeclaration", "start": 186, "end": 232, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 46 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 195, "end": 201, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 15 } }, "imported": { "type": "Identifier", "start": 195, "end": 201, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 15 }, "identifierName": "Loader" }, "name": "Loader" }, "local": { "type": "Identifier", "start": 195, "end": 201, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 15 }, "identifierName": "Loader" }, "name": "Loader" } } ], "source": { "type": "StringLiteral", "start": 209, "end": 231, "loc": { "start": { "line": 4, "column": 23 }, "end": { "line": 4, "column": 45 } }, "extra": { "rawValue": "../../../core/loader", "raw": "\"../../../core/loader\"" }, "value": "../../../core/loader" } }, { "type": "ImportDeclaration", "start": 234, "end": 277, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 43 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 243, "end": 247, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 13 } }, "imported": { "type": "Identifier", "start": 243, "end": 247, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 13 }, "identifierName": "lerp" }, "name": "lerp" }, "local": { "type": "Identifier", "start": 243, "end": 247, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 13 }, "identifierName": "lerp" }, "name": "lerp" } } ], "source": { "type": "StringLiteral", "start": 255, "end": 276, "loc": { "start": { "line": 5, "column": 21 }, "end": { "line": 5, "column": 42 } }, "extra": { "rawValue": "../../../core/utils", "raw": "\"../../../core/utils\"" }, "value": "../../../core/utils" } }, { "type": "ImportDeclaration", "start": 279, "end": 328, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "column": 49 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 288, "end": 294, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 15 } }, "imported": { "type": "Identifier", "start": 288, "end": 294, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 15 }, "identifierName": "SOUNDS" }, "name": "SOUNDS" }, "local": { "type": "Identifier", "start": 288, "end": 294, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 15 }, "identifierName": "SOUNDS" }, "name": "SOUNDS" } } ], "source": { "type": "StringLiteral", "start": 302, "end": 327, "loc": { "start": { "line": 6, "column": 23 }, "end": { "line": 6, "column": 48 } }, "extra": { "rawValue": "../../../platform/sound", "raw": "\"../../../platform/sound\"" }, "value": "../../../platform/sound" } }, { "type": "ImportDeclaration", "start": 330, "end": 384, "loc": { "start": { "line": 7, "column": 0 }, "end": { "line": 7, "column": 54 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 339, "end": 350, "loc": { "start": { "line": 7, "column": 9 }, "end": { "line": 7, "column": 20 } }, "imported": { "type": "Identifier", "start": 339, "end": 350, "loc": { "start": { "line": 7, "column": 9 }, "end": { "line": 7, "column": 20 }, "identifierName": "KEYMAPPINGS" }, "name": "KEYMAPPINGS" }, "local": { "type": "Identifier", "start": 339, "end": 350, "loc": { "start": { "line": 7, "column": 9 }, "end": { "line": 7, "column": 20 }, "identifierName": "KEYMAPPINGS" }, "name": "KEYMAPPINGS" } } ], "source": { "type": "StringLiteral", "start": 358, "end": 383, "loc": { "start": { "line": 7, "column": 28 }, "end": { "line": 7, "column": 53 } }, "extra": { "rawValue": "../../key_action_mapper", "raw": "\"../../key_action_mapper\"" }, "value": "../../key_action_mapper" } }, { "type": "ImportDeclaration", "start": 386, "end": 444, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 8, "column": 58 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 395, "end": 413, "loc": { "start": { "line": 8, "column": 9 }, "end": { "line": 8, "column": 27 } }, "imported": { "type": "Identifier", "start": 395, "end": 413, "loc": { "start": { "line": 8, "column": 9 }, "end": { "line": 8, "column": 27 }, "identifierName": "enumHubGoalRewards" }, "name": "enumHubGoalRewards" }, "local": { "type": "Identifier", "start": 395, "end": 413, "loc": { "start": { "line": 8, "column": 9 }, "end": { "line": 8, "column": 27 }, "identifierName": "enumHubGoalRewards" }, "name": "enumHubGoalRewards" } } ], "source": { "type": "StringLiteral", "start": 421, "end": 443, "loc": { "start": { "line": 8, "column": 35 }, "end": { "line": 8, "column": 57 } }, "extra": { "rawValue": "../../tutorial_goals", "raw": "\"../../tutorial_goals\"" }, "value": "../../tutorial_goals" } }, { "type": "ImportDeclaration", "start": 446, "end": 493, "loc": { "start": { "line": 9, "column": 0 }, "end": { "line": 9, "column": 47 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 455, "end": 466, "loc": { "start": { "line": 9, "column": 9 }, "end": { "line": 9, "column": 20 } }, "imported": { "type": "Identifier", "start": 455, "end": 466, "loc": { "start": { "line": 9, "column": 9 }, "end": { "line": 9, "column": 20 }, "identifierName": "BaseHUDPart" }, "name": "BaseHUDPart" }, "local": { "type": "Identifier", "start": 455, "end": 466, "loc": { "start": { "line": 9, "column": 9 }, "end": { "line": 9, "column": 20 }, "identifierName": "BaseHUDPart" }, "name": "BaseHUDPart" } } ], "source": { "type": "StringLiteral", "start": 474, "end": 492, "loc": { "start": { "line": 9, "column": 28 }, "end": { "line": 9, "column": 46 } }, "extra": { "rawValue": "../base_hud_part", "raw": "\"../base_hud_part\"" }, "value": "../base_hud_part" } }, { "type": "VariableDeclaration", "start": 497, "end": 536, "loc": { "start": { "line": 11, "column": 0 }, "end": { "line": 11, "column": 39 } }, "declarations": [ { "type": "VariableDeclarator", "start": 503, "end": 535, "loc": { "start": { "line": 11, "column": 6 }, "end": { "line": 11, "column": 38 } }, "id": { "type": "Identifier", "start": 503, "end": 507, "loc": { "start": { "line": 11, "column": 6 }, "end": { "line": 11, "column": 10 }, "identifierName": "copy" }, "name": "copy" }, "init": { "type": "CallExpression", "start": 510, "end": 535, "loc": { "start": { "line": 11, "column": 13 }, "end": { "line": 11, "column": 38 } }, "callee": { "type": "Identifier", "start": 510, "end": 517, "loc": { "start": { "line": 11, "column": 13 }, "end": { "line": 11, "column": 20 }, "identifierName": "require" }, "name": "require" }, "arguments": [ { "type": "StringLiteral", "start": 518, "end": 534, "loc": { "start": { "line": 11, "column": 21 }, "end": { "line": 11, "column": 37 } }, "extra": { "rawValue": "clipboard-copy", "raw": "\"clipboard-copy\"" }, "value": "clipboard-copy" } ] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 538, "end": 567, "loc": { "start": { "line": 12, "column": 0 }, "end": { "line": 12, "column": 29 } }, "declarations": [ { "type": "VariableDeclarator", "start": 544, "end": 566, "loc": { "start": { "line": 12, "column": 6 }, "end": { "line": 12, "column": 28 } }, "id": { "type": "Identifier", "start": 544, "end": 562, "loc": { "start": { "line": 12, "column": 6 }, "end": { "line": 12, "column": 24 }, "identifierName": "wiresBackgroundDpi" }, "name": "wiresBackgroundDpi" }, "init": { "type": "NumericLiteral", "start": 565, "end": 566, "loc": { "start": { "line": 12, "column": 27 }, "end": { "line": 12, "column": 28 } }, "extra": { "rawValue": 4, "raw": "4" }, "value": 4 } } ], "kind": "const" }, { "type": "ExportNamedDeclaration", "start": 571, "end": 5921, "loc": { "start": { "line": 14, "column": 0 }, "end": { "line": 162, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "ClassDeclaration", "start": 578, "end": 5921, "loc": { "start": { "line": 14, "column": 7 }, "end": { "line": 162, "column": 1 } }, "id": { "type": "Identifier", "start": 584, "end": 599, "loc": { "start": { "line": 14, "column": 13 }, "end": { "line": 14, "column": 28 }, "identifierName": "HUDWiresOverlay" }, "name": "HUDWiresOverlay" }, "superClass": { "type": "Identifier", "start": 608, "end": 619, "loc": { "start": { "line": 14, "column": 37 }, "end": { "line": 14, "column": 48 }, "identifierName": "BaseHUDPart" }, "name": "BaseHUDPart" }, "body": { "type": "ClassBody", "start": 620, "end": 5921, "loc": { "start": { "line": 14, "column": 49 }, "end": { "line": 162, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 627, "end": 652, "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 15, "column": 29 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 627, "end": 641, "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 15, "column": 18 }, "identifierName": "createElements" }, "name": "createElements" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 642, "end": 648, "loc": { "start": { "line": 15, "column": 19 }, "end": { "line": 15, "column": 25 }, "identifierName": "parent" }, "name": "parent" } ], "body": { "type": "BlockStatement", "start": 650, "end": 652, "loc": { "start": { "line": 15, "column": 27 }, "end": { "line": 15, "column": 29 } }, "body": [], "directives": [] } }, { "type": "ClassMethod", "start": 660, "end": 1046, "loc": { "start": { "line": 17, "column": 4 }, "end": { "line": 25, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 660, "end": 670, "loc": { "start": { "line": 17, "column": 4 }, "end": { "line": 17, "column": 14 }, "identifierName": "initialize" }, "name": "initialize" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 673, "end": 1046, "loc": { "start": { "line": 17, "column": 17 }, "end": { "line": 25, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 763, "end": 856, "loc": { "start": { "line": 19, "column": 8 }, "end": { "line": 19, "column": 101 } }, "expression": { "type": "CallExpression", "start": 763, "end": 855, "loc": { "start": { "line": 19, "column": 8 }, "end": { "line": 19, "column": 100 } }, "callee": { "type": "MemberExpression", "start": 763, "end": 830, "loc": { "start": { "line": 19, "column": 8 }, "end": { "line": 19, "column": 75 } }, "object": { "type": "CallExpression", "start": 763, "end": 826, "loc": { "start": { "line": 19, "column": 8 }, "end": { "line": 19, "column": 71 } }, "callee": { "type": "MemberExpression", "start": 763, "end": 793, "loc": { "start": { "line": 19, "column": 8 }, "end": { "line": 19, "column": 38 } }, "object": { "type": "MemberExpression", "start": 763, "end": 782, "loc": { "start": { "line": 19, "column": 8 }, "end": { "line": 19, "column": 27 } }, "object": { "type": "MemberExpression", "start": 763, "end": 772, "loc": { "start": { "line": 19, "column": 8 }, "end": { "line": 19, "column": 17 } }, "object": { "type": "ThisExpression", "start": 763, "end": 767, "loc": { "start": { "line": 19, "column": 8 }, "end": { "line": 19, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 768, "end": 772, "loc": { "start": { "line": 19, "column": 13 }, "end": { "line": 19, "column": 17 }, "identifierName": "root" }, "name": "root" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 773, "end": 782, "loc": { "start": { "line": 19, "column": 18 }, "end": { "line": 19, "column": 27 }, "identifierName": "keyMapper" }, "name": "keyMapper" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 783, "end": 793, "loc": { "start": { "line": 19, "column": 28 }, "end": { "line": 19, "column": 38 }, "identifierName": "getBinding" }, "name": "getBinding" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "MemberExpression", "start": 794, "end": 825, "loc": { "start": { "line": 19, "column": 39 }, "end": { "line": 19, "column": 70 } }, "object": { "type": "MemberExpression", "start": 794, "end": 812, "loc": { "start": { "line": 19, "column": 39 }, "end": { "line": 19, "column": 57 } }, "object": { "type": "Identifier", "start": 794, "end": 805, "loc": { "start": { "line": 19, "column": 39 }, "end": { "line": 19, "column": 50 }, "identifierName": "KEYMAPPINGS" }, "name": "KEYMAPPINGS" }, "property": { "type": "Identifier", "start": 806, "end": 812, "loc": { "start": { "line": 19, "column": 51 }, "end": { "line": 19, "column": 57 }, "identifierName": "ingame" }, "name": "ingame" }, "computed": false }, "property": { "type": "Identifier", "start": 813, "end": 825, "loc": { "start": { "line": 19, "column": 58 }, "end": { "line": 19, "column": 70 }, "identifierName": "switchLayers" }, "name": "switchLayers" }, "computed": false } ], "leadingComments": null }, "property": { "type": "Identifier", "start": 827, "end": 830, "loc": { "start": { "line": 19, "column": 72 }, "end": { "line": 19, "column": 75 }, "identifierName": "add" }, "name": "add" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "MemberExpression", "start": 831, "end": 848, "loc": { "start": { "line": 19, "column": 76 }, "end": { "line": 19, "column": 93 } }, "object": { "type": "ThisExpression", "start": 831, "end": 835, "loc": { "start": { "line": 19, "column": 76 }, "end": { "line": 19, "column": 80 } } }, "property": { "type": "Identifier", "start": 836, "end": 848, "loc": { "start": { "line": 19, "column": 81 }, "end": { "line": 19, "column": 93 }, "identifierName": "switchLayers" }, "name": "switchLayers" }, "computed": false }, { "type": "ThisExpression", "start": 850, "end": 854, "loc": { "start": { "line": 19, "column": 95 }, "end": { "line": 19, "column": 99 } } } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Probably not the best location, but the one which makes most sense", "start": 684, "end": 753, "loc": { "start": { "line": 18, "column": 8 }, "end": { "line": 18, "column": 77 } } } ] }, { "type": "ExpressionStatement", "start": 866, "end": 964, "loc": { "start": { "line": 20, "column": 8 }, "end": { "line": 20, "column": 106 } }, "expression": { "type": "CallExpression", "start": 866, "end": 963, "loc": { "start": { "line": 20, "column": 8 }, "end": { "line": 20, "column": 105 } }, "callee": { "type": "MemberExpression", "start": 866, "end": 937, "loc": { "start": { "line": 20, "column": 8 }, "end": { "line": 20, "column": 79 } }, "object": { "type": "CallExpression", "start": 866, "end": 933, "loc": { "start": { "line": 20, "column": 8 }, "end": { "line": 20, "column": 75 } }, "callee": { "type": "MemberExpression", "start": 866, "end": 896, "loc": { "start": { "line": 20, "column": 8 }, "end": { "line": 20, "column": 38 } }, "object": { "type": "MemberExpression", "start": 866, "end": 885, "loc": { "start": { "line": 20, "column": 8 }, "end": { "line": 20, "column": 27 } }, "object": { "type": "MemberExpression", "start": 866, "end": 875, "loc": { "start": { "line": 20, "column": 8 }, "end": { "line": 20, "column": 17 } }, "object": { "type": "ThisExpression", "start": 866, "end": 870, "loc": { "start": { "line": 20, "column": 8 }, "end": { "line": 20, "column": 12 } } }, "property": { "type": "Identifier", "start": 871, "end": 875, "loc": { "start": { "line": 20, "column": 13 }, "end": { "line": 20, "column": 17 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 876, "end": 885, "loc": { "start": { "line": 20, "column": 18 }, "end": { "line": 20, "column": 27 }, "identifierName": "keyMapper" }, "name": "keyMapper" }, "computed": false }, "property": { "type": "Identifier", "start": 886, "end": 896, "loc": { "start": { "line": 20, "column": 28 }, "end": { "line": 20, "column": 38 }, "identifierName": "getBinding" }, "name": "getBinding" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 897, "end": 932, "loc": { "start": { "line": 20, "column": 39 }, "end": { "line": 20, "column": 74 } }, "object": { "type": "MemberExpression", "start": 897, "end": 918, "loc": { "start": { "line": 20, "column": 39 }, "end": { "line": 20, "column": 60 } }, "object": { "type": "Identifier", "start": 897, "end": 908, "loc": { "start": { "line": 20, "column": 39 }, "end": { "line": 20, "column": 50 }, "identifierName": "KEYMAPPINGS" }, "name": "KEYMAPPINGS" }, "property": { "type": "Identifier", "start": 909, "end": 918, "loc": { "start": { "line": 20, "column": 51 }, "end": { "line": 20, "column": 60 }, "identifierName": "placement" }, "name": "placement" }, "computed": false }, "property": { "type": "Identifier", "start": 919, "end": 932, "loc": { "start": { "line": 20, "column": 61 }, "end": { "line": 20, "column": 74 }, "identifierName": "copyWireValue" }, "name": "copyWireValue" }, "computed": false } ] }, "property": { "type": "Identifier", "start": 934, "end": 937, "loc": { "start": { "line": 20, "column": 76 }, "end": { "line": 20, "column": 79 }, "identifierName": "add" }, "name": "add" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 938, "end": 956, "loc": { "start": { "line": 20, "column": 80 }, "end": { "line": 20, "column": 98 } }, "object": { "type": "ThisExpression", "start": 938, "end": 942, "loc": { "start": { "line": 20, "column": 80 }, "end": { "line": 20, "column": 84 } } }, "property": { "type": "Identifier", "start": 943, "end": 956, "loc": { "start": { "line": 20, "column": 85 }, "end": { "line": 20, "column": 98 }, "identifierName": "copyWireValue" }, "name": "copyWireValue" }, "computed": false }, { "type": "ThisExpression", "start": 958, "end": 962, "loc": { "start": { "line": 20, "column": 100 }, "end": { "line": 20, "column": 104 } } } ] } }, { "type": "ExpressionStatement", "start": 976, "end": 1003, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 35 } }, "expression": { "type": "CallExpression", "start": 976, "end": 1002, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 34 } }, "callee": { "type": "MemberExpression", "start": 976, "end": 1000, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 32 } }, "object": { "type": "ThisExpression", "start": 976, "end": 980, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 12 } } }, "property": { "type": "Identifier", "start": 981, "end": 1000, "loc": { "start": { "line": 22, "column": 13 }, "end": { "line": 22, "column": 32 }, "identifierName": "generateTilePattern" }, "name": "generateTilePattern" }, "computed": false }, "arguments": [] } }, { "type": "ExpressionStatement", "start": 1015, "end": 1039, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 32 } }, "expression": { "type": "AssignmentExpression", "start": 1015, "end": 1038, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 31 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1015, "end": 1032, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 25 } }, "object": { "type": "ThisExpression", "start": 1015, "end": 1019, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 12 } } }, "property": { "type": "Identifier", "start": 1020, "end": 1032, "loc": { "start": { "line": 24, "column": 13 }, "end": { "line": 24, "column": 25 }, "identifierName": "currentAlpha" }, "name": "currentAlpha" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 1035, "end": 1038, "loc": { "start": { "line": 24, "column": 28 }, "end": { "line": 24, "column": 31 } }, "extra": { "rawValue": 0, "raw": "0.0" }, "value": 0 } } } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Switches between layers\r\n ", "start": 1054, "end": 1098, "loc": { "start": { "line": 27, "column": 4 }, "end": { "line": 29, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 1104, "end": 2376, "loc": { "start": { "line": 30, "column": 4 }, "end": { "line": 55, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 1104, "end": 1116, "loc": { "start": { "line": 30, "column": 4 }, "end": { "line": 30, "column": 16 }, "identifierName": "switchLayers" }, "name": "switchLayers", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 1119, "end": 2376, "loc": { "start": { "line": 30, "column": 19 }, "end": { "line": 55, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 1130, "end": 2292, "loc": { "start": { "line": 31, "column": 8 }, "end": { "line": 53, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 1134, "end": 1170, "loc": { "start": { "line": 31, "column": 12 }, "end": { "line": 31, "column": 48 } }, "left": { "type": "MemberExpression", "start": 1134, "end": 1156, "loc": { "start": { "line": 31, "column": 12 }, "end": { "line": 31, "column": 34 } }, "object": { "type": "MemberExpression", "start": 1134, "end": 1143, "loc": { "start": { "line": 31, "column": 12 }, "end": { "line": 31, "column": 21 } }, "object": { "type": "ThisExpression", "start": 1134, "end": 1138, "loc": { "start": { "line": 31, "column": 12 }, "end": { "line": 31, "column": 16 } } }, "property": { "type": "Identifier", "start": 1139, "end": 1143, "loc": { "start": { "line": 31, "column": 17 }, "end": { "line": 31, "column": 21 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 1144, "end": 1156, "loc": { "start": { "line": 31, "column": 22 }, "end": { "line": 31, "column": 34 }, "identifierName": "currentLayer" }, "name": "currentLayer" }, "computed": false }, "operator": "===", "right": { "type": "StringLiteral", "start": 1161, "end": 1170, "loc": { "start": { "line": 31, "column": 39 }, "end": { "line": 31, "column": 48 } }, "extra": { "rawValue": "regular", "raw": "\"regular\"" }, "value": "regular" } }, "consequent": { "type": "BlockStatement", "start": 1172, "end": 1464, "loc": { "start": { "line": 31, "column": 50 }, "end": { "line": 38, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 1187, "end": 1453, "loc": { "start": { "line": 32, "column": 12 }, "end": { "line": 37, "column": 13 } }, "test": { "type": "LogicalExpression", "start": 1209, "end": 1370, "loc": { "start": { "line": 33, "column": 16 }, "end": { "line": 34, "column": 69 } }, "left": { "type": "CallExpression", "start": 1209, "end": 1296, "loc": { "start": { "line": 33, "column": 16 }, "end": { "line": 33, "column": 103 } }, "callee": { "type": "MemberExpression", "start": 1209, "end": 1244, "loc": { "start": { "line": 33, "column": 16 }, "end": { "line": 33, "column": 51 } }, "object": { "type": "MemberExpression", "start": 1209, "end": 1227, "loc": { "start": { "line": 33, "column": 16 }, "end": { "line": 33, "column": 34 } }, "object": { "type": "MemberExpression", "start": 1209, "end": 1218, "loc": { "start": { "line": 33, "column": 16 }, "end": { "line": 33, "column": 25 } }, "object": { "type": "ThisExpression", "start": 1209, "end": 1213, "loc": { "start": { "line": 33, "column": 16 }, "end": { "line": 33, "column": 20 } } }, "property": { "type": "Identifier", "start": 1214, "end": 1218, "loc": { "start": { "line": 33, "column": 21 }, "end": { "line": 33, "column": 25 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 1219, "end": 1227, "loc": { "start": { "line": 33, "column": 26 }, "end": { "line": 33, "column": 34 }, "identifierName": "hubGoals" }, "name": "hubGoals" }, "computed": false }, "property": { "type": "Identifier", "start": 1228, "end": 1244, "loc": { "start": { "line": 33, "column": 35 }, "end": { "line": 33, "column": 51 }, "identifierName": "isRewardUnlocked" }, "name": "isRewardUnlocked" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 1245, "end": 1295, "loc": { "start": { "line": 33, "column": 52 }, "end": { "line": 33, "column": 102 } }, "object": { "type": "Identifier", "start": 1245, "end": 1263, "loc": { "start": { "line": 33, "column": 52 }, "end": { "line": 33, "column": 70 }, "identifierName": "enumHubGoalRewards" }, "name": "enumHubGoalRewards" }, "property": { "type": "Identifier", "start": 1264, "end": 1295, "loc": { "start": { "line": 33, "column": 71 }, "end": { "line": 33, "column": 102 }, "identifierName": "reward_wires_painter_and_levers" }, "name": "reward_wires_painter_and_levers" }, "computed": false } ] }, "operator": "||", "right": { "type": "LogicalExpression", "start": 1318, "end": 1369, "loc": { "start": { "line": 34, "column": 17 }, "end": { "line": 34, "column": 68 } }, "left": { "type": "Identifier", "start": 1318, "end": 1326, "loc": { "start": { "line": 34, "column": 17 }, "end": { "line": 34, "column": 25 }, "identifierName": "G_IS_DEV" }, "name": "G_IS_DEV" }, "operator": "&&", "right": { "type": "MemberExpression", "start": 1330, "end": 1369, "loc": { "start": { "line": 34, "column": 29 }, "end": { "line": 34, "column": 68 } }, "object": { "type": "MemberExpression", "start": 1330, "end": 1348, "loc": { "start": { "line": 34, "column": 29 }, "end": { "line": 34, "column": 47 } }, "object": { "type": "Identifier", "start": 1330, "end": 1342, "loc": { "start": { "line": 34, "column": 29 }, "end": { "line": 34, "column": 41 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 1343, "end": 1348, "loc": { "start": { "line": 34, "column": 42 }, "end": { "line": 34, "column": 47 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "property": { "type": "Identifier", "start": 1349, "end": 1369, "loc": { "start": { "line": 34, "column": 48 }, "end": { "line": 34, "column": 68 }, "identifierName": "allBuildingsUnlocked" }, "name": "allBuildingsUnlocked" }, "computed": false }, "extra": { "parenthesized": true, "parenStart": 1317 } } }, "consequent": { "type": "BlockStatement", "start": 1386, "end": 1453, "loc": { "start": { "line": 35, "column": 14 }, "end": { "line": 37, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 1405, "end": 1438, "loc": { "start": { "line": 36, "column": 16 }, "end": { "line": 36, "column": 49 } }, "expression": { "type": "AssignmentExpression", "start": 1405, "end": 1437, "loc": { "start": { "line": 36, "column": 16 }, "end": { "line": 36, "column": 48 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1405, "end": 1427, "loc": { "start": { "line": 36, "column": 16 }, "end": { "line": 36, "column": 38 } }, "object": { "type": "MemberExpression", "start": 1405, "end": 1414, "loc": { "start": { "line": 36, "column": 16 }, "end": { "line": 36, "column": 25 } }, "object": { "type": "ThisExpression", "start": 1405, "end": 1409, "loc": { "start": { "line": 36, "column": 16 }, "end": { "line": 36, "column": 20 } } }, "property": { "type": "Identifier", "start": 1410, "end": 1414, "loc": { "start": { "line": 36, "column": 21 }, "end": { "line": 36, "column": 25 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 1415, "end": 1427, "loc": { "start": { "line": 36, "column": 26 }, "end": { "line": 36, "column": 38 }, "identifierName": "currentLayer" }, "name": "currentLayer" }, "computed": false }, "right": { "type": "StringLiteral", "start": 1430, "end": 1437, "loc": { "start": { "line": 36, "column": 41 }, "end": { "line": 36, "column": 48 } }, "extra": { "rawValue": "wires", "raw": "\"wires\"" }, "value": "wires" } } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 1470, "end": 2292, "loc": { "start": { "line": 38, "column": 15 }, "end": { "line": 53, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 1488, "end": 1625, "loc": { "start": { "line": 39, "column": 12 }, "end": { "line": 40, "column": 98 } }, "left": { "type": "BinaryExpression", "start": 1488, "end": 1522, "loc": { "start": { "line": 39, "column": 12 }, "end": { "line": 39, "column": 46 } }, "left": { "type": "MemberExpression", "start": 1488, "end": 1518, "loc": { "start": { "line": 39, "column": 12 }, "end": { "line": 39, "column": 42 } }, "object": { "type": "MemberExpression", "start": 1488, "end": 1511, "loc": { "start": { "line": 39, "column": 12 }, "end": { "line": 39, "column": 35 } }, "object": { "type": "MemberExpression", "start": 1488, "end": 1504, "loc": { "start": { "line": 39, "column": 12 }, "end": { "line": 39, "column": 28 } }, "object": { "type": "Identifier", "start": 1488, "end": 1497, "loc": { "start": { "line": 39, "column": 12 }, "end": { "line": 39, "column": 21 }, "identifierName": "shapezAPI" }, "name": "shapezAPI" }, "property": { "type": "Identifier", "start": 1498, "end": 1504, "loc": { "start": { "line": 39, "column": 22 }, "end": { "line": 39, "column": 28 }, "identifierName": "ingame" }, "name": "ingame" }, "computed": false }, "property": { "type": "Identifier", "start": 1505, "end": 1511, "loc": { "start": { "line": 39, "column": 29 }, "end": { "line": 39, "column": 35 }, "identifierName": "layers" }, "name": "layers" }, "computed": false }, "property": { "type": "Identifier", "start": 1512, "end": 1518, "loc": { "start": { "line": 39, "column": 36 }, "end": { "line": 39, "column": 42 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": ">", "right": { "type": "NumericLiteral", "start": 1521, "end": 1522, "loc": { "start": { "line": 39, "column": 45 }, "end": { "line": 39, "column": 46 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 1539, "end": 1625, "loc": { "start": { "line": 40, "column": 12 }, "end": { "line": 40, "column": 98 } }, "left": { "type": "MemberExpression", "start": 1539, "end": 1561, "loc": { "start": { "line": 40, "column": 12 }, "end": { "line": 40, "column": 34 } }, "object": { "type": "MemberExpression", "start": 1539, "end": 1548, "loc": { "start": { "line": 40, "column": 12 }, "end": { "line": 40, "column": 21 } }, "object": { "type": "ThisExpression", "start": 1539, "end": 1543, "loc": { "start": { "line": 40, "column": 12 }, "end": { "line": 40, "column": 16 } } }, "property": { "type": "Identifier", "start": 1544, "end": 1548, "loc": { "start": { "line": 40, "column": 17 }, "end": { "line": 40, "column": 21 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 1549, "end": 1561, "loc": { "start": { "line": 40, "column": 22 }, "end": { "line": 40, "column": 34 }, "identifierName": "currentLayer" }, "name": "currentLayer" }, "computed": false }, "operator": "===", "right": { "type": "MemberExpression", "start": 1566, "end": 1625, "loc": { "start": { "line": 40, "column": 39 }, "end": { "line": 40, "column": 98 } }, "object": { "type": "MemberExpression", "start": 1566, "end": 1589, "loc": { "start": { "line": 40, "column": 39 }, "end": { "line": 40, "column": 62 } }, "object": { "type": "MemberExpression", "start": 1566, "end": 1582, "loc": { "start": { "line": 40, "column": 39 }, "end": { "line": 40, "column": 55 } }, "object": { "type": "Identifier", "start": 1566, "end": 1575, "loc": { "start": { "line": 40, "column": 39 }, "end": { "line": 40, "column": 48 }, "identifierName": "shapezAPI" }, "name": "shapezAPI" }, "property": { "type": "Identifier", "start": 1576, "end": 1582, "loc": { "start": { "line": 40, "column": 49 }, "end": { "line": 40, "column": 55 }, "identifierName": "ingame" }, "name": "ingame" }, "computed": false }, "property": { "type": "Identifier", "start": 1583, "end": 1589, "loc": { "start": { "line": 40, "column": 56 }, "end": { "line": 40, "column": 62 }, "identifierName": "layers" }, "name": "layers" }, "computed": false }, "property": { "type": "BinaryExpression", "start": 1590, "end": 1624, "loc": { "start": { "line": 40, "column": 63 }, "end": { "line": 40, "column": 97 } }, "left": { "type": "MemberExpression", "start": 1590, "end": 1620, "loc": { "start": { "line": 40, "column": 63 }, "end": { "line": 40, "column": 93 } }, "object": { "type": "MemberExpression", "start": 1590, "end": 1613, "loc": { "start": { "line": 40, "column": 63 }, "end": { "line": 40, "column": 86 } }, "object": { "type": "MemberExpression", "start": 1590, "end": 1606, "loc": { "start": { "line": 40, "column": 63 }, "end": { "line": 40, "column": 79 } }, "object": { "type": "Identifier", "start": 1590, "end": 1599, "loc": { "start": { "line": 40, "column": 63 }, "end": { "line": 40, "column": 72 }, "identifierName": "shapezAPI" }, "name": "shapezAPI" }, "property": { "type": "Identifier", "start": 1600, "end": 1606, "loc": { "start": { "line": 40, "column": 73 }, "end": { "line": 40, "column": 79 }, "identifierName": "ingame" }, "name": "ingame" }, "computed": false }, "property": { "type": "Identifier", "start": 1607, "end": 1613, "loc": { "start": { "line": 40, "column": 80 }, "end": { "line": 40, "column": 86 }, "identifierName": "layers" }, "name": "layers" }, "computed": false }, "property": { "type": "Identifier", "start": 1614, "end": 1620, "loc": { "start": { "line": 40, "column": 87 }, "end": { "line": 40, "column": 93 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "-", "right": { "type": "NumericLiteral", "start": 1623, "end": 1624, "loc": { "start": { "line": 40, "column": 96 }, "end": { "line": 40, "column": 97 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, "computed": true } } }, "consequent": { "type": "BlockStatement", "start": 1637, "end": 1698, "loc": { "start": { "line": 41, "column": 10 }, "end": { "line": 43, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 1652, "end": 1687, "loc": { "start": { "line": 42, "column": 12 }, "end": { "line": 42, "column": 47 } }, "expression": { "type": "AssignmentExpression", "start": 1652, "end": 1686, "loc": { "start": { "line": 42, "column": 12 }, "end": { "line": 42, "column": 46 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1652, "end": 1674, "loc": { "start": { "line": 42, "column": 12 }, "end": { "line": 42, "column": 34 } }, "object": { "type": "MemberExpression", "start": 1652, "end": 1661, "loc": { "start": { "line": 42, "column": 12 }, "end": { "line": 42, "column": 21 } }, "object": { "type": "ThisExpression", "start": 1652, "end": 1656, "loc": { "start": { "line": 42, "column": 12 }, "end": { "line": 42, "column": 16 } } }, "property": { "type": "Identifier", "start": 1657, "end": 1661, "loc": { "start": { "line": 42, "column": 17 }, "end": { "line": 42, "column": 21 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 1662, "end": 1674, "loc": { "start": { "line": 42, "column": 22 }, "end": { "line": 42, "column": 34 }, "identifierName": "currentLayer" }, "name": "currentLayer" }, "computed": false }, "right": { "type": "StringLiteral", "start": 1677, "end": 1686, "loc": { "start": { "line": 42, "column": 37 }, "end": { "line": 42, "column": 46 } }, "extra": { "rawValue": "regular", "raw": "\"regular\"" }, "value": "regular" } } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 1704, "end": 2292, "loc": { "start": { "line": 43, "column": 15 }, "end": { "line": 53, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 1708, "end": 1742, "loc": { "start": { "line": 43, "column": 19 }, "end": { "line": 43, "column": 53 } }, "left": { "type": "MemberExpression", "start": 1708, "end": 1730, "loc": { "start": { "line": 43, "column": 19 }, "end": { "line": 43, "column": 41 } }, "object": { "type": "MemberExpression", "start": 1708, "end": 1717, "loc": { "start": { "line": 43, "column": 19 }, "end": { "line": 43, "column": 28 } }, "object": { "type": "ThisExpression", "start": 1708, "end": 1712, "loc": { "start": { "line": 43, "column": 19 }, "end": { "line": 43, "column": 23 } } }, "property": { "type": "Identifier", "start": 1713, "end": 1717, "loc": { "start": { "line": 43, "column": 24 }, "end": { "line": 43, "column": 28 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 1718, "end": 1730, "loc": { "start": { "line": 43, "column": 29 }, "end": { "line": 43, "column": 41 }, "identifierName": "currentLayer" }, "name": "currentLayer" }, "computed": false }, "operator": "===", "right": { "type": "StringLiteral", "start": 1735, "end": 1742, "loc": { "start": { "line": 43, "column": 46 }, "end": { "line": 43, "column": 53 } }, "extra": { "rawValue": "wires", "raw": "\"wires\"" }, "value": "wires" } }, "consequent": { "type": "BlockStatement", "start": 1744, "end": 1971, "loc": { "start": { "line": 43, "column": 55 }, "end": { "line": 49, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 1759, "end": 1960, "loc": { "start": { "line": 44, "column": 12 }, "end": { "line": 48, "column": 13 } }, "test": { "type": "BinaryExpression", "start": 1763, "end": 1797, "loc": { "start": { "line": 44, "column": 16 }, "end": { "line": 44, "column": 50 } }, "left": { "type": "MemberExpression", "start": 1763, "end": 1793, "loc": { "start": { "line": 44, "column": 16 }, "end": { "line": 44, "column": 46 } }, "object": { "type": "MemberExpression", "start": 1763, "end": 1786, "loc": { "start": { "line": 44, "column": 16 }, "end": { "line": 44, "column": 39 } }, "object": { "type": "MemberExpression", "start": 1763, "end": 1779, "loc": { "start": { "line": 44, "column": 16 }, "end": { "line": 44, "column": 32 } }, "object": { "type": "Identifier", "start": 1763, "end": 1772, "loc": { "start": { "line": 44, "column": 16 }, "end": { "line": 44, "column": 25 }, "identifierName": "shapezAPI" }, "name": "shapezAPI" }, "property": { "type": "Identifier", "start": 1773, "end": 1779, "loc": { "start": { "line": 44, "column": 26 }, "end": { "line": 44, "column": 32 }, "identifierName": "ingame" }, "name": "ingame" }, "computed": false }, "property": { "type": "Identifier", "start": 1780, "end": 1786, "loc": { "start": { "line": 44, "column": 33 }, "end": { "line": 44, "column": 39 }, "identifierName": "layers" }, "name": "layers" }, "computed": false }, "property": { "type": "Identifier", "start": 1787, "end": 1793, "loc": { "start": { "line": 44, "column": 40 }, "end": { "line": 44, "column": 46 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": ">", "right": { "type": "NumericLiteral", "start": 1796, "end": 1797, "loc": { "start": { "line": 44, "column": 49 }, "end": { "line": 44, "column": 50 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "consequent": { "type": "BlockStatement", "start": 1799, "end": 1885, "loc": { "start": { "line": 44, "column": 52 }, "end": { "line": 46, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 1818, "end": 1870, "loc": { "start": { "line": 45, "column": 16 }, "end": { "line": 45, "column": 68 } }, "expression": { "type": "AssignmentExpression", "start": 1818, "end": 1869, "loc": { "start": { "line": 45, "column": 16 }, "end": { "line": 45, "column": 67 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1818, "end": 1840, "loc": { "start": { "line": 45, "column": 16 }, "end": { "line": 45, "column": 38 } }, "object": { "type": "MemberExpression", "start": 1818, "end": 1827, "loc": { "start": { "line": 45, "column": 16 }, "end": { "line": 45, "column": 25 } }, "object": { "type": "ThisExpression", "start": 1818, "end": 1822, "loc": { "start": { "line": 45, "column": 16 }, "end": { "line": 45, "column": 20 } } }, "property": { "type": "Identifier", "start": 1823, "end": 1827, "loc": { "start": { "line": 45, "column": 21 }, "end": { "line": 45, "column": 25 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 1828, "end": 1840, "loc": { "start": { "line": 45, "column": 26 }, "end": { "line": 45, "column": 38 }, "identifierName": "currentLayer" }, "name": "currentLayer" }, "computed": false }, "right": { "type": "MemberExpression", "start": 1843, "end": 1869, "loc": { "start": { "line": 45, "column": 41 }, "end": { "line": 45, "column": 67 } }, "object": { "type": "MemberExpression", "start": 1843, "end": 1866, "loc": { "start": { "line": 45, "column": 41 }, "end": { "line": 45, "column": 64 } }, "object": { "type": "MemberExpression", "start": 1843, "end": 1859, "loc": { "start": { "line": 45, "column": 41 }, "end": { "line": 45, "column": 57 } }, "object": { "type": "Identifier", "start": 1843, "end": 1852, "loc": { "start": { "line": 45, "column": 41 }, "end": { "line": 45, "column": 50 }, "identifierName": "shapezAPI" }, "name": "shapezAPI" }, "property": { "type": "Identifier", "start": 1853, "end": 1859, "loc": { "start": { "line": 45, "column": 51 }, "end": { "line": 45, "column": 57 }, "identifierName": "ingame" }, "name": "ingame" }, "computed": false }, "property": { "type": "Identifier", "start": 1860, "end": 1866, "loc": { "start": { "line": 45, "column": 58 }, "end": { "line": 45, "column": 64 }, "identifierName": "layers" }, "name": "layers" }, "computed": false }, "property": { "type": "NumericLiteral", "start": 1867, "end": 1868, "loc": { "start": { "line": 45, "column": 65 }, "end": { "line": 45, "column": 66 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 1891, "end": 1960, "loc": { "start": { "line": 46, "column": 19 }, "end": { "line": 48, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 1910, "end": 1945, "loc": { "start": { "line": 47, "column": 16 }, "end": { "line": 47, "column": 51 } }, "expression": { "type": "AssignmentExpression", "start": 1910, "end": 1944, "loc": { "start": { "line": 47, "column": 16 }, "end": { "line": 47, "column": 50 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1910, "end": 1932, "loc": { "start": { "line": 47, "column": 16 }, "end": { "line": 47, "column": 38 } }, "object": { "type": "MemberExpression", "start": 1910, "end": 1919, "loc": { "start": { "line": 47, "column": 16 }, "end": { "line": 47, "column": 25 } }, "object": { "type": "ThisExpression", "start": 1910, "end": 1914, "loc": { "start": { "line": 47, "column": 16 }, "end": { "line": 47, "column": 20 } } }, "property": { "type": "Identifier", "start": 1915, "end": 1919, "loc": { "start": { "line": 47, "column": 21 }, "end": { "line": 47, "column": 25 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 1920, "end": 1932, "loc": { "start": { "line": 47, "column": 26 }, "end": { "line": 47, "column": 38 }, "identifierName": "currentLayer" }, "name": "currentLayer" }, "computed": false }, "right": { "type": "StringLiteral", "start": 1935, "end": 1944, "loc": { "start": { "line": 47, "column": 41 }, "end": { "line": 47, "column": 50 } }, "extra": { "rawValue": "regular", "raw": "\"regular\"" }, "value": "regular" } } } ], "directives": [] } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 1977, "end": 2292, "loc": { "start": { "line": 49, "column": 15 }, "end": { "line": 53, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 1981, "end": 2043, "loc": { "start": { "line": 49, "column": 19 }, "end": { "line": 49, "column": 81 } }, "operator": "!", "prefix": true, "argument": { "type": "BinaryExpression", "start": 1983, "end": 2042, "loc": { "start": { "line": 49, "column": 21 }, "end": { "line": 49, "column": 80 } }, "left": { "type": "CallExpression", "start": 1983, "end": 2038, "loc": { "start": { "line": 49, "column": 21 }, "end": { "line": 49, "column": 76 } }, "callee": { "type": "MemberExpression", "start": 1983, "end": 2014, "loc": { "start": { "line": 49, "column": 21 }, "end": { "line": 49, "column": 52 } }, "object": { "type": "MemberExpression", "start": 1983, "end": 2006, "loc": { "start": { "line": 49, "column": 21 }, "end": { "line": 49, "column": 44 } }, "object": { "type": "MemberExpression", "start": 1983, "end": 1999, "loc": { "start": { "line": 49, "column": 21 }, "end": { "line": 49, "column": 37 } }, "object": { "type": "Identifier", "start": 1983, "end": 1992, "loc": { "start": { "line": 49, "column": 21 }, "end": { "line": 49, "column": 30 }, "identifierName": "shapezAPI" }, "name": "shapezAPI" }, "property": { "type": "Identifier", "start": 1993, "end": 1999, "loc": { "start": { "line": 49, "column": 31 }, "end": { "line": 49, "column": 37 }, "identifierName": "ingame" }, "name": "ingame" }, "computed": false }, "property": { "type": "Identifier", "start": 2000, "end": 2006, "loc": { "start": { "line": 49, "column": 38 }, "end": { "line": 49, "column": 44 }, "identifierName": "layers" }, "name": "layers" }, "computed": false }, "property": { "type": "Identifier", "start": 2007, "end": 2014, "loc": { "start": { "line": 49, "column": 45 }, "end": { "line": 49, "column": 52 }, "identifierName": "indexOf" }, "name": "indexOf" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 2015, "end": 2037, "loc": { "start": { "line": 49, "column": 53 }, "end": { "line": 49, "column": 75 } }, "object": { "type": "MemberExpression", "start": 2015, "end": 2024, "loc": { "start": { "line": 49, "column": 53 }, "end": { "line": 49, "column": 62 } }, "object": { "type": "ThisExpression", "start": 2015, "end": 2019, "loc": { "start": { "line": 49, "column": 53 }, "end": { "line": 49, "column": 57 } } }, "property": { "type": "Identifier", "start": 2020, "end": 2024, "loc": { "start": { "line": 49, "column": 58 }, "end": { "line": 49, "column": 62 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 2025, "end": 2037, "loc": { "start": { "line": 49, "column": 63 }, "end": { "line": 49, "column": 75 }, "identifierName": "currentLayer" }, "name": "currentLayer" }, "computed": false } ] }, "operator": "<", "right": { "type": "NumericLiteral", "start": 2041, "end": 2042, "loc": { "start": { "line": 49, "column": 79 }, "end": { "line": 49, "column": 80 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "extra": { "parenthesized": true, "parenStart": 1982 } }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 2045, "end": 2292, "loc": { "start": { "line": 49, "column": 83 }, "end": { "line": 53, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 2060, "end": 2176, "loc": { "start": { "line": 50, "column": 12 }, "end": { "line": 51, "column": 101 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2066, "end": 2175, "loc": { "start": { "line": 50, "column": 18 }, "end": { "line": 51, "column": 100 } }, "id": { "type": "Identifier", "start": 2066, "end": 2071, "loc": { "start": { "line": 50, "column": 18 }, "end": { "line": 50, "column": 23 }, "identifierName": "layer" }, "name": "layer" }, "init": { "type": "MemberExpression", "start": 2091, "end": 2175, "loc": { "start": { "line": 51, "column": 16 }, "end": { "line": 51, "column": 100 } }, "object": { "type": "MemberExpression", "start": 2091, "end": 2114, "loc": { "start": { "line": 51, "column": 16 }, "end": { "line": 51, "column": 39 } }, "object": { "type": "MemberExpression", "start": 2091, "end": 2107, "loc": { "start": { "line": 51, "column": 16 }, "end": { "line": 51, "column": 32 } }, "object": { "type": "Identifier", "start": 2091, "end": 2100, "loc": { "start": { "line": 51, "column": 16 }, "end": { "line": 51, "column": 25 }, "identifierName": "shapezAPI" }, "name": "shapezAPI" }, "property": { "type": "Identifier", "start": 2101, "end": 2107, "loc": { "start": { "line": 51, "column": 26 }, "end": { "line": 51, "column": 32 }, "identifierName": "ingame" }, "name": "ingame" }, "computed": false }, "property": { "type": "Identifier", "start": 2108, "end": 2114, "loc": { "start": { "line": 51, "column": 33 }, "end": { "line": 51, "column": 39 }, "identifierName": "layers" }, "name": "layers" }, "computed": false }, "property": { "type": "BinaryExpression", "start": 2115, "end": 2174, "loc": { "start": { "line": 51, "column": 40 }, "end": { "line": 51, "column": 99 } }, "left": { "type": "CallExpression", "start": 2115, "end": 2170, "loc": { "start": { "line": 51, "column": 40 }, "end": { "line": 51, "column": 95 } }, "callee": { "type": "MemberExpression", "start": 2115, "end": 2146, "loc": { "start": { "line": 51, "column": 40 }, "end": { "line": 51, "column": 71 } }, "object": { "type": "MemberExpression", "start": 2115, "end": 2138, "loc": { "start": { "line": 51, "column": 40 }, "end": { "line": 51, "column": 63 } }, "object": { "type": "MemberExpression", "start": 2115, "end": 2131, "loc": { "start": { "line": 51, "column": 40 }, "end": { "line": 51, "column": 56 } }, "object": { "type": "Identifier", "start": 2115, "end": 2124, "loc": { "start": { "line": 51, "column": 40 }, "end": { "line": 51, "column": 49 }, "identifierName": "shapezAPI" }, "name": "shapezAPI" }, "property": { "type": "Identifier", "start": 2125, "end": 2131, "loc": { "start": { "line": 51, "column": 50 }, "end": { "line": 51, "column": 56 }, "identifierName": "ingame" }, "name": "ingame" }, "computed": false }, "property": { "type": "Identifier", "start": 2132, "end": 2138, "loc": { "start": { "line": 51, "column": 57 }, "end": { "line": 51, "column": 63 }, "identifierName": "layers" }, "name": "layers" }, "computed": false }, "property": { "type": "Identifier", "start": 2139, "end": 2146, "loc": { "start": { "line": 51, "column": 64 }, "end": { "line": 51, "column": 71 }, "identifierName": "indexOf" }, "name": "indexOf" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 2147, "end": 2169, "loc": { "start": { "line": 51, "column": 72 }, "end": { "line": 51, "column": 94 } }, "object": { "type": "MemberExpression", "start": 2147, "end": 2156, "loc": { "start": { "line": 51, "column": 72 }, "end": { "line": 51, "column": 81 } }, "object": { "type": "ThisExpression", "start": 2147, "end": 2151, "loc": { "start": { "line": 51, "column": 72 }, "end": { "line": 51, "column": 76 } } }, "property": { "type": "Identifier", "start": 2152, "end": 2156, "loc": { "start": { "line": 51, "column": 77 }, "end": { "line": 51, "column": 81 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 2157, "end": 2169, "loc": { "start": { "line": 51, "column": 82 }, "end": { "line": 51, "column": 94 }, "identifierName": "currentLayer" }, "name": "currentLayer" }, "computed": false } ] }, "operator": "+", "right": { "type": "NumericLiteral", "start": 2173, "end": 2174, "loc": { "start": { "line": 51, "column": 98 }, "end": { "line": 51, "column": 99 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, "computed": true } } ], "kind": "const" }, { "type": "IfStatement", "start": 2190, "end": 2281, "loc": { "start": { "line": 52, "column": 12 }, "end": { "line": 52, "column": 103 } }, "test": { "type": "CallExpression", "start": 2194, "end": 2248, "loc": { "start": { "line": 52, "column": 16 }, "end": { "line": 52, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 2194, "end": 2229, "loc": { "start": { "line": 52, "column": 16 }, "end": { "line": 52, "column": 51 } }, "object": { "type": "MemberExpression", "start": 2194, "end": 2212, "loc": { "start": { "line": 52, "column": 16 }, "end": { "line": 52, "column": 34 } }, "object": { "type": "MemberExpression", "start": 2194, "end": 2203, "loc": { "start": { "line": 52, "column": 16 }, "end": { "line": 52, "column": 25 } }, "object": { "type": "ThisExpression", "start": 2194, "end": 2198, "loc": { "start": { "line": 52, "column": 16 }, "end": { "line": 52, "column": 20 } } }, "property": { "type": "Identifier", "start": 2199, "end": 2203, "loc": { "start": { "line": 52, "column": 21 }, "end": { "line": 52, "column": 25 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 2204, "end": 2212, "loc": { "start": { "line": 52, "column": 26 }, "end": { "line": 52, "column": 34 }, "identifierName": "hubGoals" }, "name": "hubGoals" }, "computed": false }, "property": { "type": "Identifier", "start": 2213, "end": 2229, "loc": { "start": { "line": 52, "column": 35 }, "end": { "line": 52, "column": 51 }, "identifierName": "isRewardUnlocked" }, "name": "isRewardUnlocked" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 2230, "end": 2247, "loc": { "start": { "line": 52, "column": 52 }, "end": { "line": 52, "column": 69 } }, "left": { "type": "StringLiteral", "start": 2230, "end": 2239, "loc": { "start": { "line": 52, "column": 52 }, "end": { "line": 52, "column": 61 } }, "extra": { "rawValue": "layers_", "raw": "\"layers_\"" }, "value": "layers_" }, "operator": "+", "right": { "type": "Identifier", "start": 2242, "end": 2247, "loc": { "start": { "line": 52, "column": 64 }, "end": { "line": 52, "column": 69 }, "identifierName": "layer" }, "name": "layer" } } ] }, "consequent": { "type": "ExpressionStatement", "start": 2250, "end": 2281, "loc": { "start": { "line": 52, "column": 72 }, "end": { "line": 52, "column": 103 } }, "expression": { "type": "AssignmentExpression", "start": 2250, "end": 2280, "loc": { "start": { "line": 52, "column": 72 }, "end": { "line": 52, "column": 102 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2250, "end": 2272, "loc": { "start": { "line": 52, "column": 72 }, "end": { "line": 52, "column": 94 } }, "object": { "type": "MemberExpression", "start": 2250, "end": 2259, "loc": { "start": { "line": 52, "column": 72 }, "end": { "line": 52, "column": 81 } }, "object": { "type": "ThisExpression", "start": 2250, "end": 2254, "loc": { "start": { "line": 52, "column": 72 }, "end": { "line": 52, "column": 76 } } }, "property": { "type": "Identifier", "start": 2255, "end": 2259, "loc": { "start": { "line": 52, "column": 77 }, "end": { "line": 52, "column": 81 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 2260, "end": 2272, "loc": { "start": { "line": 52, "column": 82 }, "end": { "line": 52, "column": 94 }, "identifierName": "currentLayer" }, "name": "currentLayer" }, "computed": false }, "right": { "type": "Identifier", "start": 2275, "end": 2280, "loc": { "start": { "line": 52, "column": 97 }, "end": { "line": 52, "column": 102 }, "identifierName": "layer" }, "name": "layer" } } }, "alternate": null } ], "directives": [] }, "alternate": null } } } }, { "type": "ExpressionStatement", "start": 2302, "end": 2369, "loc": { "start": { "line": 54, "column": 8 }, "end": { "line": 54, "column": 75 } }, "expression": { "type": "CallExpression", "start": 2302, "end": 2368, "loc": { "start": { "line": 54, "column": 8 }, "end": { "line": 54, "column": 74 } }, "callee": { "type": "MemberExpression", "start": 2302, "end": 2344, "loc": { "start": { "line": 54, "column": 8 }, "end": { "line": 54, "column": 50 } }, "object": { "type": "MemberExpression", "start": 2302, "end": 2335, "loc": { "start": { "line": 54, "column": 8 }, "end": { "line": 54, "column": 41 } }, "object": { "type": "MemberExpression", "start": 2302, "end": 2319, "loc": { "start": { "line": 54, "column": 8 }, "end": { "line": 54, "column": 25 } }, "object": { "type": "MemberExpression", "start": 2302, "end": 2311, "loc": { "start": { "line": 54, "column": 8 }, "end": { "line": 54, "column": 17 } }, "object": { "type": "ThisExpression", "start": 2302, "end": 2306, "loc": { "start": { "line": 54, "column": 8 }, "end": { "line": 54, "column": 12 } } }, "property": { "type": "Identifier", "start": 2307, "end": 2311, "loc": { "start": { "line": 54, "column": 13 }, "end": { "line": 54, "column": 17 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 2312, "end": 2319, "loc": { "start": { "line": 54, "column": 18 }, "end": { "line": 54, "column": 25 }, "identifierName": "signals" }, "name": "signals" }, "computed": false }, "property": { "type": "Identifier", "start": 2320, "end": 2335, "loc": { "start": { "line": 54, "column": 26 }, "end": { "line": 54, "column": 41 }, "identifierName": "editModeChanged" }, "name": "editModeChanged" }, "computed": false }, "property": { "type": "Identifier", "start": 2336, "end": 2344, "loc": { "start": { "line": 54, "column": 42 }, "end": { "line": 54, "column": 50 }, "identifierName": "dispatch" }, "name": "dispatch" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 2345, "end": 2367, "loc": { "start": { "line": 54, "column": 51 }, "end": { "line": 54, "column": 73 } }, "object": { "type": "MemberExpression", "start": 2345, "end": 2354, "loc": { "start": { "line": 54, "column": 51 }, "end": { "line": 54, "column": 60 } }, "object": { "type": "ThisExpression", "start": 2345, "end": 2349, "loc": { "start": { "line": 54, "column": 51 }, "end": { "line": 54, "column": 55 } } }, "property": { "type": "Identifier", "start": 2350, "end": 2354, "loc": { "start": { "line": 54, "column": 56 }, "end": { "line": 54, "column": 60 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 2355, "end": 2367, "loc": { "start": { "line": 54, "column": 61 }, "end": { "line": 54, "column": 73 }, "identifierName": "currentLayer" }, "name": "currentLayer" }, "computed": false } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Switches between layers\r\n ", "start": 1054, "end": 1098, "loc": { "start": { "line": 27, "column": 4 }, "end": { "line": 29, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Generates the background pattern for the wires overlay\r\n ", "start": 2384, "end": 2459, "loc": { "start": { "line": 57, "column": 4 }, "end": { "line": 59, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 2465, "end": 2966, "loc": { "start": { "line": 60, "column": 4 }, "end": { "line": 71, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 2465, "end": 2484, "loc": { "start": { "line": 60, "column": 4 }, "end": { "line": 60, "column": 23 }, "identifierName": "generateTilePattern" }, "name": "generateTilePattern", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 2487, "end": 2966, "loc": { "start": { "line": 60, "column": 26 }, "end": { "line": 71, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 2498, "end": 2569, "loc": { "start": { "line": 61, "column": 8 }, "end": { "line": 61, "column": 79 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2504, "end": 2568, "loc": { "start": { "line": 61, "column": 14 }, "end": { "line": 61, "column": 78 } }, "id": { "type": "Identifier", "start": 2504, "end": 2515, "loc": { "start": { "line": 61, "column": 14 }, "end": { "line": 61, "column": 25 }, "identifierName": "overlayTile" }, "name": "overlayTile" }, "init": { "type": "CallExpression", "start": 2518, "end": 2568, "loc": { "start": { "line": 61, "column": 28 }, "end": { "line": 61, "column": 78 } }, "callee": { "type": "MemberExpression", "start": 2518, "end": 2534, "loc": { "start": { "line": 61, "column": 28 }, "end": { "line": 61, "column": 44 } }, "object": { "type": "Identifier", "start": 2518, "end": 2524, "loc": { "start": { "line": 61, "column": 28 }, "end": { "line": 61, "column": 34 }, "identifierName": "Loader" }, "name": "Loader" }, "property": { "type": "Identifier", "start": 2525, "end": 2534, "loc": { "start": { "line": 61, "column": 35 }, "end": { "line": 61, "column": 44 }, "identifierName": "getSprite" }, "name": "getSprite" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 2535, "end": 2567, "loc": { "start": { "line": 61, "column": 45 }, "end": { "line": 61, "column": 77 } }, "extra": { "rawValue": "sprites/wires/overlay_tile.png", "raw": "\"sprites/wires/overlay_tile.png\"" }, "value": "sprites/wires/overlay_tile.png" } ] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 2579, "end": 2635, "loc": { "start": { "line": 62, "column": 8 }, "end": { "line": 62, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2585, "end": 2634, "loc": { "start": { "line": 62, "column": 14 }, "end": { "line": 62, "column": 63 } }, "id": { "type": "Identifier", "start": 2585, "end": 2589, "loc": { "start": { "line": 62, "column": 14 }, "end": { "line": 62, "column": 18 }, "identifierName": "dims" }, "name": "dims" }, "init": { "type": "BinaryExpression", "start": 2592, "end": 2634, "loc": { "start": { "line": 62, "column": 21 }, "end": { "line": 62, "column": 63 } }, "left": { "type": "MemberExpression", "start": 2592, "end": 2613, "loc": { "start": { "line": 62, "column": 21 }, "end": { "line": 62, "column": 42 } }, "object": { "type": "Identifier", "start": 2592, "end": 2604, "loc": { "start": { "line": 62, "column": 21 }, "end": { "line": 62, "column": 33 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 2605, "end": 2613, "loc": { "start": { "line": 62, "column": 34 }, "end": { "line": 62, "column": 42 }, "identifierName": "tileSize" }, "name": "tileSize" }, "computed": false }, "operator": "*", "right": { "type": "Identifier", "start": 2616, "end": 2634, "loc": { "start": { "line": 62, "column": 45 }, "end": { "line": 62, "column": 63 }, "identifierName": "wiresBackgroundDpi" }, "name": "wiresBackgroundDpi" } } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 2645, "end": 2817, "loc": { "start": { "line": 63, "column": 8 }, "end": { "line": 67, "column": 11 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2651, "end": 2816, "loc": { "start": { "line": 63, "column": 14 }, "end": { "line": 67, "column": 10 } }, "id": { "type": "ArrayPattern", "start": 2651, "end": 2668, "loc": { "start": { "line": 63, "column": 14 }, "end": { "line": 63, "column": 31 } }, "elements": [ { "type": "Identifier", "start": 2652, "end": 2658, "loc": { "start": { "line": 63, "column": 15 }, "end": { "line": 63, "column": 21 }, "identifierName": "canvas" }, "name": "canvas" }, { "type": "Identifier", "start": 2660, "end": 2667, "loc": { "start": { "line": 63, "column": 23 }, "end": { "line": 63, "column": 30 }, "identifierName": "context" }, "name": "context" } ] }, "init": { "type": "CallExpression", "start": 2671, "end": 2816, "loc": { "start": { "line": 63, "column": 34 }, "end": { "line": 67, "column": 10 } }, "callee": { "type": "Identifier", "start": 2671, "end": 2690, "loc": { "start": { "line": 63, "column": 34 }, "end": { "line": 63, "column": 53 }, "identifierName": "makeOffscreenBuffer" }, "name": "makeOffscreenBuffer" }, "arguments": [ { "type": "Identifier", "start": 2691, "end": 2695, "loc": { "start": { "line": 63, "column": 54 }, "end": { "line": 63, "column": 58 }, "identifierName": "dims" }, "name": "dims" }, { "type": "Identifier", "start": 2697, "end": 2701, "loc": { "start": { "line": 63, "column": 60 }, "end": { "line": 63, "column": 64 }, "identifierName": "dims" }, "name": "dims" }, { "type": "ObjectExpression", "start": 2703, "end": 2815, "loc": { "start": { "line": 63, "column": 66 }, "end": { "line": 67, "column": 9 } }, "properties": [ { "type": "ObjectProperty", "start": 2718, "end": 2731, "loc": { "start": { "line": 64, "column": 12 }, "end": { "line": 64, "column": 25 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 2718, "end": 2724, "loc": { "start": { "line": 64, "column": 12 }, "end": { "line": 64, "column": 18 }, "identifierName": "smooth" }, "name": "smooth" }, "value": { "type": "BooleanLiteral", "start": 2726, "end": 2731, "loc": { "start": { "line": 64, "column": 20 }, "end": { "line": 64, "column": 25 } }, "value": false } }, { "type": "ObjectProperty", "start": 2746, "end": 2761, "loc": { "start": { "line": 65, "column": 12 }, "end": { "line": 65, "column": 27 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 2746, "end": 2754, "loc": { "start": { "line": 65, "column": 12 }, "end": { "line": 65, "column": 20 }, "identifierName": "reusable" }, "name": "reusable" }, "value": { "type": "BooleanLiteral", "start": 2756, "end": 2761, "loc": { "start": { "line": 65, "column": 22 }, "end": { "line": 65, "column": 27 } }, "value": false } }, { "type": "ObjectProperty", "start": 2776, "end": 2803, "loc": { "start": { "line": 66, "column": 12 }, "end": { "line": 66, "column": 39 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 2776, "end": 2781, "loc": { "start": { "line": 66, "column": 12 }, "end": { "line": 66, "column": 17 }, "identifierName": "label" }, "name": "label" }, "value": { "type": "StringLiteral", "start": 2783, "end": 2803, "loc": { "start": { "line": 66, "column": 19 }, "end": { "line": 66, "column": 39 } }, "extra": { "rawValue": "wires-tile-pattern", "raw": "\"wires-tile-pattern\"" }, "value": "wires-tile-pattern" } } ] } ] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 2827, "end": 2863, "loc": { "start": { "line": 68, "column": 8 }, "end": { "line": 68, "column": 44 } }, "expression": { "type": "CallExpression", "start": 2827, "end": 2862, "loc": { "start": { "line": 68, "column": 8 }, "end": { "line": 68, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 2827, "end": 2844, "loc": { "start": { "line": 68, "column": 8 }, "end": { "line": 68, "column": 25 } }, "object": { "type": "Identifier", "start": 2827, "end": 2834, "loc": { "start": { "line": 68, "column": 8 }, "end": { "line": 68, "column": 15 }, "identifierName": "context" }, "name": "context" }, "property": { "type": "Identifier", "start": 2835, "end": 2844, "loc": { "start": { "line": 68, "column": 16 }, "end": { "line": 68, "column": 25 }, "identifierName": "clearRect" }, "name": "clearRect" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 2845, "end": 2846, "loc": { "start": { "line": 68, "column": 26 }, "end": { "line": 68, "column": 27 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "NumericLiteral", "start": 2848, "end": 2849, "loc": { "start": { "line": 68, "column": 29 }, "end": { "line": 68, "column": 30 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "Identifier", "start": 2851, "end": 2855, "loc": { "start": { "line": 68, "column": 32 }, "end": { "line": 68, "column": 36 }, "identifierName": "dims" }, "name": "dims" }, { "type": "Identifier", "start": 2857, "end": 2861, "loc": { "start": { "line": 68, "column": 38 }, "end": { "line": 68, "column": 42 }, "identifierName": "dims" }, "name": "dims" } ] } }, { "type": "ExpressionStatement", "start": 2873, "end": 2917, "loc": { "start": { "line": 69, "column": 8 }, "end": { "line": 69, "column": 52 } }, "expression": { "type": "CallExpression", "start": 2873, "end": 2916, "loc": { "start": { "line": 69, "column": 8 }, "end": { "line": 69, "column": 51 } }, "callee": { "type": "MemberExpression", "start": 2873, "end": 2889, "loc": { "start": { "line": 69, "column": 8 }, "end": { "line": 69, "column": 24 } }, "object": { "type": "Identifier", "start": 2873, "end": 2884, "loc": { "start": { "line": 69, "column": 8 }, "end": { "line": 69, "column": 19 }, "identifierName": "overlayTile" }, "name": "overlayTile" }, "property": { "type": "Identifier", "start": 2885, "end": 2889, "loc": { "start": { "line": 69, "column": 20 }, "end": { "line": 69, "column": 24 }, "identifierName": "draw" }, "name": "draw" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 2890, "end": 2897, "loc": { "start": { "line": 69, "column": 25 }, "end": { "line": 69, "column": 32 }, "identifierName": "context" }, "name": "context" }, { "type": "NumericLiteral", "start": 2899, "end": 2900, "loc": { "start": { "line": 69, "column": 34 }, "end": { "line": 69, "column": 35 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "NumericLiteral", "start": 2902, "end": 2903, "loc": { "start": { "line": 69, "column": 37 }, "end": { "line": 69, "column": 38 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "Identifier", "start": 2905, "end": 2909, "loc": { "start": { "line": 69, "column": 40 }, "end": { "line": 69, "column": 44 }, "identifierName": "dims" }, "name": "dims" }, { "type": "Identifier", "start": 2911, "end": 2915, "loc": { "start": { "line": 69, "column": 46 }, "end": { "line": 69, "column": 50 }, "identifierName": "dims" }, "name": "dims" } ] } }, { "type": "ExpressionStatement", "start": 2927, "end": 2959, "loc": { "start": { "line": 70, "column": 8 }, "end": { "line": 70, "column": 40 } }, "expression": { "type": "AssignmentExpression", "start": 2927, "end": 2958, "loc": { "start": { "line": 70, "column": 8 }, "end": { "line": 70, "column": 39 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2927, "end": 2949, "loc": { "start": { "line": 70, "column": 8 }, "end": { "line": 70, "column": 30 } }, "object": { "type": "ThisExpression", "start": 2927, "end": 2931, "loc": { "start": { "line": 70, "column": 8 }, "end": { "line": 70, "column": 12 } } }, "property": { "type": "Identifier", "start": 2932, "end": 2949, "loc": { "start": { "line": 70, "column": 13 }, "end": { "line": 70, "column": 30 }, "identifierName": "tilePatternCanvas" }, "name": "tilePatternCanvas" }, "computed": false }, "right": { "type": "Identifier", "start": 2952, "end": 2958, "loc": { "start": { "line": 70, "column": 33 }, "end": { "line": 70, "column": 39 }, "identifierName": "canvas" }, "name": "canvas" } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Generates the background pattern for the wires overlay\r\n ", "start": 2384, "end": 2459, "loc": { "start": { "line": 57, "column": 4 }, "end": { "line": 59, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 2974, "end": 3375, "loc": { "start": { "line": 73, "column": 4 }, "end": { "line": 82, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 2974, "end": 2980, "loc": { "start": { "line": 73, "column": 4 }, "end": { "line": 73, "column": 10 }, "identifierName": "update" }, "name": "update" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 2983, "end": 3375, "loc": { "start": { "line": 73, "column": 13 }, "end": { "line": 82, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 2994, "end": 3062, "loc": { "start": { "line": 74, "column": 8 }, "end": { "line": 74, "column": 76 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3000, "end": 3061, "loc": { "start": { "line": 74, "column": 14 }, "end": { "line": 74, "column": 75 } }, "id": { "type": "Identifier", "start": 3000, "end": 3012, "loc": { "start": { "line": 74, "column": 14 }, "end": { "line": 74, "column": 26 }, "identifierName": "desiredAlpha" }, "name": "desiredAlpha" }, "init": { "type": "ConditionalExpression", "start": 3015, "end": 3061, "loc": { "start": { "line": 74, "column": 29 }, "end": { "line": 74, "column": 75 } }, "test": { "type": "BinaryExpression", "start": 3015, "end": 3049, "loc": { "start": { "line": 74, "column": 29 }, "end": { "line": 74, "column": 63 } }, "left": { "type": "MemberExpression", "start": 3015, "end": 3037, "loc": { "start": { "line": 74, "column": 29 }, "end": { "line": 74, "column": 51 } }, "object": { "type": "MemberExpression", "start": 3015, "end": 3024, "loc": { "start": { "line": 74, "column": 29 }, "end": { "line": 74, "column": 38 } }, "object": { "type": "ThisExpression", "start": 3015, "end": 3019, "loc": { "start": { "line": 74, "column": 29 }, "end": { "line": 74, "column": 33 } } }, "property": { "type": "Identifier", "start": 3020, "end": 3024, "loc": { "start": { "line": 74, "column": 34 }, "end": { "line": 74, "column": 38 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 3025, "end": 3037, "loc": { "start": { "line": 74, "column": 39 }, "end": { "line": 74, "column": 51 }, "identifierName": "currentLayer" }, "name": "currentLayer" }, "computed": false }, "operator": "===", "right": { "type": "StringLiteral", "start": 3042, "end": 3049, "loc": { "start": { "line": 74, "column": 56 }, "end": { "line": 74, "column": 63 } }, "extra": { "rawValue": "wires", "raw": "\"wires\"" }, "value": "wires" } }, "consequent": { "type": "NumericLiteral", "start": 3052, "end": 3055, "loc": { "start": { "line": 74, "column": 66 }, "end": { "line": 74, "column": 69 } }, "extra": { "rawValue": 1, "raw": "1.0" }, "value": 1 }, "alternate": { "type": "NumericLiteral", "start": 3058, "end": 3061, "loc": { "start": { "line": 74, "column": 72 }, "end": { "line": 74, "column": 75 } }, "extra": { "rawValue": 0, "raw": "0.0" }, "value": 0 } } } ], "kind": "const", "trailingComments": [ { "type": "CommentLine", "value": " On low performance, skip the fade", "start": 3074, "end": 3110, "loc": { "start": { "line": 76, "column": 8 }, "end": { "line": 76, "column": 44 } } } ] }, { "type": "IfStatement", "start": 3120, "end": 3368, "loc": { "start": { "line": 77, "column": 8 }, "end": { "line": 81, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 3124, "end": 3211, "loc": { "start": { "line": 77, "column": 12 }, "end": { "line": 77, "column": 99 } }, "left": { "type": "BinaryExpression", "start": 3124, "end": 3166, "loc": { "start": { "line": 77, "column": 12 }, "end": { "line": 77, "column": 54 } }, "left": { "type": "MemberExpression", "start": 3124, "end": 3159, "loc": { "start": { "line": 77, "column": 12 }, "end": { "line": 77, "column": 47 } }, "object": { "type": "MemberExpression", "start": 3124, "end": 3152, "loc": { "start": { "line": 77, "column": 12 }, "end": { "line": 77, "column": 40 } }, "object": { "type": "MemberExpression", "start": 3124, "end": 3143, "loc": { "start": { "line": 77, "column": 12 }, "end": { "line": 77, "column": 31 } }, "object": { "type": "MemberExpression", "start": 3124, "end": 3133, "loc": { "start": { "line": 77, "column": 12 }, "end": { "line": 77, "column": 21 } }, "object": { "type": "ThisExpression", "start": 3124, "end": 3128, "loc": { "start": { "line": 77, "column": 12 }, "end": { "line": 77, "column": 16 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 3129, "end": 3133, "loc": { "start": { "line": 77, "column": 17 }, "end": { "line": 77, "column": 21 }, "identifierName": "root" }, "name": "root" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 3134, "end": 3143, "loc": { "start": { "line": 77, "column": 22 }, "end": { "line": 77, "column": 31 }, "identifierName": "entityMgr" }, "name": "entityMgr" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 3144, "end": 3152, "loc": { "start": { "line": 77, "column": 32 }, "end": { "line": 77, "column": 40 }, "identifierName": "entities" }, "name": "entities" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 3153, "end": 3159, "loc": { "start": { "line": 77, "column": 41 }, "end": { "line": 77, "column": 47 }, "identifierName": "length" }, "name": "length" }, "computed": false, "leadingComments": null }, "operator": ">", "right": { "type": "NumericLiteral", "start": 3162, "end": 3166, "loc": { "start": { "line": 77, "column": 50 }, "end": { "line": 77, "column": 54 } }, "extra": { "rawValue": 5000, "raw": "5000" }, "value": 5000 }, "leadingComments": null }, "operator": "||", "right": { "type": "BinaryExpression", "start": 3170, "end": 3211, "loc": { "start": { "line": 77, "column": 58 }, "end": { "line": 77, "column": 99 } }, "left": { "type": "MemberExpression", "start": 3170, "end": 3206, "loc": { "start": { "line": 77, "column": 58 }, "end": { "line": 77, "column": 94 } }, "object": { "type": "MemberExpression", "start": 3170, "end": 3195, "loc": { "start": { "line": 77, "column": 58 }, "end": { "line": 77, "column": 83 } }, "object": { "type": "MemberExpression", "start": 3170, "end": 3179, "loc": { "start": { "line": 77, "column": 58 }, "end": { "line": 77, "column": 67 } }, "object": { "type": "ThisExpression", "start": 3170, "end": 3174, "loc": { "start": { "line": 77, "column": 58 }, "end": { "line": 77, "column": 62 } } }, "property": { "type": "Identifier", "start": 3175, "end": 3179, "loc": { "start": { "line": 77, "column": 63 }, "end": { "line": 77, "column": 67 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 3180, "end": 3195, "loc": { "start": { "line": 77, "column": 68 }, "end": { "line": 77, "column": 83 }, "identifierName": "dynamicTickrate" }, "name": "dynamicTickrate" }, "computed": false }, "property": { "type": "Identifier", "start": 3196, "end": 3206, "loc": { "start": { "line": 77, "column": 84 }, "end": { "line": 77, "column": 94 }, "identifierName": "averageFps" }, "name": "averageFps" }, "computed": false }, "operator": "<", "right": { "type": "NumericLiteral", "start": 3209, "end": 3211, "loc": { "start": { "line": 77, "column": 97 }, "end": { "line": 77, "column": 99 } }, "extra": { "rawValue": 50, "raw": "50" }, "value": 50 } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 3213, "end": 3272, "loc": { "start": { "line": 77, "column": 101 }, "end": { "line": 79, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 3228, "end": 3261, "loc": { "start": { "line": 78, "column": 12 }, "end": { "line": 78, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 3228, "end": 3260, "loc": { "start": { "line": 78, "column": 12 }, "end": { "line": 78, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3228, "end": 3245, "loc": { "start": { "line": 78, "column": 12 }, "end": { "line": 78, "column": 29 } }, "object": { "type": "ThisExpression", "start": 3228, "end": 3232, "loc": { "start": { "line": 78, "column": 12 }, "end": { "line": 78, "column": 16 } } }, "property": { "type": "Identifier", "start": 3233, "end": 3245, "loc": { "start": { "line": 78, "column": 17 }, "end": { "line": 78, "column": 29 }, "identifierName": "currentAlpha" }, "name": "currentAlpha" }, "computed": false }, "right": { "type": "Identifier", "start": 3248, "end": 3260, "loc": { "start": { "line": 78, "column": 32 }, "end": { "line": 78, "column": 44 }, "identifierName": "desiredAlpha" }, "name": "desiredAlpha" } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 3278, "end": 3368, "loc": { "start": { "line": 79, "column": 15 }, "end": { "line": 81, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 3293, "end": 3357, "loc": { "start": { "line": 80, "column": 12 }, "end": { "line": 80, "column": 76 } }, "expression": { "type": "AssignmentExpression", "start": 3293, "end": 3356, "loc": { "start": { "line": 80, "column": 12 }, "end": { "line": 80, "column": 75 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3293, "end": 3310, "loc": { "start": { "line": 80, "column": 12 }, "end": { "line": 80, "column": 29 } }, "object": { "type": "ThisExpression", "start": 3293, "end": 3297, "loc": { "start": { "line": 80, "column": 12 }, "end": { "line": 80, "column": 16 } } }, "property": { "type": "Identifier", "start": 3298, "end": 3310, "loc": { "start": { "line": 80, "column": 17 }, "end": { "line": 80, "column": 29 }, "identifierName": "currentAlpha" }, "name": "currentAlpha" }, "computed": false }, "right": { "type": "CallExpression", "start": 3313, "end": 3356, "loc": { "start": { "line": 80, "column": 32 }, "end": { "line": 80, "column": 75 } }, "callee": { "type": "Identifier", "start": 3313, "end": 3317, "loc": { "start": { "line": 80, "column": 32 }, "end": { "line": 80, "column": 36 }, "identifierName": "lerp" }, "name": "lerp" }, "arguments": [ { "type": "MemberExpression", "start": 3318, "end": 3335, "loc": { "start": { "line": 80, "column": 37 }, "end": { "line": 80, "column": 54 } }, "object": { "type": "ThisExpression", "start": 3318, "end": 3322, "loc": { "start": { "line": 80, "column": 37 }, "end": { "line": 80, "column": 41 } } }, "property": { "type": "Identifier", "start": 3323, "end": 3335, "loc": { "start": { "line": 80, "column": 42 }, "end": { "line": 80, "column": 54 }, "identifierName": "currentAlpha" }, "name": "currentAlpha" }, "computed": false }, { "type": "Identifier", "start": 3337, "end": 3349, "loc": { "start": { "line": 80, "column": 56 }, "end": { "line": 80, "column": 68 }, "identifierName": "desiredAlpha" }, "name": "desiredAlpha" }, { "type": "NumericLiteral", "start": 3351, "end": 3355, "loc": { "start": { "line": 80, "column": 70 }, "end": { "line": 80, "column": 74 } }, "extra": { "rawValue": 0.12, "raw": "0.12" }, "value": 0.12 } ] } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " On low performance, skip the fade", "start": 3074, "end": 3110, "loc": { "start": { "line": 76, "column": 8 }, "end": { "line": 76, "column": 44 } } } ] } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Copies the wires value below the cursor\r\n ", "start": 3383, "end": 3443, "loc": { "start": { "line": 84, "column": 4 }, "end": { "line": 86, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 3449, "end": 4508, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 122, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 3449, "end": 3462, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 17 }, "identifierName": "copyWireValue" }, "name": "copyWireValue", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 3465, "end": 4508, "loc": { "start": { "line": 87, "column": 20 }, "end": { "line": 122, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 3476, "end": 3549, "loc": { "start": { "line": 88, "column": 8 }, "end": { "line": 90, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 3480, "end": 3514, "loc": { "start": { "line": 88, "column": 12 }, "end": { "line": 88, "column": 46 } }, "left": { "type": "MemberExpression", "start": 3480, "end": 3502, "loc": { "start": { "line": 88, "column": 12 }, "end": { "line": 88, "column": 34 } }, "object": { "type": "MemberExpression", "start": 3480, "end": 3489, "loc": { "start": { "line": 88, "column": 12 }, "end": { "line": 88, "column": 21 } }, "object": { "type": "ThisExpression", "start": 3480, "end": 3484, "loc": { "start": { "line": 88, "column": 12 }, "end": { "line": 88, "column": 16 } } }, "property": { "type": "Identifier", "start": 3485, "end": 3489, "loc": { "start": { "line": 88, "column": 17 }, "end": { "line": 88, "column": 21 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 3490, "end": 3502, "loc": { "start": { "line": 88, "column": 22 }, "end": { "line": 88, "column": 34 }, "identifierName": "currentLayer" }, "name": "currentLayer" }, "computed": false }, "operator": "!==", "right": { "type": "StringLiteral", "start": 3507, "end": 3514, "loc": { "start": { "line": 88, "column": 39 }, "end": { "line": 88, "column": 46 } }, "extra": { "rawValue": "wires", "raw": "\"wires\"" }, "value": "wires" } }, "consequent": { "type": "BlockStatement", "start": 3516, "end": 3549, "loc": { "start": { "line": 88, "column": 48 }, "end": { "line": 90, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 3531, "end": 3538, "loc": { "start": { "line": 89, "column": 12 }, "end": { "line": 89, "column": 19 } }, "argument": null } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 3561, "end": 3606, "loc": { "start": { "line": 92, "column": 8 }, "end": { "line": 92, "column": 53 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3567, "end": 3605, "loc": { "start": { "line": 92, "column": 14 }, "end": { "line": 92, "column": 52 } }, "id": { "type": "Identifier", "start": 3567, "end": 3575, "loc": { "start": { "line": 92, "column": 14 }, "end": { "line": 92, "column": 22 }, "identifierName": "mousePos" }, "name": "mousePos" }, "init": { "type": "MemberExpression", "start": 3578, "end": 3605, "loc": { "start": { "line": 92, "column": 25 }, "end": { "line": 92, "column": 52 } }, "object": { "type": "MemberExpression", "start": 3578, "end": 3591, "loc": { "start": { "line": 92, "column": 25 }, "end": { "line": 92, "column": 38 } }, "object": { "type": "MemberExpression", "start": 3578, "end": 3587, "loc": { "start": { "line": 92, "column": 25 }, "end": { "line": 92, "column": 34 } }, "object": { "type": "ThisExpression", "start": 3578, "end": 3582, "loc": { "start": { "line": 92, "column": 25 }, "end": { "line": 92, "column": 29 } } }, "property": { "type": "Identifier", "start": 3583, "end": 3587, "loc": { "start": { "line": 92, "column": 30 }, "end": { "line": 92, "column": 34 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 3588, "end": 3591, "loc": { "start": { "line": 92, "column": 35 }, "end": { "line": 92, "column": 38 }, "identifierName": "app" }, "name": "app" }, "computed": false }, "property": { "type": "Identifier", "start": 3592, "end": 3605, "loc": { "start": { "line": 92, "column": 39 }, "end": { "line": 92, "column": 52 }, "identifierName": "mousePosition" }, "name": "mousePosition" }, "computed": false } } ], "kind": "const" }, { "type": "IfStatement", "start": 3616, "end": 3664, "loc": { "start": { "line": 93, "column": 8 }, "end": { "line": 95, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 3620, "end": 3629, "loc": { "start": { "line": 93, "column": 12 }, "end": { "line": 93, "column": 21 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 3621, "end": 3629, "loc": { "start": { "line": 93, "column": 13 }, "end": { "line": 93, "column": 21 }, "identifierName": "mousePos" }, "name": "mousePos" }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 3631, "end": 3664, "loc": { "start": { "line": 93, "column": 23 }, "end": { "line": 95, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 3646, "end": 3653, "loc": { "start": { "line": 94, "column": 12 }, "end": { "line": 94, "column": 19 } }, "argument": null } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 3676, "end": 3744, "loc": { "start": { "line": 97, "column": 8 }, "end": { "line": 97, "column": 76 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3682, "end": 3743, "loc": { "start": { "line": 97, "column": 14 }, "end": { "line": 97, "column": 75 } }, "id": { "type": "Identifier", "start": 3682, "end": 3686, "loc": { "start": { "line": 97, "column": 14 }, "end": { "line": 97, "column": 18 }, "identifierName": "tile" }, "name": "tile" }, "init": { "type": "CallExpression", "start": 3689, "end": 3743, "loc": { "start": { "line": 97, "column": 21 }, "end": { "line": 97, "column": 75 } }, "callee": { "type": "MemberExpression", "start": 3689, "end": 3741, "loc": { "start": { "line": 97, "column": 21 }, "end": { "line": 97, "column": 73 } }, "object": { "type": "CallExpression", "start": 3689, "end": 3729, "loc": { "start": { "line": 97, "column": 21 }, "end": { "line": 97, "column": 61 } }, "callee": { "type": "MemberExpression", "start": 3689, "end": 3719, "loc": { "start": { "line": 97, "column": 21 }, "end": { "line": 97, "column": 51 } }, "object": { "type": "MemberExpression", "start": 3689, "end": 3705, "loc": { "start": { "line": 97, "column": 21 }, "end": { "line": 97, "column": 37 } }, "object": { "type": "MemberExpression", "start": 3689, "end": 3698, "loc": { "start": { "line": 97, "column": 21 }, "end": { "line": 97, "column": 30 } }, "object": { "type": "ThisExpression", "start": 3689, "end": 3693, "loc": { "start": { "line": 97, "column": 21 }, "end": { "line": 97, "column": 25 } } }, "property": { "type": "Identifier", "start": 3694, "end": 3698, "loc": { "start": { "line": 97, "column": 26 }, "end": { "line": 97, "column": 30 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 3699, "end": 3705, "loc": { "start": { "line": 97, "column": 31 }, "end": { "line": 97, "column": 37 }, "identifierName": "camera" }, "name": "camera" }, "computed": false }, "property": { "type": "Identifier", "start": 3706, "end": 3719, "loc": { "start": { "line": 97, "column": 38 }, "end": { "line": 97, "column": 51 }, "identifierName": "screenToWorld" }, "name": "screenToWorld" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 3720, "end": 3728, "loc": { "start": { "line": 97, "column": 52 }, "end": { "line": 97, "column": 60 }, "identifierName": "mousePos" }, "name": "mousePos" } ] }, "property": { "type": "Identifier", "start": 3730, "end": 3741, "loc": { "start": { "line": 97, "column": 62 }, "end": { "line": 97, "column": 73 }, "identifierName": "toTileSpace" }, "name": "toTileSpace" }, "computed": false }, "arguments": [] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 3754, "end": 3828, "loc": { "start": { "line": 98, "column": 8 }, "end": { "line": 98, "column": 82 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3760, "end": 3827, "loc": { "start": { "line": 98, "column": 14 }, "end": { "line": 98, "column": 81 } }, "id": { "type": "Identifier", "start": 3760, "end": 3768, "loc": { "start": { "line": 98, "column": 14 }, "end": { "line": 98, "column": 22 }, "identifierName": "contents" }, "name": "contents" }, "init": { "type": "CallExpression", "start": 3771, "end": 3827, "loc": { "start": { "line": 98, "column": 25 }, "end": { "line": 98, "column": 81 } }, "callee": { "type": "MemberExpression", "start": 3771, "end": 3802, "loc": { "start": { "line": 98, "column": 25 }, "end": { "line": 98, "column": 56 } }, "object": { "type": "MemberExpression", "start": 3771, "end": 3784, "loc": { "start": { "line": 98, "column": 25 }, "end": { "line": 98, "column": 38 } }, "object": { "type": "MemberExpression", "start": 3771, "end": 3780, "loc": { "start": { "line": 98, "column": 25 }, "end": { "line": 98, "column": 34 } }, "object": { "type": "ThisExpression", "start": 3771, "end": 3775, "loc": { "start": { "line": 98, "column": 25 }, "end": { "line": 98, "column": 29 } } }, "property": { "type": "Identifier", "start": 3776, "end": 3780, "loc": { "start": { "line": 98, "column": 30 }, "end": { "line": 98, "column": 34 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 3781, "end": 3784, "loc": { "start": { "line": 98, "column": 35 }, "end": { "line": 98, "column": 38 }, "identifierName": "map" }, "name": "map" }, "computed": false }, "property": { "type": "Identifier", "start": 3785, "end": 3802, "loc": { "start": { "line": 98, "column": 39 }, "end": { "line": 98, "column": 56 }, "identifierName": "getLayerContentXY" }, "name": "getLayerContentXY" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 3803, "end": 3809, "loc": { "start": { "line": 98, "column": 57 }, "end": { "line": 98, "column": 63 } }, "object": { "type": "Identifier", "start": 3803, "end": 3807, "loc": { "start": { "line": 98, "column": 57 }, "end": { "line": 98, "column": 61 }, "identifierName": "tile" }, "name": "tile" }, "property": { "type": "Identifier", "start": 3808, "end": 3809, "loc": { "start": { "line": 98, "column": 62 }, "end": { "line": 98, "column": 63 }, "identifierName": "x" }, "name": "x" }, "computed": false }, { "type": "MemberExpression", "start": 3811, "end": 3817, "loc": { "start": { "line": 98, "column": 65 }, "end": { "line": 98, "column": 71 } }, "object": { "type": "Identifier", "start": 3811, "end": 3815, "loc": { "start": { "line": 98, "column": 65 }, "end": { "line": 98, "column": 69 }, "identifierName": "tile" }, "name": "tile" }, "property": { "type": "Identifier", "start": 3816, "end": 3817, "loc": { "start": { "line": 98, "column": 70 }, "end": { "line": 98, "column": 71 }, "identifierName": "y" }, "name": "y" }, "computed": false }, { "type": "StringLiteral", "start": 3819, "end": 3826, "loc": { "start": { "line": 98, "column": 73 }, "end": { "line": 98, "column": 80 } }, "extra": { "rawValue": "wires", "raw": "\"wires\"" }, "value": "wires" } ] } } ], "kind": "const" }, { "type": "IfStatement", "start": 3838, "end": 3886, "loc": { "start": { "line": 99, "column": 8 }, "end": { "line": 101, "column": 9 } }, "test": { "type": "UnaryExpression", "start": 3842, "end": 3851, "loc": { "start": { "line": 99, "column": 12 }, "end": { "line": 99, "column": 21 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 3843, "end": 3851, "loc": { "start": { "line": 99, "column": 13 }, "end": { "line": 99, "column": 21 }, "identifierName": "contents" }, "name": "contents" }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 3853, "end": 3886, "loc": { "start": { "line": 99, "column": 23 }, "end": { "line": 101, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 3868, "end": 3875, "loc": { "start": { "line": 100, "column": 12 }, "end": { "line": 100, "column": 19 } }, "argument": null } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 3898, "end": 3915, "loc": { "start": { "line": 103, "column": 8 }, "end": { "line": 103, "column": 25 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3902, "end": 3914, "loc": { "start": { "line": 103, "column": 12 }, "end": { "line": 103, "column": 24 } }, "id": { "type": "Identifier", "start": 3902, "end": 3907, "loc": { "start": { "line": 103, "column": 12 }, "end": { "line": 103, "column": 17 }, "identifierName": "value" }, "name": "value" }, "init": { "type": "NullLiteral", "start": 3910, "end": 3914, "loc": { "start": { "line": 103, "column": 20 }, "end": { "line": 103, "column": 24 } } } } ], "kind": "let" }, { "type": "IfStatement", "start": 3925, "end": 4148, "loc": { "start": { "line": 104, "column": 8 }, "end": { "line": 109, "column": 9 } }, "test": { "type": "MemberExpression", "start": 3929, "end": 3953, "loc": { "start": { "line": 104, "column": 12 }, "end": { "line": 104, "column": 36 } }, "object": { "type": "MemberExpression", "start": 3929, "end": 3948, "loc": { "start": { "line": 104, "column": 12 }, "end": { "line": 104, "column": 31 } }, "object": { "type": "Identifier", "start": 3929, "end": 3937, "loc": { "start": { "line": 104, "column": 12 }, "end": { "line": 104, "column": 20 }, "identifierName": "contents" }, "name": "contents" }, "property": { "type": "Identifier", "start": 3938, "end": 3948, "loc": { "start": { "line": 104, "column": 21 }, "end": { "line": 104, "column": 31 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 3949, "end": 3953, "loc": { "start": { "line": 104, "column": 32 }, "end": { "line": 104, "column": 36 }, "identifierName": "Wire" }, "name": "Wire" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 3955, "end": 4148, "loc": { "start": { "line": 104, "column": 38 }, "end": { "line": 109, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 3970, "end": 4025, "loc": { "start": { "line": 105, "column": 12 }, "end": { "line": 105, "column": 67 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3976, "end": 4024, "loc": { "start": { "line": 105, "column": 18 }, "end": { "line": 105, "column": 66 } }, "id": { "type": "Identifier", "start": 3976, "end": 3983, "loc": { "start": { "line": 105, "column": 18 }, "end": { "line": 105, "column": 25 }, "identifierName": "network" }, "name": "network" }, "init": { "type": "MemberExpression", "start": 3986, "end": 4024, "loc": { "start": { "line": 105, "column": 28 }, "end": { "line": 105, "column": 66 } }, "object": { "type": "MemberExpression", "start": 3986, "end": 4010, "loc": { "start": { "line": 105, "column": 28 }, "end": { "line": 105, "column": 52 } }, "object": { "type": "MemberExpression", "start": 3986, "end": 4005, "loc": { "start": { "line": 105, "column": 28 }, "end": { "line": 105, "column": 47 } }, "object": { "type": "Identifier", "start": 3986, "end": 3994, "loc": { "start": { "line": 105, "column": 28 }, "end": { "line": 105, "column": 36 }, "identifierName": "contents" }, "name": "contents" }, "property": { "type": "Identifier", "start": 3995, "end": 4005, "loc": { "start": { "line": 105, "column": 37 }, "end": { "line": 105, "column": 47 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 4006, "end": 4010, "loc": { "start": { "line": 105, "column": 48 }, "end": { "line": 105, "column": 52 }, "identifierName": "Wire" }, "name": "Wire" }, "computed": false }, "property": { "type": "Identifier", "start": 4011, "end": 4024, "loc": { "start": { "line": 105, "column": 53 }, "end": { "line": 105, "column": 66 }, "identifierName": "linkedNetwork" }, "name": "linkedNetwork" }, "computed": false } } ], "kind": "const" }, { "type": "IfStatement", "start": 4039, "end": 4137, "loc": { "start": { "line": 106, "column": 12 }, "end": { "line": 108, "column": 13 } }, "test": { "type": "LogicalExpression", "start": 4043, "end": 4072, "loc": { "start": { "line": 106, "column": 16 }, "end": { "line": 106, "column": 45 } }, "left": { "type": "Identifier", "start": 4043, "end": 4050, "loc": { "start": { "line": 106, "column": 16 }, "end": { "line": 106, "column": 23 }, "identifierName": "network" }, "name": "network" }, "operator": "&&", "right": { "type": "CallExpression", "start": 4054, "end": 4072, "loc": { "start": { "line": 106, "column": 27 }, "end": { "line": 106, "column": 45 } }, "callee": { "type": "MemberExpression", "start": 4054, "end": 4070, "loc": { "start": { "line": 106, "column": 27 }, "end": { "line": 106, "column": 43 } }, "object": { "type": "Identifier", "start": 4054, "end": 4061, "loc": { "start": { "line": 106, "column": 27 }, "end": { "line": 106, "column": 34 }, "identifierName": "network" }, "name": "network" }, "property": { "type": "Identifier", "start": 4062, "end": 4070, "loc": { "start": { "line": 106, "column": 35 }, "end": { "line": 106, "column": 43 }, "identifierName": "hasValue" }, "name": "hasValue" }, "computed": false }, "arguments": [] } }, "consequent": { "type": "BlockStatement", "start": 4074, "end": 4137, "loc": { "start": { "line": 106, "column": 47 }, "end": { "line": 108, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 4093, "end": 4122, "loc": { "start": { "line": 107, "column": 16 }, "end": { "line": 107, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 4093, "end": 4121, "loc": { "start": { "line": 107, "column": 16 }, "end": { "line": 107, "column": 44 } }, "operator": "=", "left": { "type": "Identifier", "start": 4093, "end": 4098, "loc": { "start": { "line": 107, "column": 16 }, "end": { "line": 107, "column": 21 }, "identifierName": "value" }, "name": "value" }, "right": { "type": "MemberExpression", "start": 4101, "end": 4121, "loc": { "start": { "line": 107, "column": 24 }, "end": { "line": 107, "column": 44 } }, "object": { "type": "Identifier", "start": 4101, "end": 4108, "loc": { "start": { "line": 107, "column": 24 }, "end": { "line": 107, "column": 31 }, "identifierName": "network" }, "name": "network" }, "property": { "type": "Identifier", "start": 4109, "end": 4121, "loc": { "start": { "line": 107, "column": 32 }, "end": { "line": 107, "column": 44 }, "identifierName": "currentValue" }, "name": "currentValue" }, "computed": false } } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 4160, "end": 4276, "loc": { "start": { "line": 111, "column": 8 }, "end": { "line": 113, "column": 9 } }, "test": { "type": "MemberExpression", "start": 4164, "end": 4198, "loc": { "start": { "line": 111, "column": 12 }, "end": { "line": 111, "column": 46 } }, "object": { "type": "MemberExpression", "start": 4164, "end": 4183, "loc": { "start": { "line": 111, "column": 12 }, "end": { "line": 111, "column": 31 } }, "object": { "type": "Identifier", "start": 4164, "end": 4172, "loc": { "start": { "line": 111, "column": 12 }, "end": { "line": 111, "column": 20 }, "identifierName": "contents" }, "name": "contents" }, "property": { "type": "Identifier", "start": 4173, "end": 4183, "loc": { "start": { "line": 111, "column": 21 }, "end": { "line": 111, "column": 31 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 4184, "end": 4198, "loc": { "start": { "line": 111, "column": 32 }, "end": { "line": 111, "column": 46 }, "identifierName": "ConstantSignal" }, "name": "ConstantSignal" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 4200, "end": 4276, "loc": { "start": { "line": 111, "column": 48 }, "end": { "line": 113, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 4215, "end": 4265, "loc": { "start": { "line": 112, "column": 12 }, "end": { "line": 112, "column": 62 } }, "expression": { "type": "AssignmentExpression", "start": 4215, "end": 4264, "loc": { "start": { "line": 112, "column": 12 }, "end": { "line": 112, "column": 61 } }, "operator": "=", "left": { "type": "Identifier", "start": 4215, "end": 4220, "loc": { "start": { "line": 112, "column": 12 }, "end": { "line": 112, "column": 17 }, "identifierName": "value" }, "name": "value" }, "right": { "type": "MemberExpression", "start": 4223, "end": 4264, "loc": { "start": { "line": 112, "column": 20 }, "end": { "line": 112, "column": 61 } }, "object": { "type": "MemberExpression", "start": 4223, "end": 4257, "loc": { "start": { "line": 112, "column": 20 }, "end": { "line": 112, "column": 54 } }, "object": { "type": "MemberExpression", "start": 4223, "end": 4242, "loc": { "start": { "line": 112, "column": 20 }, "end": { "line": 112, "column": 39 } }, "object": { "type": "Identifier", "start": 4223, "end": 4231, "loc": { "start": { "line": 112, "column": 20 }, "end": { "line": 112, "column": 28 }, "identifierName": "contents" }, "name": "contents" }, "property": { "type": "Identifier", "start": 4232, "end": 4242, "loc": { "start": { "line": 112, "column": 29 }, "end": { "line": 112, "column": 39 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 4243, "end": 4257, "loc": { "start": { "line": 112, "column": 40 }, "end": { "line": 112, "column": 54 }, "identifierName": "ConstantSignal" }, "name": "ConstantSignal" }, "computed": false }, "property": { "type": "Identifier", "start": 4258, "end": 4264, "loc": { "start": { "line": 112, "column": 55 }, "end": { "line": 112, "column": 61 }, "identifierName": "signal" }, "name": "signal" }, "computed": false } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 4288, "end": 4501, "loc": { "start": { "line": 115, "column": 8 }, "end": { "line": 121, "column": 9 } }, "test": { "type": "Identifier", "start": 4292, "end": 4297, "loc": { "start": { "line": 115, "column": 12 }, "end": { "line": 115, "column": 17 }, "identifierName": "value" }, "name": "value" }, "consequent": { "type": "BlockStatement", "start": 4299, "end": 4411, "loc": { "start": { "line": 115, "column": 19 }, "end": { "line": 118, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 4314, "end": 4345, "loc": { "start": { "line": 116, "column": 12 }, "end": { "line": 116, "column": 43 } }, "expression": { "type": "CallExpression", "start": 4314, "end": 4344, "loc": { "start": { "line": 116, "column": 12 }, "end": { "line": 116, "column": 42 } }, "callee": { "type": "Identifier", "start": 4314, "end": 4318, "loc": { "start": { "line": 116, "column": 12 }, "end": { "line": 116, "column": 16 }, "identifierName": "copy" }, "name": "copy" }, "arguments": [ { "type": "CallExpression", "start": 4319, "end": 4343, "loc": { "start": { "line": 116, "column": 17 }, "end": { "line": 116, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 4319, "end": 4341, "loc": { "start": { "line": 116, "column": 17 }, "end": { "line": 116, "column": 39 } }, "object": { "type": "Identifier", "start": 4319, "end": 4324, "loc": { "start": { "line": 116, "column": 17 }, "end": { "line": 116, "column": 22 }, "identifierName": "value" }, "name": "value" }, "property": { "type": "Identifier", "start": 4325, "end": 4341, "loc": { "start": { "line": 116, "column": 23 }, "end": { "line": 116, "column": 39 }, "identifierName": "getAsCopyableKey" }, "name": "getAsCopyableKey" }, "computed": false }, "arguments": [] } ] } }, { "type": "ExpressionStatement", "start": 4359, "end": 4400, "loc": { "start": { "line": 117, "column": 12 }, "end": { "line": 117, "column": 53 } }, "expression": { "type": "CallExpression", "start": 4359, "end": 4399, "loc": { "start": { "line": 117, "column": 12 }, "end": { "line": 117, "column": 52 } }, "callee": { "type": "MemberExpression", "start": 4359, "end": 4386, "loc": { "start": { "line": 117, "column": 12 }, "end": { "line": 117, "column": 39 } }, "object": { "type": "MemberExpression", "start": 4359, "end": 4379, "loc": { "start": { "line": 117, "column": 12 }, "end": { "line": 117, "column": 32 } }, "object": { "type": "MemberExpression", "start": 4359, "end": 4368, "loc": { "start": { "line": 117, "column": 12 }, "end": { "line": 117, "column": 21 } }, "object": { "type": "ThisExpression", "start": 4359, "end": 4363, "loc": { "start": { "line": 117, "column": 12 }, "end": { "line": 117, "column": 16 } } }, "property": { "type": "Identifier", "start": 4364, "end": 4368, "loc": { "start": { "line": 117, "column": 17 }, "end": { "line": 117, "column": 21 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 4369, "end": 4379, "loc": { "start": { "line": 117, "column": 22 }, "end": { "line": 117, "column": 32 }, "identifierName": "soundProxy" }, "name": "soundProxy" }, "computed": false }, "property": { "type": "Identifier", "start": 4380, "end": 4386, "loc": { "start": { "line": 117, "column": 33 }, "end": { "line": 117, "column": 39 }, "identifierName": "playUi" }, "name": "playUi" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 4387, "end": 4398, "loc": { "start": { "line": 117, "column": 40 }, "end": { "line": 117, "column": 51 } }, "object": { "type": "Identifier", "start": 4387, "end": 4393, "loc": { "start": { "line": 117, "column": 40 }, "end": { "line": 117, "column": 46 }, "identifierName": "SOUNDS" }, "name": "SOUNDS" }, "property": { "type": "Identifier", "start": 4394, "end": 4398, "loc": { "start": { "line": 117, "column": 47 }, "end": { "line": 117, "column": 51 }, "identifierName": "copy" }, "name": "copy" }, "computed": false } ] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 4417, "end": 4501, "loc": { "start": { "line": 118, "column": 15 }, "end": { "line": 121, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 4432, "end": 4441, "loc": { "start": { "line": 119, "column": 12 }, "end": { "line": 119, "column": 21 } }, "expression": { "type": "CallExpression", "start": 4432, "end": 4440, "loc": { "start": { "line": 119, "column": 12 }, "end": { "line": 119, "column": 20 } }, "callee": { "type": "Identifier", "start": 4432, "end": 4436, "loc": { "start": { "line": 119, "column": 12 }, "end": { "line": 119, "column": 16 }, "identifierName": "copy" }, "name": "copy" }, "arguments": [ { "type": "StringLiteral", "start": 4437, "end": 4439, "loc": { "start": { "line": 119, "column": 17 }, "end": { "line": 119, "column": 19 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" } ] } }, { "type": "ExpressionStatement", "start": 4455, "end": 4490, "loc": { "start": { "line": 120, "column": 12 }, "end": { "line": 120, "column": 47 } }, "expression": { "type": "CallExpression", "start": 4455, "end": 4489, "loc": { "start": { "line": 120, "column": 12 }, "end": { "line": 120, "column": 46 } }, "callee": { "type": "MemberExpression", "start": 4455, "end": 4487, "loc": { "start": { "line": 120, "column": 12 }, "end": { "line": 120, "column": 44 } }, "object": { "type": "MemberExpression", "start": 4455, "end": 4475, "loc": { "start": { "line": 120, "column": 12 }, "end": { "line": 120, "column": 32 } }, "object": { "type": "MemberExpression", "start": 4455, "end": 4464, "loc": { "start": { "line": 120, "column": 12 }, "end": { "line": 120, "column": 21 } }, "object": { "type": "ThisExpression", "start": 4455, "end": 4459, "loc": { "start": { "line": 120, "column": 12 }, "end": { "line": 120, "column": 16 } } }, "property": { "type": "Identifier", "start": 4460, "end": 4464, "loc": { "start": { "line": 120, "column": 17 }, "end": { "line": 120, "column": 21 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 4465, "end": 4475, "loc": { "start": { "line": 120, "column": 22 }, "end": { "line": 120, "column": 32 }, "identifierName": "soundProxy" }, "name": "soundProxy" }, "computed": false }, "property": { "type": "Identifier", "start": 4476, "end": 4487, "loc": { "start": { "line": 120, "column": 33 }, "end": { "line": 120, "column": 44 }, "identifierName": "playUiError" }, "name": "playUiError" }, "computed": false }, "arguments": [] } } ], "directives": [] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Copies the wires value below the cursor\r\n ", "start": 3383, "end": 3443, "loc": { "start": { "line": 84, "column": 4 }, "end": { "line": 86, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n *\r\n * @param {DrawParameters} parameters\r\n ", "start": 4516, "end": 4579, "loc": { "start": { "line": 124, "column": 4 }, "end": { "line": 127, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 4585, "end": 5918, "loc": { "start": { "line": 128, "column": 4 }, "end": { "line": 161, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 4585, "end": 4589, "loc": { "start": { "line": 128, "column": 4 }, "end": { "line": 128, "column": 8 }, "identifierName": "draw" }, "name": "draw", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 4590, "end": 4600, "loc": { "start": { "line": 128, "column": 9 }, "end": { "line": 128, "column": 19 }, "identifierName": "parameters" }, "name": "parameters" } ], "body": { "type": "BlockStatement", "start": 4602, "end": 5918, "loc": { "start": { "line": 128, "column": 21 }, "end": { "line": 161, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 4613, "end": 4676, "loc": { "start": { "line": 129, "column": 8 }, "end": { "line": 131, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 4617, "end": 4641, "loc": { "start": { "line": 129, "column": 12 }, "end": { "line": 129, "column": 36 } }, "left": { "type": "MemberExpression", "start": 4617, "end": 4634, "loc": { "start": { "line": 129, "column": 12 }, "end": { "line": 129, "column": 29 } }, "object": { "type": "ThisExpression", "start": 4617, "end": 4621, "loc": { "start": { "line": 129, "column": 12 }, "end": { "line": 129, "column": 16 } } }, "property": { "type": "Identifier", "start": 4622, "end": 4634, "loc": { "start": { "line": 129, "column": 17 }, "end": { "line": 129, "column": 29 }, "identifierName": "currentAlpha" }, "name": "currentAlpha" }, "computed": false }, "operator": "<", "right": { "type": "NumericLiteral", "start": 4637, "end": 4641, "loc": { "start": { "line": 129, "column": 32 }, "end": { "line": 129, "column": 36 } }, "extra": { "rawValue": 0.02, "raw": "0.02" }, "value": 0.02 } }, "consequent": { "type": "BlockStatement", "start": 4643, "end": 4676, "loc": { "start": { "line": 129, "column": 38 }, "end": { "line": 131, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 4658, "end": 4665, "loc": { "start": { "line": 130, "column": 12 }, "end": { "line": 130, "column": 19 } }, "argument": null } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 4688, "end": 4765, "loc": { "start": { "line": 133, "column": 8 }, "end": { "line": 133, "column": 85 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4694, "end": 4764, "loc": { "start": { "line": 133, "column": 14 }, "end": { "line": 133, "column": 84 } }, "id": { "type": "Identifier", "start": 4694, "end": 4705, "loc": { "start": { "line": 133, "column": 14 }, "end": { "line": 133, "column": 25 }, "identifierName": "hasTileGrid" }, "name": "hasTileGrid" }, "init": { "type": "UnaryExpression", "start": 4708, "end": 4764, "loc": { "start": { "line": 133, "column": 28 }, "end": { "line": 133, "column": 84 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 4709, "end": 4764, "loc": { "start": { "line": 133, "column": 29 }, "end": { "line": 133, "column": 84 } }, "object": { "type": "CallExpression", "start": 4709, "end": 4748, "loc": { "start": { "line": 133, "column": 29 }, "end": { "line": 133, "column": 68 } }, "callee": { "type": "MemberExpression", "start": 4709, "end": 4746, "loc": { "start": { "line": 133, "column": 29 }, "end": { "line": 133, "column": 66 } }, "object": { "type": "MemberExpression", "start": 4709, "end": 4731, "loc": { "start": { "line": 133, "column": 29 }, "end": { "line": 133, "column": 51 } }, "object": { "type": "MemberExpression", "start": 4709, "end": 4722, "loc": { "start": { "line": 133, "column": 29 }, "end": { "line": 133, "column": 42 } }, "object": { "type": "MemberExpression", "start": 4709, "end": 4718, "loc": { "start": { "line": 133, "column": 29 }, "end": { "line": 133, "column": 38 } }, "object": { "type": "ThisExpression", "start": 4709, "end": 4713, "loc": { "start": { "line": 133, "column": 29 }, "end": { "line": 133, "column": 33 } } }, "property": { "type": "Identifier", "start": 4714, "end": 4718, "loc": { "start": { "line": 133, "column": 34 }, "end": { "line": 133, "column": 38 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 4719, "end": 4722, "loc": { "start": { "line": 133, "column": 39 }, "end": { "line": 133, "column": 42 }, "identifierName": "app" }, "name": "app" }, "computed": false }, "property": { "type": "Identifier", "start": 4723, "end": 4731, "loc": { "start": { "line": 133, "column": 43 }, "end": { "line": 133, "column": 51 }, "identifierName": "settings" }, "name": "settings" }, "computed": false }, "property": { "type": "Identifier", "start": 4732, "end": 4746, "loc": { "start": { "line": 133, "column": 52 }, "end": { "line": 133, "column": 66 }, "identifierName": "getAllSettings" }, "name": "getAllSettings" }, "computed": false }, "arguments": [] }, "property": { "type": "Identifier", "start": 4749, "end": 4764, "loc": { "start": { "line": 133, "column": 69 }, "end": { "line": 133, "column": 84 }, "identifierName": "disableTileGrid" }, "name": "disableTileGrid" }, "computed": false }, "extra": { "parenthesizedArgument": false } } } ], "kind": "const" }, { "type": "IfStatement", "start": 4775, "end": 4949, "loc": { "start": { "line": 134, "column": 8 }, "end": { "line": 136, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 4779, "end": 4823, "loc": { "start": { "line": 134, "column": 12 }, "end": { "line": 134, "column": 56 } }, "left": { "type": "Identifier", "start": 4779, "end": 4790, "loc": { "start": { "line": 134, "column": 12 }, "end": { "line": 134, "column": 23 }, "identifierName": "hasTileGrid" }, "name": "hasTileGrid" }, "operator": "&&", "right": { "type": "UnaryExpression", "start": 4794, "end": 4823, "loc": { "start": { "line": 134, "column": 27 }, "end": { "line": 134, "column": 56 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 4795, "end": 4823, "loc": { "start": { "line": 134, "column": 28 }, "end": { "line": 134, "column": 56 } }, "object": { "type": "ThisExpression", "start": 4795, "end": 4799, "loc": { "start": { "line": 134, "column": 28 }, "end": { "line": 134, "column": 32 } } }, "property": { "type": "Identifier", "start": 4800, "end": 4823, "loc": { "start": { "line": 134, "column": 33 }, "end": { "line": 134, "column": 56 }, "identifierName": "cachedPatternBackground" }, "name": "cachedPatternBackground" }, "computed": false }, "extra": { "parenthesizedArgument": false } } }, "consequent": { "type": "BlockStatement", "start": 4825, "end": 4949, "loc": { "start": { "line": 134, "column": 58 }, "end": { "line": 136, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 4840, "end": 4938, "loc": { "start": { "line": 135, "column": 12 }, "end": { "line": 135, "column": 110 } }, "expression": { "type": "AssignmentExpression", "start": 4840, "end": 4937, "loc": { "start": { "line": 135, "column": 12 }, "end": { "line": 135, "column": 109 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4840, "end": 4868, "loc": { "start": { "line": 135, "column": 12 }, "end": { "line": 135, "column": 40 } }, "object": { "type": "ThisExpression", "start": 4840, "end": 4844, "loc": { "start": { "line": 135, "column": 12 }, "end": { "line": 135, "column": 16 } } }, "property": { "type": "Identifier", "start": 4845, "end": 4868, "loc": { "start": { "line": 135, "column": 17 }, "end": { "line": 135, "column": 40 }, "identifierName": "cachedPatternBackground" }, "name": "cachedPatternBackground" }, "computed": false }, "right": { "type": "CallExpression", "start": 4871, "end": 4937, "loc": { "start": { "line": 135, "column": 43 }, "end": { "line": 135, "column": 109 } }, "callee": { "type": "MemberExpression", "start": 4871, "end": 4903, "loc": { "start": { "line": 135, "column": 43 }, "end": { "line": 135, "column": 75 } }, "object": { "type": "MemberExpression", "start": 4871, "end": 4889, "loc": { "start": { "line": 135, "column": 43 }, "end": { "line": 135, "column": 61 } }, "object": { "type": "Identifier", "start": 4871, "end": 4881, "loc": { "start": { "line": 135, "column": 43 }, "end": { "line": 135, "column": 53 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 4882, "end": 4889, "loc": { "start": { "line": 135, "column": 54 }, "end": { "line": 135, "column": 61 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 4890, "end": 4903, "loc": { "start": { "line": 135, "column": 62 }, "end": { "line": 135, "column": 75 }, "identifierName": "createPattern" }, "name": "createPattern" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 4904, "end": 4926, "loc": { "start": { "line": 135, "column": 76 }, "end": { "line": 135, "column": 98 } }, "object": { "type": "ThisExpression", "start": 4904, "end": 4908, "loc": { "start": { "line": 135, "column": 76 }, "end": { "line": 135, "column": 80 } } }, "property": { "type": "Identifier", "start": 4909, "end": 4926, "loc": { "start": { "line": 135, "column": 81 }, "end": { "line": 135, "column": 98 }, "identifierName": "tilePatternCanvas" }, "name": "tilePatternCanvas" }, "computed": false }, { "type": "StringLiteral", "start": 4928, "end": 4936, "loc": { "start": { "line": 135, "column": 100 }, "end": { "line": 135, "column": 108 } }, "extra": { "rawValue": "repeat", "raw": "\"repeat\"" }, "value": "repeat" } ] } } } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 4961, "end": 4999, "loc": { "start": { "line": 138, "column": 8 }, "end": { "line": 138, "column": 46 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4967, "end": 4998, "loc": { "start": { "line": 138, "column": 14 }, "end": { "line": 138, "column": 45 } }, "id": { "type": "Identifier", "start": 4967, "end": 4973, "loc": { "start": { "line": 138, "column": 14 }, "end": { "line": 138, "column": 20 }, "identifierName": "bounds" }, "name": "bounds" }, "init": { "type": "MemberExpression", "start": 4976, "end": 4998, "loc": { "start": { "line": 138, "column": 23 }, "end": { "line": 138, "column": 45 } }, "object": { "type": "Identifier", "start": 4976, "end": 4986, "loc": { "start": { "line": 138, "column": 23 }, "end": { "line": 138, "column": 33 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 4987, "end": 4998, "loc": { "start": { "line": 138, "column": 34 }, "end": { "line": 138, "column": 45 }, "identifierName": "visibleRect" }, "name": "visibleRect" }, "computed": false } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 5011, "end": 5062, "loc": { "start": { "line": 140, "column": 8 }, "end": { "line": 140, "column": 59 } }, "expression": { "type": "AssignmentExpression", "start": 5011, "end": 5061, "loc": { "start": { "line": 140, "column": 8 }, "end": { "line": 140, "column": 58 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5011, "end": 5041, "loc": { "start": { "line": 140, "column": 8 }, "end": { "line": 140, "column": 38 } }, "object": { "type": "MemberExpression", "start": 5011, "end": 5029, "loc": { "start": { "line": 140, "column": 8 }, "end": { "line": 140, "column": 26 } }, "object": { "type": "Identifier", "start": 5011, "end": 5021, "loc": { "start": { "line": 140, "column": 8 }, "end": { "line": 140, "column": 18 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 5022, "end": 5029, "loc": { "start": { "line": 140, "column": 19 }, "end": { "line": 140, "column": 26 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 5030, "end": 5041, "loc": { "start": { "line": 140, "column": 27 }, "end": { "line": 140, "column": 38 }, "identifierName": "globalAlpha" }, "name": "globalAlpha" }, "computed": false }, "right": { "type": "MemberExpression", "start": 5044, "end": 5061, "loc": { "start": { "line": 140, "column": 41 }, "end": { "line": 140, "column": 58 } }, "object": { "type": "ThisExpression", "start": 5044, "end": 5048, "loc": { "start": { "line": 140, "column": 41 }, "end": { "line": 140, "column": 45 } } }, "property": { "type": "Identifier", "start": 5049, "end": 5061, "loc": { "start": { "line": 140, "column": 46 }, "end": { "line": 140, "column": 58 }, "identifierName": "currentAlpha" }, "name": "currentAlpha" }, "computed": false } } }, { "type": "VariableDeclaration", "start": 5074, "end": 5117, "loc": { "start": { "line": 142, "column": 8 }, "end": { "line": 142, "column": 51 } }, "declarations": [ { "type": "VariableDeclarator", "start": 5080, "end": 5116, "loc": { "start": { "line": 142, "column": 14 }, "end": { "line": 142, "column": 50 } }, "id": { "type": "Identifier", "start": 5080, "end": 5091, "loc": { "start": { "line": 142, "column": 14 }, "end": { "line": 142, "column": 25 }, "identifierName": "scaleFactor" }, "name": "scaleFactor" }, "init": { "type": "BinaryExpression", "start": 5094, "end": 5116, "loc": { "start": { "line": 142, "column": 28 }, "end": { "line": 142, "column": 50 } }, "left": { "type": "NumericLiteral", "start": 5094, "end": 5095, "loc": { "start": { "line": 142, "column": 28 }, "end": { "line": 142, "column": 29 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "operator": "/", "right": { "type": "Identifier", "start": 5098, "end": 5116, "loc": { "start": { "line": 142, "column": 32 }, "end": { "line": 142, "column": 50 }, "identifierName": "wiresBackgroundDpi" }, "name": "wiresBackgroundDpi" } } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 5127, "end": 5183, "loc": { "start": { "line": 143, "column": 8 }, "end": { "line": 143, "column": 64 } }, "expression": { "type": "AssignmentExpression", "start": 5127, "end": 5182, "loc": { "start": { "line": 143, "column": 8 }, "end": { "line": 143, "column": 63 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5127, "end": 5170, "loc": { "start": { "line": 143, "column": 8 }, "end": { "line": 143, "column": 51 } }, "object": { "type": "MemberExpression", "start": 5127, "end": 5145, "loc": { "start": { "line": 143, "column": 8 }, "end": { "line": 143, "column": 26 } }, "object": { "type": "Identifier", "start": 5127, "end": 5137, "loc": { "start": { "line": 143, "column": 8 }, "end": { "line": 143, "column": 18 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 5138, "end": 5145, "loc": { "start": { "line": 143, "column": 19 }, "end": { "line": 143, "column": 26 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 5146, "end": 5170, "loc": { "start": { "line": 143, "column": 27 }, "end": { "line": 143, "column": 51 }, "identifierName": "globalCompositeOperation" }, "name": "globalCompositeOperation" }, "computed": false }, "right": { "type": "StringLiteral", "start": 5173, "end": 5182, "loc": { "start": { "line": 143, "column": 54 }, "end": { "line": 143, "column": 63 } }, "extra": { "rawValue": "overlay", "raw": "\"overlay\"" }, "value": "overlay" } } }, { "type": "ExpressionStatement", "start": 5193, "end": 5248, "loc": { "start": { "line": 144, "column": 8 }, "end": { "line": 144, "column": 63 } }, "expression": { "type": "AssignmentExpression", "start": 5193, "end": 5247, "loc": { "start": { "line": 144, "column": 8 }, "end": { "line": 144, "column": 62 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5193, "end": 5221, "loc": { "start": { "line": 144, "column": 8 }, "end": { "line": 144, "column": 36 } }, "object": { "type": "MemberExpression", "start": 5193, "end": 5211, "loc": { "start": { "line": 144, "column": 8 }, "end": { "line": 144, "column": 26 } }, "object": { "type": "Identifier", "start": 5193, "end": 5203, "loc": { "start": { "line": 144, "column": 8 }, "end": { "line": 144, "column": 18 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 5204, "end": 5211, "loc": { "start": { "line": 144, "column": 19 }, "end": { "line": 144, "column": 26 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 5212, "end": 5221, "loc": { "start": { "line": 144, "column": 27 }, "end": { "line": 144, "column": 36 }, "identifierName": "fillStyle" }, "name": "fillStyle" }, "computed": false }, "right": { "type": "StringLiteral", "start": 5224, "end": 5247, "loc": { "start": { "line": 144, "column": 39 }, "end": { "line": 144, "column": 62 } }, "extra": { "rawValue": "rgba(50, 200, 150, 1)", "raw": "\"rgba(50, 200, 150, 1)\"" }, "value": "rgba(50, 200, 150, 1)" } } }, { "type": "ExpressionStatement", "start": 5258, "end": 5326, "loc": { "start": { "line": 145, "column": 8 }, "end": { "line": 145, "column": 76 } }, "expression": { "type": "CallExpression", "start": 5258, "end": 5325, "loc": { "start": { "line": 145, "column": 8 }, "end": { "line": 145, "column": 75 } }, "callee": { "type": "MemberExpression", "start": 5258, "end": 5285, "loc": { "start": { "line": 145, "column": 8 }, "end": { "line": 145, "column": 35 } }, "object": { "type": "MemberExpression", "start": 5258, "end": 5276, "loc": { "start": { "line": 145, "column": 8 }, "end": { "line": 145, "column": 26 } }, "object": { "type": "Identifier", "start": 5258, "end": 5268, "loc": { "start": { "line": 145, "column": 8 }, "end": { "line": 145, "column": 18 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 5269, "end": 5276, "loc": { "start": { "line": 145, "column": 19 }, "end": { "line": 145, "column": 26 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 5277, "end": 5285, "loc": { "start": { "line": 145, "column": 27 }, "end": { "line": 145, "column": 35 }, "identifierName": "fillRect" }, "name": "fillRect" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 5286, "end": 5294, "loc": { "start": { "line": 145, "column": 36 }, "end": { "line": 145, "column": 44 } }, "object": { "type": "Identifier", "start": 5286, "end": 5292, "loc": { "start": { "line": 145, "column": 36 }, "end": { "line": 145, "column": 42 }, "identifierName": "bounds" }, "name": "bounds" }, "property": { "type": "Identifier", "start": 5293, "end": 5294, "loc": { "start": { "line": 145, "column": 43 }, "end": { "line": 145, "column": 44 }, "identifierName": "x" }, "name": "x" }, "computed": false }, { "type": "MemberExpression", "start": 5296, "end": 5304, "loc": { "start": { "line": 145, "column": 46 }, "end": { "line": 145, "column": 54 } }, "object": { "type": "Identifier", "start": 5296, "end": 5302, "loc": { "start": { "line": 145, "column": 46 }, "end": { "line": 145, "column": 52 }, "identifierName": "bounds" }, "name": "bounds" }, "property": { "type": "Identifier", "start": 5303, "end": 5304, "loc": { "start": { "line": 145, "column": 53 }, "end": { "line": 145, "column": 54 }, "identifierName": "y" }, "name": "y" }, "computed": false }, { "type": "MemberExpression", "start": 5306, "end": 5314, "loc": { "start": { "line": 145, "column": 56 }, "end": { "line": 145, "column": 64 } }, "object": { "type": "Identifier", "start": 5306, "end": 5312, "loc": { "start": { "line": 145, "column": 56 }, "end": { "line": 145, "column": 62 }, "identifierName": "bounds" }, "name": "bounds" }, "property": { "type": "Identifier", "start": 5313, "end": 5314, "loc": { "start": { "line": 145, "column": 63 }, "end": { "line": 145, "column": 64 }, "identifierName": "w" }, "name": "w" }, "computed": false }, { "type": "MemberExpression", "start": 5316, "end": 5324, "loc": { "start": { "line": 145, "column": 66 }, "end": { "line": 145, "column": 74 } }, "object": { "type": "Identifier", "start": 5316, "end": 5322, "loc": { "start": { "line": 145, "column": 66 }, "end": { "line": 145, "column": 72 }, "identifierName": "bounds" }, "name": "bounds" }, "property": { "type": "Identifier", "start": 5323, "end": 5324, "loc": { "start": { "line": 145, "column": 73 }, "end": { "line": 145, "column": 74 }, "identifierName": "h" }, "name": "h" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 5336, "end": 5396, "loc": { "start": { "line": 146, "column": 8 }, "end": { "line": 146, "column": 68 } }, "expression": { "type": "AssignmentExpression", "start": 5336, "end": 5395, "loc": { "start": { "line": 146, "column": 8 }, "end": { "line": 146, "column": 67 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5336, "end": 5379, "loc": { "start": { "line": 146, "column": 8 }, "end": { "line": 146, "column": 51 } }, "object": { "type": "MemberExpression", "start": 5336, "end": 5354, "loc": { "start": { "line": 146, "column": 8 }, "end": { "line": 146, "column": 26 } }, "object": { "type": "Identifier", "start": 5336, "end": 5346, "loc": { "start": { "line": 146, "column": 8 }, "end": { "line": 146, "column": 18 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 5347, "end": 5354, "loc": { "start": { "line": 146, "column": 19 }, "end": { "line": 146, "column": 26 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 5355, "end": 5379, "loc": { "start": { "line": 146, "column": 27 }, "end": { "line": 146, "column": 51 }, "identifierName": "globalCompositeOperation" }, "name": "globalCompositeOperation" }, "computed": false }, "right": { "type": "StringLiteral", "start": 5382, "end": 5395, "loc": { "start": { "line": 146, "column": 54 }, "end": { "line": 146, "column": 67 } }, "extra": { "rawValue": "source-over", "raw": "\"source-over\"" }, "value": "source-over" } } }, { "type": "ExpressionStatement", "start": 5408, "end": 5459, "loc": { "start": { "line": 148, "column": 8 }, "end": { "line": 148, "column": 59 } }, "expression": { "type": "CallExpression", "start": 5408, "end": 5458, "loc": { "start": { "line": 148, "column": 8 }, "end": { "line": 148, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 5408, "end": 5432, "loc": { "start": { "line": 148, "column": 8 }, "end": { "line": 148, "column": 32 } }, "object": { "type": "MemberExpression", "start": 5408, "end": 5426, "loc": { "start": { "line": 148, "column": 8 }, "end": { "line": 148, "column": 26 } }, "object": { "type": "Identifier", "start": 5408, "end": 5418, "loc": { "start": { "line": 148, "column": 8 }, "end": { "line": 148, "column": 18 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 5419, "end": 5426, "loc": { "start": { "line": 148, "column": 19 }, "end": { "line": 148, "column": 26 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 5427, "end": 5432, "loc": { "start": { "line": 148, "column": 27 }, "end": { "line": 148, "column": 32 }, "identifierName": "scale" }, "name": "scale" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 5433, "end": 5444, "loc": { "start": { "line": 148, "column": 33 }, "end": { "line": 148, "column": 44 }, "identifierName": "scaleFactor" }, "name": "scaleFactor" }, { "type": "Identifier", "start": 5446, "end": 5457, "loc": { "start": { "line": 148, "column": 46 }, "end": { "line": 148, "column": 57 }, "identifierName": "scaleFactor" }, "name": "scaleFactor" } ] } }, { "type": "ExpressionStatement", "start": 5469, "end": 5598, "loc": { "start": { "line": 149, "column": 8 }, "end": { "line": 151, "column": 39 } }, "expression": { "type": "AssignmentExpression", "start": 5469, "end": 5597, "loc": { "start": { "line": 149, "column": 8 }, "end": { "line": 151, "column": 38 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5469, "end": 5497, "loc": { "start": { "line": 149, "column": 8 }, "end": { "line": 149, "column": 36 } }, "object": { "type": "MemberExpression", "start": 5469, "end": 5487, "loc": { "start": { "line": 149, "column": 8 }, "end": { "line": 149, "column": 26 } }, "object": { "type": "Identifier", "start": 5469, "end": 5479, "loc": { "start": { "line": 149, "column": 8 }, "end": { "line": 149, "column": 18 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 5480, "end": 5487, "loc": { "start": { "line": 149, "column": 19 }, "end": { "line": 149, "column": 26 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 5488, "end": 5497, "loc": { "start": { "line": 149, "column": 27 }, "end": { "line": 149, "column": 36 }, "identifierName": "fillStyle" }, "name": "fillStyle" }, "computed": false }, "right": { "type": "ConditionalExpression", "start": 5500, "end": 5597, "loc": { "start": { "line": 149, "column": 39 }, "end": { "line": 151, "column": 38 } }, "test": { "type": "Identifier", "start": 5500, "end": 5511, "loc": { "start": { "line": 149, "column": 39 }, "end": { "line": 149, "column": 50 }, "identifierName": "hasTileGrid" }, "name": "hasTileGrid" }, "consequent": { "type": "MemberExpression", "start": 5527, "end": 5555, "loc": { "start": { "line": 150, "column": 12 }, "end": { "line": 150, "column": 40 } }, "object": { "type": "ThisExpression", "start": 5527, "end": 5531, "loc": { "start": { "line": 150, "column": 12 }, "end": { "line": 150, "column": 16 } } }, "property": { "type": "Identifier", "start": 5532, "end": 5555, "loc": { "start": { "line": 150, "column": 17 }, "end": { "line": 150, "column": 40 }, "identifierName": "cachedPatternBackground" }, "name": "cachedPatternBackground" }, "computed": false }, "alternate": { "type": "StringLiteral", "start": 5571, "end": 5597, "loc": { "start": { "line": 151, "column": 12 }, "end": { "line": 151, "column": 38 } }, "extra": { "rawValue": "rgba(78, 137, 125, 0.75)", "raw": "\"rgba(78, 137, 125, 0.75)\"" }, "value": "rgba(78, 137, 125, 0.75)" } } } }, { "type": "ExpressionStatement", "start": 5608, "end": 5795, "loc": { "start": { "line": 152, "column": 8 }, "end": { "line": 157, "column": 10 } }, "expression": { "type": "CallExpression", "start": 5608, "end": 5794, "loc": { "start": { "line": 152, "column": 8 }, "end": { "line": 157, "column": 9 } }, "callee": { "type": "MemberExpression", "start": 5608, "end": 5635, "loc": { "start": { "line": 152, "column": 8 }, "end": { "line": 152, "column": 35 } }, "object": { "type": "MemberExpression", "start": 5608, "end": 5626, "loc": { "start": { "line": 152, "column": 8 }, "end": { "line": 152, "column": 26 } }, "object": { "type": "Identifier", "start": 5608, "end": 5618, "loc": { "start": { "line": 152, "column": 8 }, "end": { "line": 152, "column": 18 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 5619, "end": 5626, "loc": { "start": { "line": 152, "column": 19 }, "end": { "line": 152, "column": 26 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 5627, "end": 5635, "loc": { "start": { "line": 152, "column": 27 }, "end": { "line": 152, "column": 35 }, "identifierName": "fillRect" }, "name": "fillRect" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 5650, "end": 5672, "loc": { "start": { "line": 153, "column": 12 }, "end": { "line": 153, "column": 34 } }, "left": { "type": "MemberExpression", "start": 5650, "end": 5658, "loc": { "start": { "line": 153, "column": 12 }, "end": { "line": 153, "column": 20 } }, "object": { "type": "Identifier", "start": 5650, "end": 5656, "loc": { "start": { "line": 153, "column": 12 }, "end": { "line": 153, "column": 18 }, "identifierName": "bounds" }, "name": "bounds" }, "property": { "type": "Identifier", "start": 5657, "end": 5658, "loc": { "start": { "line": 153, "column": 19 }, "end": { "line": 153, "column": 20 }, "identifierName": "x" }, "name": "x" }, "computed": false }, "operator": "/", "right": { "type": "Identifier", "start": 5661, "end": 5672, "loc": { "start": { "line": 153, "column": 23 }, "end": { "line": 153, "column": 34 }, "identifierName": "scaleFactor" }, "name": "scaleFactor" } }, { "type": "BinaryExpression", "start": 5687, "end": 5709, "loc": { "start": { "line": 154, "column": 12 }, "end": { "line": 154, "column": 34 } }, "left": { "type": "MemberExpression", "start": 5687, "end": 5695, "loc": { "start": { "line": 154, "column": 12 }, "end": { "line": 154, "column": 20 } }, "object": { "type": "Identifier", "start": 5687, "end": 5693, "loc": { "start": { "line": 154, "column": 12 }, "end": { "line": 154, "column": 18 }, "identifierName": "bounds" }, "name": "bounds" }, "property": { "type": "Identifier", "start": 5694, "end": 5695, "loc": { "start": { "line": 154, "column": 19 }, "end": { "line": 154, "column": 20 }, "identifierName": "y" }, "name": "y" }, "computed": false }, "operator": "/", "right": { "type": "Identifier", "start": 5698, "end": 5709, "loc": { "start": { "line": 154, "column": 23 }, "end": { "line": 154, "column": 34 }, "identifierName": "scaleFactor" }, "name": "scaleFactor" } }, { "type": "BinaryExpression", "start": 5724, "end": 5746, "loc": { "start": { "line": 155, "column": 12 }, "end": { "line": 155, "column": 34 } }, "left": { "type": "MemberExpression", "start": 5724, "end": 5732, "loc": { "start": { "line": 155, "column": 12 }, "end": { "line": 155, "column": 20 } }, "object": { "type": "Identifier", "start": 5724, "end": 5730, "loc": { "start": { "line": 155, "column": 12 }, "end": { "line": 155, "column": 18 }, "identifierName": "bounds" }, "name": "bounds" }, "property": { "type": "Identifier", "start": 5731, "end": 5732, "loc": { "start": { "line": 155, "column": 19 }, "end": { "line": 155, "column": 20 }, "identifierName": "w" }, "name": "w" }, "computed": false }, "operator": "/", "right": { "type": "Identifier", "start": 5735, "end": 5746, "loc": { "start": { "line": 155, "column": 23 }, "end": { "line": 155, "column": 34 }, "identifierName": "scaleFactor" }, "name": "scaleFactor" } }, { "type": "BinaryExpression", "start": 5761, "end": 5783, "loc": { "start": { "line": 156, "column": 12 }, "end": { "line": 156, "column": 34 } }, "left": { "type": "MemberExpression", "start": 5761, "end": 5769, "loc": { "start": { "line": 156, "column": 12 }, "end": { "line": 156, "column": 20 } }, "object": { "type": "Identifier", "start": 5761, "end": 5767, "loc": { "start": { "line": 156, "column": 12 }, "end": { "line": 156, "column": 18 }, "identifierName": "bounds" }, "name": "bounds" }, "property": { "type": "Identifier", "start": 5768, "end": 5769, "loc": { "start": { "line": 156, "column": 19 }, "end": { "line": 156, "column": 20 }, "identifierName": "h" }, "name": "h" }, "computed": false }, "operator": "/", "right": { "type": "Identifier", "start": 5772, "end": 5783, "loc": { "start": { "line": 156, "column": 23 }, "end": { "line": 156, "column": 34 }, "identifierName": "scaleFactor" }, "name": "scaleFactor" } } ] } }, { "type": "ExpressionStatement", "start": 5805, "end": 5864, "loc": { "start": { "line": 158, "column": 8 }, "end": { "line": 158, "column": 67 } }, "expression": { "type": "CallExpression", "start": 5805, "end": 5863, "loc": { "start": { "line": 158, "column": 8 }, "end": { "line": 158, "column": 66 } }, "callee": { "type": "MemberExpression", "start": 5805, "end": 5829, "loc": { "start": { "line": 158, "column": 8 }, "end": { "line": 158, "column": 32 } }, "object": { "type": "MemberExpression", "start": 5805, "end": 5823, "loc": { "start": { "line": 158, "column": 8 }, "end": { "line": 158, "column": 26 } }, "object": { "type": "Identifier", "start": 5805, "end": 5815, "loc": { "start": { "line": 158, "column": 8 }, "end": { "line": 158, "column": 18 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 5816, "end": 5823, "loc": { "start": { "line": 158, "column": 19 }, "end": { "line": 158, "column": 26 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 5824, "end": 5829, "loc": { "start": { "line": 158, "column": 27 }, "end": { "line": 158, "column": 32 }, "identifierName": "scale" }, "name": "scale" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 5830, "end": 5845, "loc": { "start": { "line": 158, "column": 33 }, "end": { "line": 158, "column": 48 } }, "left": { "type": "NumericLiteral", "start": 5830, "end": 5831, "loc": { "start": { "line": 158, "column": 33 }, "end": { "line": 158, "column": 34 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "operator": "/", "right": { "type": "Identifier", "start": 5834, "end": 5845, "loc": { "start": { "line": 158, "column": 37 }, "end": { "line": 158, "column": 48 }, "identifierName": "scaleFactor" }, "name": "scaleFactor" } }, { "type": "BinaryExpression", "start": 5847, "end": 5862, "loc": { "start": { "line": 158, "column": 50 }, "end": { "line": 158, "column": 65 } }, "left": { "type": "NumericLiteral", "start": 5847, "end": 5848, "loc": { "start": { "line": 158, "column": 50 }, "end": { "line": 158, "column": 51 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "operator": "/", "right": { "type": "Identifier", "start": 5851, "end": 5862, "loc": { "start": { "line": 158, "column": 54 }, "end": { "line": 158, "column": 65 }, "identifierName": "scaleFactor" }, "name": "scaleFactor" } } ] } }, { "type": "ExpressionStatement", "start": 5876, "end": 5911, "loc": { "start": { "line": 160, "column": 8 }, "end": { "line": 160, "column": 43 } }, "expression": { "type": "AssignmentExpression", "start": 5876, "end": 5910, "loc": { "start": { "line": 160, "column": 8 }, "end": { "line": 160, "column": 42 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5876, "end": 5906, "loc": { "start": { "line": 160, "column": 8 }, "end": { "line": 160, "column": 38 } }, "object": { "type": "MemberExpression", "start": 5876, "end": 5894, "loc": { "start": { "line": 160, "column": 8 }, "end": { "line": 160, "column": 26 } }, "object": { "type": "Identifier", "start": 5876, "end": 5886, "loc": { "start": { "line": 160, "column": 8 }, "end": { "line": 160, "column": 18 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 5887, "end": 5894, "loc": { "start": { "line": 160, "column": 19 }, "end": { "line": 160, "column": 26 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 5895, "end": 5906, "loc": { "start": { "line": 160, "column": 27 }, "end": { "line": 160, "column": 38 }, "identifierName": "globalAlpha" }, "name": "globalAlpha" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 5909, "end": 5910, "loc": { "start": { "line": 160, "column": 41 }, "end": { "line": 160, "column": 42 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n *\r\n * @param {DrawParameters} parameters\r\n ", "start": 4516, "end": 4579, "loc": { "start": { "line": 124, "column": 4 }, "end": { "line": 127, "column": 7 } } } ] } ] }, "leadingComments": [], "trailingComments": [] } } ], "directives": [] }, "comments": [ { "type": "CommentLine", "value": " Probably not the best location, but the one which makes most sense", "start": 684, "end": 753, "loc": { "start": { "line": 18, "column": 8 }, "end": { "line": 18, "column": 77 } } }, { "type": "CommentBlock", "value": "*\r\n * Switches between layers\r\n ", "start": 1054, "end": 1098, "loc": { "start": { "line": 27, "column": 4 }, "end": { "line": 29, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Generates the background pattern for the wires overlay\r\n ", "start": 2384, "end": 2459, "loc": { "start": { "line": 57, "column": 4 }, "end": { "line": 59, "column": 7 } } }, { "type": "CommentLine", "value": " On low performance, skip the fade", "start": 3074, "end": 3110, "loc": { "start": { "line": 76, "column": 8 }, "end": { "line": 76, "column": 44 } } }, { "type": "CommentBlock", "value": "*\r\n * Copies the wires value below the cursor\r\n ", "start": 3383, "end": 3443, "loc": { "start": { "line": 84, "column": 4 }, "end": { "line": 86, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n *\r\n * @param {DrawParameters} parameters\r\n ", "start": 4516, "end": 4579, "loc": { "start": { "line": 124, "column": 4 }, "end": { "line": 127, "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": "makeOffscreenBuffer", "start": 9, "end": 28, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 29, "end": 30, "loc": { "start": { "line": 1, "column": 29 }, "end": { "line": 1, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 31, "end": 35, "loc": { "start": { "line": 1, "column": 31 }, "end": { "line": 1, "column": 35 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../../../core/buffer_utils", "start": 36, "end": 64, "loc": { "start": { "line": 1, "column": 36 }, "end": { "line": 1, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 64, "end": 65, "loc": { "start": { "line": 1, "column": 64 }, "end": { "line": 1, "column": 65 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 67, "end": 73, "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": 74, "end": 75, "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": "globalConfig", "start": 76, "end": 88, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 89, "end": 90, "loc": { "start": { "line": 2, "column": 22 }, "end": { "line": 2, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 91, "end": 95, "loc": { "start": { "line": 2, "column": 24 }, "end": { "line": 2, "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": 96, "end": 118, "loc": { "start": { "line": 2, "column": 29 }, "end": { "line": 2, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 118, "end": 119, "loc": { "start": { "line": 2, "column": 51 }, "end": { "line": 2, "column": 52 } } }, { "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": 121, "end": 127, "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": 128, "end": 129, "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": "DrawParameters", "start": 130, "end": 144, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 23 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 145, "end": 146, "loc": { "start": { "line": 3, "column": 24 }, "end": { "line": 3, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 147, "end": 151, "loc": { "start": { "line": 3, "column": 26 }, "end": { "line": 3, "column": 30 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../../../core/draw_parameters", "start": 152, "end": 183, "loc": { "start": { "line": 3, "column": 31 }, "end": { "line": 3, "column": 62 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 183, "end": 184, "loc": { "start": { "line": 3, "column": 62 }, "end": { "line": 3, "column": 63 } } }, { "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": 186, "end": 192, "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": 193, "end": 194, "loc": { "start": { "line": 4, "column": 7 }, "end": { "line": 4, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Loader", "start": 195, "end": 201, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 202, "end": 203, "loc": { "start": { "line": 4, "column": 16 }, "end": { "line": 4, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 204, "end": 208, "loc": { "start": { "line": 4, "column": 18 }, "end": { "line": 4, "column": 22 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../../../core/loader", "start": 209, "end": 231, "loc": { "start": { "line": 4, "column": 23 }, "end": { "line": 4, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 231, "end": 232, "loc": { "start": { "line": 4, "column": 45 }, "end": { "line": 4, "column": 46 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 234, "end": 240, "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": 241, "end": 242, "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": "lerp", "start": 243, "end": 247, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 248, "end": 249, "loc": { "start": { "line": 5, "column": 14 }, "end": { "line": 5, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 250, "end": 254, "loc": { "start": { "line": 5, "column": 16 }, "end": { "line": 5, "column": 20 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../../../core/utils", "start": 255, "end": 276, "loc": { "start": { "line": 5, "column": 21 }, "end": { "line": 5, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 276, "end": 277, "loc": { "start": { "line": 5, "column": 42 }, "end": { "line": 5, "column": 43 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 279, "end": 285, "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": 286, "end": 287, "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": "SOUNDS", "start": 288, "end": 294, "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": 295, "end": 296, "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": 297, "end": 301, "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": "../../../platform/sound", "start": 302, "end": 327, "loc": { "start": { "line": 6, "column": 23 }, "end": { "line": 6, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 327, "end": 328, "loc": { "start": { "line": 6, "column": 48 }, "end": { "line": 6, "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": 330, "end": 336, "loc": { "start": { "line": 7, "column": 0 }, "end": { "line": 7, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 337, "end": 338, "loc": { "start": { "line": 7, "column": 7 }, "end": { "line": 7, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "KEYMAPPINGS", "start": 339, "end": 350, "loc": { "start": { "line": 7, "column": 9 }, "end": { "line": 7, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 351, "end": 352, "loc": { "start": { "line": 7, "column": 21 }, "end": { "line": 7, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 353, "end": 357, "loc": { "start": { "line": 7, "column": 23 }, "end": { "line": 7, "column": 27 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../../key_action_mapper", "start": 358, "end": 383, "loc": { "start": { "line": 7, "column": 28 }, "end": { "line": 7, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 383, "end": 384, "loc": { "start": { "line": 7, "column": 53 }, "end": { "line": 7, "column": 54 } } }, { "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": 386, "end": 392, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 8, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 393, "end": 394, "loc": { "start": { "line": 8, "column": 7 }, "end": { "line": 8, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumHubGoalRewards", "start": 395, "end": 413, "loc": { "start": { "line": 8, "column": 9 }, "end": { "line": 8, "column": 27 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 414, "end": 415, "loc": { "start": { "line": 8, "column": 28 }, "end": { "line": 8, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 416, "end": 420, "loc": { "start": { "line": 8, "column": 30 }, "end": { "line": 8, "column": 34 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../../tutorial_goals", "start": 421, "end": 443, "loc": { "start": { "line": 8, "column": 35 }, "end": { "line": 8, "column": 57 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 443, "end": 444, "loc": { "start": { "line": 8, "column": 57 }, "end": { "line": 8, "column": 58 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 446, "end": 452, "loc": { "start": { "line": 9, "column": 0 }, "end": { "line": 9, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 453, "end": 454, "loc": { "start": { "line": 9, "column": 7 }, "end": { "line": 9, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "BaseHUDPart", "start": 455, "end": 466, "loc": { "start": { "line": 9, "column": 9 }, "end": { "line": 9, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 467, "end": 468, "loc": { "start": { "line": 9, "column": 21 }, "end": { "line": 9, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 469, "end": 473, "loc": { "start": { "line": 9, "column": 23 }, "end": { "line": 9, "column": 27 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../base_hud_part", "start": 474, "end": 492, "loc": { "start": { "line": 9, "column": 28 }, "end": { "line": 9, "column": 46 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 492, "end": 493, "loc": { "start": { "line": 9, "column": 46 }, "end": { "line": 9, "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": 497, "end": 502, "loc": { "start": { "line": 11, "column": 0 }, "end": { "line": 11, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "copy", "start": 503, "end": 507, "loc": { "start": { "line": 11, "column": 6 }, "end": { "line": 11, "column": 10 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 508, "end": 509, "loc": { "start": { "line": 11, "column": 11 }, "end": { "line": 11, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "require", "start": 510, "end": 517, "loc": { "start": { "line": 11, "column": 13 }, "end": { "line": 11, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 517, "end": 518, "loc": { "start": { "line": 11, "column": 20 }, "end": { "line": 11, "column": 21 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "clipboard-copy", "start": 518, "end": 534, "loc": { "start": { "line": 11, "column": 21 }, "end": { "line": 11, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 534, "end": 535, "loc": { "start": { "line": 11, "column": 37 }, "end": { "line": 11, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 535, "end": 536, "loc": { "start": { "line": 11, "column": 38 }, "end": { "line": 11, "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": 538, "end": 543, "loc": { "start": { "line": 12, "column": 0 }, "end": { "line": 12, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "wiresBackgroundDpi", "start": 544, "end": 562, "loc": { "start": { "line": 12, "column": 6 }, "end": { "line": 12, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 563, "end": 564, "loc": { "start": { "line": 12, "column": 25 }, "end": { "line": 12, "column": 26 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 4, "start": 565, "end": 566, "loc": { "start": { "line": 12, "column": 27 }, "end": { "line": 12, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 566, "end": 567, "loc": { "start": { "line": 12, "column": 28 }, "end": { "line": 12, "column": 29 } } }, { "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": 571, "end": 577, "loc": { "start": { "line": 14, "column": 0 }, "end": { "line": 14, "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": 578, "end": 583, "loc": { "start": { "line": 14, "column": 7 }, "end": { "line": 14, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "HUDWiresOverlay", "start": 584, "end": 599, "loc": { "start": { "line": 14, "column": 13 }, "end": { "line": 14, "column": 28 } } }, { "type": { "label": "extends", "keyword": "extends", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "extends", "start": 600, "end": 607, "loc": { "start": { "line": 14, "column": 29 }, "end": { "line": 14, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "BaseHUDPart", "start": 608, "end": 619, "loc": { "start": { "line": 14, "column": 37 }, "end": { "line": 14, "column": 48 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 620, "end": 621, "loc": { "start": { "line": 14, "column": 49 }, "end": { "line": 14, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createElements", "start": 627, "end": 641, "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 15, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 641, "end": 642, "loc": { "start": { "line": 15, "column": 18 }, "end": { "line": 15, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parent", "start": 642, "end": 648, "loc": { "start": { "line": 15, "column": 19 }, "end": { "line": 15, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 648, "end": 649, "loc": { "start": { "line": 15, "column": 25 }, "end": { "line": 15, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 650, "end": 651, "loc": { "start": { "line": 15, "column": 27 }, "end": { "line": 15, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 651, "end": 652, "loc": { "start": { "line": 15, "column": 28 }, "end": { "line": 15, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initialize", "start": 660, "end": 670, "loc": { "start": { "line": 17, "column": 4 }, "end": { "line": 17, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 670, "end": 671, "loc": { "start": { "line": 17, "column": 14 }, "end": { "line": 17, "column": 15 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 671, "end": 672, "loc": { "start": { "line": 17, "column": 15 }, "end": { "line": 17, "column": 16 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 673, "end": 674, "loc": { "start": { "line": 17, "column": 17 }, "end": { "line": 17, "column": 18 } } }, { "type": "CommentLine", "value": " Probably not the best location, but the one which makes most sense", "start": 684, "end": 753, "loc": { "start": { "line": 18, "column": 8 }, "end": { "line": 18, "column": 77 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 763, "end": 767, "loc": { "start": { "line": 19, "column": 8 }, "end": { "line": 19, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 767, "end": 768, "loc": { "start": { "line": 19, "column": 12 }, "end": { "line": 19, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 768, "end": 772, "loc": { "start": { "line": 19, "column": 13 }, "end": { "line": 19, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 772, "end": 773, "loc": { "start": { "line": 19, "column": 17 }, "end": { "line": 19, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyMapper", "start": 773, "end": 782, "loc": { "start": { "line": 19, "column": 18 }, "end": { "line": 19, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 782, "end": 783, "loc": { "start": { "line": 19, "column": 27 }, "end": { "line": 19, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getBinding", "start": 783, "end": 793, "loc": { "start": { "line": 19, "column": 28 }, "end": { "line": 19, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 793, "end": 794, "loc": { "start": { "line": 19, "column": 38 }, "end": { "line": 19, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "KEYMAPPINGS", "start": 794, "end": 805, "loc": { "start": { "line": 19, "column": 39 }, "end": { "line": 19, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 805, "end": 806, "loc": { "start": { "line": 19, "column": 50 }, "end": { "line": 19, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ingame", "start": 806, "end": 812, "loc": { "start": { "line": 19, "column": 51 }, "end": { "line": 19, "column": 57 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 812, "end": 813, "loc": { "start": { "line": 19, "column": 57 }, "end": { "line": 19, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "switchLayers", "start": 813, "end": 825, "loc": { "start": { "line": 19, "column": 58 }, "end": { "line": 19, "column": 70 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 825, "end": 826, "loc": { "start": { "line": 19, "column": 70 }, "end": { "line": 19, "column": 71 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 826, "end": 827, "loc": { "start": { "line": 19, "column": 71 }, "end": { "line": 19, "column": 72 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "add", "start": 827, "end": 830, "loc": { "start": { "line": 19, "column": 72 }, "end": { "line": 19, "column": 75 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 830, "end": 831, "loc": { "start": { "line": 19, "column": 75 }, "end": { "line": 19, "column": 76 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 831, "end": 835, "loc": { "start": { "line": 19, "column": 76 }, "end": { "line": 19, "column": 80 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 835, "end": 836, "loc": { "start": { "line": 19, "column": 80 }, "end": { "line": 19, "column": 81 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "switchLayers", "start": 836, "end": 848, "loc": { "start": { "line": 19, "column": 81 }, "end": { "line": 19, "column": 93 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 848, "end": 849, "loc": { "start": { "line": 19, "column": 93 }, "end": { "line": 19, "column": 94 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 850, "end": 854, "loc": { "start": { "line": 19, "column": 95 }, "end": { "line": 19, "column": 99 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 854, "end": 855, "loc": { "start": { "line": 19, "column": 99 }, "end": { "line": 19, "column": 100 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 855, "end": 856, "loc": { "start": { "line": 19, "column": 100 }, "end": { "line": 19, "column": 101 } } }, { "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": 866, "end": 870, "loc": { "start": { "line": 20, "column": 8 }, "end": { "line": 20, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 870, "end": 871, "loc": { "start": { "line": 20, "column": 12 }, "end": { "line": 20, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 871, "end": 875, "loc": { "start": { "line": 20, "column": 13 }, "end": { "line": 20, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 875, "end": 876, "loc": { "start": { "line": 20, "column": 17 }, "end": { "line": 20, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "keyMapper", "start": 876, "end": 885, "loc": { "start": { "line": 20, "column": 18 }, "end": { "line": 20, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 885, "end": 886, "loc": { "start": { "line": 20, "column": 27 }, "end": { "line": 20, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getBinding", "start": 886, "end": 896, "loc": { "start": { "line": 20, "column": 28 }, "end": { "line": 20, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 896, "end": 897, "loc": { "start": { "line": 20, "column": 38 }, "end": { "line": 20, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "KEYMAPPINGS", "start": 897, "end": 908, "loc": { "start": { "line": 20, "column": 39 }, "end": { "line": 20, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 908, "end": 909, "loc": { "start": { "line": 20, "column": 50 }, "end": { "line": 20, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "placement", "start": 909, "end": 918, "loc": { "start": { "line": 20, "column": 51 }, "end": { "line": 20, "column": 60 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 918, "end": 919, "loc": { "start": { "line": 20, "column": 60 }, "end": { "line": 20, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "copyWireValue", "start": 919, "end": 932, "loc": { "start": { "line": 20, "column": 61 }, "end": { "line": 20, "column": 74 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 932, "end": 933, "loc": { "start": { "line": 20, "column": 74 }, "end": { "line": 20, "column": 75 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 933, "end": 934, "loc": { "start": { "line": 20, "column": 75 }, "end": { "line": 20, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "add", "start": 934, "end": 937, "loc": { "start": { "line": 20, "column": 76 }, "end": { "line": 20, "column": 79 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 937, "end": 938, "loc": { "start": { "line": 20, "column": 79 }, "end": { "line": 20, "column": 80 } } }, { "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": 938, "end": 942, "loc": { "start": { "line": 20, "column": 80 }, "end": { "line": 20, "column": 84 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 942, "end": 943, "loc": { "start": { "line": 20, "column": 84 }, "end": { "line": 20, "column": 85 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "copyWireValue", "start": 943, "end": 956, "loc": { "start": { "line": 20, "column": 85 }, "end": { "line": 20, "column": 98 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 956, "end": 957, "loc": { "start": { "line": 20, "column": 98 }, "end": { "line": 20, "column": 99 } } }, { "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": 958, "end": 962, "loc": { "start": { "line": 20, "column": 100 }, "end": { "line": 20, "column": 104 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 962, "end": 963, "loc": { "start": { "line": 20, "column": 104 }, "end": { "line": 20, "column": 105 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 963, "end": 964, "loc": { "start": { "line": 20, "column": 105 }, "end": { "line": 20, "column": 106 } } }, { "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": 976, "end": 980, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 980, "end": 981, "loc": { "start": { "line": 22, "column": 12 }, "end": { "line": 22, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "generateTilePattern", "start": 981, "end": 1000, "loc": { "start": { "line": 22, "column": 13 }, "end": { "line": 22, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1000, "end": 1001, "loc": { "start": { "line": 22, "column": 32 }, "end": { "line": 22, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1001, "end": 1002, "loc": { "start": { "line": 22, "column": 33 }, "end": { "line": 22, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1002, "end": 1003, "loc": { "start": { "line": 22, "column": 34 }, "end": { "line": 22, "column": 35 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1015, "end": 1019, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1019, "end": 1020, "loc": { "start": { "line": 24, "column": 12 }, "end": { "line": 24, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentAlpha", "start": 1020, "end": 1032, "loc": { "start": { "line": 24, "column": 13 }, "end": { "line": 24, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1033, "end": 1034, "loc": { "start": { "line": 24, "column": 26 }, "end": { "line": 24, "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": 1035, "end": 1038, "loc": { "start": { "line": 24, "column": 28 }, "end": { "line": 24, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1038, "end": 1039, "loc": { "start": { "line": 24, "column": 31 }, "end": { "line": 24, "column": 32 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1045, "end": 1046, "loc": { "start": { "line": 25, "column": 4 }, "end": { "line": 25, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Switches between layers\r\n ", "start": 1054, "end": 1098, "loc": { "start": { "line": 27, "column": 4 }, "end": { "line": 29, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "switchLayers", "start": 1104, "end": 1116, "loc": { "start": { "line": 30, "column": 4 }, "end": { "line": 30, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1116, "end": 1117, "loc": { "start": { "line": 30, "column": 16 }, "end": { "line": 30, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1117, "end": 1118, "loc": { "start": { "line": 30, "column": 17 }, "end": { "line": 30, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1119, "end": 1120, "loc": { "start": { "line": 30, "column": 19 }, "end": { "line": 30, "column": 20 } } }, { "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": 1130, "end": 1132, "loc": { "start": { "line": 31, "column": 8 }, "end": { "line": 31, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1133, "end": 1134, "loc": { "start": { "line": 31, "column": 11 }, "end": { "line": 31, "column": 12 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1134, "end": 1138, "loc": { "start": { "line": 31, "column": 12 }, "end": { "line": 31, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1138, "end": 1139, "loc": { "start": { "line": 31, "column": 16 }, "end": { "line": 31, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 1139, "end": 1143, "loc": { "start": { "line": 31, "column": 17 }, "end": { "line": 31, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1143, "end": 1144, "loc": { "start": { "line": 31, "column": 21 }, "end": { "line": 31, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentLayer", "start": 1144, "end": 1156, "loc": { "start": { "line": 31, "column": 22 }, "end": { "line": 31, "column": 34 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 1157, "end": 1160, "loc": { "start": { "line": 31, "column": 35 }, "end": { "line": 31, "column": 38 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "regular", "start": 1161, "end": 1170, "loc": { "start": { "line": 31, "column": 39 }, "end": { "line": 31, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1170, "end": 1171, "loc": { "start": { "line": 31, "column": 48 }, "end": { "line": 31, "column": 49 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1172, "end": 1173, "loc": { "start": { "line": 31, "column": 50 }, "end": { "line": 31, "column": 51 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 1187, "end": 1189, "loc": { "start": { "line": 32, "column": 12 }, "end": { "line": 32, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1190, "end": 1191, "loc": { "start": { "line": 32, "column": 15 }, "end": { "line": 32, "column": 16 } } }, { "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": 1209, "end": 1213, "loc": { "start": { "line": 33, "column": 16 }, "end": { "line": 33, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1213, "end": 1214, "loc": { "start": { "line": 33, "column": 20 }, "end": { "line": 33, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 1214, "end": 1218, "loc": { "start": { "line": 33, "column": 21 }, "end": { "line": 33, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1218, "end": 1219, "loc": { "start": { "line": 33, "column": 25 }, "end": { "line": 33, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hubGoals", "start": 1219, "end": 1227, "loc": { "start": { "line": 33, "column": 26 }, "end": { "line": 33, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1227, "end": 1228, "loc": { "start": { "line": 33, "column": 34 }, "end": { "line": 33, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isRewardUnlocked", "start": 1228, "end": 1244, "loc": { "start": { "line": 33, "column": 35 }, "end": { "line": 33, "column": 51 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1244, "end": 1245, "loc": { "start": { "line": 33, "column": 51 }, "end": { "line": 33, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumHubGoalRewards", "start": 1245, "end": 1263, "loc": { "start": { "line": 33, "column": 52 }, "end": { "line": 33, "column": 70 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1263, "end": 1264, "loc": { "start": { "line": 33, "column": 70 }, "end": { "line": 33, "column": 71 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "reward_wires_painter_and_levers", "start": 1264, "end": 1295, "loc": { "start": { "line": 33, "column": 71 }, "end": { "line": 33, "column": 102 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1295, "end": 1296, "loc": { "start": { "line": 33, "column": 102 }, "end": { "line": 33, "column": 103 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 1297, "end": 1299, "loc": { "start": { "line": 33, "column": 104 }, "end": { "line": 33, "column": 106 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1317, "end": 1318, "loc": { "start": { "line": 34, "column": 16 }, "end": { "line": 34, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "G_IS_DEV", "start": 1318, "end": 1326, "loc": { "start": { "line": 34, "column": 17 }, "end": { "line": 34, "column": 25 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 1327, "end": 1329, "loc": { "start": { "line": 34, "column": 26 }, "end": { "line": 34, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 1330, "end": 1342, "loc": { "start": { "line": 34, "column": 29 }, "end": { "line": 34, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1342, "end": 1343, "loc": { "start": { "line": 34, "column": 41 }, "end": { "line": 34, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 1343, "end": 1348, "loc": { "start": { "line": 34, "column": 42 }, "end": { "line": 34, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1348, "end": 1349, "loc": { "start": { "line": 34, "column": 47 }, "end": { "line": 34, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "allBuildingsUnlocked", "start": 1349, "end": 1369, "loc": { "start": { "line": 34, "column": 48 }, "end": { "line": 34, "column": 68 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1369, "end": 1370, "loc": { "start": { "line": 34, "column": 68 }, "end": { "line": 34, "column": 69 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1384, "end": 1385, "loc": { "start": { "line": 35, "column": 12 }, "end": { "line": 35, "column": 13 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1386, "end": 1387, "loc": { "start": { "line": 35, "column": 14 }, "end": { "line": 35, "column": 15 } } }, { "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": 1405, "end": 1409, "loc": { "start": { "line": 36, "column": 16 }, "end": { "line": 36, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1409, "end": 1410, "loc": { "start": { "line": 36, "column": 20 }, "end": { "line": 36, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 1410, "end": 1414, "loc": { "start": { "line": 36, "column": 21 }, "end": { "line": 36, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1414, "end": 1415, "loc": { "start": { "line": 36, "column": 25 }, "end": { "line": 36, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentLayer", "start": 1415, "end": 1427, "loc": { "start": { "line": 36, "column": 26 }, "end": { "line": 36, "column": 38 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1428, "end": 1429, "loc": { "start": { "line": 36, "column": 39 }, "end": { "line": 36, "column": 40 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "wires", "start": 1430, "end": 1437, "loc": { "start": { "line": 36, "column": 41 }, "end": { "line": 36, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1437, "end": 1438, "loc": { "start": { "line": 36, "column": 48 }, "end": { "line": 36, "column": 49 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1452, "end": 1453, "loc": { "start": { "line": 37, "column": 12 }, "end": { "line": 37, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1463, "end": 1464, "loc": { "start": { "line": 38, "column": 8 }, "end": { "line": 38, "column": 9 } } }, { "type": { "label": "else", "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "else", "start": 1465, "end": 1469, "loc": { "start": { "line": 38, "column": 10 }, "end": { "line": 38, "column": 14 } } }, { "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": 1470, "end": 1472, "loc": { "start": { "line": 38, "column": 15 }, "end": { "line": 38, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1473, "end": 1474, "loc": { "start": { "line": 38, "column": 18 }, "end": { "line": 38, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapezAPI", "start": 1488, "end": 1497, "loc": { "start": { "line": 39, "column": 12 }, "end": { "line": 39, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1497, "end": 1498, "loc": { "start": { "line": 39, "column": 21 }, "end": { "line": 39, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ingame", "start": 1498, "end": 1504, "loc": { "start": { "line": 39, "column": 22 }, "end": { "line": 39, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1504, "end": 1505, "loc": { "start": { "line": 39, "column": 28 }, "end": { "line": 39, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layers", "start": 1505, "end": 1511, "loc": { "start": { "line": 39, "column": 29 }, "end": { "line": 39, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1511, "end": 1512, "loc": { "start": { "line": 39, "column": 35 }, "end": { "line": 39, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 1512, "end": 1518, "loc": { "start": { "line": 39, "column": 36 }, "end": { "line": 39, "column": 42 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 1519, "end": 1520, "loc": { "start": { "line": 39, "column": 43 }, "end": { "line": 39, "column": 44 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 1521, "end": 1522, "loc": { "start": { "line": 39, "column": 45 }, "end": { "line": 39, "column": 46 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 1523, "end": 1525, "loc": { "start": { "line": 39, "column": 47 }, "end": { "line": 39, "column": 49 } } }, { "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": 1539, "end": 1543, "loc": { "start": { "line": 40, "column": 12 }, "end": { "line": 40, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1543, "end": 1544, "loc": { "start": { "line": 40, "column": 16 }, "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": "root", "start": 1544, "end": 1548, "loc": { "start": { "line": 40, "column": 17 }, "end": { "line": 40, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1548, "end": 1549, "loc": { "start": { "line": 40, "column": 21 }, "end": { "line": 40, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentLayer", "start": 1549, "end": 1561, "loc": { "start": { "line": 40, "column": 22 }, "end": { "line": 40, "column": 34 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 1562, "end": 1565, "loc": { "start": { "line": 40, "column": 35 }, "end": { "line": 40, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapezAPI", "start": 1566, "end": 1575, "loc": { "start": { "line": 40, "column": 39 }, "end": { "line": 40, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1575, "end": 1576, "loc": { "start": { "line": 40, "column": 48 }, "end": { "line": 40, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ingame", "start": 1576, "end": 1582, "loc": { "start": { "line": 40, "column": 49 }, "end": { "line": 40, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1582, "end": 1583, "loc": { "start": { "line": 40, "column": 55 }, "end": { "line": 40, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layers", "start": 1583, "end": 1589, "loc": { "start": { "line": 40, "column": 56 }, "end": { "line": 40, "column": 62 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1589, "end": 1590, "loc": { "start": { "line": 40, "column": 62 }, "end": { "line": 40, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapezAPI", "start": 1590, "end": 1599, "loc": { "start": { "line": 40, "column": 63 }, "end": { "line": 40, "column": 72 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1599, "end": 1600, "loc": { "start": { "line": 40, "column": 72 }, "end": { "line": 40, "column": 73 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ingame", "start": 1600, "end": 1606, "loc": { "start": { "line": 40, "column": 73 }, "end": { "line": 40, "column": 79 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1606, "end": 1607, "loc": { "start": { "line": 40, "column": 79 }, "end": { "line": 40, "column": 80 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layers", "start": 1607, "end": 1613, "loc": { "start": { "line": 40, "column": 80 }, "end": { "line": 40, "column": 86 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1613, "end": 1614, "loc": { "start": { "line": 40, "column": 86 }, "end": { "line": 40, "column": 87 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 1614, "end": 1620, "loc": { "start": { "line": 40, "column": 87 }, "end": { "line": 40, "column": 93 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 1621, "end": 1622, "loc": { "start": { "line": 40, "column": 94 }, "end": { "line": 40, "column": 95 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 1623, "end": 1624, "loc": { "start": { "line": 40, "column": 96 }, "end": { "line": 40, "column": 97 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1624, "end": 1625, "loc": { "start": { "line": 40, "column": 97 }, "end": { "line": 40, "column": 98 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1635, "end": 1636, "loc": { "start": { "line": 41, "column": 8 }, "end": { "line": 41, "column": 9 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1637, "end": 1638, "loc": { "start": { "line": 41, "column": 10 }, "end": { "line": 41, "column": 11 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1652, "end": 1656, "loc": { "start": { "line": 42, "column": 12 }, "end": { "line": 42, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1656, "end": 1657, "loc": { "start": { "line": 42, "column": 16 }, "end": { "line": 42, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 1657, "end": 1661, "loc": { "start": { "line": 42, "column": 17 }, "end": { "line": 42, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1661, "end": 1662, "loc": { "start": { "line": 42, "column": 21 }, "end": { "line": 42, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentLayer", "start": 1662, "end": 1674, "loc": { "start": { "line": 42, "column": 22 }, "end": { "line": 42, "column": 34 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1675, "end": 1676, "loc": { "start": { "line": 42, "column": 35 }, "end": { "line": 42, "column": 36 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "regular", "start": 1677, "end": 1686, "loc": { "start": { "line": 42, "column": 37 }, "end": { "line": 42, "column": 46 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1686, "end": 1687, "loc": { "start": { "line": 42, "column": 46 }, "end": { "line": 42, "column": 47 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1697, "end": 1698, "loc": { "start": { "line": 43, "column": 8 }, "end": { "line": 43, "column": 9 } } }, { "type": { "label": "else", "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "else", "start": 1699, "end": 1703, "loc": { "start": { "line": 43, "column": 10 }, "end": { "line": 43, "column": 14 } } }, { "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": 1704, "end": 1706, "loc": { "start": { "line": 43, "column": 15 }, "end": { "line": 43, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1707, "end": 1708, "loc": { "start": { "line": 43, "column": 18 }, "end": { "line": 43, "column": 19 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1708, "end": 1712, "loc": { "start": { "line": 43, "column": 19 }, "end": { "line": 43, "column": 23 } } }, { "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": 43, "column": 23 }, "end": { "line": 43, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 1713, "end": 1717, "loc": { "start": { "line": 43, "column": 24 }, "end": { "line": 43, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1717, "end": 1718, "loc": { "start": { "line": 43, "column": 28 }, "end": { "line": 43, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentLayer", "start": 1718, "end": 1730, "loc": { "start": { "line": 43, "column": 29 }, "end": { "line": 43, "column": 41 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 1731, "end": 1734, "loc": { "start": { "line": 43, "column": 42 }, "end": { "line": 43, "column": 45 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "wires", "start": 1735, "end": 1742, "loc": { "start": { "line": 43, "column": 46 }, "end": { "line": 43, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1742, "end": 1743, "loc": { "start": { "line": 43, "column": 53 }, "end": { "line": 43, "column": 54 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1744, "end": 1745, "loc": { "start": { "line": 43, "column": 55 }, "end": { "line": 43, "column": 56 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 1759, "end": 1761, "loc": { "start": { "line": 44, "column": 12 }, "end": { "line": 44, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1762, "end": 1763, "loc": { "start": { "line": 44, "column": 15 }, "end": { "line": 44, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapezAPI", "start": 1763, "end": 1772, "loc": { "start": { "line": 44, "column": 16 }, "end": { "line": 44, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1772, "end": 1773, "loc": { "start": { "line": 44, "column": 25 }, "end": { "line": 44, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ingame", "start": 1773, "end": 1779, "loc": { "start": { "line": 44, "column": 26 }, "end": { "line": 44, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1779, "end": 1780, "loc": { "start": { "line": 44, "column": 32 }, "end": { "line": 44, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layers", "start": 1780, "end": 1786, "loc": { "start": { "line": 44, "column": 33 }, "end": { "line": 44, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1786, "end": 1787, "loc": { "start": { "line": 44, "column": 39 }, "end": { "line": 44, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 1787, "end": 1793, "loc": { "start": { "line": 44, "column": 40 }, "end": { "line": 44, "column": 46 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 1794, "end": 1795, "loc": { "start": { "line": 44, "column": 47 }, "end": { "line": 44, "column": 48 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 1796, "end": 1797, "loc": { "start": { "line": 44, "column": 49 }, "end": { "line": 44, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1797, "end": 1798, "loc": { "start": { "line": 44, "column": 50 }, "end": { "line": 44, "column": 51 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1799, "end": 1800, "loc": { "start": { "line": 44, "column": 52 }, "end": { "line": 44, "column": 53 } } }, { "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": 1818, "end": 1822, "loc": { "start": { "line": 45, "column": 16 }, "end": { "line": 45, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1822, "end": 1823, "loc": { "start": { "line": 45, "column": 20 }, "end": { "line": 45, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 1823, "end": 1827, "loc": { "start": { "line": 45, "column": 21 }, "end": { "line": 45, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1827, "end": 1828, "loc": { "start": { "line": 45, "column": 25 }, "end": { "line": 45, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentLayer", "start": 1828, "end": 1840, "loc": { "start": { "line": 45, "column": 26 }, "end": { "line": 45, "column": 38 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1841, "end": 1842, "loc": { "start": { "line": 45, "column": 39 }, "end": { "line": 45, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapezAPI", "start": 1843, "end": 1852, "loc": { "start": { "line": 45, "column": 41 }, "end": { "line": 45, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1852, "end": 1853, "loc": { "start": { "line": 45, "column": 50 }, "end": { "line": 45, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ingame", "start": 1853, "end": 1859, "loc": { "start": { "line": 45, "column": 51 }, "end": { "line": 45, "column": 57 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1859, "end": 1860, "loc": { "start": { "line": 45, "column": 57 }, "end": { "line": 45, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layers", "start": 1860, "end": 1866, "loc": { "start": { "line": 45, "column": 58 }, "end": { "line": 45, "column": 64 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1866, "end": 1867, "loc": { "start": { "line": 45, "column": 64 }, "end": { "line": 45, "column": 65 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 1867, "end": 1868, "loc": { "start": { "line": 45, "column": 65 }, "end": { "line": 45, "column": 66 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1868, "end": 1869, "loc": { "start": { "line": 45, "column": 66 }, "end": { "line": 45, "column": 67 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1869, "end": 1870, "loc": { "start": { "line": 45, "column": 67 }, "end": { "line": 45, "column": 68 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1884, "end": 1885, "loc": { "start": { "line": 46, "column": 12 }, "end": { "line": 46, "column": 13 } } }, { "type": { "label": "else", "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "else", "start": 1886, "end": 1890, "loc": { "start": { "line": 46, "column": 14 }, "end": { "line": 46, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1891, "end": 1892, "loc": { "start": { "line": 46, "column": 19 }, "end": { "line": 46, "column": 20 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1910, "end": 1914, "loc": { "start": { "line": 47, "column": 16 }, "end": { "line": 47, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1914, "end": 1915, "loc": { "start": { "line": 47, "column": 20 }, "end": { "line": 47, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 1915, "end": 1919, "loc": { "start": { "line": 47, "column": 21 }, "end": { "line": 47, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1919, "end": 1920, "loc": { "start": { "line": 47, "column": 25 }, "end": { "line": 47, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentLayer", "start": 1920, "end": 1932, "loc": { "start": { "line": 47, "column": 26 }, "end": { "line": 47, "column": 38 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1933, "end": 1934, "loc": { "start": { "line": 47, "column": 39 }, "end": { "line": 47, "column": 40 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "regular", "start": 1935, "end": 1944, "loc": { "start": { "line": 47, "column": 41 }, "end": { "line": 47, "column": 50 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1944, "end": 1945, "loc": { "start": { "line": 47, "column": 50 }, "end": { "line": 47, "column": 51 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1959, "end": 1960, "loc": { "start": { "line": 48, "column": 12 }, "end": { "line": 48, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1970, "end": 1971, "loc": { "start": { "line": 49, "column": 8 }, "end": { "line": 49, "column": 9 } } }, { "type": { "label": "else", "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "else", "start": 1972, "end": 1976, "loc": { "start": { "line": 49, "column": 10 }, "end": { "line": 49, "column": 14 } } }, { "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": 1977, "end": 1979, "loc": { "start": { "line": 49, "column": 15 }, "end": { "line": 49, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1980, "end": 1981, "loc": { "start": { "line": 49, "column": 18 }, "end": { "line": 49, "column": 19 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 1981, "end": 1982, "loc": { "start": { "line": 49, "column": 19 }, "end": { "line": 49, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1982, "end": 1983, "loc": { "start": { "line": 49, "column": 20 }, "end": { "line": 49, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapezAPI", "start": 1983, "end": 1992, "loc": { "start": { "line": 49, "column": 21 }, "end": { "line": 49, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1992, "end": 1993, "loc": { "start": { "line": 49, "column": 30 }, "end": { "line": 49, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ingame", "start": 1993, "end": 1999, "loc": { "start": { "line": 49, "column": 31 }, "end": { "line": 49, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1999, "end": 2000, "loc": { "start": { "line": 49, "column": 37 }, "end": { "line": 49, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layers", "start": 2000, "end": 2006, "loc": { "start": { "line": 49, "column": 38 }, "end": { "line": 49, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2006, "end": 2007, "loc": { "start": { "line": 49, "column": 44 }, "end": { "line": 49, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "indexOf", "start": 2007, "end": 2014, "loc": { "start": { "line": 49, "column": 45 }, "end": { "line": 49, "column": 52 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2014, "end": 2015, "loc": { "start": { "line": 49, "column": 52 }, "end": { "line": 49, "column": 53 } } }, { "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": 2015, "end": 2019, "loc": { "start": { "line": 49, "column": 53 }, "end": { "line": 49, "column": 57 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2019, "end": 2020, "loc": { "start": { "line": 49, "column": 57 }, "end": { "line": 49, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 2020, "end": 2024, "loc": { "start": { "line": 49, "column": 58 }, "end": { "line": 49, "column": 62 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2024, "end": 2025, "loc": { "start": { "line": 49, "column": 62 }, "end": { "line": 49, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentLayer", "start": 2025, "end": 2037, "loc": { "start": { "line": 49, "column": 63 }, "end": { "line": 49, "column": 75 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2037, "end": 2038, "loc": { "start": { "line": 49, "column": 75 }, "end": { "line": 49, "column": 76 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 2039, "end": 2040, "loc": { "start": { "line": 49, "column": 77 }, "end": { "line": 49, "column": 78 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 2041, "end": 2042, "loc": { "start": { "line": 49, "column": 79 }, "end": { "line": 49, "column": 80 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2042, "end": 2043, "loc": { "start": { "line": 49, "column": 80 }, "end": { "line": 49, "column": 81 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2043, "end": 2044, "loc": { "start": { "line": 49, "column": 81 }, "end": { "line": 49, "column": 82 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2045, "end": 2046, "loc": { "start": { "line": 49, "column": 83 }, "end": { "line": 49, "column": 84 } } }, { "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": 2060, "end": 2065, "loc": { "start": { "line": 50, "column": 12 }, "end": { "line": 50, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layer", "start": 2066, "end": 2071, "loc": { "start": { "line": 50, "column": 18 }, "end": { "line": 50, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2072, "end": 2073, "loc": { "start": { "line": 50, "column": 24 }, "end": { "line": 50, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapezAPI", "start": 2091, "end": 2100, "loc": { "start": { "line": 51, "column": 16 }, "end": { "line": 51, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2100, "end": 2101, "loc": { "start": { "line": 51, "column": 25 }, "end": { "line": 51, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ingame", "start": 2101, "end": 2107, "loc": { "start": { "line": 51, "column": 26 }, "end": { "line": 51, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2107, "end": 2108, "loc": { "start": { "line": 51, "column": 32 }, "end": { "line": 51, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layers", "start": 2108, "end": 2114, "loc": { "start": { "line": 51, "column": 33 }, "end": { "line": 51, "column": 39 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2114, "end": 2115, "loc": { "start": { "line": 51, "column": 39 }, "end": { "line": 51, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapezAPI", "start": 2115, "end": 2124, "loc": { "start": { "line": 51, "column": 40 }, "end": { "line": 51, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2124, "end": 2125, "loc": { "start": { "line": 51, "column": 49 }, "end": { "line": 51, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ingame", "start": 2125, "end": 2131, "loc": { "start": { "line": 51, "column": 50 }, "end": { "line": 51, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2131, "end": 2132, "loc": { "start": { "line": 51, "column": 56 }, "end": { "line": 51, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layers", "start": 2132, "end": 2138, "loc": { "start": { "line": 51, "column": 57 }, "end": { "line": 51, "column": 63 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2138, "end": 2139, "loc": { "start": { "line": 51, "column": 63 }, "end": { "line": 51, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "indexOf", "start": 2139, "end": 2146, "loc": { "start": { "line": 51, "column": 64 }, "end": { "line": 51, "column": 71 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2146, "end": 2147, "loc": { "start": { "line": 51, "column": 71 }, "end": { "line": 51, "column": 72 } } }, { "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": 2147, "end": 2151, "loc": { "start": { "line": 51, "column": 72 }, "end": { "line": 51, "column": 76 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2151, "end": 2152, "loc": { "start": { "line": 51, "column": 76 }, "end": { "line": 51, "column": 77 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 2152, "end": 2156, "loc": { "start": { "line": 51, "column": 77 }, "end": { "line": 51, "column": 81 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2156, "end": 2157, "loc": { "start": { "line": 51, "column": 81 }, "end": { "line": 51, "column": 82 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentLayer", "start": 2157, "end": 2169, "loc": { "start": { "line": 51, "column": 82 }, "end": { "line": 51, "column": 94 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2169, "end": 2170, "loc": { "start": { "line": 51, "column": 94 }, "end": { "line": 51, "column": 95 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 2171, "end": 2172, "loc": { "start": { "line": 51, "column": 96 }, "end": { "line": 51, "column": 97 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 2173, "end": 2174, "loc": { "start": { "line": 51, "column": 98 }, "end": { "line": 51, "column": 99 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2174, "end": 2175, "loc": { "start": { "line": 51, "column": 99 }, "end": { "line": 51, "column": 100 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2175, "end": 2176, "loc": { "start": { "line": 51, "column": 100 }, "end": { "line": 51, "column": 101 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 2190, "end": 2192, "loc": { "start": { "line": 52, "column": 12 }, "end": { "line": 52, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2193, "end": 2194, "loc": { "start": { "line": 52, "column": 15 }, "end": { "line": 52, "column": 16 } } }, { "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": 2194, "end": 2198, "loc": { "start": { "line": 52, "column": 16 }, "end": { "line": 52, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2198, "end": 2199, "loc": { "start": { "line": 52, "column": 20 }, "end": { "line": 52, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 2199, "end": 2203, "loc": { "start": { "line": 52, "column": 21 }, "end": { "line": 52, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2203, "end": 2204, "loc": { "start": { "line": 52, "column": 25 }, "end": { "line": 52, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hubGoals", "start": 2204, "end": 2212, "loc": { "start": { "line": 52, "column": 26 }, "end": { "line": 52, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2212, "end": 2213, "loc": { "start": { "line": 52, "column": 34 }, "end": { "line": 52, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isRewardUnlocked", "start": 2213, "end": 2229, "loc": { "start": { "line": 52, "column": 35 }, "end": { "line": 52, "column": 51 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2229, "end": 2230, "loc": { "start": { "line": 52, "column": 51 }, "end": { "line": 52, "column": 52 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "layers_", "start": 2230, "end": 2239, "loc": { "start": { "line": 52, "column": 52 }, "end": { "line": 52, "column": 61 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 2240, "end": 2241, "loc": { "start": { "line": 52, "column": 62 }, "end": { "line": 52, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layer", "start": 2242, "end": 2247, "loc": { "start": { "line": 52, "column": 64 }, "end": { "line": 52, "column": 69 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2247, "end": 2248, "loc": { "start": { "line": 52, "column": 69 }, "end": { "line": 52, "column": 70 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2248, "end": 2249, "loc": { "start": { "line": 52, "column": 70 }, "end": { "line": 52, "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": 2250, "end": 2254, "loc": { "start": { "line": 52, "column": 72 }, "end": { "line": 52, "column": 76 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2254, "end": 2255, "loc": { "start": { "line": 52, "column": 76 }, "end": { "line": 52, "column": 77 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 2255, "end": 2259, "loc": { "start": { "line": 52, "column": 77 }, "end": { "line": 52, "column": 81 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2259, "end": 2260, "loc": { "start": { "line": 52, "column": 81 }, "end": { "line": 52, "column": 82 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentLayer", "start": 2260, "end": 2272, "loc": { "start": { "line": 52, "column": 82 }, "end": { "line": 52, "column": 94 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2273, "end": 2274, "loc": { "start": { "line": 52, "column": 95 }, "end": { "line": 52, "column": 96 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layer", "start": 2275, "end": 2280, "loc": { "start": { "line": 52, "column": 97 }, "end": { "line": 52, "column": 102 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2280, "end": 2281, "loc": { "start": { "line": 52, "column": 102 }, "end": { "line": 52, "column": 103 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2291, "end": 2292, "loc": { "start": { "line": 53, "column": 8 }, "end": { "line": 53, "column": 9 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 2302, "end": 2306, "loc": { "start": { "line": 54, "column": 8 }, "end": { "line": 54, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2306, "end": 2307, "loc": { "start": { "line": 54, "column": 12 }, "end": { "line": 54, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 2307, "end": 2311, "loc": { "start": { "line": 54, "column": 13 }, "end": { "line": 54, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2311, "end": 2312, "loc": { "start": { "line": 54, "column": 17 }, "end": { "line": 54, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "signals", "start": 2312, "end": 2319, "loc": { "start": { "line": 54, "column": 18 }, "end": { "line": 54, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2319, "end": 2320, "loc": { "start": { "line": 54, "column": 25 }, "end": { "line": 54, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "editModeChanged", "start": 2320, "end": 2335, "loc": { "start": { "line": 54, "column": 26 }, "end": { "line": 54, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2335, "end": 2336, "loc": { "start": { "line": 54, "column": 41 }, "end": { "line": 54, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dispatch", "start": 2336, "end": 2344, "loc": { "start": { "line": 54, "column": 42 }, "end": { "line": 54, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2344, "end": 2345, "loc": { "start": { "line": 54, "column": 50 }, "end": { "line": 54, "column": 51 } } }, { "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": 2345, "end": 2349, "loc": { "start": { "line": 54, "column": 51 }, "end": { "line": 54, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2349, "end": 2350, "loc": { "start": { "line": 54, "column": 55 }, "end": { "line": 54, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 2350, "end": 2354, "loc": { "start": { "line": 54, "column": 56 }, "end": { "line": 54, "column": 60 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2354, "end": 2355, "loc": { "start": { "line": 54, "column": 60 }, "end": { "line": 54, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentLayer", "start": 2355, "end": 2367, "loc": { "start": { "line": 54, "column": 61 }, "end": { "line": 54, "column": 73 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2367, "end": 2368, "loc": { "start": { "line": 54, "column": 73 }, "end": { "line": 54, "column": 74 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2368, "end": 2369, "loc": { "start": { "line": 54, "column": 74 }, "end": { "line": 54, "column": 75 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2375, "end": 2376, "loc": { "start": { "line": 55, "column": 4 }, "end": { "line": 55, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Generates the background pattern for the wires overlay\r\n ", "start": 2384, "end": 2459, "loc": { "start": { "line": 57, "column": 4 }, "end": { "line": 59, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "generateTilePattern", "start": 2465, "end": 2484, "loc": { "start": { "line": 60, "column": 4 }, "end": { "line": 60, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2484, "end": 2485, "loc": { "start": { "line": 60, "column": 23 }, "end": { "line": 60, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2485, "end": 2486, "loc": { "start": { "line": 60, "column": 24 }, "end": { "line": 60, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2487, "end": 2488, "loc": { "start": { "line": 60, "column": 26 }, "end": { "line": 60, "column": 27 } } }, { "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": 2498, "end": 2503, "loc": { "start": { "line": 61, "column": 8 }, "end": { "line": 61, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "overlayTile", "start": 2504, "end": 2515, "loc": { "start": { "line": 61, "column": 14 }, "end": { "line": 61, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2516, "end": 2517, "loc": { "start": { "line": 61, "column": 26 }, "end": { "line": 61, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Loader", "start": 2518, "end": 2524, "loc": { "start": { "line": 61, "column": 28 }, "end": { "line": 61, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2524, "end": 2525, "loc": { "start": { "line": 61, "column": 34 }, "end": { "line": 61, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getSprite", "start": 2525, "end": 2534, "loc": { "start": { "line": 61, "column": 35 }, "end": { "line": 61, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2534, "end": 2535, "loc": { "start": { "line": 61, "column": 44 }, "end": { "line": 61, "column": 45 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "sprites/wires/overlay_tile.png", "start": 2535, "end": 2567, "loc": { "start": { "line": 61, "column": 45 }, "end": { "line": 61, "column": 77 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2567, "end": 2568, "loc": { "start": { "line": 61, "column": 77 }, "end": { "line": 61, "column": 78 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2568, "end": 2569, "loc": { "start": { "line": 61, "column": 78 }, "end": { "line": 61, "column": 79 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 2579, "end": 2584, "loc": { "start": { "line": 62, "column": 8 }, "end": { "line": 62, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dims", "start": 2585, "end": 2589, "loc": { "start": { "line": 62, "column": 14 }, "end": { "line": 62, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2590, "end": 2591, "loc": { "start": { "line": 62, "column": 19 }, "end": { "line": 62, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 2592, "end": 2604, "loc": { "start": { "line": 62, "column": 21 }, "end": { "line": 62, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2604, "end": 2605, "loc": { "start": { "line": 62, "column": 33 }, "end": { "line": 62, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tileSize", "start": 2605, "end": 2613, "loc": { "start": { "line": 62, "column": 34 }, "end": { "line": 62, "column": 42 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 2614, "end": 2615, "loc": { "start": { "line": 62, "column": 43 }, "end": { "line": 62, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "wiresBackgroundDpi", "start": 2616, "end": 2634, "loc": { "start": { "line": 62, "column": 45 }, "end": { "line": 62, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2634, "end": 2635, "loc": { "start": { "line": 62, "column": 63 }, "end": { "line": 62, "column": 64 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 2645, "end": 2650, "loc": { "start": { "line": 63, "column": 8 }, "end": { "line": 63, "column": 13 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2651, "end": 2652, "loc": { "start": { "line": 63, "column": 14 }, "end": { "line": 63, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "canvas", "start": 2652, "end": 2658, "loc": { "start": { "line": 63, "column": 15 }, "end": { "line": 63, "column": 21 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2658, "end": 2659, "loc": { "start": { "line": 63, "column": 21 }, "end": { "line": 63, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 2660, "end": 2667, "loc": { "start": { "line": 63, "column": 23 }, "end": { "line": 63, "column": 30 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2667, "end": 2668, "loc": { "start": { "line": 63, "column": 30 }, "end": { "line": 63, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2669, "end": 2670, "loc": { "start": { "line": 63, "column": 32 }, "end": { "line": 63, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "makeOffscreenBuffer", "start": 2671, "end": 2690, "loc": { "start": { "line": 63, "column": 34 }, "end": { "line": 63, "column": 53 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2690, "end": 2691, "loc": { "start": { "line": 63, "column": 53 }, "end": { "line": 63, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dims", "start": 2691, "end": 2695, "loc": { "start": { "line": 63, "column": 54 }, "end": { "line": 63, "column": 58 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2695, "end": 2696, "loc": { "start": { "line": 63, "column": 58 }, "end": { "line": 63, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dims", "start": 2697, "end": 2701, "loc": { "start": { "line": 63, "column": 60 }, "end": { "line": 63, "column": 64 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2701, "end": 2702, "loc": { "start": { "line": 63, "column": 64 }, "end": { "line": 63, "column": 65 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2703, "end": 2704, "loc": { "start": { "line": 63, "column": 66 }, "end": { "line": 63, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "smooth", "start": 2718, "end": 2724, "loc": { "start": { "line": 64, "column": 12 }, "end": { "line": 64, "column": 18 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2724, "end": 2725, "loc": { "start": { "line": 64, "column": 18 }, "end": { "line": 64, "column": 19 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 2726, "end": 2731, "loc": { "start": { "line": 64, "column": 20 }, "end": { "line": 64, "column": 25 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2731, "end": 2732, "loc": { "start": { "line": 64, "column": 25 }, "end": { "line": 64, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "reusable", "start": 2746, "end": 2754, "loc": { "start": { "line": 65, "column": 12 }, "end": { "line": 65, "column": 20 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2754, "end": 2755, "loc": { "start": { "line": 65, "column": 20 }, "end": { "line": 65, "column": 21 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 2756, "end": 2761, "loc": { "start": { "line": 65, "column": 22 }, "end": { "line": 65, "column": 27 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2761, "end": 2762, "loc": { "start": { "line": 65, "column": 27 }, "end": { "line": 65, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "label", "start": 2776, "end": 2781, "loc": { "start": { "line": 66, "column": 12 }, "end": { "line": 66, "column": 17 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2781, "end": 2782, "loc": { "start": { "line": 66, "column": 17 }, "end": { "line": 66, "column": 18 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "wires-tile-pattern", "start": 2783, "end": 2803, "loc": { "start": { "line": 66, "column": 19 }, "end": { "line": 66, "column": 39 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2803, "end": 2804, "loc": { "start": { "line": 66, "column": 39 }, "end": { "line": 66, "column": 40 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2814, "end": 2815, "loc": { "start": { "line": 67, "column": 8 }, "end": { "line": 67, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2815, "end": 2816, "loc": { "start": { "line": 67, "column": 9 }, "end": { "line": 67, "column": 10 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2816, "end": 2817, "loc": { "start": { "line": 67, "column": 10 }, "end": { "line": 67, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 2827, "end": 2834, "loc": { "start": { "line": 68, "column": 8 }, "end": { "line": 68, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2834, "end": 2835, "loc": { "start": { "line": 68, "column": 15 }, "end": { "line": 68, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clearRect", "start": 2835, "end": 2844, "loc": { "start": { "line": 68, "column": 16 }, "end": { "line": 68, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2844, "end": 2845, "loc": { "start": { "line": 68, "column": 25 }, "end": { "line": 68, "column": 26 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 2845, "end": 2846, "loc": { "start": { "line": 68, "column": 26 }, "end": { "line": 68, "column": 27 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2846, "end": 2847, "loc": { "start": { "line": 68, "column": 27 }, "end": { "line": 68, "column": 28 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 2848, "end": 2849, "loc": { "start": { "line": 68, "column": 29 }, "end": { "line": 68, "column": 30 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2849, "end": 2850, "loc": { "start": { "line": 68, "column": 30 }, "end": { "line": 68, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dims", "start": 2851, "end": 2855, "loc": { "start": { "line": 68, "column": 32 }, "end": { "line": 68, "column": 36 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2855, "end": 2856, "loc": { "start": { "line": 68, "column": 36 }, "end": { "line": 68, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dims", "start": 2857, "end": 2861, "loc": { "start": { "line": 68, "column": 38 }, "end": { "line": 68, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2861, "end": 2862, "loc": { "start": { "line": 68, "column": 42 }, "end": { "line": 68, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2862, "end": 2863, "loc": { "start": { "line": 68, "column": 43 }, "end": { "line": 68, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "overlayTile", "start": 2873, "end": 2884, "loc": { "start": { "line": 69, "column": 8 }, "end": { "line": 69, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2884, "end": 2885, "loc": { "start": { "line": 69, "column": 19 }, "end": { "line": 69, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "draw", "start": 2885, "end": 2889, "loc": { "start": { "line": 69, "column": 20 }, "end": { "line": 69, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2889, "end": 2890, "loc": { "start": { "line": 69, "column": 24 }, "end": { "line": 69, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 2890, "end": 2897, "loc": { "start": { "line": 69, "column": 25 }, "end": { "line": 69, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2897, "end": 2898, "loc": { "start": { "line": 69, "column": 32 }, "end": { "line": 69, "column": 33 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 2899, "end": 2900, "loc": { "start": { "line": 69, "column": 34 }, "end": { "line": 69, "column": 35 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2900, "end": 2901, "loc": { "start": { "line": 69, "column": 35 }, "end": { "line": 69, "column": 36 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 2902, "end": 2903, "loc": { "start": { "line": 69, "column": 37 }, "end": { "line": 69, "column": 38 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2903, "end": 2904, "loc": { "start": { "line": 69, "column": 38 }, "end": { "line": 69, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dims", "start": 2905, "end": 2909, "loc": { "start": { "line": 69, "column": 40 }, "end": { "line": 69, "column": 44 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2909, "end": 2910, "loc": { "start": { "line": 69, "column": 44 }, "end": { "line": 69, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dims", "start": 2911, "end": 2915, "loc": { "start": { "line": 69, "column": 46 }, "end": { "line": 69, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2915, "end": 2916, "loc": { "start": { "line": 69, "column": 50 }, "end": { "line": 69, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2916, "end": 2917, "loc": { "start": { "line": 69, "column": 51 }, "end": { "line": 69, "column": 52 } } }, { "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": 2927, "end": 2931, "loc": { "start": { "line": 70, "column": 8 }, "end": { "line": 70, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2931, "end": 2932, "loc": { "start": { "line": 70, "column": 12 }, "end": { "line": 70, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tilePatternCanvas", "start": 2932, "end": 2949, "loc": { "start": { "line": 70, "column": 13 }, "end": { "line": 70, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2950, "end": 2951, "loc": { "start": { "line": 70, "column": 31 }, "end": { "line": 70, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "canvas", "start": 2952, "end": 2958, "loc": { "start": { "line": 70, "column": 33 }, "end": { "line": 70, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2958, "end": 2959, "loc": { "start": { "line": 70, "column": 39 }, "end": { "line": 70, "column": 40 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2965, "end": 2966, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 71, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "update", "start": 2974, "end": 2980, "loc": { "start": { "line": 73, "column": 4 }, "end": { "line": 73, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2980, "end": 2981, "loc": { "start": { "line": 73, "column": 10 }, "end": { "line": 73, "column": 11 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2981, "end": 2982, "loc": { "start": { "line": 73, "column": 11 }, "end": { "line": 73, "column": 12 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2983, "end": 2984, "loc": { "start": { "line": 73, "column": 13 }, "end": { "line": 73, "column": 14 } } }, { "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": 2994, "end": 2999, "loc": { "start": { "line": 74, "column": 8 }, "end": { "line": 74, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desiredAlpha", "start": 3000, "end": 3012, "loc": { "start": { "line": 74, "column": 14 }, "end": { "line": 74, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3013, "end": 3014, "loc": { "start": { "line": 74, "column": 27 }, "end": { "line": 74, "column": 28 } } }, { "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": 3015, "end": 3019, "loc": { "start": { "line": 74, "column": 29 }, "end": { "line": 74, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3019, "end": 3020, "loc": { "start": { "line": 74, "column": 33 }, "end": { "line": 74, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 3020, "end": 3024, "loc": { "start": { "line": 74, "column": 34 }, "end": { "line": 74, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3024, "end": 3025, "loc": { "start": { "line": 74, "column": 38 }, "end": { "line": 74, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentLayer", "start": 3025, "end": 3037, "loc": { "start": { "line": 74, "column": 39 }, "end": { "line": 74, "column": 51 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 3038, "end": 3041, "loc": { "start": { "line": 74, "column": 52 }, "end": { "line": 74, "column": 55 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "wires", "start": 3042, "end": 3049, "loc": { "start": { "line": 74, "column": 56 }, "end": { "line": 74, "column": 63 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3050, "end": 3051, "loc": { "start": { "line": 74, "column": 64 }, "end": { "line": 74, "column": 65 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 3052, "end": 3055, "loc": { "start": { "line": 74, "column": 66 }, "end": { "line": 74, "column": 69 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3056, "end": 3057, "loc": { "start": { "line": 74, "column": 70 }, "end": { "line": 74, "column": 71 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 3058, "end": 3061, "loc": { "start": { "line": 74, "column": 72 }, "end": { "line": 74, "column": 75 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3061, "end": 3062, "loc": { "start": { "line": 74, "column": 75 }, "end": { "line": 74, "column": 76 } } }, { "type": "CommentLine", "value": " On low performance, skip the fade", "start": 3074, "end": 3110, "loc": { "start": { "line": 76, "column": 8 }, "end": { "line": 76, "column": 44 } } }, { "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": 3120, "end": 3122, "loc": { "start": { "line": 77, "column": 8 }, "end": { "line": 77, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3123, "end": 3124, "loc": { "start": { "line": 77, "column": 11 }, "end": { "line": 77, "column": 12 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3124, "end": 3128, "loc": { "start": { "line": 77, "column": 12 }, "end": { "line": 77, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3128, "end": 3129, "loc": { "start": { "line": 77, "column": 16 }, "end": { "line": 77, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 3129, "end": 3133, "loc": { "start": { "line": 77, "column": 17 }, "end": { "line": 77, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3133, "end": 3134, "loc": { "start": { "line": 77, "column": 21 }, "end": { "line": 77, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityMgr", "start": 3134, "end": 3143, "loc": { "start": { "line": 77, "column": 22 }, "end": { "line": 77, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3143, "end": 3144, "loc": { "start": { "line": 77, "column": 31 }, "end": { "line": 77, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entities", "start": 3144, "end": 3152, "loc": { "start": { "line": 77, "column": 32 }, "end": { "line": 77, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3152, "end": 3153, "loc": { "start": { "line": 77, "column": 40 }, "end": { "line": 77, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 3153, "end": 3159, "loc": { "start": { "line": 77, "column": 41 }, "end": { "line": 77, "column": 47 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 3160, "end": 3161, "loc": { "start": { "line": 77, "column": 48 }, "end": { "line": 77, "column": 49 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 5000, "start": 3162, "end": 3166, "loc": { "start": { "line": 77, "column": 50 }, "end": { "line": 77, "column": 54 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 3167, "end": 3169, "loc": { "start": { "line": 77, "column": 55 }, "end": { "line": 77, "column": 57 } } }, { "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": 3170, "end": 3174, "loc": { "start": { "line": 77, "column": 58 }, "end": { "line": 77, "column": 62 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3174, "end": 3175, "loc": { "start": { "line": 77, "column": 62 }, "end": { "line": 77, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 3175, "end": 3179, "loc": { "start": { "line": 77, "column": 63 }, "end": { "line": 77, "column": 67 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3179, "end": 3180, "loc": { "start": { "line": 77, "column": 67 }, "end": { "line": 77, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dynamicTickrate", "start": 3180, "end": 3195, "loc": { "start": { "line": 77, "column": 68 }, "end": { "line": 77, "column": 83 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3195, "end": 3196, "loc": { "start": { "line": 77, "column": 83 }, "end": { "line": 77, "column": 84 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "averageFps", "start": 3196, "end": 3206, "loc": { "start": { "line": 77, "column": 84 }, "end": { "line": 77, "column": 94 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 3207, "end": 3208, "loc": { "start": { "line": 77, "column": 95 }, "end": { "line": 77, "column": 96 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 50, "start": 3209, "end": 3211, "loc": { "start": { "line": 77, "column": 97 }, "end": { "line": 77, "column": 99 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3211, "end": 3212, "loc": { "start": { "line": 77, "column": 99 }, "end": { "line": 77, "column": 100 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3213, "end": 3214, "loc": { "start": { "line": 77, "column": 101 }, "end": { "line": 77, "column": 102 } } }, { "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": 3228, "end": 3232, "loc": { "start": { "line": 78, "column": 12 }, "end": { "line": 78, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3232, "end": 3233, "loc": { "start": { "line": 78, "column": 16 }, "end": { "line": 78, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentAlpha", "start": 3233, "end": 3245, "loc": { "start": { "line": 78, "column": 17 }, "end": { "line": 78, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3246, "end": 3247, "loc": { "start": { "line": 78, "column": 30 }, "end": { "line": 78, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desiredAlpha", "start": 3248, "end": 3260, "loc": { "start": { "line": 78, "column": 32 }, "end": { "line": 78, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3260, "end": 3261, "loc": { "start": { "line": 78, "column": 44 }, "end": { "line": 78, "column": 45 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3271, "end": 3272, "loc": { "start": { "line": 79, "column": 8 }, "end": { "line": 79, "column": 9 } } }, { "type": { "label": "else", "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "else", "start": 3273, "end": 3277, "loc": { "start": { "line": 79, "column": 10 }, "end": { "line": 79, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3278, "end": 3279, "loc": { "start": { "line": 79, "column": 15 }, "end": { "line": 79, "column": 16 } } }, { "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": 3293, "end": 3297, "loc": { "start": { "line": 80, "column": 12 }, "end": { "line": 80, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3297, "end": 3298, "loc": { "start": { "line": 80, "column": 16 }, "end": { "line": 80, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentAlpha", "start": 3298, "end": 3310, "loc": { "start": { "line": 80, "column": 17 }, "end": { "line": 80, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3311, "end": 3312, "loc": { "start": { "line": 80, "column": 30 }, "end": { "line": 80, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lerp", "start": 3313, "end": 3317, "loc": { "start": { "line": 80, "column": 32 }, "end": { "line": 80, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3317, "end": 3318, "loc": { "start": { "line": 80, "column": 36 }, "end": { "line": 80, "column": 37 } } }, { "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": 3318, "end": 3322, "loc": { "start": { "line": 80, "column": 37 }, "end": { "line": 80, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3322, "end": 3323, "loc": { "start": { "line": 80, "column": 41 }, "end": { "line": 80, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentAlpha", "start": 3323, "end": 3335, "loc": { "start": { "line": 80, "column": 42 }, "end": { "line": 80, "column": 54 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3335, "end": 3336, "loc": { "start": { "line": 80, "column": 54 }, "end": { "line": 80, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "desiredAlpha", "start": 3337, "end": 3349, "loc": { "start": { "line": 80, "column": 56 }, "end": { "line": 80, "column": 68 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3349, "end": 3350, "loc": { "start": { "line": 80, "column": 68 }, "end": { "line": 80, "column": 69 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.12, "start": 3351, "end": 3355, "loc": { "start": { "line": 80, "column": 70 }, "end": { "line": 80, "column": 74 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3355, "end": 3356, "loc": { "start": { "line": 80, "column": 74 }, "end": { "line": 80, "column": 75 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3356, "end": 3357, "loc": { "start": { "line": 80, "column": 75 }, "end": { "line": 80, "column": 76 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3367, "end": 3368, "loc": { "start": { "line": 81, "column": 8 }, "end": { "line": 81, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3374, "end": 3375, "loc": { "start": { "line": 82, "column": 4 }, "end": { "line": 82, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Copies the wires value below the cursor\r\n ", "start": 3383, "end": 3443, "loc": { "start": { "line": 84, "column": 4 }, "end": { "line": 86, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "copyWireValue", "start": 3449, "end": 3462, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3462, "end": 3463, "loc": { "start": { "line": 87, "column": 17 }, "end": { "line": 87, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3463, "end": 3464, "loc": { "start": { "line": 87, "column": 18 }, "end": { "line": 87, "column": 19 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3465, "end": 3466, "loc": { "start": { "line": 87, "column": 20 }, "end": { "line": 87, "column": 21 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 3476, "end": 3478, "loc": { "start": { "line": 88, "column": 8 }, "end": { "line": 88, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3479, "end": 3480, "loc": { "start": { "line": 88, "column": 11 }, "end": { "line": 88, "column": 12 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3480, "end": 3484, "loc": { "start": { "line": 88, "column": 12 }, "end": { "line": 88, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3484, "end": 3485, "loc": { "start": { "line": 88, "column": 16 }, "end": { "line": 88, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 3485, "end": 3489, "loc": { "start": { "line": 88, "column": 17 }, "end": { "line": 88, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3489, "end": 3490, "loc": { "start": { "line": 88, "column": 21 }, "end": { "line": 88, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentLayer", "start": 3490, "end": 3502, "loc": { "start": { "line": 88, "column": 22 }, "end": { "line": 88, "column": 34 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 3503, "end": 3506, "loc": { "start": { "line": 88, "column": 35 }, "end": { "line": 88, "column": 38 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "wires", "start": 3507, "end": 3514, "loc": { "start": { "line": 88, "column": 39 }, "end": { "line": 88, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3514, "end": 3515, "loc": { "start": { "line": 88, "column": 46 }, "end": { "line": 88, "column": 47 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3516, "end": 3517, "loc": { "start": { "line": 88, "column": 48 }, "end": { "line": 88, "column": 49 } } }, { "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": 3531, "end": 3537, "loc": { "start": { "line": 89, "column": 12 }, "end": { "line": 89, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3537, "end": 3538, "loc": { "start": { "line": 89, "column": 18 }, "end": { "line": 89, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3548, "end": 3549, "loc": { "start": { "line": 90, "column": 8 }, "end": { "line": 90, "column": 9 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 3561, "end": 3566, "loc": { "start": { "line": 92, "column": 8 }, "end": { "line": 92, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mousePos", "start": 3567, "end": 3575, "loc": { "start": { "line": 92, "column": 14 }, "end": { "line": 92, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3576, "end": 3577, "loc": { "start": { "line": 92, "column": 23 }, "end": { "line": 92, "column": 24 } } }, { "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": 3578, "end": 3582, "loc": { "start": { "line": 92, "column": 25 }, "end": { "line": 92, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3582, "end": 3583, "loc": { "start": { "line": 92, "column": 29 }, "end": { "line": 92, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 3583, "end": 3587, "loc": { "start": { "line": 92, "column": 30 }, "end": { "line": 92, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3587, "end": 3588, "loc": { "start": { "line": 92, "column": 34 }, "end": { "line": 92, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "app", "start": 3588, "end": 3591, "loc": { "start": { "line": 92, "column": 35 }, "end": { "line": 92, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3591, "end": 3592, "loc": { "start": { "line": 92, "column": 38 }, "end": { "line": 92, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mousePosition", "start": 3592, "end": 3605, "loc": { "start": { "line": 92, "column": 39 }, "end": { "line": 92, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3605, "end": 3606, "loc": { "start": { "line": 92, "column": 52 }, "end": { "line": 92, "column": 53 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 3616, "end": 3618, "loc": { "start": { "line": 93, "column": 8 }, "end": { "line": 93, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3619, "end": 3620, "loc": { "start": { "line": 93, "column": 11 }, "end": { "line": 93, "column": 12 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 3620, "end": 3621, "loc": { "start": { "line": 93, "column": 12 }, "end": { "line": 93, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mousePos", "start": 3621, "end": 3629, "loc": { "start": { "line": 93, "column": 13 }, "end": { "line": 93, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3629, "end": 3630, "loc": { "start": { "line": 93, "column": 21 }, "end": { "line": 93, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3631, "end": 3632, "loc": { "start": { "line": 93, "column": 23 }, "end": { "line": 93, "column": 24 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 3646, "end": 3652, "loc": { "start": { "line": 94, "column": 12 }, "end": { "line": 94, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3652, "end": 3653, "loc": { "start": { "line": 94, "column": 18 }, "end": { "line": 94, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3663, "end": 3664, "loc": { "start": { "line": 95, "column": 8 }, "end": { "line": 95, "column": 9 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 3676, "end": 3681, "loc": { "start": { "line": 97, "column": 8 }, "end": { "line": 97, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tile", "start": 3682, "end": 3686, "loc": { "start": { "line": 97, "column": 14 }, "end": { "line": 97, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3687, "end": 3688, "loc": { "start": { "line": 97, "column": 19 }, "end": { "line": 97, "column": 20 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3689, "end": 3693, "loc": { "start": { "line": 97, "column": 21 }, "end": { "line": 97, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3693, "end": 3694, "loc": { "start": { "line": 97, "column": 25 }, "end": { "line": 97, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 3694, "end": 3698, "loc": { "start": { "line": 97, "column": 26 }, "end": { "line": 97, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3698, "end": 3699, "loc": { "start": { "line": 97, "column": 30 }, "end": { "line": 97, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "camera", "start": 3699, "end": 3705, "loc": { "start": { "line": 97, "column": 31 }, "end": { "line": 97, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3705, "end": 3706, "loc": { "start": { "line": 97, "column": 37 }, "end": { "line": 97, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "screenToWorld", "start": 3706, "end": 3719, "loc": { "start": { "line": 97, "column": 38 }, "end": { "line": 97, "column": 51 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3719, "end": 3720, "loc": { "start": { "line": 97, "column": 51 }, "end": { "line": 97, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mousePos", "start": 3720, "end": 3728, "loc": { "start": { "line": 97, "column": 52 }, "end": { "line": 97, "column": 60 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3728, "end": 3729, "loc": { "start": { "line": 97, "column": 60 }, "end": { "line": 97, "column": 61 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3729, "end": 3730, "loc": { "start": { "line": 97, "column": 61 }, "end": { "line": 97, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toTileSpace", "start": 3730, "end": 3741, "loc": { "start": { "line": 97, "column": 62 }, "end": { "line": 97, "column": 73 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3741, "end": 3742, "loc": { "start": { "line": 97, "column": 73 }, "end": { "line": 97, "column": 74 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3742, "end": 3743, "loc": { "start": { "line": 97, "column": 74 }, "end": { "line": 97, "column": 75 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3743, "end": 3744, "loc": { "start": { "line": 97, "column": 75 }, "end": { "line": 97, "column": 76 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 3754, "end": 3759, "loc": { "start": { "line": 98, "column": 8 }, "end": { "line": 98, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contents", "start": 3760, "end": 3768, "loc": { "start": { "line": 98, "column": 14 }, "end": { "line": 98, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3769, "end": 3770, "loc": { "start": { "line": 98, "column": 23 }, "end": { "line": 98, "column": 24 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3771, "end": 3775, "loc": { "start": { "line": 98, "column": 25 }, "end": { "line": 98, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3775, "end": 3776, "loc": { "start": { "line": 98, "column": 29 }, "end": { "line": 98, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 3776, "end": 3780, "loc": { "start": { "line": 98, "column": 30 }, "end": { "line": 98, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3780, "end": 3781, "loc": { "start": { "line": 98, "column": 34 }, "end": { "line": 98, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "map", "start": 3781, "end": 3784, "loc": { "start": { "line": 98, "column": 35 }, "end": { "line": 98, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3784, "end": 3785, "loc": { "start": { "line": 98, "column": 38 }, "end": { "line": 98, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getLayerContentXY", "start": 3785, "end": 3802, "loc": { "start": { "line": 98, "column": 39 }, "end": { "line": 98, "column": 56 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3802, "end": 3803, "loc": { "start": { "line": 98, "column": 56 }, "end": { "line": 98, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tile", "start": 3803, "end": 3807, "loc": { "start": { "line": 98, "column": 57 }, "end": { "line": 98, "column": 61 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3807, "end": 3808, "loc": { "start": { "line": 98, "column": 61 }, "end": { "line": 98, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 3808, "end": 3809, "loc": { "start": { "line": 98, "column": 62 }, "end": { "line": 98, "column": 63 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3809, "end": 3810, "loc": { "start": { "line": 98, "column": 63 }, "end": { "line": 98, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tile", "start": 3811, "end": 3815, "loc": { "start": { "line": 98, "column": 65 }, "end": { "line": 98, "column": 69 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3815, "end": 3816, "loc": { "start": { "line": 98, "column": 69 }, "end": { "line": 98, "column": 70 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 3816, "end": 3817, "loc": { "start": { "line": 98, "column": 70 }, "end": { "line": 98, "column": 71 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3817, "end": 3818, "loc": { "start": { "line": 98, "column": 71 }, "end": { "line": 98, "column": 72 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "wires", "start": 3819, "end": 3826, "loc": { "start": { "line": 98, "column": 73 }, "end": { "line": 98, "column": 80 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3826, "end": 3827, "loc": { "start": { "line": 98, "column": 80 }, "end": { "line": 98, "column": 81 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3827, "end": 3828, "loc": { "start": { "line": 98, "column": 81 }, "end": { "line": 98, "column": 82 } } }, { "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": 3838, "end": 3840, "loc": { "start": { "line": 99, "column": 8 }, "end": { "line": 99, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3841, "end": 3842, "loc": { "start": { "line": 99, "column": 11 }, "end": { "line": 99, "column": 12 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 3842, "end": 3843, "loc": { "start": { "line": 99, "column": 12 }, "end": { "line": 99, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contents", "start": 3843, "end": 3851, "loc": { "start": { "line": 99, "column": 13 }, "end": { "line": 99, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3851, "end": 3852, "loc": { "start": { "line": 99, "column": 21 }, "end": { "line": 99, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3853, "end": 3854, "loc": { "start": { "line": 99, "column": 23 }, "end": { "line": 99, "column": 24 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 3868, "end": 3874, "loc": { "start": { "line": 100, "column": 12 }, "end": { "line": 100, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3874, "end": 3875, "loc": { "start": { "line": 100, "column": 18 }, "end": { "line": 100, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3885, "end": 3886, "loc": { "start": { "line": 101, "column": 8 }, "end": { "line": 101, "column": 9 } } }, { "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": 3898, "end": 3901, "loc": { "start": { "line": 103, "column": 8 }, "end": { "line": 103, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "value", "start": 3902, "end": 3907, "loc": { "start": { "line": 103, "column": 12 }, "end": { "line": 103, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3908, "end": 3909, "loc": { "start": { "line": 103, "column": 18 }, "end": { "line": 103, "column": 19 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 3910, "end": 3914, "loc": { "start": { "line": 103, "column": 20 }, "end": { "line": 103, "column": 24 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3914, "end": 3915, "loc": { "start": { "line": 103, "column": 24 }, "end": { "line": 103, "column": 25 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 3925, "end": 3927, "loc": { "start": { "line": 104, "column": 8 }, "end": { "line": 104, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3928, "end": 3929, "loc": { "start": { "line": 104, "column": 11 }, "end": { "line": 104, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contents", "start": 3929, "end": 3937, "loc": { "start": { "line": 104, "column": 12 }, "end": { "line": 104, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3937, "end": 3938, "loc": { "start": { "line": 104, "column": 20 }, "end": { "line": 104, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 3938, "end": 3948, "loc": { "start": { "line": 104, "column": 21 }, "end": { "line": 104, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3948, "end": 3949, "loc": { "start": { "line": 104, "column": 31 }, "end": { "line": 104, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Wire", "start": 3949, "end": 3953, "loc": { "start": { "line": 104, "column": 32 }, "end": { "line": 104, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3953, "end": 3954, "loc": { "start": { "line": 104, "column": 36 }, "end": { "line": 104, "column": 37 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3955, "end": 3956, "loc": { "start": { "line": 104, "column": 38 }, "end": { "line": 104, "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": 3970, "end": 3975, "loc": { "start": { "line": 105, "column": 12 }, "end": { "line": 105, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "network", "start": 3976, "end": 3983, "loc": { "start": { "line": 105, "column": 18 }, "end": { "line": 105, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3984, "end": 3985, "loc": { "start": { "line": 105, "column": 26 }, "end": { "line": 105, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contents", "start": 3986, "end": 3994, "loc": { "start": { "line": 105, "column": 28 }, "end": { "line": 105, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3994, "end": 3995, "loc": { "start": { "line": 105, "column": 36 }, "end": { "line": 105, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 3995, "end": 4005, "loc": { "start": { "line": 105, "column": 37 }, "end": { "line": 105, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4005, "end": 4006, "loc": { "start": { "line": 105, "column": 47 }, "end": { "line": 105, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Wire", "start": 4006, "end": 4010, "loc": { "start": { "line": 105, "column": 48 }, "end": { "line": 105, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4010, "end": 4011, "loc": { "start": { "line": 105, "column": 52 }, "end": { "line": 105, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "linkedNetwork", "start": 4011, "end": 4024, "loc": { "start": { "line": 105, "column": 53 }, "end": { "line": 105, "column": 66 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4024, "end": 4025, "loc": { "start": { "line": 105, "column": 66 }, "end": { "line": 105, "column": 67 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 4039, "end": 4041, "loc": { "start": { "line": 106, "column": 12 }, "end": { "line": 106, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4042, "end": 4043, "loc": { "start": { "line": 106, "column": 15 }, "end": { "line": 106, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "network", "start": 4043, "end": 4050, "loc": { "start": { "line": 106, "column": 16 }, "end": { "line": 106, "column": 23 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 4051, "end": 4053, "loc": { "start": { "line": 106, "column": 24 }, "end": { "line": 106, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "network", "start": 4054, "end": 4061, "loc": { "start": { "line": 106, "column": 27 }, "end": { "line": 106, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4061, "end": 4062, "loc": { "start": { "line": 106, "column": 34 }, "end": { "line": 106, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hasValue", "start": 4062, "end": 4070, "loc": { "start": { "line": 106, "column": 35 }, "end": { "line": 106, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4070, "end": 4071, "loc": { "start": { "line": 106, "column": 43 }, "end": { "line": 106, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4071, "end": 4072, "loc": { "start": { "line": 106, "column": 44 }, "end": { "line": 106, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4072, "end": 4073, "loc": { "start": { "line": 106, "column": 45 }, "end": { "line": 106, "column": 46 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4074, "end": 4075, "loc": { "start": { "line": 106, "column": 47 }, "end": { "line": 106, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "value", "start": 4093, "end": 4098, "loc": { "start": { "line": 107, "column": 16 }, "end": { "line": 107, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4099, "end": 4100, "loc": { "start": { "line": 107, "column": 22 }, "end": { "line": 107, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "network", "start": 4101, "end": 4108, "loc": { "start": { "line": 107, "column": 24 }, "end": { "line": 107, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4108, "end": 4109, "loc": { "start": { "line": 107, "column": 31 }, "end": { "line": 107, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentValue", "start": 4109, "end": 4121, "loc": { "start": { "line": 107, "column": 32 }, "end": { "line": 107, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4121, "end": 4122, "loc": { "start": { "line": 107, "column": 44 }, "end": { "line": 107, "column": 45 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4136, "end": 4137, "loc": { "start": { "line": 108, "column": 12 }, "end": { "line": 108, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4147, "end": 4148, "loc": { "start": { "line": 109, "column": 8 }, "end": { "line": 109, "column": 9 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 4160, "end": 4162, "loc": { "start": { "line": 111, "column": 8 }, "end": { "line": 111, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4163, "end": 4164, "loc": { "start": { "line": 111, "column": 11 }, "end": { "line": 111, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contents", "start": 4164, "end": 4172, "loc": { "start": { "line": 111, "column": 12 }, "end": { "line": 111, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4172, "end": 4173, "loc": { "start": { "line": 111, "column": 20 }, "end": { "line": 111, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 4173, "end": 4183, "loc": { "start": { "line": 111, "column": 21 }, "end": { "line": 111, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4183, "end": 4184, "loc": { "start": { "line": 111, "column": 31 }, "end": { "line": 111, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ConstantSignal", "start": 4184, "end": 4198, "loc": { "start": { "line": 111, "column": 32 }, "end": { "line": 111, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4198, "end": 4199, "loc": { "start": { "line": 111, "column": 46 }, "end": { "line": 111, "column": 47 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4200, "end": 4201, "loc": { "start": { "line": 111, "column": 48 }, "end": { "line": 111, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "value", "start": 4215, "end": 4220, "loc": { "start": { "line": 112, "column": 12 }, "end": { "line": 112, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4221, "end": 4222, "loc": { "start": { "line": 112, "column": 18 }, "end": { "line": 112, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contents", "start": 4223, "end": 4231, "loc": { "start": { "line": 112, "column": 20 }, "end": { "line": 112, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4231, "end": 4232, "loc": { "start": { "line": 112, "column": 28 }, "end": { "line": 112, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 4232, "end": 4242, "loc": { "start": { "line": 112, "column": 29 }, "end": { "line": 112, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4242, "end": 4243, "loc": { "start": { "line": 112, "column": 39 }, "end": { "line": 112, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ConstantSignal", "start": 4243, "end": 4257, "loc": { "start": { "line": 112, "column": 40 }, "end": { "line": 112, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4257, "end": 4258, "loc": { "start": { "line": 112, "column": 54 }, "end": { "line": 112, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "signal", "start": 4258, "end": 4264, "loc": { "start": { "line": 112, "column": 55 }, "end": { "line": 112, "column": 61 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4264, "end": 4265, "loc": { "start": { "line": 112, "column": 61 }, "end": { "line": 112, "column": 62 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4275, "end": 4276, "loc": { "start": { "line": 113, "column": 8 }, "end": { "line": 113, "column": 9 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 4288, "end": 4290, "loc": { "start": { "line": 115, "column": 8 }, "end": { "line": 115, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4291, "end": 4292, "loc": { "start": { "line": 115, "column": 11 }, "end": { "line": 115, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "value", "start": 4292, "end": 4297, "loc": { "start": { "line": 115, "column": 12 }, "end": { "line": 115, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4297, "end": 4298, "loc": { "start": { "line": 115, "column": 17 }, "end": { "line": 115, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4299, "end": 4300, "loc": { "start": { "line": 115, "column": 19 }, "end": { "line": 115, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "copy", "start": 4314, "end": 4318, "loc": { "start": { "line": 116, "column": 12 }, "end": { "line": 116, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4318, "end": 4319, "loc": { "start": { "line": 116, "column": 16 }, "end": { "line": 116, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "value", "start": 4319, "end": 4324, "loc": { "start": { "line": 116, "column": 17 }, "end": { "line": 116, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4324, "end": 4325, "loc": { "start": { "line": 116, "column": 22 }, "end": { "line": 116, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getAsCopyableKey", "start": 4325, "end": 4341, "loc": { "start": { "line": 116, "column": 23 }, "end": { "line": 116, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4341, "end": 4342, "loc": { "start": { "line": 116, "column": 39 }, "end": { "line": 116, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4342, "end": 4343, "loc": { "start": { "line": 116, "column": 40 }, "end": { "line": 116, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4343, "end": 4344, "loc": { "start": { "line": 116, "column": 41 }, "end": { "line": 116, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4344, "end": 4345, "loc": { "start": { "line": 116, "column": 42 }, "end": { "line": 116, "column": 43 } } }, { "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": 4359, "end": 4363, "loc": { "start": { "line": 117, "column": 12 }, "end": { "line": 117, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4363, "end": 4364, "loc": { "start": { "line": 117, "column": 16 }, "end": { "line": 117, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 4364, "end": 4368, "loc": { "start": { "line": 117, "column": 17 }, "end": { "line": 117, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4368, "end": 4369, "loc": { "start": { "line": 117, "column": 21 }, "end": { "line": 117, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "soundProxy", "start": 4369, "end": 4379, "loc": { "start": { "line": 117, "column": 22 }, "end": { "line": 117, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4379, "end": 4380, "loc": { "start": { "line": 117, "column": 32 }, "end": { "line": 117, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "playUi", "start": 4380, "end": 4386, "loc": { "start": { "line": 117, "column": 33 }, "end": { "line": 117, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4386, "end": 4387, "loc": { "start": { "line": 117, "column": 39 }, "end": { "line": 117, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "SOUNDS", "start": 4387, "end": 4393, "loc": { "start": { "line": 117, "column": 40 }, "end": { "line": 117, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4393, "end": 4394, "loc": { "start": { "line": 117, "column": 46 }, "end": { "line": 117, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "copy", "start": 4394, "end": 4398, "loc": { "start": { "line": 117, "column": 47 }, "end": { "line": 117, "column": 51 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4398, "end": 4399, "loc": { "start": { "line": 117, "column": 51 }, "end": { "line": 117, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4399, "end": 4400, "loc": { "start": { "line": 117, "column": 52 }, "end": { "line": 117, "column": 53 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4410, "end": 4411, "loc": { "start": { "line": 118, "column": 8 }, "end": { "line": 118, "column": 9 } } }, { "type": { "label": "else", "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "else", "start": 4412, "end": 4416, "loc": { "start": { "line": 118, "column": 10 }, "end": { "line": 118, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4417, "end": 4418, "loc": { "start": { "line": 118, "column": 15 }, "end": { "line": 118, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "copy", "start": 4432, "end": 4436, "loc": { "start": { "line": 119, "column": 12 }, "end": { "line": 119, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4436, "end": 4437, "loc": { "start": { "line": 119, "column": 16 }, "end": { "line": 119, "column": 17 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 4437, "end": 4439, "loc": { "start": { "line": 119, "column": 17 }, "end": { "line": 119, "column": 19 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4439, "end": 4440, "loc": { "start": { "line": 119, "column": 19 }, "end": { "line": 119, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4440, "end": 4441, "loc": { "start": { "line": 119, "column": 20 }, "end": { "line": 119, "column": 21 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4455, "end": 4459, "loc": { "start": { "line": 120, "column": 12 }, "end": { "line": 120, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4459, "end": 4460, "loc": { "start": { "line": 120, "column": 16 }, "end": { "line": 120, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 4460, "end": 4464, "loc": { "start": { "line": 120, "column": 17 }, "end": { "line": 120, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4464, "end": 4465, "loc": { "start": { "line": 120, "column": 21 }, "end": { "line": 120, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "soundProxy", "start": 4465, "end": 4475, "loc": { "start": { "line": 120, "column": 22 }, "end": { "line": 120, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4475, "end": 4476, "loc": { "start": { "line": 120, "column": 32 }, "end": { "line": 120, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "playUiError", "start": 4476, "end": 4487, "loc": { "start": { "line": 120, "column": 33 }, "end": { "line": 120, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4487, "end": 4488, "loc": { "start": { "line": 120, "column": 44 }, "end": { "line": 120, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4488, "end": 4489, "loc": { "start": { "line": 120, "column": 45 }, "end": { "line": 120, "column": 46 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4489, "end": 4490, "loc": { "start": { "line": 120, "column": 46 }, "end": { "line": 120, "column": 47 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4500, "end": 4501, "loc": { "start": { "line": 121, "column": 8 }, "end": { "line": 121, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4507, "end": 4508, "loc": { "start": { "line": 122, "column": 4 }, "end": { "line": 122, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n *\r\n * @param {DrawParameters} parameters\r\n ", "start": 4516, "end": 4579, "loc": { "start": { "line": 124, "column": 4 }, "end": { "line": 127, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "draw", "start": 4585, "end": 4589, "loc": { "start": { "line": 128, "column": 4 }, "end": { "line": 128, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4589, "end": 4590, "loc": { "start": { "line": 128, "column": 8 }, "end": { "line": 128, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 4590, "end": 4600, "loc": { "start": { "line": 128, "column": 9 }, "end": { "line": 128, "column": 19 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4600, "end": 4601, "loc": { "start": { "line": 128, "column": 19 }, "end": { "line": 128, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4602, "end": 4603, "loc": { "start": { "line": 128, "column": 21 }, "end": { "line": 128, "column": 22 } } }, { "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": 4613, "end": 4615, "loc": { "start": { "line": 129, "column": 8 }, "end": { "line": 129, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4616, "end": 4617, "loc": { "start": { "line": 129, "column": 11 }, "end": { "line": 129, "column": 12 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4617, "end": 4621, "loc": { "start": { "line": 129, "column": 12 }, "end": { "line": 129, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4621, "end": 4622, "loc": { "start": { "line": 129, "column": 16 }, "end": { "line": 129, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentAlpha", "start": 4622, "end": 4634, "loc": { "start": { "line": 129, "column": 17 }, "end": { "line": 129, "column": 29 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 4635, "end": 4636, "loc": { "start": { "line": 129, "column": 30 }, "end": { "line": 129, "column": 31 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.02, "start": 4637, "end": 4641, "loc": { "start": { "line": 129, "column": 32 }, "end": { "line": 129, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4641, "end": 4642, "loc": { "start": { "line": 129, "column": 36 }, "end": { "line": 129, "column": 37 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4643, "end": 4644, "loc": { "start": { "line": 129, "column": 38 }, "end": { "line": 129, "column": 39 } } }, { "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": 4658, "end": 4664, "loc": { "start": { "line": 130, "column": 12 }, "end": { "line": 130, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4664, "end": 4665, "loc": { "start": { "line": 130, "column": 18 }, "end": { "line": 130, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4675, "end": 4676, "loc": { "start": { "line": 131, "column": 8 }, "end": { "line": 131, "column": 9 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 4688, "end": 4693, "loc": { "start": { "line": 133, "column": 8 }, "end": { "line": 133, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hasTileGrid", "start": 4694, "end": 4705, "loc": { "start": { "line": 133, "column": 14 }, "end": { "line": 133, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4706, "end": 4707, "loc": { "start": { "line": 133, "column": 26 }, "end": { "line": 133, "column": 27 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 4708, "end": 4709, "loc": { "start": { "line": 133, "column": 28 }, "end": { "line": 133, "column": 29 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4709, "end": 4713, "loc": { "start": { "line": 133, "column": 29 }, "end": { "line": 133, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4713, "end": 4714, "loc": { "start": { "line": 133, "column": 33 }, "end": { "line": 133, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 4714, "end": 4718, "loc": { "start": { "line": 133, "column": 34 }, "end": { "line": 133, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4718, "end": 4719, "loc": { "start": { "line": 133, "column": 38 }, "end": { "line": 133, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "app", "start": 4719, "end": 4722, "loc": { "start": { "line": 133, "column": 39 }, "end": { "line": 133, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4722, "end": 4723, "loc": { "start": { "line": 133, "column": 42 }, "end": { "line": 133, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "settings", "start": 4723, "end": 4731, "loc": { "start": { "line": 133, "column": 43 }, "end": { "line": 133, "column": 51 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4731, "end": 4732, "loc": { "start": { "line": 133, "column": 51 }, "end": { "line": 133, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getAllSettings", "start": 4732, "end": 4746, "loc": { "start": { "line": 133, "column": 52 }, "end": { "line": 133, "column": 66 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4746, "end": 4747, "loc": { "start": { "line": 133, "column": 66 }, "end": { "line": 133, "column": 67 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4747, "end": 4748, "loc": { "start": { "line": 133, "column": 67 }, "end": { "line": 133, "column": 68 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4748, "end": 4749, "loc": { "start": { "line": 133, "column": 68 }, "end": { "line": 133, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "disableTileGrid", "start": 4749, "end": 4764, "loc": { "start": { "line": 133, "column": 69 }, "end": { "line": 133, "column": 84 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4764, "end": 4765, "loc": { "start": { "line": 133, "column": 84 }, "end": { "line": 133, "column": 85 } } }, { "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": 4775, "end": 4777, "loc": { "start": { "line": 134, "column": 8 }, "end": { "line": 134, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4778, "end": 4779, "loc": { "start": { "line": 134, "column": 11 }, "end": { "line": 134, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hasTileGrid", "start": 4779, "end": 4790, "loc": { "start": { "line": 134, "column": 12 }, "end": { "line": 134, "column": 23 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 4791, "end": 4793, "loc": { "start": { "line": 134, "column": 24 }, "end": { "line": 134, "column": 26 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 4794, "end": 4795, "loc": { "start": { "line": 134, "column": 27 }, "end": { "line": 134, "column": 28 } } }, { "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": 4795, "end": 4799, "loc": { "start": { "line": 134, "column": 28 }, "end": { "line": 134, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4799, "end": 4800, "loc": { "start": { "line": 134, "column": 32 }, "end": { "line": 134, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cachedPatternBackground", "start": 4800, "end": 4823, "loc": { "start": { "line": 134, "column": 33 }, "end": { "line": 134, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4823, "end": 4824, "loc": { "start": { "line": 134, "column": 56 }, "end": { "line": 134, "column": 57 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4825, "end": 4826, "loc": { "start": { "line": 134, "column": 58 }, "end": { "line": 134, "column": 59 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4840, "end": 4844, "loc": { "start": { "line": 135, "column": 12 }, "end": { "line": 135, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4844, "end": 4845, "loc": { "start": { "line": 135, "column": 16 }, "end": { "line": 135, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cachedPatternBackground", "start": 4845, "end": 4868, "loc": { "start": { "line": 135, "column": 17 }, "end": { "line": 135, "column": 40 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4869, "end": 4870, "loc": { "start": { "line": 135, "column": 41 }, "end": { "line": 135, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 4871, "end": 4881, "loc": { "start": { "line": 135, "column": 43 }, "end": { "line": 135, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4881, "end": 4882, "loc": { "start": { "line": 135, "column": 53 }, "end": { "line": 135, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 4882, "end": 4889, "loc": { "start": { "line": 135, "column": 54 }, "end": { "line": 135, "column": 61 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4889, "end": 4890, "loc": { "start": { "line": 135, "column": 61 }, "end": { "line": 135, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createPattern", "start": 4890, "end": 4903, "loc": { "start": { "line": 135, "column": 62 }, "end": { "line": 135, "column": 75 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4903, "end": 4904, "loc": { "start": { "line": 135, "column": 75 }, "end": { "line": 135, "column": 76 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4904, "end": 4908, "loc": { "start": { "line": 135, "column": 76 }, "end": { "line": 135, "column": 80 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4908, "end": 4909, "loc": { "start": { "line": 135, "column": 80 }, "end": { "line": 135, "column": 81 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tilePatternCanvas", "start": 4909, "end": 4926, "loc": { "start": { "line": 135, "column": 81 }, "end": { "line": 135, "column": 98 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4926, "end": 4927, "loc": { "start": { "line": 135, "column": 98 }, "end": { "line": 135, "column": 99 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "repeat", "start": 4928, "end": 4936, "loc": { "start": { "line": 135, "column": 100 }, "end": { "line": 135, "column": 108 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4936, "end": 4937, "loc": { "start": { "line": 135, "column": 108 }, "end": { "line": 135, "column": 109 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4937, "end": 4938, "loc": { "start": { "line": 135, "column": 109 }, "end": { "line": 135, "column": 110 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4948, "end": 4949, "loc": { "start": { "line": 136, "column": 8 }, "end": { "line": 136, "column": 9 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 4961, "end": 4966, "loc": { "start": { "line": 138, "column": 8 }, "end": { "line": 138, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bounds", "start": 4967, "end": 4973, "loc": { "start": { "line": 138, "column": 14 }, "end": { "line": 138, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4974, "end": 4975, "loc": { "start": { "line": 138, "column": 21 }, "end": { "line": 138, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 4976, "end": 4986, "loc": { "start": { "line": 138, "column": 23 }, "end": { "line": 138, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4986, "end": 4987, "loc": { "start": { "line": 138, "column": 33 }, "end": { "line": 138, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "visibleRect", "start": 4987, "end": 4998, "loc": { "start": { "line": 138, "column": 34 }, "end": { "line": 138, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4998, "end": 4999, "loc": { "start": { "line": 138, "column": 45 }, "end": { "line": 138, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 5011, "end": 5021, "loc": { "start": { "line": 140, "column": 8 }, "end": { "line": 140, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5021, "end": 5022, "loc": { "start": { "line": 140, "column": 18 }, "end": { "line": 140, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 5022, "end": 5029, "loc": { "start": { "line": 140, "column": 19 }, "end": { "line": 140, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5029, "end": 5030, "loc": { "start": { "line": 140, "column": 26 }, "end": { "line": 140, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalAlpha", "start": 5030, "end": 5041, "loc": { "start": { "line": 140, "column": 27 }, "end": { "line": 140, "column": 38 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5042, "end": 5043, "loc": { "start": { "line": 140, "column": 39 }, "end": { "line": 140, "column": 40 } } }, { "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": 5044, "end": 5048, "loc": { "start": { "line": 140, "column": 41 }, "end": { "line": 140, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5048, "end": 5049, "loc": { "start": { "line": 140, "column": 45 }, "end": { "line": 140, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentAlpha", "start": 5049, "end": 5061, "loc": { "start": { "line": 140, "column": 46 }, "end": { "line": 140, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5061, "end": 5062, "loc": { "start": { "line": 140, "column": 58 }, "end": { "line": 140, "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": 5074, "end": 5079, "loc": { "start": { "line": 142, "column": 8 }, "end": { "line": 142, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "scaleFactor", "start": 5080, "end": 5091, "loc": { "start": { "line": 142, "column": 14 }, "end": { "line": 142, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5092, "end": 5093, "loc": { "start": { "line": 142, "column": 26 }, "end": { "line": 142, "column": 27 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 5094, "end": 5095, "loc": { "start": { "line": 142, "column": 28 }, "end": { "line": 142, "column": 29 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 5096, "end": 5097, "loc": { "start": { "line": 142, "column": 30 }, "end": { "line": 142, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "wiresBackgroundDpi", "start": 5098, "end": 5116, "loc": { "start": { "line": 142, "column": 32 }, "end": { "line": 142, "column": 50 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5116, "end": 5117, "loc": { "start": { "line": 142, "column": 50 }, "end": { "line": 142, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 5127, "end": 5137, "loc": { "start": { "line": 143, "column": 8 }, "end": { "line": 143, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5137, "end": 5138, "loc": { "start": { "line": 143, "column": 18 }, "end": { "line": 143, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 5138, "end": 5145, "loc": { "start": { "line": 143, "column": 19 }, "end": { "line": 143, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5145, "end": 5146, "loc": { "start": { "line": 143, "column": 26 }, "end": { "line": 143, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalCompositeOperation", "start": 5146, "end": 5170, "loc": { "start": { "line": 143, "column": 27 }, "end": { "line": 143, "column": 51 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5171, "end": 5172, "loc": { "start": { "line": 143, "column": 52 }, "end": { "line": 143, "column": 53 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "overlay", "start": 5173, "end": 5182, "loc": { "start": { "line": 143, "column": 54 }, "end": { "line": 143, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5182, "end": 5183, "loc": { "start": { "line": 143, "column": 63 }, "end": { "line": 143, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 5193, "end": 5203, "loc": { "start": { "line": 144, "column": 8 }, "end": { "line": 144, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5203, "end": 5204, "loc": { "start": { "line": 144, "column": 18 }, "end": { "line": 144, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 5204, "end": 5211, "loc": { "start": { "line": 144, "column": 19 }, "end": { "line": 144, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5211, "end": 5212, "loc": { "start": { "line": 144, "column": 26 }, "end": { "line": 144, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fillStyle", "start": 5212, "end": 5221, "loc": { "start": { "line": 144, "column": 27 }, "end": { "line": 144, "column": 36 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5222, "end": 5223, "loc": { "start": { "line": 144, "column": 37 }, "end": { "line": 144, "column": 38 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "rgba(50, 200, 150, 1)", "start": 5224, "end": 5247, "loc": { "start": { "line": 144, "column": 39 }, "end": { "line": 144, "column": 62 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5247, "end": 5248, "loc": { "start": { "line": 144, "column": 62 }, "end": { "line": 144, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 5258, "end": 5268, "loc": { "start": { "line": 145, "column": 8 }, "end": { "line": 145, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5268, "end": 5269, "loc": { "start": { "line": 145, "column": 18 }, "end": { "line": 145, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 5269, "end": 5276, "loc": { "start": { "line": 145, "column": 19 }, "end": { "line": 145, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5276, "end": 5277, "loc": { "start": { "line": 145, "column": 26 }, "end": { "line": 145, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fillRect", "start": 5277, "end": 5285, "loc": { "start": { "line": 145, "column": 27 }, "end": { "line": 145, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5285, "end": 5286, "loc": { "start": { "line": 145, "column": 35 }, "end": { "line": 145, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bounds", "start": 5286, "end": 5292, "loc": { "start": { "line": 145, "column": 36 }, "end": { "line": 145, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5292, "end": 5293, "loc": { "start": { "line": 145, "column": 42 }, "end": { "line": 145, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 5293, "end": 5294, "loc": { "start": { "line": 145, "column": 43 }, "end": { "line": 145, "column": 44 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5294, "end": 5295, "loc": { "start": { "line": 145, "column": 44 }, "end": { "line": 145, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bounds", "start": 5296, "end": 5302, "loc": { "start": { "line": 145, "column": 46 }, "end": { "line": 145, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5302, "end": 5303, "loc": { "start": { "line": 145, "column": 52 }, "end": { "line": 145, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 5303, "end": 5304, "loc": { "start": { "line": 145, "column": 53 }, "end": { "line": 145, "column": 54 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5304, "end": 5305, "loc": { "start": { "line": 145, "column": 54 }, "end": { "line": 145, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bounds", "start": 5306, "end": 5312, "loc": { "start": { "line": 145, "column": 56 }, "end": { "line": 145, "column": 62 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5312, "end": 5313, "loc": { "start": { "line": 145, "column": 62 }, "end": { "line": 145, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "w", "start": 5313, "end": 5314, "loc": { "start": { "line": 145, "column": 63 }, "end": { "line": 145, "column": 64 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5314, "end": 5315, "loc": { "start": { "line": 145, "column": 64 }, "end": { "line": 145, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bounds", "start": 5316, "end": 5322, "loc": { "start": { "line": 145, "column": 66 }, "end": { "line": 145, "column": 72 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5322, "end": 5323, "loc": { "start": { "line": 145, "column": 72 }, "end": { "line": 145, "column": 73 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "h", "start": 5323, "end": 5324, "loc": { "start": { "line": 145, "column": 73 }, "end": { "line": 145, "column": 74 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5324, "end": 5325, "loc": { "start": { "line": 145, "column": 74 }, "end": { "line": 145, "column": 75 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5325, "end": 5326, "loc": { "start": { "line": 145, "column": 75 }, "end": { "line": 145, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 5336, "end": 5346, "loc": { "start": { "line": 146, "column": 8 }, "end": { "line": 146, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5346, "end": 5347, "loc": { "start": { "line": 146, "column": 18 }, "end": { "line": 146, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 5347, "end": 5354, "loc": { "start": { "line": 146, "column": 19 }, "end": { "line": 146, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5354, "end": 5355, "loc": { "start": { "line": 146, "column": 26 }, "end": { "line": 146, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalCompositeOperation", "start": 5355, "end": 5379, "loc": { "start": { "line": 146, "column": 27 }, "end": { "line": 146, "column": 51 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5380, "end": 5381, "loc": { "start": { "line": 146, "column": 52 }, "end": { "line": 146, "column": 53 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "source-over", "start": 5382, "end": 5395, "loc": { "start": { "line": 146, "column": 54 }, "end": { "line": 146, "column": 67 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5395, "end": 5396, "loc": { "start": { "line": 146, "column": 67 }, "end": { "line": 146, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 5408, "end": 5418, "loc": { "start": { "line": 148, "column": 8 }, "end": { "line": 148, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5418, "end": 5419, "loc": { "start": { "line": 148, "column": 18 }, "end": { "line": 148, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 5419, "end": 5426, "loc": { "start": { "line": 148, "column": 19 }, "end": { "line": 148, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5426, "end": 5427, "loc": { "start": { "line": 148, "column": 26 }, "end": { "line": 148, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "scale", "start": 5427, "end": 5432, "loc": { "start": { "line": 148, "column": 27 }, "end": { "line": 148, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5432, "end": 5433, "loc": { "start": { "line": 148, "column": 32 }, "end": { "line": 148, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "scaleFactor", "start": 5433, "end": 5444, "loc": { "start": { "line": 148, "column": 33 }, "end": { "line": 148, "column": 44 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5444, "end": 5445, "loc": { "start": { "line": 148, "column": 44 }, "end": { "line": 148, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "scaleFactor", "start": 5446, "end": 5457, "loc": { "start": { "line": 148, "column": 46 }, "end": { "line": 148, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5457, "end": 5458, "loc": { "start": { "line": 148, "column": 57 }, "end": { "line": 148, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5458, "end": 5459, "loc": { "start": { "line": 148, "column": 58 }, "end": { "line": 148, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 5469, "end": 5479, "loc": { "start": { "line": 149, "column": 8 }, "end": { "line": 149, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5479, "end": 5480, "loc": { "start": { "line": 149, "column": 18 }, "end": { "line": 149, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 5480, "end": 5487, "loc": { "start": { "line": 149, "column": 19 }, "end": { "line": 149, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5487, "end": 5488, "loc": { "start": { "line": 149, "column": 26 }, "end": { "line": 149, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fillStyle", "start": 5488, "end": 5497, "loc": { "start": { "line": 149, "column": 27 }, "end": { "line": 149, "column": 36 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5498, "end": 5499, "loc": { "start": { "line": 149, "column": 37 }, "end": { "line": 149, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hasTileGrid", "start": 5500, "end": 5511, "loc": { "start": { "line": 149, "column": 39 }, "end": { "line": 149, "column": 50 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5512, "end": 5513, "loc": { "start": { "line": 149, "column": 51 }, "end": { "line": 149, "column": 52 } } }, { "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": 5527, "end": 5531, "loc": { "start": { "line": 150, "column": 12 }, "end": { "line": 150, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5531, "end": 5532, "loc": { "start": { "line": 150, "column": 16 }, "end": { "line": 150, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "cachedPatternBackground", "start": 5532, "end": 5555, "loc": { "start": { "line": 150, "column": 17 }, "end": { "line": 150, "column": 40 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5556, "end": 5557, "loc": { "start": { "line": 150, "column": 41 }, "end": { "line": 150, "column": 42 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "rgba(78, 137, 125, 0.75)", "start": 5571, "end": 5597, "loc": { "start": { "line": 151, "column": 12 }, "end": { "line": 151, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5597, "end": 5598, "loc": { "start": { "line": 151, "column": 38 }, "end": { "line": 151, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 5608, "end": 5618, "loc": { "start": { "line": 152, "column": 8 }, "end": { "line": 152, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5618, "end": 5619, "loc": { "start": { "line": 152, "column": 18 }, "end": { "line": 152, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 5619, "end": 5626, "loc": { "start": { "line": 152, "column": 19 }, "end": { "line": 152, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5626, "end": 5627, "loc": { "start": { "line": 152, "column": 26 }, "end": { "line": 152, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fillRect", "start": 5627, "end": 5635, "loc": { "start": { "line": 152, "column": 27 }, "end": { "line": 152, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5635, "end": 5636, "loc": { "start": { "line": 152, "column": 35 }, "end": { "line": 152, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bounds", "start": 5650, "end": 5656, "loc": { "start": { "line": 153, "column": 12 }, "end": { "line": 153, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5656, "end": 5657, "loc": { "start": { "line": 153, "column": 18 }, "end": { "line": 153, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 5657, "end": 5658, "loc": { "start": { "line": 153, "column": 19 }, "end": { "line": 153, "column": 20 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 5659, "end": 5660, "loc": { "start": { "line": 153, "column": 21 }, "end": { "line": 153, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "scaleFactor", "start": 5661, "end": 5672, "loc": { "start": { "line": 153, "column": 23 }, "end": { "line": 153, "column": 34 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5672, "end": 5673, "loc": { "start": { "line": 153, "column": 34 }, "end": { "line": 153, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bounds", "start": 5687, "end": 5693, "loc": { "start": { "line": 154, "column": 12 }, "end": { "line": 154, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5693, "end": 5694, "loc": { "start": { "line": 154, "column": 18 }, "end": { "line": 154, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 5694, "end": 5695, "loc": { "start": { "line": 154, "column": 19 }, "end": { "line": 154, "column": 20 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 5696, "end": 5697, "loc": { "start": { "line": 154, "column": 21 }, "end": { "line": 154, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "scaleFactor", "start": 5698, "end": 5709, "loc": { "start": { "line": 154, "column": 23 }, "end": { "line": 154, "column": 34 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5709, "end": 5710, "loc": { "start": { "line": 154, "column": 34 }, "end": { "line": 154, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bounds", "start": 5724, "end": 5730, "loc": { "start": { "line": 155, "column": 12 }, "end": { "line": 155, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5730, "end": 5731, "loc": { "start": { "line": 155, "column": 18 }, "end": { "line": 155, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "w", "start": 5731, "end": 5732, "loc": { "start": { "line": 155, "column": 19 }, "end": { "line": 155, "column": 20 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 5733, "end": 5734, "loc": { "start": { "line": 155, "column": 21 }, "end": { "line": 155, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "scaleFactor", "start": 5735, "end": 5746, "loc": { "start": { "line": 155, "column": 23 }, "end": { "line": 155, "column": 34 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5746, "end": 5747, "loc": { "start": { "line": 155, "column": 34 }, "end": { "line": 155, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bounds", "start": 5761, "end": 5767, "loc": { "start": { "line": 156, "column": 12 }, "end": { "line": 156, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5767, "end": 5768, "loc": { "start": { "line": 156, "column": 18 }, "end": { "line": 156, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "h", "start": 5768, "end": 5769, "loc": { "start": { "line": 156, "column": 19 }, "end": { "line": 156, "column": 20 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 5770, "end": 5771, "loc": { "start": { "line": 156, "column": 21 }, "end": { "line": 156, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "scaleFactor", "start": 5772, "end": 5783, "loc": { "start": { "line": 156, "column": 23 }, "end": { "line": 156, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5793, "end": 5794, "loc": { "start": { "line": 157, "column": 8 }, "end": { "line": 157, "column": 9 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5794, "end": 5795, "loc": { "start": { "line": 157, "column": 9 }, "end": { "line": 157, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 5805, "end": 5815, "loc": { "start": { "line": 158, "column": 8 }, "end": { "line": 158, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5815, "end": 5816, "loc": { "start": { "line": 158, "column": 18 }, "end": { "line": 158, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 5816, "end": 5823, "loc": { "start": { "line": 158, "column": 19 }, "end": { "line": 158, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5823, "end": 5824, "loc": { "start": { "line": 158, "column": 26 }, "end": { "line": 158, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "scale", "start": 5824, "end": 5829, "loc": { "start": { "line": 158, "column": 27 }, "end": { "line": 158, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5829, "end": 5830, "loc": { "start": { "line": 158, "column": 32 }, "end": { "line": 158, "column": 33 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 5830, "end": 5831, "loc": { "start": { "line": 158, "column": 33 }, "end": { "line": 158, "column": 34 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 5832, "end": 5833, "loc": { "start": { "line": 158, "column": 35 }, "end": { "line": 158, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "scaleFactor", "start": 5834, "end": 5845, "loc": { "start": { "line": 158, "column": 37 }, "end": { "line": 158, "column": 48 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5845, "end": 5846, "loc": { "start": { "line": 158, "column": 48 }, "end": { "line": 158, "column": 49 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 5847, "end": 5848, "loc": { "start": { "line": 158, "column": 50 }, "end": { "line": 158, "column": 51 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 5849, "end": 5850, "loc": { "start": { "line": 158, "column": 52 }, "end": { "line": 158, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "scaleFactor", "start": 5851, "end": 5862, "loc": { "start": { "line": 158, "column": 54 }, "end": { "line": 158, "column": 65 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5862, "end": 5863, "loc": { "start": { "line": 158, "column": 65 }, "end": { "line": 158, "column": 66 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5863, "end": 5864, "loc": { "start": { "line": 158, "column": 66 }, "end": { "line": 158, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 5876, "end": 5886, "loc": { "start": { "line": 160, "column": 8 }, "end": { "line": 160, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5886, "end": 5887, "loc": { "start": { "line": 160, "column": 18 }, "end": { "line": 160, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 5887, "end": 5894, "loc": { "start": { "line": 160, "column": 19 }, "end": { "line": 160, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5894, "end": 5895, "loc": { "start": { "line": 160, "column": 26 }, "end": { "line": 160, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalAlpha", "start": 5895, "end": 5906, "loc": { "start": { "line": 160, "column": 27 }, "end": { "line": 160, "column": 38 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5907, "end": 5908, "loc": { "start": { "line": 160, "column": 39 }, "end": { "line": 160, "column": 40 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 5909, "end": 5910, "loc": { "start": { "line": 160, "column": 41 }, "end": { "line": 160, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5910, "end": 5911, "loc": { "start": { "line": 160, "column": 42 }, "end": { "line": 160, "column": 43 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5917, "end": 5918, "loc": { "start": { "line": 161, "column": 4 }, "end": { "line": 161, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5920, "end": 5921, "loc": { "start": { "line": 162, "column": 0 }, "end": { "line": 162, "column": 1 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5921, "end": 5921, "loc": { "start": { "line": 162, "column": 1 }, "end": { "line": 162, "column": 1 } } } ] }