{ "type": "File", "start": 0, "end": 20043, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 522, "column": 0 } }, "program": { "type": "Program", "start": 0, "end": 20043, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 522, "column": 0 } }, "sourceType": "module", "body": [ { "type": "ImportDeclaration", "start": 0, "end": 46, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 46 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 9, "end": 21, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 21 } }, "imported": { "type": "Identifier", "start": 9, "end": 21, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 21 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "local": { "type": "Identifier", "start": 9, "end": 21, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 21 }, "identifierName": "globalConfig" }, "name": "globalConfig" } } ], "source": { "type": "StringLiteral", "start": 29, "end": 45, "loc": { "start": { "line": 1, "column": 29 }, "end": { "line": 1, "column": 45 } }, "extra": { "rawValue": "../core/config", "raw": "\"../core/config\"" }, "value": "../core/config" } }, { "type": "ImportDeclaration", "start": 48, "end": 95, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 47 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 57, "end": 69, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 21 } }, "imported": { "type": "Identifier", "start": 57, "end": 69, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 21 }, "identifierName": "createLogger" }, "name": "createLogger" }, "local": { "type": "Identifier", "start": 57, "end": 69, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 21 }, "identifierName": "createLogger" }, "name": "createLogger" } } ], "source": { "type": "StringLiteral", "start": 77, "end": 94, "loc": { "start": { "line": 2, "column": 29 }, "end": { "line": 2, "column": 46 } }, "extra": { "rawValue": "../core/logging", "raw": "\"../core/logging\"" }, "value": "../core/logging" } }, { "type": "ImportDeclaration", "start": 97, "end": 149, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 52 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 106, "end": 127, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 30 } }, "imported": { "type": "Identifier", "start": 106, "end": 127, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 30 }, "identifierName": "RandomNumberGenerator" }, "name": "RandomNumberGenerator" }, "local": { "type": "Identifier", "start": 106, "end": 127, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 30 }, "identifierName": "RandomNumberGenerator" }, "name": "RandomNumberGenerator" } } ], "source": { "type": "StringLiteral", "start": 135, "end": 148, "loc": { "start": { "line": 3, "column": 38 }, "end": { "line": 3, "column": 51 } }, "extra": { "rawValue": "../core/rng", "raw": "\"../core/rng\"" }, "value": "../core/rng" } }, { "type": "ImportDeclaration", "start": 151, "end": 244, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 93 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 160, "end": 165, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 14 } }, "imported": { "type": "Identifier", "start": 160, "end": 165, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 14 }, "identifierName": "clamp" }, "name": "clamp" }, "local": { "type": "Identifier", "start": 160, "end": 165, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 14 }, "identifierName": "clamp" }, "name": "clamp" } }, { "type": "ImportSpecifier", "start": 167, "end": 198, "loc": { "start": { "line": 4, "column": 16 }, "end": { "line": 4, "column": 47 } }, "imported": { "type": "Identifier", "start": 167, "end": 198, "loc": { "start": { "line": 4, "column": 16 }, "end": { "line": 4, "column": 47 }, "identifierName": "fastArrayDeleteValueIfContained" }, "name": "fastArrayDeleteValueIfContained" }, "local": { "type": "Identifier", "start": 167, "end": 198, "loc": { "start": { "line": 4, "column": 16 }, "end": { "line": 4, "column": 47 }, "identifierName": "fastArrayDeleteValueIfContained" }, "name": "fastArrayDeleteValueIfContained" } }, { "type": "ImportSpecifier", "start": 200, "end": 220, "loc": { "start": { "line": 4, "column": 49 }, "end": { "line": 4, "column": 69 } }, "imported": { "type": "Identifier", "start": 200, "end": 220, "loc": { "start": { "line": 4, "column": 49 }, "end": { "line": 4, "column": 69 }, "identifierName": "make2DUndefinedArray" }, "name": "make2DUndefinedArray" }, "local": { "type": "Identifier", "start": 200, "end": 220, "loc": { "start": { "line": 4, "column": 49 }, "end": { "line": 4, "column": 69 }, "identifierName": "make2DUndefinedArray" }, "name": "make2DUndefinedArray" } } ], "source": { "type": "StringLiteral", "start": 228, "end": 243, "loc": { "start": { "line": 4, "column": 77 }, "end": { "line": 4, "column": 92 } }, "extra": { "rawValue": "../core/utils", "raw": "\"../core/utils\"" }, "value": "../core/utils" } }, { "type": "ImportDeclaration", "start": 246, "end": 286, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 40 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 255, "end": 261, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 15 } }, "imported": { "type": "Identifier", "start": 255, "end": 261, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 15 }, "identifierName": "Vector" }, "name": "Vector" }, "local": { "type": "Identifier", "start": 255, "end": 261, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 15 }, "identifierName": "Vector" }, "name": "Vector" } } ], "source": { "type": "StringLiteral", "start": 269, "end": 285, "loc": { "start": { "line": 5, "column": 23 }, "end": { "line": 5, "column": 39 } }, "extra": { "rawValue": "../core/vector", "raw": "\"../core/vector\"" }, "value": "../core/vector" } }, { "type": "ImportDeclaration", "start": 288, "end": 327, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "column": 39 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 297, "end": 305, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 17 } }, "imported": { "type": "Identifier", "start": 297, "end": 305, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 17 }, "identifierName": "BaseItem" }, "name": "BaseItem" }, "local": { "type": "Identifier", "start": 297, "end": 305, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 17 }, "identifierName": "BaseItem" }, "name": "BaseItem" } } ], "source": { "type": "StringLiteral", "start": 313, "end": 326, "loc": { "start": { "line": 6, "column": 25 }, "end": { "line": 6, "column": 38 } }, "extra": { "rawValue": "./base_item", "raw": "\"./base_item\"" }, "value": "./base_item" } }, { "type": "ImportDeclaration", "start": 329, "end": 367, "loc": { "start": { "line": 7, "column": 0 }, "end": { "line": 7, "column": 38 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 338, "end": 348, "loc": { "start": { "line": 7, "column": 9 }, "end": { "line": 7, "column": 19 } }, "imported": { "type": "Identifier", "start": 338, "end": 348, "loc": { "start": { "line": 7, "column": 9 }, "end": { "line": 7, "column": 19 }, "identifierName": "enumColors" }, "name": "enumColors" }, "local": { "type": "Identifier", "start": 338, "end": 348, "loc": { "start": { "line": 7, "column": 9 }, "end": { "line": 7, "column": 19 }, "identifierName": "enumColors" }, "name": "enumColors" } } ], "source": { "type": "StringLiteral", "start": 356, "end": 366, "loc": { "start": { "line": 7, "column": 27 }, "end": { "line": 7, "column": 37 } }, "extra": { "rawValue": "./colors", "raw": "\"./colors\"" }, "value": "./colors" } }, { "type": "ImportDeclaration", "start": 369, "end": 403, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 8, "column": 34 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 378, "end": 384, "loc": { "start": { "line": 8, "column": 9 }, "end": { "line": 8, "column": 15 } }, "imported": { "type": "Identifier", "start": 378, "end": 384, "loc": { "start": { "line": 8, "column": 9 }, "end": { "line": 8, "column": 15 }, "identifierName": "Entity" }, "name": "Entity" }, "local": { "type": "Identifier", "start": 378, "end": 384, "loc": { "start": { "line": 8, "column": 9 }, "end": { "line": 8, "column": 15 }, "identifierName": "Entity" }, "name": "Entity" } } ], "source": { "type": "StringLiteral", "start": 392, "end": 402, "loc": { "start": { "line": 8, "column": 23 }, "end": { "line": 8, "column": 33 } }, "extra": { "rawValue": "./entity", "raw": "\"./entity\"" }, "value": "./entity" } }, { "type": "ImportDeclaration", "start": 405, "end": 452, "loc": { "start": { "line": 9, "column": 0 }, "end": { "line": 9, "column": 47 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 414, "end": 423, "loc": { "start": { "line": 9, "column": 9 }, "end": { "line": 9, "column": 18 } }, "imported": { "type": "Identifier", "start": 414, "end": 423, "loc": { "start": { "line": 9, "column": 9 }, "end": { "line": 9, "column": 18 }, "identifierName": "ColorItem" }, "name": "ColorItem" }, "local": { "type": "Identifier", "start": 414, "end": 423, "loc": { "start": { "line": 9, "column": 9 }, "end": { "line": 9, "column": 18 }, "identifierName": "ColorItem" }, "name": "ColorItem" } } ], "source": { "type": "StringLiteral", "start": 431, "end": 451, "loc": { "start": { "line": 9, "column": 26 }, "end": { "line": 9, "column": 46 } }, "extra": { "rawValue": "./items/color_item", "raw": "\"./items/color_item\"" }, "value": "./items/color_item" } }, { "type": "ImportDeclaration", "start": 454, "end": 488, "loc": { "start": { "line": 10, "column": 0 }, "end": { "line": 10, "column": 34 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 463, "end": 471, "loc": { "start": { "line": 10, "column": 9 }, "end": { "line": 10, "column": 17 } }, "imported": { "type": "Identifier", "start": 463, "end": 471, "loc": { "start": { "line": 10, "column": 9 }, "end": { "line": 10, "column": 17 }, "identifierName": "GameRoot" }, "name": "GameRoot" }, "local": { "type": "Identifier", "start": 463, "end": 471, "loc": { "start": { "line": 10, "column": 9 }, "end": { "line": 10, "column": 17 }, "identifierName": "GameRoot" }, "name": "GameRoot" } } ], "source": { "type": "StringLiteral", "start": 479, "end": 487, "loc": { "start": { "line": 10, "column": 25 }, "end": { "line": 10, "column": 33 } }, "extra": { "rawValue": "./root", "raw": "\"./root\"" }, "value": "./root" } }, { "type": "ImportDeclaration", "start": 490, "end": 540, "loc": { "start": { "line": 11, "column": 0 }, "end": { "line": 11, "column": 50 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 499, "end": 511, "loc": { "start": { "line": 11, "column": 9 }, "end": { "line": 11, "column": 21 } }, "imported": { "type": "Identifier", "start": 499, "end": 511, "loc": { "start": { "line": 11, "column": 9 }, "end": { "line": 11, "column": 21 }, "identifierName": "enumSubShape" }, "name": "enumSubShape" }, "local": { "type": "Identifier", "start": 499, "end": 511, "loc": { "start": { "line": 11, "column": 9 }, "end": { "line": 11, "column": 21 }, "identifierName": "enumSubShape" }, "name": "enumSubShape" } } ], "source": { "type": "StringLiteral", "start": 519, "end": 539, "loc": { "start": { "line": 11, "column": 29 }, "end": { "line": 11, "column": 49 } }, "extra": { "rawValue": "./shape_definition", "raw": "\"./shape_definition\"" }, "value": "./shape_definition" } }, { "type": "ImportDeclaration", "start": 542, "end": 588, "loc": { "start": { "line": 12, "column": 0 }, "end": { "line": 12, "column": 46 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 551, "end": 560, "loc": { "start": { "line": 12, "column": 9 }, "end": { "line": 12, "column": 18 } }, "imported": { "type": "Identifier", "start": 551, "end": 560, "loc": { "start": { "line": 12, "column": 9 }, "end": { "line": 12, "column": 18 }, "identifierName": "Rectangle" }, "name": "Rectangle" }, "local": { "type": "Identifier", "start": 551, "end": 560, "loc": { "start": { "line": 12, "column": 9 }, "end": { "line": 12, "column": 18 }, "identifierName": "Rectangle" }, "name": "Rectangle" } } ], "source": { "type": "StringLiteral", "start": 568, "end": 587, "loc": { "start": { "line": 12, "column": 26 }, "end": { "line": 12, "column": 45 } }, "extra": { "rawValue": "../core/rectangle", "raw": "\"../core/rectangle\"" }, "value": "../core/rectangle" } }, { "type": "VariableDeclaration", "start": 592, "end": 633, "loc": { "start": { "line": 14, "column": 0 }, "end": { "line": 14, "column": 41 } }, "declarations": [ { "type": "VariableDeclarator", "start": 598, "end": 632, "loc": { "start": { "line": 14, "column": 6 }, "end": { "line": 14, "column": 40 } }, "id": { "type": "Identifier", "start": 598, "end": 604, "loc": { "start": { "line": 14, "column": 6 }, "end": { "line": 14, "column": 12 }, "identifierName": "logger" }, "name": "logger" }, "init": { "type": "CallExpression", "start": 607, "end": 632, "loc": { "start": { "line": 14, "column": 15 }, "end": { "line": 14, "column": 40 } }, "callee": { "type": "Identifier", "start": 607, "end": 619, "loc": { "start": { "line": 14, "column": 15 }, "end": { "line": 14, "column": 27 }, "identifierName": "createLogger" }, "name": "createLogger" }, "arguments": [ { "type": "StringLiteral", "start": 620, "end": 631, "loc": { "start": { "line": 14, "column": 28 }, "end": { "line": 14, "column": 39 } }, "extra": { "rawValue": "map_chunk", "raw": "\"map_chunk\"" }, "value": "map_chunk" } ] } } ], "kind": "const" }, { "type": "ExportNamedDeclaration", "start": 637, "end": 13383, "loc": { "start": { "line": 16, "column": 0 }, "end": { "line": 362, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "ClassDeclaration", "start": 644, "end": 13383, "loc": { "start": { "line": 16, "column": 7 }, "end": { "line": 362, "column": 1 } }, "id": { "type": "Identifier", "start": 650, "end": 658, "loc": { "start": { "line": 16, "column": 13 }, "end": { "line": 16, "column": 21 }, "identifierName": "MapChunk" }, "name": "MapChunk" }, "superClass": null, "body": { "type": "ClassBody", "start": 659, "end": 13383, "loc": { "start": { "line": 16, "column": 22 }, "end": { "line": 362, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 775, "end": 3394, "loc": { "start": { "line": 23, "column": 4 }, "end": { "line": 102, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 775, "end": 786, "loc": { "start": { "line": 23, "column": 4 }, "end": { "line": 23, "column": 15 }, "identifierName": "constructor" }, "name": "constructor", "leadingComments": null }, "kind": "constructor", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 787, "end": 791, "loc": { "start": { "line": 23, "column": 16 }, "end": { "line": 23, "column": 20 }, "identifierName": "root" }, "name": "root" }, { "type": "Identifier", "start": 793, "end": 794, "loc": { "start": { "line": 23, "column": 22 }, "end": { "line": 23, "column": 23 }, "identifierName": "x" }, "name": "x" }, { "type": "Identifier", "start": 796, "end": 797, "loc": { "start": { "line": 23, "column": 25 }, "end": { "line": 23, "column": 26 }, "identifierName": "y" }, "name": "y" } ], "body": { "type": "BlockStatement", "start": 799, "end": 3394, "loc": { "start": { "line": 23, "column": 28 }, "end": { "line": 102, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 810, "end": 827, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 25 } }, "expression": { "type": "AssignmentExpression", "start": 810, "end": 826, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 24 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 810, "end": 819, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 17 } }, "object": { "type": "ThisExpression", "start": 810, "end": 814, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 12 } } }, "property": { "type": "Identifier", "start": 815, "end": 819, "loc": { "start": { "line": 24, "column": 13 }, "end": { "line": 24, "column": 17 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "right": { "type": "Identifier", "start": 822, "end": 826, "loc": { "start": { "line": 24, "column": 20 }, "end": { "line": 24, "column": 24 }, "identifierName": "root" }, "name": "root" } } }, { "type": "ExpressionStatement", "start": 837, "end": 848, "loc": { "start": { "line": 25, "column": 8 }, "end": { "line": 25, "column": 19 } }, "expression": { "type": "AssignmentExpression", "start": 837, "end": 847, "loc": { "start": { "line": 25, "column": 8 }, "end": { "line": 25, "column": 18 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 837, "end": 843, "loc": { "start": { "line": 25, "column": 8 }, "end": { "line": 25, "column": 14 } }, "object": { "type": "ThisExpression", "start": 837, "end": 841, "loc": { "start": { "line": 25, "column": 8 }, "end": { "line": 25, "column": 12 } } }, "property": { "type": "Identifier", "start": 842, "end": 843, "loc": { "start": { "line": 25, "column": 13 }, "end": { "line": 25, "column": 14 }, "identifierName": "x" }, "name": "x" }, "computed": false }, "right": { "type": "Identifier", "start": 846, "end": 847, "loc": { "start": { "line": 25, "column": 17 }, "end": { "line": 25, "column": 18 }, "identifierName": "x" }, "name": "x" } } }, { "type": "ExpressionStatement", "start": 858, "end": 869, "loc": { "start": { "line": 26, "column": 8 }, "end": { "line": 26, "column": 19 } }, "expression": { "type": "AssignmentExpression", "start": 858, "end": 868, "loc": { "start": { "line": 26, "column": 8 }, "end": { "line": 26, "column": 18 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 858, "end": 864, "loc": { "start": { "line": 26, "column": 8 }, "end": { "line": 26, "column": 14 } }, "object": { "type": "ThisExpression", "start": 858, "end": 862, "loc": { "start": { "line": 26, "column": 8 }, "end": { "line": 26, "column": 12 } } }, "property": { "type": "Identifier", "start": 863, "end": 864, "loc": { "start": { "line": 26, "column": 13 }, "end": { "line": 26, "column": 14 }, "identifierName": "y" }, "name": "y" }, "computed": false }, "right": { "type": "Identifier", "start": 867, "end": 868, "loc": { "start": { "line": 26, "column": 17 }, "end": { "line": 26, "column": 18 }, "identifierName": "y" }, "name": "y" } } }, { "type": "ExpressionStatement", "start": 879, "end": 922, "loc": { "start": { "line": 27, "column": 8 }, "end": { "line": 27, "column": 51 } }, "expression": { "type": "AssignmentExpression", "start": 879, "end": 921, "loc": { "start": { "line": 27, "column": 8 }, "end": { "line": 27, "column": 50 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 879, "end": 889, "loc": { "start": { "line": 27, "column": 8 }, "end": { "line": 27, "column": 18 } }, "object": { "type": "ThisExpression", "start": 879, "end": 883, "loc": { "start": { "line": 27, "column": 8 }, "end": { "line": 27, "column": 12 } } }, "property": { "type": "Identifier", "start": 884, "end": 889, "loc": { "start": { "line": 27, "column": 13 }, "end": { "line": 27, "column": 18 }, "identifierName": "tileX" }, "name": "tileX" }, "computed": false }, "right": { "type": "BinaryExpression", "start": 892, "end": 921, "loc": { "start": { "line": 27, "column": 21 }, "end": { "line": 27, "column": 50 } }, "left": { "type": "Identifier", "start": 892, "end": 893, "loc": { "start": { "line": 27, "column": 21 }, "end": { "line": 27, "column": 22 }, "identifierName": "x" }, "name": "x" }, "operator": "*", "right": { "type": "MemberExpression", "start": 896, "end": 921, "loc": { "start": { "line": 27, "column": 25 }, "end": { "line": 27, "column": 50 } }, "object": { "type": "Identifier", "start": 896, "end": 908, "loc": { "start": { "line": 27, "column": 25 }, "end": { "line": 27, "column": 37 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 909, "end": 921, "loc": { "start": { "line": 27, "column": 38 }, "end": { "line": 27, "column": 50 }, "identifierName": "mapChunkSize" }, "name": "mapChunkSize" }, "computed": false } } } }, { "type": "ExpressionStatement", "start": 932, "end": 975, "loc": { "start": { "line": 28, "column": 8 }, "end": { "line": 28, "column": 51 } }, "expression": { "type": "AssignmentExpression", "start": 932, "end": 974, "loc": { "start": { "line": 28, "column": 8 }, "end": { "line": 28, "column": 50 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 932, "end": 942, "loc": { "start": { "line": 28, "column": 8 }, "end": { "line": 28, "column": 18 } }, "object": { "type": "ThisExpression", "start": 932, "end": 936, "loc": { "start": { "line": 28, "column": 8 }, "end": { "line": 28, "column": 12 } } }, "property": { "type": "Identifier", "start": 937, "end": 942, "loc": { "start": { "line": 28, "column": 13 }, "end": { "line": 28, "column": 18 }, "identifierName": "tileY" }, "name": "tileY" }, "computed": false }, "right": { "type": "BinaryExpression", "start": 945, "end": 974, "loc": { "start": { "line": 28, "column": 21 }, "end": { "line": 28, "column": 50 } }, "left": { "type": "Identifier", "start": 945, "end": 946, "loc": { "start": { "line": 28, "column": 21 }, "end": { "line": 28, "column": 22 }, "identifierName": "y" }, "name": "y" }, "operator": "*", "right": { "type": "MemberExpression", "start": 949, "end": 974, "loc": { "start": { "line": 28, "column": 25 }, "end": { "line": 28, "column": 50 } }, "object": { "type": "Identifier", "start": 949, "end": 961, "loc": { "start": { "line": 28, "column": 25 }, "end": { "line": 28, "column": 37 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 962, "end": 974, "loc": { "start": { "line": 28, "column": 38 }, "end": { "line": 28, "column": 50 }, "identifierName": "mapChunkSize" }, "name": "mapChunkSize" }, "computed": false } } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Stores the contents of the lower (= map resources) layer\r\n * @type {Array>}\r\n ", "start": 987, "end": 1117, "loc": { "start": { "line": 30, "column": 8 }, "end": { "line": 33, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 1127, "end": 1220, "loc": { "start": { "line": 34, "column": 8 }, "end": { "line": 34, "column": 101 } }, "expression": { "type": "AssignmentExpression", "start": 1127, "end": 1219, "loc": { "start": { "line": 34, "column": 8 }, "end": { "line": 34, "column": 100 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1127, "end": 1142, "loc": { "start": { "line": 34, "column": 8 }, "end": { "line": 34, "column": 23 } }, "object": { "type": "ThisExpression", "start": 1127, "end": 1131, "loc": { "start": { "line": 34, "column": 8 }, "end": { "line": 34, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 1132, "end": 1142, "loc": { "start": { "line": 34, "column": 13 }, "end": { "line": 34, "column": 23 }, "identifierName": "lowerLayer" }, "name": "lowerLayer" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 1145, "end": 1219, "loc": { "start": { "line": 34, "column": 26 }, "end": { "line": 34, "column": 100 } }, "callee": { "type": "Identifier", "start": 1145, "end": 1165, "loc": { "start": { "line": 34, "column": 26 }, "end": { "line": 34, "column": 46 }, "identifierName": "make2DUndefinedArray" }, "name": "make2DUndefinedArray" }, "arguments": [ { "type": "MemberExpression", "start": 1166, "end": 1191, "loc": { "start": { "line": 34, "column": 47 }, "end": { "line": 34, "column": 72 } }, "object": { "type": "Identifier", "start": 1166, "end": 1178, "loc": { "start": { "line": 34, "column": 47 }, "end": { "line": 34, "column": 59 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 1179, "end": 1191, "loc": { "start": { "line": 34, "column": 60 }, "end": { "line": 34, "column": 72 }, "identifierName": "mapChunkSize" }, "name": "mapChunkSize" }, "computed": false }, { "type": "MemberExpression", "start": 1193, "end": 1218, "loc": { "start": { "line": 34, "column": 74 }, "end": { "line": 34, "column": 99 } }, "object": { "type": "Identifier", "start": 1193, "end": 1205, "loc": { "start": { "line": 34, "column": 74 }, "end": { "line": 34, "column": 86 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 1206, "end": 1218, "loc": { "start": { "line": 34, "column": 87 }, "end": { "line": 34, "column": 99 }, "identifierName": "mapChunkSize" }, "name": "mapChunkSize" }, "computed": false } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Stores the contents of the lower (= map resources) layer\r\n * @type {Array>}\r\n ", "start": 987, "end": 1117, "loc": { "start": { "line": 30, "column": 8 }, "end": { "line": 33, "column": 11 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Stores the contents of the regular layer\r\n * @type {Array>}\r\n ", "start": 1232, "end": 1343, "loc": { "start": { "line": 36, "column": 8 }, "end": { "line": 39, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 1353, "end": 1444, "loc": { "start": { "line": 40, "column": 8 }, "end": { "line": 40, "column": 99 } }, "expression": { "type": "AssignmentExpression", "start": 1353, "end": 1443, "loc": { "start": { "line": 40, "column": 8 }, "end": { "line": 40, "column": 98 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1353, "end": 1366, "loc": { "start": { "line": 40, "column": 8 }, "end": { "line": 40, "column": 21 } }, "object": { "type": "ThisExpression", "start": 1353, "end": 1357, "loc": { "start": { "line": 40, "column": 8 }, "end": { "line": 40, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 1358, "end": 1366, "loc": { "start": { "line": 40, "column": 13 }, "end": { "line": 40, "column": 21 }, "identifierName": "contents" }, "name": "contents" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 1369, "end": 1443, "loc": { "start": { "line": 40, "column": 24 }, "end": { "line": 40, "column": 98 } }, "callee": { "type": "Identifier", "start": 1369, "end": 1389, "loc": { "start": { "line": 40, "column": 24 }, "end": { "line": 40, "column": 44 }, "identifierName": "make2DUndefinedArray" }, "name": "make2DUndefinedArray" }, "arguments": [ { "type": "MemberExpression", "start": 1390, "end": 1415, "loc": { "start": { "line": 40, "column": 45 }, "end": { "line": 40, "column": 70 } }, "object": { "type": "Identifier", "start": 1390, "end": 1402, "loc": { "start": { "line": 40, "column": 45 }, "end": { "line": 40, "column": 57 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 1403, "end": 1415, "loc": { "start": { "line": 40, "column": 58 }, "end": { "line": 40, "column": 70 }, "identifierName": "mapChunkSize" }, "name": "mapChunkSize" }, "computed": false }, { "type": "MemberExpression", "start": 1417, "end": 1442, "loc": { "start": { "line": 40, "column": 72 }, "end": { "line": 40, "column": 97 } }, "object": { "type": "Identifier", "start": 1417, "end": 1429, "loc": { "start": { "line": 40, "column": 72 }, "end": { "line": 40, "column": 84 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 1430, "end": 1442, "loc": { "start": { "line": 40, "column": 85 }, "end": { "line": 40, "column": 97 }, "identifierName": "mapChunkSize" }, "name": "mapChunkSize" }, "computed": false } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Stores the contents of the regular layer\r\n * @type {Array>}\r\n ", "start": 1232, "end": 1343, "loc": { "start": { "line": 36, "column": 8 }, "end": { "line": 39, "column": 11 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Stores the contents of the wires layer\r\n * @type {Array>}\r\n ", "start": 1456, "end": 1566, "loc": { "start": { "line": 42, "column": 8 }, "end": { "line": 45, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 1576, "end": 1671, "loc": { "start": { "line": 46, "column": 8 }, "end": { "line": 46, "column": 103 } }, "expression": { "type": "AssignmentExpression", "start": 1576, "end": 1670, "loc": { "start": { "line": 46, "column": 8 }, "end": { "line": 46, "column": 102 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1576, "end": 1593, "loc": { "start": { "line": 46, "column": 8 }, "end": { "line": 46, "column": 25 } }, "object": { "type": "ThisExpression", "start": 1576, "end": 1580, "loc": { "start": { "line": 46, "column": 8 }, "end": { "line": 46, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 1581, "end": 1593, "loc": { "start": { "line": 46, "column": 13 }, "end": { "line": 46, "column": 25 }, "identifierName": "wireContents" }, "name": "wireContents" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 1596, "end": 1670, "loc": { "start": { "line": 46, "column": 28 }, "end": { "line": 46, "column": 102 } }, "callee": { "type": "Identifier", "start": 1596, "end": 1616, "loc": { "start": { "line": 46, "column": 28 }, "end": { "line": 46, "column": 48 }, "identifierName": "make2DUndefinedArray" }, "name": "make2DUndefinedArray" }, "arguments": [ { "type": "MemberExpression", "start": 1617, "end": 1642, "loc": { "start": { "line": 46, "column": 49 }, "end": { "line": 46, "column": 74 } }, "object": { "type": "Identifier", "start": 1617, "end": 1629, "loc": { "start": { "line": 46, "column": 49 }, "end": { "line": 46, "column": 61 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 1630, "end": 1642, "loc": { "start": { "line": 46, "column": 62 }, "end": { "line": 46, "column": 74 }, "identifierName": "mapChunkSize" }, "name": "mapChunkSize" }, "computed": false }, { "type": "MemberExpression", "start": 1644, "end": 1669, "loc": { "start": { "line": 46, "column": 76 }, "end": { "line": 46, "column": 101 } }, "object": { "type": "Identifier", "start": 1644, "end": 1656, "loc": { "start": { "line": 46, "column": 76 }, "end": { "line": 46, "column": 88 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 1657, "end": 1669, "loc": { "start": { "line": 46, "column": 89 }, "end": { "line": 46, "column": 101 }, "identifierName": "mapChunkSize" }, "name": "mapChunkSize" }, "computed": false } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Stores the contents of the wires layer\r\n * @type {Array>}\r\n ", "start": 1456, "end": 1566, "loc": { "start": { "line": 42, "column": 8 }, "end": { "line": 45, "column": 11 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Stores the contents of the layers\r\n * @type {Map>>}\r\n ", "start": 1683, "end": 1801, "loc": { "start": { "line": 48, "column": 8 }, "end": { "line": 51, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 1811, "end": 1843, "loc": { "start": { "line": 52, "column": 8 }, "end": { "line": 52, "column": 40 } }, "expression": { "type": "AssignmentExpression", "start": 1811, "end": 1842, "loc": { "start": { "line": 52, "column": 8 }, "end": { "line": 52, "column": 39 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1811, "end": 1830, "loc": { "start": { "line": 52, "column": 8 }, "end": { "line": 52, "column": 27 } }, "object": { "type": "ThisExpression", "start": 1811, "end": 1815, "loc": { "start": { "line": 52, "column": 8 }, "end": { "line": 52, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 1816, "end": 1830, "loc": { "start": { "line": 52, "column": 13 }, "end": { "line": 52, "column": 27 }, "identifierName": "layersContents" }, "name": "layersContents" }, "computed": false, "leadingComments": null }, "right": { "type": "NewExpression", "start": 1833, "end": 1842, "loc": { "start": { "line": 52, "column": 30 }, "end": { "line": 52, "column": 39 } }, "callee": { "type": "Identifier", "start": 1837, "end": 1840, "loc": { "start": { "line": 52, "column": 34 }, "end": { "line": 52, "column": 37 }, "identifierName": "Map" }, "name": "Map" }, "arguments": [] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Stores the contents of the layers\r\n * @type {Map>>}\r\n ", "start": 1683, "end": 1801, "loc": { "start": { "line": 48, "column": 8 }, "end": { "line": 51, "column": 11 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "* @type {Array} ", "start": 1855, "end": 1883, "loc": { "start": { "line": 54, "column": 8 }, "end": { "line": 54, "column": 36 } } } ] }, { "type": "ExpressionStatement", "start": 1893, "end": 1921, "loc": { "start": { "line": 55, "column": 8 }, "end": { "line": 55, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 1893, "end": 1920, "loc": { "start": { "line": 55, "column": 8 }, "end": { "line": 55, "column": 35 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1893, "end": 1915, "loc": { "start": { "line": 55, "column": 8 }, "end": { "line": 55, "column": 30 } }, "object": { "type": "ThisExpression", "start": 1893, "end": 1897, "loc": { "start": { "line": 55, "column": 8 }, "end": { "line": 55, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 1898, "end": 1915, "loc": { "start": { "line": 55, "column": 13 }, "end": { "line": 55, "column": 30 }, "identifierName": "containedEntities" }, "name": "containedEntities" }, "computed": false, "leadingComments": null }, "right": { "type": "ArrayExpression", "start": 1918, "end": 1920, "loc": { "start": { "line": 55, "column": 33 }, "end": { "line": 55, "column": 35 } }, "elements": [] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "* @type {Array} ", "start": 1855, "end": 1883, "loc": { "start": { "line": 54, "column": 8 }, "end": { "line": 54, "column": 36 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * World space rectangle, can be used for culling\r\n ", "start": 1933, "end": 2008, "loc": { "start": { "line": 57, "column": 8 }, "end": { "line": 59, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 2018, "end": 2258, "loc": { "start": { "line": 60, "column": 8 }, "end": { "line": 65, "column": 10 } }, "expression": { "type": "AssignmentExpression", "start": 2018, "end": 2257, "loc": { "start": { "line": 60, "column": 8 }, "end": { "line": 65, "column": 9 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2018, "end": 2042, "loc": { "start": { "line": 60, "column": 8 }, "end": { "line": 60, "column": 32 } }, "object": { "type": "ThisExpression", "start": 2018, "end": 2022, "loc": { "start": { "line": 60, "column": 8 }, "end": { "line": 60, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 2023, "end": 2042, "loc": { "start": { "line": 60, "column": 13 }, "end": { "line": 60, "column": 32 }, "identifierName": "worldSpaceRectangle" }, "name": "worldSpaceRectangle" }, "computed": false, "leadingComments": null }, "right": { "type": "NewExpression", "start": 2045, "end": 2257, "loc": { "start": { "line": 60, "column": 35 }, "end": { "line": 65, "column": 9 } }, "callee": { "type": "Identifier", "start": 2049, "end": 2058, "loc": { "start": { "line": 60, "column": 39 }, "end": { "line": 60, "column": 48 }, "identifierName": "Rectangle" }, "name": "Rectangle" }, "arguments": [ { "type": "BinaryExpression", "start": 2073, "end": 2107, "loc": { "start": { "line": 61, "column": 12 }, "end": { "line": 61, "column": 46 } }, "left": { "type": "MemberExpression", "start": 2073, "end": 2083, "loc": { "start": { "line": 61, "column": 12 }, "end": { "line": 61, "column": 22 } }, "object": { "type": "ThisExpression", "start": 2073, "end": 2077, "loc": { "start": { "line": 61, "column": 12 }, "end": { "line": 61, "column": 16 } } }, "property": { "type": "Identifier", "start": 2078, "end": 2083, "loc": { "start": { "line": 61, "column": 17 }, "end": { "line": 61, "column": 22 }, "identifierName": "tileX" }, "name": "tileX" }, "computed": false }, "operator": "*", "right": { "type": "MemberExpression", "start": 2086, "end": 2107, "loc": { "start": { "line": 61, "column": 25 }, "end": { "line": 61, "column": 46 } }, "object": { "type": "Identifier", "start": 2086, "end": 2098, "loc": { "start": { "line": 61, "column": 25 }, "end": { "line": 61, "column": 37 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 2099, "end": 2107, "loc": { "start": { "line": 61, "column": 38 }, "end": { "line": 61, "column": 46 }, "identifierName": "tileSize" }, "name": "tileSize" }, "computed": false } }, { "type": "BinaryExpression", "start": 2122, "end": 2156, "loc": { "start": { "line": 62, "column": 12 }, "end": { "line": 62, "column": 46 } }, "left": { "type": "MemberExpression", "start": 2122, "end": 2132, "loc": { "start": { "line": 62, "column": 12 }, "end": { "line": 62, "column": 22 } }, "object": { "type": "ThisExpression", "start": 2122, "end": 2126, "loc": { "start": { "line": 62, "column": 12 }, "end": { "line": 62, "column": 16 } } }, "property": { "type": "Identifier", "start": 2127, "end": 2132, "loc": { "start": { "line": 62, "column": 17 }, "end": { "line": 62, "column": 22 }, "identifierName": "tileY" }, "name": "tileY" }, "computed": false }, "operator": "*", "right": { "type": "MemberExpression", "start": 2135, "end": 2156, "loc": { "start": { "line": 62, "column": 25 }, "end": { "line": 62, "column": 46 } }, "object": { "type": "Identifier", "start": 2135, "end": 2147, "loc": { "start": { "line": 62, "column": 25 }, "end": { "line": 62, "column": 37 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 2148, "end": 2156, "loc": { "start": { "line": 62, "column": 38 }, "end": { "line": 62, "column": 46 }, "identifierName": "tileSize" }, "name": "tileSize" }, "computed": false } }, { "type": "MemberExpression", "start": 2171, "end": 2201, "loc": { "start": { "line": 63, "column": 12 }, "end": { "line": 63, "column": 42 } }, "object": { "type": "Identifier", "start": 2171, "end": 2183, "loc": { "start": { "line": 63, "column": 12 }, "end": { "line": 63, "column": 24 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 2184, "end": 2201, "loc": { "start": { "line": 63, "column": 25 }, "end": { "line": 63, "column": 42 }, "identifierName": "mapChunkWorldSize" }, "name": "mapChunkWorldSize" }, "computed": false }, { "type": "MemberExpression", "start": 2216, "end": 2246, "loc": { "start": { "line": 64, "column": 12 }, "end": { "line": 64, "column": 42 } }, "object": { "type": "Identifier", "start": 2216, "end": 2228, "loc": { "start": { "line": 64, "column": 12 }, "end": { "line": 64, "column": 24 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 2229, "end": 2246, "loc": { "start": { "line": 64, "column": 25 }, "end": { "line": 64, "column": 42 }, "identifierName": "mapChunkWorldSize" }, "name": "mapChunkWorldSize" }, "computed": false } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * World space rectangle, can be used for culling\r\n ", "start": 1933, "end": 2008, "loc": { "start": { "line": 57, "column": 8 }, "end": { "line": 59, "column": 11 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Tile space rectangle, can be used for culling\r\n ", "start": 2270, "end": 2344, "loc": { "start": { "line": 67, "column": 8 }, "end": { "line": 69, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 2354, "end": 2535, "loc": { "start": { "line": 70, "column": 8 }, "end": { "line": 75, "column": 10 } }, "expression": { "type": "AssignmentExpression", "start": 2354, "end": 2534, "loc": { "start": { "line": 70, "column": 8 }, "end": { "line": 75, "column": 9 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2354, "end": 2377, "loc": { "start": { "line": 70, "column": 8 }, "end": { "line": 70, "column": 31 } }, "object": { "type": "ThisExpression", "start": 2354, "end": 2358, "loc": { "start": { "line": 70, "column": 8 }, "end": { "line": 70, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 2359, "end": 2377, "loc": { "start": { "line": 70, "column": 13 }, "end": { "line": 70, "column": 31 }, "identifierName": "tileSpaceRectangle" }, "name": "tileSpaceRectangle" }, "computed": false, "leadingComments": null }, "right": { "type": "NewExpression", "start": 2380, "end": 2534, "loc": { "start": { "line": 70, "column": 34 }, "end": { "line": 75, "column": 9 } }, "callee": { "type": "Identifier", "start": 2384, "end": 2393, "loc": { "start": { "line": 70, "column": 38 }, "end": { "line": 70, "column": 47 }, "identifierName": "Rectangle" }, "name": "Rectangle" }, "arguments": [ { "type": "MemberExpression", "start": 2408, "end": 2418, "loc": { "start": { "line": 71, "column": 12 }, "end": { "line": 71, "column": 22 } }, "object": { "type": "ThisExpression", "start": 2408, "end": 2412, "loc": { "start": { "line": 71, "column": 12 }, "end": { "line": 71, "column": 16 } } }, "property": { "type": "Identifier", "start": 2413, "end": 2418, "loc": { "start": { "line": 71, "column": 17 }, "end": { "line": 71, "column": 22 }, "identifierName": "tileX" }, "name": "tileX" }, "computed": false }, { "type": "MemberExpression", "start": 2433, "end": 2443, "loc": { "start": { "line": 72, "column": 12 }, "end": { "line": 72, "column": 22 } }, "object": { "type": "ThisExpression", "start": 2433, "end": 2437, "loc": { "start": { "line": 72, "column": 12 }, "end": { "line": 72, "column": 16 } } }, "property": { "type": "Identifier", "start": 2438, "end": 2443, "loc": { "start": { "line": 72, "column": 17 }, "end": { "line": 72, "column": 22 }, "identifierName": "tileY" }, "name": "tileY" }, "computed": false }, { "type": "MemberExpression", "start": 2458, "end": 2483, "loc": { "start": { "line": 73, "column": 12 }, "end": { "line": 73, "column": 37 } }, "object": { "type": "Identifier", "start": 2458, "end": 2470, "loc": { "start": { "line": 73, "column": 12 }, "end": { "line": 73, "column": 24 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 2471, "end": 2483, "loc": { "start": { "line": 73, "column": 25 }, "end": { "line": 73, "column": 37 }, "identifierName": "mapChunkSize" }, "name": "mapChunkSize" }, "computed": false }, { "type": "MemberExpression", "start": 2498, "end": 2523, "loc": { "start": { "line": 74, "column": 12 }, "end": { "line": 74, "column": 37 } }, "object": { "type": "Identifier", "start": 2498, "end": 2510, "loc": { "start": { "line": 74, "column": 12 }, "end": { "line": 74, "column": 24 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 2511, "end": 2523, "loc": { "start": { "line": 74, "column": 25 }, "end": { "line": 74, "column": 37 }, "identifierName": "mapChunkSize" }, "name": "mapChunkSize" }, "computed": false } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Tile space rectangle, can be used for culling\r\n ", "start": 2270, "end": 2344, "loc": { "start": { "line": 67, "column": 8 }, "end": { "line": 69, "column": 11 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Which entities this chunk contains, sorted by layer\r\n * @type {Record>}\r\n ", "start": 2547, "end": 2676, "loc": { "start": { "line": 77, "column": 8 }, "end": { "line": 80, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 2686, "end": 2781, "loc": { "start": { "line": 81, "column": 8 }, "end": { "line": 84, "column": 10 } }, "expression": { "type": "AssignmentExpression", "start": 2686, "end": 2780, "loc": { "start": { "line": 81, "column": 8 }, "end": { "line": 84, "column": 9 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2686, "end": 2715, "loc": { "start": { "line": 81, "column": 8 }, "end": { "line": 81, "column": 37 } }, "object": { "type": "ThisExpression", "start": 2686, "end": 2690, "loc": { "start": { "line": 81, "column": 8 }, "end": { "line": 81, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 2691, "end": 2715, "loc": { "start": { "line": 81, "column": 13 }, "end": { "line": 81, "column": 37 }, "identifierName": "containedEntitiesByLayer" }, "name": "containedEntitiesByLayer" }, "computed": false, "leadingComments": null }, "right": { "type": "ObjectExpression", "start": 2718, "end": 2780, "loc": { "start": { "line": 81, "column": 40 }, "end": { "line": 84, "column": 9 } }, "properties": [ { "type": "ObjectProperty", "start": 2733, "end": 2744, "loc": { "start": { "line": 82, "column": 12 }, "end": { "line": 82, "column": 23 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 2733, "end": 2740, "loc": { "start": { "line": 82, "column": 12 }, "end": { "line": 82, "column": 19 }, "identifierName": "regular" }, "name": "regular" }, "value": { "type": "ArrayExpression", "start": 2742, "end": 2744, "loc": { "start": { "line": 82, "column": 21 }, "end": { "line": 82, "column": 23 } }, "elements": [] } }, { "type": "ObjectProperty", "start": 2759, "end": 2768, "loc": { "start": { "line": 83, "column": 12 }, "end": { "line": 83, "column": 21 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 2759, "end": 2764, "loc": { "start": { "line": 83, "column": 12 }, "end": { "line": 83, "column": 17 }, "identifierName": "wires" }, "name": "wires" }, "value": { "type": "ArrayExpression", "start": 2766, "end": 2768, "loc": { "start": { "line": 83, "column": 19 }, "end": { "line": 83, "column": 21 } }, "elements": [] } } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Which entities this chunk contains, sorted by layer\r\n * @type {Record>}\r\n ", "start": 2547, "end": 2676, "loc": { "start": { "line": 77, "column": 8 }, "end": { "line": 80, "column": 11 } } } ] }, { "type": "ForStatement", "start": 2793, "end": 3143, "loc": { "start": { "line": 86, "column": 8 }, "end": { "line": 93, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 2798, "end": 2807, "loc": { "start": { "line": 86, "column": 13 }, "end": { "line": 86, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2802, "end": 2807, "loc": { "start": { "line": 86, "column": 17 }, "end": { "line": 86, "column": 22 } }, "id": { "type": "Identifier", "start": 2802, "end": 2803, "loc": { "start": { "line": 86, "column": 17 }, "end": { "line": 86, "column": 18 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 2806, "end": 2807, "loc": { "start": { "line": 86, "column": 21 }, "end": { "line": 86, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 2809, "end": 2843, "loc": { "start": { "line": 86, "column": 24 }, "end": { "line": 86, "column": 58 } }, "left": { "type": "Identifier", "start": 2809, "end": 2810, "loc": { "start": { "line": 86, "column": 24 }, "end": { "line": 86, "column": 25 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 2813, "end": 2843, "loc": { "start": { "line": 86, "column": 28 }, "end": { "line": 86, "column": 58 } }, "object": { "type": "MemberExpression", "start": 2813, "end": 2836, "loc": { "start": { "line": 86, "column": 28 }, "end": { "line": 86, "column": 51 } }, "object": { "type": "MemberExpression", "start": 2813, "end": 2829, "loc": { "start": { "line": 86, "column": 28 }, "end": { "line": 86, "column": 44 } }, "object": { "type": "Identifier", "start": 2813, "end": 2822, "loc": { "start": { "line": 86, "column": 28 }, "end": { "line": 86, "column": 37 }, "identifierName": "shapezAPI" }, "name": "shapezAPI" }, "property": { "type": "Identifier", "start": 2823, "end": 2829, "loc": { "start": { "line": 86, "column": 38 }, "end": { "line": 86, "column": 44 }, "identifierName": "ingame" }, "name": "ingame" }, "computed": false }, "property": { "type": "Identifier", "start": 2830, "end": 2836, "loc": { "start": { "line": 86, "column": 45 }, "end": { "line": 86, "column": 51 }, "identifierName": "layers" }, "name": "layers" }, "computed": false }, "property": { "type": "Identifier", "start": 2837, "end": 2843, "loc": { "start": { "line": 86, "column": 52 }, "end": { "line": 86, "column": 58 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 2845, "end": 2848, "loc": { "start": { "line": 86, "column": 60 }, "end": { "line": 86, "column": 63 } }, "operator": "++", "prefix": false, "argument": { "type": "Identifier", "start": 2845, "end": 2846, "loc": { "start": { "line": 86, "column": 60 }, "end": { "line": 86, "column": 61 }, "identifierName": "i" }, "name": "i" } }, "body": { "type": "BlockStatement", "start": 2850, "end": 3143, "loc": { "start": { "line": 86, "column": 65 }, "end": { "line": 93, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 2865, "end": 2906, "loc": { "start": { "line": 87, "column": 12 }, "end": { "line": 87, "column": 53 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2871, "end": 2905, "loc": { "start": { "line": 87, "column": 18 }, "end": { "line": 87, "column": 52 } }, "id": { "type": "Identifier", "start": 2871, "end": 2876, "loc": { "start": { "line": 87, "column": 18 }, "end": { "line": 87, "column": 23 }, "identifierName": "layer" }, "name": "layer" }, "init": { "type": "MemberExpression", "start": 2879, "end": 2905, "loc": { "start": { "line": 87, "column": 26 }, "end": { "line": 87, "column": 52 } }, "object": { "type": "MemberExpression", "start": 2879, "end": 2902, "loc": { "start": { "line": 87, "column": 26 }, "end": { "line": 87, "column": 49 } }, "object": { "type": "MemberExpression", "start": 2879, "end": 2895, "loc": { "start": { "line": 87, "column": 26 }, "end": { "line": 87, "column": 42 } }, "object": { "type": "Identifier", "start": 2879, "end": 2888, "loc": { "start": { "line": 87, "column": 26 }, "end": { "line": 87, "column": 35 }, "identifierName": "shapezAPI" }, "name": "shapezAPI" }, "property": { "type": "Identifier", "start": 2889, "end": 2895, "loc": { "start": { "line": 87, "column": 36 }, "end": { "line": 87, "column": 42 }, "identifierName": "ingame" }, "name": "ingame" }, "computed": false }, "property": { "type": "Identifier", "start": 2896, "end": 2902, "loc": { "start": { "line": 87, "column": 43 }, "end": { "line": 87, "column": 49 }, "identifierName": "layers" }, "name": "layers" }, "computed": false }, "property": { "type": "Identifier", "start": 2903, "end": 2904, "loc": { "start": { "line": 87, "column": 50 }, "end": { "line": 87, "column": 51 }, "identifierName": "i" }, "name": "i" }, "computed": true } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 2920, "end": 2962, "loc": { "start": { "line": 88, "column": 12 }, "end": { "line": 88, "column": 54 } }, "expression": { "type": "AssignmentExpression", "start": 2920, "end": 2961, "loc": { "start": { "line": 88, "column": 12 }, "end": { "line": 88, "column": 53 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2920, "end": 2956, "loc": { "start": { "line": 88, "column": 12 }, "end": { "line": 88, "column": 48 } }, "object": { "type": "MemberExpression", "start": 2920, "end": 2949, "loc": { "start": { "line": 88, "column": 12 }, "end": { "line": 88, "column": 41 } }, "object": { "type": "ThisExpression", "start": 2920, "end": 2924, "loc": { "start": { "line": 88, "column": 12 }, "end": { "line": 88, "column": 16 } } }, "property": { "type": "Identifier", "start": 2925, "end": 2949, "loc": { "start": { "line": 88, "column": 17 }, "end": { "line": 88, "column": 41 }, "identifierName": "containedEntitiesByLayer" }, "name": "containedEntitiesByLayer" }, "computed": false }, "property": { "type": "Identifier", "start": 2950, "end": 2955, "loc": { "start": { "line": 88, "column": 42 }, "end": { "line": 88, "column": 47 }, "identifierName": "layer" }, "name": "layer" }, "computed": true }, "right": { "type": "ArrayExpression", "start": 2959, "end": 2961, "loc": { "start": { "line": 88, "column": 51 }, "end": { "line": 88, "column": 53 } }, "elements": [] } } }, { "type": "ExpressionStatement", "start": 2976, "end": 3132, "loc": { "start": { "line": 89, "column": 12 }, "end": { "line": 92, "column": 14 } }, "expression": { "type": "CallExpression", "start": 2976, "end": 3131, "loc": { "start": { "line": 89, "column": 12 }, "end": { "line": 92, "column": 13 } }, "callee": { "type": "MemberExpression", "start": 2976, "end": 2999, "loc": { "start": { "line": 89, "column": 12 }, "end": { "line": 89, "column": 35 } }, "object": { "type": "MemberExpression", "start": 2976, "end": 2995, "loc": { "start": { "line": 89, "column": 12 }, "end": { "line": 89, "column": 31 } }, "object": { "type": "ThisExpression", "start": 2976, "end": 2980, "loc": { "start": { "line": 89, "column": 12 }, "end": { "line": 89, "column": 16 } } }, "property": { "type": "Identifier", "start": 2981, "end": 2995, "loc": { "start": { "line": 89, "column": 17 }, "end": { "line": 89, "column": 31 }, "identifierName": "layersContents" }, "name": "layersContents" }, "computed": false }, "property": { "type": "Identifier", "start": 2996, "end": 2999, "loc": { "start": { "line": 89, "column": 32 }, "end": { "line": 89, "column": 35 }, "identifierName": "set" }, "name": "set" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 3018, "end": 3023, "loc": { "start": { "line": 90, "column": 16 }, "end": { "line": 90, "column": 21 }, "identifierName": "layer" }, "name": "layer" }, { "type": "CallExpression", "start": 3042, "end": 3116, "loc": { "start": { "line": 91, "column": 16 }, "end": { "line": 91, "column": 90 } }, "callee": { "type": "Identifier", "start": 3042, "end": 3062, "loc": { "start": { "line": 91, "column": 16 }, "end": { "line": 91, "column": 36 }, "identifierName": "make2DUndefinedArray" }, "name": "make2DUndefinedArray" }, "arguments": [ { "type": "MemberExpression", "start": 3063, "end": 3088, "loc": { "start": { "line": 91, "column": 37 }, "end": { "line": 91, "column": 62 } }, "object": { "type": "Identifier", "start": 3063, "end": 3075, "loc": { "start": { "line": 91, "column": 37 }, "end": { "line": 91, "column": 49 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 3076, "end": 3088, "loc": { "start": { "line": 91, "column": 50 }, "end": { "line": 91, "column": 62 }, "identifierName": "mapChunkSize" }, "name": "mapChunkSize" }, "computed": false }, { "type": "MemberExpression", "start": 3090, "end": 3115, "loc": { "start": { "line": 91, "column": 64 }, "end": { "line": 91, "column": 89 } }, "object": { "type": "Identifier", "start": 3090, "end": 3102, "loc": { "start": { "line": 91, "column": 64 }, "end": { "line": 91, "column": 76 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 3103, "end": 3115, "loc": { "start": { "line": 91, "column": 77 }, "end": { "line": 91, "column": 89 }, "identifierName": "mapChunkSize" }, "name": "mapChunkSize" }, "computed": false } ] } ] } } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Store which patches we have so we can render them in the overview\r\n * @type {Array<{pos: Vector, item: BaseItem, size: number }>}\r\n ", "start": 3155, "end": 3321, "loc": { "start": { "line": 95, "column": 8 }, "end": { "line": 98, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 3331, "end": 3349, "loc": { "start": { "line": 99, "column": 8 }, "end": { "line": 99, "column": 26 } }, "expression": { "type": "AssignmentExpression", "start": 3331, "end": 3348, "loc": { "start": { "line": 99, "column": 8 }, "end": { "line": 99, "column": 25 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3331, "end": 3343, "loc": { "start": { "line": 99, "column": 8 }, "end": { "line": 99, "column": 20 } }, "object": { "type": "ThisExpression", "start": 3331, "end": 3335, "loc": { "start": { "line": 99, "column": 8 }, "end": { "line": 99, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 3336, "end": 3343, "loc": { "start": { "line": 99, "column": 13 }, "end": { "line": 99, "column": 20 }, "identifierName": "patches" }, "name": "patches" }, "computed": false, "leadingComments": null }, "right": { "type": "ArrayExpression", "start": 3346, "end": 3348, "loc": { "start": { "line": 99, "column": 23 }, "end": { "line": 99, "column": 25 } }, "elements": [] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Store which patches we have so we can render them in the overview\r\n * @type {Array<{pos: Vector, item: BaseItem, size: number }>}\r\n ", "start": 3155, "end": 3321, "loc": { "start": { "line": 95, "column": 8 }, "end": { "line": 98, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 3361, "end": 3387, "loc": { "start": { "line": 101, "column": 8 }, "end": { "line": 101, "column": 34 } }, "expression": { "type": "CallExpression", "start": 3361, "end": 3386, "loc": { "start": { "line": 101, "column": 8 }, "end": { "line": 101, "column": 33 } }, "callee": { "type": "MemberExpression", "start": 3361, "end": 3384, "loc": { "start": { "line": 101, "column": 8 }, "end": { "line": 101, "column": 31 } }, "object": { "type": "ThisExpression", "start": 3361, "end": 3365, "loc": { "start": { "line": 101, "column": 8 }, "end": { "line": 101, "column": 12 } } }, "property": { "type": "Identifier", "start": 3366, "end": 3384, "loc": { "start": { "line": 101, "column": 13 }, "end": { "line": 101, "column": 31 }, "identifierName": "generateLowerLayer" }, "name": "generateLowerLayer" }, "computed": false }, "arguments": [] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n *\r\n * @param {GameRoot} root\r\n * @param {number} x\r\n * @param {number} y\r\n ", "start": 666, "end": 769, "loc": { "start": { "line": 17, "column": 4 }, "end": { "line": 22, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Generates a patch filled with the given item\r\n * @param {RandomNumberGenerator} rng\r\n * @param {number} patchSize\r\n * @param {any} item\r\n * @param {number=} overrideX Override the X position of the patch\r\n * @param {number=} overrideY Override the Y position of the patch\r\n ", "start": 3402, "end": 3714, "loc": { "start": { "line": 104, "column": 4 }, "end": { "line": 111, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 3720, "end": 6416, "loc": { "start": { "line": 112, "column": 4 }, "end": { "line": 173, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 3720, "end": 3741, "loc": { "start": { "line": 112, "column": 4 }, "end": { "line": 112, "column": 25 }, "identifierName": "internalGeneratePatch" }, "name": "internalGeneratePatch", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 3742, "end": 3745, "loc": { "start": { "line": 112, "column": 26 }, "end": { "line": 112, "column": 29 }, "identifierName": "rng" }, "name": "rng" }, { "type": "Identifier", "start": 3747, "end": 3756, "loc": { "start": { "line": 112, "column": 31 }, "end": { "line": 112, "column": 40 }, "identifierName": "patchSize" }, "name": "patchSize" }, { "type": "Identifier", "start": 3758, "end": 3762, "loc": { "start": { "line": 112, "column": 42 }, "end": { "line": 112, "column": 46 }, "identifierName": "item" }, "name": "item" }, { "type": "AssignmentPattern", "start": 3764, "end": 3780, "loc": { "start": { "line": 112, "column": 48 }, "end": { "line": 112, "column": 64 } }, "left": { "type": "Identifier", "start": 3764, "end": 3773, "loc": { "start": { "line": 112, "column": 48 }, "end": { "line": 112, "column": 57 }, "identifierName": "overrideX" }, "name": "overrideX" }, "right": { "type": "NullLiteral", "start": 3776, "end": 3780, "loc": { "start": { "line": 112, "column": 60 }, "end": { "line": 112, "column": 64 } } } }, { "type": "AssignmentPattern", "start": 3782, "end": 3798, "loc": { "start": { "line": 112, "column": 66 }, "end": { "line": 112, "column": 82 } }, "left": { "type": "Identifier", "start": 3782, "end": 3791, "loc": { "start": { "line": 112, "column": 66 }, "end": { "line": 112, "column": 75 }, "identifierName": "overrideY" }, "name": "overrideY" }, "right": { "type": "NullLiteral", "start": 3794, "end": 3798, "loc": { "start": { "line": 112, "column": 78 }, "end": { "line": 112, "column": 82 } } } } ], "body": { "type": "BlockStatement", "start": 3800, "end": 6416, "loc": { "start": { "line": 112, "column": 84 }, "end": { "line": 173, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 3811, "end": 3855, "loc": { "start": { "line": 113, "column": 8 }, "end": { "line": 113, "column": 52 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3817, "end": 3854, "loc": { "start": { "line": 113, "column": 14 }, "end": { "line": 113, "column": 51 } }, "id": { "type": "Identifier", "start": 3817, "end": 3823, "loc": { "start": { "line": 113, "column": 14 }, "end": { "line": 113, "column": 20 }, "identifierName": "border" }, "name": "border" }, "init": { "type": "CallExpression", "start": 3826, "end": 3854, "loc": { "start": { "line": 113, "column": 23 }, "end": { "line": 113, "column": 51 } }, "callee": { "type": "MemberExpression", "start": 3826, "end": 3835, "loc": { "start": { "line": 113, "column": 23 }, "end": { "line": 113, "column": 32 } }, "object": { "type": "Identifier", "start": 3826, "end": 3830, "loc": { "start": { "line": 113, "column": 23 }, "end": { "line": 113, "column": 27 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 3831, "end": 3835, "loc": { "start": { "line": 113, "column": 28 }, "end": { "line": 113, "column": 32 }, "identifierName": "ceil" }, "name": "ceil" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 3836, "end": 3853, "loc": { "start": { "line": 113, "column": 33 }, "end": { "line": 113, "column": 50 } }, "left": { "type": "BinaryExpression", "start": 3836, "end": 3849, "loc": { "start": { "line": 113, "column": 33 }, "end": { "line": 113, "column": 46 } }, "left": { "type": "Identifier", "start": 3836, "end": 3845, "loc": { "start": { "line": 113, "column": 33 }, "end": { "line": 113, "column": 42 }, "identifierName": "patchSize" }, "name": "patchSize" }, "operator": "/", "right": { "type": "NumericLiteral", "start": 3848, "end": 3849, "loc": { "start": { "line": 113, "column": 45 }, "end": { "line": 113, "column": 46 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } }, "operator": "+", "right": { "type": "NumericLiteral", "start": 3852, "end": 3853, "loc": { "start": { "line": 113, "column": 49 }, "end": { "line": 113, "column": 50 } }, "extra": { "rawValue": 3, "raw": "3" }, "value": 3 } } ] } } ], "kind": "const", "trailingComments": [ { "type": "CommentLine", "value": " Find a position within the chunk which is not blocked", "start": 3867, "end": 3923, "loc": { "start": { "line": 115, "column": 8 }, "end": { "line": 115, "column": 64 } } } ] }, { "type": "VariableDeclaration", "start": 3933, "end": 4011, "loc": { "start": { "line": 116, "column": 8 }, "end": { "line": 116, "column": 86 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3937, "end": 4010, "loc": { "start": { "line": 116, "column": 12 }, "end": { "line": 116, "column": 85 } }, "id": { "type": "Identifier", "start": 3937, "end": 3943, "loc": { "start": { "line": 116, "column": 12 }, "end": { "line": 116, "column": 18 }, "identifierName": "patchX" }, "name": "patchX", "leadingComments": null }, "init": { "type": "CallExpression", "start": 3946, "end": 4010, "loc": { "start": { "line": 116, "column": 21 }, "end": { "line": 116, "column": 85 } }, "callee": { "type": "MemberExpression", "start": 3946, "end": 3962, "loc": { "start": { "line": 116, "column": 21 }, "end": { "line": 116, "column": 37 } }, "object": { "type": "Identifier", "start": 3946, "end": 3949, "loc": { "start": { "line": 116, "column": 21 }, "end": { "line": 116, "column": 24 }, "identifierName": "rng" }, "name": "rng" }, "property": { "type": "Identifier", "start": 3950, "end": 3962, "loc": { "start": { "line": 116, "column": 25 }, "end": { "line": 116, "column": 37 }, "identifierName": "nextIntRange" }, "name": "nextIntRange" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 3963, "end": 3969, "loc": { "start": { "line": 116, "column": 38 }, "end": { "line": 116, "column": 44 }, "identifierName": "border" }, "name": "border" }, { "type": "BinaryExpression", "start": 3971, "end": 4009, "loc": { "start": { "line": 116, "column": 46 }, "end": { "line": 116, "column": 84 } }, "left": { "type": "BinaryExpression", "start": 3971, "end": 4005, "loc": { "start": { "line": 116, "column": 46 }, "end": { "line": 116, "column": 80 } }, "left": { "type": "MemberExpression", "start": 3971, "end": 3996, "loc": { "start": { "line": 116, "column": 46 }, "end": { "line": 116, "column": 71 } }, "object": { "type": "Identifier", "start": 3971, "end": 3983, "loc": { "start": { "line": 116, "column": 46 }, "end": { "line": 116, "column": 58 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 3984, "end": 3996, "loc": { "start": { "line": 116, "column": 59 }, "end": { "line": 116, "column": 71 }, "identifierName": "mapChunkSize" }, "name": "mapChunkSize" }, "computed": false }, "operator": "-", "right": { "type": "Identifier", "start": 3999, "end": 4005, "loc": { "start": { "line": 116, "column": 74 }, "end": { "line": 116, "column": 80 }, "identifierName": "border" }, "name": "border" } }, "operator": "-", "right": { "type": "NumericLiteral", "start": 4008, "end": 4009, "loc": { "start": { "line": 116, "column": 83 }, "end": { "line": 116, "column": 84 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } ] }, "leadingComments": null } ], "kind": "let", "leadingComments": [ { "type": "CommentLine", "value": " Find a position within the chunk which is not blocked", "start": 3867, "end": 3923, "loc": { "start": { "line": 115, "column": 8 }, "end": { "line": 115, "column": 64 } } } ] }, { "type": "VariableDeclaration", "start": 4021, "end": 4099, "loc": { "start": { "line": 117, "column": 8 }, "end": { "line": 117, "column": 86 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4025, "end": 4098, "loc": { "start": { "line": 117, "column": 12 }, "end": { "line": 117, "column": 85 } }, "id": { "type": "Identifier", "start": 4025, "end": 4031, "loc": { "start": { "line": 117, "column": 12 }, "end": { "line": 117, "column": 18 }, "identifierName": "patchY" }, "name": "patchY" }, "init": { "type": "CallExpression", "start": 4034, "end": 4098, "loc": { "start": { "line": 117, "column": 21 }, "end": { "line": 117, "column": 85 } }, "callee": { "type": "MemberExpression", "start": 4034, "end": 4050, "loc": { "start": { "line": 117, "column": 21 }, "end": { "line": 117, "column": 37 } }, "object": { "type": "Identifier", "start": 4034, "end": 4037, "loc": { "start": { "line": 117, "column": 21 }, "end": { "line": 117, "column": 24 }, "identifierName": "rng" }, "name": "rng" }, "property": { "type": "Identifier", "start": 4038, "end": 4050, "loc": { "start": { "line": 117, "column": 25 }, "end": { "line": 117, "column": 37 }, "identifierName": "nextIntRange" }, "name": "nextIntRange" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 4051, "end": 4057, "loc": { "start": { "line": 117, "column": 38 }, "end": { "line": 117, "column": 44 }, "identifierName": "border" }, "name": "border" }, { "type": "BinaryExpression", "start": 4059, "end": 4097, "loc": { "start": { "line": 117, "column": 46 }, "end": { "line": 117, "column": 84 } }, "left": { "type": "BinaryExpression", "start": 4059, "end": 4093, "loc": { "start": { "line": 117, "column": 46 }, "end": { "line": 117, "column": 80 } }, "left": { "type": "MemberExpression", "start": 4059, "end": 4084, "loc": { "start": { "line": 117, "column": 46 }, "end": { "line": 117, "column": 71 } }, "object": { "type": "Identifier", "start": 4059, "end": 4071, "loc": { "start": { "line": 117, "column": 46 }, "end": { "line": 117, "column": 58 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 4072, "end": 4084, "loc": { "start": { "line": 117, "column": 59 }, "end": { "line": 117, "column": 71 }, "identifierName": "mapChunkSize" }, "name": "mapChunkSize" }, "computed": false }, "operator": "-", "right": { "type": "Identifier", "start": 4087, "end": 4093, "loc": { "start": { "line": 117, "column": 74 }, "end": { "line": 117, "column": 80 }, "identifierName": "border" }, "name": "border" } }, "operator": "-", "right": { "type": "NumericLiteral", "start": 4096, "end": 4097, "loc": { "start": { "line": 117, "column": 83 }, "end": { "line": 117, "column": 84 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } ] } } ], "kind": "let" }, { "type": "IfStatement", "start": 4111, "end": 4180, "loc": { "start": { "line": 119, "column": 8 }, "end": { "line": 121, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 4115, "end": 4133, "loc": { "start": { "line": 119, "column": 12 }, "end": { "line": 119, "column": 30 } }, "left": { "type": "Identifier", "start": 4115, "end": 4124, "loc": { "start": { "line": 119, "column": 12 }, "end": { "line": 119, "column": 21 }, "identifierName": "overrideX" }, "name": "overrideX" }, "operator": "!==", "right": { "type": "NullLiteral", "start": 4129, "end": 4133, "loc": { "start": { "line": 119, "column": 26 }, "end": { "line": 119, "column": 30 } } } }, "consequent": { "type": "BlockStatement", "start": 4135, "end": 4180, "loc": { "start": { "line": 119, "column": 32 }, "end": { "line": 121, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 4150, "end": 4169, "loc": { "start": { "line": 120, "column": 12 }, "end": { "line": 120, "column": 31 } }, "expression": { "type": "AssignmentExpression", "start": 4150, "end": 4168, "loc": { "start": { "line": 120, "column": 12 }, "end": { "line": 120, "column": 30 } }, "operator": "=", "left": { "type": "Identifier", "start": 4150, "end": 4156, "loc": { "start": { "line": 120, "column": 12 }, "end": { "line": 120, "column": 18 }, "identifierName": "patchX" }, "name": "patchX" }, "right": { "type": "Identifier", "start": 4159, "end": 4168, "loc": { "start": { "line": 120, "column": 21 }, "end": { "line": 120, "column": 30 }, "identifierName": "overrideX" }, "name": "overrideX" } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 4192, "end": 4261, "loc": { "start": { "line": 123, "column": 8 }, "end": { "line": 125, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 4196, "end": 4214, "loc": { "start": { "line": 123, "column": 12 }, "end": { "line": 123, "column": 30 } }, "left": { "type": "Identifier", "start": 4196, "end": 4205, "loc": { "start": { "line": 123, "column": 12 }, "end": { "line": 123, "column": 21 }, "identifierName": "overrideY" }, "name": "overrideY" }, "operator": "!==", "right": { "type": "NullLiteral", "start": 4210, "end": 4214, "loc": { "start": { "line": 123, "column": 26 }, "end": { "line": 123, "column": 30 } } } }, "consequent": { "type": "BlockStatement", "start": 4216, "end": 4261, "loc": { "start": { "line": 123, "column": 32 }, "end": { "line": 125, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 4231, "end": 4250, "loc": { "start": { "line": 124, "column": 12 }, "end": { "line": 124, "column": 31 } }, "expression": { "type": "AssignmentExpression", "start": 4231, "end": 4249, "loc": { "start": { "line": 124, "column": 12 }, "end": { "line": 124, "column": 30 } }, "operator": "=", "left": { "type": "Identifier", "start": 4231, "end": 4237, "loc": { "start": { "line": 124, "column": 12 }, "end": { "line": 124, "column": 18 }, "identifierName": "patchY" }, "name": "patchY" }, "right": { "type": "Identifier", "start": 4240, "end": 4249, "loc": { "start": { "line": 124, "column": 21 }, "end": { "line": 124, "column": 30 }, "identifierName": "overrideY" }, "name": "overrideY" } } } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 4273, "end": 4305, "loc": { "start": { "line": 127, "column": 8 }, "end": { "line": 127, "column": 40 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4279, "end": 4304, "loc": { "start": { "line": 127, "column": 14 }, "end": { "line": 127, "column": 39 } }, "id": { "type": "Identifier", "start": 4279, "end": 4285, "loc": { "start": { "line": 127, "column": 14 }, "end": { "line": 127, "column": 20 }, "identifierName": "avgPos" }, "name": "avgPos" }, "init": { "type": "NewExpression", "start": 4288, "end": 4304, "loc": { "start": { "line": 127, "column": 23 }, "end": { "line": 127, "column": 39 } }, "callee": { "type": "Identifier", "start": 4292, "end": 4298, "loc": { "start": { "line": 127, "column": 27 }, "end": { "line": 127, "column": 33 }, "identifierName": "Vector" }, "name": "Vector" }, "arguments": [ { "type": "NumericLiteral", "start": 4299, "end": 4300, "loc": { "start": { "line": 127, "column": 34 }, "end": { "line": 127, "column": 35 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "NumericLiteral", "start": 4302, "end": 4303, "loc": { "start": { "line": 127, "column": 37 }, "end": { "line": 127, "column": 38 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } ] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 4315, "end": 4336, "loc": { "start": { "line": 128, "column": 8 }, "end": { "line": 128, "column": 29 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4319, "end": 4335, "loc": { "start": { "line": 128, "column": 12 }, "end": { "line": 128, "column": 28 } }, "id": { "type": "Identifier", "start": 4319, "end": 4331, "loc": { "start": { "line": 128, "column": 12 }, "end": { "line": 128, "column": 24 }, "identifierName": "patchesDrawn" }, "name": "patchesDrawn" }, "init": { "type": "NumericLiteral", "start": 4334, "end": 4335, "loc": { "start": { "line": 128, "column": 27 }, "end": { "line": 128, "column": 28 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let", "trailingComments": [ { "type": "CommentLine", "value": " Each patch consists of multiple circles", "start": 4348, "end": 4390, "loc": { "start": { "line": 130, "column": 8 }, "end": { "line": 130, "column": 50 } } } ] }, { "type": "VariableDeclaration", "start": 4400, "end": 4429, "loc": { "start": { "line": 131, "column": 8 }, "end": { "line": 131, "column": 37 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4406, "end": 4428, "loc": { "start": { "line": 131, "column": 14 }, "end": { "line": 131, "column": 36 } }, "id": { "type": "Identifier", "start": 4406, "end": 4416, "loc": { "start": { "line": 131, "column": 14 }, "end": { "line": 131, "column": 24 }, "identifierName": "numCircles" }, "name": "numCircles", "leadingComments": null }, "init": { "type": "Identifier", "start": 4419, "end": 4428, "loc": { "start": { "line": 131, "column": 27 }, "end": { "line": 131, "column": 36 }, "identifierName": "patchSize" }, "name": "patchSize" }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Each patch consists of multiple circles", "start": 4348, "end": 4390, "loc": { "start": { "line": 130, "column": 8 }, "end": { "line": 130, "column": 50 } } } ] }, { "type": "ForStatement", "start": 4441, "end": 6263, "loc": { "start": { "line": 133, "column": 8 }, "end": { "line": 166, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 4446, "end": 4455, "loc": { "start": { "line": 133, "column": 13 }, "end": { "line": 133, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4450, "end": 4455, "loc": { "start": { "line": 133, "column": 17 }, "end": { "line": 133, "column": 22 } }, "id": { "type": "Identifier", "start": 4450, "end": 4451, "loc": { "start": { "line": 133, "column": 17 }, "end": { "line": 133, "column": 18 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 4454, "end": 4455, "loc": { "start": { "line": 133, "column": 21 }, "end": { "line": 133, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 4457, "end": 4472, "loc": { "start": { "line": 133, "column": 24 }, "end": { "line": 133, "column": 39 } }, "left": { "type": "Identifier", "start": 4457, "end": 4458, "loc": { "start": { "line": 133, "column": 24 }, "end": { "line": 133, "column": 25 }, "identifierName": "i" }, "name": "i" }, "operator": "<=", "right": { "type": "Identifier", "start": 4462, "end": 4472, "loc": { "start": { "line": 133, "column": 29 }, "end": { "line": 133, "column": 39 }, "identifierName": "numCircles" }, "name": "numCircles" } }, "update": { "type": "UpdateExpression", "start": 4474, "end": 4477, "loc": { "start": { "line": 133, "column": 41 }, "end": { "line": 133, "column": 44 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 4476, "end": 4477, "loc": { "start": { "line": 133, "column": 43 }, "end": { "line": 133, "column": 44 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 4479, "end": 6263, "loc": { "start": { "line": 133, "column": 46 }, "end": { "line": 166, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 4538, "end": 4586, "loc": { "start": { "line": 135, "column": 12 }, "end": { "line": 135, "column": 60 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4544, "end": 4585, "loc": { "start": { "line": 135, "column": 18 }, "end": { "line": 135, "column": 59 } }, "id": { "type": "Identifier", "start": 4544, "end": 4556, "loc": { "start": { "line": 135, "column": 18 }, "end": { "line": 135, "column": 30 }, "identifierName": "circleRadius" }, "name": "circleRadius", "leadingComments": null }, "init": { "type": "CallExpression", "start": 4559, "end": 4585, "loc": { "start": { "line": 135, "column": 33 }, "end": { "line": 135, "column": 59 } }, "callee": { "type": "MemberExpression", "start": 4559, "end": 4567, "loc": { "start": { "line": 135, "column": 33 }, "end": { "line": 135, "column": 41 } }, "object": { "type": "Identifier", "start": 4559, "end": 4563, "loc": { "start": { "line": 135, "column": 33 }, "end": { "line": 135, "column": 37 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 4564, "end": 4567, "loc": { "start": { "line": 135, "column": 38 }, "end": { "line": 135, "column": 41 }, "identifierName": "min" }, "name": "min" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 4568, "end": 4573, "loc": { "start": { "line": 135, "column": 42 }, "end": { "line": 135, "column": 47 } }, "left": { "type": "NumericLiteral", "start": 4568, "end": 4569, "loc": { "start": { "line": 135, "column": 42 }, "end": { "line": 135, "column": 43 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "operator": "+", "right": { "type": "Identifier", "start": 4572, "end": 4573, "loc": { "start": { "line": 135, "column": 46 }, "end": { "line": 135, "column": 47 }, "identifierName": "i" }, "name": "i" } }, { "type": "Identifier", "start": 4575, "end": 4584, "loc": { "start": { "line": 135, "column": 49 }, "end": { "line": 135, "column": 58 }, "identifierName": "patchSize" }, "name": "patchSize" } ] }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Determine circle parameters", "start": 4494, "end": 4524, "loc": { "start": { "line": 134, "column": 12 }, "end": { "line": 134, "column": 42 } } } ] }, { "type": "VariableDeclaration", "start": 4600, "end": 4655, "loc": { "start": { "line": 136, "column": 12 }, "end": { "line": 136, "column": 67 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4606, "end": 4654, "loc": { "start": { "line": 136, "column": 18 }, "end": { "line": 136, "column": 66 } }, "id": { "type": "Identifier", "start": 4606, "end": 4624, "loc": { "start": { "line": 136, "column": 18 }, "end": { "line": 136, "column": 36 }, "identifierName": "circleRadiusSquare" }, "name": "circleRadiusSquare" }, "init": { "type": "BinaryExpression", "start": 4627, "end": 4654, "loc": { "start": { "line": 136, "column": 39 }, "end": { "line": 136, "column": 66 } }, "left": { "type": "Identifier", "start": 4627, "end": 4639, "loc": { "start": { "line": 136, "column": 39 }, "end": { "line": 136, "column": 51 }, "identifierName": "circleRadius" }, "name": "circleRadius" }, "operator": "*", "right": { "type": "Identifier", "start": 4642, "end": 4654, "loc": { "start": { "line": 136, "column": 54 }, "end": { "line": 136, "column": 66 }, "identifierName": "circleRadius" }, "name": "circleRadius" } } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 4669, "end": 4721, "loc": { "start": { "line": 137, "column": 12 }, "end": { "line": 137, "column": 64 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4675, "end": 4720, "loc": { "start": { "line": 137, "column": 18 }, "end": { "line": 137, "column": 63 } }, "id": { "type": "Identifier", "start": 4675, "end": 4693, "loc": { "start": { "line": 137, "column": 18 }, "end": { "line": 137, "column": 36 }, "identifierName": "circleOffsetRadius" }, "name": "circleOffsetRadius" }, "init": { "type": "BinaryExpression", "start": 4696, "end": 4720, "loc": { "start": { "line": 137, "column": 39 }, "end": { "line": 137, "column": 63 } }, "left": { "type": "BinaryExpression", "start": 4696, "end": 4716, "loc": { "start": { "line": 137, "column": 39 }, "end": { "line": 137, "column": 59 } }, "left": { "type": "BinaryExpression", "start": 4697, "end": 4711, "loc": { "start": { "line": 137, "column": 40 }, "end": { "line": 137, "column": 54 } }, "left": { "type": "Identifier", "start": 4697, "end": 4707, "loc": { "start": { "line": 137, "column": 40 }, "end": { "line": 137, "column": 50 }, "identifierName": "numCircles" }, "name": "numCircles" }, "operator": "-", "right": { "type": "Identifier", "start": 4710, "end": 4711, "loc": { "start": { "line": 137, "column": 53 }, "end": { "line": 137, "column": 54 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesized": true, "parenStart": 4696 } }, "operator": "/", "right": { "type": "NumericLiteral", "start": 4715, "end": 4716, "loc": { "start": { "line": 137, "column": 58 }, "end": { "line": 137, "column": 59 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } }, "operator": "+", "right": { "type": "NumericLiteral", "start": 4719, "end": 4720, "loc": { "start": { "line": 137, "column": 62 }, "end": { "line": 137, "column": 63 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } } } ], "kind": "const", "trailingComments": [ { "type": "CommentLine", "value": " We draw an elipsis actually", "start": 4737, "end": 4767, "loc": { "start": { "line": 139, "column": 12 }, "end": { "line": 139, "column": 42 } } } ] }, { "type": "VariableDeclaration", "start": 4781, "end": 4826, "loc": { "start": { "line": 140, "column": 12 }, "end": { "line": 140, "column": 57 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4787, "end": 4825, "loc": { "start": { "line": 140, "column": 18 }, "end": { "line": 140, "column": 56 } }, "id": { "type": "Identifier", "start": 4787, "end": 4799, "loc": { "start": { "line": 140, "column": 18 }, "end": { "line": 140, "column": 30 }, "identifierName": "circleScaleX" }, "name": "circleScaleX", "leadingComments": null }, "init": { "type": "CallExpression", "start": 4802, "end": 4825, "loc": { "start": { "line": 140, "column": 33 }, "end": { "line": 140, "column": 56 } }, "callee": { "type": "MemberExpression", "start": 4802, "end": 4815, "loc": { "start": { "line": 140, "column": 33 }, "end": { "line": 140, "column": 46 } }, "object": { "type": "Identifier", "start": 4802, "end": 4805, "loc": { "start": { "line": 140, "column": 33 }, "end": { "line": 140, "column": 36 }, "identifierName": "rng" }, "name": "rng" }, "property": { "type": "Identifier", "start": 4806, "end": 4815, "loc": { "start": { "line": 140, "column": 37 }, "end": { "line": 140, "column": 46 }, "identifierName": "nextRange" }, "name": "nextRange" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 4816, "end": 4819, "loc": { "start": { "line": 140, "column": 47 }, "end": { "line": 140, "column": 50 } }, "extra": { "rawValue": 0.9, "raw": "0.9" }, "value": 0.9 }, { "type": "NumericLiteral", "start": 4821, "end": 4824, "loc": { "start": { "line": 140, "column": 52 }, "end": { "line": 140, "column": 55 } }, "extra": { "rawValue": 1.1, "raw": "1.1" }, "value": 1.1 } ] }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " We draw an elipsis actually", "start": 4737, "end": 4767, "loc": { "start": { "line": 139, "column": 12 }, "end": { "line": 139, "column": 42 } } } ] }, { "type": "VariableDeclaration", "start": 4840, "end": 4885, "loc": { "start": { "line": 141, "column": 12 }, "end": { "line": 141, "column": 57 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4846, "end": 4884, "loc": { "start": { "line": 141, "column": 18 }, "end": { "line": 141, "column": 56 } }, "id": { "type": "Identifier", "start": 4846, "end": 4858, "loc": { "start": { "line": 141, "column": 18 }, "end": { "line": 141, "column": 30 }, "identifierName": "circleScaleY" }, "name": "circleScaleY" }, "init": { "type": "CallExpression", "start": 4861, "end": 4884, "loc": { "start": { "line": 141, "column": 33 }, "end": { "line": 141, "column": 56 } }, "callee": { "type": "MemberExpression", "start": 4861, "end": 4874, "loc": { "start": { "line": 141, "column": 33 }, "end": { "line": 141, "column": 46 } }, "object": { "type": "Identifier", "start": 4861, "end": 4864, "loc": { "start": { "line": 141, "column": 33 }, "end": { "line": 141, "column": 36 }, "identifierName": "rng" }, "name": "rng" }, "property": { "type": "Identifier", "start": 4865, "end": 4874, "loc": { "start": { "line": 141, "column": 37 }, "end": { "line": 141, "column": 46 }, "identifierName": "nextRange" }, "name": "nextRange" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 4875, "end": 4878, "loc": { "start": { "line": 141, "column": 47 }, "end": { "line": 141, "column": 50 } }, "extra": { "rawValue": 0.9, "raw": "0.9" }, "value": 0.9 }, { "type": "NumericLiteral", "start": 4880, "end": 4883, "loc": { "start": { "line": 141, "column": 52 }, "end": { "line": 141, "column": 55 } }, "extra": { "rawValue": 1.1, "raw": "1.1" }, "value": 1.1 } ] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 4901, "end": 4984, "loc": { "start": { "line": 143, "column": 12 }, "end": { "line": 143, "column": 95 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4907, "end": 4983, "loc": { "start": { "line": 143, "column": 18 }, "end": { "line": 143, "column": 94 } }, "id": { "type": "Identifier", "start": 4907, "end": 4914, "loc": { "start": { "line": 143, "column": 18 }, "end": { "line": 143, "column": 25 }, "identifierName": "circleX" }, "name": "circleX" }, "init": { "type": "BinaryExpression", "start": 4917, "end": 4983, "loc": { "start": { "line": 143, "column": 28 }, "end": { "line": 143, "column": 94 } }, "left": { "type": "Identifier", "start": 4917, "end": 4923, "loc": { "start": { "line": 143, "column": 28 }, "end": { "line": 143, "column": 34 }, "identifierName": "patchX" }, "name": "patchX" }, "operator": "+", "right": { "type": "CallExpression", "start": 4926, "end": 4983, "loc": { "start": { "line": 143, "column": 37 }, "end": { "line": 143, "column": 94 } }, "callee": { "type": "MemberExpression", "start": 4926, "end": 4942, "loc": { "start": { "line": 143, "column": 37 }, "end": { "line": 143, "column": 53 } }, "object": { "type": "Identifier", "start": 4926, "end": 4929, "loc": { "start": { "line": 143, "column": 37 }, "end": { "line": 143, "column": 40 }, "identifierName": "rng" }, "name": "rng" }, "property": { "type": "Identifier", "start": 4930, "end": 4942, "loc": { "start": { "line": 143, "column": 41 }, "end": { "line": 143, "column": 53 }, "identifierName": "nextIntRange" }, "name": "nextIntRange" }, "computed": false }, "arguments": [ { "type": "UnaryExpression", "start": 4943, "end": 4962, "loc": { "start": { "line": 143, "column": 54 }, "end": { "line": 143, "column": 73 } }, "operator": "-", "prefix": true, "argument": { "type": "Identifier", "start": 4944, "end": 4962, "loc": { "start": { "line": 143, "column": 55 }, "end": { "line": 143, "column": 73 }, "identifierName": "circleOffsetRadius" }, "name": "circleOffsetRadius" }, "extra": { "parenthesizedArgument": false } }, { "type": "Identifier", "start": 4964, "end": 4982, "loc": { "start": { "line": 143, "column": 75 }, "end": { "line": 143, "column": 93 }, "identifierName": "circleOffsetRadius" }, "name": "circleOffsetRadius" } ] } } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 4998, "end": 5081, "loc": { "start": { "line": 144, "column": 12 }, "end": { "line": 144, "column": 95 } }, "declarations": [ { "type": "VariableDeclarator", "start": 5004, "end": 5080, "loc": { "start": { "line": 144, "column": 18 }, "end": { "line": 144, "column": 94 } }, "id": { "type": "Identifier", "start": 5004, "end": 5011, "loc": { "start": { "line": 144, "column": 18 }, "end": { "line": 144, "column": 25 }, "identifierName": "circleY" }, "name": "circleY" }, "init": { "type": "BinaryExpression", "start": 5014, "end": 5080, "loc": { "start": { "line": 144, "column": 28 }, "end": { "line": 144, "column": 94 } }, "left": { "type": "Identifier", "start": 5014, "end": 5020, "loc": { "start": { "line": 144, "column": 28 }, "end": { "line": 144, "column": 34 }, "identifierName": "patchY" }, "name": "patchY" }, "operator": "+", "right": { "type": "CallExpression", "start": 5023, "end": 5080, "loc": { "start": { "line": 144, "column": 37 }, "end": { "line": 144, "column": 94 } }, "callee": { "type": "MemberExpression", "start": 5023, "end": 5039, "loc": { "start": { "line": 144, "column": 37 }, "end": { "line": 144, "column": 53 } }, "object": { "type": "Identifier", "start": 5023, "end": 5026, "loc": { "start": { "line": 144, "column": 37 }, "end": { "line": 144, "column": 40 }, "identifierName": "rng" }, "name": "rng" }, "property": { "type": "Identifier", "start": 5027, "end": 5039, "loc": { "start": { "line": 144, "column": 41 }, "end": { "line": 144, "column": 53 }, "identifierName": "nextIntRange" }, "name": "nextIntRange" }, "computed": false }, "arguments": [ { "type": "UnaryExpression", "start": 5040, "end": 5059, "loc": { "start": { "line": 144, "column": 54 }, "end": { "line": 144, "column": 73 } }, "operator": "-", "prefix": true, "argument": { "type": "Identifier", "start": 5041, "end": 5059, "loc": { "start": { "line": 144, "column": 55 }, "end": { "line": 144, "column": 73 }, "identifierName": "circleOffsetRadius" }, "name": "circleOffsetRadius" }, "extra": { "parenthesizedArgument": false } }, { "type": "Identifier", "start": 5061, "end": 5079, "loc": { "start": { "line": 144, "column": 75 }, "end": { "line": 144, "column": 93 }, "identifierName": "circleOffsetRadius" }, "name": "circleOffsetRadius" } ] } } } ], "kind": "const" }, { "type": "ForStatement", "start": 5097, "end": 6252, "loc": { "start": { "line": 146, "column": 12 }, "end": { "line": 165, "column": 13 } }, "init": { "type": "VariableDeclaration", "start": 5102, "end": 5143, "loc": { "start": { "line": 146, "column": 17 }, "end": { "line": 146, "column": 58 } }, "declarations": [ { "type": "VariableDeclarator", "start": 5106, "end": 5143, "loc": { "start": { "line": 146, "column": 21 }, "end": { "line": 146, "column": 58 } }, "id": { "type": "Identifier", "start": 5106, "end": 5108, "loc": { "start": { "line": 146, "column": 21 }, "end": { "line": 146, "column": 23 }, "identifierName": "dx" }, "name": "dx" }, "init": { "type": "BinaryExpression", "start": 5111, "end": 5143, "loc": { "start": { "line": 146, "column": 26 }, "end": { "line": 146, "column": 58 } }, "left": { "type": "BinaryExpression", "start": 5111, "end": 5139, "loc": { "start": { "line": 146, "column": 26 }, "end": { "line": 146, "column": 54 } }, "left": { "type": "UnaryExpression", "start": 5111, "end": 5124, "loc": { "start": { "line": 146, "column": 26 }, "end": { "line": 146, "column": 39 } }, "operator": "-", "prefix": true, "argument": { "type": "Identifier", "start": 5112, "end": 5124, "loc": { "start": { "line": 146, "column": 27 }, "end": { "line": 146, "column": 39 }, "identifierName": "circleRadius" }, "name": "circleRadius" }, "extra": { "parenthesizedArgument": false } }, "operator": "*", "right": { "type": "Identifier", "start": 5127, "end": 5139, "loc": { "start": { "line": 146, "column": 42 }, "end": { "line": 146, "column": 54 }, "identifierName": "circleScaleX" }, "name": "circleScaleX" } }, "operator": "-", "right": { "type": "NumericLiteral", "start": 5142, "end": 5143, "loc": { "start": { "line": 146, "column": 57 }, "end": { "line": 146, "column": 58 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 5145, "end": 5182, "loc": { "start": { "line": 146, "column": 60 }, "end": { "line": 146, "column": 97 } }, "left": { "type": "Identifier", "start": 5145, "end": 5147, "loc": { "start": { "line": 146, "column": 60 }, "end": { "line": 146, "column": 62 }, "identifierName": "dx" }, "name": "dx" }, "operator": "<=", "right": { "type": "BinaryExpression", "start": 5151, "end": 5182, "loc": { "start": { "line": 146, "column": 66 }, "end": { "line": 146, "column": 97 } }, "left": { "type": "BinaryExpression", "start": 5151, "end": 5178, "loc": { "start": { "line": 146, "column": 66 }, "end": { "line": 146, "column": 93 } }, "left": { "type": "Identifier", "start": 5151, "end": 5163, "loc": { "start": { "line": 146, "column": 66 }, "end": { "line": 146, "column": 78 }, "identifierName": "circleRadius" }, "name": "circleRadius" }, "operator": "*", "right": { "type": "Identifier", "start": 5166, "end": 5178, "loc": { "start": { "line": 146, "column": 81 }, "end": { "line": 146, "column": 93 }, "identifierName": "circleScaleX" }, "name": "circleScaleX" } }, "operator": "+", "right": { "type": "NumericLiteral", "start": 5181, "end": 5182, "loc": { "start": { "line": 146, "column": 96 }, "end": { "line": 146, "column": 97 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } } }, "update": { "type": "UpdateExpression", "start": 5184, "end": 5188, "loc": { "start": { "line": 146, "column": 99 }, "end": { "line": 146, "column": 103 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 5186, "end": 5188, "loc": { "start": { "line": 146, "column": 101 }, "end": { "line": 146, "column": 103 }, "identifierName": "dx" }, "name": "dx" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 5190, "end": 6252, "loc": { "start": { "line": 146, "column": 105 }, "end": { "line": 165, "column": 13 } }, "body": [ { "type": "ForStatement", "start": 5209, "end": 6237, "loc": { "start": { "line": 147, "column": 16 }, "end": { "line": 164, "column": 17 } }, "init": { "type": "VariableDeclaration", "start": 5214, "end": 5255, "loc": { "start": { "line": 147, "column": 21 }, "end": { "line": 147, "column": 62 } }, "declarations": [ { "type": "VariableDeclarator", "start": 5218, "end": 5255, "loc": { "start": { "line": 147, "column": 25 }, "end": { "line": 147, "column": 62 } }, "id": { "type": "Identifier", "start": 5218, "end": 5220, "loc": { "start": { "line": 147, "column": 25 }, "end": { "line": 147, "column": 27 }, "identifierName": "dy" }, "name": "dy" }, "init": { "type": "BinaryExpression", "start": 5223, "end": 5255, "loc": { "start": { "line": 147, "column": 30 }, "end": { "line": 147, "column": 62 } }, "left": { "type": "BinaryExpression", "start": 5223, "end": 5251, "loc": { "start": { "line": 147, "column": 30 }, "end": { "line": 147, "column": 58 } }, "left": { "type": "UnaryExpression", "start": 5223, "end": 5236, "loc": { "start": { "line": 147, "column": 30 }, "end": { "line": 147, "column": 43 } }, "operator": "-", "prefix": true, "argument": { "type": "Identifier", "start": 5224, "end": 5236, "loc": { "start": { "line": 147, "column": 31 }, "end": { "line": 147, "column": 43 }, "identifierName": "circleRadius" }, "name": "circleRadius" }, "extra": { "parenthesizedArgument": false } }, "operator": "*", "right": { "type": "Identifier", "start": 5239, "end": 5251, "loc": { "start": { "line": 147, "column": 46 }, "end": { "line": 147, "column": 58 }, "identifierName": "circleScaleY" }, "name": "circleScaleY" } }, "operator": "-", "right": { "type": "NumericLiteral", "start": 5254, "end": 5255, "loc": { "start": { "line": 147, "column": 61 }, "end": { "line": 147, "column": 62 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 5257, "end": 5294, "loc": { "start": { "line": 147, "column": 64 }, "end": { "line": 147, "column": 101 } }, "left": { "type": "Identifier", "start": 5257, "end": 5259, "loc": { "start": { "line": 147, "column": 64 }, "end": { "line": 147, "column": 66 }, "identifierName": "dy" }, "name": "dy" }, "operator": "<=", "right": { "type": "BinaryExpression", "start": 5263, "end": 5294, "loc": { "start": { "line": 147, "column": 70 }, "end": { "line": 147, "column": 101 } }, "left": { "type": "BinaryExpression", "start": 5263, "end": 5290, "loc": { "start": { "line": 147, "column": 70 }, "end": { "line": 147, "column": 97 } }, "left": { "type": "Identifier", "start": 5263, "end": 5275, "loc": { "start": { "line": 147, "column": 70 }, "end": { "line": 147, "column": 82 }, "identifierName": "circleRadius" }, "name": "circleRadius" }, "operator": "*", "right": { "type": "Identifier", "start": 5278, "end": 5290, "loc": { "start": { "line": 147, "column": 85 }, "end": { "line": 147, "column": 97 }, "identifierName": "circleScaleY" }, "name": "circleScaleY" } }, "operator": "+", "right": { "type": "NumericLiteral", "start": 5293, "end": 5294, "loc": { "start": { "line": 147, "column": 100 }, "end": { "line": 147, "column": 101 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } } }, "update": { "type": "UpdateExpression", "start": 5296, "end": 5300, "loc": { "start": { "line": 147, "column": 103 }, "end": { "line": 147, "column": 107 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 5298, "end": 5300, "loc": { "start": { "line": 147, "column": 105 }, "end": { "line": 147, "column": 107 }, "identifierName": "dy" }, "name": "dy" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 5302, "end": 6237, "loc": { "start": { "line": 147, "column": 109 }, "end": { "line": 164, "column": 17 } }, "body": [ { "type": "VariableDeclaration", "start": 5325, "end": 5360, "loc": { "start": { "line": 148, "column": 20 }, "end": { "line": 148, "column": 55 } }, "declarations": [ { "type": "VariableDeclarator", "start": 5331, "end": 5359, "loc": { "start": { "line": 148, "column": 26 }, "end": { "line": 148, "column": 54 } }, "id": { "type": "Identifier", "start": 5331, "end": 5332, "loc": { "start": { "line": 148, "column": 26 }, "end": { "line": 148, "column": 27 }, "identifierName": "x" }, "name": "x" }, "init": { "type": "CallExpression", "start": 5335, "end": 5359, "loc": { "start": { "line": 148, "column": 30 }, "end": { "line": 148, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 5335, "end": 5345, "loc": { "start": { "line": 148, "column": 30 }, "end": { "line": 148, "column": 40 } }, "object": { "type": "Identifier", "start": 5335, "end": 5339, "loc": { "start": { "line": 148, "column": 30 }, "end": { "line": 148, "column": 34 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 5340, "end": 5345, "loc": { "start": { "line": 148, "column": 35 }, "end": { "line": 148, "column": 40 }, "identifierName": "round" }, "name": "round" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 5346, "end": 5358, "loc": { "start": { "line": 148, "column": 41 }, "end": { "line": 148, "column": 53 } }, "left": { "type": "Identifier", "start": 5346, "end": 5353, "loc": { "start": { "line": 148, "column": 41 }, "end": { "line": 148, "column": 48 }, "identifierName": "circleX" }, "name": "circleX" }, "operator": "+", "right": { "type": "Identifier", "start": 5356, "end": 5358, "loc": { "start": { "line": 148, "column": 51 }, "end": { "line": 148, "column": 53 }, "identifierName": "dx" }, "name": "dx" } } ] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 5382, "end": 5417, "loc": { "start": { "line": 149, "column": 20 }, "end": { "line": 149, "column": 55 } }, "declarations": [ { "type": "VariableDeclarator", "start": 5388, "end": 5416, "loc": { "start": { "line": 149, "column": 26 }, "end": { "line": 149, "column": 54 } }, "id": { "type": "Identifier", "start": 5388, "end": 5389, "loc": { "start": { "line": 149, "column": 26 }, "end": { "line": 149, "column": 27 }, "identifierName": "y" }, "name": "y" }, "init": { "type": "CallExpression", "start": 5392, "end": 5416, "loc": { "start": { "line": 149, "column": 30 }, "end": { "line": 149, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 5392, "end": 5402, "loc": { "start": { "line": 149, "column": 30 }, "end": { "line": 149, "column": 40 } }, "object": { "type": "Identifier", "start": 5392, "end": 5396, "loc": { "start": { "line": 149, "column": 30 }, "end": { "line": 149, "column": 34 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 5397, "end": 5402, "loc": { "start": { "line": 149, "column": 35 }, "end": { "line": 149, "column": 40 }, "identifierName": "round" }, "name": "round" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 5403, "end": 5415, "loc": { "start": { "line": 149, "column": 41 }, "end": { "line": 149, "column": 53 } }, "left": { "type": "Identifier", "start": 5403, "end": 5410, "loc": { "start": { "line": 149, "column": 41 }, "end": { "line": 149, "column": 48 }, "identifierName": "circleY" }, "name": "circleY" }, "operator": "+", "right": { "type": "Identifier", "start": 5413, "end": 5415, "loc": { "start": { "line": 149, "column": 51 }, "end": { "line": 149, "column": 53 }, "identifierName": "dy" }, "name": "dy" } } ] } } ], "kind": "const" }, { "type": "IfStatement", "start": 5439, "end": 6218, "loc": { "start": { "line": 150, "column": 20 }, "end": { "line": 163, "column": 21 } }, "test": { "type": "LogicalExpression", "start": 5443, "end": 5526, "loc": { "start": { "line": 150, "column": 24 }, "end": { "line": 150, "column": 107 } }, "left": { "type": "LogicalExpression", "start": 5443, "end": 5492, "loc": { "start": { "line": 150, "column": 24 }, "end": { "line": 150, "column": 73 } }, "left": { "type": "LogicalExpression", "start": 5443, "end": 5482, "loc": { "start": { "line": 150, "column": 24 }, "end": { "line": 150, "column": 63 } }, "left": { "type": "BinaryExpression", "start": 5443, "end": 5449, "loc": { "start": { "line": 150, "column": 24 }, "end": { "line": 150, "column": 30 } }, "left": { "type": "Identifier", "start": 5443, "end": 5444, "loc": { "start": { "line": 150, "column": 24 }, "end": { "line": 150, "column": 25 }, "identifierName": "x" }, "name": "x" }, "operator": ">=", "right": { "type": "NumericLiteral", "start": 5448, "end": 5449, "loc": { "start": { "line": 150, "column": 29 }, "end": { "line": 150, "column": 30 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 5453, "end": 5482, "loc": { "start": { "line": 150, "column": 34 }, "end": { "line": 150, "column": 63 } }, "left": { "type": "Identifier", "start": 5453, "end": 5454, "loc": { "start": { "line": 150, "column": 34 }, "end": { "line": 150, "column": 35 }, "identifierName": "x" }, "name": "x" }, "operator": "<", "right": { "type": "MemberExpression", "start": 5457, "end": 5482, "loc": { "start": { "line": 150, "column": 38 }, "end": { "line": 150, "column": 63 } }, "object": { "type": "Identifier", "start": 5457, "end": 5469, "loc": { "start": { "line": 150, "column": 38 }, "end": { "line": 150, "column": 50 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 5470, "end": 5482, "loc": { "start": { "line": 150, "column": 51 }, "end": { "line": 150, "column": 63 }, "identifierName": "mapChunkSize" }, "name": "mapChunkSize" }, "computed": false } } }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 5486, "end": 5492, "loc": { "start": { "line": 150, "column": 67 }, "end": { "line": 150, "column": 73 } }, "left": { "type": "Identifier", "start": 5486, "end": 5487, "loc": { "start": { "line": 150, "column": 67 }, "end": { "line": 150, "column": 68 }, "identifierName": "y" }, "name": "y" }, "operator": ">=", "right": { "type": "NumericLiteral", "start": 5491, "end": 5492, "loc": { "start": { "line": 150, "column": 72 }, "end": { "line": 150, "column": 73 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 5496, "end": 5526, "loc": { "start": { "line": 150, "column": 77 }, "end": { "line": 150, "column": 107 } }, "left": { "type": "Identifier", "start": 5496, "end": 5497, "loc": { "start": { "line": 150, "column": 77 }, "end": { "line": 150, "column": 78 }, "identifierName": "y" }, "name": "y" }, "operator": "<=", "right": { "type": "MemberExpression", "start": 5501, "end": 5526, "loc": { "start": { "line": 150, "column": 82 }, "end": { "line": 150, "column": 107 } }, "object": { "type": "Identifier", "start": 5501, "end": 5513, "loc": { "start": { "line": 150, "column": 82 }, "end": { "line": 150, "column": 94 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 5514, "end": 5526, "loc": { "start": { "line": 150, "column": 95 }, "end": { "line": 150, "column": 107 }, "identifierName": "mapChunkSize" }, "name": "mapChunkSize" }, "computed": false } } }, "consequent": { "type": "BlockStatement", "start": 5528, "end": 6107, "loc": { "start": { "line": 150, "column": 109 }, "end": { "line": 161, "column": 21 } }, "body": [ { "type": "VariableDeclaration", "start": 5555, "end": 5592, "loc": { "start": { "line": 151, "column": 24 }, "end": { "line": 151, "column": 61 } }, "declarations": [ { "type": "VariableDeclarator", "start": 5561, "end": 5591, "loc": { "start": { "line": 151, "column": 30 }, "end": { "line": 151, "column": 60 } }, "id": { "type": "Identifier", "start": 5561, "end": 5571, "loc": { "start": { "line": 151, "column": 30 }, "end": { "line": 151, "column": 40 }, "identifierName": "originalDx" }, "name": "originalDx" }, "init": { "type": "BinaryExpression", "start": 5574, "end": 5591, "loc": { "start": { "line": 151, "column": 43 }, "end": { "line": 151, "column": 60 } }, "left": { "type": "Identifier", "start": 5574, "end": 5576, "loc": { "start": { "line": 151, "column": 43 }, "end": { "line": 151, "column": 45 }, "identifierName": "dx" }, "name": "dx" }, "operator": "/", "right": { "type": "Identifier", "start": 5579, "end": 5591, "loc": { "start": { "line": 151, "column": 48 }, "end": { "line": 151, "column": 60 }, "identifierName": "circleScaleX" }, "name": "circleScaleX" } } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 5618, "end": 5655, "loc": { "start": { "line": 152, "column": 24 }, "end": { "line": 152, "column": 61 } }, "declarations": [ { "type": "VariableDeclarator", "start": 5624, "end": 5654, "loc": { "start": { "line": 152, "column": 30 }, "end": { "line": 152, "column": 60 } }, "id": { "type": "Identifier", "start": 5624, "end": 5634, "loc": { "start": { "line": 152, "column": 30 }, "end": { "line": 152, "column": 40 }, "identifierName": "originalDy" }, "name": "originalDy" }, "init": { "type": "BinaryExpression", "start": 5637, "end": 5654, "loc": { "start": { "line": 152, "column": 43 }, "end": { "line": 152, "column": 60 } }, "left": { "type": "Identifier", "start": 5637, "end": 5639, "loc": { "start": { "line": 152, "column": 43 }, "end": { "line": 152, "column": 45 }, "identifierName": "dy" }, "name": "dy" }, "operator": "/", "right": { "type": "Identifier", "start": 5642, "end": 5654, "loc": { "start": { "line": 152, "column": 48 }, "end": { "line": 152, "column": 60 }, "identifierName": "circleScaleY" }, "name": "circleScaleY" } } } ], "kind": "const" }, { "type": "IfStatement", "start": 5681, "end": 6084, "loc": { "start": { "line": 153, "column": 24 }, "end": { "line": 160, "column": 25 } }, "test": { "type": "BinaryExpression", "start": 5685, "end": 5756, "loc": { "start": { "line": 153, "column": 28 }, "end": { "line": 153, "column": 99 } }, "left": { "type": "BinaryExpression", "start": 5685, "end": 5734, "loc": { "start": { "line": 153, "column": 28 }, "end": { "line": 153, "column": 77 } }, "left": { "type": "BinaryExpression", "start": 5685, "end": 5708, "loc": { "start": { "line": 153, "column": 28 }, "end": { "line": 153, "column": 51 } }, "left": { "type": "Identifier", "start": 5685, "end": 5695, "loc": { "start": { "line": 153, "column": 28 }, "end": { "line": 153, "column": 38 }, "identifierName": "originalDx" }, "name": "originalDx" }, "operator": "*", "right": { "type": "Identifier", "start": 5698, "end": 5708, "loc": { "start": { "line": 153, "column": 41 }, "end": { "line": 153, "column": 51 }, "identifierName": "originalDx" }, "name": "originalDx" } }, "operator": "+", "right": { "type": "BinaryExpression", "start": 5711, "end": 5734, "loc": { "start": { "line": 153, "column": 54 }, "end": { "line": 153, "column": 77 } }, "left": { "type": "Identifier", "start": 5711, "end": 5721, "loc": { "start": { "line": 153, "column": 54 }, "end": { "line": 153, "column": 64 }, "identifierName": "originalDy" }, "name": "originalDy" }, "operator": "*", "right": { "type": "Identifier", "start": 5724, "end": 5734, "loc": { "start": { "line": 153, "column": 67 }, "end": { "line": 153, "column": 77 }, "identifierName": "originalDy" }, "name": "originalDy" } } }, "operator": "<=", "right": { "type": "Identifier", "start": 5738, "end": 5756, "loc": { "start": { "line": 153, "column": 81 }, "end": { "line": 153, "column": 99 }, "identifierName": "circleRadiusSquare" }, "name": "circleRadiusSquare" } }, "consequent": { "type": "BlockStatement", "start": 5758, "end": 6084, "loc": { "start": { "line": 153, "column": 101 }, "end": { "line": 160, "column": 25 } }, "body": [ { "type": "IfStatement", "start": 5789, "end": 6057, "loc": { "start": { "line": 154, "column": 28 }, "end": { "line": 159, "column": 29 } }, "test": { "type": "UnaryExpression", "start": 5793, "end": 5815, "loc": { "start": { "line": 154, "column": 32 }, "end": { "line": 154, "column": 54 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 5794, "end": 5815, "loc": { "start": { "line": 154, "column": 33 }, "end": { "line": 154, "column": 54 } }, "object": { "type": "MemberExpression", "start": 5794, "end": 5812, "loc": { "start": { "line": 154, "column": 33 }, "end": { "line": 154, "column": 51 } }, "object": { "type": "MemberExpression", "start": 5794, "end": 5809, "loc": { "start": { "line": 154, "column": 33 }, "end": { "line": 154, "column": 48 } }, "object": { "type": "ThisExpression", "start": 5794, "end": 5798, "loc": { "start": { "line": 154, "column": 33 }, "end": { "line": 154, "column": 37 } } }, "property": { "type": "Identifier", "start": 5799, "end": 5809, "loc": { "start": { "line": 154, "column": 38 }, "end": { "line": 154, "column": 48 }, "identifierName": "lowerLayer" }, "name": "lowerLayer" }, "computed": false }, "property": { "type": "Identifier", "start": 5810, "end": 5811, "loc": { "start": { "line": 154, "column": 49 }, "end": { "line": 154, "column": 50 }, "identifierName": "x" }, "name": "x" }, "computed": true }, "property": { "type": "Identifier", "start": 5813, "end": 5814, "loc": { "start": { "line": 154, "column": 52 }, "end": { "line": 154, "column": 53 }, "identifierName": "y" }, "name": "y" }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 5817, "end": 6057, "loc": { "start": { "line": 154, "column": 56 }, "end": { "line": 159, "column": 29 } }, "body": [ { "type": "ExpressionStatement", "start": 5852, "end": 5881, "loc": { "start": { "line": 155, "column": 32 }, "end": { "line": 155, "column": 61 } }, "expression": { "type": "AssignmentExpression", "start": 5852, "end": 5880, "loc": { "start": { "line": 155, "column": 32 }, "end": { "line": 155, "column": 60 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5852, "end": 5873, "loc": { "start": { "line": 155, "column": 32 }, "end": { "line": 155, "column": 53 } }, "object": { "type": "MemberExpression", "start": 5852, "end": 5870, "loc": { "start": { "line": 155, "column": 32 }, "end": { "line": 155, "column": 50 } }, "object": { "type": "MemberExpression", "start": 5852, "end": 5867, "loc": { "start": { "line": 155, "column": 32 }, "end": { "line": 155, "column": 47 } }, "object": { "type": "ThisExpression", "start": 5852, "end": 5856, "loc": { "start": { "line": 155, "column": 32 }, "end": { "line": 155, "column": 36 } } }, "property": { "type": "Identifier", "start": 5857, "end": 5867, "loc": { "start": { "line": 155, "column": 37 }, "end": { "line": 155, "column": 47 }, "identifierName": "lowerLayer" }, "name": "lowerLayer" }, "computed": false }, "property": { "type": "Identifier", "start": 5868, "end": 5869, "loc": { "start": { "line": 155, "column": 48 }, "end": { "line": 155, "column": 49 }, "identifierName": "x" }, "name": "x" }, "computed": true }, "property": { "type": "Identifier", "start": 5871, "end": 5872, "loc": { "start": { "line": 155, "column": 51 }, "end": { "line": 155, "column": 52 }, "identifierName": "y" }, "name": "y" }, "computed": true }, "right": { "type": "Identifier", "start": 5876, "end": 5880, "loc": { "start": { "line": 155, "column": 56 }, "end": { "line": 155, "column": 60 }, "identifierName": "item" }, "name": "item" } } }, { "type": "ExpressionStatement", "start": 5915, "end": 5930, "loc": { "start": { "line": 156, "column": 32 }, "end": { "line": 156, "column": 47 } }, "expression": { "type": "UpdateExpression", "start": 5915, "end": 5929, "loc": { "start": { "line": 156, "column": 32 }, "end": { "line": 156, "column": 46 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 5917, "end": 5929, "loc": { "start": { "line": 156, "column": 34 }, "end": { "line": 156, "column": 46 }, "identifierName": "patchesDrawn" }, "name": "patchesDrawn" }, "extra": { "parenthesizedArgument": false } } }, { "type": "ExpressionStatement", "start": 5964, "end": 5978, "loc": { "start": { "line": 157, "column": 32 }, "end": { "line": 157, "column": 46 } }, "expression": { "type": "AssignmentExpression", "start": 5964, "end": 5977, "loc": { "start": { "line": 157, "column": 32 }, "end": { "line": 157, "column": 45 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 5964, "end": 5972, "loc": { "start": { "line": 157, "column": 32 }, "end": { "line": 157, "column": 40 } }, "object": { "type": "Identifier", "start": 5964, "end": 5970, "loc": { "start": { "line": 157, "column": 32 }, "end": { "line": 157, "column": 38 }, "identifierName": "avgPos" }, "name": "avgPos" }, "property": { "type": "Identifier", "start": 5971, "end": 5972, "loc": { "start": { "line": 157, "column": 39 }, "end": { "line": 157, "column": 40 }, "identifierName": "x" }, "name": "x" }, "computed": false }, "right": { "type": "Identifier", "start": 5976, "end": 5977, "loc": { "start": { "line": 157, "column": 44 }, "end": { "line": 157, "column": 45 }, "identifierName": "x" }, "name": "x" } } }, { "type": "ExpressionStatement", "start": 6012, "end": 6026, "loc": { "start": { "line": 158, "column": 32 }, "end": { "line": 158, "column": 46 } }, "expression": { "type": "AssignmentExpression", "start": 6012, "end": 6025, "loc": { "start": { "line": 158, "column": 32 }, "end": { "line": 158, "column": 45 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 6012, "end": 6020, "loc": { "start": { "line": 158, "column": 32 }, "end": { "line": 158, "column": 40 } }, "object": { "type": "Identifier", "start": 6012, "end": 6018, "loc": { "start": { "line": 158, "column": 32 }, "end": { "line": 158, "column": 38 }, "identifierName": "avgPos" }, "name": "avgPos" }, "property": { "type": "Identifier", "start": 6019, "end": 6020, "loc": { "start": { "line": 158, "column": 39 }, "end": { "line": 158, "column": 40 }, "identifierName": "y" }, "name": "y" }, "computed": false }, "right": { "type": "Identifier", "start": 6024, "end": 6025, "loc": { "start": { "line": 158, "column": 44 }, "end": { "line": 158, "column": 45 }, "identifierName": "y" }, "name": "y" } } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 6113, "end": 6218, "loc": { "start": { "line": 161, "column": 27 }, "end": { "line": 163, "column": 21 } }, "body": [], "directives": [], "leadingComments": null, "innerComments": [ { "type": "CommentLine", "value": " logger.warn(\"Tried to spawn resource out of chunk\");", "start": 6140, "end": 6195, "loc": { "start": { "line": 162, "column": 24 }, "end": { "line": 162, "column": 79 } } } ] } } ], "directives": [] } } ], "directives": [] } } ], "directives": [] } }, { "type": "ExpressionStatement", "start": 6275, "end": 6409, "loc": { "start": { "line": 168, "column": 8 }, "end": { "line": 172, "column": 11 } }, "expression": { "type": "CallExpression", "start": 6275, "end": 6408, "loc": { "start": { "line": 168, "column": 8 }, "end": { "line": 172, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 6275, "end": 6292, "loc": { "start": { "line": 168, "column": 8 }, "end": { "line": 168, "column": 25 } }, "object": { "type": "MemberExpression", "start": 6275, "end": 6287, "loc": { "start": { "line": 168, "column": 8 }, "end": { "line": 168, "column": 20 } }, "object": { "type": "ThisExpression", "start": 6275, "end": 6279, "loc": { "start": { "line": 168, "column": 8 }, "end": { "line": 168, "column": 12 } } }, "property": { "type": "Identifier", "start": 6280, "end": 6287, "loc": { "start": { "line": 168, "column": 13 }, "end": { "line": 168, "column": 20 }, "identifierName": "patches" }, "name": "patches" }, "computed": false }, "property": { "type": "Identifier", "start": 6288, "end": 6292, "loc": { "start": { "line": 168, "column": 21 }, "end": { "line": 168, "column": 25 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "ObjectExpression", "start": 6293, "end": 6407, "loc": { "start": { "line": 168, "column": 26 }, "end": { "line": 172, "column": 9 } }, "properties": [ { "type": "ObjectProperty", "start": 6308, "end": 6346, "loc": { "start": { "line": 169, "column": 12 }, "end": { "line": 169, "column": 50 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 6308, "end": 6311, "loc": { "start": { "line": 169, "column": 12 }, "end": { "line": 169, "column": 15 }, "identifierName": "pos" }, "name": "pos" }, "value": { "type": "CallExpression", "start": 6313, "end": 6346, "loc": { "start": { "line": 169, "column": 17 }, "end": { "line": 169, "column": 50 } }, "callee": { "type": "MemberExpression", "start": 6313, "end": 6332, "loc": { "start": { "line": 169, "column": 17 }, "end": { "line": 169, "column": 36 } }, "object": { "type": "Identifier", "start": 6313, "end": 6319, "loc": { "start": { "line": 169, "column": 17 }, "end": { "line": 169, "column": 23 }, "identifierName": "avgPos" }, "name": "avgPos" }, "property": { "type": "Identifier", "start": 6320, "end": 6332, "loc": { "start": { "line": 169, "column": 24 }, "end": { "line": 169, "column": 36 }, "identifierName": "divideScalar" }, "name": "divideScalar" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 6333, "end": 6345, "loc": { "start": { "line": 169, "column": 37 }, "end": { "line": 169, "column": 49 }, "identifierName": "patchesDrawn" }, "name": "patchesDrawn" } ] } }, { "type": "ObjectProperty", "start": 6361, "end": 6365, "loc": { "start": { "line": 170, "column": 12 }, "end": { "line": 170, "column": 16 } }, "method": false, "shorthand": true, "computed": false, "key": { "type": "Identifier", "start": 6361, "end": 6365, "loc": { "start": { "line": 170, "column": 12 }, "end": { "line": 170, "column": 16 }, "identifierName": "item" }, "name": "item" }, "value": { "type": "Identifier", "start": 6361, "end": 6365, "loc": { "start": { "line": 170, "column": 12 }, "end": { "line": 170, "column": 16 }, "identifierName": "item" }, "name": "item" }, "extra": { "shorthand": true } }, { "type": "ObjectProperty", "start": 6380, "end": 6395, "loc": { "start": { "line": 171, "column": 12 }, "end": { "line": 171, "column": 27 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 6380, "end": 6384, "loc": { "start": { "line": 171, "column": 12 }, "end": { "line": 171, "column": 16 }, "identifierName": "size" }, "name": "size" }, "value": { "type": "Identifier", "start": 6386, "end": 6395, "loc": { "start": { "line": 171, "column": 18 }, "end": { "line": 171, "column": 27 }, "identifierName": "patchSize" }, "name": "patchSize" } } ] } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Generates a patch filled with the given item\r\n * @param {RandomNumberGenerator} rng\r\n * @param {number} patchSize\r\n * @param {any} item\r\n * @param {number=} overrideX Override the X position of the patch\r\n * @param {number=} overrideY Override the Y position of the patch\r\n ", "start": 3402, "end": 3714, "loc": { "start": { "line": 104, "column": 4 }, "end": { "line": 111, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Generates the lower layer \"terrain\"\r\n ", "start": 6424, "end": 6480, "loc": { "start": { "line": 175, "column": 4 }, "end": { "line": 177, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 6486, "end": 6995, "loc": { "start": { "line": 178, "column": 4 }, "end": { "line": 191, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 6486, "end": 6504, "loc": { "start": { "line": 178, "column": 4 }, "end": { "line": 178, "column": 22 }, "identifierName": "generateLowerLayer" }, "name": "generateLowerLayer", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 6507, "end": 6995, "loc": { "start": { "line": 178, "column": 25 }, "end": { "line": 191, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 6518, "end": 6606, "loc": { "start": { "line": 179, "column": 8 }, "end": { "line": 179, "column": 96 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6524, "end": 6605, "loc": { "start": { "line": 179, "column": 14 }, "end": { "line": 179, "column": 95 } }, "id": { "type": "Identifier", "start": 6524, "end": 6527, "loc": { "start": { "line": 179, "column": 14 }, "end": { "line": 179, "column": 17 }, "identifierName": "rng" }, "name": "rng" }, "init": { "type": "NewExpression", "start": 6530, "end": 6605, "loc": { "start": { "line": 179, "column": 20 }, "end": { "line": 179, "column": 95 } }, "callee": { "type": "Identifier", "start": 6534, "end": 6555, "loc": { "start": { "line": 179, "column": 24 }, "end": { "line": 179, "column": 45 }, "identifierName": "RandomNumberGenerator" }, "name": "RandomNumberGenerator" }, "arguments": [ { "type": "BinaryExpression", "start": 6556, "end": 6604, "loc": { "start": { "line": 179, "column": 46 }, "end": { "line": 179, "column": 94 } }, "left": { "type": "BinaryExpression", "start": 6556, "end": 6583, "loc": { "start": { "line": 179, "column": 46 }, "end": { "line": 179, "column": 73 } }, "left": { "type": "BinaryExpression", "start": 6556, "end": 6577, "loc": { "start": { "line": 179, "column": 46 }, "end": { "line": 179, "column": 67 } }, "left": { "type": "BinaryExpression", "start": 6556, "end": 6568, "loc": { "start": { "line": 179, "column": 46 }, "end": { "line": 179, "column": 58 } }, "left": { "type": "MemberExpression", "start": 6556, "end": 6562, "loc": { "start": { "line": 179, "column": 46 }, "end": { "line": 179, "column": 52 } }, "object": { "type": "ThisExpression", "start": 6556, "end": 6560, "loc": { "start": { "line": 179, "column": 46 }, "end": { "line": 179, "column": 50 } } }, "property": { "type": "Identifier", "start": 6561, "end": 6562, "loc": { "start": { "line": 179, "column": 51 }, "end": { "line": 179, "column": 52 }, "identifierName": "x" }, "name": "x" }, "computed": false }, "operator": "+", "right": { "type": "StringLiteral", "start": 6565, "end": 6568, "loc": { "start": { "line": 179, "column": 55 }, "end": { "line": 179, "column": 58 } }, "extra": { "rawValue": "|", "raw": "\"|\"" }, "value": "|" } }, "operator": "+", "right": { "type": "MemberExpression", "start": 6571, "end": 6577, "loc": { "start": { "line": 179, "column": 61 }, "end": { "line": 179, "column": 67 } }, "object": { "type": "ThisExpression", "start": 6571, "end": 6575, "loc": { "start": { "line": 179, "column": 61 }, "end": { "line": 179, "column": 65 } } }, "property": { "type": "Identifier", "start": 6576, "end": 6577, "loc": { "start": { "line": 179, "column": 66 }, "end": { "line": 179, "column": 67 }, "identifierName": "y" }, "name": "y" }, "computed": false } }, "operator": "+", "right": { "type": "StringLiteral", "start": 6580, "end": 6583, "loc": { "start": { "line": 179, "column": 70 }, "end": { "line": 179, "column": 73 } }, "extra": { "rawValue": "|", "raw": "\"|\"" }, "value": "|" } }, "operator": "+", "right": { "type": "MemberExpression", "start": 6586, "end": 6604, "loc": { "start": { "line": 179, "column": 76 }, "end": { "line": 179, "column": 94 } }, "object": { "type": "MemberExpression", "start": 6586, "end": 6599, "loc": { "start": { "line": 179, "column": 76 }, "end": { "line": 179, "column": 89 } }, "object": { "type": "MemberExpression", "start": 6586, "end": 6595, "loc": { "start": { "line": 179, "column": 76 }, "end": { "line": 179, "column": 85 } }, "object": { "type": "ThisExpression", "start": 6586, "end": 6590, "loc": { "start": { "line": 179, "column": 76 }, "end": { "line": 179, "column": 80 } } }, "property": { "type": "Identifier", "start": 6591, "end": 6595, "loc": { "start": { "line": 179, "column": 81 }, "end": { "line": 179, "column": 85 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 6596, "end": 6599, "loc": { "start": { "line": 179, "column": 86 }, "end": { "line": 179, "column": 89 }, "identifierName": "map" }, "name": "map" }, "computed": false }, "property": { "type": "Identifier", "start": 6600, "end": 6604, "loc": { "start": { "line": 179, "column": 90 }, "end": { "line": 179, "column": 94 }, "identifierName": "seed" }, "name": "seed" }, "computed": false } } ] } } ], "kind": "const" }, { "type": "IfStatement", "start": 6618, "end": 6685, "loc": { "start": { "line": 181, "column": 8 }, "end": { "line": 183, "column": 9 } }, "test": { "type": "CallExpression", "start": 6622, "end": 6650, "loc": { "start": { "line": 181, "column": 12 }, "end": { "line": 181, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 6622, "end": 6645, "loc": { "start": { "line": 181, "column": 12 }, "end": { "line": 181, "column": 35 } }, "object": { "type": "ThisExpression", "start": 6622, "end": 6626, "loc": { "start": { "line": 181, "column": 12 }, "end": { "line": 181, "column": 16 } } }, "property": { "type": "Identifier", "start": 6627, "end": 6645, "loc": { "start": { "line": 181, "column": 17 }, "end": { "line": 181, "column": 35 }, "identifierName": "generatePredefined" }, "name": "generatePredefined" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 6646, "end": 6649, "loc": { "start": { "line": 181, "column": 36 }, "end": { "line": 181, "column": 39 }, "identifierName": "rng" }, "name": "rng" } ] }, "consequent": { "type": "BlockStatement", "start": 6652, "end": 6685, "loc": { "start": { "line": 181, "column": 42 }, "end": { "line": 183, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 6667, "end": 6674, "loc": { "start": { "line": 182, "column": 12 }, "end": { "line": 182, "column": 19 } }, "argument": null } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 6697, "end": 6759, "loc": { "start": { "line": 185, "column": 8 }, "end": { "line": 185, "column": 70 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6703, "end": 6758, "loc": { "start": { "line": 185, "column": 14 }, "end": { "line": 185, "column": 69 } }, "id": { "type": "Identifier", "start": 6703, "end": 6714, "loc": { "start": { "line": 185, "column": 14 }, "end": { "line": 185, "column": 25 }, "identifierName": "chunkCenter" }, "name": "chunkCenter" }, "init": { "type": "CallExpression", "start": 6717, "end": 6758, "loc": { "start": { "line": 185, "column": 28 }, "end": { "line": 185, "column": 69 } }, "callee": { "type": "MemberExpression", "start": 6717, "end": 6753, "loc": { "start": { "line": 185, "column": 28 }, "end": { "line": 185, "column": 64 } }, "object": { "type": "NewExpression", "start": 6717, "end": 6743, "loc": { "start": { "line": 185, "column": 28 }, "end": { "line": 185, "column": 54 } }, "callee": { "type": "Identifier", "start": 6721, "end": 6727, "loc": { "start": { "line": 185, "column": 32 }, "end": { "line": 185, "column": 38 }, "identifierName": "Vector" }, "name": "Vector" }, "arguments": [ { "type": "MemberExpression", "start": 6728, "end": 6734, "loc": { "start": { "line": 185, "column": 39 }, "end": { "line": 185, "column": 45 } }, "object": { "type": "ThisExpression", "start": 6728, "end": 6732, "loc": { "start": { "line": 185, "column": 39 }, "end": { "line": 185, "column": 43 } } }, "property": { "type": "Identifier", "start": 6733, "end": 6734, "loc": { "start": { "line": 185, "column": 44 }, "end": { "line": 185, "column": 45 }, "identifierName": "x" }, "name": "x" }, "computed": false }, { "type": "MemberExpression", "start": 6736, "end": 6742, "loc": { "start": { "line": 185, "column": 47 }, "end": { "line": 185, "column": 53 } }, "object": { "type": "ThisExpression", "start": 6736, "end": 6740, "loc": { "start": { "line": 185, "column": 47 }, "end": { "line": 185, "column": 51 } } }, "property": { "type": "Identifier", "start": 6741, "end": 6742, "loc": { "start": { "line": 185, "column": 52 }, "end": { "line": 185, "column": 53 }, "identifierName": "y" }, "name": "y" }, "computed": false } ] }, "property": { "type": "Identifier", "start": 6744, "end": 6753, "loc": { "start": { "line": 185, "column": 55 }, "end": { "line": 185, "column": 64 }, "identifierName": "addScalar" }, "name": "addScalar" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 6754, "end": 6757, "loc": { "start": { "line": 185, "column": 65 }, "end": { "line": 185, "column": 68 } }, "extra": { "rawValue": 0.5, "raw": "0.5" }, "value": 0.5 } ] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 6769, "end": 6835, "loc": { "start": { "line": 186, "column": 8 }, "end": { "line": 186, "column": 74 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6775, "end": 6834, "loc": { "start": { "line": 186, "column": 14 }, "end": { "line": 186, "column": 73 } }, "id": { "type": "Identifier", "start": 6775, "end": 6799, "loc": { "start": { "line": 186, "column": 14 }, "end": { "line": 186, "column": 38 }, "identifierName": "distanceToOriginInChunks" }, "name": "distanceToOriginInChunks" }, "init": { "type": "CallExpression", "start": 6802, "end": 6834, "loc": { "start": { "line": 186, "column": 41 }, "end": { "line": 186, "column": 73 } }, "callee": { "type": "MemberExpression", "start": 6802, "end": 6812, "loc": { "start": { "line": 186, "column": 41 }, "end": { "line": 186, "column": 51 } }, "object": { "type": "Identifier", "start": 6802, "end": 6806, "loc": { "start": { "line": 186, "column": 41 }, "end": { "line": 186, "column": 45 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 6807, "end": 6812, "loc": { "start": { "line": 186, "column": 46 }, "end": { "line": 186, "column": 51 }, "identifierName": "round" }, "name": "round" }, "computed": false }, "arguments": [ { "type": "CallExpression", "start": 6813, "end": 6833, "loc": { "start": { "line": 186, "column": 52 }, "end": { "line": 186, "column": 72 } }, "callee": { "type": "MemberExpression", "start": 6813, "end": 6831, "loc": { "start": { "line": 186, "column": 52 }, "end": { "line": 186, "column": 70 } }, "object": { "type": "Identifier", "start": 6813, "end": 6824, "loc": { "start": { "line": 186, "column": 52 }, "end": { "line": 186, "column": 63 }, "identifierName": "chunkCenter" }, "name": "chunkCenter" }, "property": { "type": "Identifier", "start": 6825, "end": 6831, "loc": { "start": { "line": 186, "column": 64 }, "end": { "line": 186, "column": 70 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "arguments": [] } ] } } ], "kind": "const" }, { "type": "ForStatement", "start": 6847, "end": 6988, "loc": { "start": { "line": 188, "column": 8 }, "end": { "line": 190, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 6852, "end": 6861, "loc": { "start": { "line": 188, "column": 13 }, "end": { "line": 188, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6856, "end": 6861, "loc": { "start": { "line": 188, "column": 17 }, "end": { "line": 188, "column": 22 } }, "id": { "type": "Identifier", "start": 6856, "end": 6857, "loc": { "start": { "line": 188, "column": 17 }, "end": { "line": 188, "column": 18 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 6860, "end": 6861, "loc": { "start": { "line": 188, "column": 21 }, "end": { "line": 188, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 6863, "end": 6894, "loc": { "start": { "line": 188, "column": 24 }, "end": { "line": 188, "column": 55 } }, "left": { "type": "Identifier", "start": 6863, "end": 6864, "loc": { "start": { "line": 188, "column": 24 }, "end": { "line": 188, "column": 25 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 6867, "end": 6894, "loc": { "start": { "line": 188, "column": 28 }, "end": { "line": 188, "column": 55 } }, "object": { "type": "MemberExpression", "start": 6867, "end": 6887, "loc": { "start": { "line": 188, "column": 28 }, "end": { "line": 188, "column": 48 } }, "object": { "type": "Identifier", "start": 6867, "end": 6875, "loc": { "start": { "line": 188, "column": 28 }, "end": { "line": 188, "column": 36 }, "identifierName": "MapChunk" }, "name": "MapChunk" }, "property": { "type": "Identifier", "start": 6876, "end": 6887, "loc": { "start": { "line": 188, "column": 37 }, "end": { "line": 188, "column": 48 }, "identifierName": "lowerLayers" }, "name": "lowerLayers" }, "computed": false }, "property": { "type": "Identifier", "start": 6888, "end": 6894, "loc": { "start": { "line": 188, "column": 49 }, "end": { "line": 188, "column": 55 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 6896, "end": 6899, "loc": { "start": { "line": 188, "column": 57 }, "end": { "line": 188, "column": 60 } }, "operator": "++", "prefix": false, "argument": { "type": "Identifier", "start": 6896, "end": 6897, "loc": { "start": { "line": 188, "column": 57 }, "end": { "line": 188, "column": 58 }, "identifierName": "i" }, "name": "i" } }, "body": { "type": "BlockStatement", "start": 6901, "end": 6988, "loc": { "start": { "line": 188, "column": 62 }, "end": { "line": 190, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 6916, "end": 6977, "loc": { "start": { "line": 189, "column": 12 }, "end": { "line": 189, "column": 73 } }, "expression": { "type": "CallExpression", "start": 6916, "end": 6976, "loc": { "start": { "line": 189, "column": 12 }, "end": { "line": 189, "column": 72 } }, "callee": { "type": "MemberExpression", "start": 6916, "end": 6939, "loc": { "start": { "line": 189, "column": 12 }, "end": { "line": 189, "column": 35 } }, "object": { "type": "MemberExpression", "start": 6916, "end": 6936, "loc": { "start": { "line": 189, "column": 12 }, "end": { "line": 189, "column": 32 } }, "object": { "type": "Identifier", "start": 6916, "end": 6924, "loc": { "start": { "line": 189, "column": 12 }, "end": { "line": 189, "column": 20 }, "identifierName": "MapChunk" }, "name": "MapChunk" }, "property": { "type": "Identifier", "start": 6925, "end": 6936, "loc": { "start": { "line": 189, "column": 21 }, "end": { "line": 189, "column": 32 }, "identifierName": "lowerLayers" }, "name": "lowerLayers" }, "computed": false }, "property": { "type": "Identifier", "start": 6937, "end": 6938, "loc": { "start": { "line": 189, "column": 33 }, "end": { "line": 189, "column": 34 }, "identifierName": "i" }, "name": "i" }, "computed": true }, "arguments": [ { "type": "ThisExpression", "start": 6940, "end": 6944, "loc": { "start": { "line": 189, "column": 36 }, "end": { "line": 189, "column": 40 } } }, { "type": "Identifier", "start": 6946, "end": 6949, "loc": { "start": { "line": 189, "column": 42 }, "end": { "line": 189, "column": 45 }, "identifierName": "rng" }, "name": "rng" }, { "type": "Identifier", "start": 6951, "end": 6975, "loc": { "start": { "line": 189, "column": 47 }, "end": { "line": 189, "column": 71 }, "identifierName": "distanceToOriginInChunks" }, "name": "distanceToOriginInChunks" } ] } } ], "directives": [] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Generates the lower layer \"terrain\"\r\n ", "start": 6424, "end": 6480, "loc": { "start": { "line": 175, "column": 4 }, "end": { "line": 177, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Checks if this chunk has predefined contents, and if so returns true and generates the\r\n * predefined contents\r\n * @param {RandomNumberGenerator} rng\r\n * @returns {boolean}\r\n ", "start": 7003, "end": 7208, "loc": { "start": { "line": 193, "column": 4 }, "end": { "line": 198, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 7214, "end": 7443, "loc": { "start": { "line": 199, "column": 4 }, "end": { "line": 206, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 7214, "end": 7232, "loc": { "start": { "line": 199, "column": 4 }, "end": { "line": 199, "column": 22 }, "identifierName": "generatePredefined" }, "name": "generatePredefined", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 7233, "end": 7236, "loc": { "start": { "line": 199, "column": 23 }, "end": { "line": 199, "column": 26 }, "identifierName": "rng" }, "name": "rng" } ], "body": { "type": "BlockStatement", "start": 7238, "end": 7443, "loc": { "start": { "line": 199, "column": 28 }, "end": { "line": 206, "column": 5 } }, "body": [ { "type": "ForStatement", "start": 7249, "end": 7413, "loc": { "start": { "line": 200, "column": 8 }, "end": { "line": 204, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 7254, "end": 7263, "loc": { "start": { "line": 200, "column": 13 }, "end": { "line": 200, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 7258, "end": 7263, "loc": { "start": { "line": 200, "column": 17 }, "end": { "line": 200, "column": 22 } }, "id": { "type": "Identifier", "start": 7258, "end": 7259, "loc": { "start": { "line": 200, "column": 17 }, "end": { "line": 200, "column": 18 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 7262, "end": 7263, "loc": { "start": { "line": 200, "column": 21 }, "end": { "line": 200, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 7265, "end": 7295, "loc": { "start": { "line": 200, "column": 24 }, "end": { "line": 200, "column": 54 } }, "left": { "type": "Identifier", "start": 7265, "end": 7266, "loc": { "start": { "line": 200, "column": 24 }, "end": { "line": 200, "column": 25 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 7269, "end": 7295, "loc": { "start": { "line": 200, "column": 28 }, "end": { "line": 200, "column": 54 } }, "object": { "type": "MemberExpression", "start": 7269, "end": 7288, "loc": { "start": { "line": 200, "column": 28 }, "end": { "line": 200, "column": 47 } }, "object": { "type": "Identifier", "start": 7269, "end": 7277, "loc": { "start": { "line": 200, "column": 28 }, "end": { "line": 200, "column": 36 }, "identifierName": "MapChunk" }, "name": "MapChunk" }, "property": { "type": "Identifier", "start": 7278, "end": 7288, "loc": { "start": { "line": 200, "column": 37 }, "end": { "line": 200, "column": 47 }, "identifierName": "predefined" }, "name": "predefined" }, "computed": false }, "property": { "type": "Identifier", "start": 7289, "end": 7295, "loc": { "start": { "line": 200, "column": 48 }, "end": { "line": 200, "column": 54 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 7297, "end": 7300, "loc": { "start": { "line": 200, "column": 56 }, "end": { "line": 200, "column": 59 } }, "operator": "++", "prefix": false, "argument": { "type": "Identifier", "start": 7297, "end": 7298, "loc": { "start": { "line": 200, "column": 56 }, "end": { "line": 200, "column": 57 }, "identifierName": "i" }, "name": "i" } }, "body": { "type": "BlockStatement", "start": 7302, "end": 7413, "loc": { "start": { "line": 200, "column": 61 }, "end": { "line": 204, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 7317, "end": 7402, "loc": { "start": { "line": 201, "column": 12 }, "end": { "line": 203, "column": 13 } }, "test": { "type": "CallExpression", "start": 7321, "end": 7354, "loc": { "start": { "line": 201, "column": 16 }, "end": { "line": 201, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 7321, "end": 7343, "loc": { "start": { "line": 201, "column": 16 }, "end": { "line": 201, "column": 38 } }, "object": { "type": "MemberExpression", "start": 7321, "end": 7340, "loc": { "start": { "line": 201, "column": 16 }, "end": { "line": 201, "column": 35 } }, "object": { "type": "Identifier", "start": 7321, "end": 7329, "loc": { "start": { "line": 201, "column": 16 }, "end": { "line": 201, "column": 24 }, "identifierName": "MapChunk" }, "name": "MapChunk" }, "property": { "type": "Identifier", "start": 7330, "end": 7340, "loc": { "start": { "line": 201, "column": 25 }, "end": { "line": 201, "column": 35 }, "identifierName": "predefined" }, "name": "predefined" }, "computed": false }, "property": { "type": "Identifier", "start": 7341, "end": 7342, "loc": { "start": { "line": 201, "column": 36 }, "end": { "line": 201, "column": 37 }, "identifierName": "i" }, "name": "i" }, "computed": true }, "arguments": [ { "type": "ThisExpression", "start": 7344, "end": 7348, "loc": { "start": { "line": 201, "column": 39 }, "end": { "line": 201, "column": 43 } } }, { "type": "Identifier", "start": 7350, "end": 7353, "loc": { "start": { "line": 201, "column": 45 }, "end": { "line": 201, "column": 48 }, "identifierName": "rng" }, "name": "rng" } ] }, "consequent": { "type": "BlockStatement", "start": 7356, "end": 7402, "loc": { "start": { "line": 201, "column": 51 }, "end": { "line": 203, "column": 13 } }, "body": [ { "type": "ReturnStatement", "start": 7375, "end": 7387, "loc": { "start": { "line": 202, "column": 16 }, "end": { "line": 202, "column": 28 } }, "argument": { "type": "BooleanLiteral", "start": 7382, "end": 7386, "loc": { "start": { "line": 202, "column": 23 }, "end": { "line": 202, "column": 27 } }, "value": true } } ], "directives": [] }, "alternate": null } ], "directives": [] } }, { "type": "ReturnStatement", "start": 7423, "end": 7436, "loc": { "start": { "line": 205, "column": 8 }, "end": { "line": 205, "column": 21 } }, "argument": { "type": "BooleanLiteral", "start": 7430, "end": 7435, "loc": { "start": { "line": 205, "column": 15 }, "end": { "line": 205, "column": 20 } }, "value": false } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Checks if this chunk has predefined contents, and if so returns true and generates the\r\n * predefined contents\r\n * @param {RandomNumberGenerator} rng\r\n * @returns {boolean}\r\n ", "start": 7003, "end": 7208, "loc": { "start": { "line": 193, "column": 4 }, "end": { "line": 198, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n *\r\n * @param {number} worldX\r\n * @param {number} worldY\r\n * @returns {BaseItem=}\r\n ", "start": 7451, "end": 7562, "loc": { "start": { "line": 208, "column": 4 }, "end": { "line": 213, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 7568, "end": 8026, "loc": { "start": { "line": 214, "column": 4 }, "end": { "line": 222, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 7568, "end": 7596, "loc": { "start": { "line": 214, "column": 4 }, "end": { "line": 214, "column": 32 }, "identifierName": "getLowerLayerFromWorldCoords" }, "name": "getLowerLayerFromWorldCoords", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 7597, "end": 7603, "loc": { "start": { "line": 214, "column": 33 }, "end": { "line": 214, "column": 39 }, "identifierName": "worldX" }, "name": "worldX" }, { "type": "Identifier", "start": 7605, "end": 7611, "loc": { "start": { "line": 214, "column": 41 }, "end": { "line": 214, "column": 47 }, "identifierName": "worldY" }, "name": "worldY" } ], "body": { "type": "BlockStatement", "start": 7613, "end": 8026, "loc": { "start": { "line": 214, "column": 49 }, "end": { "line": 222, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 7624, "end": 7659, "loc": { "start": { "line": 215, "column": 8 }, "end": { "line": 215, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", "start": 7630, "end": 7658, "loc": { "start": { "line": 215, "column": 14 }, "end": { "line": 215, "column": 42 } }, "id": { "type": "Identifier", "start": 7630, "end": 7636, "loc": { "start": { "line": 215, "column": 14 }, "end": { "line": 215, "column": 20 }, "identifierName": "localX" }, "name": "localX" }, "init": { "type": "BinaryExpression", "start": 7639, "end": 7658, "loc": { "start": { "line": 215, "column": 23 }, "end": { "line": 215, "column": 42 } }, "left": { "type": "Identifier", "start": 7639, "end": 7645, "loc": { "start": { "line": 215, "column": 23 }, "end": { "line": 215, "column": 29 }, "identifierName": "worldX" }, "name": "worldX" }, "operator": "-", "right": { "type": "MemberExpression", "start": 7648, "end": 7658, "loc": { "start": { "line": 215, "column": 32 }, "end": { "line": 215, "column": 42 } }, "object": { "type": "ThisExpression", "start": 7648, "end": 7652, "loc": { "start": { "line": 215, "column": 32 }, "end": { "line": 215, "column": 36 } } }, "property": { "type": "Identifier", "start": 7653, "end": 7658, "loc": { "start": { "line": 215, "column": 37 }, "end": { "line": 215, "column": 42 }, "identifierName": "tileX" }, "name": "tileX" }, "computed": false } } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 7669, "end": 7704, "loc": { "start": { "line": 216, "column": 8 }, "end": { "line": 216, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", "start": 7675, "end": 7703, "loc": { "start": { "line": 216, "column": 14 }, "end": { "line": 216, "column": 42 } }, "id": { "type": "Identifier", "start": 7675, "end": 7681, "loc": { "start": { "line": 216, "column": 14 }, "end": { "line": 216, "column": 20 }, "identifierName": "localY" }, "name": "localY" }, "init": { "type": "BinaryExpression", "start": 7684, "end": 7703, "loc": { "start": { "line": 216, "column": 23 }, "end": { "line": 216, "column": 42 } }, "left": { "type": "Identifier", "start": 7684, "end": 7690, "loc": { "start": { "line": 216, "column": 23 }, "end": { "line": 216, "column": 29 }, "identifierName": "worldY" }, "name": "worldY" }, "operator": "-", "right": { "type": "MemberExpression", "start": 7693, "end": 7703, "loc": { "start": { "line": 216, "column": 32 }, "end": { "line": 216, "column": 42 } }, "object": { "type": "ThisExpression", "start": 7693, "end": 7697, "loc": { "start": { "line": 216, "column": 32 }, "end": { "line": 216, "column": 36 } } }, "property": { "type": "Identifier", "start": 7698, "end": 7703, "loc": { "start": { "line": 216, "column": 37 }, "end": { "line": 216, "column": 42 }, "identifierName": "tileY" }, "name": "tileY" }, "computed": false } } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 7714, "end": 7752, "loc": { "start": { "line": 217, "column": 8 }, "end": { "line": 217, "column": 46 } }, "expression": { "type": "CallExpression", "start": 7714, "end": 7751, "loc": { "start": { "line": 217, "column": 8 }, "end": { "line": 217, "column": 45 } }, "callee": { "type": "Identifier", "start": 7714, "end": 7720, "loc": { "start": { "line": 217, "column": 8 }, "end": { "line": 217, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BinaryExpression", "start": 7721, "end": 7732, "loc": { "start": { "line": 217, "column": 15 }, "end": { "line": 217, "column": 26 } }, "left": { "type": "Identifier", "start": 7721, "end": 7727, "loc": { "start": { "line": 217, "column": 15 }, "end": { "line": 217, "column": 21 }, "identifierName": "localX" }, "name": "localX" }, "operator": ">=", "right": { "type": "NumericLiteral", "start": 7731, "end": 7732, "loc": { "start": { "line": 217, "column": 25 }, "end": { "line": 217, "column": 26 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, { "type": "StringLiteral", "start": 7734, "end": 7750, "loc": { "start": { "line": 217, "column": 28 }, "end": { "line": 217, "column": 44 } }, "extra": { "rawValue": "Local X is < 0", "raw": "\"Local X is < 0\"" }, "value": "Local X is < 0" } ] } }, { "type": "ExpressionStatement", "start": 7762, "end": 7800, "loc": { "start": { "line": 218, "column": 8 }, "end": { "line": 218, "column": 46 } }, "expression": { "type": "CallExpression", "start": 7762, "end": 7799, "loc": { "start": { "line": 218, "column": 8 }, "end": { "line": 218, "column": 45 } }, "callee": { "type": "Identifier", "start": 7762, "end": 7768, "loc": { "start": { "line": 218, "column": 8 }, "end": { "line": 218, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BinaryExpression", "start": 7769, "end": 7780, "loc": { "start": { "line": 218, "column": 15 }, "end": { "line": 218, "column": 26 } }, "left": { "type": "Identifier", "start": 7769, "end": 7775, "loc": { "start": { "line": 218, "column": 15 }, "end": { "line": 218, "column": 21 }, "identifierName": "localY" }, "name": "localY" }, "operator": ">=", "right": { "type": "NumericLiteral", "start": 7779, "end": 7780, "loc": { "start": { "line": 218, "column": 25 }, "end": { "line": 218, "column": 26 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, { "type": "StringLiteral", "start": 7782, "end": 7798, "loc": { "start": { "line": 218, "column": 28 }, "end": { "line": 218, "column": 44 } }, "extra": { "rawValue": "Local Y is < 0", "raw": "\"Local Y is < 0\"" }, "value": "Local Y is < 0" } ] } }, { "type": "ExpressionStatement", "start": 7810, "end": 7881, "loc": { "start": { "line": 219, "column": 8 }, "end": { "line": 219, "column": 79 } }, "expression": { "type": "CallExpression", "start": 7810, "end": 7880, "loc": { "start": { "line": 219, "column": 8 }, "end": { "line": 219, "column": 78 } }, "callee": { "type": "Identifier", "start": 7810, "end": 7816, "loc": { "start": { "line": 219, "column": 8 }, "end": { "line": 219, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BinaryExpression", "start": 7817, "end": 7851, "loc": { "start": { "line": 219, "column": 15 }, "end": { "line": 219, "column": 49 } }, "left": { "type": "Identifier", "start": 7817, "end": 7823, "loc": { "start": { "line": 219, "column": 15 }, "end": { "line": 219, "column": 21 }, "identifierName": "localX" }, "name": "localX" }, "operator": "<", "right": { "type": "MemberExpression", "start": 7826, "end": 7851, "loc": { "start": { "line": 219, "column": 24 }, "end": { "line": 219, "column": 49 } }, "object": { "type": "Identifier", "start": 7826, "end": 7838, "loc": { "start": { "line": 219, "column": 24 }, "end": { "line": 219, "column": 36 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 7839, "end": 7851, "loc": { "start": { "line": 219, "column": 37 }, "end": { "line": 219, "column": 49 }, "identifierName": "mapChunkSize" }, "name": "mapChunkSize" }, "computed": false } }, { "type": "StringLiteral", "start": 7853, "end": 7879, "loc": { "start": { "line": 219, "column": 51 }, "end": { "line": 219, "column": 77 } }, "extra": { "rawValue": "Local X is >= chunk size", "raw": "\"Local X is >= chunk size\"" }, "value": "Local X is >= chunk size" } ] } }, { "type": "ExpressionStatement", "start": 7891, "end": 7962, "loc": { "start": { "line": 220, "column": 8 }, "end": { "line": 220, "column": 79 } }, "expression": { "type": "CallExpression", "start": 7891, "end": 7961, "loc": { "start": { "line": 220, "column": 8 }, "end": { "line": 220, "column": 78 } }, "callee": { "type": "Identifier", "start": 7891, "end": 7897, "loc": { "start": { "line": 220, "column": 8 }, "end": { "line": 220, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BinaryExpression", "start": 7898, "end": 7932, "loc": { "start": { "line": 220, "column": 15 }, "end": { "line": 220, "column": 49 } }, "left": { "type": "Identifier", "start": 7898, "end": 7904, "loc": { "start": { "line": 220, "column": 15 }, "end": { "line": 220, "column": 21 }, "identifierName": "localY" }, "name": "localY" }, "operator": "<", "right": { "type": "MemberExpression", "start": 7907, "end": 7932, "loc": { "start": { "line": 220, "column": 24 }, "end": { "line": 220, "column": 49 } }, "object": { "type": "Identifier", "start": 7907, "end": 7919, "loc": { "start": { "line": 220, "column": 24 }, "end": { "line": 220, "column": 36 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 7920, "end": 7932, "loc": { "start": { "line": 220, "column": 37 }, "end": { "line": 220, "column": 49 }, "identifierName": "mapChunkSize" }, "name": "mapChunkSize" }, "computed": false } }, { "type": "StringLiteral", "start": 7934, "end": 7960, "loc": { "start": { "line": 220, "column": 51 }, "end": { "line": 220, "column": 77 } }, "extra": { "rawValue": "Local Y is >= chunk size", "raw": "\"Local Y is >= chunk size\"" }, "value": "Local Y is >= chunk size" } ] } }, { "type": "ReturnStatement", "start": 7972, "end": 8019, "loc": { "start": { "line": 221, "column": 8 }, "end": { "line": 221, "column": 55 } }, "argument": { "type": "LogicalExpression", "start": 7979, "end": 8018, "loc": { "start": { "line": 221, "column": 15 }, "end": { "line": 221, "column": 54 } }, "left": { "type": "MemberExpression", "start": 7979, "end": 8010, "loc": { "start": { "line": 221, "column": 15 }, "end": { "line": 221, "column": 46 } }, "object": { "type": "MemberExpression", "start": 7979, "end": 8002, "loc": { "start": { "line": 221, "column": 15 }, "end": { "line": 221, "column": 38 } }, "object": { "type": "MemberExpression", "start": 7979, "end": 7994, "loc": { "start": { "line": 221, "column": 15 }, "end": { "line": 221, "column": 30 } }, "object": { "type": "ThisExpression", "start": 7979, "end": 7983, "loc": { "start": { "line": 221, "column": 15 }, "end": { "line": 221, "column": 19 } } }, "property": { "type": "Identifier", "start": 7984, "end": 7994, "loc": { "start": { "line": 221, "column": 20 }, "end": { "line": 221, "column": 30 }, "identifierName": "lowerLayer" }, "name": "lowerLayer" }, "computed": false }, "property": { "type": "Identifier", "start": 7995, "end": 8001, "loc": { "start": { "line": 221, "column": 31 }, "end": { "line": 221, "column": 37 }, "identifierName": "localX" }, "name": "localX" }, "computed": true }, "property": { "type": "Identifier", "start": 8003, "end": 8009, "loc": { "start": { "line": 221, "column": 39 }, "end": { "line": 221, "column": 45 }, "identifierName": "localY" }, "name": "localY" }, "computed": true }, "operator": "||", "right": { "type": "NullLiteral", "start": 8014, "end": 8018, "loc": { "start": { "line": 221, "column": 50 }, "end": { "line": 221, "column": 54 } } } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n *\r\n * @param {number} worldX\r\n * @param {number} worldY\r\n * @returns {BaseItem=}\r\n ", "start": 7451, "end": 7562, "loc": { "start": { "line": 208, "column": 4 }, "end": { "line": 213, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns the contents of this chunk from the given world space coordinates\r\n * @param {number} worldX\r\n * @param {number} worldY\r\n * @returns {Entity=}\r\n ", "start": 8034, "end": 8217, "loc": { "start": { "line": 224, "column": 4 }, "end": { "line": 229, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 8223, "end": 8680, "loc": { "start": { "line": 230, "column": 4 }, "end": { "line": 238, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 8223, "end": 8252, "loc": { "start": { "line": 230, "column": 4 }, "end": { "line": 230, "column": 33 }, "identifierName": "getTileContentFromWorldCoords" }, "name": "getTileContentFromWorldCoords", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 8253, "end": 8259, "loc": { "start": { "line": 230, "column": 34 }, "end": { "line": 230, "column": 40 }, "identifierName": "worldX" }, "name": "worldX" }, { "type": "Identifier", "start": 8261, "end": 8267, "loc": { "start": { "line": 230, "column": 42 }, "end": { "line": 230, "column": 48 }, "identifierName": "worldY" }, "name": "worldY" } ], "body": { "type": "BlockStatement", "start": 8269, "end": 8680, "loc": { "start": { "line": 230, "column": 50 }, "end": { "line": 238, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 8280, "end": 8315, "loc": { "start": { "line": 231, "column": 8 }, "end": { "line": 231, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", "start": 8286, "end": 8314, "loc": { "start": { "line": 231, "column": 14 }, "end": { "line": 231, "column": 42 } }, "id": { "type": "Identifier", "start": 8286, "end": 8292, "loc": { "start": { "line": 231, "column": 14 }, "end": { "line": 231, "column": 20 }, "identifierName": "localX" }, "name": "localX" }, "init": { "type": "BinaryExpression", "start": 8295, "end": 8314, "loc": { "start": { "line": 231, "column": 23 }, "end": { "line": 231, "column": 42 } }, "left": { "type": "Identifier", "start": 8295, "end": 8301, "loc": { "start": { "line": 231, "column": 23 }, "end": { "line": 231, "column": 29 }, "identifierName": "worldX" }, "name": "worldX" }, "operator": "-", "right": { "type": "MemberExpression", "start": 8304, "end": 8314, "loc": { "start": { "line": 231, "column": 32 }, "end": { "line": 231, "column": 42 } }, "object": { "type": "ThisExpression", "start": 8304, "end": 8308, "loc": { "start": { "line": 231, "column": 32 }, "end": { "line": 231, "column": 36 } } }, "property": { "type": "Identifier", "start": 8309, "end": 8314, "loc": { "start": { "line": 231, "column": 37 }, "end": { "line": 231, "column": 42 }, "identifierName": "tileX" }, "name": "tileX" }, "computed": false } } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 8325, "end": 8360, "loc": { "start": { "line": 232, "column": 8 }, "end": { "line": 232, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", "start": 8331, "end": 8359, "loc": { "start": { "line": 232, "column": 14 }, "end": { "line": 232, "column": 42 } }, "id": { "type": "Identifier", "start": 8331, "end": 8337, "loc": { "start": { "line": 232, "column": 14 }, "end": { "line": 232, "column": 20 }, "identifierName": "localY" }, "name": "localY" }, "init": { "type": "BinaryExpression", "start": 8340, "end": 8359, "loc": { "start": { "line": 232, "column": 23 }, "end": { "line": 232, "column": 42 } }, "left": { "type": "Identifier", "start": 8340, "end": 8346, "loc": { "start": { "line": 232, "column": 23 }, "end": { "line": 232, "column": 29 }, "identifierName": "worldY" }, "name": "worldY" }, "operator": "-", "right": { "type": "MemberExpression", "start": 8349, "end": 8359, "loc": { "start": { "line": 232, "column": 32 }, "end": { "line": 232, "column": 42 } }, "object": { "type": "ThisExpression", "start": 8349, "end": 8353, "loc": { "start": { "line": 232, "column": 32 }, "end": { "line": 232, "column": 36 } } }, "property": { "type": "Identifier", "start": 8354, "end": 8359, "loc": { "start": { "line": 232, "column": 37 }, "end": { "line": 232, "column": 42 }, "identifierName": "tileY" }, "name": "tileY" }, "computed": false } } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 8370, "end": 8408, "loc": { "start": { "line": 233, "column": 8 }, "end": { "line": 233, "column": 46 } }, "expression": { "type": "CallExpression", "start": 8370, "end": 8407, "loc": { "start": { "line": 233, "column": 8 }, "end": { "line": 233, "column": 45 } }, "callee": { "type": "Identifier", "start": 8370, "end": 8376, "loc": { "start": { "line": 233, "column": 8 }, "end": { "line": 233, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BinaryExpression", "start": 8377, "end": 8388, "loc": { "start": { "line": 233, "column": 15 }, "end": { "line": 233, "column": 26 } }, "left": { "type": "Identifier", "start": 8377, "end": 8383, "loc": { "start": { "line": 233, "column": 15 }, "end": { "line": 233, "column": 21 }, "identifierName": "localX" }, "name": "localX" }, "operator": ">=", "right": { "type": "NumericLiteral", "start": 8387, "end": 8388, "loc": { "start": { "line": 233, "column": 25 }, "end": { "line": 233, "column": 26 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, { "type": "StringLiteral", "start": 8390, "end": 8406, "loc": { "start": { "line": 233, "column": 28 }, "end": { "line": 233, "column": 44 } }, "extra": { "rawValue": "Local X is < 0", "raw": "\"Local X is < 0\"" }, "value": "Local X is < 0" } ] } }, { "type": "ExpressionStatement", "start": 8418, "end": 8456, "loc": { "start": { "line": 234, "column": 8 }, "end": { "line": 234, "column": 46 } }, "expression": { "type": "CallExpression", "start": 8418, "end": 8455, "loc": { "start": { "line": 234, "column": 8 }, "end": { "line": 234, "column": 45 } }, "callee": { "type": "Identifier", "start": 8418, "end": 8424, "loc": { "start": { "line": 234, "column": 8 }, "end": { "line": 234, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BinaryExpression", "start": 8425, "end": 8436, "loc": { "start": { "line": 234, "column": 15 }, "end": { "line": 234, "column": 26 } }, "left": { "type": "Identifier", "start": 8425, "end": 8431, "loc": { "start": { "line": 234, "column": 15 }, "end": { "line": 234, "column": 21 }, "identifierName": "localY" }, "name": "localY" }, "operator": ">=", "right": { "type": "NumericLiteral", "start": 8435, "end": 8436, "loc": { "start": { "line": 234, "column": 25 }, "end": { "line": 234, "column": 26 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, { "type": "StringLiteral", "start": 8438, "end": 8454, "loc": { "start": { "line": 234, "column": 28 }, "end": { "line": 234, "column": 44 } }, "extra": { "rawValue": "Local Y is < 0", "raw": "\"Local Y is < 0\"" }, "value": "Local Y is < 0" } ] } }, { "type": "ExpressionStatement", "start": 8466, "end": 8537, "loc": { "start": { "line": 235, "column": 8 }, "end": { "line": 235, "column": 79 } }, "expression": { "type": "CallExpression", "start": 8466, "end": 8536, "loc": { "start": { "line": 235, "column": 8 }, "end": { "line": 235, "column": 78 } }, "callee": { "type": "Identifier", "start": 8466, "end": 8472, "loc": { "start": { "line": 235, "column": 8 }, "end": { "line": 235, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BinaryExpression", "start": 8473, "end": 8507, "loc": { "start": { "line": 235, "column": 15 }, "end": { "line": 235, "column": 49 } }, "left": { "type": "Identifier", "start": 8473, "end": 8479, "loc": { "start": { "line": 235, "column": 15 }, "end": { "line": 235, "column": 21 }, "identifierName": "localX" }, "name": "localX" }, "operator": "<", "right": { "type": "MemberExpression", "start": 8482, "end": 8507, "loc": { "start": { "line": 235, "column": 24 }, "end": { "line": 235, "column": 49 } }, "object": { "type": "Identifier", "start": 8482, "end": 8494, "loc": { "start": { "line": 235, "column": 24 }, "end": { "line": 235, "column": 36 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 8495, "end": 8507, "loc": { "start": { "line": 235, "column": 37 }, "end": { "line": 235, "column": 49 }, "identifierName": "mapChunkSize" }, "name": "mapChunkSize" }, "computed": false } }, { "type": "StringLiteral", "start": 8509, "end": 8535, "loc": { "start": { "line": 235, "column": 51 }, "end": { "line": 235, "column": 77 } }, "extra": { "rawValue": "Local X is >= chunk size", "raw": "\"Local X is >= chunk size\"" }, "value": "Local X is >= chunk size" } ] } }, { "type": "ExpressionStatement", "start": 8547, "end": 8618, "loc": { "start": { "line": 236, "column": 8 }, "end": { "line": 236, "column": 79 } }, "expression": { "type": "CallExpression", "start": 8547, "end": 8617, "loc": { "start": { "line": 236, "column": 8 }, "end": { "line": 236, "column": 78 } }, "callee": { "type": "Identifier", "start": 8547, "end": 8553, "loc": { "start": { "line": 236, "column": 8 }, "end": { "line": 236, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BinaryExpression", "start": 8554, "end": 8588, "loc": { "start": { "line": 236, "column": 15 }, "end": { "line": 236, "column": 49 } }, "left": { "type": "Identifier", "start": 8554, "end": 8560, "loc": { "start": { "line": 236, "column": 15 }, "end": { "line": 236, "column": 21 }, "identifierName": "localY" }, "name": "localY" }, "operator": "<", "right": { "type": "MemberExpression", "start": 8563, "end": 8588, "loc": { "start": { "line": 236, "column": 24 }, "end": { "line": 236, "column": 49 } }, "object": { "type": "Identifier", "start": 8563, "end": 8575, "loc": { "start": { "line": 236, "column": 24 }, "end": { "line": 236, "column": 36 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 8576, "end": 8588, "loc": { "start": { "line": 236, "column": 37 }, "end": { "line": 236, "column": 49 }, "identifierName": "mapChunkSize" }, "name": "mapChunkSize" }, "computed": false } }, { "type": "StringLiteral", "start": 8590, "end": 8616, "loc": { "start": { "line": 236, "column": 51 }, "end": { "line": 236, "column": 77 } }, "extra": { "rawValue": "Local Y is >= chunk size", "raw": "\"Local Y is >= chunk size\"" }, "value": "Local Y is >= chunk size" } ] } }, { "type": "ReturnStatement", "start": 8628, "end": 8673, "loc": { "start": { "line": 237, "column": 8 }, "end": { "line": 237, "column": 53 } }, "argument": { "type": "LogicalExpression", "start": 8635, "end": 8672, "loc": { "start": { "line": 237, "column": 15 }, "end": { "line": 237, "column": 52 } }, "left": { "type": "MemberExpression", "start": 8635, "end": 8664, "loc": { "start": { "line": 237, "column": 15 }, "end": { "line": 237, "column": 44 } }, "object": { "type": "MemberExpression", "start": 8635, "end": 8656, "loc": { "start": { "line": 237, "column": 15 }, "end": { "line": 237, "column": 36 } }, "object": { "type": "MemberExpression", "start": 8635, "end": 8648, "loc": { "start": { "line": 237, "column": 15 }, "end": { "line": 237, "column": 28 } }, "object": { "type": "ThisExpression", "start": 8635, "end": 8639, "loc": { "start": { "line": 237, "column": 15 }, "end": { "line": 237, "column": 19 } } }, "property": { "type": "Identifier", "start": 8640, "end": 8648, "loc": { "start": { "line": 237, "column": 20 }, "end": { "line": 237, "column": 28 }, "identifierName": "contents" }, "name": "contents" }, "computed": false }, "property": { "type": "Identifier", "start": 8649, "end": 8655, "loc": { "start": { "line": 237, "column": 29 }, "end": { "line": 237, "column": 35 }, "identifierName": "localX" }, "name": "localX" }, "computed": true }, "property": { "type": "Identifier", "start": 8657, "end": 8663, "loc": { "start": { "line": 237, "column": 37 }, "end": { "line": 237, "column": 43 }, "identifierName": "localY" }, "name": "localY" }, "computed": true }, "operator": "||", "right": { "type": "NullLiteral", "start": 8668, "end": 8672, "loc": { "start": { "line": 237, "column": 48 }, "end": { "line": 237, "column": 52 } } } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns the contents of this chunk from the given world space coordinates\r\n * @param {number} worldX\r\n * @param {number} worldY\r\n * @returns {Entity=}\r\n ", "start": 8034, "end": 8217, "loc": { "start": { "line": 224, "column": 4 }, "end": { "line": 229, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns the contents of this chunk from the given world space coordinates\r\n * @param {number} worldX\r\n * @param {number} worldY\r\n * @param {Layer} layer\r\n * @returns {Entity=}\r\n ", "start": 8688, "end": 8900, "loc": { "start": { "line": 240, "column": 4 }, "end": { "line": 246, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 8906, "end": 9656, "loc": { "start": { "line": 247, "column": 4 }, "end": { "line": 261, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 8906, "end": 8936, "loc": { "start": { "line": 247, "column": 4 }, "end": { "line": 247, "column": 34 }, "identifierName": "getLayerContentFromWorldCoords" }, "name": "getLayerContentFromWorldCoords", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 8937, "end": 8943, "loc": { "start": { "line": 247, "column": 35 }, "end": { "line": 247, "column": 41 }, "identifierName": "worldX" }, "name": "worldX" }, { "type": "Identifier", "start": 8945, "end": 8951, "loc": { "start": { "line": 247, "column": 43 }, "end": { "line": 247, "column": 49 }, "identifierName": "worldY" }, "name": "worldY" }, { "type": "Identifier", "start": 8953, "end": 8958, "loc": { "start": { "line": 247, "column": 51 }, "end": { "line": 247, "column": 56 }, "identifierName": "layer" }, "name": "layer" } ], "body": { "type": "BlockStatement", "start": 8960, "end": 9656, "loc": { "start": { "line": 247, "column": 58 }, "end": { "line": 261, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 8971, "end": 9006, "loc": { "start": { "line": 248, "column": 8 }, "end": { "line": 248, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", "start": 8977, "end": 9005, "loc": { "start": { "line": 248, "column": 14 }, "end": { "line": 248, "column": 42 } }, "id": { "type": "Identifier", "start": 8977, "end": 8983, "loc": { "start": { "line": 248, "column": 14 }, "end": { "line": 248, "column": 20 }, "identifierName": "localX" }, "name": "localX" }, "init": { "type": "BinaryExpression", "start": 8986, "end": 9005, "loc": { "start": { "line": 248, "column": 23 }, "end": { "line": 248, "column": 42 } }, "left": { "type": "Identifier", "start": 8986, "end": 8992, "loc": { "start": { "line": 248, "column": 23 }, "end": { "line": 248, "column": 29 }, "identifierName": "worldX" }, "name": "worldX" }, "operator": "-", "right": { "type": "MemberExpression", "start": 8995, "end": 9005, "loc": { "start": { "line": 248, "column": 32 }, "end": { "line": 248, "column": 42 } }, "object": { "type": "ThisExpression", "start": 8995, "end": 8999, "loc": { "start": { "line": 248, "column": 32 }, "end": { "line": 248, "column": 36 } } }, "property": { "type": "Identifier", "start": 9000, "end": 9005, "loc": { "start": { "line": 248, "column": 37 }, "end": { "line": 248, "column": 42 }, "identifierName": "tileX" }, "name": "tileX" }, "computed": false } } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 9016, "end": 9051, "loc": { "start": { "line": 249, "column": 8 }, "end": { "line": 249, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", "start": 9022, "end": 9050, "loc": { "start": { "line": 249, "column": 14 }, "end": { "line": 249, "column": 42 } }, "id": { "type": "Identifier", "start": 9022, "end": 9028, "loc": { "start": { "line": 249, "column": 14 }, "end": { "line": 249, "column": 20 }, "identifierName": "localY" }, "name": "localY" }, "init": { "type": "BinaryExpression", "start": 9031, "end": 9050, "loc": { "start": { "line": 249, "column": 23 }, "end": { "line": 249, "column": 42 } }, "left": { "type": "Identifier", "start": 9031, "end": 9037, "loc": { "start": { "line": 249, "column": 23 }, "end": { "line": 249, "column": 29 }, "identifierName": "worldY" }, "name": "worldY" }, "operator": "-", "right": { "type": "MemberExpression", "start": 9040, "end": 9050, "loc": { "start": { "line": 249, "column": 32 }, "end": { "line": 249, "column": 42 } }, "object": { "type": "ThisExpression", "start": 9040, "end": 9044, "loc": { "start": { "line": 249, "column": 32 }, "end": { "line": 249, "column": 36 } } }, "property": { "type": "Identifier", "start": 9045, "end": 9050, "loc": { "start": { "line": 249, "column": 37 }, "end": { "line": 249, "column": 42 }, "identifierName": "tileY" }, "name": "tileY" }, "computed": false } } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 9061, "end": 9099, "loc": { "start": { "line": 250, "column": 8 }, "end": { "line": 250, "column": 46 } }, "expression": { "type": "CallExpression", "start": 9061, "end": 9098, "loc": { "start": { "line": 250, "column": 8 }, "end": { "line": 250, "column": 45 } }, "callee": { "type": "Identifier", "start": 9061, "end": 9067, "loc": { "start": { "line": 250, "column": 8 }, "end": { "line": 250, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BinaryExpression", "start": 9068, "end": 9079, "loc": { "start": { "line": 250, "column": 15 }, "end": { "line": 250, "column": 26 } }, "left": { "type": "Identifier", "start": 9068, "end": 9074, "loc": { "start": { "line": 250, "column": 15 }, "end": { "line": 250, "column": 21 }, "identifierName": "localX" }, "name": "localX" }, "operator": ">=", "right": { "type": "NumericLiteral", "start": 9078, "end": 9079, "loc": { "start": { "line": 250, "column": 25 }, "end": { "line": 250, "column": 26 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, { "type": "StringLiteral", "start": 9081, "end": 9097, "loc": { "start": { "line": 250, "column": 28 }, "end": { "line": 250, "column": 44 } }, "extra": { "rawValue": "Local X is < 0", "raw": "\"Local X is < 0\"" }, "value": "Local X is < 0" } ] } }, { "type": "ExpressionStatement", "start": 9109, "end": 9147, "loc": { "start": { "line": 251, "column": 8 }, "end": { "line": 251, "column": 46 } }, "expression": { "type": "CallExpression", "start": 9109, "end": 9146, "loc": { "start": { "line": 251, "column": 8 }, "end": { "line": 251, "column": 45 } }, "callee": { "type": "Identifier", "start": 9109, "end": 9115, "loc": { "start": { "line": 251, "column": 8 }, "end": { "line": 251, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BinaryExpression", "start": 9116, "end": 9127, "loc": { "start": { "line": 251, "column": 15 }, "end": { "line": 251, "column": 26 } }, "left": { "type": "Identifier", "start": 9116, "end": 9122, "loc": { "start": { "line": 251, "column": 15 }, "end": { "line": 251, "column": 21 }, "identifierName": "localY" }, "name": "localY" }, "operator": ">=", "right": { "type": "NumericLiteral", "start": 9126, "end": 9127, "loc": { "start": { "line": 251, "column": 25 }, "end": { "line": 251, "column": 26 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, { "type": "StringLiteral", "start": 9129, "end": 9145, "loc": { "start": { "line": 251, "column": 28 }, "end": { "line": 251, "column": 44 } }, "extra": { "rawValue": "Local Y is < 0", "raw": "\"Local Y is < 0\"" }, "value": "Local Y is < 0" } ] } }, { "type": "ExpressionStatement", "start": 9157, "end": 9228, "loc": { "start": { "line": 252, "column": 8 }, "end": { "line": 252, "column": 79 } }, "expression": { "type": "CallExpression", "start": 9157, "end": 9227, "loc": { "start": { "line": 252, "column": 8 }, "end": { "line": 252, "column": 78 } }, "callee": { "type": "Identifier", "start": 9157, "end": 9163, "loc": { "start": { "line": 252, "column": 8 }, "end": { "line": 252, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BinaryExpression", "start": 9164, "end": 9198, "loc": { "start": { "line": 252, "column": 15 }, "end": { "line": 252, "column": 49 } }, "left": { "type": "Identifier", "start": 9164, "end": 9170, "loc": { "start": { "line": 252, "column": 15 }, "end": { "line": 252, "column": 21 }, "identifierName": "localX" }, "name": "localX" }, "operator": "<", "right": { "type": "MemberExpression", "start": 9173, "end": 9198, "loc": { "start": { "line": 252, "column": 24 }, "end": { "line": 252, "column": 49 } }, "object": { "type": "Identifier", "start": 9173, "end": 9185, "loc": { "start": { "line": 252, "column": 24 }, "end": { "line": 252, "column": 36 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 9186, "end": 9198, "loc": { "start": { "line": 252, "column": 37 }, "end": { "line": 252, "column": 49 }, "identifierName": "mapChunkSize" }, "name": "mapChunkSize" }, "computed": false } }, { "type": "StringLiteral", "start": 9200, "end": 9226, "loc": { "start": { "line": 252, "column": 51 }, "end": { "line": 252, "column": 77 } }, "extra": { "rawValue": "Local X is >= chunk size", "raw": "\"Local X is >= chunk size\"" }, "value": "Local X is >= chunk size" } ] } }, { "type": "ExpressionStatement", "start": 9238, "end": 9309, "loc": { "start": { "line": 253, "column": 8 }, "end": { "line": 253, "column": 79 } }, "expression": { "type": "CallExpression", "start": 9238, "end": 9308, "loc": { "start": { "line": 253, "column": 8 }, "end": { "line": 253, "column": 78 } }, "callee": { "type": "Identifier", "start": 9238, "end": 9244, "loc": { "start": { "line": 253, "column": 8 }, "end": { "line": 253, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BinaryExpression", "start": 9245, "end": 9279, "loc": { "start": { "line": 253, "column": 15 }, "end": { "line": 253, "column": 49 } }, "left": { "type": "Identifier", "start": 9245, "end": 9251, "loc": { "start": { "line": 253, "column": 15 }, "end": { "line": 253, "column": 21 }, "identifierName": "localY" }, "name": "localY" }, "operator": "<", "right": { "type": "MemberExpression", "start": 9254, "end": 9279, "loc": { "start": { "line": 253, "column": 24 }, "end": { "line": 253, "column": 49 } }, "object": { "type": "Identifier", "start": 9254, "end": 9266, "loc": { "start": { "line": 253, "column": 24 }, "end": { "line": 253, "column": 36 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 9267, "end": 9279, "loc": { "start": { "line": 253, "column": 37 }, "end": { "line": 253, "column": 49 }, "identifierName": "mapChunkSize" }, "name": "mapChunkSize" }, "computed": false } }, { "type": "StringLiteral", "start": 9281, "end": 9307, "loc": { "start": { "line": 253, "column": 51 }, "end": { "line": 253, "column": 77 } }, "extra": { "rawValue": "Local Y is >= chunk size", "raw": "\"Local Y is >= chunk size\"" }, "value": "Local Y is >= chunk size" } ] } }, { "type": "IfStatement", "start": 9319, "end": 9649, "loc": { "start": { "line": 254, "column": 8 }, "end": { "line": 260, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 9323, "end": 9342, "loc": { "start": { "line": 254, "column": 12 }, "end": { "line": 254, "column": 31 } }, "left": { "type": "Identifier", "start": 9323, "end": 9328, "loc": { "start": { "line": 254, "column": 12 }, "end": { "line": 254, "column": 17 }, "identifierName": "layer" }, "name": "layer" }, "operator": "===", "right": { "type": "StringLiteral", "start": 9333, "end": 9342, "loc": { "start": { "line": 254, "column": 22 }, "end": { "line": 254, "column": 31 } }, "extra": { "rawValue": "regular", "raw": "\"regular\"" }, "value": "regular" } }, "consequent": { "type": "BlockStatement", "start": 9344, "end": 9415, "loc": { "start": { "line": 254, "column": 33 }, "end": { "line": 256, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 9359, "end": 9404, "loc": { "start": { "line": 255, "column": 12 }, "end": { "line": 255, "column": 57 } }, "argument": { "type": "LogicalExpression", "start": 9366, "end": 9403, "loc": { "start": { "line": 255, "column": 19 }, "end": { "line": 255, "column": 56 } }, "left": { "type": "MemberExpression", "start": 9366, "end": 9395, "loc": { "start": { "line": 255, "column": 19 }, "end": { "line": 255, "column": 48 } }, "object": { "type": "MemberExpression", "start": 9366, "end": 9387, "loc": { "start": { "line": 255, "column": 19 }, "end": { "line": 255, "column": 40 } }, "object": { "type": "MemberExpression", "start": 9366, "end": 9379, "loc": { "start": { "line": 255, "column": 19 }, "end": { "line": 255, "column": 32 } }, "object": { "type": "ThisExpression", "start": 9366, "end": 9370, "loc": { "start": { "line": 255, "column": 19 }, "end": { "line": 255, "column": 23 } } }, "property": { "type": "Identifier", "start": 9371, "end": 9379, "loc": { "start": { "line": 255, "column": 24 }, "end": { "line": 255, "column": 32 }, "identifierName": "contents" }, "name": "contents" }, "computed": false }, "property": { "type": "Identifier", "start": 9380, "end": 9386, "loc": { "start": { "line": 255, "column": 33 }, "end": { "line": 255, "column": 39 }, "identifierName": "localX" }, "name": "localX" }, "computed": true }, "property": { "type": "Identifier", "start": 9388, "end": 9394, "loc": { "start": { "line": 255, "column": 41 }, "end": { "line": 255, "column": 47 }, "identifierName": "localY" }, "name": "localY" }, "computed": true }, "operator": "||", "right": { "type": "NullLiteral", "start": 9399, "end": 9403, "loc": { "start": { "line": 255, "column": 52 }, "end": { "line": 255, "column": 56 } } } } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 9421, "end": 9649, "loc": { "start": { "line": 256, "column": 15 }, "end": { "line": 260, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 9425, "end": 9442, "loc": { "start": { "line": 256, "column": 19 }, "end": { "line": 256, "column": 36 } }, "left": { "type": "Identifier", "start": 9425, "end": 9430, "loc": { "start": { "line": 256, "column": 19 }, "end": { "line": 256, "column": 24 }, "identifierName": "layer" }, "name": "layer" }, "operator": "===", "right": { "type": "StringLiteral", "start": 9435, "end": 9442, "loc": { "start": { "line": 256, "column": 29 }, "end": { "line": 256, "column": 36 } }, "extra": { "rawValue": "wires", "raw": "\"wires\"" }, "value": "wires" } }, "consequent": { "type": "BlockStatement", "start": 9444, "end": 9519, "loc": { "start": { "line": 256, "column": 38 }, "end": { "line": 258, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 9459, "end": 9508, "loc": { "start": { "line": 257, "column": 12 }, "end": { "line": 257, "column": 61 } }, "argument": { "type": "LogicalExpression", "start": 9466, "end": 9507, "loc": { "start": { "line": 257, "column": 19 }, "end": { "line": 257, "column": 60 } }, "left": { "type": "MemberExpression", "start": 9466, "end": 9499, "loc": { "start": { "line": 257, "column": 19 }, "end": { "line": 257, "column": 52 } }, "object": { "type": "MemberExpression", "start": 9466, "end": 9491, "loc": { "start": { "line": 257, "column": 19 }, "end": { "line": 257, "column": 44 } }, "object": { "type": "MemberExpression", "start": 9466, "end": 9483, "loc": { "start": { "line": 257, "column": 19 }, "end": { "line": 257, "column": 36 } }, "object": { "type": "ThisExpression", "start": 9466, "end": 9470, "loc": { "start": { "line": 257, "column": 19 }, "end": { "line": 257, "column": 23 } } }, "property": { "type": "Identifier", "start": 9471, "end": 9483, "loc": { "start": { "line": 257, "column": 24 }, "end": { "line": 257, "column": 36 }, "identifierName": "wireContents" }, "name": "wireContents" }, "computed": false }, "property": { "type": "Identifier", "start": 9484, "end": 9490, "loc": { "start": { "line": 257, "column": 37 }, "end": { "line": 257, "column": 43 }, "identifierName": "localX" }, "name": "localX" }, "computed": true }, "property": { "type": "Identifier", "start": 9492, "end": 9498, "loc": { "start": { "line": 257, "column": 45 }, "end": { "line": 257, "column": 51 }, "identifierName": "localY" }, "name": "localY" }, "computed": true }, "operator": "||", "right": { "type": "NullLiteral", "start": 9503, "end": 9507, "loc": { "start": { "line": 257, "column": 56 }, "end": { "line": 257, "column": 60 } } } } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 9525, "end": 9649, "loc": { "start": { "line": 258, "column": 15 }, "end": { "line": 260, "column": 9 } }, "test": { "type": "CallExpression", "start": 9529, "end": 9559, "loc": { "start": { "line": 258, "column": 19 }, "end": { "line": 258, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 9529, "end": 9552, "loc": { "start": { "line": 258, "column": 19 }, "end": { "line": 258, "column": 42 } }, "object": { "type": "MemberExpression", "start": 9529, "end": 9548, "loc": { "start": { "line": 258, "column": 19 }, "end": { "line": 258, "column": 38 } }, "object": { "type": "ThisExpression", "start": 9529, "end": 9533, "loc": { "start": { "line": 258, "column": 19 }, "end": { "line": 258, "column": 23 } } }, "property": { "type": "Identifier", "start": 9534, "end": 9548, "loc": { "start": { "line": 258, "column": 24 }, "end": { "line": 258, "column": 38 }, "identifierName": "layersContents" }, "name": "layersContents" }, "computed": false }, "property": { "type": "Identifier", "start": 9549, "end": 9552, "loc": { "start": { "line": 258, "column": 39 }, "end": { "line": 258, "column": 42 }, "identifierName": "has" }, "name": "has" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 9553, "end": 9558, "loc": { "start": { "line": 258, "column": 43 }, "end": { "line": 258, "column": 48 }, "identifierName": "layer" }, "name": "layer" } ] }, "consequent": { "type": "BlockStatement", "start": 9561, "end": 9649, "loc": { "start": { "line": 258, "column": 51 }, "end": { "line": 260, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 9576, "end": 9638, "loc": { "start": { "line": 259, "column": 12 }, "end": { "line": 259, "column": 74 } }, "argument": { "type": "LogicalExpression", "start": 9583, "end": 9637, "loc": { "start": { "line": 259, "column": 19 }, "end": { "line": 259, "column": 73 } }, "left": { "type": "MemberExpression", "start": 9583, "end": 9629, "loc": { "start": { "line": 259, "column": 19 }, "end": { "line": 259, "column": 65 } }, "object": { "type": "MemberExpression", "start": 9583, "end": 9621, "loc": { "start": { "line": 259, "column": 19 }, "end": { "line": 259, "column": 57 } }, "object": { "type": "CallExpression", "start": 9583, "end": 9613, "loc": { "start": { "line": 259, "column": 19 }, "end": { "line": 259, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 9583, "end": 9606, "loc": { "start": { "line": 259, "column": 19 }, "end": { "line": 259, "column": 42 } }, "object": { "type": "MemberExpression", "start": 9583, "end": 9602, "loc": { "start": { "line": 259, "column": 19 }, "end": { "line": 259, "column": 38 } }, "object": { "type": "ThisExpression", "start": 9583, "end": 9587, "loc": { "start": { "line": 259, "column": 19 }, "end": { "line": 259, "column": 23 } } }, "property": { "type": "Identifier", "start": 9588, "end": 9602, "loc": { "start": { "line": 259, "column": 24 }, "end": { "line": 259, "column": 38 }, "identifierName": "layersContents" }, "name": "layersContents" }, "computed": false }, "property": { "type": "Identifier", "start": 9603, "end": 9606, "loc": { "start": { "line": 259, "column": 39 }, "end": { "line": 259, "column": 42 }, "identifierName": "get" }, "name": "get" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 9607, "end": 9612, "loc": { "start": { "line": 259, "column": 43 }, "end": { "line": 259, "column": 48 }, "identifierName": "layer" }, "name": "layer" } ] }, "property": { "type": "Identifier", "start": 9614, "end": 9620, "loc": { "start": { "line": 259, "column": 50 }, "end": { "line": 259, "column": 56 }, "identifierName": "localX" }, "name": "localX" }, "computed": true }, "property": { "type": "Identifier", "start": 9622, "end": 9628, "loc": { "start": { "line": 259, "column": 58 }, "end": { "line": 259, "column": 64 }, "identifierName": "localY" }, "name": "localY" }, "computed": true }, "operator": "||", "right": { "type": "NullLiteral", "start": 9633, "end": 9637, "loc": { "start": { "line": 259, "column": 69 }, "end": { "line": 259, "column": 73 } } } } } ], "directives": [] }, "alternate": null } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns the contents of this chunk from the given world space coordinates\r\n * @param {number} worldX\r\n * @param {number} worldY\r\n * @param {Layer} layer\r\n * @returns {Entity=}\r\n ", "start": 8688, "end": 8900, "loc": { "start": { "line": 240, "column": 4 }, "end": { "line": 246, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns the contents of this chunk from the given world space coordinates\r\n * @param {number} worldX\r\n * @param {number} worldY\r\n * @returns {Array}\r\n ", "start": 9664, "end": 9853, "loc": { "start": { "line": 263, "column": 4 }, "end": { "line": 268, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 9859, "end": 10803, "loc": { "start": { "line": 269, "column": 4 }, "end": { "line": 295, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 9859, "end": 9899, "loc": { "start": { "line": 269, "column": 4 }, "end": { "line": 269, "column": 44 }, "identifierName": "getLayersContentsMultipleFromWorldCoords" }, "name": "getLayersContentsMultipleFromWorldCoords", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 9900, "end": 9906, "loc": { "start": { "line": 269, "column": 45 }, "end": { "line": 269, "column": 51 }, "identifierName": "worldX" }, "name": "worldX" }, { "type": "Identifier", "start": 9908, "end": 9914, "loc": { "start": { "line": 269, "column": 53 }, "end": { "line": 269, "column": 59 }, "identifierName": "worldY" }, "name": "worldY" } ], "body": { "type": "BlockStatement", "start": 9916, "end": 10803, "loc": { "start": { "line": 269, "column": 61 }, "end": { "line": 295, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 9927, "end": 9962, "loc": { "start": { "line": 270, "column": 8 }, "end": { "line": 270, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", "start": 9933, "end": 9961, "loc": { "start": { "line": 270, "column": 14 }, "end": { "line": 270, "column": 42 } }, "id": { "type": "Identifier", "start": 9933, "end": 9939, "loc": { "start": { "line": 270, "column": 14 }, "end": { "line": 270, "column": 20 }, "identifierName": "localX" }, "name": "localX" }, "init": { "type": "BinaryExpression", "start": 9942, "end": 9961, "loc": { "start": { "line": 270, "column": 23 }, "end": { "line": 270, "column": 42 } }, "left": { "type": "Identifier", "start": 9942, "end": 9948, "loc": { "start": { "line": 270, "column": 23 }, "end": { "line": 270, "column": 29 }, "identifierName": "worldX" }, "name": "worldX" }, "operator": "-", "right": { "type": "MemberExpression", "start": 9951, "end": 9961, "loc": { "start": { "line": 270, "column": 32 }, "end": { "line": 270, "column": 42 } }, "object": { "type": "ThisExpression", "start": 9951, "end": 9955, "loc": { "start": { "line": 270, "column": 32 }, "end": { "line": 270, "column": 36 } } }, "property": { "type": "Identifier", "start": 9956, "end": 9961, "loc": { "start": { "line": 270, "column": 37 }, "end": { "line": 270, "column": 42 }, "identifierName": "tileX" }, "name": "tileX" }, "computed": false } } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 9972, "end": 10007, "loc": { "start": { "line": 271, "column": 8 }, "end": { "line": 271, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", "start": 9978, "end": 10006, "loc": { "start": { "line": 271, "column": 14 }, "end": { "line": 271, "column": 42 } }, "id": { "type": "Identifier", "start": 9978, "end": 9984, "loc": { "start": { "line": 271, "column": 14 }, "end": { "line": 271, "column": 20 }, "identifierName": "localY" }, "name": "localY" }, "init": { "type": "BinaryExpression", "start": 9987, "end": 10006, "loc": { "start": { "line": 271, "column": 23 }, "end": { "line": 271, "column": 42 } }, "left": { "type": "Identifier", "start": 9987, "end": 9993, "loc": { "start": { "line": 271, "column": 23 }, "end": { "line": 271, "column": 29 }, "identifierName": "worldY" }, "name": "worldY" }, "operator": "-", "right": { "type": "MemberExpression", "start": 9996, "end": 10006, "loc": { "start": { "line": 271, "column": 32 }, "end": { "line": 271, "column": 42 } }, "object": { "type": "ThisExpression", "start": 9996, "end": 10000, "loc": { "start": { "line": 271, "column": 32 }, "end": { "line": 271, "column": 36 } } }, "property": { "type": "Identifier", "start": 10001, "end": 10006, "loc": { "start": { "line": 271, "column": 37 }, "end": { "line": 271, "column": 42 }, "identifierName": "tileY" }, "name": "tileY" }, "computed": false } } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 10017, "end": 10055, "loc": { "start": { "line": 272, "column": 8 }, "end": { "line": 272, "column": 46 } }, "expression": { "type": "CallExpression", "start": 10017, "end": 10054, "loc": { "start": { "line": 272, "column": 8 }, "end": { "line": 272, "column": 45 } }, "callee": { "type": "Identifier", "start": 10017, "end": 10023, "loc": { "start": { "line": 272, "column": 8 }, "end": { "line": 272, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BinaryExpression", "start": 10024, "end": 10035, "loc": { "start": { "line": 272, "column": 15 }, "end": { "line": 272, "column": 26 } }, "left": { "type": "Identifier", "start": 10024, "end": 10030, "loc": { "start": { "line": 272, "column": 15 }, "end": { "line": 272, "column": 21 }, "identifierName": "localX" }, "name": "localX" }, "operator": ">=", "right": { "type": "NumericLiteral", "start": 10034, "end": 10035, "loc": { "start": { "line": 272, "column": 25 }, "end": { "line": 272, "column": 26 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, { "type": "StringLiteral", "start": 10037, "end": 10053, "loc": { "start": { "line": 272, "column": 28 }, "end": { "line": 272, "column": 44 } }, "extra": { "rawValue": "Local X is < 0", "raw": "\"Local X is < 0\"" }, "value": "Local X is < 0" } ] } }, { "type": "ExpressionStatement", "start": 10065, "end": 10103, "loc": { "start": { "line": 273, "column": 8 }, "end": { "line": 273, "column": 46 } }, "expression": { "type": "CallExpression", "start": 10065, "end": 10102, "loc": { "start": { "line": 273, "column": 8 }, "end": { "line": 273, "column": 45 } }, "callee": { "type": "Identifier", "start": 10065, "end": 10071, "loc": { "start": { "line": 273, "column": 8 }, "end": { "line": 273, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BinaryExpression", "start": 10072, "end": 10083, "loc": { "start": { "line": 273, "column": 15 }, "end": { "line": 273, "column": 26 } }, "left": { "type": "Identifier", "start": 10072, "end": 10078, "loc": { "start": { "line": 273, "column": 15 }, "end": { "line": 273, "column": 21 }, "identifierName": "localY" }, "name": "localY" }, "operator": ">=", "right": { "type": "NumericLiteral", "start": 10082, "end": 10083, "loc": { "start": { "line": 273, "column": 25 }, "end": { "line": 273, "column": 26 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, { "type": "StringLiteral", "start": 10085, "end": 10101, "loc": { "start": { "line": 273, "column": 28 }, "end": { "line": 273, "column": 44 } }, "extra": { "rawValue": "Local Y is < 0", "raw": "\"Local Y is < 0\"" }, "value": "Local Y is < 0" } ] } }, { "type": "ExpressionStatement", "start": 10113, "end": 10184, "loc": { "start": { "line": 274, "column": 8 }, "end": { "line": 274, "column": 79 } }, "expression": { "type": "CallExpression", "start": 10113, "end": 10183, "loc": { "start": { "line": 274, "column": 8 }, "end": { "line": 274, "column": 78 } }, "callee": { "type": "Identifier", "start": 10113, "end": 10119, "loc": { "start": { "line": 274, "column": 8 }, "end": { "line": 274, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BinaryExpression", "start": 10120, "end": 10154, "loc": { "start": { "line": 274, "column": 15 }, "end": { "line": 274, "column": 49 } }, "left": { "type": "Identifier", "start": 10120, "end": 10126, "loc": { "start": { "line": 274, "column": 15 }, "end": { "line": 274, "column": 21 }, "identifierName": "localX" }, "name": "localX" }, "operator": "<", "right": { "type": "MemberExpression", "start": 10129, "end": 10154, "loc": { "start": { "line": 274, "column": 24 }, "end": { "line": 274, "column": 49 } }, "object": { "type": "Identifier", "start": 10129, "end": 10141, "loc": { "start": { "line": 274, "column": 24 }, "end": { "line": 274, "column": 36 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 10142, "end": 10154, "loc": { "start": { "line": 274, "column": 37 }, "end": { "line": 274, "column": 49 }, "identifierName": "mapChunkSize" }, "name": "mapChunkSize" }, "computed": false } }, { "type": "StringLiteral", "start": 10156, "end": 10182, "loc": { "start": { "line": 274, "column": 51 }, "end": { "line": 274, "column": 77 } }, "extra": { "rawValue": "Local X is >= chunk size", "raw": "\"Local X is >= chunk size\"" }, "value": "Local X is >= chunk size" } ] } }, { "type": "ExpressionStatement", "start": 10194, "end": 10265, "loc": { "start": { "line": 275, "column": 8 }, "end": { "line": 275, "column": 79 } }, "expression": { "type": "CallExpression", "start": 10194, "end": 10264, "loc": { "start": { "line": 275, "column": 8 }, "end": { "line": 275, "column": 78 } }, "callee": { "type": "Identifier", "start": 10194, "end": 10200, "loc": { "start": { "line": 275, "column": 8 }, "end": { "line": 275, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BinaryExpression", "start": 10201, "end": 10235, "loc": { "start": { "line": 275, "column": 15 }, "end": { "line": 275, "column": 49 } }, "left": { "type": "Identifier", "start": 10201, "end": 10207, "loc": { "start": { "line": 275, "column": 15 }, "end": { "line": 275, "column": 21 }, "identifierName": "localY" }, "name": "localY" }, "operator": "<", "right": { "type": "MemberExpression", "start": 10210, "end": 10235, "loc": { "start": { "line": 275, "column": 24 }, "end": { "line": 275, "column": 49 } }, "object": { "type": "Identifier", "start": 10210, "end": 10222, "loc": { "start": { "line": 275, "column": 24 }, "end": { "line": 275, "column": 36 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 10223, "end": 10235, "loc": { "start": { "line": 275, "column": 37 }, "end": { "line": 275, "column": 49 }, "identifierName": "mapChunkSize" }, "name": "mapChunkSize" }, "computed": false } }, { "type": "StringLiteral", "start": 10237, "end": 10263, "loc": { "start": { "line": 275, "column": 51 }, "end": { "line": 275, "column": 77 } }, "extra": { "rawValue": "Local Y is >= chunk size", "raw": "\"Local Y is >= chunk size\"" }, "value": "Local Y is >= chunk size" } ] } }, { "type": "VariableDeclaration", "start": 10277, "end": 10330, "loc": { "start": { "line": 277, "column": 8 }, "end": { "line": 277, "column": 61 } }, "declarations": [ { "type": "VariableDeclarator", "start": 10283, "end": 10329, "loc": { "start": { "line": 277, "column": 14 }, "end": { "line": 277, "column": 60 } }, "id": { "type": "Identifier", "start": 10283, "end": 10297, "loc": { "start": { "line": 277, "column": 14 }, "end": { "line": 277, "column": 28 }, "identifierName": "regularContent" }, "name": "regularContent" }, "init": { "type": "MemberExpression", "start": 10300, "end": 10329, "loc": { "start": { "line": 277, "column": 31 }, "end": { "line": 277, "column": 60 } }, "object": { "type": "MemberExpression", "start": 10300, "end": 10321, "loc": { "start": { "line": 277, "column": 31 }, "end": { "line": 277, "column": 52 } }, "object": { "type": "MemberExpression", "start": 10300, "end": 10313, "loc": { "start": { "line": 277, "column": 31 }, "end": { "line": 277, "column": 44 } }, "object": { "type": "ThisExpression", "start": 10300, "end": 10304, "loc": { "start": { "line": 277, "column": 31 }, "end": { "line": 277, "column": 35 } } }, "property": { "type": "Identifier", "start": 10305, "end": 10313, "loc": { "start": { "line": 277, "column": 36 }, "end": { "line": 277, "column": 44 }, "identifierName": "contents" }, "name": "contents" }, "computed": false }, "property": { "type": "Identifier", "start": 10314, "end": 10320, "loc": { "start": { "line": 277, "column": 45 }, "end": { "line": 277, "column": 51 }, "identifierName": "localX" }, "name": "localX" }, "computed": true }, "property": { "type": "Identifier", "start": 10322, "end": 10328, "loc": { "start": { "line": 277, "column": 53 }, "end": { "line": 277, "column": 59 }, "identifierName": "localY" }, "name": "localY" }, "computed": true } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 10340, "end": 10394, "loc": { "start": { "line": 278, "column": 8 }, "end": { "line": 278, "column": 62 } }, "declarations": [ { "type": "VariableDeclarator", "start": 10346, "end": 10393, "loc": { "start": { "line": 278, "column": 14 }, "end": { "line": 278, "column": 61 } }, "id": { "type": "Identifier", "start": 10346, "end": 10357, "loc": { "start": { "line": 278, "column": 14 }, "end": { "line": 278, "column": 25 }, "identifierName": "wireContent" }, "name": "wireContent" }, "init": { "type": "MemberExpression", "start": 10360, "end": 10393, "loc": { "start": { "line": 278, "column": 28 }, "end": { "line": 278, "column": 61 } }, "object": { "type": "MemberExpression", "start": 10360, "end": 10385, "loc": { "start": { "line": 278, "column": 28 }, "end": { "line": 278, "column": 53 } }, "object": { "type": "MemberExpression", "start": 10360, "end": 10377, "loc": { "start": { "line": 278, "column": 28 }, "end": { "line": 278, "column": 45 } }, "object": { "type": "ThisExpression", "start": 10360, "end": 10364, "loc": { "start": { "line": 278, "column": 28 }, "end": { "line": 278, "column": 32 } } }, "property": { "type": "Identifier", "start": 10365, "end": 10377, "loc": { "start": { "line": 278, "column": 33 }, "end": { "line": 278, "column": 45 }, "identifierName": "wireContents" }, "name": "wireContents" }, "computed": false }, "property": { "type": "Identifier", "start": 10378, "end": 10384, "loc": { "start": { "line": 278, "column": 46 }, "end": { "line": 278, "column": 52 }, "identifierName": "localX" }, "name": "localX" }, "computed": true }, "property": { "type": "Identifier", "start": 10386, "end": 10392, "loc": { "start": { "line": 278, "column": 54 }, "end": { "line": 278, "column": 60 }, "identifierName": "localY" }, "name": "localY" }, "computed": true } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 10406, "end": 10424, "loc": { "start": { "line": 280, "column": 8 }, "end": { "line": 280, "column": 26 } }, "declarations": [ { "type": "VariableDeclarator", "start": 10412, "end": 10423, "loc": { "start": { "line": 280, "column": 14 }, "end": { "line": 280, "column": 25 } }, "id": { "type": "Identifier", "start": 10412, "end": 10418, "loc": { "start": { "line": 280, "column": 14 }, "end": { "line": 280, "column": 20 }, "identifierName": "result" }, "name": "result" }, "init": { "type": "ArrayExpression", "start": 10421, "end": 10423, "loc": { "start": { "line": 280, "column": 23 }, "end": { "line": 280, "column": 25 } }, "elements": [] } } ], "kind": "const" }, { "type": "IfStatement", "start": 10434, "end": 10508, "loc": { "start": { "line": 281, "column": 8 }, "end": { "line": 283, "column": 9 } }, "test": { "type": "Identifier", "start": 10438, "end": 10452, "loc": { "start": { "line": 281, "column": 12 }, "end": { "line": 281, "column": 26 }, "identifierName": "regularContent" }, "name": "regularContent" }, "consequent": { "type": "BlockStatement", "start": 10454, "end": 10508, "loc": { "start": { "line": 281, "column": 28 }, "end": { "line": 283, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 10469, "end": 10497, "loc": { "start": { "line": 282, "column": 12 }, "end": { "line": 282, "column": 40 } }, "expression": { "type": "CallExpression", "start": 10469, "end": 10496, "loc": { "start": { "line": 282, "column": 12 }, "end": { "line": 282, "column": 39 } }, "callee": { "type": "MemberExpression", "start": 10469, "end": 10480, "loc": { "start": { "line": 282, "column": 12 }, "end": { "line": 282, "column": 23 } }, "object": { "type": "Identifier", "start": 10469, "end": 10475, "loc": { "start": { "line": 282, "column": 12 }, "end": { "line": 282, "column": 18 }, "identifierName": "result" }, "name": "result" }, "property": { "type": "Identifier", "start": 10476, "end": 10480, "loc": { "start": { "line": 282, "column": 19 }, "end": { "line": 282, "column": 23 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 10481, "end": 10495, "loc": { "start": { "line": 282, "column": 24 }, "end": { "line": 282, "column": 38 }, "identifierName": "regularContent" }, "name": "regularContent" } ] } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 10518, "end": 10586, "loc": { "start": { "line": 284, "column": 8 }, "end": { "line": 286, "column": 9 } }, "test": { "type": "Identifier", "start": 10522, "end": 10533, "loc": { "start": { "line": 284, "column": 12 }, "end": { "line": 284, "column": 23 }, "identifierName": "wireContent" }, "name": "wireContent" }, "consequent": { "type": "BlockStatement", "start": 10535, "end": 10586, "loc": { "start": { "line": 284, "column": 25 }, "end": { "line": 286, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 10550, "end": 10575, "loc": { "start": { "line": 285, "column": 12 }, "end": { "line": 285, "column": 37 } }, "expression": { "type": "CallExpression", "start": 10550, "end": 10574, "loc": { "start": { "line": 285, "column": 12 }, "end": { "line": 285, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 10550, "end": 10561, "loc": { "start": { "line": 285, "column": 12 }, "end": { "line": 285, "column": 23 } }, "object": { "type": "Identifier", "start": 10550, "end": 10556, "loc": { "start": { "line": 285, "column": 12 }, "end": { "line": 285, "column": 18 }, "identifierName": "result" }, "name": "result" }, "property": { "type": "Identifier", "start": 10557, "end": 10561, "loc": { "start": { "line": 285, "column": 19 }, "end": { "line": 285, "column": 23 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 10562, "end": 10573, "loc": { "start": { "line": 285, "column": 24 }, "end": { "line": 285, "column": 35 }, "identifierName": "wireContent" }, "name": "wireContent" } ] } } ], "directives": [] }, "alternate": null }, { "type": "ForOfStatement", "start": 10598, "end": 10770, "loc": { "start": { "line": 288, "column": 8 }, "end": { "line": 292, "column": 9 } }, "left": { "type": "VariableDeclaration", "start": 10603, "end": 10623, "loc": { "start": { "line": 288, "column": 13 }, "end": { "line": 288, "column": 33 } }, "declarations": [ { "type": "VariableDeclarator", "start": 10609, "end": 10623, "loc": { "start": { "line": 288, "column": 19 }, "end": { "line": 288, "column": 33 } }, "id": { "type": "ArrayPattern", "start": 10609, "end": 10623, "loc": { "start": { "line": 288, "column": 19 }, "end": { "line": 288, "column": 33 } }, "elements": [ { "type": "Identifier", "start": 10610, "end": 10615, "loc": { "start": { "line": 288, "column": 20 }, "end": { "line": 288, "column": 25 }, "identifierName": "layer" }, "name": "layer" }, { "type": "Identifier", "start": 10617, "end": 10622, "loc": { "start": { "line": 288, "column": 27 }, "end": { "line": 288, "column": 32 }, "identifierName": "array" }, "name": "array" } ] }, "init": null } ], "kind": "const" }, "right": { "type": "MemberExpression", "start": 10627, "end": 10646, "loc": { "start": { "line": 288, "column": 37 }, "end": { "line": 288, "column": 56 } }, "object": { "type": "ThisExpression", "start": 10627, "end": 10631, "loc": { "start": { "line": 288, "column": 37 }, "end": { "line": 288, "column": 41 } } }, "property": { "type": "Identifier", "start": 10632, "end": 10646, "loc": { "start": { "line": 288, "column": 42 }, "end": { "line": 288, "column": 56 }, "identifierName": "layersContents" }, "name": "layersContents" }, "computed": false }, "body": { "type": "BlockStatement", "start": 10648, "end": 10770, "loc": { "start": { "line": 288, "column": 58 }, "end": { "line": 292, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 10663, "end": 10759, "loc": { "start": { "line": 289, "column": 12 }, "end": { "line": 291, "column": 13 } }, "test": { "type": "MemberExpression", "start": 10667, "end": 10688, "loc": { "start": { "line": 289, "column": 16 }, "end": { "line": 289, "column": 37 } }, "object": { "type": "MemberExpression", "start": 10667, "end": 10680, "loc": { "start": { "line": 289, "column": 16 }, "end": { "line": 289, "column": 29 } }, "object": { "type": "Identifier", "start": 10667, "end": 10672, "loc": { "start": { "line": 289, "column": 16 }, "end": { "line": 289, "column": 21 }, "identifierName": "array" }, "name": "array" }, "property": { "type": "Identifier", "start": 10673, "end": 10679, "loc": { "start": { "line": 289, "column": 22 }, "end": { "line": 289, "column": 28 }, "identifierName": "localX" }, "name": "localX" }, "computed": true }, "property": { "type": "Identifier", "start": 10681, "end": 10687, "loc": { "start": { "line": 289, "column": 30 }, "end": { "line": 289, "column": 36 }, "identifierName": "localY" }, "name": "localY" }, "computed": true }, "consequent": { "type": "BlockStatement", "start": 10690, "end": 10759, "loc": { "start": { "line": 289, "column": 39 }, "end": { "line": 291, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 10709, "end": 10744, "loc": { "start": { "line": 290, "column": 16 }, "end": { "line": 290, "column": 51 } }, "expression": { "type": "CallExpression", "start": 10709, "end": 10743, "loc": { "start": { "line": 290, "column": 16 }, "end": { "line": 290, "column": 50 } }, "callee": { "type": "MemberExpression", "start": 10709, "end": 10720, "loc": { "start": { "line": 290, "column": 16 }, "end": { "line": 290, "column": 27 } }, "object": { "type": "Identifier", "start": 10709, "end": 10715, "loc": { "start": { "line": 290, "column": 16 }, "end": { "line": 290, "column": 22 }, "identifierName": "result" }, "name": "result" }, "property": { "type": "Identifier", "start": 10716, "end": 10720, "loc": { "start": { "line": 290, "column": 23 }, "end": { "line": 290, "column": 27 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 10721, "end": 10742, "loc": { "start": { "line": 290, "column": 28 }, "end": { "line": 290, "column": 49 } }, "object": { "type": "MemberExpression", "start": 10721, "end": 10734, "loc": { "start": { "line": 290, "column": 28 }, "end": { "line": 290, "column": 41 } }, "object": { "type": "Identifier", "start": 10721, "end": 10726, "loc": { "start": { "line": 290, "column": 28 }, "end": { "line": 290, "column": 33 }, "identifierName": "array" }, "name": "array" }, "property": { "type": "Identifier", "start": 10727, "end": 10733, "loc": { "start": { "line": 290, "column": 34 }, "end": { "line": 290, "column": 40 }, "identifierName": "localX" }, "name": "localX" }, "computed": true }, "property": { "type": "Identifier", "start": 10735, "end": 10741, "loc": { "start": { "line": 290, "column": 42 }, "end": { "line": 290, "column": 48 }, "identifierName": "localY" }, "name": "localY" }, "computed": true } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] } }, { "type": "ReturnStatement", "start": 10782, "end": 10796, "loc": { "start": { "line": 294, "column": 8 }, "end": { "line": 294, "column": 22 } }, "argument": { "type": "Identifier", "start": 10789, "end": 10795, "loc": { "start": { "line": 294, "column": 15 }, "end": { "line": 294, "column": 21 }, "identifierName": "result" }, "name": "result" } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns the contents of this chunk from the given world space coordinates\r\n * @param {number} worldX\r\n * @param {number} worldY\r\n * @returns {Array}\r\n ", "start": 9664, "end": 9853, "loc": { "start": { "line": 263, "column": 4 }, "end": { "line": 268, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns the chunks contents from the given local coordinates\r\n * @param {number} localX\r\n * @param {number} localY\r\n * @returns {Entity=}\r\n ", "start": 10811, "end": 10981, "loc": { "start": { "line": 297, "column": 4 }, "end": { "line": 302, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 10987, "end": 11356, "loc": { "start": { "line": 303, "column": 4 }, "end": { "line": 310, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 10987, "end": 11016, "loc": { "start": { "line": 303, "column": 4 }, "end": { "line": 303, "column": 33 }, "identifierName": "getTileContentFromLocalCoords" }, "name": "getTileContentFromLocalCoords", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 11017, "end": 11023, "loc": { "start": { "line": 303, "column": 34 }, "end": { "line": 303, "column": 40 }, "identifierName": "localX" }, "name": "localX" }, { "type": "Identifier", "start": 11025, "end": 11031, "loc": { "start": { "line": 303, "column": 42 }, "end": { "line": 303, "column": 48 }, "identifierName": "localY" }, "name": "localY" } ], "body": { "type": "BlockStatement", "start": 11033, "end": 11356, "loc": { "start": { "line": 303, "column": 50 }, "end": { "line": 310, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 11044, "end": 11082, "loc": { "start": { "line": 304, "column": 8 }, "end": { "line": 304, "column": 46 } }, "expression": { "type": "CallExpression", "start": 11044, "end": 11081, "loc": { "start": { "line": 304, "column": 8 }, "end": { "line": 304, "column": 45 } }, "callee": { "type": "Identifier", "start": 11044, "end": 11050, "loc": { "start": { "line": 304, "column": 8 }, "end": { "line": 304, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BinaryExpression", "start": 11051, "end": 11062, "loc": { "start": { "line": 304, "column": 15 }, "end": { "line": 304, "column": 26 } }, "left": { "type": "Identifier", "start": 11051, "end": 11057, "loc": { "start": { "line": 304, "column": 15 }, "end": { "line": 304, "column": 21 }, "identifierName": "localX" }, "name": "localX" }, "operator": ">=", "right": { "type": "NumericLiteral", "start": 11061, "end": 11062, "loc": { "start": { "line": 304, "column": 25 }, "end": { "line": 304, "column": 26 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, { "type": "StringLiteral", "start": 11064, "end": 11080, "loc": { "start": { "line": 304, "column": 28 }, "end": { "line": 304, "column": 44 } }, "extra": { "rawValue": "Local X is < 0", "raw": "\"Local X is < 0\"" }, "value": "Local X is < 0" } ] } }, { "type": "ExpressionStatement", "start": 11092, "end": 11130, "loc": { "start": { "line": 305, "column": 8 }, "end": { "line": 305, "column": 46 } }, "expression": { "type": "CallExpression", "start": 11092, "end": 11129, "loc": { "start": { "line": 305, "column": 8 }, "end": { "line": 305, "column": 45 } }, "callee": { "type": "Identifier", "start": 11092, "end": 11098, "loc": { "start": { "line": 305, "column": 8 }, "end": { "line": 305, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BinaryExpression", "start": 11099, "end": 11110, "loc": { "start": { "line": 305, "column": 15 }, "end": { "line": 305, "column": 26 } }, "left": { "type": "Identifier", "start": 11099, "end": 11105, "loc": { "start": { "line": 305, "column": 15 }, "end": { "line": 305, "column": 21 }, "identifierName": "localY" }, "name": "localY" }, "operator": ">=", "right": { "type": "NumericLiteral", "start": 11109, "end": 11110, "loc": { "start": { "line": 305, "column": 25 }, "end": { "line": 305, "column": 26 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, { "type": "StringLiteral", "start": 11112, "end": 11128, "loc": { "start": { "line": 305, "column": 28 }, "end": { "line": 305, "column": 44 } }, "extra": { "rawValue": "Local Y is < 0", "raw": "\"Local Y is < 0\"" }, "value": "Local Y is < 0" } ] } }, { "type": "ExpressionStatement", "start": 11140, "end": 11211, "loc": { "start": { "line": 306, "column": 8 }, "end": { "line": 306, "column": 79 } }, "expression": { "type": "CallExpression", "start": 11140, "end": 11210, "loc": { "start": { "line": 306, "column": 8 }, "end": { "line": 306, "column": 78 } }, "callee": { "type": "Identifier", "start": 11140, "end": 11146, "loc": { "start": { "line": 306, "column": 8 }, "end": { "line": 306, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BinaryExpression", "start": 11147, "end": 11181, "loc": { "start": { "line": 306, "column": 15 }, "end": { "line": 306, "column": 49 } }, "left": { "type": "Identifier", "start": 11147, "end": 11153, "loc": { "start": { "line": 306, "column": 15 }, "end": { "line": 306, "column": 21 }, "identifierName": "localX" }, "name": "localX" }, "operator": "<", "right": { "type": "MemberExpression", "start": 11156, "end": 11181, "loc": { "start": { "line": 306, "column": 24 }, "end": { "line": 306, "column": 49 } }, "object": { "type": "Identifier", "start": 11156, "end": 11168, "loc": { "start": { "line": 306, "column": 24 }, "end": { "line": 306, "column": 36 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 11169, "end": 11181, "loc": { "start": { "line": 306, "column": 37 }, "end": { "line": 306, "column": 49 }, "identifierName": "mapChunkSize" }, "name": "mapChunkSize" }, "computed": false } }, { "type": "StringLiteral", "start": 11183, "end": 11209, "loc": { "start": { "line": 306, "column": 51 }, "end": { "line": 306, "column": 77 } }, "extra": { "rawValue": "Local X is >= chunk size", "raw": "\"Local X is >= chunk size\"" }, "value": "Local X is >= chunk size" } ] } }, { "type": "ExpressionStatement", "start": 11221, "end": 11292, "loc": { "start": { "line": 307, "column": 8 }, "end": { "line": 307, "column": 79 } }, "expression": { "type": "CallExpression", "start": 11221, "end": 11291, "loc": { "start": { "line": 307, "column": 8 }, "end": { "line": 307, "column": 78 } }, "callee": { "type": "Identifier", "start": 11221, "end": 11227, "loc": { "start": { "line": 307, "column": 8 }, "end": { "line": 307, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BinaryExpression", "start": 11228, "end": 11262, "loc": { "start": { "line": 307, "column": 15 }, "end": { "line": 307, "column": 49 } }, "left": { "type": "Identifier", "start": 11228, "end": 11234, "loc": { "start": { "line": 307, "column": 15 }, "end": { "line": 307, "column": 21 }, "identifierName": "localY" }, "name": "localY" }, "operator": "<", "right": { "type": "MemberExpression", "start": 11237, "end": 11262, "loc": { "start": { "line": 307, "column": 24 }, "end": { "line": 307, "column": 49 } }, "object": { "type": "Identifier", "start": 11237, "end": 11249, "loc": { "start": { "line": 307, "column": 24 }, "end": { "line": 307, "column": 36 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 11250, "end": 11262, "loc": { "start": { "line": 307, "column": 37 }, "end": { "line": 307, "column": 49 }, "identifierName": "mapChunkSize" }, "name": "mapChunkSize" }, "computed": false } }, { "type": "StringLiteral", "start": 11264, "end": 11290, "loc": { "start": { "line": 307, "column": 51 }, "end": { "line": 307, "column": 77 } }, "extra": { "rawValue": "Local Y is >= chunk size", "raw": "\"Local Y is >= chunk size\"" }, "value": "Local Y is >= chunk size" } ] } }, { "type": "ReturnStatement", "start": 11304, "end": 11349, "loc": { "start": { "line": 309, "column": 8 }, "end": { "line": 309, "column": 53 } }, "argument": { "type": "LogicalExpression", "start": 11311, "end": 11348, "loc": { "start": { "line": 309, "column": 15 }, "end": { "line": 309, "column": 52 } }, "left": { "type": "MemberExpression", "start": 11311, "end": 11340, "loc": { "start": { "line": 309, "column": 15 }, "end": { "line": 309, "column": 44 } }, "object": { "type": "MemberExpression", "start": 11311, "end": 11332, "loc": { "start": { "line": 309, "column": 15 }, "end": { "line": 309, "column": 36 } }, "object": { "type": "MemberExpression", "start": 11311, "end": 11324, "loc": { "start": { "line": 309, "column": 15 }, "end": { "line": 309, "column": 28 } }, "object": { "type": "ThisExpression", "start": 11311, "end": 11315, "loc": { "start": { "line": 309, "column": 15 }, "end": { "line": 309, "column": 19 } } }, "property": { "type": "Identifier", "start": 11316, "end": 11324, "loc": { "start": { "line": 309, "column": 20 }, "end": { "line": 309, "column": 28 }, "identifierName": "contents" }, "name": "contents" }, "computed": false }, "property": { "type": "Identifier", "start": 11325, "end": 11331, "loc": { "start": { "line": 309, "column": 29 }, "end": { "line": 309, "column": 35 }, "identifierName": "localX" }, "name": "localX" }, "computed": true }, "property": { "type": "Identifier", "start": 11333, "end": 11339, "loc": { "start": { "line": 309, "column": 37 }, "end": { "line": 309, "column": 43 }, "identifierName": "localY" }, "name": "localY" }, "computed": true }, "operator": "||", "right": { "type": "NullLiteral", "start": 11344, "end": 11348, "loc": { "start": { "line": 309, "column": 48 }, "end": { "line": 309, "column": 52 } } } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns the chunks contents from the given local coordinates\r\n * @param {number} localX\r\n * @param {number} localY\r\n * @returns {Entity=}\r\n ", "start": 10811, "end": 10981, "loc": { "start": { "line": 297, "column": 4 }, "end": { "line": 302, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Sets the chunks contents\r\n * @param {number} tileX\r\n * @param {number} tileY\r\n * @param {Entity} contents\r\n * @param {Layer} layer\r\n ", "start": 11364, "end": 11531, "loc": { "start": { "line": 312, "column": 4 }, "end": { "line": 318, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 11537, "end": 13380, "loc": { "start": { "line": 319, "column": 4 }, "end": { "line": 361, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 11537, "end": 11566, "loc": { "start": { "line": 319, "column": 4 }, "end": { "line": 319, "column": 33 }, "identifierName": "setLayerContentFromWorldCords" }, "name": "setLayerContentFromWorldCords", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 11567, "end": 11572, "loc": { "start": { "line": 319, "column": 34 }, "end": { "line": 319, "column": 39 }, "identifierName": "tileX" }, "name": "tileX" }, { "type": "Identifier", "start": 11574, "end": 11579, "loc": { "start": { "line": 319, "column": 41 }, "end": { "line": 319, "column": 46 }, "identifierName": "tileY" }, "name": "tileY" }, { "type": "Identifier", "start": 11581, "end": 11589, "loc": { "start": { "line": 319, "column": 48 }, "end": { "line": 319, "column": 56 }, "identifierName": "contents" }, "name": "contents" }, { "type": "Identifier", "start": 11591, "end": 11596, "loc": { "start": { "line": 319, "column": 58 }, "end": { "line": 319, "column": 63 }, "identifierName": "layer" }, "name": "layer" } ], "body": { "type": "BlockStatement", "start": 11598, "end": 13380, "loc": { "start": { "line": 319, "column": 65 }, "end": { "line": 361, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 11609, "end": 11643, "loc": { "start": { "line": 320, "column": 8 }, "end": { "line": 320, "column": 42 } }, "declarations": [ { "type": "VariableDeclarator", "start": 11615, "end": 11642, "loc": { "start": { "line": 320, "column": 14 }, "end": { "line": 320, "column": 41 } }, "id": { "type": "Identifier", "start": 11615, "end": 11621, "loc": { "start": { "line": 320, "column": 14 }, "end": { "line": 320, "column": 20 }, "identifierName": "localX" }, "name": "localX" }, "init": { "type": "BinaryExpression", "start": 11624, "end": 11642, "loc": { "start": { "line": 320, "column": 23 }, "end": { "line": 320, "column": 41 } }, "left": { "type": "Identifier", "start": 11624, "end": 11629, "loc": { "start": { "line": 320, "column": 23 }, "end": { "line": 320, "column": 28 }, "identifierName": "tileX" }, "name": "tileX" }, "operator": "-", "right": { "type": "MemberExpression", "start": 11632, "end": 11642, "loc": { "start": { "line": 320, "column": 31 }, "end": { "line": 320, "column": 41 } }, "object": { "type": "ThisExpression", "start": 11632, "end": 11636, "loc": { "start": { "line": 320, "column": 31 }, "end": { "line": 320, "column": 35 } } }, "property": { "type": "Identifier", "start": 11637, "end": 11642, "loc": { "start": { "line": 320, "column": 36 }, "end": { "line": 320, "column": 41 }, "identifierName": "tileX" }, "name": "tileX" }, "computed": false } } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 11653, "end": 11687, "loc": { "start": { "line": 321, "column": 8 }, "end": { "line": 321, "column": 42 } }, "declarations": [ { "type": "VariableDeclarator", "start": 11659, "end": 11686, "loc": { "start": { "line": 321, "column": 14 }, "end": { "line": 321, "column": 41 } }, "id": { "type": "Identifier", "start": 11659, "end": 11665, "loc": { "start": { "line": 321, "column": 14 }, "end": { "line": 321, "column": 20 }, "identifierName": "localY" }, "name": "localY" }, "init": { "type": "BinaryExpression", "start": 11668, "end": 11686, "loc": { "start": { "line": 321, "column": 23 }, "end": { "line": 321, "column": 41 } }, "left": { "type": "Identifier", "start": 11668, "end": 11673, "loc": { "start": { "line": 321, "column": 23 }, "end": { "line": 321, "column": 28 }, "identifierName": "tileY" }, "name": "tileY" }, "operator": "-", "right": { "type": "MemberExpression", "start": 11676, "end": 11686, "loc": { "start": { "line": 321, "column": 31 }, "end": { "line": 321, "column": 41 } }, "object": { "type": "ThisExpression", "start": 11676, "end": 11680, "loc": { "start": { "line": 321, "column": 31 }, "end": { "line": 321, "column": 35 } } }, "property": { "type": "Identifier", "start": 11681, "end": 11686, "loc": { "start": { "line": 321, "column": 36 }, "end": { "line": 321, "column": 41 }, "identifierName": "tileY" }, "name": "tileY" }, "computed": false } } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 11697, "end": 11735, "loc": { "start": { "line": 322, "column": 8 }, "end": { "line": 322, "column": 46 } }, "expression": { "type": "CallExpression", "start": 11697, "end": 11734, "loc": { "start": { "line": 322, "column": 8 }, "end": { "line": 322, "column": 45 } }, "callee": { "type": "Identifier", "start": 11697, "end": 11703, "loc": { "start": { "line": 322, "column": 8 }, "end": { "line": 322, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BinaryExpression", "start": 11704, "end": 11715, "loc": { "start": { "line": 322, "column": 15 }, "end": { "line": 322, "column": 26 } }, "left": { "type": "Identifier", "start": 11704, "end": 11710, "loc": { "start": { "line": 322, "column": 15 }, "end": { "line": 322, "column": 21 }, "identifierName": "localX" }, "name": "localX" }, "operator": ">=", "right": { "type": "NumericLiteral", "start": 11714, "end": 11715, "loc": { "start": { "line": 322, "column": 25 }, "end": { "line": 322, "column": 26 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, { "type": "StringLiteral", "start": 11717, "end": 11733, "loc": { "start": { "line": 322, "column": 28 }, "end": { "line": 322, "column": 44 } }, "extra": { "rawValue": "Local X is < 0", "raw": "\"Local X is < 0\"" }, "value": "Local X is < 0" } ] } }, { "type": "ExpressionStatement", "start": 11745, "end": 11783, "loc": { "start": { "line": 323, "column": 8 }, "end": { "line": 323, "column": 46 } }, "expression": { "type": "CallExpression", "start": 11745, "end": 11782, "loc": { "start": { "line": 323, "column": 8 }, "end": { "line": 323, "column": 45 } }, "callee": { "type": "Identifier", "start": 11745, "end": 11751, "loc": { "start": { "line": 323, "column": 8 }, "end": { "line": 323, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BinaryExpression", "start": 11752, "end": 11763, "loc": { "start": { "line": 323, "column": 15 }, "end": { "line": 323, "column": 26 } }, "left": { "type": "Identifier", "start": 11752, "end": 11758, "loc": { "start": { "line": 323, "column": 15 }, "end": { "line": 323, "column": 21 }, "identifierName": "localY" }, "name": "localY" }, "operator": ">=", "right": { "type": "NumericLiteral", "start": 11762, "end": 11763, "loc": { "start": { "line": 323, "column": 25 }, "end": { "line": 323, "column": 26 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, { "type": "StringLiteral", "start": 11765, "end": 11781, "loc": { "start": { "line": 323, "column": 28 }, "end": { "line": 323, "column": 44 } }, "extra": { "rawValue": "Local Y is < 0", "raw": "\"Local Y is < 0\"" }, "value": "Local Y is < 0" } ] } }, { "type": "ExpressionStatement", "start": 11793, "end": 11864, "loc": { "start": { "line": 324, "column": 8 }, "end": { "line": 324, "column": 79 } }, "expression": { "type": "CallExpression", "start": 11793, "end": 11863, "loc": { "start": { "line": 324, "column": 8 }, "end": { "line": 324, "column": 78 } }, "callee": { "type": "Identifier", "start": 11793, "end": 11799, "loc": { "start": { "line": 324, "column": 8 }, "end": { "line": 324, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BinaryExpression", "start": 11800, "end": 11834, "loc": { "start": { "line": 324, "column": 15 }, "end": { "line": 324, "column": 49 } }, "left": { "type": "Identifier", "start": 11800, "end": 11806, "loc": { "start": { "line": 324, "column": 15 }, "end": { "line": 324, "column": 21 }, "identifierName": "localX" }, "name": "localX" }, "operator": "<", "right": { "type": "MemberExpression", "start": 11809, "end": 11834, "loc": { "start": { "line": 324, "column": 24 }, "end": { "line": 324, "column": 49 } }, "object": { "type": "Identifier", "start": 11809, "end": 11821, "loc": { "start": { "line": 324, "column": 24 }, "end": { "line": 324, "column": 36 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 11822, "end": 11834, "loc": { "start": { "line": 324, "column": 37 }, "end": { "line": 324, "column": 49 }, "identifierName": "mapChunkSize" }, "name": "mapChunkSize" }, "computed": false } }, { "type": "StringLiteral", "start": 11836, "end": 11862, "loc": { "start": { "line": 324, "column": 51 }, "end": { "line": 324, "column": 77 } }, "extra": { "rawValue": "Local X is >= chunk size", "raw": "\"Local X is >= chunk size\"" }, "value": "Local X is >= chunk size" } ] } }, { "type": "ExpressionStatement", "start": 11874, "end": 11945, "loc": { "start": { "line": 325, "column": 8 }, "end": { "line": 325, "column": 79 } }, "expression": { "type": "CallExpression", "start": 11874, "end": 11944, "loc": { "start": { "line": 325, "column": 8 }, "end": { "line": 325, "column": 78 } }, "callee": { "type": "Identifier", "start": 11874, "end": 11880, "loc": { "start": { "line": 325, "column": 8 }, "end": { "line": 325, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "BinaryExpression", "start": 11881, "end": 11915, "loc": { "start": { "line": 325, "column": 15 }, "end": { "line": 325, "column": 49 } }, "left": { "type": "Identifier", "start": 11881, "end": 11887, "loc": { "start": { "line": 325, "column": 15 }, "end": { "line": 325, "column": 21 }, "identifierName": "localY" }, "name": "localY" }, "operator": "<", "right": { "type": "MemberExpression", "start": 11890, "end": 11915, "loc": { "start": { "line": 325, "column": 24 }, "end": { "line": 325, "column": 49 } }, "object": { "type": "Identifier", "start": 11890, "end": 11902, "loc": { "start": { "line": 325, "column": 24 }, "end": { "line": 325, "column": 36 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 11903, "end": 11915, "loc": { "start": { "line": 325, "column": 37 }, "end": { "line": 325, "column": 49 }, "identifierName": "mapChunkSize" }, "name": "mapChunkSize" }, "computed": false } }, { "type": "StringLiteral", "start": 11917, "end": 11943, "loc": { "start": { "line": 325, "column": 51 }, "end": { "line": 325, "column": 77 } }, "extra": { "rawValue": "Local Y is >= chunk size", "raw": "\"Local Y is >= chunk size\"" }, "value": "Local Y is >= chunk size" } ] } }, { "type": "VariableDeclaration", "start": 11957, "end": 11973, "loc": { "start": { "line": 327, "column": 8 }, "end": { "line": 327, "column": 24 } }, "declarations": [ { "type": "VariableDeclarator", "start": 11961, "end": 11972, "loc": { "start": { "line": 327, "column": 12 }, "end": { "line": 327, "column": 23 } }, "id": { "type": "Identifier", "start": 11961, "end": 11972, "loc": { "start": { "line": 327, "column": 12 }, "end": { "line": 327, "column": 23 }, "identifierName": "oldContents" }, "name": "oldContents" }, "init": null } ], "kind": "let" }, { "type": "IfStatement", "start": 11983, "end": 12310, "loc": { "start": { "line": 328, "column": 8 }, "end": { "line": 334, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 11987, "end": 12006, "loc": { "start": { "line": 328, "column": 12 }, "end": { "line": 328, "column": 31 } }, "left": { "type": "Identifier", "start": 11987, "end": 11992, "loc": { "start": { "line": 328, "column": 12 }, "end": { "line": 328, "column": 17 }, "identifierName": "layer" }, "name": "layer" }, "operator": "===", "right": { "type": "StringLiteral", "start": 11997, "end": 12006, "loc": { "start": { "line": 328, "column": 22 }, "end": { "line": 328, "column": 31 } }, "extra": { "rawValue": "regular", "raw": "\"regular\"" }, "value": "regular" } }, "consequent": { "type": "BlockStatement", "start": 12008, "end": 12078, "loc": { "start": { "line": 328, "column": 33 }, "end": { "line": 330, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 12023, "end": 12067, "loc": { "start": { "line": 329, "column": 12 }, "end": { "line": 329, "column": 56 } }, "expression": { "type": "AssignmentExpression", "start": 12023, "end": 12066, "loc": { "start": { "line": 329, "column": 12 }, "end": { "line": 329, "column": 55 } }, "operator": "=", "left": { "type": "Identifier", "start": 12023, "end": 12034, "loc": { "start": { "line": 329, "column": 12 }, "end": { "line": 329, "column": 23 }, "identifierName": "oldContents" }, "name": "oldContents" }, "right": { "type": "MemberExpression", "start": 12037, "end": 12066, "loc": { "start": { "line": 329, "column": 26 }, "end": { "line": 329, "column": 55 } }, "object": { "type": "MemberExpression", "start": 12037, "end": 12058, "loc": { "start": { "line": 329, "column": 26 }, "end": { "line": 329, "column": 47 } }, "object": { "type": "MemberExpression", "start": 12037, "end": 12050, "loc": { "start": { "line": 329, "column": 26 }, "end": { "line": 329, "column": 39 } }, "object": { "type": "ThisExpression", "start": 12037, "end": 12041, "loc": { "start": { "line": 329, "column": 26 }, "end": { "line": 329, "column": 30 } } }, "property": { "type": "Identifier", "start": 12042, "end": 12050, "loc": { "start": { "line": 329, "column": 31 }, "end": { "line": 329, "column": 39 }, "identifierName": "contents" }, "name": "contents" }, "computed": false }, "property": { "type": "Identifier", "start": 12051, "end": 12057, "loc": { "start": { "line": 329, "column": 40 }, "end": { "line": 329, "column": 46 }, "identifierName": "localX" }, "name": "localX" }, "computed": true }, "property": { "type": "Identifier", "start": 12059, "end": 12065, "loc": { "start": { "line": 329, "column": 48 }, "end": { "line": 329, "column": 54 }, "identifierName": "localY" }, "name": "localY" }, "computed": true } } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 12084, "end": 12310, "loc": { "start": { "line": 330, "column": 15 }, "end": { "line": 334, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 12088, "end": 12105, "loc": { "start": { "line": 330, "column": 19 }, "end": { "line": 330, "column": 36 } }, "left": { "type": "Identifier", "start": 12088, "end": 12093, "loc": { "start": { "line": 330, "column": 19 }, "end": { "line": 330, "column": 24 }, "identifierName": "layer" }, "name": "layer" }, "operator": "===", "right": { "type": "StringLiteral", "start": 12098, "end": 12105, "loc": { "start": { "line": 330, "column": 29 }, "end": { "line": 330, "column": 36 } }, "extra": { "rawValue": "wires", "raw": "\"wires\"" }, "value": "wires" } }, "consequent": { "type": "BlockStatement", "start": 12107, "end": 12181, "loc": { "start": { "line": 330, "column": 38 }, "end": { "line": 332, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 12122, "end": 12170, "loc": { "start": { "line": 331, "column": 12 }, "end": { "line": 331, "column": 60 } }, "expression": { "type": "AssignmentExpression", "start": 12122, "end": 12169, "loc": { "start": { "line": 331, "column": 12 }, "end": { "line": 331, "column": 59 } }, "operator": "=", "left": { "type": "Identifier", "start": 12122, "end": 12133, "loc": { "start": { "line": 331, "column": 12 }, "end": { "line": 331, "column": 23 }, "identifierName": "oldContents" }, "name": "oldContents" }, "right": { "type": "MemberExpression", "start": 12136, "end": 12169, "loc": { "start": { "line": 331, "column": 26 }, "end": { "line": 331, "column": 59 } }, "object": { "type": "MemberExpression", "start": 12136, "end": 12161, "loc": { "start": { "line": 331, "column": 26 }, "end": { "line": 331, "column": 51 } }, "object": { "type": "MemberExpression", "start": 12136, "end": 12153, "loc": { "start": { "line": 331, "column": 26 }, "end": { "line": 331, "column": 43 } }, "object": { "type": "ThisExpression", "start": 12136, "end": 12140, "loc": { "start": { "line": 331, "column": 26 }, "end": { "line": 331, "column": 30 } } }, "property": { "type": "Identifier", "start": 12141, "end": 12153, "loc": { "start": { "line": 331, "column": 31 }, "end": { "line": 331, "column": 43 }, "identifierName": "wireContents" }, "name": "wireContents" }, "computed": false }, "property": { "type": "Identifier", "start": 12154, "end": 12160, "loc": { "start": { "line": 331, "column": 44 }, "end": { "line": 331, "column": 50 }, "identifierName": "localX" }, "name": "localX" }, "computed": true }, "property": { "type": "Identifier", "start": 12162, "end": 12168, "loc": { "start": { "line": 331, "column": 52 }, "end": { "line": 331, "column": 58 }, "identifierName": "localY" }, "name": "localY" }, "computed": true } } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 12187, "end": 12310, "loc": { "start": { "line": 332, "column": 15 }, "end": { "line": 334, "column": 9 } }, "test": { "type": "CallExpression", "start": 12191, "end": 12221, "loc": { "start": { "line": 332, "column": 19 }, "end": { "line": 332, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 12191, "end": 12214, "loc": { "start": { "line": 332, "column": 19 }, "end": { "line": 332, "column": 42 } }, "object": { "type": "MemberExpression", "start": 12191, "end": 12210, "loc": { "start": { "line": 332, "column": 19 }, "end": { "line": 332, "column": 38 } }, "object": { "type": "ThisExpression", "start": 12191, "end": 12195, "loc": { "start": { "line": 332, "column": 19 }, "end": { "line": 332, "column": 23 } } }, "property": { "type": "Identifier", "start": 12196, "end": 12210, "loc": { "start": { "line": 332, "column": 24 }, "end": { "line": 332, "column": 38 }, "identifierName": "layersContents" }, "name": "layersContents" }, "computed": false }, "property": { "type": "Identifier", "start": 12211, "end": 12214, "loc": { "start": { "line": 332, "column": 39 }, "end": { "line": 332, "column": 42 }, "identifierName": "has" }, "name": "has" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 12215, "end": 12220, "loc": { "start": { "line": 332, "column": 43 }, "end": { "line": 332, "column": 48 }, "identifierName": "layer" }, "name": "layer" } ] }, "consequent": { "type": "BlockStatement", "start": 12223, "end": 12310, "loc": { "start": { "line": 332, "column": 51 }, "end": { "line": 334, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 12238, "end": 12299, "loc": { "start": { "line": 333, "column": 12 }, "end": { "line": 333, "column": 73 } }, "expression": { "type": "AssignmentExpression", "start": 12238, "end": 12298, "loc": { "start": { "line": 333, "column": 12 }, "end": { "line": 333, "column": 72 } }, "operator": "=", "left": { "type": "Identifier", "start": 12238, "end": 12249, "loc": { "start": { "line": 333, "column": 12 }, "end": { "line": 333, "column": 23 }, "identifierName": "oldContents" }, "name": "oldContents" }, "right": { "type": "MemberExpression", "start": 12252, "end": 12298, "loc": { "start": { "line": 333, "column": 26 }, "end": { "line": 333, "column": 72 } }, "object": { "type": "MemberExpression", "start": 12252, "end": 12290, "loc": { "start": { "line": 333, "column": 26 }, "end": { "line": 333, "column": 64 } }, "object": { "type": "CallExpression", "start": 12252, "end": 12282, "loc": { "start": { "line": 333, "column": 26 }, "end": { "line": 333, "column": 56 } }, "callee": { "type": "MemberExpression", "start": 12252, "end": 12275, "loc": { "start": { "line": 333, "column": 26 }, "end": { "line": 333, "column": 49 } }, "object": { "type": "MemberExpression", "start": 12252, "end": 12271, "loc": { "start": { "line": 333, "column": 26 }, "end": { "line": 333, "column": 45 } }, "object": { "type": "ThisExpression", "start": 12252, "end": 12256, "loc": { "start": { "line": 333, "column": 26 }, "end": { "line": 333, "column": 30 } } }, "property": { "type": "Identifier", "start": 12257, "end": 12271, "loc": { "start": { "line": 333, "column": 31 }, "end": { "line": 333, "column": 45 }, "identifierName": "layersContents" }, "name": "layersContents" }, "computed": false }, "property": { "type": "Identifier", "start": 12272, "end": 12275, "loc": { "start": { "line": 333, "column": 46 }, "end": { "line": 333, "column": 49 }, "identifierName": "get" }, "name": "get" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 12276, "end": 12281, "loc": { "start": { "line": 333, "column": 50 }, "end": { "line": 333, "column": 55 }, "identifierName": "layer" }, "name": "layer" } ] }, "property": { "type": "Identifier", "start": 12283, "end": 12289, "loc": { "start": { "line": 333, "column": 57 }, "end": { "line": 333, "column": 63 }, "identifierName": "localX" }, "name": "localX" }, "computed": true }, "property": { "type": "Identifier", "start": 12291, "end": 12297, "loc": { "start": { "line": 333, "column": 65 }, "end": { "line": 333, "column": 71 }, "identifierName": "localY" }, "name": "localY" }, "computed": true } } } ], "directives": [] }, "alternate": null } } }, { "type": "ExpressionStatement", "start": 12322, "end": 12411, "loc": { "start": { "line": 336, "column": 8 }, "end": { "line": 336, "column": 97 } }, "expression": { "type": "CallExpression", "start": 12322, "end": 12410, "loc": { "start": { "line": 336, "column": 8 }, "end": { "line": 336, "column": 96 } }, "callee": { "type": "Identifier", "start": 12322, "end": 12328, "loc": { "start": { "line": 336, "column": 8 }, "end": { "line": 336, "column": 14 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "LogicalExpression", "start": 12329, "end": 12362, "loc": { "start": { "line": 336, "column": 15 }, "end": { "line": 336, "column": 48 } }, "left": { "type": "BinaryExpression", "start": 12329, "end": 12346, "loc": { "start": { "line": 336, "column": 15 }, "end": { "line": 336, "column": 32 } }, "left": { "type": "Identifier", "start": 12329, "end": 12337, "loc": { "start": { "line": 336, "column": 15 }, "end": { "line": 336, "column": 23 }, "identifierName": "contents" }, "name": "contents" }, "operator": "===", "right": { "type": "NullLiteral", "start": 12342, "end": 12346, "loc": { "start": { "line": 336, "column": 28 }, "end": { "line": 336, "column": 32 } } } }, "operator": "||", "right": { "type": "UnaryExpression", "start": 12350, "end": 12362, "loc": { "start": { "line": 336, "column": 36 }, "end": { "line": 336, "column": 48 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 12351, "end": 12362, "loc": { "start": { "line": 336, "column": 37 }, "end": { "line": 336, "column": 48 }, "identifierName": "oldContents" }, "name": "oldContents" }, "extra": { "parenthesizedArgument": false } } }, { "type": "BinaryExpression", "start": 12364, "end": 12409, "loc": { "start": { "line": 336, "column": 50 }, "end": { "line": 336, "column": 95 } }, "left": { "type": "BinaryExpression", "start": 12364, "end": 12401, "loc": { "start": { "line": 336, "column": 50 }, "end": { "line": 336, "column": 87 } }, "left": { "type": "BinaryExpression", "start": 12364, "end": 12393, "loc": { "start": { "line": 336, "column": 50 }, "end": { "line": 336, "column": 79 } }, "left": { "type": "StringLiteral", "start": 12364, "end": 12385, "loc": { "start": { "line": 336, "column": 50 }, "end": { "line": 336, "column": 71 } }, "extra": { "rawValue": "Tile already used: ", "raw": "\"Tile already used: \"" }, "value": "Tile already used: " }, "operator": "+", "right": { "type": "Identifier", "start": 12388, "end": 12393, "loc": { "start": { "line": 336, "column": 74 }, "end": { "line": 336, "column": 79 }, "identifierName": "tileX" }, "name": "tileX" } }, "operator": "+", "right": { "type": "StringLiteral", "start": 12396, "end": 12401, "loc": { "start": { "line": 336, "column": 82 }, "end": { "line": 336, "column": 87 } }, "extra": { "rawValue": " / ", "raw": "\" / \"" }, "value": " / " } }, "operator": "+", "right": { "type": "Identifier", "start": 12404, "end": 12409, "loc": { "start": { "line": 336, "column": 90 }, "end": { "line": 336, "column": 95 }, "identifierName": "tileY" }, "name": "tileY" } } ] } }, { "type": "IfStatement", "start": 12423, "end": 12703, "loc": { "start": { "line": 338, "column": 8 }, "end": { "line": 342, "column": 9 } }, "test": { "type": "Identifier", "start": 12427, "end": 12438, "loc": { "start": { "line": 338, "column": 12 }, "end": { "line": 338, "column": 23 }, "identifierName": "oldContents" }, "name": "oldContents" }, "consequent": { "type": "BlockStatement", "start": 12440, "end": 12703, "loc": { "start": { "line": 338, "column": 25 }, "end": { "line": 342, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 12526, "end": 12595, "loc": { "start": { "line": 340, "column": 12 }, "end": { "line": 340, "column": 81 } }, "expression": { "type": "CallExpression", "start": 12526, "end": 12594, "loc": { "start": { "line": 340, "column": 12 }, "end": { "line": 340, "column": 80 } }, "callee": { "type": "Identifier", "start": 12526, "end": 12557, "loc": { "start": { "line": 340, "column": 12 }, "end": { "line": 340, "column": 43 }, "identifierName": "fastArrayDeleteValueIfContained" }, "name": "fastArrayDeleteValueIfContained", "leadingComments": null }, "arguments": [ { "type": "MemberExpression", "start": 12558, "end": 12580, "loc": { "start": { "line": 340, "column": 44 }, "end": { "line": 340, "column": 66 } }, "object": { "type": "ThisExpression", "start": 12558, "end": 12562, "loc": { "start": { "line": 340, "column": 44 }, "end": { "line": 340, "column": 48 } } }, "property": { "type": "Identifier", "start": 12563, "end": 12580, "loc": { "start": { "line": 340, "column": 49 }, "end": { "line": 340, "column": 66 }, "identifierName": "containedEntities" }, "name": "containedEntities" }, "computed": false }, { "type": "Identifier", "start": 12582, "end": 12593, "loc": { "start": { "line": 340, "column": 68 }, "end": { "line": 340, "column": 79 }, "identifierName": "oldContents" }, "name": "oldContents" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Remove from list (the old contents must be reigstered)", "start": 12455, "end": 12512, "loc": { "start": { "line": 339, "column": 12 }, "end": { "line": 339, "column": 69 } } } ] }, { "type": "ExpressionStatement", "start": 12609, "end": 12692, "loc": { "start": { "line": 341, "column": 12 }, "end": { "line": 341, "column": 95 } }, "expression": { "type": "CallExpression", "start": 12609, "end": 12691, "loc": { "start": { "line": 341, "column": 12 }, "end": { "line": 341, "column": 94 } }, "callee": { "type": "Identifier", "start": 12609, "end": 12640, "loc": { "start": { "line": 341, "column": 12 }, "end": { "line": 341, "column": 43 }, "identifierName": "fastArrayDeleteValueIfContained" }, "name": "fastArrayDeleteValueIfContained" }, "arguments": [ { "type": "MemberExpression", "start": 12641, "end": 12677, "loc": { "start": { "line": 341, "column": 44 }, "end": { "line": 341, "column": 80 } }, "object": { "type": "MemberExpression", "start": 12641, "end": 12670, "loc": { "start": { "line": 341, "column": 44 }, "end": { "line": 341, "column": 73 } }, "object": { "type": "ThisExpression", "start": 12641, "end": 12645, "loc": { "start": { "line": 341, "column": 44 }, "end": { "line": 341, "column": 48 } } }, "property": { "type": "Identifier", "start": 12646, "end": 12670, "loc": { "start": { "line": 341, "column": 49 }, "end": { "line": 341, "column": 73 }, "identifierName": "containedEntitiesByLayer" }, "name": "containedEntitiesByLayer" }, "computed": false }, "property": { "type": "Identifier", "start": 12671, "end": 12676, "loc": { "start": { "line": 341, "column": 74 }, "end": { "line": 341, "column": 79 }, "identifierName": "layer" }, "name": "layer" }, "computed": true }, { "type": "Identifier", "start": 12679, "end": 12690, "loc": { "start": { "line": 341, "column": 82 }, "end": { "line": 341, "column": 93 }, "identifierName": "oldContents" }, "name": "oldContents" } ] } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 12715, "end": 13033, "loc": { "start": { "line": 344, "column": 8 }, "end": { "line": 350, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 12719, "end": 12738, "loc": { "start": { "line": 344, "column": 12 }, "end": { "line": 344, "column": 31 } }, "left": { "type": "Identifier", "start": 12719, "end": 12724, "loc": { "start": { "line": 344, "column": 12 }, "end": { "line": 344, "column": 17 }, "identifierName": "layer" }, "name": "layer" }, "operator": "===", "right": { "type": "StringLiteral", "start": 12729, "end": 12738, "loc": { "start": { "line": 344, "column": 22 }, "end": { "line": 344, "column": 31 } }, "extra": { "rawValue": "regular", "raw": "\"regular\"" }, "value": "regular" } }, "consequent": { "type": "BlockStatement", "start": 12740, "end": 12807, "loc": { "start": { "line": 344, "column": 33 }, "end": { "line": 346, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 12755, "end": 12796, "loc": { "start": { "line": 345, "column": 12 }, "end": { "line": 345, "column": 53 } }, "expression": { "type": "AssignmentExpression", "start": 12755, "end": 12795, "loc": { "start": { "line": 345, "column": 12 }, "end": { "line": 345, "column": 52 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12755, "end": 12784, "loc": { "start": { "line": 345, "column": 12 }, "end": { "line": 345, "column": 41 } }, "object": { "type": "MemberExpression", "start": 12755, "end": 12776, "loc": { "start": { "line": 345, "column": 12 }, "end": { "line": 345, "column": 33 } }, "object": { "type": "MemberExpression", "start": 12755, "end": 12768, "loc": { "start": { "line": 345, "column": 12 }, "end": { "line": 345, "column": 25 } }, "object": { "type": "ThisExpression", "start": 12755, "end": 12759, "loc": { "start": { "line": 345, "column": 12 }, "end": { "line": 345, "column": 16 } } }, "property": { "type": "Identifier", "start": 12760, "end": 12768, "loc": { "start": { "line": 345, "column": 17 }, "end": { "line": 345, "column": 25 }, "identifierName": "contents" }, "name": "contents" }, "computed": false }, "property": { "type": "Identifier", "start": 12769, "end": 12775, "loc": { "start": { "line": 345, "column": 26 }, "end": { "line": 345, "column": 32 }, "identifierName": "localX" }, "name": "localX" }, "computed": true }, "property": { "type": "Identifier", "start": 12777, "end": 12783, "loc": { "start": { "line": 345, "column": 34 }, "end": { "line": 345, "column": 40 }, "identifierName": "localY" }, "name": "localY" }, "computed": true }, "right": { "type": "Identifier", "start": 12787, "end": 12795, "loc": { "start": { "line": 345, "column": 44 }, "end": { "line": 345, "column": 52 }, "identifierName": "contents" }, "name": "contents" } } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 12813, "end": 13033, "loc": { "start": { "line": 346, "column": 15 }, "end": { "line": 350, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 12817, "end": 12834, "loc": { "start": { "line": 346, "column": 19 }, "end": { "line": 346, "column": 36 } }, "left": { "type": "Identifier", "start": 12817, "end": 12822, "loc": { "start": { "line": 346, "column": 19 }, "end": { "line": 346, "column": 24 }, "identifierName": "layer" }, "name": "layer" }, "operator": "===", "right": { "type": "StringLiteral", "start": 12827, "end": 12834, "loc": { "start": { "line": 346, "column": 29 }, "end": { "line": 346, "column": 36 } }, "extra": { "rawValue": "wires", "raw": "\"wires\"" }, "value": "wires" } }, "consequent": { "type": "BlockStatement", "start": 12836, "end": 12907, "loc": { "start": { "line": 346, "column": 38 }, "end": { "line": 348, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 12851, "end": 12896, "loc": { "start": { "line": 347, "column": 12 }, "end": { "line": 347, "column": 57 } }, "expression": { "type": "AssignmentExpression", "start": 12851, "end": 12895, "loc": { "start": { "line": 347, "column": 12 }, "end": { "line": 347, "column": 56 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12851, "end": 12884, "loc": { "start": { "line": 347, "column": 12 }, "end": { "line": 347, "column": 45 } }, "object": { "type": "MemberExpression", "start": 12851, "end": 12876, "loc": { "start": { "line": 347, "column": 12 }, "end": { "line": 347, "column": 37 } }, "object": { "type": "MemberExpression", "start": 12851, "end": 12868, "loc": { "start": { "line": 347, "column": 12 }, "end": { "line": 347, "column": 29 } }, "object": { "type": "ThisExpression", "start": 12851, "end": 12855, "loc": { "start": { "line": 347, "column": 12 }, "end": { "line": 347, "column": 16 } } }, "property": { "type": "Identifier", "start": 12856, "end": 12868, "loc": { "start": { "line": 347, "column": 17 }, "end": { "line": 347, "column": 29 }, "identifierName": "wireContents" }, "name": "wireContents" }, "computed": false }, "property": { "type": "Identifier", "start": 12869, "end": 12875, "loc": { "start": { "line": 347, "column": 30 }, "end": { "line": 347, "column": 36 }, "identifierName": "localX" }, "name": "localX" }, "computed": true }, "property": { "type": "Identifier", "start": 12877, "end": 12883, "loc": { "start": { "line": 347, "column": 38 }, "end": { "line": 347, "column": 44 }, "identifierName": "localY" }, "name": "localY" }, "computed": true }, "right": { "type": "Identifier", "start": 12887, "end": 12895, "loc": { "start": { "line": 347, "column": 48 }, "end": { "line": 347, "column": 56 }, "identifierName": "contents" }, "name": "contents" } } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 12913, "end": 13033, "loc": { "start": { "line": 348, "column": 15 }, "end": { "line": 350, "column": 9 } }, "test": { "type": "CallExpression", "start": 12917, "end": 12947, "loc": { "start": { "line": 348, "column": 19 }, "end": { "line": 348, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 12917, "end": 12940, "loc": { "start": { "line": 348, "column": 19 }, "end": { "line": 348, "column": 42 } }, "object": { "type": "MemberExpression", "start": 12917, "end": 12936, "loc": { "start": { "line": 348, "column": 19 }, "end": { "line": 348, "column": 38 } }, "object": { "type": "ThisExpression", "start": 12917, "end": 12921, "loc": { "start": { "line": 348, "column": 19 }, "end": { "line": 348, "column": 23 } } }, "property": { "type": "Identifier", "start": 12922, "end": 12936, "loc": { "start": { "line": 348, "column": 24 }, "end": { "line": 348, "column": 38 }, "identifierName": "layersContents" }, "name": "layersContents" }, "computed": false }, "property": { "type": "Identifier", "start": 12937, "end": 12940, "loc": { "start": { "line": 348, "column": 39 }, "end": { "line": 348, "column": 42 }, "identifierName": "has" }, "name": "has" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 12941, "end": 12946, "loc": { "start": { "line": 348, "column": 43 }, "end": { "line": 348, "column": 48 }, "identifierName": "layer" }, "name": "layer" } ] }, "consequent": { "type": "BlockStatement", "start": 12949, "end": 13033, "loc": { "start": { "line": 348, "column": 51 }, "end": { "line": 350, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 12964, "end": 13022, "loc": { "start": { "line": 349, "column": 12 }, "end": { "line": 349, "column": 70 } }, "expression": { "type": "AssignmentExpression", "start": 12964, "end": 13021, "loc": { "start": { "line": 349, "column": 12 }, "end": { "line": 349, "column": 69 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 12964, "end": 13010, "loc": { "start": { "line": 349, "column": 12 }, "end": { "line": 349, "column": 58 } }, "object": { "type": "MemberExpression", "start": 12964, "end": 13002, "loc": { "start": { "line": 349, "column": 12 }, "end": { "line": 349, "column": 50 } }, "object": { "type": "CallExpression", "start": 12964, "end": 12994, "loc": { "start": { "line": 349, "column": 12 }, "end": { "line": 349, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 12964, "end": 12987, "loc": { "start": { "line": 349, "column": 12 }, "end": { "line": 349, "column": 35 } }, "object": { "type": "MemberExpression", "start": 12964, "end": 12983, "loc": { "start": { "line": 349, "column": 12 }, "end": { "line": 349, "column": 31 } }, "object": { "type": "ThisExpression", "start": 12964, "end": 12968, "loc": { "start": { "line": 349, "column": 12 }, "end": { "line": 349, "column": 16 } } }, "property": { "type": "Identifier", "start": 12969, "end": 12983, "loc": { "start": { "line": 349, "column": 17 }, "end": { "line": 349, "column": 31 }, "identifierName": "layersContents" }, "name": "layersContents" }, "computed": false }, "property": { "type": "Identifier", "start": 12984, "end": 12987, "loc": { "start": { "line": 349, "column": 32 }, "end": { "line": 349, "column": 35 }, "identifierName": "get" }, "name": "get" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 12988, "end": 12993, "loc": { "start": { "line": 349, "column": 36 }, "end": { "line": 349, "column": 41 }, "identifierName": "layer" }, "name": "layer" } ] }, "property": { "type": "Identifier", "start": 12995, "end": 13001, "loc": { "start": { "line": 349, "column": 43 }, "end": { "line": 349, "column": 49 }, "identifierName": "localX" }, "name": "localX" }, "computed": true }, "property": { "type": "Identifier", "start": 13003, "end": 13009, "loc": { "start": { "line": 349, "column": 51 }, "end": { "line": 349, "column": 57 }, "identifierName": "localY" }, "name": "localY" }, "computed": true }, "right": { "type": "Identifier", "start": 13013, "end": 13021, "loc": { "start": { "line": 349, "column": 61 }, "end": { "line": 349, "column": 69 }, "identifierName": "contents" }, "name": "contents" } } } ], "directives": [] }, "alternate": null } } }, { "type": "IfStatement", "start": 13045, "end": 13373, "loc": { "start": { "line": 352, "column": 8 }, "end": { "line": 360, "column": 9 } }, "test": { "type": "Identifier", "start": 13049, "end": 13057, "loc": { "start": { "line": 352, "column": 12 }, "end": { "line": 352, "column": 20 }, "identifierName": "contents" }, "name": "contents" }, "consequent": { "type": "BlockStatement", "start": 13059, "end": 13373, "loc": { "start": { "line": 352, "column": 22 }, "end": { "line": 360, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 13074, "end": 13196, "loc": { "start": { "line": 353, "column": 12 }, "end": { "line": 355, "column": 13 } }, "test": { "type": "BinaryExpression", "start": 13078, "end": 13122, "loc": { "start": { "line": 353, "column": 16 }, "end": { "line": 353, "column": 60 } }, "left": { "type": "CallExpression", "start": 13078, "end": 13118, "loc": { "start": { "line": 353, "column": 16 }, "end": { "line": 353, "column": 56 } }, "callee": { "type": "MemberExpression", "start": 13078, "end": 13108, "loc": { "start": { "line": 353, "column": 16 }, "end": { "line": 353, "column": 46 } }, "object": { "type": "MemberExpression", "start": 13078, "end": 13100, "loc": { "start": { "line": 353, "column": 16 }, "end": { "line": 353, "column": 38 } }, "object": { "type": "ThisExpression", "start": 13078, "end": 13082, "loc": { "start": { "line": 353, "column": 16 }, "end": { "line": 353, "column": 20 } } }, "property": { "type": "Identifier", "start": 13083, "end": 13100, "loc": { "start": { "line": 353, "column": 21 }, "end": { "line": 353, "column": 38 }, "identifierName": "containedEntities" }, "name": "containedEntities" }, "computed": false }, "property": { "type": "Identifier", "start": 13101, "end": 13108, "loc": { "start": { "line": 353, "column": 39 }, "end": { "line": 353, "column": 46 }, "identifierName": "indexOf" }, "name": "indexOf" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 13109, "end": 13117, "loc": { "start": { "line": 353, "column": 47 }, "end": { "line": 353, "column": 55 }, "identifierName": "contents" }, "name": "contents" } ] }, "operator": "<", "right": { "type": "NumericLiteral", "start": 13121, "end": 13122, "loc": { "start": { "line": 353, "column": 59 }, "end": { "line": 353, "column": 60 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "consequent": { "type": "BlockStatement", "start": 13124, "end": 13196, "loc": { "start": { "line": 353, "column": 62 }, "end": { "line": 355, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 13143, "end": 13181, "loc": { "start": { "line": 354, "column": 16 }, "end": { "line": 354, "column": 54 } }, "expression": { "type": "CallExpression", "start": 13143, "end": 13180, "loc": { "start": { "line": 354, "column": 16 }, "end": { "line": 354, "column": 53 } }, "callee": { "type": "MemberExpression", "start": 13143, "end": 13170, "loc": { "start": { "line": 354, "column": 16 }, "end": { "line": 354, "column": 43 } }, "object": { "type": "MemberExpression", "start": 13143, "end": 13165, "loc": { "start": { "line": 354, "column": 16 }, "end": { "line": 354, "column": 38 } }, "object": { "type": "ThisExpression", "start": 13143, "end": 13147, "loc": { "start": { "line": 354, "column": 16 }, "end": { "line": 354, "column": 20 } } }, "property": { "type": "Identifier", "start": 13148, "end": 13165, "loc": { "start": { "line": 354, "column": 21 }, "end": { "line": 354, "column": 38 }, "identifierName": "containedEntities" }, "name": "containedEntities" }, "computed": false }, "property": { "type": "Identifier", "start": 13166, "end": 13170, "loc": { "start": { "line": 354, "column": 39 }, "end": { "line": 354, "column": 43 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 13171, "end": 13179, "loc": { "start": { "line": 354, "column": 44 }, "end": { "line": 354, "column": 52 }, "identifierName": "contents" }, "name": "contents" } ] } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 13212, "end": 13362, "loc": { "start": { "line": 357, "column": 12 }, "end": { "line": 359, "column": 13 } }, "test": { "type": "BinaryExpression", "start": 13216, "end": 13274, "loc": { "start": { "line": 357, "column": 16 }, "end": { "line": 357, "column": 74 } }, "left": { "type": "CallExpression", "start": 13216, "end": 13270, "loc": { "start": { "line": 357, "column": 16 }, "end": { "line": 357, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 13216, "end": 13260, "loc": { "start": { "line": 357, "column": 16 }, "end": { "line": 357, "column": 60 } }, "object": { "type": "MemberExpression", "start": 13216, "end": 13252, "loc": { "start": { "line": 357, "column": 16 }, "end": { "line": 357, "column": 52 } }, "object": { "type": "MemberExpression", "start": 13216, "end": 13245, "loc": { "start": { "line": 357, "column": 16 }, "end": { "line": 357, "column": 45 } }, "object": { "type": "ThisExpression", "start": 13216, "end": 13220, "loc": { "start": { "line": 357, "column": 16 }, "end": { "line": 357, "column": 20 } } }, "property": { "type": "Identifier", "start": 13221, "end": 13245, "loc": { "start": { "line": 357, "column": 21 }, "end": { "line": 357, "column": 45 }, "identifierName": "containedEntitiesByLayer" }, "name": "containedEntitiesByLayer" }, "computed": false }, "property": { "type": "Identifier", "start": 13246, "end": 13251, "loc": { "start": { "line": 357, "column": 46 }, "end": { "line": 357, "column": 51 }, "identifierName": "layer" }, "name": "layer" }, "computed": true }, "property": { "type": "Identifier", "start": 13253, "end": 13260, "loc": { "start": { "line": 357, "column": 53 }, "end": { "line": 357, "column": 60 }, "identifierName": "indexOf" }, "name": "indexOf" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 13261, "end": 13269, "loc": { "start": { "line": 357, "column": 61 }, "end": { "line": 357, "column": 69 }, "identifierName": "contents" }, "name": "contents" } ] }, "operator": "<", "right": { "type": "NumericLiteral", "start": 13273, "end": 13274, "loc": { "start": { "line": 357, "column": 73 }, "end": { "line": 357, "column": 74 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "consequent": { "type": "BlockStatement", "start": 13276, "end": 13362, "loc": { "start": { "line": 357, "column": 76 }, "end": { "line": 359, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 13295, "end": 13347, "loc": { "start": { "line": 358, "column": 16 }, "end": { "line": 358, "column": 68 } }, "expression": { "type": "CallExpression", "start": 13295, "end": 13346, "loc": { "start": { "line": 358, "column": 16 }, "end": { "line": 358, "column": 67 } }, "callee": { "type": "MemberExpression", "start": 13295, "end": 13336, "loc": { "start": { "line": 358, "column": 16 }, "end": { "line": 358, "column": 57 } }, "object": { "type": "MemberExpression", "start": 13295, "end": 13331, "loc": { "start": { "line": 358, "column": 16 }, "end": { "line": 358, "column": 52 } }, "object": { "type": "MemberExpression", "start": 13295, "end": 13324, "loc": { "start": { "line": 358, "column": 16 }, "end": { "line": 358, "column": 45 } }, "object": { "type": "ThisExpression", "start": 13295, "end": 13299, "loc": { "start": { "line": 358, "column": 16 }, "end": { "line": 358, "column": 20 } } }, "property": { "type": "Identifier", "start": 13300, "end": 13324, "loc": { "start": { "line": 358, "column": 21 }, "end": { "line": 358, "column": 45 }, "identifierName": "containedEntitiesByLayer" }, "name": "containedEntitiesByLayer" }, "computed": false }, "property": { "type": "Identifier", "start": 13325, "end": 13330, "loc": { "start": { "line": 358, "column": 46 }, "end": { "line": 358, "column": 51 }, "identifierName": "layer" }, "name": "layer" }, "computed": true }, "property": { "type": "Identifier", "start": 13332, "end": 13336, "loc": { "start": { "line": 358, "column": 53 }, "end": { "line": 358, "column": 57 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 13337, "end": 13345, "loc": { "start": { "line": 358, "column": 58 }, "end": { "line": 358, "column": 66 }, "identifierName": "contents" }, "name": "contents" } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": null } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Sets the chunks contents\r\n * @param {number} tileX\r\n * @param {number} tileY\r\n * @param {Entity} contents\r\n * @param {Layer} layer\r\n ", "start": 11364, "end": 11531, "loc": { "start": { "line": 312, "column": 4 }, "end": { "line": 318, "column": 7 } } } ] } ] }, "leadingComments": [], "trailingComments": [] } }, { "type": "ExpressionStatement", "start": 13387, "end": 14927, "loc": { "start": { "line": 364, "column": 0 }, "end": { "line": 404, "column": 2 } }, "expression": { "type": "AssignmentExpression", "start": 13387, "end": 14926, "loc": { "start": { "line": 364, "column": 0 }, "end": { "line": 404, "column": 1 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 13387, "end": 13406, "loc": { "start": { "line": 364, "column": 0 }, "end": { "line": 364, "column": 19 } }, "object": { "type": "Identifier", "start": 13387, "end": 13395, "loc": { "start": { "line": 364, "column": 0 }, "end": { "line": 364, "column": 8 }, "identifierName": "MapChunk" }, "name": "MapChunk" }, "property": { "type": "Identifier", "start": 13396, "end": 13406, "loc": { "start": { "line": 364, "column": 9 }, "end": { "line": 364, "column": 19 }, "identifierName": "predefined" }, "name": "predefined" }, "computed": false }, "right": { "type": "ArrayExpression", "start": 13409, "end": 14926, "loc": { "start": { "line": 364, "column": 22 }, "end": { "line": 404, "column": 1 } }, "elements": [ { "type": "ArrowFunctionExpression", "start": 13416, "end": 13619, "loc": { "start": { "line": 365, "column": 4 }, "end": { "line": 370, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 13417, "end": 13421, "loc": { "start": { "line": 365, "column": 5 }, "end": { "line": 365, "column": 9 }, "identifierName": "self" }, "name": "self" }, { "type": "Identifier", "start": 13423, "end": 13426, "loc": { "start": { "line": 365, "column": 11 }, "end": { "line": 365, "column": 14 }, "identifierName": "rng" }, "name": "rng" } ], "body": { "type": "BlockStatement", "start": 13431, "end": 13619, "loc": { "start": { "line": 365, "column": 19 }, "end": { "line": 370, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 13442, "end": 13612, "loc": { "start": { "line": 366, "column": 8 }, "end": { "line": 369, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 13446, "end": 13474, "loc": { "start": { "line": 366, "column": 12 }, "end": { "line": 366, "column": 40 } }, "left": { "type": "BinaryExpression", "start": 13446, "end": 13458, "loc": { "start": { "line": 366, "column": 12 }, "end": { "line": 366, "column": 24 } }, "left": { "type": "MemberExpression", "start": 13446, "end": 13452, "loc": { "start": { "line": 366, "column": 12 }, "end": { "line": 366, "column": 18 } }, "object": { "type": "Identifier", "start": 13446, "end": 13450, "loc": { "start": { "line": 366, "column": 12 }, "end": { "line": 366, "column": 16 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 13451, "end": 13452, "loc": { "start": { "line": 366, "column": 17 }, "end": { "line": 366, "column": 18 }, "identifierName": "x" }, "name": "x" }, "computed": false }, "operator": "===", "right": { "type": "NumericLiteral", "start": 13457, "end": 13458, "loc": { "start": { "line": 366, "column": 23 }, "end": { "line": 366, "column": 24 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 13462, "end": 13474, "loc": { "start": { "line": 366, "column": 28 }, "end": { "line": 366, "column": 40 } }, "left": { "type": "MemberExpression", "start": 13462, "end": 13468, "loc": { "start": { "line": 366, "column": 28 }, "end": { "line": 366, "column": 34 } }, "object": { "type": "Identifier", "start": 13462, "end": 13466, "loc": { "start": { "line": 366, "column": 28 }, "end": { "line": 366, "column": 32 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 13467, "end": 13468, "loc": { "start": { "line": 366, "column": 33 }, "end": { "line": 366, "column": 34 }, "identifierName": "y" }, "name": "y" }, "computed": false }, "operator": "===", "right": { "type": "NumericLiteral", "start": 13473, "end": 13474, "loc": { "start": { "line": 366, "column": 39 }, "end": { "line": 366, "column": 40 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } }, "consequent": { "type": "BlockStatement", "start": 13476, "end": 13612, "loc": { "start": { "line": 366, "column": 42 }, "end": { "line": 369, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 13491, "end": 13575, "loc": { "start": { "line": 367, "column": 12 }, "end": { "line": 367, "column": 96 } }, "expression": { "type": "CallExpression", "start": 13491, "end": 13574, "loc": { "start": { "line": 367, "column": 12 }, "end": { "line": 367, "column": 95 } }, "callee": { "type": "MemberExpression", "start": 13491, "end": 13517, "loc": { "start": { "line": 367, "column": 12 }, "end": { "line": 367, "column": 38 } }, "object": { "type": "Identifier", "start": 13491, "end": 13495, "loc": { "start": { "line": 367, "column": 12 }, "end": { "line": 367, "column": 16 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 13496, "end": 13517, "loc": { "start": { "line": 367, "column": 17 }, "end": { "line": 367, "column": 38 }, "identifierName": "internalGeneratePatch" }, "name": "internalGeneratePatch" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 13518, "end": 13521, "loc": { "start": { "line": 367, "column": 39 }, "end": { "line": 367, "column": 42 }, "identifierName": "rng" }, "name": "rng" }, { "type": "NumericLiteral", "start": 13523, "end": 13524, "loc": { "start": { "line": 367, "column": 44 }, "end": { "line": 367, "column": 45 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 }, { "type": "MemberExpression", "start": 13526, "end": 13567, "loc": { "start": { "line": 367, "column": 47 }, "end": { "line": 367, "column": 88 } }, "object": { "type": "MemberExpression", "start": 13526, "end": 13551, "loc": { "start": { "line": 367, "column": 47 }, "end": { "line": 367, "column": 72 } }, "object": { "type": "Identifier", "start": 13526, "end": 13535, "loc": { "start": { "line": 367, "column": 47 }, "end": { "line": 367, "column": 56 }, "identifierName": "ColorItem" }, "name": "ColorItem" }, "property": { "type": "Identifier", "start": 13536, "end": 13551, "loc": { "start": { "line": 367, "column": 57 }, "end": { "line": 367, "column": 72 }, "identifierName": "ITEM_SINGLETONS" }, "name": "ITEM_SINGLETONS" }, "computed": false }, "property": { "type": "MemberExpression", "start": 13552, "end": 13566, "loc": { "start": { "line": 367, "column": 73 }, "end": { "line": 367, "column": 87 } }, "object": { "type": "Identifier", "start": 13552, "end": 13562, "loc": { "start": { "line": 367, "column": 73 }, "end": { "line": 367, "column": 83 }, "identifierName": "enumColors" }, "name": "enumColors" }, "property": { "type": "Identifier", "start": 13563, "end": 13566, "loc": { "start": { "line": 367, "column": 84 }, "end": { "line": 367, "column": 87 }, "identifierName": "red" }, "name": "red" }, "computed": false }, "computed": true }, { "type": "NumericLiteral", "start": 13569, "end": 13570, "loc": { "start": { "line": 367, "column": 90 }, "end": { "line": 367, "column": 91 } }, "extra": { "rawValue": 7, "raw": "7" }, "value": 7 }, { "type": "NumericLiteral", "start": 13572, "end": 13573, "loc": { "start": { "line": 367, "column": 93 }, "end": { "line": 367, "column": 94 } }, "extra": { "rawValue": 7, "raw": "7" }, "value": 7 } ] } }, { "type": "ReturnStatement", "start": 13589, "end": 13601, "loc": { "start": { "line": 368, "column": 12 }, "end": { "line": 368, "column": 24 } }, "argument": { "type": "BooleanLiteral", "start": 13596, "end": 13600, "loc": { "start": { "line": 368, "column": 19 }, "end": { "line": 368, "column": 23 } }, "value": true } } ], "directives": [] }, "alternate": null } ], "directives": [] } }, { "type": "ArrowFunctionExpression", "start": 13626, "end": 13829, "loc": { "start": { "line": 371, "column": 4 }, "end": { "line": 376, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 13627, "end": 13631, "loc": { "start": { "line": 371, "column": 5 }, "end": { "line": 371, "column": 9 }, "identifierName": "self" }, "name": "self" }, { "type": "Identifier", "start": 13633, "end": 13636, "loc": { "start": { "line": 371, "column": 11 }, "end": { "line": 371, "column": 14 }, "identifierName": "rng" }, "name": "rng" } ], "body": { "type": "BlockStatement", "start": 13641, "end": 13829, "loc": { "start": { "line": 371, "column": 19 }, "end": { "line": 376, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 13652, "end": 13822, "loc": { "start": { "line": 372, "column": 8 }, "end": { "line": 375, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 13656, "end": 13684, "loc": { "start": { "line": 372, "column": 12 }, "end": { "line": 372, "column": 40 } }, "left": { "type": "BinaryExpression", "start": 13656, "end": 13668, "loc": { "start": { "line": 372, "column": 12 }, "end": { "line": 372, "column": 24 } }, "left": { "type": "MemberExpression", "start": 13656, "end": 13662, "loc": { "start": { "line": 372, "column": 12 }, "end": { "line": 372, "column": 18 } }, "object": { "type": "Identifier", "start": 13656, "end": 13660, "loc": { "start": { "line": 372, "column": 12 }, "end": { "line": 372, "column": 16 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 13661, "end": 13662, "loc": { "start": { "line": 372, "column": 17 }, "end": { "line": 372, "column": 18 }, "identifierName": "x" }, "name": "x" }, "computed": false }, "operator": "===", "right": { "type": "NumericLiteral", "start": 13667, "end": 13668, "loc": { "start": { "line": 372, "column": 23 }, "end": { "line": 372, "column": 24 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 13672, "end": 13684, "loc": { "start": { "line": 372, "column": 28 }, "end": { "line": 372, "column": 40 } }, "left": { "type": "MemberExpression", "start": 13672, "end": 13678, "loc": { "start": { "line": 372, "column": 28 }, "end": { "line": 372, "column": 34 } }, "object": { "type": "Identifier", "start": 13672, "end": 13676, "loc": { "start": { "line": 372, "column": 28 }, "end": { "line": 372, "column": 32 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 13677, "end": 13678, "loc": { "start": { "line": 372, "column": 33 }, "end": { "line": 372, "column": 34 }, "identifierName": "y" }, "name": "y" }, "computed": false }, "operator": "===", "right": { "type": "NumericLiteral", "start": 13683, "end": 13684, "loc": { "start": { "line": 372, "column": 39 }, "end": { "line": 372, "column": 40 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } }, "consequent": { "type": "BlockStatement", "start": 13686, "end": 13822, "loc": { "start": { "line": 372, "column": 42 }, "end": { "line": 375, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 13701, "end": 13785, "loc": { "start": { "line": 373, "column": 12 }, "end": { "line": 373, "column": 96 } }, "expression": { "type": "CallExpression", "start": 13701, "end": 13784, "loc": { "start": { "line": 373, "column": 12 }, "end": { "line": 373, "column": 95 } }, "callee": { "type": "MemberExpression", "start": 13701, "end": 13727, "loc": { "start": { "line": 373, "column": 12 }, "end": { "line": 373, "column": 38 } }, "object": { "type": "Identifier", "start": 13701, "end": 13705, "loc": { "start": { "line": 373, "column": 12 }, "end": { "line": 373, "column": 16 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 13706, "end": 13727, "loc": { "start": { "line": 373, "column": 17 }, "end": { "line": 373, "column": 38 }, "identifierName": "internalGeneratePatch" }, "name": "internalGeneratePatch" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 13728, "end": 13731, "loc": { "start": { "line": 373, "column": 39 }, "end": { "line": 373, "column": 42 }, "identifierName": "rng" }, "name": "rng" }, { "type": "NumericLiteral", "start": 13733, "end": 13734, "loc": { "start": { "line": 373, "column": 44 }, "end": { "line": 373, "column": 45 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 }, { "type": "MemberExpression", "start": 13736, "end": 13777, "loc": { "start": { "line": 373, "column": 47 }, "end": { "line": 373, "column": 88 } }, "object": { "type": "MemberExpression", "start": 13736, "end": 13761, "loc": { "start": { "line": 373, "column": 47 }, "end": { "line": 373, "column": 72 } }, "object": { "type": "Identifier", "start": 13736, "end": 13745, "loc": { "start": { "line": 373, "column": 47 }, "end": { "line": 373, "column": 56 }, "identifierName": "ColorItem" }, "name": "ColorItem" }, "property": { "type": "Identifier", "start": 13746, "end": 13761, "loc": { "start": { "line": 373, "column": 57 }, "end": { "line": 373, "column": 72 }, "identifierName": "ITEM_SINGLETONS" }, "name": "ITEM_SINGLETONS" }, "computed": false }, "property": { "type": "MemberExpression", "start": 13762, "end": 13776, "loc": { "start": { "line": 373, "column": 73 }, "end": { "line": 373, "column": 87 } }, "object": { "type": "Identifier", "start": 13762, "end": 13772, "loc": { "start": { "line": 373, "column": 73 }, "end": { "line": 373, "column": 83 }, "identifierName": "enumColors" }, "name": "enumColors" }, "property": { "type": "Identifier", "start": 13773, "end": 13776, "loc": { "start": { "line": 373, "column": 84 }, "end": { "line": 373, "column": 87 }, "identifierName": "red" }, "name": "red" }, "computed": false }, "computed": true }, { "type": "NumericLiteral", "start": 13779, "end": 13780, "loc": { "start": { "line": 373, "column": 90 }, "end": { "line": 373, "column": 91 } }, "extra": { "rawValue": 7, "raw": "7" }, "value": 7 }, { "type": "NumericLiteral", "start": 13782, "end": 13783, "loc": { "start": { "line": 373, "column": 93 }, "end": { "line": 373, "column": 94 } }, "extra": { "rawValue": 7, "raw": "7" }, "value": 7 } ] } }, { "type": "ReturnStatement", "start": 13799, "end": 13811, "loc": { "start": { "line": 374, "column": 12 }, "end": { "line": 374, "column": 24 } }, "argument": { "type": "BooleanLiteral", "start": 13806, "end": 13810, "loc": { "start": { "line": 374, "column": 19 }, "end": { "line": 374, "column": 23 } }, "value": true } } ], "directives": [] }, "alternate": null } ], "directives": [] } }, { "type": "ArrowFunctionExpression", "start": 13836, "end": 14124, "loc": { "start": { "line": 377, "column": 4 }, "end": { "line": 383, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 13837, "end": 13841, "loc": { "start": { "line": 377, "column": 5 }, "end": { "line": 377, "column": 9 }, "identifierName": "self" }, "name": "self" }, { "type": "Identifier", "start": 13843, "end": 13846, "loc": { "start": { "line": 377, "column": 11 }, "end": { "line": 377, "column": 14 }, "identifierName": "rng" }, "name": "rng" } ], "body": { "type": "BlockStatement", "start": 13851, "end": 14124, "loc": { "start": { "line": 377, "column": 19 }, "end": { "line": 383, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 13862, "end": 14117, "loc": { "start": { "line": 378, "column": 8 }, "end": { "line": 382, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 13866, "end": 13895, "loc": { "start": { "line": 378, "column": 12 }, "end": { "line": 378, "column": 41 } }, "left": { "type": "BinaryExpression", "start": 13866, "end": 13879, "loc": { "start": { "line": 378, "column": 12 }, "end": { "line": 378, "column": 25 } }, "left": { "type": "MemberExpression", "start": 13866, "end": 13872, "loc": { "start": { "line": 378, "column": 12 }, "end": { "line": 378, "column": 18 } }, "object": { "type": "Identifier", "start": 13866, "end": 13870, "loc": { "start": { "line": 378, "column": 12 }, "end": { "line": 378, "column": 16 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 13871, "end": 13872, "loc": { "start": { "line": 378, "column": 17 }, "end": { "line": 378, "column": 18 }, "identifierName": "x" }, "name": "x" }, "computed": false }, "operator": "===", "right": { "type": "UnaryExpression", "start": 13877, "end": 13879, "loc": { "start": { "line": 378, "column": 23 }, "end": { "line": 378, "column": 25 } }, "operator": "-", "prefix": true, "argument": { "type": "NumericLiteral", "start": 13878, "end": 13879, "loc": { "start": { "line": 378, "column": 24 }, "end": { "line": 378, "column": 25 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "extra": { "parenthesizedArgument": false } } }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 13883, "end": 13895, "loc": { "start": { "line": 378, "column": 29 }, "end": { "line": 378, "column": 41 } }, "left": { "type": "MemberExpression", "start": 13883, "end": 13889, "loc": { "start": { "line": 378, "column": 29 }, "end": { "line": 378, "column": 35 } }, "object": { "type": "Identifier", "start": 13883, "end": 13887, "loc": { "start": { "line": 378, "column": 29 }, "end": { "line": 378, "column": 33 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 13888, "end": 13889, "loc": { "start": { "line": 378, "column": 34 }, "end": { "line": 378, "column": 35 }, "identifierName": "y" }, "name": "y" }, "computed": false }, "operator": "===", "right": { "type": "NumericLiteral", "start": 13894, "end": 13895, "loc": { "start": { "line": 378, "column": 40 }, "end": { "line": 378, "column": 41 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } }, "consequent": { "type": "BlockStatement", "start": 13897, "end": 14117, "loc": { "start": { "line": 378, "column": 43 }, "end": { "line": 382, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 13912, "end": 13991, "loc": { "start": { "line": 379, "column": 12 }, "end": { "line": 379, "column": 91 } }, "declarations": [ { "type": "VariableDeclarator", "start": 13918, "end": 13990, "loc": { "start": { "line": 379, "column": 18 }, "end": { "line": 379, "column": 90 } }, "id": { "type": "Identifier", "start": 13918, "end": 13922, "loc": { "start": { "line": 379, "column": 18 }, "end": { "line": 379, "column": 22 }, "identifierName": "item" }, "name": "item" }, "init": { "type": "CallExpression", "start": 13925, "end": 13990, "loc": { "start": { "line": 379, "column": 25 }, "end": { "line": 379, "column": 90 } }, "callee": { "type": "MemberExpression", "start": 13925, "end": 13978, "loc": { "start": { "line": 379, "column": 25 }, "end": { "line": 379, "column": 78 } }, "object": { "type": "MemberExpression", "start": 13925, "end": 13953, "loc": { "start": { "line": 379, "column": 25 }, "end": { "line": 379, "column": 53 } }, "object": { "type": "MemberExpression", "start": 13925, "end": 13934, "loc": { "start": { "line": 379, "column": 25 }, "end": { "line": 379, "column": 34 } }, "object": { "type": "Identifier", "start": 13925, "end": 13929, "loc": { "start": { "line": 379, "column": 25 }, "end": { "line": 379, "column": 29 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 13930, "end": 13934, "loc": { "start": { "line": 379, "column": 30 }, "end": { "line": 379, "column": 34 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 13935, "end": 13953, "loc": { "start": { "line": 379, "column": 35 }, "end": { "line": 379, "column": 53 }, "identifierName": "shapeDefinitionMgr" }, "name": "shapeDefinitionMgr" }, "computed": false }, "property": { "type": "Identifier", "start": 13954, "end": 13978, "loc": { "start": { "line": 379, "column": 54 }, "end": { "line": 379, "column": 78 }, "identifierName": "getShapeItemFromShortKey" }, "name": "getShapeItemFromShortKey" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 13979, "end": 13989, "loc": { "start": { "line": 379, "column": 79 }, "end": { "line": 379, "column": 89 } }, "extra": { "rawValue": "CuCuCuCu", "raw": "\"CuCuCuCu\"" }, "value": "CuCuCuCu" } ] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 14005, "end": 14080, "loc": { "start": { "line": 380, "column": 12 }, "end": { "line": 380, "column": 87 } }, "expression": { "type": "CallExpression", "start": 14005, "end": 14079, "loc": { "start": { "line": 380, "column": 12 }, "end": { "line": 380, "column": 86 } }, "callee": { "type": "MemberExpression", "start": 14005, "end": 14031, "loc": { "start": { "line": 380, "column": 12 }, "end": { "line": 380, "column": 38 } }, "object": { "type": "Identifier", "start": 14005, "end": 14009, "loc": { "start": { "line": 380, "column": 12 }, "end": { "line": 380, "column": 16 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 14010, "end": 14031, "loc": { "start": { "line": 380, "column": 17 }, "end": { "line": 380, "column": 38 }, "identifierName": "internalGeneratePatch" }, "name": "internalGeneratePatch" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 14032, "end": 14035, "loc": { "start": { "line": 380, "column": 39 }, "end": { "line": 380, "column": 42 }, "identifierName": "rng" }, "name": "rng" }, { "type": "NumericLiteral", "start": 14037, "end": 14038, "loc": { "start": { "line": 380, "column": 44 }, "end": { "line": 380, "column": 45 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 }, { "type": "Identifier", "start": 14040, "end": 14044, "loc": { "start": { "line": 380, "column": 47 }, "end": { "line": 380, "column": 51 }, "identifierName": "item" }, "name": "item" }, { "type": "BinaryExpression", "start": 14046, "end": 14075, "loc": { "start": { "line": 380, "column": 53 }, "end": { "line": 380, "column": 82 } }, "left": { "type": "MemberExpression", "start": 14046, "end": 14071, "loc": { "start": { "line": 380, "column": 53 }, "end": { "line": 380, "column": 78 } }, "object": { "type": "Identifier", "start": 14046, "end": 14058, "loc": { "start": { "line": 380, "column": 53 }, "end": { "line": 380, "column": 65 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 14059, "end": 14071, "loc": { "start": { "line": 380, "column": 66 }, "end": { "line": 380, "column": 78 }, "identifierName": "mapChunkSize" }, "name": "mapChunkSize" }, "computed": false }, "operator": "-", "right": { "type": "NumericLiteral", "start": 14074, "end": 14075, "loc": { "start": { "line": 380, "column": 81 }, "end": { "line": 380, "column": 82 } }, "extra": { "rawValue": 9, "raw": "9" }, "value": 9 } }, { "type": "NumericLiteral", "start": 14077, "end": 14078, "loc": { "start": { "line": 380, "column": 84 }, "end": { "line": 380, "column": 85 } }, "extra": { "rawValue": 7, "raw": "7" }, "value": 7 } ] } }, { "type": "ReturnStatement", "start": 14094, "end": 14106, "loc": { "start": { "line": 381, "column": 12 }, "end": { "line": 381, "column": 24 } }, "argument": { "type": "BooleanLiteral", "start": 14101, "end": 14105, "loc": { "start": { "line": 381, "column": 19 }, "end": { "line": 381, "column": 23 } }, "value": true } } ], "directives": [] }, "alternate": null } ], "directives": [] } }, { "type": "ArrowFunctionExpression", "start": 14131, "end": 14419, "loc": { "start": { "line": 384, "column": 4 }, "end": { "line": 390, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 14132, "end": 14136, "loc": { "start": { "line": 384, "column": 5 }, "end": { "line": 384, "column": 9 }, "identifierName": "self" }, "name": "self" }, { "type": "Identifier", "start": 14138, "end": 14141, "loc": { "start": { "line": 384, "column": 11 }, "end": { "line": 384, "column": 14 }, "identifierName": "rng" }, "name": "rng" } ], "body": { "type": "BlockStatement", "start": 14146, "end": 14419, "loc": { "start": { "line": 384, "column": 19 }, "end": { "line": 390, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 14157, "end": 14412, "loc": { "start": { "line": 385, "column": 8 }, "end": { "line": 389, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 14161, "end": 14190, "loc": { "start": { "line": 385, "column": 12 }, "end": { "line": 385, "column": 41 } }, "left": { "type": "BinaryExpression", "start": 14161, "end": 14173, "loc": { "start": { "line": 385, "column": 12 }, "end": { "line": 385, "column": 24 } }, "left": { "type": "MemberExpression", "start": 14161, "end": 14167, "loc": { "start": { "line": 385, "column": 12 }, "end": { "line": 385, "column": 18 } }, "object": { "type": "Identifier", "start": 14161, "end": 14165, "loc": { "start": { "line": 385, "column": 12 }, "end": { "line": 385, "column": 16 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 14166, "end": 14167, "loc": { "start": { "line": 385, "column": 17 }, "end": { "line": 385, "column": 18 }, "identifierName": "x" }, "name": "x" }, "computed": false }, "operator": "===", "right": { "type": "NumericLiteral", "start": 14172, "end": 14173, "loc": { "start": { "line": 385, "column": 23 }, "end": { "line": 385, "column": 24 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 14177, "end": 14190, "loc": { "start": { "line": 385, "column": 28 }, "end": { "line": 385, "column": 41 } }, "left": { "type": "MemberExpression", "start": 14177, "end": 14183, "loc": { "start": { "line": 385, "column": 28 }, "end": { "line": 385, "column": 34 } }, "object": { "type": "Identifier", "start": 14177, "end": 14181, "loc": { "start": { "line": 385, "column": 28 }, "end": { "line": 385, "column": 32 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 14182, "end": 14183, "loc": { "start": { "line": 385, "column": 33 }, "end": { "line": 385, "column": 34 }, "identifierName": "y" }, "name": "y" }, "computed": false }, "operator": "===", "right": { "type": "UnaryExpression", "start": 14188, "end": 14190, "loc": { "start": { "line": 385, "column": 39 }, "end": { "line": 385, "column": 41 } }, "operator": "-", "prefix": true, "argument": { "type": "NumericLiteral", "start": 14189, "end": 14190, "loc": { "start": { "line": 385, "column": 40 }, "end": { "line": 385, "column": 41 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "extra": { "parenthesizedArgument": false } } } }, "consequent": { "type": "BlockStatement", "start": 14192, "end": 14412, "loc": { "start": { "line": 385, "column": 43 }, "end": { "line": 389, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 14207, "end": 14286, "loc": { "start": { "line": 386, "column": 12 }, "end": { "line": 386, "column": 91 } }, "declarations": [ { "type": "VariableDeclarator", "start": 14213, "end": 14285, "loc": { "start": { "line": 386, "column": 18 }, "end": { "line": 386, "column": 90 } }, "id": { "type": "Identifier", "start": 14213, "end": 14217, "loc": { "start": { "line": 386, "column": 18 }, "end": { "line": 386, "column": 22 }, "identifierName": "item" }, "name": "item" }, "init": { "type": "CallExpression", "start": 14220, "end": 14285, "loc": { "start": { "line": 386, "column": 25 }, "end": { "line": 386, "column": 90 } }, "callee": { "type": "MemberExpression", "start": 14220, "end": 14273, "loc": { "start": { "line": 386, "column": 25 }, "end": { "line": 386, "column": 78 } }, "object": { "type": "MemberExpression", "start": 14220, "end": 14248, "loc": { "start": { "line": 386, "column": 25 }, "end": { "line": 386, "column": 53 } }, "object": { "type": "MemberExpression", "start": 14220, "end": 14229, "loc": { "start": { "line": 386, "column": 25 }, "end": { "line": 386, "column": 34 } }, "object": { "type": "Identifier", "start": 14220, "end": 14224, "loc": { "start": { "line": 386, "column": 25 }, "end": { "line": 386, "column": 29 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 14225, "end": 14229, "loc": { "start": { "line": 386, "column": 30 }, "end": { "line": 386, "column": 34 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 14230, "end": 14248, "loc": { "start": { "line": 386, "column": 35 }, "end": { "line": 386, "column": 53 }, "identifierName": "shapeDefinitionMgr" }, "name": "shapeDefinitionMgr" }, "computed": false }, "property": { "type": "Identifier", "start": 14249, "end": 14273, "loc": { "start": { "line": 386, "column": 54 }, "end": { "line": 386, "column": 78 }, "identifierName": "getShapeItemFromShortKey" }, "name": "getShapeItemFromShortKey" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 14274, "end": 14284, "loc": { "start": { "line": 386, "column": 79 }, "end": { "line": 386, "column": 89 } }, "extra": { "rawValue": "RuRuRuRu", "raw": "\"RuRuRuRu\"" }, "value": "RuRuRuRu" } ] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 14300, "end": 14375, "loc": { "start": { "line": 387, "column": 12 }, "end": { "line": 387, "column": 87 } }, "expression": { "type": "CallExpression", "start": 14300, "end": 14374, "loc": { "start": { "line": 387, "column": 12 }, "end": { "line": 387, "column": 86 } }, "callee": { "type": "MemberExpression", "start": 14300, "end": 14326, "loc": { "start": { "line": 387, "column": 12 }, "end": { "line": 387, "column": 38 } }, "object": { "type": "Identifier", "start": 14300, "end": 14304, "loc": { "start": { "line": 387, "column": 12 }, "end": { "line": 387, "column": 16 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 14305, "end": 14326, "loc": { "start": { "line": 387, "column": 17 }, "end": { "line": 387, "column": 38 }, "identifierName": "internalGeneratePatch" }, "name": "internalGeneratePatch" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 14327, "end": 14330, "loc": { "start": { "line": 387, "column": 39 }, "end": { "line": 387, "column": 42 }, "identifierName": "rng" }, "name": "rng" }, { "type": "NumericLiteral", "start": 14332, "end": 14333, "loc": { "start": { "line": 387, "column": 44 }, "end": { "line": 387, "column": 45 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 }, { "type": "Identifier", "start": 14335, "end": 14339, "loc": { "start": { "line": 387, "column": 47 }, "end": { "line": 387, "column": 51 }, "identifierName": "item" }, "name": "item" }, { "type": "NumericLiteral", "start": 14341, "end": 14342, "loc": { "start": { "line": 387, "column": 53 }, "end": { "line": 387, "column": 54 } }, "extra": { "rawValue": 5, "raw": "5" }, "value": 5 }, { "type": "BinaryExpression", "start": 14344, "end": 14373, "loc": { "start": { "line": 387, "column": 56 }, "end": { "line": 387, "column": 85 } }, "left": { "type": "MemberExpression", "start": 14344, "end": 14369, "loc": { "start": { "line": 387, "column": 56 }, "end": { "line": 387, "column": 81 } }, "object": { "type": "Identifier", "start": 14344, "end": 14356, "loc": { "start": { "line": 387, "column": 56 }, "end": { "line": 387, "column": 68 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 14357, "end": 14369, "loc": { "start": { "line": 387, "column": 69 }, "end": { "line": 387, "column": 81 }, "identifierName": "mapChunkSize" }, "name": "mapChunkSize" }, "computed": false }, "operator": "-", "right": { "type": "NumericLiteral", "start": 14372, "end": 14373, "loc": { "start": { "line": 387, "column": 84 }, "end": { "line": 387, "column": 85 } }, "extra": { "rawValue": 7, "raw": "7" }, "value": 7 } } ] } }, { "type": "ReturnStatement", "start": 14389, "end": 14401, "loc": { "start": { "line": 388, "column": 12 }, "end": { "line": 388, "column": 24 } }, "argument": { "type": "BooleanLiteral", "start": 14396, "end": 14400, "loc": { "start": { "line": 388, "column": 19 }, "end": { "line": 388, "column": 23 } }, "value": true } } ], "directives": [] }, "alternate": null } ], "directives": [] } }, { "type": "ArrowFunctionExpression", "start": 14426, "end": 14627, "loc": { "start": { "line": 391, "column": 4 }, "end": { "line": 396, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 14427, "end": 14431, "loc": { "start": { "line": 391, "column": 5 }, "end": { "line": 391, "column": 9 }, "identifierName": "self" }, "name": "self" }, { "type": "Identifier", "start": 14433, "end": 14436, "loc": { "start": { "line": 391, "column": 11 }, "end": { "line": 391, "column": 14 }, "identifierName": "rng" }, "name": "rng" } ], "body": { "type": "BlockStatement", "start": 14441, "end": 14627, "loc": { "start": { "line": 391, "column": 19 }, "end": { "line": 396, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 14452, "end": 14620, "loc": { "start": { "line": 392, "column": 8 }, "end": { "line": 395, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 14456, "end": 14486, "loc": { "start": { "line": 392, "column": 12 }, "end": { "line": 392, "column": 42 } }, "left": { "type": "BinaryExpression", "start": 14456, "end": 14469, "loc": { "start": { "line": 392, "column": 12 }, "end": { "line": 392, "column": 25 } }, "left": { "type": "MemberExpression", "start": 14456, "end": 14462, "loc": { "start": { "line": 392, "column": 12 }, "end": { "line": 392, "column": 18 } }, "object": { "type": "Identifier", "start": 14456, "end": 14460, "loc": { "start": { "line": 392, "column": 12 }, "end": { "line": 392, "column": 16 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 14461, "end": 14462, "loc": { "start": { "line": 392, "column": 17 }, "end": { "line": 392, "column": 18 }, "identifierName": "x" }, "name": "x" }, "computed": false }, "operator": "===", "right": { "type": "UnaryExpression", "start": 14467, "end": 14469, "loc": { "start": { "line": 392, "column": 23 }, "end": { "line": 392, "column": 25 } }, "operator": "-", "prefix": true, "argument": { "type": "NumericLiteral", "start": 14468, "end": 14469, "loc": { "start": { "line": 392, "column": 24 }, "end": { "line": 392, "column": 25 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "extra": { "parenthesizedArgument": false } } }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 14473, "end": 14486, "loc": { "start": { "line": 392, "column": 29 }, "end": { "line": 392, "column": 42 } }, "left": { "type": "MemberExpression", "start": 14473, "end": 14479, "loc": { "start": { "line": 392, "column": 29 }, "end": { "line": 392, "column": 35 } }, "object": { "type": "Identifier", "start": 14473, "end": 14477, "loc": { "start": { "line": 392, "column": 29 }, "end": { "line": 392, "column": 33 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 14478, "end": 14479, "loc": { "start": { "line": 392, "column": 34 }, "end": { "line": 392, "column": 35 }, "identifierName": "y" }, "name": "y" }, "computed": false }, "operator": "===", "right": { "type": "UnaryExpression", "start": 14484, "end": 14486, "loc": { "start": { "line": 392, "column": 40 }, "end": { "line": 392, "column": 42 } }, "operator": "-", "prefix": true, "argument": { "type": "NumericLiteral", "start": 14485, "end": 14486, "loc": { "start": { "line": 392, "column": 41 }, "end": { "line": 392, "column": 42 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "extra": { "parenthesizedArgument": false } } } }, "consequent": { "type": "BlockStatement", "start": 14488, "end": 14620, "loc": { "start": { "line": 392, "column": 44 }, "end": { "line": 395, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 14503, "end": 14583, "loc": { "start": { "line": 393, "column": 12 }, "end": { "line": 393, "column": 92 } }, "expression": { "type": "CallExpression", "start": 14503, "end": 14582, "loc": { "start": { "line": 393, "column": 12 }, "end": { "line": 393, "column": 91 } }, "callee": { "type": "MemberExpression", "start": 14503, "end": 14529, "loc": { "start": { "line": 393, "column": 12 }, "end": { "line": 393, "column": 38 } }, "object": { "type": "Identifier", "start": 14503, "end": 14507, "loc": { "start": { "line": 393, "column": 12 }, "end": { "line": 393, "column": 16 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 14508, "end": 14529, "loc": { "start": { "line": 393, "column": 17 }, "end": { "line": 393, "column": 38 }, "identifierName": "internalGeneratePatch" }, "name": "internalGeneratePatch" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 14530, "end": 14533, "loc": { "start": { "line": 393, "column": 39 }, "end": { "line": 393, "column": 42 }, "identifierName": "rng" }, "name": "rng" }, { "type": "NumericLiteral", "start": 14535, "end": 14536, "loc": { "start": { "line": 393, "column": 44 }, "end": { "line": 393, "column": 45 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 }, { "type": "MemberExpression", "start": 14538, "end": 14581, "loc": { "start": { "line": 393, "column": 47 }, "end": { "line": 393, "column": 90 } }, "object": { "type": "MemberExpression", "start": 14538, "end": 14563, "loc": { "start": { "line": 393, "column": 47 }, "end": { "line": 393, "column": 72 } }, "object": { "type": "Identifier", "start": 14538, "end": 14547, "loc": { "start": { "line": 393, "column": 47 }, "end": { "line": 393, "column": 56 }, "identifierName": "ColorItem" }, "name": "ColorItem" }, "property": { "type": "Identifier", "start": 14548, "end": 14563, "loc": { "start": { "line": 393, "column": 57 }, "end": { "line": 393, "column": 72 }, "identifierName": "ITEM_SINGLETONS" }, "name": "ITEM_SINGLETONS" }, "computed": false }, "property": { "type": "MemberExpression", "start": 14564, "end": 14580, "loc": { "start": { "line": 393, "column": 73 }, "end": { "line": 393, "column": 89 } }, "object": { "type": "Identifier", "start": 14564, "end": 14574, "loc": { "start": { "line": 393, "column": 73 }, "end": { "line": 393, "column": 83 }, "identifierName": "enumColors" }, "name": "enumColors" }, "property": { "type": "Identifier", "start": 14575, "end": 14580, "loc": { "start": { "line": 393, "column": 84 }, "end": { "line": 393, "column": 89 }, "identifierName": "green" }, "name": "green" }, "computed": false }, "computed": true } ] } }, { "type": "ReturnStatement", "start": 14597, "end": 14609, "loc": { "start": { "line": 394, "column": 12 }, "end": { "line": 394, "column": 24 } }, "argument": { "type": "BooleanLiteral", "start": 14604, "end": 14608, "loc": { "start": { "line": 394, "column": 19 }, "end": { "line": 394, "column": 23 } }, "value": true } } ], "directives": [] }, "alternate": null } ], "directives": [] } }, { "type": "ArrowFunctionExpression", "start": 14634, "end": 14922, "loc": { "start": { "line": 397, "column": 4 }, "end": { "line": 403, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 14635, "end": 14639, "loc": { "start": { "line": 397, "column": 5 }, "end": { "line": 397, "column": 9 }, "identifierName": "self" }, "name": "self" }, { "type": "Identifier", "start": 14641, "end": 14644, "loc": { "start": { "line": 397, "column": 11 }, "end": { "line": 397, "column": 14 }, "identifierName": "rng" }, "name": "rng" } ], "body": { "type": "BlockStatement", "start": 14649, "end": 14922, "loc": { "start": { "line": 397, "column": 19 }, "end": { "line": 403, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 14660, "end": 14915, "loc": { "start": { "line": 398, "column": 8 }, "end": { "line": 402, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 14664, "end": 14693, "loc": { "start": { "line": 398, "column": 12 }, "end": { "line": 398, "column": 41 } }, "left": { "type": "BinaryExpression", "start": 14664, "end": 14676, "loc": { "start": { "line": 398, "column": 12 }, "end": { "line": 398, "column": 24 } }, "left": { "type": "MemberExpression", "start": 14664, "end": 14670, "loc": { "start": { "line": 398, "column": 12 }, "end": { "line": 398, "column": 18 } }, "object": { "type": "Identifier", "start": 14664, "end": 14668, "loc": { "start": { "line": 398, "column": 12 }, "end": { "line": 398, "column": 16 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 14669, "end": 14670, "loc": { "start": { "line": 398, "column": 17 }, "end": { "line": 398, "column": 18 }, "identifierName": "x" }, "name": "x" }, "computed": false }, "operator": "===", "right": { "type": "NumericLiteral", "start": 14675, "end": 14676, "loc": { "start": { "line": 398, "column": 23 }, "end": { "line": 398, "column": 24 } }, "extra": { "rawValue": 5, "raw": "5" }, "value": 5 } }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 14680, "end": 14693, "loc": { "start": { "line": 398, "column": 28 }, "end": { "line": 398, "column": 41 } }, "left": { "type": "MemberExpression", "start": 14680, "end": 14686, "loc": { "start": { "line": 398, "column": 28 }, "end": { "line": 398, "column": 34 } }, "object": { "type": "Identifier", "start": 14680, "end": 14684, "loc": { "start": { "line": 398, "column": 28 }, "end": { "line": 398, "column": 32 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 14685, "end": 14686, "loc": { "start": { "line": 398, "column": 33 }, "end": { "line": 398, "column": 34 }, "identifierName": "y" }, "name": "y" }, "computed": false }, "operator": "===", "right": { "type": "UnaryExpression", "start": 14691, "end": 14693, "loc": { "start": { "line": 398, "column": 39 }, "end": { "line": 398, "column": 41 } }, "operator": "-", "prefix": true, "argument": { "type": "NumericLiteral", "start": 14692, "end": 14693, "loc": { "start": { "line": 398, "column": 40 }, "end": { "line": 398, "column": 41 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 }, "extra": { "parenthesizedArgument": false } } } }, "consequent": { "type": "BlockStatement", "start": 14695, "end": 14915, "loc": { "start": { "line": 398, "column": 43 }, "end": { "line": 402, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 14710, "end": 14789, "loc": { "start": { "line": 399, "column": 12 }, "end": { "line": 399, "column": 91 } }, "declarations": [ { "type": "VariableDeclarator", "start": 14716, "end": 14788, "loc": { "start": { "line": 399, "column": 18 }, "end": { "line": 399, "column": 90 } }, "id": { "type": "Identifier", "start": 14716, "end": 14720, "loc": { "start": { "line": 399, "column": 18 }, "end": { "line": 399, "column": 22 }, "identifierName": "item" }, "name": "item" }, "init": { "type": "CallExpression", "start": 14723, "end": 14788, "loc": { "start": { "line": 399, "column": 25 }, "end": { "line": 399, "column": 90 } }, "callee": { "type": "MemberExpression", "start": 14723, "end": 14776, "loc": { "start": { "line": 399, "column": 25 }, "end": { "line": 399, "column": 78 } }, "object": { "type": "MemberExpression", "start": 14723, "end": 14751, "loc": { "start": { "line": 399, "column": 25 }, "end": { "line": 399, "column": 53 } }, "object": { "type": "MemberExpression", "start": 14723, "end": 14732, "loc": { "start": { "line": 399, "column": 25 }, "end": { "line": 399, "column": 34 } }, "object": { "type": "Identifier", "start": 14723, "end": 14727, "loc": { "start": { "line": 399, "column": 25 }, "end": { "line": 399, "column": 29 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 14728, "end": 14732, "loc": { "start": { "line": 399, "column": 30 }, "end": { "line": 399, "column": 34 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 14733, "end": 14751, "loc": { "start": { "line": 399, "column": 35 }, "end": { "line": 399, "column": 53 }, "identifierName": "shapeDefinitionMgr" }, "name": "shapeDefinitionMgr" }, "computed": false }, "property": { "type": "Identifier", "start": 14752, "end": 14776, "loc": { "start": { "line": 399, "column": 54 }, "end": { "line": 399, "column": 78 }, "identifierName": "getShapeItemFromShortKey" }, "name": "getShapeItemFromShortKey" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 14777, "end": 14787, "loc": { "start": { "line": 399, "column": 79 }, "end": { "line": 399, "column": 89 } }, "extra": { "rawValue": "SuSuSuSu", "raw": "\"SuSuSuSu\"" }, "value": "SuSuSuSu" } ] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 14803, "end": 14878, "loc": { "start": { "line": 400, "column": 12 }, "end": { "line": 400, "column": 87 } }, "expression": { "type": "CallExpression", "start": 14803, "end": 14877, "loc": { "start": { "line": 400, "column": 12 }, "end": { "line": 400, "column": 86 } }, "callee": { "type": "MemberExpression", "start": 14803, "end": 14829, "loc": { "start": { "line": 400, "column": 12 }, "end": { "line": 400, "column": 38 } }, "object": { "type": "Identifier", "start": 14803, "end": 14807, "loc": { "start": { "line": 400, "column": 12 }, "end": { "line": 400, "column": 16 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 14808, "end": 14829, "loc": { "start": { "line": 400, "column": 17 }, "end": { "line": 400, "column": 38 }, "identifierName": "internalGeneratePatch" }, "name": "internalGeneratePatch" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 14830, "end": 14833, "loc": { "start": { "line": 400, "column": 39 }, "end": { "line": 400, "column": 42 }, "identifierName": "rng" }, "name": "rng" }, { "type": "NumericLiteral", "start": 14835, "end": 14836, "loc": { "start": { "line": 400, "column": 44 }, "end": { "line": 400, "column": 45 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 }, { "type": "Identifier", "start": 14838, "end": 14842, "loc": { "start": { "line": 400, "column": 47 }, "end": { "line": 400, "column": 51 }, "identifierName": "item" }, "name": "item" }, { "type": "NumericLiteral", "start": 14844, "end": 14845, "loc": { "start": { "line": 400, "column": 53 }, "end": { "line": 400, "column": 54 } }, "extra": { "rawValue": 5, "raw": "5" }, "value": 5 }, { "type": "BinaryExpression", "start": 14847, "end": 14876, "loc": { "start": { "line": 400, "column": 56 }, "end": { "line": 400, "column": 85 } }, "left": { "type": "MemberExpression", "start": 14847, "end": 14872, "loc": { "start": { "line": 400, "column": 56 }, "end": { "line": 400, "column": 81 } }, "object": { "type": "Identifier", "start": 14847, "end": 14859, "loc": { "start": { "line": 400, "column": 56 }, "end": { "line": 400, "column": 68 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 14860, "end": 14872, "loc": { "start": { "line": 400, "column": 69 }, "end": { "line": 400, "column": 81 }, "identifierName": "mapChunkSize" }, "name": "mapChunkSize" }, "computed": false }, "operator": "-", "right": { "type": "NumericLiteral", "start": 14875, "end": 14876, "loc": { "start": { "line": 400, "column": 84 }, "end": { "line": 400, "column": 85 } }, "extra": { "rawValue": 7, "raw": "7" }, "value": 7 } } ] } }, { "type": "ReturnStatement", "start": 14892, "end": 14904, "loc": { "start": { "line": 401, "column": 12 }, "end": { "line": 401, "column": 24 } }, "argument": { "type": "BooleanLiteral", "start": 14899, "end": 14903, "loc": { "start": { "line": 401, "column": 19 }, "end": { "line": 401, "column": 23 } }, "value": true } } ], "directives": [] }, "alternate": null } ], "directives": [] } } ] } } }, { "type": "ExpressionStatement", "start": 14931, "end": 20041, "loc": { "start": { "line": 406, "column": 0 }, "end": { "line": 521, "column": 2 } }, "expression": { "type": "AssignmentExpression", "start": 14931, "end": 20040, "loc": { "start": { "line": 406, "column": 0 }, "end": { "line": 521, "column": 1 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 14931, "end": 14951, "loc": { "start": { "line": 406, "column": 0 }, "end": { "line": 406, "column": 20 } }, "object": { "type": "Identifier", "start": 14931, "end": 14939, "loc": { "start": { "line": 406, "column": 0 }, "end": { "line": 406, "column": 8 }, "identifierName": "MapChunk" }, "name": "MapChunk" }, "property": { "type": "Identifier", "start": 14940, "end": 14951, "loc": { "start": { "line": 406, "column": 9 }, "end": { "line": 406, "column": 20 }, "identifierName": "lowerLayers" }, "name": "lowerLayers" }, "computed": false }, "right": { "type": "ArrayExpression", "start": 14954, "end": 20040, "loc": { "start": { "line": 406, "column": 23 }, "end": { "line": 521, "column": 1 } }, "elements": [ { "type": "ArrowFunctionExpression", "start": 14961, "end": 15763, "loc": { "start": { "line": 407, "column": 4 }, "end": { "line": 424, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 14962, "end": 14966, "loc": { "start": { "line": 407, "column": 5 }, "end": { "line": 407, "column": 9 }, "identifierName": "self" }, "name": "self" }, { "type": "Identifier", "start": 14968, "end": 14971, "loc": { "start": { "line": 407, "column": 11 }, "end": { "line": 407, "column": 14 }, "identifierName": "rng" }, "name": "rng" }, { "type": "Identifier", "start": 14973, "end": 14997, "loc": { "start": { "line": 407, "column": 16 }, "end": { "line": 407, "column": 40 }, "identifierName": "distanceToOriginInChunks" }, "name": "distanceToOriginInChunks" } ], "body": { "type": "BlockStatement", "start": 15002, "end": 15763, "loc": { "start": { "line": 407, "column": 45 }, "end": { "line": 424, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 15080, "end": 15160, "loc": { "start": { "line": 409, "column": 8 }, "end": { "line": 409, "column": 88 } }, "declarations": [ { "type": "VariableDeclarator", "start": 15086, "end": 15159, "loc": { "start": { "line": 409, "column": 14 }, "end": { "line": 409, "column": 87 } }, "id": { "type": "Identifier", "start": 15086, "end": 15102, "loc": { "start": { "line": 409, "column": 14 }, "end": { "line": 409, "column": 30 }, "identifierName": "colorPatchChance" }, "name": "colorPatchChance", "leadingComments": null }, "init": { "type": "BinaryExpression", "start": 15105, "end": 15159, "loc": { "start": { "line": 409, "column": 33 }, "end": { "line": 409, "column": 87 } }, "left": { "type": "NumericLiteral", "start": 15105, "end": 15108, "loc": { "start": { "line": 409, "column": 33 }, "end": { "line": 409, "column": 36 } }, "extra": { "rawValue": 0.9, "raw": "0.9" }, "value": 0.9 }, "operator": "-", "right": { "type": "BinaryExpression", "start": 15111, "end": 15159, "loc": { "start": { "line": 409, "column": 39 }, "end": { "line": 409, "column": 87 } }, "left": { "type": "CallExpression", "start": 15111, "end": 15153, "loc": { "start": { "line": 409, "column": 39 }, "end": { "line": 409, "column": 81 } }, "callee": { "type": "Identifier", "start": 15111, "end": 15116, "loc": { "start": { "line": 409, "column": 39 }, "end": { "line": 409, "column": 44 }, "identifierName": "clamp" }, "name": "clamp" }, "arguments": [ { "type": "BinaryExpression", "start": 15117, "end": 15146, "loc": { "start": { "line": 409, "column": 45 }, "end": { "line": 409, "column": 74 } }, "left": { "type": "Identifier", "start": 15117, "end": 15141, "loc": { "start": { "line": 409, "column": 45 }, "end": { "line": 409, "column": 69 }, "identifierName": "distanceToOriginInChunks" }, "name": "distanceToOriginInChunks" }, "operator": "/", "right": { "type": "NumericLiteral", "start": 15144, "end": 15146, "loc": { "start": { "line": 409, "column": 72 }, "end": { "line": 409, "column": 74 } }, "extra": { "rawValue": 25, "raw": "25" }, "value": 25 } }, { "type": "NumericLiteral", "start": 15148, "end": 15149, "loc": { "start": { "line": 409, "column": 76 }, "end": { "line": 409, "column": 77 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "NumericLiteral", "start": 15151, "end": 15152, "loc": { "start": { "line": 409, "column": 79 }, "end": { "line": 409, "column": 80 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } ] }, "operator": "*", "right": { "type": "NumericLiteral", "start": 15156, "end": 15159, "loc": { "start": { "line": 409, "column": 84 }, "end": { "line": 409, "column": 87 } }, "extra": { "rawValue": 0.5, "raw": "0.5" }, "value": 0.5 } } }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Determine how likely it is that there is a color patch", "start": 15013, "end": 15070, "loc": { "start": { "line": 408, "column": 8 }, "end": { "line": 408, "column": 65 } } } ] }, { "type": "IfStatement", "start": 15172, "end": 15756, "loc": { "start": { "line": 411, "column": 8 }, "end": { "line": 423, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 15176, "end": 15209, "loc": { "start": { "line": 411, "column": 12 }, "end": { "line": 411, "column": 45 } }, "left": { "type": "CallExpression", "start": 15176, "end": 15186, "loc": { "start": { "line": 411, "column": 12 }, "end": { "line": 411, "column": 22 } }, "callee": { "type": "MemberExpression", "start": 15176, "end": 15184, "loc": { "start": { "line": 411, "column": 12 }, "end": { "line": 411, "column": 20 } }, "object": { "type": "Identifier", "start": 15176, "end": 15179, "loc": { "start": { "line": 411, "column": 12 }, "end": { "line": 411, "column": 15 }, "identifierName": "rng" }, "name": "rng" }, "property": { "type": "Identifier", "start": 15180, "end": 15184, "loc": { "start": { "line": 411, "column": 16 }, "end": { "line": 411, "column": 20 }, "identifierName": "next" }, "name": "next" }, "computed": false }, "arguments": [] }, "operator": "<", "right": { "type": "BinaryExpression", "start": 15189, "end": 15209, "loc": { "start": { "line": 411, "column": 25 }, "end": { "line": 411, "column": 45 } }, "left": { "type": "Identifier", "start": 15189, "end": 15205, "loc": { "start": { "line": 411, "column": 25 }, "end": { "line": 411, "column": 41 }, "identifierName": "colorPatchChance" }, "name": "colorPatchChance" }, "operator": "/", "right": { "type": "NumericLiteral", "start": 15208, "end": 15209, "loc": { "start": { "line": 411, "column": 44 }, "end": { "line": 411, "column": 45 } }, "extra": { "rawValue": 4, "raw": "4" }, "value": 4 } } }, "consequent": { "type": "BlockStatement", "start": 15211, "end": 15756, "loc": { "start": { "line": 411, "column": 47 }, "end": { "line": 423, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 15226, "end": 15320, "loc": { "start": { "line": 412, "column": 12 }, "end": { "line": 412, "column": 106 } }, "declarations": [ { "type": "VariableDeclarator", "start": 15232, "end": 15319, "loc": { "start": { "line": 412, "column": 18 }, "end": { "line": 412, "column": 105 } }, "id": { "type": "Identifier", "start": 15232, "end": 15246, "loc": { "start": { "line": 412, "column": 18 }, "end": { "line": 412, "column": 32 }, "identifierName": "colorPatchSize" }, "name": "colorPatchSize" }, "init": { "type": "CallExpression", "start": 15249, "end": 15319, "loc": { "start": { "line": 412, "column": 35 }, "end": { "line": 412, "column": 105 } }, "callee": { "type": "MemberExpression", "start": 15249, "end": 15257, "loc": { "start": { "line": 412, "column": 35 }, "end": { "line": 412, "column": 43 } }, "object": { "type": "Identifier", "start": 15249, "end": 15253, "loc": { "start": { "line": 412, "column": 35 }, "end": { "line": 412, "column": 39 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 15254, "end": 15257, "loc": { "start": { "line": 412, "column": 40 }, "end": { "line": 412, "column": 43 }, "identifierName": "max" }, "name": "max" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 15258, "end": 15259, "loc": { "start": { "line": 412, "column": 44 }, "end": { "line": 412, "column": 45 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 }, { "type": "CallExpression", "start": 15261, "end": 15318, "loc": { "start": { "line": 412, "column": 47 }, "end": { "line": 412, "column": 104 } }, "callee": { "type": "MemberExpression", "start": 15261, "end": 15271, "loc": { "start": { "line": 412, "column": 47 }, "end": { "line": 412, "column": 57 } }, "object": { "type": "Identifier", "start": 15261, "end": 15265, "loc": { "start": { "line": 412, "column": 47 }, "end": { "line": 412, "column": 51 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 15266, "end": 15271, "loc": { "start": { "line": 412, "column": 52 }, "end": { "line": 412, "column": 57 }, "identifierName": "round" }, "name": "round" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 15272, "end": 15317, "loc": { "start": { "line": 412, "column": 58 }, "end": { "line": 412, "column": 103 } }, "left": { "type": "NumericLiteral", "start": 15272, "end": 15273, "loc": { "start": { "line": 412, "column": 58 }, "end": { "line": 412, "column": 59 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "operator": "+", "right": { "type": "CallExpression", "start": 15276, "end": 15317, "loc": { "start": { "line": 412, "column": 62 }, "end": { "line": 412, "column": 103 } }, "callee": { "type": "Identifier", "start": 15276, "end": 15281, "loc": { "start": { "line": 412, "column": 62 }, "end": { "line": 412, "column": 67 }, "identifierName": "clamp" }, "name": "clamp" }, "arguments": [ { "type": "BinaryExpression", "start": 15282, "end": 15310, "loc": { "start": { "line": 412, "column": 68 }, "end": { "line": 412, "column": 96 } }, "left": { "type": "Identifier", "start": 15282, "end": 15306, "loc": { "start": { "line": 412, "column": 68 }, "end": { "line": 412, "column": 92 }, "identifierName": "distanceToOriginInChunks" }, "name": "distanceToOriginInChunks" }, "operator": "/", "right": { "type": "NumericLiteral", "start": 15309, "end": 15310, "loc": { "start": { "line": 412, "column": 95 }, "end": { "line": 412, "column": 96 } }, "extra": { "rawValue": 8, "raw": "8" }, "value": 8 } }, { "type": "NumericLiteral", "start": 15312, "end": 15313, "loc": { "start": { "line": 412, "column": 98 }, "end": { "line": 412, "column": 99 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "NumericLiteral", "start": 15315, "end": 15316, "loc": { "start": { "line": 412, "column": 101 }, "end": { "line": 412, "column": 102 } }, "extra": { "rawValue": 4, "raw": "4" }, "value": 4 } ] } } ] } ] } } ], "kind": "const", "trailingComments": [ { "type": "CommentLine", "value": " First, determine available colors", "start": 15334, "end": 15370, "loc": { "start": { "line": 413, "column": 12 }, "end": { "line": 413, "column": 48 } } } ] }, { "type": "VariableDeclaration", "start": 15384, "end": 15441, "loc": { "start": { "line": 414, "column": 12 }, "end": { "line": 414, "column": 69 } }, "declarations": [ { "type": "VariableDeclarator", "start": 15388, "end": 15440, "loc": { "start": { "line": 414, "column": 16 }, "end": { "line": 414, "column": 68 } }, "id": { "type": "Identifier", "start": 15388, "end": 15403, "loc": { "start": { "line": 414, "column": 16 }, "end": { "line": 414, "column": 31 }, "identifierName": "availableColors" }, "name": "availableColors", "leadingComments": null }, "init": { "type": "ArrayExpression", "start": 15406, "end": 15440, "loc": { "start": { "line": 414, "column": 34 }, "end": { "line": 414, "column": 68 } }, "elements": [ { "type": "MemberExpression", "start": 15407, "end": 15421, "loc": { "start": { "line": 414, "column": 35 }, "end": { "line": 414, "column": 49 } }, "object": { "type": "Identifier", "start": 15407, "end": 15417, "loc": { "start": { "line": 414, "column": 35 }, "end": { "line": 414, "column": 45 }, "identifierName": "enumColors" }, "name": "enumColors" }, "property": { "type": "Identifier", "start": 15418, "end": 15421, "loc": { "start": { "line": 414, "column": 46 }, "end": { "line": 414, "column": 49 }, "identifierName": "red" }, "name": "red" }, "computed": false }, { "type": "MemberExpression", "start": 15423, "end": 15439, "loc": { "start": { "line": 414, "column": 51 }, "end": { "line": 414, "column": 67 } }, "object": { "type": "Identifier", "start": 15423, "end": 15433, "loc": { "start": { "line": 414, "column": 51 }, "end": { "line": 414, "column": 61 }, "identifierName": "enumColors" }, "name": "enumColors" }, "property": { "type": "Identifier", "start": 15434, "end": 15439, "loc": { "start": { "line": 414, "column": 62 }, "end": { "line": 414, "column": 67 }, "identifierName": "green" }, "name": "green" }, "computed": false } ] }, "leadingComments": null } ], "kind": "let", "leadingComments": [ { "type": "CommentLine", "value": " First, determine available colors", "start": 15334, "end": 15370, "loc": { "start": { "line": 413, "column": 12 }, "end": { "line": 413, "column": 48 } } } ] }, { "type": "IfStatement", "start": 15455, "end": 15561, "loc": { "start": { "line": 415, "column": 12 }, "end": { "line": 417, "column": 13 } }, "test": { "type": "BinaryExpression", "start": 15459, "end": 15487, "loc": { "start": { "line": 415, "column": 16 }, "end": { "line": 415, "column": 44 } }, "left": { "type": "Identifier", "start": 15459, "end": 15483, "loc": { "start": { "line": 415, "column": 16 }, "end": { "line": 415, "column": 40 }, "identifierName": "distanceToOriginInChunks" }, "name": "distanceToOriginInChunks" }, "operator": ">", "right": { "type": "NumericLiteral", "start": 15486, "end": 15487, "loc": { "start": { "line": 415, "column": 43 }, "end": { "line": 415, "column": 44 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } }, "consequent": { "type": "BlockStatement", "start": 15489, "end": 15561, "loc": { "start": { "line": 415, "column": 46 }, "end": { "line": 417, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 15508, "end": 15546, "loc": { "start": { "line": 416, "column": 16 }, "end": { "line": 416, "column": 54 } }, "expression": { "type": "CallExpression", "start": 15508, "end": 15545, "loc": { "start": { "line": 416, "column": 16 }, "end": { "line": 416, "column": 53 } }, "callee": { "type": "MemberExpression", "start": 15508, "end": 15528, "loc": { "start": { "line": 416, "column": 16 }, "end": { "line": 416, "column": 36 } }, "object": { "type": "Identifier", "start": 15508, "end": 15523, "loc": { "start": { "line": 416, "column": 16 }, "end": { "line": 416, "column": 31 }, "identifierName": "availableColors" }, "name": "availableColors" }, "property": { "type": "Identifier", "start": 15524, "end": 15528, "loc": { "start": { "line": 416, "column": 32 }, "end": { "line": 416, "column": 36 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 15529, "end": 15544, "loc": { "start": { "line": 416, "column": 37 }, "end": { "line": 416, "column": 52 } }, "object": { "type": "Identifier", "start": 15529, "end": 15539, "loc": { "start": { "line": 416, "column": 37 }, "end": { "line": 416, "column": 47 }, "identifierName": "enumColors" }, "name": "enumColors" }, "property": { "type": "Identifier", "start": 15540, "end": 15544, "loc": { "start": { "line": 416, "column": 48 }, "end": { "line": 416, "column": 52 }, "identifierName": "blue" }, "name": "blue" }, "computed": false } ] } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 15575, "end": 15745, "loc": { "start": { "line": 418, "column": 12 }, "end": { "line": 422, "column": 14 } }, "expression": { "type": "CallExpression", "start": 15575, "end": 15744, "loc": { "start": { "line": 418, "column": 12 }, "end": { "line": 422, "column": 13 } }, "callee": { "type": "MemberExpression", "start": 15575, "end": 15601, "loc": { "start": { "line": 418, "column": 12 }, "end": { "line": 418, "column": 38 } }, "object": { "type": "Identifier", "start": 15575, "end": 15579, "loc": { "start": { "line": 418, "column": 12 }, "end": { "line": 418, "column": 16 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 15580, "end": 15601, "loc": { "start": { "line": 418, "column": 17 }, "end": { "line": 418, "column": 38 }, "identifierName": "internalGeneratePatch" }, "name": "internalGeneratePatch" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 15620, "end": 15623, "loc": { "start": { "line": 419, "column": 16 }, "end": { "line": 419, "column": 19 }, "identifierName": "rng" }, "name": "rng" }, { "type": "Identifier", "start": 15642, "end": 15656, "loc": { "start": { "line": 420, "column": 16 }, "end": { "line": 420, "column": 30 }, "identifierName": "colorPatchSize" }, "name": "colorPatchSize" }, { "type": "MemberExpression", "start": 15675, "end": 15729, "loc": { "start": { "line": 421, "column": 16 }, "end": { "line": 421, "column": 70 } }, "object": { "type": "MemberExpression", "start": 15675, "end": 15700, "loc": { "start": { "line": 421, "column": 16 }, "end": { "line": 421, "column": 41 } }, "object": { "type": "Identifier", "start": 15675, "end": 15684, "loc": { "start": { "line": 421, "column": 16 }, "end": { "line": 421, "column": 25 }, "identifierName": "ColorItem" }, "name": "ColorItem" }, "property": { "type": "Identifier", "start": 15685, "end": 15700, "loc": { "start": { "line": 421, "column": 26 }, "end": { "line": 421, "column": 41 }, "identifierName": "ITEM_SINGLETONS" }, "name": "ITEM_SINGLETONS" }, "computed": false }, "property": { "type": "CallExpression", "start": 15701, "end": 15728, "loc": { "start": { "line": 421, "column": 42 }, "end": { "line": 421, "column": 69 } }, "callee": { "type": "MemberExpression", "start": 15701, "end": 15711, "loc": { "start": { "line": 421, "column": 42 }, "end": { "line": 421, "column": 52 } }, "object": { "type": "Identifier", "start": 15701, "end": 15704, "loc": { "start": { "line": 421, "column": 42 }, "end": { "line": 421, "column": 45 }, "identifierName": "rng" }, "name": "rng" }, "property": { "type": "Identifier", "start": 15705, "end": 15711, "loc": { "start": { "line": 421, "column": 46 }, "end": { "line": 421, "column": 52 }, "identifierName": "choice" }, "name": "choice" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 15712, "end": 15727, "loc": { "start": { "line": 421, "column": 53 }, "end": { "line": 421, "column": 68 }, "identifierName": "availableColors" }, "name": "availableColors" } ] }, "computed": true } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] } }, { "type": "ArrowFunctionExpression", "start": 15770, "end": 20036, "loc": { "start": { "line": 425, "column": 4 }, "end": { "line": 520, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 15771, "end": 15775, "loc": { "start": { "line": 425, "column": 5 }, "end": { "line": 425, "column": 9 }, "identifierName": "self" }, "name": "self" }, { "type": "Identifier", "start": 15777, "end": 15780, "loc": { "start": { "line": 425, "column": 11 }, "end": { "line": 425, "column": 14 }, "identifierName": "rng" }, "name": "rng" }, { "type": "Identifier", "start": 15782, "end": 15806, "loc": { "start": { "line": 425, "column": 16 }, "end": { "line": 425, "column": 40 }, "identifierName": "distanceToOriginInChunks" }, "name": "distanceToOriginInChunks" } ], "body": { "type": "BlockStatement", "start": 15811, "end": 20036, "loc": { "start": { "line": 425, "column": 45 }, "end": { "line": 520, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 16048, "end": 16697, "loc": { "start": { "line": 432, "column": 8 }, "end": { "line": 448, "column": 10 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16052, "end": 16696, "loc": { "start": { "line": 432, "column": 12 }, "end": { "line": 448, "column": 9 } }, "id": { "type": "Identifier", "start": 16052, "end": 16082, "loc": { "start": { "line": 432, "column": 12 }, "end": { "line": 432, "column": 42 }, "identifierName": "internalGenerateRandomSubShape" }, "name": "internalGenerateRandomSubShape", "leadingComments": null }, "init": { "type": "ArrowFunctionExpression", "start": 16085, "end": 16696, "loc": { "start": { "line": 432, "column": 45 }, "end": { "line": 448, "column": 9 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 16086, "end": 16089, "loc": { "start": { "line": 432, "column": 46 }, "end": { "line": 432, "column": 49 }, "identifierName": "rng" }, "name": "rng" }, { "type": "Identifier", "start": 16091, "end": 16098, "loc": { "start": { "line": 432, "column": 51 }, "end": { "line": 432, "column": 58 }, "identifierName": "weights" }, "name": "weights" } ], "body": { "type": "BlockStatement", "start": 16103, "end": 16696, "loc": { "start": { "line": 432, "column": 63 }, "end": { "line": 448, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 16145, "end": 16207, "loc": { "start": { "line": 434, "column": 12 }, "end": { "line": 434, "column": 74 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16151, "end": 16206, "loc": { "start": { "line": 434, "column": 18 }, "end": { "line": 434, "column": 73 } }, "id": { "type": "Identifier", "start": 16151, "end": 16154, "loc": { "start": { "line": 434, "column": 18 }, "end": { "line": 434, "column": 21 }, "identifierName": "sum" }, "name": "sum", "leadingComments": null }, "init": { "type": "CallExpression", "start": 16157, "end": 16206, "loc": { "start": { "line": 434, "column": 24 }, "end": { "line": 434, "column": 73 } }, "callee": { "type": "MemberExpression", "start": 16157, "end": 16186, "loc": { "start": { "line": 434, "column": 24 }, "end": { "line": 434, "column": 53 } }, "object": { "type": "CallExpression", "start": 16157, "end": 16179, "loc": { "start": { "line": 434, "column": 24 }, "end": { "line": 434, "column": 46 } }, "callee": { "type": "MemberExpression", "start": 16157, "end": 16170, "loc": { "start": { "line": 434, "column": 24 }, "end": { "line": 434, "column": 37 } }, "object": { "type": "Identifier", "start": 16157, "end": 16163, "loc": { "start": { "line": 434, "column": 24 }, "end": { "line": 434, "column": 30 }, "identifierName": "Object" }, "name": "Object" }, "property": { "type": "Identifier", "start": 16164, "end": 16170, "loc": { "start": { "line": 434, "column": 31 }, "end": { "line": 434, "column": 37 }, "identifierName": "values" }, "name": "values" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 16171, "end": 16178, "loc": { "start": { "line": 434, "column": 38 }, "end": { "line": 434, "column": 45 }, "identifierName": "weights" }, "name": "weights" } ] }, "property": { "type": "Identifier", "start": 16180, "end": 16186, "loc": { "start": { "line": 434, "column": 47 }, "end": { "line": 434, "column": 53 }, "identifierName": "reduce" }, "name": "reduce" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 16187, "end": 16202, "loc": { "start": { "line": 434, "column": 54 }, "end": { "line": 434, "column": 69 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 16188, "end": 16189, "loc": { "start": { "line": 434, "column": 55 }, "end": { "line": 434, "column": 56 }, "identifierName": "a" }, "name": "a" }, { "type": "Identifier", "start": 16191, "end": 16192, "loc": { "start": { "line": 434, "column": 58 }, "end": { "line": 434, "column": 59 }, "identifierName": "b" }, "name": "b" } ], "body": { "type": "BinaryExpression", "start": 16197, "end": 16202, "loc": { "start": { "line": 434, "column": 64 }, "end": { "line": 434, "column": 69 } }, "left": { "type": "Identifier", "start": 16197, "end": 16198, "loc": { "start": { "line": 434, "column": 64 }, "end": { "line": 434, "column": 65 }, "identifierName": "a" }, "name": "a" }, "operator": "+", "right": { "type": "Identifier", "start": 16201, "end": 16202, "loc": { "start": { "line": 434, "column": 68 }, "end": { "line": 434, "column": 69 }, "identifierName": "b" }, "name": "b" } } }, { "type": "NumericLiteral", "start": 16204, "end": 16205, "loc": { "start": { "line": 434, "column": 71 }, "end": { "line": 434, "column": 72 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } ] }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " @ts-ignore", "start": 16118, "end": 16131, "loc": { "start": { "line": 433, "column": 12 }, "end": { "line": 433, "column": 25 } } } ] }, { "type": "VariableDeclaration", "start": 16223, "end": 16273, "loc": { "start": { "line": 436, "column": 12 }, "end": { "line": 436, "column": 62 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16229, "end": 16272, "loc": { "start": { "line": 436, "column": 18 }, "end": { "line": 436, "column": 61 } }, "id": { "type": "Identifier", "start": 16229, "end": 16241, "loc": { "start": { "line": 436, "column": 18 }, "end": { "line": 436, "column": 30 }, "identifierName": "chosenNumber" }, "name": "chosenNumber" }, "init": { "type": "CallExpression", "start": 16244, "end": 16272, "loc": { "start": { "line": 436, "column": 33 }, "end": { "line": 436, "column": 61 } }, "callee": { "type": "MemberExpression", "start": 16244, "end": 16260, "loc": { "start": { "line": 436, "column": 33 }, "end": { "line": 436, "column": 49 } }, "object": { "type": "Identifier", "start": 16244, "end": 16247, "loc": { "start": { "line": 436, "column": 33 }, "end": { "line": 436, "column": 36 }, "identifierName": "rng" }, "name": "rng" }, "property": { "type": "Identifier", "start": 16248, "end": 16260, "loc": { "start": { "line": 436, "column": 37 }, "end": { "line": 436, "column": 49 }, "identifierName": "nextIntRange" }, "name": "nextIntRange" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 16261, "end": 16262, "loc": { "start": { "line": 436, "column": 50 }, "end": { "line": 436, "column": 51 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "BinaryExpression", "start": 16264, "end": 16271, "loc": { "start": { "line": 436, "column": 53 }, "end": { "line": 436, "column": 60 } }, "left": { "type": "Identifier", "start": 16264, "end": 16267, "loc": { "start": { "line": 436, "column": 53 }, "end": { "line": 436, "column": 56 }, "identifierName": "sum" }, "name": "sum" }, "operator": "-", "right": { "type": "NumericLiteral", "start": 16270, "end": 16271, "loc": { "start": { "line": 436, "column": 59 }, "end": { "line": 436, "column": 60 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } ] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 16287, "end": 16307, "loc": { "start": { "line": 437, "column": 12 }, "end": { "line": 437, "column": 32 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16291, "end": 16306, "loc": { "start": { "line": 437, "column": 16 }, "end": { "line": 437, "column": 31 } }, "id": { "type": "Identifier", "start": 16291, "end": 16302, "loc": { "start": { "line": 437, "column": 16 }, "end": { "line": 437, "column": 27 }, "identifierName": "accumulated" }, "name": "accumulated" }, "init": { "type": "NumericLiteral", "start": 16305, "end": 16306, "loc": { "start": { "line": 437, "column": 30 }, "end": { "line": 437, "column": 31 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, { "type": "ForInStatement", "start": 16321, "end": 16562, "loc": { "start": { "line": 438, "column": 12 }, "end": { "line": 444, "column": 13 } }, "left": { "type": "VariableDeclaration", "start": 16326, "end": 16335, "loc": { "start": { "line": 438, "column": 17 }, "end": { "line": 438, "column": 26 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16332, "end": 16335, "loc": { "start": { "line": 438, "column": 23 }, "end": { "line": 438, "column": 26 } }, "id": { "type": "Identifier", "start": 16332, "end": 16335, "loc": { "start": { "line": 438, "column": 23 }, "end": { "line": 438, "column": 26 }, "identifierName": "key" }, "name": "key" }, "init": null } ], "kind": "const" }, "right": { "type": "Identifier", "start": 16339, "end": 16346, "loc": { "start": { "line": 438, "column": 30 }, "end": { "line": 438, "column": 37 }, "identifierName": "weights" }, "name": "weights" }, "body": { "type": "BlockStatement", "start": 16348, "end": 16562, "loc": { "start": { "line": 438, "column": 39 }, "end": { "line": 444, "column": 13 } }, "body": [ { "type": "VariableDeclaration", "start": 16367, "end": 16395, "loc": { "start": { "line": 439, "column": 16 }, "end": { "line": 439, "column": 44 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16373, "end": 16394, "loc": { "start": { "line": 439, "column": 22 }, "end": { "line": 439, "column": 43 } }, "id": { "type": "Identifier", "start": 16373, "end": 16379, "loc": { "start": { "line": 439, "column": 22 }, "end": { "line": 439, "column": 28 }, "identifierName": "weight" }, "name": "weight" }, "init": { "type": "MemberExpression", "start": 16382, "end": 16394, "loc": { "start": { "line": 439, "column": 31 }, "end": { "line": 439, "column": 43 } }, "object": { "type": "Identifier", "start": 16382, "end": 16389, "loc": { "start": { "line": 439, "column": 31 }, "end": { "line": 439, "column": 38 }, "identifierName": "weights" }, "name": "weights" }, "property": { "type": "Identifier", "start": 16390, "end": 16393, "loc": { "start": { "line": 439, "column": 39 }, "end": { "line": 439, "column": 42 }, "identifierName": "key" }, "name": "key" }, "computed": true } } ], "kind": "const" }, { "type": "IfStatement", "start": 16413, "end": 16507, "loc": { "start": { "line": 440, "column": 16 }, "end": { "line": 442, "column": 17 } }, "test": { "type": "BinaryExpression", "start": 16417, "end": 16452, "loc": { "start": { "line": 440, "column": 20 }, "end": { "line": 440, "column": 55 } }, "left": { "type": "BinaryExpression", "start": 16417, "end": 16437, "loc": { "start": { "line": 440, "column": 20 }, "end": { "line": 440, "column": 40 } }, "left": { "type": "Identifier", "start": 16417, "end": 16428, "loc": { "start": { "line": 440, "column": 20 }, "end": { "line": 440, "column": 31 }, "identifierName": "accumulated" }, "name": "accumulated" }, "operator": "+", "right": { "type": "Identifier", "start": 16431, "end": 16437, "loc": { "start": { "line": 440, "column": 34 }, "end": { "line": 440, "column": 40 }, "identifierName": "weight" }, "name": "weight" } }, "operator": ">", "right": { "type": "Identifier", "start": 16440, "end": 16452, "loc": { "start": { "line": 440, "column": 43 }, "end": { "line": 440, "column": 55 }, "identifierName": "chosenNumber" }, "name": "chosenNumber" } }, "consequent": { "type": "BlockStatement", "start": 16454, "end": 16507, "loc": { "start": { "line": 440, "column": 57 }, "end": { "line": 442, "column": 17 } }, "body": [ { "type": "ReturnStatement", "start": 16477, "end": 16488, "loc": { "start": { "line": 441, "column": 20 }, "end": { "line": 441, "column": 31 } }, "argument": { "type": "Identifier", "start": 16484, "end": 16487, "loc": { "start": { "line": 441, "column": 27 }, "end": { "line": 441, "column": 30 }, "identifierName": "key" }, "name": "key" } } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 16525, "end": 16547, "loc": { "start": { "line": 443, "column": 16 }, "end": { "line": 443, "column": 38 } }, "expression": { "type": "AssignmentExpression", "start": 16525, "end": 16546, "loc": { "start": { "line": 443, "column": 16 }, "end": { "line": 443, "column": 37 } }, "operator": "+=", "left": { "type": "Identifier", "start": 16525, "end": 16536, "loc": { "start": { "line": 443, "column": 16 }, "end": { "line": 443, "column": 27 }, "identifierName": "accumulated" }, "name": "accumulated" }, "right": { "type": "Identifier", "start": 16540, "end": 16546, "loc": { "start": { "line": 443, "column": 31 }, "end": { "line": 443, "column": 37 }, "identifierName": "weight" }, "name": "weight" } } } ], "directives": [] } }, { "type": "ExpressionStatement", "start": 16578, "end": 16644, "loc": { "start": { "line": 446, "column": 12 }, "end": { "line": 446, "column": 78 } }, "expression": { "type": "CallExpression", "start": 16578, "end": 16643, "loc": { "start": { "line": 446, "column": 12 }, "end": { "line": 446, "column": 77 } }, "callee": { "type": "MemberExpression", "start": 16578, "end": 16590, "loc": { "start": { "line": 446, "column": 12 }, "end": { "line": 446, "column": 24 } }, "object": { "type": "Identifier", "start": 16578, "end": 16584, "loc": { "start": { "line": 446, "column": 12 }, "end": { "line": 446, "column": 18 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 16585, "end": 16590, "loc": { "start": { "line": 446, "column": 19 }, "end": { "line": 446, "column": 24 }, "identifierName": "error" }, "name": "error" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 16591, "end": 16642, "loc": { "start": { "line": 446, "column": 25 }, "end": { "line": 446, "column": 76 } }, "extra": { "rawValue": "Failed to find matching shape in chunk generation", "raw": "\"Failed to find matching shape in chunk generation\"" }, "value": "Failed to find matching shape in chunk generation" } ] } }, { "type": "ReturnStatement", "start": 16658, "end": 16685, "loc": { "start": { "line": 447, "column": 12 }, "end": { "line": 447, "column": 39 } }, "argument": { "type": "MemberExpression", "start": 16665, "end": 16684, "loc": { "start": { "line": 447, "column": 19 }, "end": { "line": 447, "column": 38 } }, "object": { "type": "Identifier", "start": 16665, "end": 16677, "loc": { "start": { "line": 447, "column": 19 }, "end": { "line": 447, "column": 31 }, "identifierName": "enumSubShape" }, "name": "enumSubShape" }, "property": { "type": "Identifier", "start": 16678, "end": 16684, "loc": { "start": { "line": 447, "column": 32 }, "end": { "line": 447, "column": 38 }, "identifierName": "circle" }, "name": "circle" }, "computed": false } } ], "directives": [] } }, "leadingComments": null } ], "kind": "var", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Chooses a random shape with the given weights\r\n * @param {RandomNumberGenerator} rng\r\n * @param {Object.} weights\r\n * @returns {enumSubShape}\r\n ", "start": 15822, "end": 16038, "loc": { "start": { "line": 426, "column": 8 }, "end": { "line": 431, "column": 11 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Generates a shape patch\r\n * @param {RandomNumberGenerator} rng\r\n * @param {number} shapePatchSize\r\n * @param {number} distanceToOriginInChunks\r\n ", "start": 16707, "end": 16902, "loc": { "start": { "line": 449, "column": 8 }, "end": { "line": 454, "column": 11 } } } ] }, { "type": "VariableDeclaration", "start": 16912, "end": 19613, "loc": { "start": { "line": 455, "column": 8 }, "end": { "line": 512, "column": 10 } }, "declarations": [ { "type": "VariableDeclarator", "start": 16916, "end": 19612, "loc": { "start": { "line": 455, "column": 12 }, "end": { "line": 512, "column": 9 } }, "id": { "type": "Identifier", "start": 16916, "end": 16942, "loc": { "start": { "line": 455, "column": 12 }, "end": { "line": 455, "column": 38 }, "identifierName": "internalGenerateShapePatch" }, "name": "internalGenerateShapePatch", "leadingComments": null }, "init": { "type": "ArrowFunctionExpression", "start": 16945, "end": 19612, "loc": { "start": { "line": 455, "column": 41 }, "end": { "line": 512, "column": 9 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 16946, "end": 16949, "loc": { "start": { "line": 455, "column": 42 }, "end": { "line": 455, "column": 45 }, "identifierName": "rng" }, "name": "rng" }, { "type": "Identifier", "start": 16951, "end": 16965, "loc": { "start": { "line": 455, "column": 47 }, "end": { "line": 455, "column": 61 }, "identifierName": "shapePatchSize" }, "name": "shapePatchSize" }, { "type": "Identifier", "start": 16967, "end": 16991, "loc": { "start": { "line": 455, "column": 63 }, "end": { "line": 455, "column": 87 }, "identifierName": "distanceToOriginInChunks" }, "name": "distanceToOriginInChunks" } ], "body": { "type": "BlockStatement", "start": 16996, "end": 19612, "loc": { "start": { "line": 455, "column": 92 }, "end": { "line": 512, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 17096, "end": 17117, "loc": { "start": { "line": 457, "column": 12 }, "end": { "line": 457, "column": 33 } }, "declarations": [ { "type": "VariableDeclarator", "start": 17100, "end": 17116, "loc": { "start": { "line": 457, "column": 16 }, "end": { "line": 457, "column": 32 } }, "id": { "type": "Identifier", "start": 17100, "end": 17109, "loc": { "start": { "line": 457, "column": 16 }, "end": { "line": 457, "column": 25 }, "identifierName": "subShapes" }, "name": "subShapes", "leadingComments": null }, "init": { "type": "NullLiteral", "start": 17112, "end": 17116, "loc": { "start": { "line": 457, "column": 28 }, "end": { "line": 457, "column": 32 } } }, "leadingComments": null } ], "kind": "let", "leadingComments": [ { "type": "CommentBlock", "value": "* @type {[enumSubShape, enumSubShape, enumSubShape, enumSubShape]} ", "start": 17011, "end": 17082, "loc": { "start": { "line": 456, "column": 12 }, "end": { "line": 456, "column": 83 } } } ] }, { "type": "VariableDeclaration", "start": 17133, "end": 17150, "loc": { "start": { "line": 459, "column": 12 }, "end": { "line": 459, "column": 29 } }, "declarations": [ { "type": "VariableDeclarator", "start": 17137, "end": 17149, "loc": { "start": { "line": 459, "column": 16 }, "end": { "line": 459, "column": 28 } }, "id": { "type": "Identifier", "start": 17137, "end": 17144, "loc": { "start": { "line": 459, "column": 16 }, "end": { "line": 459, "column": 23 }, "identifierName": "weights" }, "name": "weights" }, "init": { "type": "ObjectExpression", "start": 17147, "end": 17149, "loc": { "start": { "line": 459, "column": 26 }, "end": { "line": 459, "column": 28 } }, "properties": [] } } ], "kind": "let", "trailingComments": [ { "type": "CommentLine", "value": " Later there is a mix of everything", "start": 17166, "end": 17203, "loc": { "start": { "line": 461, "column": 12 }, "end": { "line": 461, "column": 49 } } } ] }, { "type": "ExpressionStatement", "start": 17217, "end": 17585, "loc": { "start": { "line": 462, "column": 12 }, "end": { "line": 467, "column": 14 } }, "expression": { "type": "AssignmentExpression", "start": 17217, "end": 17584, "loc": { "start": { "line": 462, "column": 12 }, "end": { "line": 467, "column": 13 } }, "operator": "=", "left": { "type": "Identifier", "start": 17217, "end": 17224, "loc": { "start": { "line": 462, "column": 12 }, "end": { "line": 462, "column": 19 }, "identifierName": "weights" }, "name": "weights", "leadingComments": null }, "right": { "type": "ObjectExpression", "start": 17227, "end": 17584, "loc": { "start": { "line": 462, "column": 22 }, "end": { "line": 467, "column": 13 } }, "properties": [ { "type": "ObjectProperty", "start": 17246, "end": 17270, "loc": { "start": { "line": 463, "column": 16 }, "end": { "line": 463, "column": 40 } }, "method": false, "shorthand": false, "computed": true, "key": { "type": "MemberExpression", "start": 17247, "end": 17264, "loc": { "start": { "line": 463, "column": 17 }, "end": { "line": 463, "column": 34 } }, "object": { "type": "Identifier", "start": 17247, "end": 17259, "loc": { "start": { "line": 463, "column": 17 }, "end": { "line": 463, "column": 29 }, "identifierName": "enumSubShape" }, "name": "enumSubShape" }, "property": { "type": "Identifier", "start": 17260, "end": 17264, "loc": { "start": { "line": 463, "column": 30 }, "end": { "line": 463, "column": 34 }, "identifierName": "rect" }, "name": "rect" }, "computed": false }, "value": { "type": "NumericLiteral", "start": 17267, "end": 17270, "loc": { "start": { "line": 463, "column": 37 }, "end": { "line": 463, "column": 40 } }, "extra": { "rawValue": 100, "raw": "100" }, "value": 100 } }, { "type": "ObjectProperty", "start": 17289, "end": 17371, "loc": { "start": { "line": 464, "column": 16 }, "end": { "line": 464, "column": 98 } }, "method": false, "shorthand": false, "computed": true, "key": { "type": "MemberExpression", "start": 17290, "end": 17309, "loc": { "start": { "line": 464, "column": 17 }, "end": { "line": 464, "column": 36 } }, "object": { "type": "Identifier", "start": 17290, "end": 17302, "loc": { "start": { "line": 464, "column": 17 }, "end": { "line": 464, "column": 29 }, "identifierName": "enumSubShape" }, "name": "enumSubShape" }, "property": { "type": "Identifier", "start": 17303, "end": 17309, "loc": { "start": { "line": 464, "column": 30 }, "end": { "line": 464, "column": 36 }, "identifierName": "circle" }, "name": "circle" }, "computed": false }, "value": { "type": "CallExpression", "start": 17312, "end": 17371, "loc": { "start": { "line": 464, "column": 39 }, "end": { "line": 464, "column": 98 } }, "callee": { "type": "MemberExpression", "start": 17312, "end": 17322, "loc": { "start": { "line": 464, "column": 39 }, "end": { "line": 464, "column": 49 } }, "object": { "type": "Identifier", "start": 17312, "end": 17316, "loc": { "start": { "line": 464, "column": 39 }, "end": { "line": 464, "column": 43 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 17317, "end": 17322, "loc": { "start": { "line": 464, "column": 44 }, "end": { "line": 464, "column": 49 }, "identifierName": "round" }, "name": "round" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 17323, "end": 17370, "loc": { "start": { "line": 464, "column": 50 }, "end": { "line": 464, "column": 97 } }, "left": { "type": "NumericLiteral", "start": 17323, "end": 17325, "loc": { "start": { "line": 464, "column": 50 }, "end": { "line": 464, "column": 52 } }, "extra": { "rawValue": 50, "raw": "50" }, "value": 50 }, "operator": "+", "right": { "type": "CallExpression", "start": 17328, "end": 17370, "loc": { "start": { "line": 464, "column": 55 }, "end": { "line": 464, "column": 97 } }, "callee": { "type": "Identifier", "start": 17328, "end": 17333, "loc": { "start": { "line": 464, "column": 55 }, "end": { "line": 464, "column": 60 }, "identifierName": "clamp" }, "name": "clamp" }, "arguments": [ { "type": "BinaryExpression", "start": 17334, "end": 17362, "loc": { "start": { "line": 464, "column": 61 }, "end": { "line": 464, "column": 89 } }, "left": { "type": "Identifier", "start": 17334, "end": 17358, "loc": { "start": { "line": 464, "column": 61 }, "end": { "line": 464, "column": 85 }, "identifierName": "distanceToOriginInChunks" }, "name": "distanceToOriginInChunks" }, "operator": "*", "right": { "type": "NumericLiteral", "start": 17361, "end": 17362, "loc": { "start": { "line": 464, "column": 88 }, "end": { "line": 464, "column": 89 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } }, { "type": "NumericLiteral", "start": 17364, "end": 17365, "loc": { "start": { "line": 464, "column": 91 }, "end": { "line": 464, "column": 92 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "NumericLiteral", "start": 17367, "end": 17369, "loc": { "start": { "line": 464, "column": 94 }, "end": { "line": 464, "column": 96 } }, "extra": { "rawValue": 50, "raw": "50" }, "value": 50 } ] } } ] } }, { "type": "ObjectProperty", "start": 17390, "end": 17466, "loc": { "start": { "line": 465, "column": 16 }, "end": { "line": 465, "column": 92 } }, "method": false, "shorthand": false, "computed": true, "key": { "type": "MemberExpression", "start": 17391, "end": 17408, "loc": { "start": { "line": 465, "column": 17 }, "end": { "line": 465, "column": 34 } }, "object": { "type": "Identifier", "start": 17391, "end": 17403, "loc": { "start": { "line": 465, "column": 17 }, "end": { "line": 465, "column": 29 }, "identifierName": "enumSubShape" }, "name": "enumSubShape" }, "property": { "type": "Identifier", "start": 17404, "end": 17408, "loc": { "start": { "line": 465, "column": 30 }, "end": { "line": 465, "column": 34 }, "identifierName": "star" }, "name": "star" }, "computed": false }, "value": { "type": "CallExpression", "start": 17411, "end": 17466, "loc": { "start": { "line": 465, "column": 37 }, "end": { "line": 465, "column": 92 } }, "callee": { "type": "MemberExpression", "start": 17411, "end": 17421, "loc": { "start": { "line": 465, "column": 37 }, "end": { "line": 465, "column": 47 } }, "object": { "type": "Identifier", "start": 17411, "end": 17415, "loc": { "start": { "line": 465, "column": 37 }, "end": { "line": 465, "column": 41 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 17416, "end": 17421, "loc": { "start": { "line": 465, "column": 42 }, "end": { "line": 465, "column": 47 }, "identifierName": "round" }, "name": "round" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 17422, "end": 17465, "loc": { "start": { "line": 465, "column": 48 }, "end": { "line": 465, "column": 91 } }, "left": { "type": "NumericLiteral", "start": 17422, "end": 17424, "loc": { "start": { "line": 465, "column": 48 }, "end": { "line": 465, "column": 50 } }, "extra": { "rawValue": 20, "raw": "20" }, "value": 20 }, "operator": "+", "right": { "type": "CallExpression", "start": 17427, "end": 17465, "loc": { "start": { "line": 465, "column": 53 }, "end": { "line": 465, "column": 91 } }, "callee": { "type": "Identifier", "start": 17427, "end": 17432, "loc": { "start": { "line": 465, "column": 53 }, "end": { "line": 465, "column": 58 }, "identifierName": "clamp" }, "name": "clamp" }, "arguments": [ { "type": "Identifier", "start": 17433, "end": 17457, "loc": { "start": { "line": 465, "column": 59 }, "end": { "line": 465, "column": 83 }, "identifierName": "distanceToOriginInChunks" }, "name": "distanceToOriginInChunks" }, { "type": "NumericLiteral", "start": 17459, "end": 17460, "loc": { "start": { "line": 465, "column": 85 }, "end": { "line": 465, "column": 86 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "NumericLiteral", "start": 17462, "end": 17464, "loc": { "start": { "line": 465, "column": 88 }, "end": { "line": 465, "column": 90 } }, "extra": { "rawValue": 30, "raw": "30" }, "value": 30 } ] } } ] } }, { "type": "ObjectProperty", "start": 17485, "end": 17568, "loc": { "start": { "line": 466, "column": 16 }, "end": { "line": 466, "column": 99 } }, "method": false, "shorthand": false, "computed": true, "key": { "type": "MemberExpression", "start": 17486, "end": 17507, "loc": { "start": { "line": 466, "column": 17 }, "end": { "line": 466, "column": 38 } }, "object": { "type": "Identifier", "start": 17486, "end": 17498, "loc": { "start": { "line": 466, "column": 17 }, "end": { "line": 466, "column": 29 }, "identifierName": "enumSubShape" }, "name": "enumSubShape" }, "property": { "type": "Identifier", "start": 17499, "end": 17507, "loc": { "start": { "line": 466, "column": 30 }, "end": { "line": 466, "column": 38 }, "identifierName": "windmill" }, "name": "windmill" }, "computed": false }, "value": { "type": "CallExpression", "start": 17510, "end": 17568, "loc": { "start": { "line": 466, "column": 41 }, "end": { "line": 466, "column": 99 } }, "callee": { "type": "MemberExpression", "start": 17510, "end": 17520, "loc": { "start": { "line": 466, "column": 41 }, "end": { "line": 466, "column": 51 } }, "object": { "type": "Identifier", "start": 17510, "end": 17514, "loc": { "start": { "line": 466, "column": 41 }, "end": { "line": 466, "column": 45 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 17515, "end": 17520, "loc": { "start": { "line": 466, "column": 46 }, "end": { "line": 466, "column": 51 }, "identifierName": "round" }, "name": "round" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 17521, "end": 17567, "loc": { "start": { "line": 466, "column": 52 }, "end": { "line": 466, "column": 98 } }, "left": { "type": "NumericLiteral", "start": 17521, "end": 17522, "loc": { "start": { "line": 466, "column": 52 }, "end": { "line": 466, "column": 53 } }, "extra": { "rawValue": 6, "raw": "6" }, "value": 6 }, "operator": "+", "right": { "type": "CallExpression", "start": 17525, "end": 17567, "loc": { "start": { "line": 466, "column": 56 }, "end": { "line": 466, "column": 98 } }, "callee": { "type": "Identifier", "start": 17525, "end": 17530, "loc": { "start": { "line": 466, "column": 56 }, "end": { "line": 466, "column": 61 }, "identifierName": "clamp" }, "name": "clamp" }, "arguments": [ { "type": "BinaryExpression", "start": 17531, "end": 17559, "loc": { "start": { "line": 466, "column": 62 }, "end": { "line": 466, "column": 90 } }, "left": { "type": "Identifier", "start": 17531, "end": 17555, "loc": { "start": { "line": 466, "column": 62 }, "end": { "line": 466, "column": 86 }, "identifierName": "distanceToOriginInChunks" }, "name": "distanceToOriginInChunks" }, "operator": "/", "right": { "type": "NumericLiteral", "start": 17558, "end": 17559, "loc": { "start": { "line": 466, "column": 89 }, "end": { "line": 466, "column": 90 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } }, { "type": "NumericLiteral", "start": 17561, "end": 17562, "loc": { "start": { "line": 466, "column": 92 }, "end": { "line": 466, "column": 93 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "NumericLiteral", "start": 17564, "end": 17566, "loc": { "start": { "line": 466, "column": 95 }, "end": { "line": 466, "column": 97 } }, "extra": { "rawValue": 20, "raw": "20" }, "value": 20 } ] } } ] } } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Later there is a mix of everything", "start": 17166, "end": 17203, "loc": { "start": { "line": 461, "column": 12 }, "end": { "line": 461, "column": 49 } } } ] }, { "type": "IfStatement", "start": 17601, "end": 17817, "loc": { "start": { "line": 469, "column": 12 }, "end": { "line": 473, "column": 13 } }, "test": { "type": "BinaryExpression", "start": 17605, "end": 17633, "loc": { "start": { "line": 469, "column": 16 }, "end": { "line": 469, "column": 44 } }, "left": { "type": "Identifier", "start": 17605, "end": 17629, "loc": { "start": { "line": 469, "column": 16 }, "end": { "line": 469, "column": 40 }, "identifierName": "distanceToOriginInChunks" }, "name": "distanceToOriginInChunks" }, "operator": "<", "right": { "type": "NumericLiteral", "start": 17632, "end": 17633, "loc": { "start": { "line": 469, "column": 43 }, "end": { "line": 469, "column": 44 } }, "extra": { "rawValue": 7, "raw": "7" }, "value": 7 } }, "consequent": { "type": "BlockStatement", "start": 17635, "end": 17817, "loc": { "start": { "line": 469, "column": 46 }, "end": { "line": 473, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 17718, "end": 17749, "loc": { "start": { "line": 471, "column": 16 }, "end": { "line": 471, "column": 47 } }, "expression": { "type": "AssignmentExpression", "start": 17718, "end": 17748, "loc": { "start": { "line": 471, "column": 16 }, "end": { "line": 471, "column": 46 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 17718, "end": 17744, "loc": { "start": { "line": 471, "column": 16 }, "end": { "line": 471, "column": 42 } }, "object": { "type": "Identifier", "start": 17718, "end": 17725, "loc": { "start": { "line": 471, "column": 16 }, "end": { "line": 471, "column": 23 }, "identifierName": "weights" }, "name": "weights", "leadingComments": null }, "property": { "type": "MemberExpression", "start": 17726, "end": 17743, "loc": { "start": { "line": 471, "column": 24 }, "end": { "line": 471, "column": 41 } }, "object": { "type": "Identifier", "start": 17726, "end": 17738, "loc": { "start": { "line": 471, "column": 24 }, "end": { "line": 471, "column": 36 }, "identifierName": "enumSubShape" }, "name": "enumSubShape" }, "property": { "type": "Identifier", "start": 17739, "end": 17743, "loc": { "start": { "line": 471, "column": 37 }, "end": { "line": 471, "column": 41 }, "identifierName": "star" }, "name": "star" }, "computed": false }, "computed": true, "leadingComments": null }, "right": { "type": "NumericLiteral", "start": 17747, "end": 17748, "loc": { "start": { "line": 471, "column": 45 }, "end": { "line": 471, "column": 46 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Initial chunks can not spawn the good stuff", "start": 17654, "end": 17700, "loc": { "start": { "line": 470, "column": 16 }, "end": { "line": 470, "column": 62 } } } ] }, { "type": "ExpressionStatement", "start": 17767, "end": 17802, "loc": { "start": { "line": 472, "column": 16 }, "end": { "line": 472, "column": 51 } }, "expression": { "type": "AssignmentExpression", "start": 17767, "end": 17801, "loc": { "start": { "line": 472, "column": 16 }, "end": { "line": 472, "column": 50 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 17767, "end": 17797, "loc": { "start": { "line": 472, "column": 16 }, "end": { "line": 472, "column": 46 } }, "object": { "type": "Identifier", "start": 17767, "end": 17774, "loc": { "start": { "line": 472, "column": 16 }, "end": { "line": 472, "column": 23 }, "identifierName": "weights" }, "name": "weights" }, "property": { "type": "MemberExpression", "start": 17775, "end": 17796, "loc": { "start": { "line": 472, "column": 24 }, "end": { "line": 472, "column": 45 } }, "object": { "type": "Identifier", "start": 17775, "end": 17787, "loc": { "start": { "line": 472, "column": 24 }, "end": { "line": 472, "column": 36 }, "identifierName": "enumSubShape" }, "name": "enumSubShape" }, "property": { "type": "Identifier", "start": 17788, "end": 17796, "loc": { "start": { "line": 472, "column": 37 }, "end": { "line": 472, "column": 45 }, "identifierName": "windmill" }, "name": "windmill" }, "computed": false }, "computed": true }, "right": { "type": "NumericLiteral", "start": 17800, "end": 17801, "loc": { "start": { "line": 472, "column": 49 }, "end": { "line": 472, "column": 50 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 17833, "end": 18855, "loc": { "start": { "line": 475, "column": 12 }, "end": { "line": 492, "column": 13 } }, "test": { "type": "BinaryExpression", "start": 17837, "end": 17866, "loc": { "start": { "line": 475, "column": 16 }, "end": { "line": 475, "column": 45 } }, "left": { "type": "Identifier", "start": 17837, "end": 17861, "loc": { "start": { "line": 475, "column": 16 }, "end": { "line": 475, "column": 40 }, "identifierName": "distanceToOriginInChunks" }, "name": "distanceToOriginInChunks" }, "operator": "<", "right": { "type": "NumericLiteral", "start": 17864, "end": 17866, "loc": { "start": { "line": 475, "column": 43 }, "end": { "line": 475, "column": 45 } }, "extra": { "rawValue": 10, "raw": "10" }, "value": 10 } }, "consequent": { "type": "BlockStatement", "start": 17868, "end": 18104, "loc": { "start": { "line": 475, "column": 47 }, "end": { "line": 479, "column": 13 } }, "body": [ { "type": "VariableDeclaration", "start": 17956, "end": 18018, "loc": { "start": { "line": 477, "column": 16 }, "end": { "line": 477, "column": 78 } }, "declarations": [ { "type": "VariableDeclarator", "start": 17962, "end": 18017, "loc": { "start": { "line": 477, "column": 22 }, "end": { "line": 477, "column": 77 } }, "id": { "type": "Identifier", "start": 17962, "end": 17970, "loc": { "start": { "line": 477, "column": 22 }, "end": { "line": 477, "column": 30 }, "identifierName": "subShape" }, "name": "subShape", "leadingComments": null }, "init": { "type": "CallExpression", "start": 17973, "end": 18017, "loc": { "start": { "line": 477, "column": 33 }, "end": { "line": 477, "column": 77 } }, "callee": { "type": "Identifier", "start": 17973, "end": 18003, "loc": { "start": { "line": 477, "column": 33 }, "end": { "line": 477, "column": 63 }, "identifierName": "internalGenerateRandomSubShape" }, "name": "internalGenerateRandomSubShape" }, "arguments": [ { "type": "Identifier", "start": 18004, "end": 18007, "loc": { "start": { "line": 477, "column": 64 }, "end": { "line": 477, "column": 67 }, "identifierName": "rng" }, "name": "rng" }, { "type": "Identifier", "start": 18009, "end": 18016, "loc": { "start": { "line": 477, "column": 69 }, "end": { "line": 477, "column": 76 }, "identifierName": "weights" }, "name": "weights" } ] }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Initial chunk patches always have the same shape", "start": 17887, "end": 17938, "loc": { "start": { "line": 476, "column": 16 }, "end": { "line": 476, "column": 67 } } } ] }, { "type": "ExpressionStatement", "start": 18036, "end": 18089, "loc": { "start": { "line": 478, "column": 16 }, "end": { "line": 478, "column": 69 } }, "expression": { "type": "AssignmentExpression", "start": 18036, "end": 18088, "loc": { "start": { "line": 478, "column": 16 }, "end": { "line": 478, "column": 68 } }, "operator": "=", "left": { "type": "Identifier", "start": 18036, "end": 18045, "loc": { "start": { "line": 478, "column": 16 }, "end": { "line": 478, "column": 25 }, "identifierName": "subShapes" }, "name": "subShapes" }, "right": { "type": "ArrayExpression", "start": 18048, "end": 18088, "loc": { "start": { "line": 478, "column": 28 }, "end": { "line": 478, "column": 68 } }, "elements": [ { "type": "Identifier", "start": 18049, "end": 18057, "loc": { "start": { "line": 478, "column": 29 }, "end": { "line": 478, "column": 37 }, "identifierName": "subShape" }, "name": "subShape" }, { "type": "Identifier", "start": 18059, "end": 18067, "loc": { "start": { "line": 478, "column": 39 }, "end": { "line": 478, "column": 47 }, "identifierName": "subShape" }, "name": "subShape" }, { "type": "Identifier", "start": 18069, "end": 18077, "loc": { "start": { "line": 478, "column": 49 }, "end": { "line": 478, "column": 57 }, "identifierName": "subShape" }, "name": "subShape" }, { "type": "Identifier", "start": 18079, "end": 18087, "loc": { "start": { "line": 478, "column": 59 }, "end": { "line": 478, "column": 67 }, "identifierName": "subShape" }, "name": "subShape" } ] } } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 18110, "end": 18855, "loc": { "start": { "line": 479, "column": 19 }, "end": { "line": 492, "column": 13 } }, "test": { "type": "BinaryExpression", "start": 18114, "end": 18143, "loc": { "start": { "line": 479, "column": 23 }, "end": { "line": 479, "column": 52 } }, "left": { "type": "Identifier", "start": 18114, "end": 18138, "loc": { "start": { "line": 479, "column": 23 }, "end": { "line": 479, "column": 47 }, "identifierName": "distanceToOriginInChunks" }, "name": "distanceToOriginInChunks" }, "operator": "<", "right": { "type": "NumericLiteral", "start": 18141, "end": 18143, "loc": { "start": { "line": 479, "column": 50 }, "end": { "line": 479, "column": 52 } }, "extra": { "rawValue": 15, "raw": "15" }, "value": 15 } }, "consequent": { "type": "BlockStatement", "start": 18145, "end": 18457, "loc": { "start": { "line": 479, "column": 54 }, "end": { "line": 484, "column": 13 } }, "body": [ { "type": "VariableDeclaration", "start": 18223, "end": 18286, "loc": { "start": { "line": 481, "column": 16 }, "end": { "line": 481, "column": 79 } }, "declarations": [ { "type": "VariableDeclarator", "start": 18229, "end": 18285, "loc": { "start": { "line": 481, "column": 22 }, "end": { "line": 481, "column": 78 } }, "id": { "type": "Identifier", "start": 18229, "end": 18238, "loc": { "start": { "line": 481, "column": 22 }, "end": { "line": 481, "column": 31 }, "identifierName": "subShapeA" }, "name": "subShapeA", "leadingComments": null }, "init": { "type": "CallExpression", "start": 18241, "end": 18285, "loc": { "start": { "line": 481, "column": 34 }, "end": { "line": 481, "column": 78 } }, "callee": { "type": "Identifier", "start": 18241, "end": 18271, "loc": { "start": { "line": 481, "column": 34 }, "end": { "line": 481, "column": 64 }, "identifierName": "internalGenerateRandomSubShape" }, "name": "internalGenerateRandomSubShape" }, "arguments": [ { "type": "Identifier", "start": 18272, "end": 18275, "loc": { "start": { "line": 481, "column": 65 }, "end": { "line": 481, "column": 68 }, "identifierName": "rng" }, "name": "rng" }, { "type": "Identifier", "start": 18277, "end": 18284, "loc": { "start": { "line": 481, "column": 70 }, "end": { "line": 481, "column": 77 }, "identifierName": "weights" }, "name": "weights" } ] }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Later patches can also have mixed ones", "start": 18164, "end": 18205, "loc": { "start": { "line": 480, "column": 16 }, "end": { "line": 480, "column": 57 } } } ] }, { "type": "VariableDeclaration", "start": 18304, "end": 18367, "loc": { "start": { "line": 482, "column": 16 }, "end": { "line": 482, "column": 79 } }, "declarations": [ { "type": "VariableDeclarator", "start": 18310, "end": 18366, "loc": { "start": { "line": 482, "column": 22 }, "end": { "line": 482, "column": 78 } }, "id": { "type": "Identifier", "start": 18310, "end": 18319, "loc": { "start": { "line": 482, "column": 22 }, "end": { "line": 482, "column": 31 }, "identifierName": "subShapeB" }, "name": "subShapeB" }, "init": { "type": "CallExpression", "start": 18322, "end": 18366, "loc": { "start": { "line": 482, "column": 34 }, "end": { "line": 482, "column": 78 } }, "callee": { "type": "Identifier", "start": 18322, "end": 18352, "loc": { "start": { "line": 482, "column": 34 }, "end": { "line": 482, "column": 64 }, "identifierName": "internalGenerateRandomSubShape" }, "name": "internalGenerateRandomSubShape" }, "arguments": [ { "type": "Identifier", "start": 18353, "end": 18356, "loc": { "start": { "line": 482, "column": 65 }, "end": { "line": 482, "column": 68 }, "identifierName": "rng" }, "name": "rng" }, { "type": "Identifier", "start": 18358, "end": 18365, "loc": { "start": { "line": 482, "column": 70 }, "end": { "line": 482, "column": 77 }, "identifierName": "weights" }, "name": "weights" } ] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 18385, "end": 18442, "loc": { "start": { "line": 483, "column": 16 }, "end": { "line": 483, "column": 73 } }, "expression": { "type": "AssignmentExpression", "start": 18385, "end": 18441, "loc": { "start": { "line": 483, "column": 16 }, "end": { "line": 483, "column": 72 } }, "operator": "=", "left": { "type": "Identifier", "start": 18385, "end": 18394, "loc": { "start": { "line": 483, "column": 16 }, "end": { "line": 483, "column": 25 }, "identifierName": "subShapes" }, "name": "subShapes" }, "right": { "type": "ArrayExpression", "start": 18397, "end": 18441, "loc": { "start": { "line": 483, "column": 28 }, "end": { "line": 483, "column": 72 } }, "elements": [ { "type": "Identifier", "start": 18398, "end": 18407, "loc": { "start": { "line": 483, "column": 29 }, "end": { "line": 483, "column": 38 }, "identifierName": "subShapeA" }, "name": "subShapeA" }, { "type": "Identifier", "start": 18409, "end": 18418, "loc": { "start": { "line": 483, "column": 40 }, "end": { "line": 483, "column": 49 }, "identifierName": "subShapeA" }, "name": "subShapeA" }, { "type": "Identifier", "start": 18420, "end": 18429, "loc": { "start": { "line": 483, "column": 51 }, "end": { "line": 483, "column": 60 }, "identifierName": "subShapeB" }, "name": "subShapeB" }, { "type": "Identifier", "start": 18431, "end": 18440, "loc": { "start": { "line": 483, "column": 62 }, "end": { "line": 483, "column": 71 }, "identifierName": "subShapeB" }, "name": "subShapeB" } ] } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 18463, "end": 18855, "loc": { "start": { "line": 484, "column": 19 }, "end": { "line": 492, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 18539, "end": 18840, "loc": { "start": { "line": 486, "column": 16 }, "end": { "line": 491, "column": 18 } }, "expression": { "type": "AssignmentExpression", "start": 18539, "end": 18839, "loc": { "start": { "line": 486, "column": 16 }, "end": { "line": 491, "column": 17 } }, "operator": "=", "left": { "type": "Identifier", "start": 18539, "end": 18548, "loc": { "start": { "line": 486, "column": 16 }, "end": { "line": 486, "column": 25 }, "identifierName": "subShapes" }, "name": "subShapes", "leadingComments": null }, "right": { "type": "ArrayExpression", "start": 18551, "end": 18839, "loc": { "start": { "line": 486, "column": 28 }, "end": { "line": 491, "column": 17 } }, "elements": [ { "type": "CallExpression", "start": 18574, "end": 18618, "loc": { "start": { "line": 487, "column": 20 }, "end": { "line": 487, "column": 64 } }, "callee": { "type": "Identifier", "start": 18574, "end": 18604, "loc": { "start": { "line": 487, "column": 20 }, "end": { "line": 487, "column": 50 }, "identifierName": "internalGenerateRandomSubShape" }, "name": "internalGenerateRandomSubShape" }, "arguments": [ { "type": "Identifier", "start": 18605, "end": 18608, "loc": { "start": { "line": 487, "column": 51 }, "end": { "line": 487, "column": 54 }, "identifierName": "rng" }, "name": "rng" }, { "type": "Identifier", "start": 18610, "end": 18617, "loc": { "start": { "line": 487, "column": 56 }, "end": { "line": 487, "column": 63 }, "identifierName": "weights" }, "name": "weights" } ] }, { "type": "CallExpression", "start": 18641, "end": 18685, "loc": { "start": { "line": 488, "column": 20 }, "end": { "line": 488, "column": 64 } }, "callee": { "type": "Identifier", "start": 18641, "end": 18671, "loc": { "start": { "line": 488, "column": 20 }, "end": { "line": 488, "column": 50 }, "identifierName": "internalGenerateRandomSubShape" }, "name": "internalGenerateRandomSubShape" }, "arguments": [ { "type": "Identifier", "start": 18672, "end": 18675, "loc": { "start": { "line": 488, "column": 51 }, "end": { "line": 488, "column": 54 }, "identifierName": "rng" }, "name": "rng" }, { "type": "Identifier", "start": 18677, "end": 18684, "loc": { "start": { "line": 488, "column": 56 }, "end": { "line": 488, "column": 63 }, "identifierName": "weights" }, "name": "weights" } ] }, { "type": "CallExpression", "start": 18708, "end": 18752, "loc": { "start": { "line": 489, "column": 20 }, "end": { "line": 489, "column": 64 } }, "callee": { "type": "Identifier", "start": 18708, "end": 18738, "loc": { "start": { "line": 489, "column": 20 }, "end": { "line": 489, "column": 50 }, "identifierName": "internalGenerateRandomSubShape" }, "name": "internalGenerateRandomSubShape" }, "arguments": [ { "type": "Identifier", "start": 18739, "end": 18742, "loc": { "start": { "line": 489, "column": 51 }, "end": { "line": 489, "column": 54 }, "identifierName": "rng" }, "name": "rng" }, { "type": "Identifier", "start": 18744, "end": 18751, "loc": { "start": { "line": 489, "column": 56 }, "end": { "line": 489, "column": 63 }, "identifierName": "weights" }, "name": "weights" } ] }, { "type": "CallExpression", "start": 18775, "end": 18819, "loc": { "start": { "line": 490, "column": 20 }, "end": { "line": 490, "column": 64 } }, "callee": { "type": "Identifier", "start": 18775, "end": 18805, "loc": { "start": { "line": 490, "column": 20 }, "end": { "line": 490, "column": 50 }, "identifierName": "internalGenerateRandomSubShape" }, "name": "internalGenerateRandomSubShape" }, "arguments": [ { "type": "Identifier", "start": 18806, "end": 18809, "loc": { "start": { "line": 490, "column": 51 }, "end": { "line": 490, "column": 54 }, "identifierName": "rng" }, "name": "rng" }, { "type": "Identifier", "start": 18811, "end": 18818, "loc": { "start": { "line": 490, "column": 56 }, "end": { "line": 490, "column": 63 }, "identifierName": "weights" }, "name": "weights" } ] } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Finally there is a mix of everything", "start": 18482, "end": 18521, "loc": { "start": { "line": 485, "column": 16 }, "end": { "line": 485, "column": 55 } } } ] } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "trailingComments": [ { "type": "CommentLine", "value": " Makes sure windmills never spawn as whole", "start": 18871, "end": 18915, "loc": { "start": { "line": 494, "column": 12 }, "end": { "line": 494, "column": 56 } } } ] }, { "type": "VariableDeclaration", "start": 18929, "end": 18951, "loc": { "start": { "line": 495, "column": 12 }, "end": { "line": 495, "column": 34 } }, "declarations": [ { "type": "VariableDeclarator", "start": 18933, "end": 18950, "loc": { "start": { "line": 495, "column": 16 }, "end": { "line": 495, "column": 33 } }, "id": { "type": "Identifier", "start": 18933, "end": 18946, "loc": { "start": { "line": 495, "column": 16 }, "end": { "line": 495, "column": 29 }, "identifierName": "windmillCount" }, "name": "windmillCount", "leadingComments": null }, "init": { "type": "NumericLiteral", "start": 18949, "end": 18950, "loc": { "start": { "line": 495, "column": 32 }, "end": { "line": 495, "column": 33 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "leadingComments": null } ], "kind": "let", "leadingComments": [ { "type": "CommentLine", "value": " Makes sure windmills never spawn as whole", "start": 18871, "end": 18915, "loc": { "start": { "line": 494, "column": 12 }, "end": { "line": 494, "column": 56 } } } ] }, { "type": "ForStatement", "start": 18965, "end": 19144, "loc": { "start": { "line": 496, "column": 12 }, "end": { "line": 500, "column": 13 } }, "init": { "type": "VariableDeclaration", "start": 18970, "end": 18979, "loc": { "start": { "line": 496, "column": 17 }, "end": { "line": 496, "column": 26 } }, "declarations": [ { "type": "VariableDeclarator", "start": 18974, "end": 18979, "loc": { "start": { "line": 496, "column": 21 }, "end": { "line": 496, "column": 26 } }, "id": { "type": "Identifier", "start": 18974, "end": 18975, "loc": { "start": { "line": 496, "column": 21 }, "end": { "line": 496, "column": 22 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 18978, "end": 18979, "loc": { "start": { "line": 496, "column": 25 }, "end": { "line": 496, "column": 26 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 18981, "end": 19001, "loc": { "start": { "line": 496, "column": 28 }, "end": { "line": 496, "column": 48 } }, "left": { "type": "Identifier", "start": 18981, "end": 18982, "loc": { "start": { "line": 496, "column": 28 }, "end": { "line": 496, "column": 29 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 18985, "end": 19001, "loc": { "start": { "line": 496, "column": 32 }, "end": { "line": 496, "column": 48 } }, "object": { "type": "Identifier", "start": 18985, "end": 18994, "loc": { "start": { "line": 496, "column": 32 }, "end": { "line": 496, "column": 41 }, "identifierName": "subShapes" }, "name": "subShapes" }, "property": { "type": "Identifier", "start": 18995, "end": 19001, "loc": { "start": { "line": 496, "column": 42 }, "end": { "line": 496, "column": 48 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 19003, "end": 19006, "loc": { "start": { "line": 496, "column": 50 }, "end": { "line": 496, "column": 53 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 19005, "end": 19006, "loc": { "start": { "line": 496, "column": 52 }, "end": { "line": 496, "column": 53 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 19008, "end": 19144, "loc": { "start": { "line": 496, "column": 55 }, "end": { "line": 500, "column": 13 } }, "body": [ { "type": "IfStatement", "start": 19027, "end": 19129, "loc": { "start": { "line": 497, "column": 16 }, "end": { "line": 499, "column": 17 } }, "test": { "type": "BinaryExpression", "start": 19031, "end": 19069, "loc": { "start": { "line": 497, "column": 20 }, "end": { "line": 497, "column": 58 } }, "left": { "type": "MemberExpression", "start": 19031, "end": 19043, "loc": { "start": { "line": 497, "column": 20 }, "end": { "line": 497, "column": 32 } }, "object": { "type": "Identifier", "start": 19031, "end": 19040, "loc": { "start": { "line": 497, "column": 20 }, "end": { "line": 497, "column": 29 }, "identifierName": "subShapes" }, "name": "subShapes" }, "property": { "type": "Identifier", "start": 19041, "end": 19042, "loc": { "start": { "line": 497, "column": 30 }, "end": { "line": 497, "column": 31 }, "identifierName": "i" }, "name": "i" }, "computed": true }, "operator": "===", "right": { "type": "MemberExpression", "start": 19048, "end": 19069, "loc": { "start": { "line": 497, "column": 37 }, "end": { "line": 497, "column": 58 } }, "object": { "type": "Identifier", "start": 19048, "end": 19060, "loc": { "start": { "line": 497, "column": 37 }, "end": { "line": 497, "column": 49 }, "identifierName": "enumSubShape" }, "name": "enumSubShape" }, "property": { "type": "Identifier", "start": 19061, "end": 19069, "loc": { "start": { "line": 497, "column": 50 }, "end": { "line": 497, "column": 58 }, "identifierName": "windmill" }, "name": "windmill" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 19071, "end": 19129, "loc": { "start": { "line": 497, "column": 60 }, "end": { "line": 499, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 19094, "end": 19110, "loc": { "start": { "line": 498, "column": 20 }, "end": { "line": 498, "column": 36 } }, "expression": { "type": "UpdateExpression", "start": 19094, "end": 19109, "loc": { "start": { "line": 498, "column": 20 }, "end": { "line": 498, "column": 35 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 19096, "end": 19109, "loc": { "start": { "line": 498, "column": 22 }, "end": { "line": 498, "column": 35 }, "identifierName": "windmillCount" }, "name": "windmillCount" }, "extra": { "parenthesizedArgument": false } } } ], "directives": [] }, "alternate": null } ], "directives": [] } }, { "type": "IfStatement", "start": 19158, "end": 19299, "loc": { "start": { "line": 501, "column": 12 }, "end": { "line": 504, "column": 13 } }, "test": { "type": "BinaryExpression", "start": 19162, "end": 19179, "loc": { "start": { "line": 501, "column": 16 }, "end": { "line": 501, "column": 33 } }, "left": { "type": "Identifier", "start": 19162, "end": 19175, "loc": { "start": { "line": 501, "column": 16 }, "end": { "line": 501, "column": 29 }, "identifierName": "windmillCount" }, "name": "windmillCount" }, "operator": ">", "right": { "type": "NumericLiteral", "start": 19178, "end": 19179, "loc": { "start": { "line": 501, "column": 32 }, "end": { "line": 501, "column": 33 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } }, "consequent": { "type": "BlockStatement", "start": 19181, "end": 19299, "loc": { "start": { "line": 501, "column": 35 }, "end": { "line": 504, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 19200, "end": 19233, "loc": { "start": { "line": 502, "column": 16 }, "end": { "line": 502, "column": 49 } }, "expression": { "type": "AssignmentExpression", "start": 19200, "end": 19232, "loc": { "start": { "line": 502, "column": 16 }, "end": { "line": 502, "column": 48 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 19200, "end": 19212, "loc": { "start": { "line": 502, "column": 16 }, "end": { "line": 502, "column": 28 } }, "object": { "type": "Identifier", "start": 19200, "end": 19209, "loc": { "start": { "line": 502, "column": 16 }, "end": { "line": 502, "column": 25 }, "identifierName": "subShapes" }, "name": "subShapes" }, "property": { "type": "NumericLiteral", "start": 19210, "end": 19211, "loc": { "start": { "line": 502, "column": 26 }, "end": { "line": 502, "column": 27 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true }, "right": { "type": "MemberExpression", "start": 19215, "end": 19232, "loc": { "start": { "line": 502, "column": 31 }, "end": { "line": 502, "column": 48 } }, "object": { "type": "Identifier", "start": 19215, "end": 19227, "loc": { "start": { "line": 502, "column": 31 }, "end": { "line": 502, "column": 43 }, "identifierName": "enumSubShape" }, "name": "enumSubShape" }, "property": { "type": "Identifier", "start": 19228, "end": 19232, "loc": { "start": { "line": 502, "column": 44 }, "end": { "line": 502, "column": 48 }, "identifierName": "rect" }, "name": "rect" }, "computed": false } } }, { "type": "ExpressionStatement", "start": 19251, "end": 19284, "loc": { "start": { "line": 503, "column": 16 }, "end": { "line": 503, "column": 49 } }, "expression": { "type": "AssignmentExpression", "start": 19251, "end": 19283, "loc": { "start": { "line": 503, "column": 16 }, "end": { "line": 503, "column": 48 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 19251, "end": 19263, "loc": { "start": { "line": 503, "column": 16 }, "end": { "line": 503, "column": 28 } }, "object": { "type": "Identifier", "start": 19251, "end": 19260, "loc": { "start": { "line": 503, "column": 16 }, "end": { "line": 503, "column": 25 }, "identifierName": "subShapes" }, "name": "subShapes" }, "property": { "type": "NumericLiteral", "start": 19261, "end": 19262, "loc": { "start": { "line": 503, "column": 26 }, "end": { "line": 503, "column": 27 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "computed": true }, "right": { "type": "MemberExpression", "start": 19266, "end": 19283, "loc": { "start": { "line": 503, "column": 31 }, "end": { "line": 503, "column": 48 } }, "object": { "type": "Identifier", "start": 19266, "end": 19278, "loc": { "start": { "line": 503, "column": 31 }, "end": { "line": 503, "column": 43 }, "identifierName": "enumSubShape" }, "name": "enumSubShape" }, "property": { "type": "Identifier", "start": 19279, "end": 19283, "loc": { "start": { "line": 503, "column": 44 }, "end": { "line": 503, "column": 48 }, "identifierName": "rect" }, "name": "rect" }, "computed": false } } } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 19315, "end": 19404, "loc": { "start": { "line": 506, "column": 12 }, "end": { "line": 506, "column": 101 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19321, "end": 19403, "loc": { "start": { "line": 506, "column": 18 }, "end": { "line": 506, "column": 100 } }, "id": { "type": "Identifier", "start": 19321, "end": 19331, "loc": { "start": { "line": 506, "column": 18 }, "end": { "line": 506, "column": 28 }, "identifierName": "definition" }, "name": "definition" }, "init": { "type": "CallExpression", "start": 19334, "end": 19403, "loc": { "start": { "line": 506, "column": 31 }, "end": { "line": 506, "column": 100 } }, "callee": { "type": "MemberExpression", "start": 19334, "end": 19392, "loc": { "start": { "line": 506, "column": 31 }, "end": { "line": 506, "column": 89 } }, "object": { "type": "MemberExpression", "start": 19334, "end": 19362, "loc": { "start": { "line": 506, "column": 31 }, "end": { "line": 506, "column": 59 } }, "object": { "type": "MemberExpression", "start": 19334, "end": 19343, "loc": { "start": { "line": 506, "column": 31 }, "end": { "line": 506, "column": 40 } }, "object": { "type": "Identifier", "start": 19334, "end": 19338, "loc": { "start": { "line": 506, "column": 31 }, "end": { "line": 506, "column": 35 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 19339, "end": 19343, "loc": { "start": { "line": 506, "column": 36 }, "end": { "line": 506, "column": 40 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 19344, "end": 19362, "loc": { "start": { "line": 506, "column": 41 }, "end": { "line": 506, "column": 59 }, "identifierName": "shapeDefinitionMgr" }, "name": "shapeDefinitionMgr" }, "computed": false }, "property": { "type": "Identifier", "start": 19363, "end": 19392, "loc": { "start": { "line": 506, "column": 60 }, "end": { "line": 506, "column": 89 }, "identifierName": "getDefinitionFromSimpleShapes" }, "name": "getDefinitionFromSimpleShapes" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 19393, "end": 19402, "loc": { "start": { "line": 506, "column": 90 }, "end": { "line": 506, "column": 99 }, "identifierName": "subShapes" }, "name": "subShapes" } ] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 19418, "end": 19601, "loc": { "start": { "line": 507, "column": 12 }, "end": { "line": 511, "column": 14 } }, "expression": { "type": "CallExpression", "start": 19418, "end": 19600, "loc": { "start": { "line": 507, "column": 12 }, "end": { "line": 511, "column": 13 } }, "callee": { "type": "MemberExpression", "start": 19418, "end": 19444, "loc": { "start": { "line": 507, "column": 12 }, "end": { "line": 507, "column": 38 } }, "object": { "type": "Identifier", "start": 19418, "end": 19422, "loc": { "start": { "line": 507, "column": 12 }, "end": { "line": 507, "column": 16 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 19423, "end": 19444, "loc": { "start": { "line": 507, "column": 17 }, "end": { "line": 507, "column": 38 }, "identifierName": "internalGeneratePatch" }, "name": "internalGeneratePatch" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 19463, "end": 19466, "loc": { "start": { "line": 508, "column": 16 }, "end": { "line": 508, "column": 19 }, "identifierName": "rng" }, "name": "rng" }, { "type": "Identifier", "start": 19485, "end": 19499, "loc": { "start": { "line": 509, "column": 16 }, "end": { "line": 509, "column": 30 }, "identifierName": "shapePatchSize" }, "name": "shapePatchSize" }, { "type": "CallExpression", "start": 19518, "end": 19585, "loc": { "start": { "line": 510, "column": 16 }, "end": { "line": 510, "column": 83 } }, "callee": { "type": "MemberExpression", "start": 19518, "end": 19573, "loc": { "start": { "line": 510, "column": 16 }, "end": { "line": 510, "column": 71 } }, "object": { "type": "MemberExpression", "start": 19518, "end": 19546, "loc": { "start": { "line": 510, "column": 16 }, "end": { "line": 510, "column": 44 } }, "object": { "type": "MemberExpression", "start": 19518, "end": 19527, "loc": { "start": { "line": 510, "column": 16 }, "end": { "line": 510, "column": 25 } }, "object": { "type": "Identifier", "start": 19518, "end": 19522, "loc": { "start": { "line": 510, "column": 16 }, "end": { "line": 510, "column": 20 }, "identifierName": "self" }, "name": "self" }, "property": { "type": "Identifier", "start": 19523, "end": 19527, "loc": { "start": { "line": 510, "column": 21 }, "end": { "line": 510, "column": 25 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 19528, "end": 19546, "loc": { "start": { "line": 510, "column": 26 }, "end": { "line": 510, "column": 44 }, "identifierName": "shapeDefinitionMgr" }, "name": "shapeDefinitionMgr" }, "computed": false }, "property": { "type": "Identifier", "start": 19547, "end": 19573, "loc": { "start": { "line": 510, "column": 45 }, "end": { "line": 510, "column": 71 }, "identifierName": "getShapeItemFromDefinition" }, "name": "getShapeItemFromDefinition" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 19574, "end": 19584, "loc": { "start": { "line": 510, "column": 72 }, "end": { "line": 510, "column": 82 }, "identifierName": "definition" }, "name": "definition" } ] } ] } } ], "directives": [] } }, "leadingComments": null } ], "kind": "var", "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Generates a shape patch\r\n * @param {RandomNumberGenerator} rng\r\n * @param {number} shapePatchSize\r\n * @param {number} distanceToOriginInChunks\r\n ", "start": 16707, "end": 16902, "loc": { "start": { "line": 449, "column": 8 }, "end": { "line": 454, "column": 11 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Determine how likely it is that there is a shape patch", "start": 19625, "end": 19682, "loc": { "start": { "line": 514, "column": 8 }, "end": { "line": 514, "column": 65 } } } ] }, { "type": "VariableDeclaration", "start": 19692, "end": 19772, "loc": { "start": { "line": 515, "column": 8 }, "end": { "line": 515, "column": 88 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19698, "end": 19771, "loc": { "start": { "line": 515, "column": 14 }, "end": { "line": 515, "column": 87 } }, "id": { "type": "Identifier", "start": 19698, "end": 19714, "loc": { "start": { "line": 515, "column": 14 }, "end": { "line": 515, "column": 30 }, "identifierName": "shapePatchChance" }, "name": "shapePatchChance", "leadingComments": null }, "init": { "type": "BinaryExpression", "start": 19717, "end": 19771, "loc": { "start": { "line": 515, "column": 33 }, "end": { "line": 515, "column": 87 } }, "left": { "type": "NumericLiteral", "start": 19717, "end": 19720, "loc": { "start": { "line": 515, "column": 33 }, "end": { "line": 515, "column": 36 } }, "extra": { "rawValue": 0.9, "raw": "0.9" }, "value": 0.9 }, "operator": "-", "right": { "type": "BinaryExpression", "start": 19723, "end": 19771, "loc": { "start": { "line": 515, "column": 39 }, "end": { "line": 515, "column": 87 } }, "left": { "type": "CallExpression", "start": 19723, "end": 19765, "loc": { "start": { "line": 515, "column": 39 }, "end": { "line": 515, "column": 81 } }, "callee": { "type": "Identifier", "start": 19723, "end": 19728, "loc": { "start": { "line": 515, "column": 39 }, "end": { "line": 515, "column": 44 }, "identifierName": "clamp" }, "name": "clamp" }, "arguments": [ { "type": "BinaryExpression", "start": 19729, "end": 19758, "loc": { "start": { "line": 515, "column": 45 }, "end": { "line": 515, "column": 74 } }, "left": { "type": "Identifier", "start": 19729, "end": 19753, "loc": { "start": { "line": 515, "column": 45 }, "end": { "line": 515, "column": 69 }, "identifierName": "distanceToOriginInChunks" }, "name": "distanceToOriginInChunks" }, "operator": "/", "right": { "type": "NumericLiteral", "start": 19756, "end": 19758, "loc": { "start": { "line": 515, "column": 72 }, "end": { "line": 515, "column": 74 } }, "extra": { "rawValue": 25, "raw": "25" }, "value": 25 } }, { "type": "NumericLiteral", "start": 19760, "end": 19761, "loc": { "start": { "line": 515, "column": 76 }, "end": { "line": 515, "column": 77 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "NumericLiteral", "start": 19763, "end": 19764, "loc": { "start": { "line": 515, "column": 79 }, "end": { "line": 515, "column": 80 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } ] }, "operator": "*", "right": { "type": "NumericLiteral", "start": 19768, "end": 19771, "loc": { "start": { "line": 515, "column": 84 }, "end": { "line": 515, "column": 87 } }, "extra": { "rawValue": 0.5, "raw": "0.5" }, "value": 0.5 } } }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Determine how likely it is that there is a shape patch", "start": 19625, "end": 19682, "loc": { "start": { "line": 514, "column": 8 }, "end": { "line": 514, "column": 65 } } } ] }, { "type": "IfStatement", "start": 19782, "end": 20029, "loc": { "start": { "line": 516, "column": 8 }, "end": { "line": 519, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 19786, "end": 19819, "loc": { "start": { "line": 516, "column": 12 }, "end": { "line": 516, "column": 45 } }, "left": { "type": "CallExpression", "start": 19786, "end": 19796, "loc": { "start": { "line": 516, "column": 12 }, "end": { "line": 516, "column": 22 } }, "callee": { "type": "MemberExpression", "start": 19786, "end": 19794, "loc": { "start": { "line": 516, "column": 12 }, "end": { "line": 516, "column": 20 } }, "object": { "type": "Identifier", "start": 19786, "end": 19789, "loc": { "start": { "line": 516, "column": 12 }, "end": { "line": 516, "column": 15 }, "identifierName": "rng" }, "name": "rng" }, "property": { "type": "Identifier", "start": 19790, "end": 19794, "loc": { "start": { "line": 516, "column": 16 }, "end": { "line": 516, "column": 20 }, "identifierName": "next" }, "name": "next" }, "computed": false }, "arguments": [] }, "operator": "<", "right": { "type": "BinaryExpression", "start": 19799, "end": 19819, "loc": { "start": { "line": 516, "column": 25 }, "end": { "line": 516, "column": 45 } }, "left": { "type": "Identifier", "start": 19799, "end": 19815, "loc": { "start": { "line": 516, "column": 25 }, "end": { "line": 516, "column": 41 }, "identifierName": "shapePatchChance" }, "name": "shapePatchChance" }, "operator": "/", "right": { "type": "NumericLiteral", "start": 19818, "end": 19819, "loc": { "start": { "line": 516, "column": 44 }, "end": { "line": 516, "column": 45 } }, "extra": { "rawValue": 4, "raw": "4" }, "value": 4 } } }, "consequent": { "type": "BlockStatement", "start": 19821, "end": 20029, "loc": { "start": { "line": 516, "column": 47 }, "end": { "line": 519, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 19836, "end": 19930, "loc": { "start": { "line": 517, "column": 12 }, "end": { "line": 517, "column": 106 } }, "declarations": [ { "type": "VariableDeclarator", "start": 19842, "end": 19929, "loc": { "start": { "line": 517, "column": 18 }, "end": { "line": 517, "column": 105 } }, "id": { "type": "Identifier", "start": 19842, "end": 19856, "loc": { "start": { "line": 517, "column": 18 }, "end": { "line": 517, "column": 32 }, "identifierName": "shapePatchSize" }, "name": "shapePatchSize" }, "init": { "type": "CallExpression", "start": 19859, "end": 19929, "loc": { "start": { "line": 517, "column": 35 }, "end": { "line": 517, "column": 105 } }, "callee": { "type": "MemberExpression", "start": 19859, "end": 19867, "loc": { "start": { "line": 517, "column": 35 }, "end": { "line": 517, "column": 43 } }, "object": { "type": "Identifier", "start": 19859, "end": 19863, "loc": { "start": { "line": 517, "column": 35 }, "end": { "line": 517, "column": 39 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 19864, "end": 19867, "loc": { "start": { "line": 517, "column": 40 }, "end": { "line": 517, "column": 43 }, "identifierName": "max" }, "name": "max" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 19868, "end": 19869, "loc": { "start": { "line": 517, "column": 44 }, "end": { "line": 517, "column": 45 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 }, { "type": "CallExpression", "start": 19871, "end": 19928, "loc": { "start": { "line": 517, "column": 47 }, "end": { "line": 517, "column": 104 } }, "callee": { "type": "MemberExpression", "start": 19871, "end": 19881, "loc": { "start": { "line": 517, "column": 47 }, "end": { "line": 517, "column": 57 } }, "object": { "type": "Identifier", "start": 19871, "end": 19875, "loc": { "start": { "line": 517, "column": 47 }, "end": { "line": 517, "column": 51 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 19876, "end": 19881, "loc": { "start": { "line": 517, "column": 52 }, "end": { "line": 517, "column": 57 }, "identifierName": "round" }, "name": "round" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 19882, "end": 19927, "loc": { "start": { "line": 517, "column": 58 }, "end": { "line": 517, "column": 103 } }, "left": { "type": "NumericLiteral", "start": 19882, "end": 19883, "loc": { "start": { "line": 517, "column": 58 }, "end": { "line": 517, "column": 59 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "operator": "+", "right": { "type": "CallExpression", "start": 19886, "end": 19927, "loc": { "start": { "line": 517, "column": 62 }, "end": { "line": 517, "column": 103 } }, "callee": { "type": "Identifier", "start": 19886, "end": 19891, "loc": { "start": { "line": 517, "column": 62 }, "end": { "line": 517, "column": 67 }, "identifierName": "clamp" }, "name": "clamp" }, "arguments": [ { "type": "BinaryExpression", "start": 19892, "end": 19920, "loc": { "start": { "line": 517, "column": 68 }, "end": { "line": 517, "column": 96 } }, "left": { "type": "Identifier", "start": 19892, "end": 19916, "loc": { "start": { "line": 517, "column": 68 }, "end": { "line": 517, "column": 92 }, "identifierName": "distanceToOriginInChunks" }, "name": "distanceToOriginInChunks" }, "operator": "/", "right": { "type": "NumericLiteral", "start": 19919, "end": 19920, "loc": { "start": { "line": 517, "column": 95 }, "end": { "line": 517, "column": 96 } }, "extra": { "rawValue": 8, "raw": "8" }, "value": 8 } }, { "type": "NumericLiteral", "start": 19922, "end": 19923, "loc": { "start": { "line": 517, "column": 98 }, "end": { "line": 517, "column": 99 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "NumericLiteral", "start": 19925, "end": 19926, "loc": { "start": { "line": 517, "column": 101 }, "end": { "line": 517, "column": 102 } }, "extra": { "rawValue": 4, "raw": "4" }, "value": 4 } ] } } ] } ] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 19944, "end": 20018, "loc": { "start": { "line": 518, "column": 12 }, "end": { "line": 518, "column": 86 } }, "expression": { "type": "CallExpression", "start": 19944, "end": 20017, "loc": { "start": { "line": 518, "column": 12 }, "end": { "line": 518, "column": 85 } }, "callee": { "type": "Identifier", "start": 19944, "end": 19970, "loc": { "start": { "line": 518, "column": 12 }, "end": { "line": 518, "column": 38 }, "identifierName": "internalGenerateShapePatch" }, "name": "internalGenerateShapePatch" }, "arguments": [ { "type": "Identifier", "start": 19971, "end": 19974, "loc": { "start": { "line": 518, "column": 39 }, "end": { "line": 518, "column": 42 }, "identifierName": "rng" }, "name": "rng" }, { "type": "Identifier", "start": 19976, "end": 19990, "loc": { "start": { "line": 518, "column": 44 }, "end": { "line": 518, "column": 58 }, "identifierName": "shapePatchSize" }, "name": "shapePatchSize" }, { "type": "Identifier", "start": 19992, "end": 20016, "loc": { "start": { "line": 518, "column": 60 }, "end": { "line": 518, "column": 84 }, "identifierName": "distanceToOriginInChunks" }, "name": "distanceToOriginInChunks" } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] } } ] } } } ], "directives": [] }, "comments": [ { "type": "CommentBlock", "value": "*\r\n *\r\n * @param {GameRoot} root\r\n * @param {number} x\r\n * @param {number} y\r\n ", "start": 666, "end": 769, "loc": { "start": { "line": 17, "column": 4 }, "end": { "line": 22, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Stores the contents of the lower (= map resources) layer\r\n * @type {Array>}\r\n ", "start": 987, "end": 1117, "loc": { "start": { "line": 30, "column": 8 }, "end": { "line": 33, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Stores the contents of the regular layer\r\n * @type {Array>}\r\n ", "start": 1232, "end": 1343, "loc": { "start": { "line": 36, "column": 8 }, "end": { "line": 39, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Stores the contents of the wires layer\r\n * @type {Array>}\r\n ", "start": 1456, "end": 1566, "loc": { "start": { "line": 42, "column": 8 }, "end": { "line": 45, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Stores the contents of the layers\r\n * @type {Map>>}\r\n ", "start": 1683, "end": 1801, "loc": { "start": { "line": 48, "column": 8 }, "end": { "line": 51, "column": 11 } } }, { "type": "CommentBlock", "value": "* @type {Array} ", "start": 1855, "end": 1883, "loc": { "start": { "line": 54, "column": 8 }, "end": { "line": 54, "column": 36 } } }, { "type": "CommentBlock", "value": "*\r\n * World space rectangle, can be used for culling\r\n ", "start": 1933, "end": 2008, "loc": { "start": { "line": 57, "column": 8 }, "end": { "line": 59, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Tile space rectangle, can be used for culling\r\n ", "start": 2270, "end": 2344, "loc": { "start": { "line": 67, "column": 8 }, "end": { "line": 69, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Which entities this chunk contains, sorted by layer\r\n * @type {Record>}\r\n ", "start": 2547, "end": 2676, "loc": { "start": { "line": 77, "column": 8 }, "end": { "line": 80, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Store which patches we have so we can render them in the overview\r\n * @type {Array<{pos: Vector, item: BaseItem, size: number }>}\r\n ", "start": 3155, "end": 3321, "loc": { "start": { "line": 95, "column": 8 }, "end": { "line": 98, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Generates a patch filled with the given item\r\n * @param {RandomNumberGenerator} rng\r\n * @param {number} patchSize\r\n * @param {any} item\r\n * @param {number=} overrideX Override the X position of the patch\r\n * @param {number=} overrideY Override the Y position of the patch\r\n ", "start": 3402, "end": 3714, "loc": { "start": { "line": 104, "column": 4 }, "end": { "line": 111, "column": 7 } } }, { "type": "CommentLine", "value": " Find a position within the chunk which is not blocked", "start": 3867, "end": 3923, "loc": { "start": { "line": 115, "column": 8 }, "end": { "line": 115, "column": 64 } } }, { "type": "CommentLine", "value": " Each patch consists of multiple circles", "start": 4348, "end": 4390, "loc": { "start": { "line": 130, "column": 8 }, "end": { "line": 130, "column": 50 } } }, { "type": "CommentLine", "value": " Determine circle parameters", "start": 4494, "end": 4524, "loc": { "start": { "line": 134, "column": 12 }, "end": { "line": 134, "column": 42 } } }, { "type": "CommentLine", "value": " We draw an elipsis actually", "start": 4737, "end": 4767, "loc": { "start": { "line": 139, "column": 12 }, "end": { "line": 139, "column": 42 } } }, { "type": "CommentLine", "value": " logger.warn(\"Tried to spawn resource out of chunk\");", "start": 6140, "end": 6195, "loc": { "start": { "line": 162, "column": 24 }, "end": { "line": 162, "column": 79 } } }, { "type": "CommentBlock", "value": "*\r\n * Generates the lower layer \"terrain\"\r\n ", "start": 6424, "end": 6480, "loc": { "start": { "line": 175, "column": 4 }, "end": { "line": 177, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Checks if this chunk has predefined contents, and if so returns true and generates the\r\n * predefined contents\r\n * @param {RandomNumberGenerator} rng\r\n * @returns {boolean}\r\n ", "start": 7003, "end": 7208, "loc": { "start": { "line": 193, "column": 4 }, "end": { "line": 198, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n *\r\n * @param {number} worldX\r\n * @param {number} worldY\r\n * @returns {BaseItem=}\r\n ", "start": 7451, "end": 7562, "loc": { "start": { "line": 208, "column": 4 }, "end": { "line": 213, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns the contents of this chunk from the given world space coordinates\r\n * @param {number} worldX\r\n * @param {number} worldY\r\n * @returns {Entity=}\r\n ", "start": 8034, "end": 8217, "loc": { "start": { "line": 224, "column": 4 }, "end": { "line": 229, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns the contents of this chunk from the given world space coordinates\r\n * @param {number} worldX\r\n * @param {number} worldY\r\n * @param {Layer} layer\r\n * @returns {Entity=}\r\n ", "start": 8688, "end": 8900, "loc": { "start": { "line": 240, "column": 4 }, "end": { "line": 246, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns the contents of this chunk from the given world space coordinates\r\n * @param {number} worldX\r\n * @param {number} worldY\r\n * @returns {Array}\r\n ", "start": 9664, "end": 9853, "loc": { "start": { "line": 263, "column": 4 }, "end": { "line": 268, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns the chunks contents from the given local coordinates\r\n * @param {number} localX\r\n * @param {number} localY\r\n * @returns {Entity=}\r\n ", "start": 10811, "end": 10981, "loc": { "start": { "line": 297, "column": 4 }, "end": { "line": 302, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Sets the chunks contents\r\n * @param {number} tileX\r\n * @param {number} tileY\r\n * @param {Entity} contents\r\n * @param {Layer} layer\r\n ", "start": 11364, "end": 11531, "loc": { "start": { "line": 312, "column": 4 }, "end": { "line": 318, "column": 7 } } }, { "type": "CommentLine", "value": " Remove from list (the old contents must be reigstered)", "start": 12455, "end": 12512, "loc": { "start": { "line": 339, "column": 12 }, "end": { "line": 339, "column": 69 } } }, { "type": "CommentLine", "value": " Determine how likely it is that there is a color patch", "start": 15013, "end": 15070, "loc": { "start": { "line": 408, "column": 8 }, "end": { "line": 408, "column": 65 } } }, { "type": "CommentLine", "value": " First, determine available colors", "start": 15334, "end": 15370, "loc": { "start": { "line": 413, "column": 12 }, "end": { "line": 413, "column": 48 } } }, { "type": "CommentBlock", "value": "*\r\n * Chooses a random shape with the given weights\r\n * @param {RandomNumberGenerator} rng\r\n * @param {Object.} weights\r\n * @returns {enumSubShape}\r\n ", "start": 15822, "end": 16038, "loc": { "start": { "line": 426, "column": 8 }, "end": { "line": 431, "column": 11 } } }, { "type": "CommentLine", "value": " @ts-ignore", "start": 16118, "end": 16131, "loc": { "start": { "line": 433, "column": 12 }, "end": { "line": 433, "column": 25 } } }, { "type": "CommentBlock", "value": "*\r\n * Generates a shape patch\r\n * @param {RandomNumberGenerator} rng\r\n * @param {number} shapePatchSize\r\n * @param {number} distanceToOriginInChunks\r\n ", "start": 16707, "end": 16902, "loc": { "start": { "line": 449, "column": 8 }, "end": { "line": 454, "column": 11 } } }, { "type": "CommentBlock", "value": "* @type {[enumSubShape, enumSubShape, enumSubShape, enumSubShape]} ", "start": 17011, "end": 17082, "loc": { "start": { "line": 456, "column": 12 }, "end": { "line": 456, "column": 83 } } }, { "type": "CommentLine", "value": " Later there is a mix of everything", "start": 17166, "end": 17203, "loc": { "start": { "line": 461, "column": 12 }, "end": { "line": 461, "column": 49 } } }, { "type": "CommentLine", "value": " Initial chunks can not spawn the good stuff", "start": 17654, "end": 17700, "loc": { "start": { "line": 470, "column": 16 }, "end": { "line": 470, "column": 62 } } }, { "type": "CommentLine", "value": " Initial chunk patches always have the same shape", "start": 17887, "end": 17938, "loc": { "start": { "line": 476, "column": 16 }, "end": { "line": 476, "column": 67 } } }, { "type": "CommentLine", "value": " Later patches can also have mixed ones", "start": 18164, "end": 18205, "loc": { "start": { "line": 480, "column": 16 }, "end": { "line": 480, "column": 57 } } }, { "type": "CommentLine", "value": " Finally there is a mix of everything", "start": 18482, "end": 18521, "loc": { "start": { "line": 485, "column": 16 }, "end": { "line": 485, "column": 55 } } }, { "type": "CommentLine", "value": " Makes sure windmills never spawn as whole", "start": 18871, "end": 18915, "loc": { "start": { "line": 494, "column": 12 }, "end": { "line": 494, "column": 56 } } }, { "type": "CommentLine", "value": " Determine how likely it is that there is a shape patch", "start": 19625, "end": 19682, "loc": { "start": { "line": 514, "column": 8 }, "end": { "line": 514, "column": 65 } } } ], "tokens": [ { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 0, "end": 6, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7, "end": 8, "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 1, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 9, "end": 21, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22, "end": 23, "loc": { "start": { "line": 1, "column": 22 }, "end": { "line": 1, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 24, "end": 28, "loc": { "start": { "line": 1, "column": 24 }, "end": { "line": 1, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../core/config", "start": 29, "end": 45, "loc": { "start": { "line": 1, "column": 29 }, "end": { "line": 1, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 45, "end": 46, "loc": { "start": { "line": 1, "column": 45 }, "end": { "line": 1, "column": 46 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 48, "end": 54, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 55, "end": 56, "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createLogger", "start": 57, "end": 69, "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": 70, "end": 71, "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": 72, "end": 76, "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/logging", "start": 77, "end": 94, "loc": { "start": { "line": 2, "column": 29 }, "end": { "line": 2, "column": 46 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 94, "end": 95, "loc": { "start": { "line": 2, "column": 46 }, "end": { "line": 2, "column": 47 } } }, { "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": 97, "end": 103, "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": 104, "end": 105, "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": "RandomNumberGenerator", "start": 106, "end": 127, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 30 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 128, "end": 129, "loc": { "start": { "line": 3, "column": 31 }, "end": { "line": 3, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 130, "end": 134, "loc": { "start": { "line": 3, "column": 33 }, "end": { "line": 3, "column": 37 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../core/rng", "start": 135, "end": 148, "loc": { "start": { "line": 3, "column": 38 }, "end": { "line": 3, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 148, "end": 149, "loc": { "start": { "line": 3, "column": 51 }, "end": { "line": 3, "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": 151, "end": 157, "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": 158, "end": 159, "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": "clamp", "start": 160, "end": 165, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 14 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 165, "end": 166, "loc": { "start": { "line": 4, "column": 14 }, "end": { "line": 4, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fastArrayDeleteValueIfContained", "start": 167, "end": 198, "loc": { "start": { "line": 4, "column": 16 }, "end": { "line": 4, "column": 47 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 198, "end": 199, "loc": { "start": { "line": 4, "column": 47 }, "end": { "line": 4, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "make2DUndefinedArray", "start": 200, "end": 220, "loc": { "start": { "line": 4, "column": 49 }, "end": { "line": 4, "column": 69 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 221, "end": 222, "loc": { "start": { "line": 4, "column": 70 }, "end": { "line": 4, "column": 71 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 223, "end": 227, "loc": { "start": { "line": 4, "column": 72 }, "end": { "line": 4, "column": 76 } } }, { "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": 228, "end": 243, "loc": { "start": { "line": 4, "column": 77 }, "end": { "line": 4, "column": 92 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 243, "end": 244, "loc": { "start": { "line": 4, "column": 92 }, "end": { "line": 4, "column": 93 } } }, { "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": 246, "end": 252, "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": 253, "end": 254, "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": "Vector", "start": 255, "end": 261, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 262, "end": 263, "loc": { "start": { "line": 5, "column": 16 }, "end": { "line": 5, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 264, "end": 268, "loc": { "start": { "line": 5, "column": 18 }, "end": { "line": 5, "column": 22 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../core/vector", "start": 269, "end": 285, "loc": { "start": { "line": 5, "column": 23 }, "end": { "line": 5, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 285, "end": 286, "loc": { "start": { "line": 5, "column": 39 }, "end": { "line": 5, "column": 40 } } }, { "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": 288, "end": 294, "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": 295, "end": 296, "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": "BaseItem", "start": 297, "end": 305, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 306, "end": 307, "loc": { "start": { "line": 6, "column": 18 }, "end": { "line": 6, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 308, "end": 312, "loc": { "start": { "line": 6, "column": 20 }, "end": { "line": 6, "column": 24 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./base_item", "start": 313, "end": 326, "loc": { "start": { "line": 6, "column": 25 }, "end": { "line": 6, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 326, "end": 327, "loc": { "start": { "line": 6, "column": 38 }, "end": { "line": 6, "column": 39 } } }, { "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": 329, "end": 335, "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": 336, "end": 337, "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": "enumColors", "start": 338, "end": 348, "loc": { "start": { "line": 7, "column": 9 }, "end": { "line": 7, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 349, "end": 350, "loc": { "start": { "line": 7, "column": 20 }, "end": { "line": 7, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 351, "end": 355, "loc": { "start": { "line": 7, "column": 22 }, "end": { "line": 7, "column": 26 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./colors", "start": 356, "end": 366, "loc": { "start": { "line": 7, "column": 27 }, "end": { "line": 7, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 366, "end": 367, "loc": { "start": { "line": 7, "column": 37 }, "end": { "line": 7, "column": 38 } } }, { "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": 369, "end": 375, "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": 376, "end": 377, "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": "Entity", "start": 378, "end": 384, "loc": { "start": { "line": 8, "column": 9 }, "end": { "line": 8, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 385, "end": 386, "loc": { "start": { "line": 8, "column": 16 }, "end": { "line": 8, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 387, "end": 391, "loc": { "start": { "line": 8, "column": 18 }, "end": { "line": 8, "column": 22 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./entity", "start": 392, "end": 402, "loc": { "start": { "line": 8, "column": 23 }, "end": { "line": 8, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 402, "end": 403, "loc": { "start": { "line": 8, "column": 33 }, "end": { "line": 8, "column": 34 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 405, "end": 411, "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": 412, "end": 413, "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": "ColorItem", "start": 414, "end": 423, "loc": { "start": { "line": 9, "column": 9 }, "end": { "line": 9, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 424, "end": 425, "loc": { "start": { "line": 9, "column": 19 }, "end": { "line": 9, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 426, "end": 430, "loc": { "start": { "line": 9, "column": 21 }, "end": { "line": 9, "column": 25 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./items/color_item", "start": 431, "end": 451, "loc": { "start": { "line": 9, "column": 26 }, "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": 451, "end": 452, "loc": { "start": { "line": 9, "column": 46 }, "end": { "line": 9, "column": 47 } } }, { "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": 454, "end": 460, "loc": { "start": { "line": 10, "column": 0 }, "end": { "line": 10, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 461, "end": 462, "loc": { "start": { "line": 10, "column": 7 }, "end": { "line": 10, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "GameRoot", "start": 463, "end": 471, "loc": { "start": { "line": 10, "column": 9 }, "end": { "line": 10, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 472, "end": 473, "loc": { "start": { "line": 10, "column": 18 }, "end": { "line": 10, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 474, "end": 478, "loc": { "start": { "line": 10, "column": 20 }, "end": { "line": 10, "column": 24 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./root", "start": 479, "end": 487, "loc": { "start": { "line": 10, "column": 25 }, "end": { "line": 10, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 487, "end": 488, "loc": { "start": { "line": 10, "column": 33 }, "end": { "line": 10, "column": 34 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 490, "end": 496, "loc": { "start": { "line": 11, "column": 0 }, "end": { "line": 11, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 497, "end": 498, "loc": { "start": { "line": 11, "column": 7 }, "end": { "line": 11, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumSubShape", "start": 499, "end": 511, "loc": { "start": { "line": 11, "column": 9 }, "end": { "line": 11, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 512, "end": 513, "loc": { "start": { "line": 11, "column": 22 }, "end": { "line": 11, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 514, "end": 518, "loc": { "start": { "line": 11, "column": 24 }, "end": { "line": 11, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./shape_definition", "start": 519, "end": 539, "loc": { "start": { "line": 11, "column": 29 }, "end": { "line": 11, "column": 49 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 539, "end": 540, "loc": { "start": { "line": 11, "column": 49 }, "end": { "line": 11, "column": 50 } } }, { "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": 542, "end": 548, "loc": { "start": { "line": 12, "column": 0 }, "end": { "line": 12, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 549, "end": 550, "loc": { "start": { "line": 12, "column": 7 }, "end": { "line": 12, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Rectangle", "start": 551, "end": 560, "loc": { "start": { "line": 12, "column": 9 }, "end": { "line": 12, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 561, "end": 562, "loc": { "start": { "line": 12, "column": 19 }, "end": { "line": 12, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 563, "end": 567, "loc": { "start": { "line": 12, "column": 21 }, "end": { "line": 12, "column": 25 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../core/rectangle", "start": 568, "end": 587, "loc": { "start": { "line": 12, "column": 26 }, "end": { "line": 12, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 587, "end": 588, "loc": { "start": { "line": 12, "column": 45 }, "end": { "line": 12, "column": 46 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 592, "end": 597, "loc": { "start": { "line": 14, "column": 0 }, "end": { "line": 14, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 598, "end": 604, "loc": { "start": { "line": 14, "column": 6 }, "end": { "line": 14, "column": 12 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 605, "end": 606, "loc": { "start": { "line": 14, "column": 13 }, "end": { "line": 14, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createLogger", "start": 607, "end": 619, "loc": { "start": { "line": 14, "column": 15 }, "end": { "line": 14, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 619, "end": 620, "loc": { "start": { "line": 14, "column": 27 }, "end": { "line": 14, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "map_chunk", "start": 620, "end": 631, "loc": { "start": { "line": 14, "column": 28 }, "end": { "line": 14, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 631, "end": 632, "loc": { "start": { "line": 14, "column": 39 }, "end": { "line": 14, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 632, "end": 633, "loc": { "start": { "line": 14, "column": 40 }, "end": { "line": 14, "column": 41 } } }, { "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": 637, "end": 643, "loc": { "start": { "line": 16, "column": 0 }, "end": { "line": 16, "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": 644, "end": 649, "loc": { "start": { "line": 16, "column": 7 }, "end": { "line": 16, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "MapChunk", "start": 650, "end": 658, "loc": { "start": { "line": 16, "column": 13 }, "end": { "line": 16, "column": 21 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 659, "end": 660, "loc": { "start": { "line": 16, "column": 22 }, "end": { "line": 16, "column": 23 } } }, { "type": "CommentBlock", "value": "*\r\n *\r\n * @param {GameRoot} root\r\n * @param {number} x\r\n * @param {number} y\r\n ", "start": 666, "end": 769, "loc": { "start": { "line": 17, "column": 4 }, "end": { "line": 22, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 775, "end": 786, "loc": { "start": { "line": 23, "column": 4 }, "end": { "line": 23, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 786, "end": 787, "loc": { "start": { "line": 23, "column": 15 }, "end": { "line": 23, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 787, "end": 791, "loc": { "start": { "line": 23, "column": 16 }, "end": { "line": 23, "column": 20 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 791, "end": 792, "loc": { "start": { "line": 23, "column": 20 }, "end": { "line": 23, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 793, "end": 794, "loc": { "start": { "line": 23, "column": 22 }, "end": { "line": 23, "column": 23 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 794, "end": 795, "loc": { "start": { "line": 23, "column": 23 }, "end": { "line": 23, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 796, "end": 797, "loc": { "start": { "line": 23, "column": 25 }, "end": { "line": 23, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 797, "end": 798, "loc": { "start": { "line": 23, "column": 26 }, "end": { "line": 23, "column": 27 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 799, "end": 800, "loc": { "start": { "line": 23, "column": 28 }, "end": { "line": 23, "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": 810, "end": 814, "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": 814, "end": 815, "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": "root", "start": 815, "end": 819, "loc": { "start": { "line": 24, "column": 13 }, "end": { "line": 24, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 820, "end": 821, "loc": { "start": { "line": 24, "column": 18 }, "end": { "line": 24, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 822, "end": 826, "loc": { "start": { "line": 24, "column": 20 }, "end": { "line": 24, "column": 24 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 826, "end": 827, "loc": { "start": { "line": 24, "column": 24 }, "end": { "line": 24, "column": 25 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 837, "end": 841, "loc": { "start": { "line": 25, "column": 8 }, "end": { "line": 25, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 841, "end": 842, "loc": { "start": { "line": 25, "column": 12 }, "end": { "line": 25, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 842, "end": 843, "loc": { "start": { "line": 25, "column": 13 }, "end": { "line": 25, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 844, "end": 845, "loc": { "start": { "line": 25, "column": 15 }, "end": { "line": 25, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 846, "end": 847, "loc": { "start": { "line": 25, "column": 17 }, "end": { "line": 25, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 847, "end": 848, "loc": { "start": { "line": 25, "column": 18 }, "end": { "line": 25, "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": 858, "end": 862, "loc": { "start": { "line": 26, "column": 8 }, "end": { "line": 26, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 862, "end": 863, "loc": { "start": { "line": 26, "column": 12 }, "end": { "line": 26, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 863, "end": 864, "loc": { "start": { "line": 26, "column": 13 }, "end": { "line": 26, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 865, "end": 866, "loc": { "start": { "line": 26, "column": 15 }, "end": { "line": 26, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 867, "end": 868, "loc": { "start": { "line": 26, "column": 17 }, "end": { "line": 26, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 868, "end": 869, "loc": { "start": { "line": 26, "column": 18 }, "end": { "line": 26, "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": 879, "end": 883, "loc": { "start": { "line": 27, "column": 8 }, "end": { "line": 27, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 883, "end": 884, "loc": { "start": { "line": 27, "column": 12 }, "end": { "line": 27, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tileX", "start": 884, "end": 889, "loc": { "start": { "line": 27, "column": 13 }, "end": { "line": 27, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 890, "end": 891, "loc": { "start": { "line": 27, "column": 19 }, "end": { "line": 27, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 892, "end": 893, "loc": { "start": { "line": 27, "column": 21 }, "end": { "line": 27, "column": 22 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 894, "end": 895, "loc": { "start": { "line": 27, "column": 23 }, "end": { "line": 27, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 896, "end": 908, "loc": { "start": { "line": 27, "column": 25 }, "end": { "line": 27, "column": 37 } } }, { "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": 27, "column": 37 }, "end": { "line": 27, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapChunkSize", "start": 909, "end": 921, "loc": { "start": { "line": 27, "column": 38 }, "end": { "line": 27, "column": 50 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 921, "end": 922, "loc": { "start": { "line": 27, "column": 50 }, "end": { "line": 27, "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": 932, "end": 936, "loc": { "start": { "line": 28, "column": 8 }, "end": { "line": 28, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 936, "end": 937, "loc": { "start": { "line": 28, "column": 12 }, "end": { "line": 28, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tileY", "start": 937, "end": 942, "loc": { "start": { "line": 28, "column": 13 }, "end": { "line": 28, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 943, "end": 944, "loc": { "start": { "line": 28, "column": 19 }, "end": { "line": 28, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 945, "end": 946, "loc": { "start": { "line": 28, "column": 21 }, "end": { "line": 28, "column": 22 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 947, "end": 948, "loc": { "start": { "line": 28, "column": 23 }, "end": { "line": 28, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 949, "end": 961, "loc": { "start": { "line": 28, "column": 25 }, "end": { "line": 28, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 961, "end": 962, "loc": { "start": { "line": 28, "column": 37 }, "end": { "line": 28, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapChunkSize", "start": 962, "end": 974, "loc": { "start": { "line": 28, "column": 38 }, "end": { "line": 28, "column": 50 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 974, "end": 975, "loc": { "start": { "line": 28, "column": 50 }, "end": { "line": 28, "column": 51 } } }, { "type": "CommentBlock", "value": "*\r\n * Stores the contents of the lower (= map resources) layer\r\n * @type {Array>}\r\n ", "start": 987, "end": 1117, "loc": { "start": { "line": 30, "column": 8 }, "end": { "line": 33, "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": 1127, "end": 1131, "loc": { "start": { "line": 34, "column": 8 }, "end": { "line": 34, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1131, "end": 1132, "loc": { "start": { "line": 34, "column": 12 }, "end": { "line": 34, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lowerLayer", "start": 1132, "end": 1142, "loc": { "start": { "line": 34, "column": 13 }, "end": { "line": 34, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1143, "end": 1144, "loc": { "start": { "line": 34, "column": 24 }, "end": { "line": 34, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "make2DUndefinedArray", "start": 1145, "end": 1165, "loc": { "start": { "line": 34, "column": 26 }, "end": { "line": 34, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1165, "end": 1166, "loc": { "start": { "line": 34, "column": 46 }, "end": { "line": 34, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 1166, "end": 1178, "loc": { "start": { "line": 34, "column": 47 }, "end": { "line": 34, "column": 59 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1178, "end": 1179, "loc": { "start": { "line": 34, "column": 59 }, "end": { "line": 34, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapChunkSize", "start": 1179, "end": 1191, "loc": { "start": { "line": 34, "column": 60 }, "end": { "line": 34, "column": 72 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1191, "end": 1192, "loc": { "start": { "line": 34, "column": 72 }, "end": { "line": 34, "column": 73 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 1193, "end": 1205, "loc": { "start": { "line": 34, "column": 74 }, "end": { "line": 34, "column": 86 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1205, "end": 1206, "loc": { "start": { "line": 34, "column": 86 }, "end": { "line": 34, "column": 87 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapChunkSize", "start": 1206, "end": 1218, "loc": { "start": { "line": 34, "column": 87 }, "end": { "line": 34, "column": 99 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1218, "end": 1219, "loc": { "start": { "line": 34, "column": 99 }, "end": { "line": 34, "column": 100 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1219, "end": 1220, "loc": { "start": { "line": 34, "column": 100 }, "end": { "line": 34, "column": 101 } } }, { "type": "CommentBlock", "value": "*\r\n * Stores the contents of the regular layer\r\n * @type {Array>}\r\n ", "start": 1232, "end": 1343, "loc": { "start": { "line": 36, "column": 8 }, "end": { "line": 39, "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": 1353, "end": 1357, "loc": { "start": { "line": 40, "column": 8 }, "end": { "line": 40, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1357, "end": 1358, "loc": { "start": { "line": 40, "column": 12 }, "end": { "line": 40, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contents", "start": 1358, "end": 1366, "loc": { "start": { "line": 40, "column": 13 }, "end": { "line": 40, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1367, "end": 1368, "loc": { "start": { "line": 40, "column": 22 }, "end": { "line": 40, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "make2DUndefinedArray", "start": 1369, "end": 1389, "loc": { "start": { "line": 40, "column": 24 }, "end": { "line": 40, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1389, "end": 1390, "loc": { "start": { "line": 40, "column": 44 }, "end": { "line": 40, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 1390, "end": 1402, "loc": { "start": { "line": 40, "column": 45 }, "end": { "line": 40, "column": 57 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1402, "end": 1403, "loc": { "start": { "line": 40, "column": 57 }, "end": { "line": 40, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapChunkSize", "start": 1403, "end": 1415, "loc": { "start": { "line": 40, "column": 58 }, "end": { "line": 40, "column": 70 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1415, "end": 1416, "loc": { "start": { "line": 40, "column": 70 }, "end": { "line": 40, "column": 71 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 1417, "end": 1429, "loc": { "start": { "line": 40, "column": 72 }, "end": { "line": 40, "column": 84 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1429, "end": 1430, "loc": { "start": { "line": 40, "column": 84 }, "end": { "line": 40, "column": 85 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapChunkSize", "start": 1430, "end": 1442, "loc": { "start": { "line": 40, "column": 85 }, "end": { "line": 40, "column": 97 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1442, "end": 1443, "loc": { "start": { "line": 40, "column": 97 }, "end": { "line": 40, "column": 98 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1443, "end": 1444, "loc": { "start": { "line": 40, "column": 98 }, "end": { "line": 40, "column": 99 } } }, { "type": "CommentBlock", "value": "*\r\n * Stores the contents of the wires layer\r\n * @type {Array>}\r\n ", "start": 1456, "end": 1566, "loc": { "start": { "line": 42, "column": 8 }, "end": { "line": 45, "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": 1576, "end": 1580, "loc": { "start": { "line": 46, "column": 8 }, "end": { "line": 46, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1580, "end": 1581, "loc": { "start": { "line": 46, "column": 12 }, "end": { "line": 46, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "wireContents", "start": 1581, "end": 1593, "loc": { "start": { "line": 46, "column": 13 }, "end": { "line": 46, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1594, "end": 1595, "loc": { "start": { "line": 46, "column": 26 }, "end": { "line": 46, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "make2DUndefinedArray", "start": 1596, "end": 1616, "loc": { "start": { "line": 46, "column": 28 }, "end": { "line": 46, "column": 48 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1616, "end": 1617, "loc": { "start": { "line": 46, "column": 48 }, "end": { "line": 46, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 1617, "end": 1629, "loc": { "start": { "line": 46, "column": 49 }, "end": { "line": 46, "column": 61 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1629, "end": 1630, "loc": { "start": { "line": 46, "column": 61 }, "end": { "line": 46, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapChunkSize", "start": 1630, "end": 1642, "loc": { "start": { "line": 46, "column": 62 }, "end": { "line": 46, "column": 74 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1642, "end": 1643, "loc": { "start": { "line": 46, "column": 74 }, "end": { "line": 46, "column": 75 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 1644, "end": 1656, "loc": { "start": { "line": 46, "column": 76 }, "end": { "line": 46, "column": 88 } } }, { "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": 46, "column": 88 }, "end": { "line": 46, "column": 89 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapChunkSize", "start": 1657, "end": 1669, "loc": { "start": { "line": 46, "column": 89 }, "end": { "line": 46, "column": 101 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1669, "end": 1670, "loc": { "start": { "line": 46, "column": 101 }, "end": { "line": 46, "column": 102 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1670, "end": 1671, "loc": { "start": { "line": 46, "column": 102 }, "end": { "line": 46, "column": 103 } } }, { "type": "CommentBlock", "value": "*\r\n * Stores the contents of the layers\r\n * @type {Map>>}\r\n ", "start": 1683, "end": 1801, "loc": { "start": { "line": 48, "column": 8 }, "end": { "line": 51, "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": 1811, "end": 1815, "loc": { "start": { "line": 52, "column": 8 }, "end": { "line": 52, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1815, "end": 1816, "loc": { "start": { "line": 52, "column": 12 }, "end": { "line": 52, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layersContents", "start": 1816, "end": 1830, "loc": { "start": { "line": 52, "column": 13 }, "end": { "line": 52, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1831, "end": 1832, "loc": { "start": { "line": 52, "column": 28 }, "end": { "line": 52, "column": 29 } } }, { "type": { "label": "new", "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "new", "start": 1833, "end": 1836, "loc": { "start": { "line": 52, "column": 30 }, "end": { "line": 52, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Map", "start": 1837, "end": 1840, "loc": { "start": { "line": 52, "column": 34 }, "end": { "line": 52, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1840, "end": 1841, "loc": { "start": { "line": 52, "column": 37 }, "end": { "line": 52, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1841, "end": 1842, "loc": { "start": { "line": 52, "column": 38 }, "end": { "line": 52, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1842, "end": 1843, "loc": { "start": { "line": 52, "column": 39 }, "end": { "line": 52, "column": 40 } } }, { "type": "CommentBlock", "value": "* @type {Array} ", "start": 1855, "end": 1883, "loc": { "start": { "line": 54, "column": 8 }, "end": { "line": 54, "column": 36 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1893, "end": 1897, "loc": { "start": { "line": 55, "column": 8 }, "end": { "line": 55, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1897, "end": 1898, "loc": { "start": { "line": 55, "column": 12 }, "end": { "line": 55, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "containedEntities", "start": 1898, "end": 1915, "loc": { "start": { "line": 55, "column": 13 }, "end": { "line": 55, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1916, "end": 1917, "loc": { "start": { "line": 55, "column": 31 }, "end": { "line": 55, "column": 32 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1918, "end": 1919, "loc": { "start": { "line": 55, "column": 33 }, "end": { "line": 55, "column": 34 } } }, { "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": 55, "column": 34 }, "end": { "line": 55, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1920, "end": 1921, "loc": { "start": { "line": 55, "column": 35 }, "end": { "line": 55, "column": 36 } } }, { "type": "CommentBlock", "value": "*\r\n * World space rectangle, can be used for culling\r\n ", "start": 1933, "end": 2008, "loc": { "start": { "line": 57, "column": 8 }, "end": { "line": 59, "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": 2018, "end": 2022, "loc": { "start": { "line": 60, "column": 8 }, "end": { "line": 60, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2022, "end": 2023, "loc": { "start": { "line": 60, "column": 12 }, "end": { "line": 60, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldSpaceRectangle", "start": 2023, "end": 2042, "loc": { "start": { "line": 60, "column": 13 }, "end": { "line": 60, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2043, "end": 2044, "loc": { "start": { "line": 60, "column": 33 }, "end": { "line": 60, "column": 34 } } }, { "type": { "label": "new", "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "new", "start": 2045, "end": 2048, "loc": { "start": { "line": 60, "column": 35 }, "end": { "line": 60, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Rectangle", "start": 2049, "end": 2058, "loc": { "start": { "line": 60, "column": 39 }, "end": { "line": 60, "column": 48 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2058, "end": 2059, "loc": { "start": { "line": 60, "column": 48 }, "end": { "line": 60, "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": 2073, "end": 2077, "loc": { "start": { "line": 61, "column": 12 }, "end": { "line": 61, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2077, "end": 2078, "loc": { "start": { "line": 61, "column": 16 }, "end": { "line": 61, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tileX", "start": 2078, "end": 2083, "loc": { "start": { "line": 61, "column": 17 }, "end": { "line": 61, "column": 22 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 2084, "end": 2085, "loc": { "start": { "line": 61, "column": 23 }, "end": { "line": 61, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 2086, "end": 2098, "loc": { "start": { "line": 61, "column": 25 }, "end": { "line": 61, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2098, "end": 2099, "loc": { "start": { "line": 61, "column": 37 }, "end": { "line": 61, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tileSize", "start": 2099, "end": 2107, "loc": { "start": { "line": 61, "column": 38 }, "end": { "line": 61, "column": 46 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2107, "end": 2108, "loc": { "start": { "line": 61, "column": 46 }, "end": { "line": 61, "column": 47 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 2122, "end": 2126, "loc": { "start": { "line": 62, "column": 12 }, "end": { "line": 62, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2126, "end": 2127, "loc": { "start": { "line": 62, "column": 16 }, "end": { "line": 62, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tileY", "start": 2127, "end": 2132, "loc": { "start": { "line": 62, "column": 17 }, "end": { "line": 62, "column": 22 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 2133, "end": 2134, "loc": { "start": { "line": 62, "column": 23 }, "end": { "line": 62, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 2135, "end": 2147, "loc": { "start": { "line": 62, "column": 25 }, "end": { "line": 62, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2147, "end": 2148, "loc": { "start": { "line": 62, "column": 37 }, "end": { "line": 62, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tileSize", "start": 2148, "end": 2156, "loc": { "start": { "line": 62, "column": 38 }, "end": { "line": 62, "column": 46 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2156, "end": 2157, "loc": { "start": { "line": 62, "column": 46 }, "end": { "line": 62, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 2171, "end": 2183, "loc": { "start": { "line": 63, "column": 12 }, "end": { "line": 63, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2183, "end": 2184, "loc": { "start": { "line": 63, "column": 24 }, "end": { "line": 63, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapChunkWorldSize", "start": 2184, "end": 2201, "loc": { "start": { "line": 63, "column": 25 }, "end": { "line": 63, "column": 42 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2201, "end": 2202, "loc": { "start": { "line": 63, "column": 42 }, "end": { "line": 63, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 2216, "end": 2228, "loc": { "start": { "line": 64, "column": 12 }, "end": { "line": 64, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2228, "end": 2229, "loc": { "start": { "line": 64, "column": 24 }, "end": { "line": 64, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapChunkWorldSize", "start": 2229, "end": 2246, "loc": { "start": { "line": 64, "column": 25 }, "end": { "line": 64, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2256, "end": 2257, "loc": { "start": { "line": 65, "column": 8 }, "end": { "line": 65, "column": 9 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2257, "end": 2258, "loc": { "start": { "line": 65, "column": 9 }, "end": { "line": 65, "column": 10 } } }, { "type": "CommentBlock", "value": "*\r\n * Tile space rectangle, can be used for culling\r\n ", "start": 2270, "end": 2344, "loc": { "start": { "line": 67, "column": 8 }, "end": { "line": 69, "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": 2354, "end": 2358, "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": 2358, "end": 2359, "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": "tileSpaceRectangle", "start": 2359, "end": 2377, "loc": { "start": { "line": 70, "column": 13 }, "end": { "line": 70, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2378, "end": 2379, "loc": { "start": { "line": 70, "column": 32 }, "end": { "line": 70, "column": 33 } } }, { "type": { "label": "new", "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "new", "start": 2380, "end": 2383, "loc": { "start": { "line": 70, "column": 34 }, "end": { "line": 70, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Rectangle", "start": 2384, "end": 2393, "loc": { "start": { "line": 70, "column": 38 }, "end": { "line": 70, "column": 47 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2393, "end": 2394, "loc": { "start": { "line": 70, "column": 47 }, "end": { "line": 70, "column": 48 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 2408, "end": 2412, "loc": { "start": { "line": 71, "column": 12 }, "end": { "line": 71, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2412, "end": 2413, "loc": { "start": { "line": 71, "column": 16 }, "end": { "line": 71, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tileX", "start": 2413, "end": 2418, "loc": { "start": { "line": 71, "column": 17 }, "end": { "line": 71, "column": 22 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2418, "end": 2419, "loc": { "start": { "line": 71, "column": 22 }, "end": { "line": 71, "column": 23 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 2433, "end": 2437, "loc": { "start": { "line": 72, "column": 12 }, "end": { "line": 72, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2437, "end": 2438, "loc": { "start": { "line": 72, "column": 16 }, "end": { "line": 72, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tileY", "start": 2438, "end": 2443, "loc": { "start": { "line": 72, "column": 17 }, "end": { "line": 72, "column": 22 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2443, "end": 2444, "loc": { "start": { "line": 72, "column": 22 }, "end": { "line": 72, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 2458, "end": 2470, "loc": { "start": { "line": 73, "column": 12 }, "end": { "line": 73, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2470, "end": 2471, "loc": { "start": { "line": 73, "column": 24 }, "end": { "line": 73, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapChunkSize", "start": 2471, "end": 2483, "loc": { "start": { "line": 73, "column": 25 }, "end": { "line": 73, "column": 37 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2483, "end": 2484, "loc": { "start": { "line": 73, "column": 37 }, "end": { "line": 73, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 2498, "end": 2510, "loc": { "start": { "line": 74, "column": 12 }, "end": { "line": 74, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2510, "end": 2511, "loc": { "start": { "line": 74, "column": 24 }, "end": { "line": 74, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapChunkSize", "start": 2511, "end": 2523, "loc": { "start": { "line": 74, "column": 25 }, "end": { "line": 74, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2533, "end": 2534, "loc": { "start": { "line": 75, "column": 8 }, "end": { "line": 75, "column": 9 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2534, "end": 2535, "loc": { "start": { "line": 75, "column": 9 }, "end": { "line": 75, "column": 10 } } }, { "type": "CommentBlock", "value": "*\r\n * Which entities this chunk contains, sorted by layer\r\n * @type {Record>}\r\n ", "start": 2547, "end": 2676, "loc": { "start": { "line": 77, "column": 8 }, "end": { "line": 80, "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": 2686, "end": 2690, "loc": { "start": { "line": 81, "column": 8 }, "end": { "line": 81, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2690, "end": 2691, "loc": { "start": { "line": 81, "column": 12 }, "end": { "line": 81, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "containedEntitiesByLayer", "start": 2691, "end": 2715, "loc": { "start": { "line": 81, "column": 13 }, "end": { "line": 81, "column": 37 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2716, "end": 2717, "loc": { "start": { "line": 81, "column": 38 }, "end": { "line": 81, "column": 39 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2718, "end": 2719, "loc": { "start": { "line": 81, "column": 40 }, "end": { "line": 81, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "regular", "start": 2733, "end": 2740, "loc": { "start": { "line": 82, "column": 12 }, "end": { "line": 82, "column": 19 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2740, "end": 2741, "loc": { "start": { "line": 82, "column": 19 }, "end": { "line": 82, "column": 20 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2742, "end": 2743, "loc": { "start": { "line": 82, "column": 21 }, "end": { "line": 82, "column": 22 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2743, "end": 2744, "loc": { "start": { "line": 82, "column": 22 }, "end": { "line": 82, "column": 23 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2744, "end": 2745, "loc": { "start": { "line": 82, "column": 23 }, "end": { "line": 82, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "wires", "start": 2759, "end": 2764, "loc": { "start": { "line": 83, "column": 12 }, "end": { "line": 83, "column": 17 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2764, "end": 2765, "loc": { "start": { "line": 83, "column": 17 }, "end": { "line": 83, "column": 18 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2766, "end": 2767, "loc": { "start": { "line": 83, "column": 19 }, "end": { "line": 83, "column": 20 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2767, "end": 2768, "loc": { "start": { "line": 83, "column": 20 }, "end": { "line": 83, "column": 21 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2768, "end": 2769, "loc": { "start": { "line": 83, "column": 21 }, "end": { "line": 83, "column": 22 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2779, "end": 2780, "loc": { "start": { "line": 84, "column": 8 }, "end": { "line": 84, "column": 9 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2780, "end": 2781, "loc": { "start": { "line": 84, "column": 9 }, "end": { "line": 84, "column": 10 } } }, { "type": { "label": "for", "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "for", "start": 2793, "end": 2796, "loc": { "start": { "line": 86, "column": 8 }, "end": { "line": 86, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2797, "end": 2798, "loc": { "start": { "line": 86, "column": 12 }, "end": { "line": 86, "column": 13 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 2798, "end": 2801, "loc": { "start": { "line": 86, "column": 13 }, "end": { "line": 86, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 2802, "end": 2803, "loc": { "start": { "line": 86, "column": 17 }, "end": { "line": 86, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2804, "end": 2805, "loc": { "start": { "line": 86, "column": 19 }, "end": { "line": 86, "column": 20 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 2806, "end": 2807, "loc": { "start": { "line": 86, "column": 21 }, "end": { "line": 86, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2807, "end": 2808, "loc": { "start": { "line": 86, "column": 22 }, "end": { "line": 86, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 2809, "end": 2810, "loc": { "start": { "line": 86, "column": 24 }, "end": { "line": 86, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 2811, "end": 2812, "loc": { "start": { "line": 86, "column": 26 }, "end": { "line": 86, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapezAPI", "start": 2813, "end": 2822, "loc": { "start": { "line": 86, "column": 28 }, "end": { "line": 86, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2822, "end": 2823, "loc": { "start": { "line": 86, "column": 37 }, "end": { "line": 86, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ingame", "start": 2823, "end": 2829, "loc": { "start": { "line": 86, "column": 38 }, "end": { "line": 86, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2829, "end": 2830, "loc": { "start": { "line": 86, "column": 44 }, "end": { "line": 86, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layers", "start": 2830, "end": 2836, "loc": { "start": { "line": 86, "column": 45 }, "end": { "line": 86, "column": 51 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2836, "end": 2837, "loc": { "start": { "line": 86, "column": 51 }, "end": { "line": 86, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 2837, "end": 2843, "loc": { "start": { "line": 86, "column": 52 }, "end": { "line": 86, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2843, "end": 2844, "loc": { "start": { "line": 86, "column": 58 }, "end": { "line": 86, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 2845, "end": 2846, "loc": { "start": { "line": 86, "column": 60 }, "end": { "line": 86, "column": 61 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 2846, "end": 2848, "loc": { "start": { "line": 86, "column": 61 }, "end": { "line": 86, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2848, "end": 2849, "loc": { "start": { "line": 86, "column": 63 }, "end": { "line": 86, "column": 64 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2850, "end": 2851, "loc": { "start": { "line": 86, "column": 65 }, "end": { "line": 86, "column": 66 } } }, { "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": 2865, "end": 2870, "loc": { "start": { "line": 87, "column": 12 }, "end": { "line": 87, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layer", "start": 2871, "end": 2876, "loc": { "start": { "line": 87, "column": 18 }, "end": { "line": 87, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2877, "end": 2878, "loc": { "start": { "line": 87, "column": 24 }, "end": { "line": 87, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapezAPI", "start": 2879, "end": 2888, "loc": { "start": { "line": 87, "column": 26 }, "end": { "line": 87, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2888, "end": 2889, "loc": { "start": { "line": 87, "column": 35 }, "end": { "line": 87, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ingame", "start": 2889, "end": 2895, "loc": { "start": { "line": 87, "column": 36 }, "end": { "line": 87, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2895, "end": 2896, "loc": { "start": { "line": 87, "column": 42 }, "end": { "line": 87, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layers", "start": 2896, "end": 2902, "loc": { "start": { "line": 87, "column": 43 }, "end": { "line": 87, "column": 49 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2902, "end": 2903, "loc": { "start": { "line": 87, "column": 49 }, "end": { "line": 87, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 2903, "end": 2904, "loc": { "start": { "line": 87, "column": 50 }, "end": { "line": 87, "column": 51 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2904, "end": 2905, "loc": { "start": { "line": 87, "column": 51 }, "end": { "line": 87, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2905, "end": 2906, "loc": { "start": { "line": 87, "column": 52 }, "end": { "line": 87, "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": 2920, "end": 2924, "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": 2924, "end": 2925, "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": "containedEntitiesByLayer", "start": 2925, "end": 2949, "loc": { "start": { "line": 88, "column": 17 }, "end": { "line": 88, "column": 41 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2949, "end": 2950, "loc": { "start": { "line": 88, "column": 41 }, "end": { "line": 88, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layer", "start": 2950, "end": 2955, "loc": { "start": { "line": 88, "column": 42 }, "end": { "line": 88, "column": 47 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2955, "end": 2956, "loc": { "start": { "line": 88, "column": 47 }, "end": { "line": 88, "column": 48 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2957, "end": 2958, "loc": { "start": { "line": 88, "column": 49 }, "end": { "line": 88, "column": 50 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2959, "end": 2960, "loc": { "start": { "line": 88, "column": 51 }, "end": { "line": 88, "column": 52 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2960, "end": 2961, "loc": { "start": { "line": 88, "column": 52 }, "end": { "line": 88, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2961, "end": 2962, "loc": { "start": { "line": 88, "column": 53 }, "end": { "line": 88, "column": 54 } } }, { "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": 2976, "end": 2980, "loc": { "start": { "line": 89, "column": 12 }, "end": { "line": 89, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2980, "end": 2981, "loc": { "start": { "line": 89, "column": 16 }, "end": { "line": 89, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layersContents", "start": 2981, "end": 2995, "loc": { "start": { "line": 89, "column": 17 }, "end": { "line": 89, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2995, "end": 2996, "loc": { "start": { "line": 89, "column": 31 }, "end": { "line": 89, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "set", "start": 2996, "end": 2999, "loc": { "start": { "line": 89, "column": 32 }, "end": { "line": 89, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2999, "end": 3000, "loc": { "start": { "line": 89, "column": 35 }, "end": { "line": 89, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layer", "start": 3018, "end": 3023, "loc": { "start": { "line": 90, "column": 16 }, "end": { "line": 90, "column": 21 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3023, "end": 3024, "loc": { "start": { "line": 90, "column": 21 }, "end": { "line": 90, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "make2DUndefinedArray", "start": 3042, "end": 3062, "loc": { "start": { "line": 91, "column": 16 }, "end": { "line": 91, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3062, "end": 3063, "loc": { "start": { "line": 91, "column": 36 }, "end": { "line": 91, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 3063, "end": 3075, "loc": { "start": { "line": 91, "column": 37 }, "end": { "line": 91, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3075, "end": 3076, "loc": { "start": { "line": 91, "column": 49 }, "end": { "line": 91, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapChunkSize", "start": 3076, "end": 3088, "loc": { "start": { "line": 91, "column": 50 }, "end": { "line": 91, "column": 62 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3088, "end": 3089, "loc": { "start": { "line": 91, "column": 62 }, "end": { "line": 91, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 3090, "end": 3102, "loc": { "start": { "line": 91, "column": 64 }, "end": { "line": 91, "column": 76 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3102, "end": 3103, "loc": { "start": { "line": 91, "column": 76 }, "end": { "line": 91, "column": 77 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapChunkSize", "start": 3103, "end": 3115, "loc": { "start": { "line": 91, "column": 77 }, "end": { "line": 91, "column": 89 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3115, "end": 3116, "loc": { "start": { "line": 91, "column": 89 }, "end": { "line": 91, "column": 90 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3130, "end": 3131, "loc": { "start": { "line": 92, "column": 12 }, "end": { "line": 92, "column": 13 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3131, "end": 3132, "loc": { "start": { "line": 92, "column": 13 }, "end": { "line": 92, "column": 14 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3142, "end": 3143, "loc": { "start": { "line": 93, "column": 8 }, "end": { "line": 93, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Store which patches we have so we can render them in the overview\r\n * @type {Array<{pos: Vector, item: BaseItem, size: number }>}\r\n ", "start": 3155, "end": 3321, "loc": { "start": { "line": 95, "column": 8 }, "end": { "line": 98, "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": 3331, "end": 3335, "loc": { "start": { "line": 99, "column": 8 }, "end": { "line": 99, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3335, "end": 3336, "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": "patches", "start": 3336, "end": 3343, "loc": { "start": { "line": 99, "column": 13 }, "end": { "line": 99, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3344, "end": 3345, "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, "updateContext": null }, "start": 3346, "end": 3347, "loc": { "start": { "line": 99, "column": 23 }, "end": { "line": 99, "column": 24 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3347, "end": 3348, "loc": { "start": { "line": 99, "column": 24 }, "end": { "line": 99, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3348, "end": 3349, "loc": { "start": { "line": 99, "column": 25 }, "end": { "line": 99, "column": 26 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3361, "end": 3365, "loc": { "start": { "line": 101, "column": 8 }, "end": { "line": 101, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3365, "end": 3366, "loc": { "start": { "line": 101, "column": 12 }, "end": { "line": 101, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "generateLowerLayer", "start": 3366, "end": 3384, "loc": { "start": { "line": 101, "column": 13 }, "end": { "line": 101, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3384, "end": 3385, "loc": { "start": { "line": 101, "column": 31 }, "end": { "line": 101, "column": 32 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3385, "end": 3386, "loc": { "start": { "line": 101, "column": 32 }, "end": { "line": 101, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3386, "end": 3387, "loc": { "start": { "line": 101, "column": 33 }, "end": { "line": 101, "column": 34 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3393, "end": 3394, "loc": { "start": { "line": 102, "column": 4 }, "end": { "line": 102, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Generates a patch filled with the given item\r\n * @param {RandomNumberGenerator} rng\r\n * @param {number} patchSize\r\n * @param {any} item\r\n * @param {number=} overrideX Override the X position of the patch\r\n * @param {number=} overrideY Override the Y position of the patch\r\n ", "start": 3402, "end": 3714, "loc": { "start": { "line": 104, "column": 4 }, "end": { "line": 111, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "internalGeneratePatch", "start": 3720, "end": 3741, "loc": { "start": { "line": 112, "column": 4 }, "end": { "line": 112, "column": 25 } } }, { "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": 112, "column": 25 }, "end": { "line": 112, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rng", "start": 3742, "end": 3745, "loc": { "start": { "line": 112, "column": 26 }, "end": { "line": 112, "column": 29 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3745, "end": 3746, "loc": { "start": { "line": 112, "column": 29 }, "end": { "line": 112, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "patchSize", "start": 3747, "end": 3756, "loc": { "start": { "line": 112, "column": 31 }, "end": { "line": 112, "column": 40 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3756, "end": 3757, "loc": { "start": { "line": 112, "column": 40 }, "end": { "line": 112, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 3758, "end": 3762, "loc": { "start": { "line": 112, "column": 42 }, "end": { "line": 112, "column": 46 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3762, "end": 3763, "loc": { "start": { "line": 112, "column": 46 }, "end": { "line": 112, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "overrideX", "start": 3764, "end": 3773, "loc": { "start": { "line": 112, "column": 48 }, "end": { "line": 112, "column": 57 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3774, "end": 3775, "loc": { "start": { "line": 112, "column": 58 }, "end": { "line": 112, "column": 59 } } }, { "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": 3776, "end": 3780, "loc": { "start": { "line": 112, "column": 60 }, "end": { "line": 112, "column": 64 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3780, "end": 3781, "loc": { "start": { "line": 112, "column": 64 }, "end": { "line": 112, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "overrideY", "start": 3782, "end": 3791, "loc": { "start": { "line": 112, "column": 66 }, "end": { "line": 112, "column": 75 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3792, "end": 3793, "loc": { "start": { "line": 112, "column": 76 }, "end": { "line": 112, "column": 77 } } }, { "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": 3794, "end": 3798, "loc": { "start": { "line": 112, "column": 78 }, "end": { "line": 112, "column": 82 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3798, "end": 3799, "loc": { "start": { "line": 112, "column": 82 }, "end": { "line": 112, "column": 83 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3800, "end": 3801, "loc": { "start": { "line": 112, "column": 84 }, "end": { "line": 112, "column": 85 } } }, { "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": 3811, "end": 3816, "loc": { "start": { "line": 113, "column": 8 }, "end": { "line": 113, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "border", "start": 3817, "end": 3823, "loc": { "start": { "line": 113, "column": 14 }, "end": { "line": 113, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3824, "end": 3825, "loc": { "start": { "line": 113, "column": 21 }, "end": { "line": 113, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 3826, "end": 3830, "loc": { "start": { "line": 113, "column": 23 }, "end": { "line": 113, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3830, "end": 3831, "loc": { "start": { "line": 113, "column": 27 }, "end": { "line": 113, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ceil", "start": 3831, "end": 3835, "loc": { "start": { "line": 113, "column": 28 }, "end": { "line": 113, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3835, "end": 3836, "loc": { "start": { "line": 113, "column": 32 }, "end": { "line": 113, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "patchSize", "start": 3836, "end": 3845, "loc": { "start": { "line": 113, "column": 33 }, "end": { "line": 113, "column": 42 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 3846, "end": 3847, "loc": { "start": { "line": 113, "column": 43 }, "end": { "line": 113, "column": 44 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 3848, "end": 3849, "loc": { "start": { "line": 113, "column": 45 }, "end": { "line": 113, "column": 46 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 3850, "end": 3851, "loc": { "start": { "line": 113, "column": 47 }, "end": { "line": 113, "column": 48 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 3, "start": 3852, "end": 3853, "loc": { "start": { "line": 113, "column": 49 }, "end": { "line": 113, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3853, "end": 3854, "loc": { "start": { "line": 113, "column": 50 }, "end": { "line": 113, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3854, "end": 3855, "loc": { "start": { "line": 113, "column": 51 }, "end": { "line": 113, "column": 52 } } }, { "type": "CommentLine", "value": " Find a position within the chunk which is not blocked", "start": 3867, "end": 3923, "loc": { "start": { "line": 115, "column": 8 }, "end": { "line": 115, "column": 64 } } }, { "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": 3933, "end": 3936, "loc": { "start": { "line": 116, "column": 8 }, "end": { "line": 116, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "patchX", "start": 3937, "end": 3943, "loc": { "start": { "line": 116, "column": 12 }, "end": { "line": 116, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3944, "end": 3945, "loc": { "start": { "line": 116, "column": 19 }, "end": { "line": 116, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rng", "start": 3946, "end": 3949, "loc": { "start": { "line": 116, "column": 21 }, "end": { "line": 116, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3949, "end": 3950, "loc": { "start": { "line": 116, "column": 24 }, "end": { "line": 116, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "nextIntRange", "start": 3950, "end": 3962, "loc": { "start": { "line": 116, "column": 25 }, "end": { "line": 116, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3962, "end": 3963, "loc": { "start": { "line": 116, "column": 37 }, "end": { "line": 116, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "border", "start": 3963, "end": 3969, "loc": { "start": { "line": 116, "column": 38 }, "end": { "line": 116, "column": 44 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3969, "end": 3970, "loc": { "start": { "line": 116, "column": 44 }, "end": { "line": 116, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 3971, "end": 3983, "loc": { "start": { "line": 116, "column": 46 }, "end": { "line": 116, "column": 58 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3983, "end": 3984, "loc": { "start": { "line": 116, "column": 58 }, "end": { "line": 116, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapChunkSize", "start": 3984, "end": 3996, "loc": { "start": { "line": 116, "column": 59 }, "end": { "line": 116, "column": 71 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 3997, "end": 3998, "loc": { "start": { "line": 116, "column": 72 }, "end": { "line": 116, "column": 73 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "border", "start": 3999, "end": 4005, "loc": { "start": { "line": 116, "column": 74 }, "end": { "line": 116, "column": 80 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 4006, "end": 4007, "loc": { "start": { "line": 116, "column": 81 }, "end": { "line": 116, "column": 82 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 4008, "end": 4009, "loc": { "start": { "line": 116, "column": 83 }, "end": { "line": 116, "column": 84 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4009, "end": 4010, "loc": { "start": { "line": 116, "column": 84 }, "end": { "line": 116, "column": 85 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4010, "end": 4011, "loc": { "start": { "line": 116, "column": 85 }, "end": { "line": 116, "column": 86 } } }, { "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": 4021, "end": 4024, "loc": { "start": { "line": 117, "column": 8 }, "end": { "line": 117, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "patchY", "start": 4025, "end": 4031, "loc": { "start": { "line": 117, "column": 12 }, "end": { "line": 117, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4032, "end": 4033, "loc": { "start": { "line": 117, "column": 19 }, "end": { "line": 117, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rng", "start": 4034, "end": 4037, "loc": { "start": { "line": 117, "column": 21 }, "end": { "line": 117, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4037, "end": 4038, "loc": { "start": { "line": 117, "column": 24 }, "end": { "line": 117, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "nextIntRange", "start": 4038, "end": 4050, "loc": { "start": { "line": 117, "column": 25 }, "end": { "line": 117, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4050, "end": 4051, "loc": { "start": { "line": 117, "column": 37 }, "end": { "line": 117, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "border", "start": 4051, "end": 4057, "loc": { "start": { "line": 117, "column": 38 }, "end": { "line": 117, "column": 44 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4057, "end": 4058, "loc": { "start": { "line": 117, "column": 44 }, "end": { "line": 117, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 4059, "end": 4071, "loc": { "start": { "line": 117, "column": 46 }, "end": { "line": 117, "column": 58 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4071, "end": 4072, "loc": { "start": { "line": 117, "column": 58 }, "end": { "line": 117, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapChunkSize", "start": 4072, "end": 4084, "loc": { "start": { "line": 117, "column": 59 }, "end": { "line": 117, "column": 71 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 4085, "end": 4086, "loc": { "start": { "line": 117, "column": 72 }, "end": { "line": 117, "column": 73 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "border", "start": 4087, "end": 4093, "loc": { "start": { "line": 117, "column": 74 }, "end": { "line": 117, "column": 80 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 4094, "end": 4095, "loc": { "start": { "line": 117, "column": 81 }, "end": { "line": 117, "column": 82 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 4096, "end": 4097, "loc": { "start": { "line": 117, "column": 83 }, "end": { "line": 117, "column": 84 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4097, "end": 4098, "loc": { "start": { "line": 117, "column": 84 }, "end": { "line": 117, "column": 85 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4098, "end": 4099, "loc": { "start": { "line": 117, "column": 85 }, "end": { "line": 117, "column": 86 } } }, { "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": 4111, "end": 4113, "loc": { "start": { "line": 119, "column": 8 }, "end": { "line": 119, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4114, "end": 4115, "loc": { "start": { "line": 119, "column": 11 }, "end": { "line": 119, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "overrideX", "start": 4115, "end": 4124, "loc": { "start": { "line": 119, "column": 12 }, "end": { "line": 119, "column": 21 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 4125, "end": 4128, "loc": { "start": { "line": 119, "column": 22 }, "end": { "line": 119, "column": 25 } } }, { "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": 4129, "end": 4133, "loc": { "start": { "line": 119, "column": 26 }, "end": { "line": 119, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4133, "end": 4134, "loc": { "start": { "line": 119, "column": 30 }, "end": { "line": 119, "column": 31 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4135, "end": 4136, "loc": { "start": { "line": 119, "column": 32 }, "end": { "line": 119, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "patchX", "start": 4150, "end": 4156, "loc": { "start": { "line": 120, "column": 12 }, "end": { "line": 120, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4157, "end": 4158, "loc": { "start": { "line": 120, "column": 19 }, "end": { "line": 120, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "overrideX", "start": 4159, "end": 4168, "loc": { "start": { "line": 120, "column": 21 }, "end": { "line": 120, "column": 30 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4168, "end": 4169, "loc": { "start": { "line": 120, "column": 30 }, "end": { "line": 120, "column": 31 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4179, "end": 4180, "loc": { "start": { "line": 121, "column": 8 }, "end": { "line": 121, "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": 4192, "end": 4194, "loc": { "start": { "line": 123, "column": 8 }, "end": { "line": 123, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4195, "end": 4196, "loc": { "start": { "line": 123, "column": 11 }, "end": { "line": 123, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "overrideY", "start": 4196, "end": 4205, "loc": { "start": { "line": 123, "column": 12 }, "end": { "line": 123, "column": 21 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 4206, "end": 4209, "loc": { "start": { "line": 123, "column": 22 }, "end": { "line": 123, "column": 25 } } }, { "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": 4210, "end": 4214, "loc": { "start": { "line": 123, "column": 26 }, "end": { "line": 123, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4214, "end": 4215, "loc": { "start": { "line": 123, "column": 30 }, "end": { "line": 123, "column": 31 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4216, "end": 4217, "loc": { "start": { "line": 123, "column": 32 }, "end": { "line": 123, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "patchY", "start": 4231, "end": 4237, "loc": { "start": { "line": 124, "column": 12 }, "end": { "line": 124, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4238, "end": 4239, "loc": { "start": { "line": 124, "column": 19 }, "end": { "line": 124, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "overrideY", "start": 4240, "end": 4249, "loc": { "start": { "line": 124, "column": 21 }, "end": { "line": 124, "column": 30 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4249, "end": 4250, "loc": { "start": { "line": 124, "column": 30 }, "end": { "line": 124, "column": 31 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4260, "end": 4261, "loc": { "start": { "line": 125, "column": 8 }, "end": { "line": 125, "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": 4273, "end": 4278, "loc": { "start": { "line": 127, "column": 8 }, "end": { "line": 127, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "avgPos", "start": 4279, "end": 4285, "loc": { "start": { "line": 127, "column": 14 }, "end": { "line": 127, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4286, "end": 4287, "loc": { "start": { "line": 127, "column": 21 }, "end": { "line": 127, "column": 22 } } }, { "type": { "label": "new", "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "new", "start": 4288, "end": 4291, "loc": { "start": { "line": 127, "column": 23 }, "end": { "line": 127, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Vector", "start": 4292, "end": 4298, "loc": { "start": { "line": 127, "column": 27 }, "end": { "line": 127, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4298, "end": 4299, "loc": { "start": { "line": 127, "column": 33 }, "end": { "line": 127, "column": 34 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 4299, "end": 4300, "loc": { "start": { "line": 127, "column": 34 }, "end": { "line": 127, "column": 35 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4300, "end": 4301, "loc": { "start": { "line": 127, "column": 35 }, "end": { "line": 127, "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": 4302, "end": 4303, "loc": { "start": { "line": 127, "column": 37 }, "end": { "line": 127, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4303, "end": 4304, "loc": { "start": { "line": 127, "column": 38 }, "end": { "line": 127, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4304, "end": 4305, "loc": { "start": { "line": 127, "column": 39 }, "end": { "line": 127, "column": 40 } } }, { "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": 4315, "end": 4318, "loc": { "start": { "line": 128, "column": 8 }, "end": { "line": 128, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "patchesDrawn", "start": 4319, "end": 4331, "loc": { "start": { "line": 128, "column": 12 }, "end": { "line": 128, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4332, "end": 4333, "loc": { "start": { "line": 128, "column": 25 }, "end": { "line": 128, "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": 4334, "end": 4335, "loc": { "start": { "line": 128, "column": 27 }, "end": { "line": 128, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4335, "end": 4336, "loc": { "start": { "line": 128, "column": 28 }, "end": { "line": 128, "column": 29 } } }, { "type": "CommentLine", "value": " Each patch consists of multiple circles", "start": 4348, "end": 4390, "loc": { "start": { "line": 130, "column": 8 }, "end": { "line": 130, "column": 50 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 4400, "end": 4405, "loc": { "start": { "line": 131, "column": 8 }, "end": { "line": 131, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "numCircles", "start": 4406, "end": 4416, "loc": { "start": { "line": 131, "column": 14 }, "end": { "line": 131, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4417, "end": 4418, "loc": { "start": { "line": 131, "column": 25 }, "end": { "line": 131, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "patchSize", "start": 4419, "end": 4428, "loc": { "start": { "line": 131, "column": 27 }, "end": { "line": 131, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4428, "end": 4429, "loc": { "start": { "line": 131, "column": 36 }, "end": { "line": 131, "column": 37 } } }, { "type": { "label": "for", "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "for", "start": 4441, "end": 4444, "loc": { "start": { "line": 133, "column": 8 }, "end": { "line": 133, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4445, "end": 4446, "loc": { "start": { "line": 133, "column": 12 }, "end": { "line": 133, "column": 13 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 4446, "end": 4449, "loc": { "start": { "line": 133, "column": 13 }, "end": { "line": 133, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 4450, "end": 4451, "loc": { "start": { "line": 133, "column": 17 }, "end": { "line": 133, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4452, "end": 4453, "loc": { "start": { "line": 133, "column": 19 }, "end": { "line": 133, "column": 20 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 4454, "end": 4455, "loc": { "start": { "line": 133, "column": 21 }, "end": { "line": 133, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4455, "end": 4456, "loc": { "start": { "line": 133, "column": 22 }, "end": { "line": 133, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 4457, "end": 4458, "loc": { "start": { "line": 133, "column": 24 }, "end": { "line": 133, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<=", "start": 4459, "end": 4461, "loc": { "start": { "line": 133, "column": 26 }, "end": { "line": 133, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "numCircles", "start": 4462, "end": 4472, "loc": { "start": { "line": 133, "column": 29 }, "end": { "line": 133, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4472, "end": 4473, "loc": { "start": { "line": 133, "column": 39 }, "end": { "line": 133, "column": 40 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 4474, "end": 4476, "loc": { "start": { "line": 133, "column": 41 }, "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": "i", "start": 4476, "end": 4477, "loc": { "start": { "line": 133, "column": 43 }, "end": { "line": 133, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4477, "end": 4478, "loc": { "start": { "line": 133, "column": 44 }, "end": { "line": 133, "column": 45 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4479, "end": 4480, "loc": { "start": { "line": 133, "column": 46 }, "end": { "line": 133, "column": 47 } } }, { "type": "CommentLine", "value": " Determine circle parameters", "start": 4494, "end": 4524, "loc": { "start": { "line": 134, "column": 12 }, "end": { "line": 134, "column": 42 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 4538, "end": 4543, "loc": { "start": { "line": 135, "column": 12 }, "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": "circleRadius", "start": 4544, "end": 4556, "loc": { "start": { "line": 135, "column": 18 }, "end": { "line": 135, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4557, "end": 4558, "loc": { "start": { "line": 135, "column": 31 }, "end": { "line": 135, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 4559, "end": 4563, "loc": { "start": { "line": 135, "column": 33 }, "end": { "line": 135, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4563, "end": 4564, "loc": { "start": { "line": 135, "column": 37 }, "end": { "line": 135, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "min", "start": 4564, "end": 4567, "loc": { "start": { "line": 135, "column": 38 }, "end": { "line": 135, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4567, "end": 4568, "loc": { "start": { "line": 135, "column": 41 }, "end": { "line": 135, "column": 42 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 4568, "end": 4569, "loc": { "start": { "line": 135, "column": 42 }, "end": { "line": 135, "column": 43 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 4570, "end": 4571, "loc": { "start": { "line": 135, "column": 44 }, "end": { "line": 135, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 4572, "end": 4573, "loc": { "start": { "line": 135, "column": 46 }, "end": { "line": 135, "column": 47 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4573, "end": 4574, "loc": { "start": { "line": 135, "column": 47 }, "end": { "line": 135, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "patchSize", "start": 4575, "end": 4584, "loc": { "start": { "line": 135, "column": 49 }, "end": { "line": 135, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4584, "end": 4585, "loc": { "start": { "line": 135, "column": 58 }, "end": { "line": 135, "column": 59 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4585, "end": 4586, "loc": { "start": { "line": 135, "column": 59 }, "end": { "line": 135, "column": 60 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 4600, "end": 4605, "loc": { "start": { "line": 136, "column": 12 }, "end": { "line": 136, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "circleRadiusSquare", "start": 4606, "end": 4624, "loc": { "start": { "line": 136, "column": 18 }, "end": { "line": 136, "column": 36 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4625, "end": 4626, "loc": { "start": { "line": 136, "column": 37 }, "end": { "line": 136, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "circleRadius", "start": 4627, "end": 4639, "loc": { "start": { "line": 136, "column": 39 }, "end": { "line": 136, "column": 51 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 4640, "end": 4641, "loc": { "start": { "line": 136, "column": 52 }, "end": { "line": 136, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "circleRadius", "start": 4642, "end": 4654, "loc": { "start": { "line": 136, "column": 54 }, "end": { "line": 136, "column": 66 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4654, "end": 4655, "loc": { "start": { "line": 136, "column": 66 }, "end": { "line": 136, "column": 67 } } }, { "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": 4669, "end": 4674, "loc": { "start": { "line": 137, "column": 12 }, "end": { "line": 137, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "circleOffsetRadius", "start": 4675, "end": 4693, "loc": { "start": { "line": 137, "column": 18 }, "end": { "line": 137, "column": 36 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4694, "end": 4695, "loc": { "start": { "line": 137, "column": 37 }, "end": { "line": 137, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4696, "end": 4697, "loc": { "start": { "line": 137, "column": 39 }, "end": { "line": 137, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "numCircles", "start": 4697, "end": 4707, "loc": { "start": { "line": 137, "column": 40 }, "end": { "line": 137, "column": 50 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 4708, "end": 4709, "loc": { "start": { "line": 137, "column": 51 }, "end": { "line": 137, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 4710, "end": 4711, "loc": { "start": { "line": 137, "column": 53 }, "end": { "line": 137, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4711, "end": 4712, "loc": { "start": { "line": 137, "column": 54 }, "end": { "line": 137, "column": 55 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 4713, "end": 4714, "loc": { "start": { "line": 137, "column": 56 }, "end": { "line": 137, "column": 57 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 4715, "end": 4716, "loc": { "start": { "line": 137, "column": 58 }, "end": { "line": 137, "column": 59 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 4717, "end": 4718, "loc": { "start": { "line": 137, "column": 60 }, "end": { "line": 137, "column": 61 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 4719, "end": 4720, "loc": { "start": { "line": 137, "column": 62 }, "end": { "line": 137, "column": 63 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4720, "end": 4721, "loc": { "start": { "line": 137, "column": 63 }, "end": { "line": 137, "column": 64 } } }, { "type": "CommentLine", "value": " We draw an elipsis actually", "start": 4737, "end": 4767, "loc": { "start": { "line": 139, "column": 12 }, "end": { "line": 139, "column": 42 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 4781, "end": 4786, "loc": { "start": { "line": 140, "column": 12 }, "end": { "line": 140, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "circleScaleX", "start": 4787, "end": 4799, "loc": { "start": { "line": 140, "column": 18 }, "end": { "line": 140, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4800, "end": 4801, "loc": { "start": { "line": 140, "column": 31 }, "end": { "line": 140, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rng", "start": 4802, "end": 4805, "loc": { "start": { "line": 140, "column": 33 }, "end": { "line": 140, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4805, "end": 4806, "loc": { "start": { "line": 140, "column": 36 }, "end": { "line": 140, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "nextRange", "start": 4806, "end": 4815, "loc": { "start": { "line": 140, "column": 37 }, "end": { "line": 140, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4815, "end": 4816, "loc": { "start": { "line": 140, "column": 46 }, "end": { "line": 140, "column": 47 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.9, "start": 4816, "end": 4819, "loc": { "start": { "line": 140, "column": 47 }, "end": { "line": 140, "column": 50 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4819, "end": 4820, "loc": { "start": { "line": 140, "column": 50 }, "end": { "line": 140, "column": 51 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1.1, "start": 4821, "end": 4824, "loc": { "start": { "line": 140, "column": 52 }, "end": { "line": 140, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4824, "end": 4825, "loc": { "start": { "line": 140, "column": 55 }, "end": { "line": 140, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4825, "end": 4826, "loc": { "start": { "line": 140, "column": 56 }, "end": { "line": 140, "column": 57 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 4840, "end": 4845, "loc": { "start": { "line": 141, "column": 12 }, "end": { "line": 141, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "circleScaleY", "start": 4846, "end": 4858, "loc": { "start": { "line": 141, "column": 18 }, "end": { "line": 141, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4859, "end": 4860, "loc": { "start": { "line": 141, "column": 31 }, "end": { "line": 141, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rng", "start": 4861, "end": 4864, "loc": { "start": { "line": 141, "column": 33 }, "end": { "line": 141, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4864, "end": 4865, "loc": { "start": { "line": 141, "column": 36 }, "end": { "line": 141, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "nextRange", "start": 4865, "end": 4874, "loc": { "start": { "line": 141, "column": 37 }, "end": { "line": 141, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4874, "end": 4875, "loc": { "start": { "line": 141, "column": 46 }, "end": { "line": 141, "column": 47 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.9, "start": 4875, "end": 4878, "loc": { "start": { "line": 141, "column": 47 }, "end": { "line": 141, "column": 50 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4878, "end": 4879, "loc": { "start": { "line": 141, "column": 50 }, "end": { "line": 141, "column": 51 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1.1, "start": 4880, "end": 4883, "loc": { "start": { "line": 141, "column": 52 }, "end": { "line": 141, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4883, "end": 4884, "loc": { "start": { "line": 141, "column": 55 }, "end": { "line": 141, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4884, "end": 4885, "loc": { "start": { "line": 141, "column": 56 }, "end": { "line": 141, "column": 57 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 4901, "end": 4906, "loc": { "start": { "line": 143, "column": 12 }, "end": { "line": 143, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "circleX", "start": 4907, "end": 4914, "loc": { "start": { "line": 143, "column": 18 }, "end": { "line": 143, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4915, "end": 4916, "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": "patchX", "start": 4917, "end": 4923, "loc": { "start": { "line": 143, "column": 28 }, "end": { "line": 143, "column": 34 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 4924, "end": 4925, "loc": { "start": { "line": 143, "column": 35 }, "end": { "line": 143, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rng", "start": 4926, "end": 4929, "loc": { "start": { "line": 143, "column": 37 }, "end": { "line": 143, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4929, "end": 4930, "loc": { "start": { "line": 143, "column": 40 }, "end": { "line": 143, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "nextIntRange", "start": 4930, "end": 4942, "loc": { "start": { "line": 143, "column": 41 }, "end": { "line": 143, "column": 53 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4942, "end": 4943, "loc": { "start": { "line": 143, "column": 53 }, "end": { "line": 143, "column": 54 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 4943, "end": 4944, "loc": { "start": { "line": 143, "column": 54 }, "end": { "line": 143, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "circleOffsetRadius", "start": 4944, "end": 4962, "loc": { "start": { "line": 143, "column": 55 }, "end": { "line": 143, "column": 73 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4962, "end": 4963, "loc": { "start": { "line": 143, "column": 73 }, "end": { "line": 143, "column": 74 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "circleOffsetRadius", "start": 4964, "end": 4982, "loc": { "start": { "line": 143, "column": 75 }, "end": { "line": 143, "column": 93 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4982, "end": 4983, "loc": { "start": { "line": 143, "column": 93 }, "end": { "line": 143, "column": 94 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4983, "end": 4984, "loc": { "start": { "line": 143, "column": 94 }, "end": { "line": 143, "column": 95 } } }, { "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": 4998, "end": 5003, "loc": { "start": { "line": 144, "column": 12 }, "end": { "line": 144, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "circleY", "start": 5004, "end": 5011, "loc": { "start": { "line": 144, "column": 18 }, "end": { "line": 144, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5012, "end": 5013, "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": "patchY", "start": 5014, "end": 5020, "loc": { "start": { "line": 144, "column": 28 }, "end": { "line": 144, "column": 34 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 5021, "end": 5022, "loc": { "start": { "line": 144, "column": 35 }, "end": { "line": 144, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rng", "start": 5023, "end": 5026, "loc": { "start": { "line": 144, "column": 37 }, "end": { "line": 144, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5026, "end": 5027, "loc": { "start": { "line": 144, "column": 40 }, "end": { "line": 144, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "nextIntRange", "start": 5027, "end": 5039, "loc": { "start": { "line": 144, "column": 41 }, "end": { "line": 144, "column": 53 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5039, "end": 5040, "loc": { "start": { "line": 144, "column": 53 }, "end": { "line": 144, "column": 54 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 5040, "end": 5041, "loc": { "start": { "line": 144, "column": 54 }, "end": { "line": 144, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "circleOffsetRadius", "start": 5041, "end": 5059, "loc": { "start": { "line": 144, "column": 55 }, "end": { "line": 144, "column": 73 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5059, "end": 5060, "loc": { "start": { "line": 144, "column": 73 }, "end": { "line": 144, "column": 74 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "circleOffsetRadius", "start": 5061, "end": 5079, "loc": { "start": { "line": 144, "column": 75 }, "end": { "line": 144, "column": 93 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5079, "end": 5080, "loc": { "start": { "line": 144, "column": 93 }, "end": { "line": 144, "column": 94 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5080, "end": 5081, "loc": { "start": { "line": 144, "column": 94 }, "end": { "line": 144, "column": 95 } } }, { "type": { "label": "for", "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "for", "start": 5097, "end": 5100, "loc": { "start": { "line": 146, "column": 12 }, "end": { "line": 146, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5101, "end": 5102, "loc": { "start": { "line": 146, "column": 16 }, "end": { "line": 146, "column": 17 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 5102, "end": 5105, "loc": { "start": { "line": 146, "column": 17 }, "end": { "line": 146, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dx", "start": 5106, "end": 5108, "loc": { "start": { "line": 146, "column": 21 }, "end": { "line": 146, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5109, "end": 5110, "loc": { "start": { "line": 146, "column": 24 }, "end": { "line": 146, "column": 25 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 5111, "end": 5112, "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": "circleRadius", "start": 5112, "end": 5124, "loc": { "start": { "line": 146, "column": 27 }, "end": { "line": 146, "column": 39 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 5125, "end": 5126, "loc": { "start": { "line": 146, "column": 40 }, "end": { "line": 146, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "circleScaleX", "start": 5127, "end": 5139, "loc": { "start": { "line": 146, "column": 42 }, "end": { "line": 146, "column": 54 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 5140, "end": 5141, "loc": { "start": { "line": 146, "column": 55 }, "end": { "line": 146, "column": 56 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 5142, "end": 5143, "loc": { "start": { "line": 146, "column": 57 }, "end": { "line": 146, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5143, "end": 5144, "loc": { "start": { "line": 146, "column": 58 }, "end": { "line": 146, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dx", "start": 5145, "end": 5147, "loc": { "start": { "line": 146, "column": 60 }, "end": { "line": 146, "column": 62 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<=", "start": 5148, "end": 5150, "loc": { "start": { "line": 146, "column": 63 }, "end": { "line": 146, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "circleRadius", "start": 5151, "end": 5163, "loc": { "start": { "line": 146, "column": 66 }, "end": { "line": 146, "column": 78 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 5164, "end": 5165, "loc": { "start": { "line": 146, "column": 79 }, "end": { "line": 146, "column": 80 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "circleScaleX", "start": 5166, "end": 5178, "loc": { "start": { "line": 146, "column": 81 }, "end": { "line": 146, "column": 93 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 5179, "end": 5180, "loc": { "start": { "line": 146, "column": 94 }, "end": { "line": 146, "column": 95 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 5181, "end": 5182, "loc": { "start": { "line": 146, "column": 96 }, "end": { "line": 146, "column": 97 } } }, { "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": 146, "column": 97 }, "end": { "line": 146, "column": 98 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 5184, "end": 5186, "loc": { "start": { "line": 146, "column": 99 }, "end": { "line": 146, "column": 101 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dx", "start": 5186, "end": 5188, "loc": { "start": { "line": 146, "column": 101 }, "end": { "line": 146, "column": 103 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5188, "end": 5189, "loc": { "start": { "line": 146, "column": 103 }, "end": { "line": 146, "column": 104 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5190, "end": 5191, "loc": { "start": { "line": 146, "column": 105 }, "end": { "line": 146, "column": 106 } } }, { "type": { "label": "for", "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "for", "start": 5209, "end": 5212, "loc": { "start": { "line": 147, "column": 16 }, "end": { "line": 147, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5213, "end": 5214, "loc": { "start": { "line": 147, "column": 20 }, "end": { "line": 147, "column": 21 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 5214, "end": 5217, "loc": { "start": { "line": 147, "column": 21 }, "end": { "line": 147, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dy", "start": 5218, "end": 5220, "loc": { "start": { "line": 147, "column": 25 }, "end": { "line": 147, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5221, "end": 5222, "loc": { "start": { "line": 147, "column": 28 }, "end": { "line": 147, "column": 29 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 5223, "end": 5224, "loc": { "start": { "line": 147, "column": 30 }, "end": { "line": 147, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "circleRadius", "start": 5224, "end": 5236, "loc": { "start": { "line": 147, "column": 31 }, "end": { "line": 147, "column": 43 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 5237, "end": 5238, "loc": { "start": { "line": 147, "column": 44 }, "end": { "line": 147, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "circleScaleY", "start": 5239, "end": 5251, "loc": { "start": { "line": 147, "column": 46 }, "end": { "line": 147, "column": 58 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 5252, "end": 5253, "loc": { "start": { "line": 147, "column": 59 }, "end": { "line": 147, "column": 60 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 5254, "end": 5255, "loc": { "start": { "line": 147, "column": 61 }, "end": { "line": 147, "column": 62 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5255, "end": 5256, "loc": { "start": { "line": 147, "column": 62 }, "end": { "line": 147, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dy", "start": 5257, "end": 5259, "loc": { "start": { "line": 147, "column": 64 }, "end": { "line": 147, "column": 66 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<=", "start": 5260, "end": 5262, "loc": { "start": { "line": 147, "column": 67 }, "end": { "line": 147, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "circleRadius", "start": 5263, "end": 5275, "loc": { "start": { "line": 147, "column": 70 }, "end": { "line": 147, "column": 82 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 5276, "end": 5277, "loc": { "start": { "line": 147, "column": 83 }, "end": { "line": 147, "column": 84 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "circleScaleY", "start": 5278, "end": 5290, "loc": { "start": { "line": 147, "column": 85 }, "end": { "line": 147, "column": 97 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 5291, "end": 5292, "loc": { "start": { "line": 147, "column": 98 }, "end": { "line": 147, "column": 99 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 5293, "end": 5294, "loc": { "start": { "line": 147, "column": 100 }, "end": { "line": 147, "column": 101 } } }, { "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": 147, "column": 101 }, "end": { "line": 147, "column": 102 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 5296, "end": 5298, "loc": { "start": { "line": 147, "column": 103 }, "end": { "line": 147, "column": 105 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dy", "start": 5298, "end": 5300, "loc": { "start": { "line": 147, "column": 105 }, "end": { "line": 147, "column": 107 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5300, "end": 5301, "loc": { "start": { "line": 147, "column": 107 }, "end": { "line": 147, "column": 108 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5302, "end": 5303, "loc": { "start": { "line": 147, "column": 109 }, "end": { "line": 147, "column": 110 } } }, { "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": 5325, "end": 5330, "loc": { "start": { "line": 148, "column": 20 }, "end": { "line": 148, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 5331, "end": 5332, "loc": { "start": { "line": 148, "column": 26 }, "end": { "line": 148, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5333, "end": 5334, "loc": { "start": { "line": 148, "column": 28 }, "end": { "line": 148, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 5335, "end": 5339, "loc": { "start": { "line": 148, "column": 30 }, "end": { "line": 148, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5339, "end": 5340, "loc": { "start": { "line": 148, "column": 34 }, "end": { "line": 148, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "round", "start": 5340, "end": 5345, "loc": { "start": { "line": 148, "column": 35 }, "end": { "line": 148, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5345, "end": 5346, "loc": { "start": { "line": 148, "column": 40 }, "end": { "line": 148, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "circleX", "start": 5346, "end": 5353, "loc": { "start": { "line": 148, "column": 41 }, "end": { "line": 148, "column": 48 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 5354, "end": 5355, "loc": { "start": { "line": 148, "column": 49 }, "end": { "line": 148, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dx", "start": 5356, "end": 5358, "loc": { "start": { "line": 148, "column": 51 }, "end": { "line": 148, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5358, "end": 5359, "loc": { "start": { "line": 148, "column": 53 }, "end": { "line": 148, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5359, "end": 5360, "loc": { "start": { "line": 148, "column": 54 }, "end": { "line": 148, "column": 55 } } }, { "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": 5382, "end": 5387, "loc": { "start": { "line": 149, "column": 20 }, "end": { "line": 149, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 5388, "end": 5389, "loc": { "start": { "line": 149, "column": 26 }, "end": { "line": 149, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5390, "end": 5391, "loc": { "start": { "line": 149, "column": 28 }, "end": { "line": 149, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 5392, "end": 5396, "loc": { "start": { "line": 149, "column": 30 }, "end": { "line": 149, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5396, "end": 5397, "loc": { "start": { "line": 149, "column": 34 }, "end": { "line": 149, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "round", "start": 5397, "end": 5402, "loc": { "start": { "line": 149, "column": 35 }, "end": { "line": 149, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5402, "end": 5403, "loc": { "start": { "line": 149, "column": 40 }, "end": { "line": 149, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "circleY", "start": 5403, "end": 5410, "loc": { "start": { "line": 149, "column": 41 }, "end": { "line": 149, "column": 48 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 5411, "end": 5412, "loc": { "start": { "line": 149, "column": 49 }, "end": { "line": 149, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dy", "start": 5413, "end": 5415, "loc": { "start": { "line": 149, "column": 51 }, "end": { "line": 149, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5415, "end": 5416, "loc": { "start": { "line": 149, "column": 53 }, "end": { "line": 149, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5416, "end": 5417, "loc": { "start": { "line": 149, "column": 54 }, "end": { "line": 149, "column": 55 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 5439, "end": 5441, "loc": { "start": { "line": 150, "column": 20 }, "end": { "line": 150, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5442, "end": 5443, "loc": { "start": { "line": 150, "column": 23 }, "end": { "line": 150, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 5443, "end": 5444, "loc": { "start": { "line": 150, "column": 24 }, "end": { "line": 150, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">=", "start": 5445, "end": 5447, "loc": { "start": { "line": 150, "column": 26 }, "end": { "line": 150, "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": 5448, "end": 5449, "loc": { "start": { "line": 150, "column": 29 }, "end": { "line": 150, "column": 30 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 5450, "end": 5452, "loc": { "start": { "line": 150, "column": 31 }, "end": { "line": 150, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 5453, "end": 5454, "loc": { "start": { "line": 150, "column": 34 }, "end": { "line": 150, "column": 35 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 5455, "end": 5456, "loc": { "start": { "line": 150, "column": 36 }, "end": { "line": 150, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 5457, "end": 5469, "loc": { "start": { "line": 150, "column": 38 }, "end": { "line": 150, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5469, "end": 5470, "loc": { "start": { "line": 150, "column": 50 }, "end": { "line": 150, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapChunkSize", "start": 5470, "end": 5482, "loc": { "start": { "line": 150, "column": 51 }, "end": { "line": 150, "column": 63 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 5483, "end": 5485, "loc": { "start": { "line": 150, "column": 64 }, "end": { "line": 150, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 5486, "end": 5487, "loc": { "start": { "line": 150, "column": 67 }, "end": { "line": 150, "column": 68 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">=", "start": 5488, "end": 5490, "loc": { "start": { "line": 150, "column": 69 }, "end": { "line": 150, "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": 5491, "end": 5492, "loc": { "start": { "line": 150, "column": 72 }, "end": { "line": 150, "column": 73 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 5493, "end": 5495, "loc": { "start": { "line": 150, "column": 74 }, "end": { "line": 150, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 5496, "end": 5497, "loc": { "start": { "line": 150, "column": 77 }, "end": { "line": 150, "column": 78 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<=", "start": 5498, "end": 5500, "loc": { "start": { "line": 150, "column": 79 }, "end": { "line": 150, "column": 81 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 5501, "end": 5513, "loc": { "start": { "line": 150, "column": 82 }, "end": { "line": 150, "column": 94 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5513, "end": 5514, "loc": { "start": { "line": 150, "column": 94 }, "end": { "line": 150, "column": 95 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapChunkSize", "start": 5514, "end": 5526, "loc": { "start": { "line": 150, "column": 95 }, "end": { "line": 150, "column": 107 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5526, "end": 5527, "loc": { "start": { "line": 150, "column": 107 }, "end": { "line": 150, "column": 108 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5528, "end": 5529, "loc": { "start": { "line": 150, "column": 109 }, "end": { "line": 150, "column": 110 } } }, { "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": 5555, "end": 5560, "loc": { "start": { "line": 151, "column": 24 }, "end": { "line": 151, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "originalDx", "start": 5561, "end": 5571, "loc": { "start": { "line": 151, "column": 30 }, "end": { "line": 151, "column": 40 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5572, "end": 5573, "loc": { "start": { "line": 151, "column": 41 }, "end": { "line": 151, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dx", "start": 5574, "end": 5576, "loc": { "start": { "line": 151, "column": 43 }, "end": { "line": 151, "column": 45 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 5577, "end": 5578, "loc": { "start": { "line": 151, "column": 46 }, "end": { "line": 151, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "circleScaleX", "start": 5579, "end": 5591, "loc": { "start": { "line": 151, "column": 48 }, "end": { "line": 151, "column": 60 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5591, "end": 5592, "loc": { "start": { "line": 151, "column": 60 }, "end": { "line": 151, "column": 61 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 5618, "end": 5623, "loc": { "start": { "line": 152, "column": 24 }, "end": { "line": 152, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "originalDy", "start": 5624, "end": 5634, "loc": { "start": { "line": 152, "column": 30 }, "end": { "line": 152, "column": 40 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5635, "end": 5636, "loc": { "start": { "line": 152, "column": 41 }, "end": { "line": 152, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dy", "start": 5637, "end": 5639, "loc": { "start": { "line": 152, "column": 43 }, "end": { "line": 152, "column": 45 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 5640, "end": 5641, "loc": { "start": { "line": 152, "column": 46 }, "end": { "line": 152, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "circleScaleY", "start": 5642, "end": 5654, "loc": { "start": { "line": 152, "column": 48 }, "end": { "line": 152, "column": 60 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5654, "end": 5655, "loc": { "start": { "line": 152, "column": 60 }, "end": { "line": 152, "column": 61 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 5681, "end": 5683, "loc": { "start": { "line": 153, "column": 24 }, "end": { "line": 153, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5684, "end": 5685, "loc": { "start": { "line": 153, "column": 27 }, "end": { "line": 153, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "originalDx", "start": 5685, "end": 5695, "loc": { "start": { "line": 153, "column": 28 }, "end": { "line": 153, "column": 38 } } }, { "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": 153, "column": 39 }, "end": { "line": 153, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "originalDx", "start": 5698, "end": 5708, "loc": { "start": { "line": 153, "column": 41 }, "end": { "line": 153, "column": 51 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 5709, "end": 5710, "loc": { "start": { "line": 153, "column": 52 }, "end": { "line": 153, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "originalDy", "start": 5711, "end": 5721, "loc": { "start": { "line": 153, "column": 54 }, "end": { "line": 153, "column": 64 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 5722, "end": 5723, "loc": { "start": { "line": 153, "column": 65 }, "end": { "line": 153, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "originalDy", "start": 5724, "end": 5734, "loc": { "start": { "line": 153, "column": 67 }, "end": { "line": 153, "column": 77 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<=", "start": 5735, "end": 5737, "loc": { "start": { "line": 153, "column": 78 }, "end": { "line": 153, "column": 80 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "circleRadiusSquare", "start": 5738, "end": 5756, "loc": { "start": { "line": 153, "column": 81 }, "end": { "line": 153, "column": 99 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5756, "end": 5757, "loc": { "start": { "line": 153, "column": 99 }, "end": { "line": 153, "column": 100 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5758, "end": 5759, "loc": { "start": { "line": 153, "column": 101 }, "end": { "line": 153, "column": 102 } } }, { "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": 5789, "end": 5791, "loc": { "start": { "line": 154, "column": 28 }, "end": { "line": 154, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5792, "end": 5793, "loc": { "start": { "line": 154, "column": 31 }, "end": { "line": 154, "column": 32 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 5793, "end": 5794, "loc": { "start": { "line": 154, "column": 32 }, "end": { "line": 154, "column": 33 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5794, "end": 5798, "loc": { "start": { "line": 154, "column": 33 }, "end": { "line": 154, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5798, "end": 5799, "loc": { "start": { "line": 154, "column": 37 }, "end": { "line": 154, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lowerLayer", "start": 5799, "end": 5809, "loc": { "start": { "line": 154, "column": 38 }, "end": { "line": 154, "column": 48 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5809, "end": 5810, "loc": { "start": { "line": 154, "column": 48 }, "end": { "line": 154, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 5810, "end": 5811, "loc": { "start": { "line": 154, "column": 49 }, "end": { "line": 154, "column": 50 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5811, "end": 5812, "loc": { "start": { "line": 154, "column": 50 }, "end": { "line": 154, "column": 51 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5812, "end": 5813, "loc": { "start": { "line": 154, "column": 51 }, "end": { "line": 154, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 5813, "end": 5814, "loc": { "start": { "line": 154, "column": 52 }, "end": { "line": 154, "column": 53 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5814, "end": 5815, "loc": { "start": { "line": 154, "column": 53 }, "end": { "line": 154, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5815, "end": 5816, "loc": { "start": { "line": 154, "column": 54 }, "end": { "line": 154, "column": 55 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5817, "end": 5818, "loc": { "start": { "line": 154, "column": 56 }, "end": { "line": 154, "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": 5852, "end": 5856, "loc": { "start": { "line": 155, "column": 32 }, "end": { "line": 155, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5856, "end": 5857, "loc": { "start": { "line": 155, "column": 36 }, "end": { "line": 155, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lowerLayer", "start": 5857, "end": 5867, "loc": { "start": { "line": 155, "column": 37 }, "end": { "line": 155, "column": 47 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5867, "end": 5868, "loc": { "start": { "line": 155, "column": 47 }, "end": { "line": 155, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 5868, "end": 5869, "loc": { "start": { "line": 155, "column": 48 }, "end": { "line": 155, "column": 49 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5869, "end": 5870, "loc": { "start": { "line": 155, "column": 49 }, "end": { "line": 155, "column": 50 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5870, "end": 5871, "loc": { "start": { "line": 155, "column": 50 }, "end": { "line": 155, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 5871, "end": 5872, "loc": { "start": { "line": 155, "column": 51 }, "end": { "line": 155, "column": 52 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5872, "end": 5873, "loc": { "start": { "line": 155, "column": 52 }, "end": { "line": 155, "column": 53 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5874, "end": 5875, "loc": { "start": { "line": 155, "column": 54 }, "end": { "line": 155, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 5876, "end": 5880, "loc": { "start": { "line": 155, "column": 56 }, "end": { "line": 155, "column": 60 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5880, "end": 5881, "loc": { "start": { "line": 155, "column": 60 }, "end": { "line": 155, "column": 61 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 5915, "end": 5917, "loc": { "start": { "line": 156, "column": 32 }, "end": { "line": 156, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "patchesDrawn", "start": 5917, "end": 5929, "loc": { "start": { "line": 156, "column": 34 }, "end": { "line": 156, "column": 46 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5929, "end": 5930, "loc": { "start": { "line": 156, "column": 46 }, "end": { "line": 156, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "avgPos", "start": 5964, "end": 5970, "loc": { "start": { "line": 157, "column": 32 }, "end": { "line": 157, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5970, "end": 5971, "loc": { "start": { "line": 157, "column": 38 }, "end": { "line": 157, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 5971, "end": 5972, "loc": { "start": { "line": 157, "column": 39 }, "end": { "line": 157, "column": 40 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 5973, "end": 5975, "loc": { "start": { "line": 157, "column": 41 }, "end": { "line": 157, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 5976, "end": 5977, "loc": { "start": { "line": 157, "column": 44 }, "end": { "line": 157, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5977, "end": 5978, "loc": { "start": { "line": 157, "column": 45 }, "end": { "line": 157, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "avgPos", "start": 6012, "end": 6018, "loc": { "start": { "line": 158, "column": 32 }, "end": { "line": 158, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6018, "end": 6019, "loc": { "start": { "line": 158, "column": 38 }, "end": { "line": 158, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 6019, "end": 6020, "loc": { "start": { "line": 158, "column": 39 }, "end": { "line": 158, "column": 40 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 6021, "end": 6023, "loc": { "start": { "line": 158, "column": 41 }, "end": { "line": 158, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 6024, "end": 6025, "loc": { "start": { "line": 158, "column": 44 }, "end": { "line": 158, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6025, "end": 6026, "loc": { "start": { "line": 158, "column": 45 }, "end": { "line": 158, "column": 46 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6056, "end": 6057, "loc": { "start": { "line": 159, "column": 28 }, "end": { "line": 159, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6083, "end": 6084, "loc": { "start": { "line": 160, "column": 24 }, "end": { "line": 160, "column": 25 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6106, "end": 6107, "loc": { "start": { "line": 161, "column": 20 }, "end": { "line": 161, "column": 21 } } }, { "type": { "label": "else", "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "else", "start": 6108, "end": 6112, "loc": { "start": { "line": 161, "column": 22 }, "end": { "line": 161, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6113, "end": 6114, "loc": { "start": { "line": 161, "column": 27 }, "end": { "line": 161, "column": 28 } } }, { "type": "CommentLine", "value": " logger.warn(\"Tried to spawn resource out of chunk\");", "start": 6140, "end": 6195, "loc": { "start": { "line": 162, "column": 24 }, "end": { "line": 162, "column": 79 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6217, "end": 6218, "loc": { "start": { "line": 163, "column": 20 }, "end": { "line": 163, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6236, "end": 6237, "loc": { "start": { "line": 164, "column": 16 }, "end": { "line": 164, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6251, "end": 6252, "loc": { "start": { "line": 165, "column": 12 }, "end": { "line": 165, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6262, "end": 6263, "loc": { "start": { "line": 166, "column": 8 }, "end": { "line": 166, "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": 6275, "end": 6279, "loc": { "start": { "line": 168, "column": 8 }, "end": { "line": 168, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6279, "end": 6280, "loc": { "start": { "line": 168, "column": 12 }, "end": { "line": 168, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "patches", "start": 6280, "end": 6287, "loc": { "start": { "line": 168, "column": 13 }, "end": { "line": 168, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6287, "end": 6288, "loc": { "start": { "line": 168, "column": 20 }, "end": { "line": 168, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 6288, "end": 6292, "loc": { "start": { "line": 168, "column": 21 }, "end": { "line": 168, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6292, "end": 6293, "loc": { "start": { "line": 168, "column": 25 }, "end": { "line": 168, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6293, "end": 6294, "loc": { "start": { "line": 168, "column": 26 }, "end": { "line": 168, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pos", "start": 6308, "end": 6311, "loc": { "start": { "line": 169, "column": 12 }, "end": { "line": 169, "column": 15 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6311, "end": 6312, "loc": { "start": { "line": 169, "column": 15 }, "end": { "line": 169, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "avgPos", "start": 6313, "end": 6319, "loc": { "start": { "line": 169, "column": 17 }, "end": { "line": 169, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6319, "end": 6320, "loc": { "start": { "line": 169, "column": 23 }, "end": { "line": 169, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "divideScalar", "start": 6320, "end": 6332, "loc": { "start": { "line": 169, "column": 24 }, "end": { "line": 169, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6332, "end": 6333, "loc": { "start": { "line": 169, "column": 36 }, "end": { "line": 169, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "patchesDrawn", "start": 6333, "end": 6345, "loc": { "start": { "line": 169, "column": 37 }, "end": { "line": 169, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6345, "end": 6346, "loc": { "start": { "line": 169, "column": 49 }, "end": { "line": 169, "column": 50 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6346, "end": 6347, "loc": { "start": { "line": 169, "column": 50 }, "end": { "line": 169, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 6361, "end": 6365, "loc": { "start": { "line": 170, "column": 12 }, "end": { "line": 170, "column": 16 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6365, "end": 6366, "loc": { "start": { "line": 170, "column": 16 }, "end": { "line": 170, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "size", "start": 6380, "end": 6384, "loc": { "start": { "line": 171, "column": 12 }, "end": { "line": 171, "column": 16 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6384, "end": 6385, "loc": { "start": { "line": 171, "column": 16 }, "end": { "line": 171, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "patchSize", "start": 6386, "end": 6395, "loc": { "start": { "line": 171, "column": 18 }, "end": { "line": 171, "column": 27 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6395, "end": 6396, "loc": { "start": { "line": 171, "column": 27 }, "end": { "line": 171, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6406, "end": 6407, "loc": { "start": { "line": 172, "column": 8 }, "end": { "line": 172, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6407, "end": 6408, "loc": { "start": { "line": 172, "column": 9 }, "end": { "line": 172, "column": 10 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6408, "end": 6409, "loc": { "start": { "line": 172, "column": 10 }, "end": { "line": 172, "column": 11 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6415, "end": 6416, "loc": { "start": { "line": 173, "column": 4 }, "end": { "line": 173, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Generates the lower layer \"terrain\"\r\n ", "start": 6424, "end": 6480, "loc": { "start": { "line": 175, "column": 4 }, "end": { "line": 177, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "generateLowerLayer", "start": 6486, "end": 6504, "loc": { "start": { "line": 178, "column": 4 }, "end": { "line": 178, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6504, "end": 6505, "loc": { "start": { "line": 178, "column": 22 }, "end": { "line": 178, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6505, "end": 6506, "loc": { "start": { "line": 178, "column": 23 }, "end": { "line": 178, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6507, "end": 6508, "loc": { "start": { "line": 178, "column": 25 }, "end": { "line": 178, "column": 26 } } }, { "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": 6518, "end": 6523, "loc": { "start": { "line": 179, "column": 8 }, "end": { "line": 179, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rng", "start": 6524, "end": 6527, "loc": { "start": { "line": 179, "column": 14 }, "end": { "line": 179, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6528, "end": 6529, "loc": { "start": { "line": 179, "column": 18 }, "end": { "line": 179, "column": 19 } } }, { "type": { "label": "new", "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "new", "start": 6530, "end": 6533, "loc": { "start": { "line": 179, "column": 20 }, "end": { "line": 179, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "RandomNumberGenerator", "start": 6534, "end": 6555, "loc": { "start": { "line": 179, "column": 24 }, "end": { "line": 179, "column": 45 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6555, "end": 6556, "loc": { "start": { "line": 179, "column": 45 }, "end": { "line": 179, "column": 46 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 6556, "end": 6560, "loc": { "start": { "line": 179, "column": 46 }, "end": { "line": 179, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6560, "end": 6561, "loc": { "start": { "line": 179, "column": 50 }, "end": { "line": 179, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 6561, "end": 6562, "loc": { "start": { "line": 179, "column": 51 }, "end": { "line": 179, "column": 52 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 6563, "end": 6564, "loc": { "start": { "line": 179, "column": 53 }, "end": { "line": 179, "column": 54 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "|", "start": 6565, "end": 6568, "loc": { "start": { "line": 179, "column": 55 }, "end": { "line": 179, "column": 58 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 6569, "end": 6570, "loc": { "start": { "line": 179, "column": 59 }, "end": { "line": 179, "column": 60 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 6571, "end": 6575, "loc": { "start": { "line": 179, "column": 61 }, "end": { "line": 179, "column": 65 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6575, "end": 6576, "loc": { "start": { "line": 179, "column": 65 }, "end": { "line": 179, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 6576, "end": 6577, "loc": { "start": { "line": 179, "column": 66 }, "end": { "line": 179, "column": 67 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 6578, "end": 6579, "loc": { "start": { "line": 179, "column": 68 }, "end": { "line": 179, "column": 69 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "|", "start": 6580, "end": 6583, "loc": { "start": { "line": 179, "column": 70 }, "end": { "line": 179, "column": 73 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 6584, "end": 6585, "loc": { "start": { "line": 179, "column": 74 }, "end": { "line": 179, "column": 75 } } }, { "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": 6586, "end": 6590, "loc": { "start": { "line": 179, "column": 76 }, "end": { "line": 179, "column": 80 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6590, "end": 6591, "loc": { "start": { "line": 179, "column": 80 }, "end": { "line": 179, "column": 81 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 6591, "end": 6595, "loc": { "start": { "line": 179, "column": 81 }, "end": { "line": 179, "column": 85 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6595, "end": 6596, "loc": { "start": { "line": 179, "column": 85 }, "end": { "line": 179, "column": 86 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "map", "start": 6596, "end": 6599, "loc": { "start": { "line": 179, "column": 86 }, "end": { "line": 179, "column": 89 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6599, "end": 6600, "loc": { "start": { "line": 179, "column": 89 }, "end": { "line": 179, "column": 90 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "seed", "start": 6600, "end": 6604, "loc": { "start": { "line": 179, "column": 90 }, "end": { "line": 179, "column": 94 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6604, "end": 6605, "loc": { "start": { "line": 179, "column": 94 }, "end": { "line": 179, "column": 95 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6605, "end": 6606, "loc": { "start": { "line": 179, "column": 95 }, "end": { "line": 179, "column": 96 } } }, { "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": 6618, "end": 6620, "loc": { "start": { "line": 181, "column": 8 }, "end": { "line": 181, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6621, "end": 6622, "loc": { "start": { "line": 181, "column": 11 }, "end": { "line": 181, "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": 6622, "end": 6626, "loc": { "start": { "line": 181, "column": 12 }, "end": { "line": 181, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6626, "end": 6627, "loc": { "start": { "line": 181, "column": 16 }, "end": { "line": 181, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "generatePredefined", "start": 6627, "end": 6645, "loc": { "start": { "line": 181, "column": 17 }, "end": { "line": 181, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6645, "end": 6646, "loc": { "start": { "line": 181, "column": 35 }, "end": { "line": 181, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rng", "start": 6646, "end": 6649, "loc": { "start": { "line": 181, "column": 36 }, "end": { "line": 181, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6649, "end": 6650, "loc": { "start": { "line": 181, "column": 39 }, "end": { "line": 181, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6650, "end": 6651, "loc": { "start": { "line": 181, "column": 40 }, "end": { "line": 181, "column": 41 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6652, "end": 6653, "loc": { "start": { "line": 181, "column": 42 }, "end": { "line": 181, "column": 43 } } }, { "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": 6667, "end": 6673, "loc": { "start": { "line": 182, "column": 12 }, "end": { "line": 182, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6673, "end": 6674, "loc": { "start": { "line": 182, "column": 18 }, "end": { "line": 182, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6684, "end": 6685, "loc": { "start": { "line": 183, "column": 8 }, "end": { "line": 183, "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": 6697, "end": 6702, "loc": { "start": { "line": 185, "column": 8 }, "end": { "line": 185, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "chunkCenter", "start": 6703, "end": 6714, "loc": { "start": { "line": 185, "column": 14 }, "end": { "line": 185, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6715, "end": 6716, "loc": { "start": { "line": 185, "column": 26 }, "end": { "line": 185, "column": 27 } } }, { "type": { "label": "new", "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "new", "start": 6717, "end": 6720, "loc": { "start": { "line": 185, "column": 28 }, "end": { "line": 185, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Vector", "start": 6721, "end": 6727, "loc": { "start": { "line": 185, "column": 32 }, "end": { "line": 185, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6727, "end": 6728, "loc": { "start": { "line": 185, "column": 38 }, "end": { "line": 185, "column": 39 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 6728, "end": 6732, "loc": { "start": { "line": 185, "column": 39 }, "end": { "line": 185, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6732, "end": 6733, "loc": { "start": { "line": 185, "column": 43 }, "end": { "line": 185, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 6733, "end": 6734, "loc": { "start": { "line": 185, "column": 44 }, "end": { "line": 185, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6734, "end": 6735, "loc": { "start": { "line": 185, "column": 45 }, "end": { "line": 185, "column": 46 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 6736, "end": 6740, "loc": { "start": { "line": 185, "column": 47 }, "end": { "line": 185, "column": 51 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6740, "end": 6741, "loc": { "start": { "line": 185, "column": 51 }, "end": { "line": 185, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 6741, "end": 6742, "loc": { "start": { "line": 185, "column": 52 }, "end": { "line": 185, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6742, "end": 6743, "loc": { "start": { "line": 185, "column": 53 }, "end": { "line": 185, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6743, "end": 6744, "loc": { "start": { "line": 185, "column": 54 }, "end": { "line": 185, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addScalar", "start": 6744, "end": 6753, "loc": { "start": { "line": 185, "column": 55 }, "end": { "line": 185, "column": 64 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6753, "end": 6754, "loc": { "start": { "line": 185, "column": 64 }, "end": { "line": 185, "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.5, "start": 6754, "end": 6757, "loc": { "start": { "line": 185, "column": 65 }, "end": { "line": 185, "column": 68 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6757, "end": 6758, "loc": { "start": { "line": 185, "column": 68 }, "end": { "line": 185, "column": 69 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6758, "end": 6759, "loc": { "start": { "line": 185, "column": 69 }, "end": { "line": 185, "column": 70 } } }, { "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": 6769, "end": 6774, "loc": { "start": { "line": 186, "column": 8 }, "end": { "line": 186, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "distanceToOriginInChunks", "start": 6775, "end": 6799, "loc": { "start": { "line": 186, "column": 14 }, "end": { "line": 186, "column": 38 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6800, "end": 6801, "loc": { "start": { "line": 186, "column": 39 }, "end": { "line": 186, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 6802, "end": 6806, "loc": { "start": { "line": 186, "column": 41 }, "end": { "line": 186, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6806, "end": 6807, "loc": { "start": { "line": 186, "column": 45 }, "end": { "line": 186, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "round", "start": 6807, "end": 6812, "loc": { "start": { "line": 186, "column": 46 }, "end": { "line": 186, "column": 51 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6812, "end": 6813, "loc": { "start": { "line": 186, "column": 51 }, "end": { "line": 186, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "chunkCenter", "start": 6813, "end": 6824, "loc": { "start": { "line": 186, "column": 52 }, "end": { "line": 186, "column": 63 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6824, "end": 6825, "loc": { "start": { "line": 186, "column": 63 }, "end": { "line": 186, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 6825, "end": 6831, "loc": { "start": { "line": 186, "column": 64 }, "end": { "line": 186, "column": 70 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6831, "end": 6832, "loc": { "start": { "line": 186, "column": 70 }, "end": { "line": 186, "column": 71 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6832, "end": 6833, "loc": { "start": { "line": 186, "column": 71 }, "end": { "line": 186, "column": 72 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6833, "end": 6834, "loc": { "start": { "line": 186, "column": 72 }, "end": { "line": 186, "column": 73 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6834, "end": 6835, "loc": { "start": { "line": 186, "column": 73 }, "end": { "line": 186, "column": 74 } } }, { "type": { "label": "for", "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "for", "start": 6847, "end": 6850, "loc": { "start": { "line": 188, "column": 8 }, "end": { "line": 188, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6851, "end": 6852, "loc": { "start": { "line": 188, "column": 12 }, "end": { "line": 188, "column": 13 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 6852, "end": 6855, "loc": { "start": { "line": 188, "column": 13 }, "end": { "line": 188, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 6856, "end": 6857, "loc": { "start": { "line": 188, "column": 17 }, "end": { "line": 188, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6858, "end": 6859, "loc": { "start": { "line": 188, "column": 19 }, "end": { "line": 188, "column": 20 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 6860, "end": 6861, "loc": { "start": { "line": 188, "column": 21 }, "end": { "line": 188, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6861, "end": 6862, "loc": { "start": { "line": 188, "column": 22 }, "end": { "line": 188, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 6863, "end": 6864, "loc": { "start": { "line": 188, "column": 24 }, "end": { "line": 188, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 6865, "end": 6866, "loc": { "start": { "line": 188, "column": 26 }, "end": { "line": 188, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "MapChunk", "start": 6867, "end": 6875, "loc": { "start": { "line": 188, "column": 28 }, "end": { "line": 188, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6875, "end": 6876, "loc": { "start": { "line": 188, "column": 36 }, "end": { "line": 188, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lowerLayers", "start": 6876, "end": 6887, "loc": { "start": { "line": 188, "column": 37 }, "end": { "line": 188, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6887, "end": 6888, "loc": { "start": { "line": 188, "column": 48 }, "end": { "line": 188, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 6888, "end": 6894, "loc": { "start": { "line": 188, "column": 49 }, "end": { "line": 188, "column": 55 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6894, "end": 6895, "loc": { "start": { "line": 188, "column": 55 }, "end": { "line": 188, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 6896, "end": 6897, "loc": { "start": { "line": 188, "column": 57 }, "end": { "line": 188, "column": 58 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 6897, "end": 6899, "loc": { "start": { "line": 188, "column": 58 }, "end": { "line": 188, "column": 60 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6899, "end": 6900, "loc": { "start": { "line": 188, "column": 60 }, "end": { "line": 188, "column": 61 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6901, "end": 6902, "loc": { "start": { "line": 188, "column": 62 }, "end": { "line": 188, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "MapChunk", "start": 6916, "end": 6924, "loc": { "start": { "line": 189, "column": 12 }, "end": { "line": 189, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6924, "end": 6925, "loc": { "start": { "line": 189, "column": 20 }, "end": { "line": 189, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lowerLayers", "start": 6925, "end": 6936, "loc": { "start": { "line": 189, "column": 21 }, "end": { "line": 189, "column": 32 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6936, "end": 6937, "loc": { "start": { "line": 189, "column": 32 }, "end": { "line": 189, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 6937, "end": 6938, "loc": { "start": { "line": 189, "column": 33 }, "end": { "line": 189, "column": 34 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6938, "end": 6939, "loc": { "start": { "line": 189, "column": 34 }, "end": { "line": 189, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6939, "end": 6940, "loc": { "start": { "line": 189, "column": 35 }, "end": { "line": 189, "column": 36 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 6940, "end": 6944, "loc": { "start": { "line": 189, "column": 36 }, "end": { "line": 189, "column": 40 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6944, "end": 6945, "loc": { "start": { "line": 189, "column": 40 }, "end": { "line": 189, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rng", "start": 6946, "end": 6949, "loc": { "start": { "line": 189, "column": 42 }, "end": { "line": 189, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6949, "end": 6950, "loc": { "start": { "line": 189, "column": 45 }, "end": { "line": 189, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "distanceToOriginInChunks", "start": 6951, "end": 6975, "loc": { "start": { "line": 189, "column": 47 }, "end": { "line": 189, "column": 71 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6975, "end": 6976, "loc": { "start": { "line": 189, "column": 71 }, "end": { "line": 189, "column": 72 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6976, "end": 6977, "loc": { "start": { "line": 189, "column": 72 }, "end": { "line": 189, "column": 73 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6987, "end": 6988, "loc": { "start": { "line": 190, "column": 8 }, "end": { "line": 190, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6994, "end": 6995, "loc": { "start": { "line": 191, "column": 4 }, "end": { "line": 191, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Checks if this chunk has predefined contents, and if so returns true and generates the\r\n * predefined contents\r\n * @param {RandomNumberGenerator} rng\r\n * @returns {boolean}\r\n ", "start": 7003, "end": 7208, "loc": { "start": { "line": 193, "column": 4 }, "end": { "line": 198, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "generatePredefined", "start": 7214, "end": 7232, "loc": { "start": { "line": 199, "column": 4 }, "end": { "line": 199, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7232, "end": 7233, "loc": { "start": { "line": 199, "column": 22 }, "end": { "line": 199, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rng", "start": 7233, "end": 7236, "loc": { "start": { "line": 199, "column": 23 }, "end": { "line": 199, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7236, "end": 7237, "loc": { "start": { "line": 199, "column": 26 }, "end": { "line": 199, "column": 27 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7238, "end": 7239, "loc": { "start": { "line": 199, "column": 28 }, "end": { "line": 199, "column": 29 } } }, { "type": { "label": "for", "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "for", "start": 7249, "end": 7252, "loc": { "start": { "line": 200, "column": 8 }, "end": { "line": 200, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7253, "end": 7254, "loc": { "start": { "line": 200, "column": 12 }, "end": { "line": 200, "column": 13 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 7254, "end": 7257, "loc": { "start": { "line": 200, "column": 13 }, "end": { "line": 200, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 7258, "end": 7259, "loc": { "start": { "line": 200, "column": 17 }, "end": { "line": 200, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7260, "end": 7261, "loc": { "start": { "line": 200, "column": 19 }, "end": { "line": 200, "column": 20 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 7262, "end": 7263, "loc": { "start": { "line": 200, "column": 21 }, "end": { "line": 200, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7263, "end": 7264, "loc": { "start": { "line": 200, "column": 22 }, "end": { "line": 200, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 7265, "end": 7266, "loc": { "start": { "line": 200, "column": 24 }, "end": { "line": 200, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 7267, "end": 7268, "loc": { "start": { "line": 200, "column": 26 }, "end": { "line": 200, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "MapChunk", "start": 7269, "end": 7277, "loc": { "start": { "line": 200, "column": 28 }, "end": { "line": 200, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7277, "end": 7278, "loc": { "start": { "line": 200, "column": 36 }, "end": { "line": 200, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "predefined", "start": 7278, "end": 7288, "loc": { "start": { "line": 200, "column": 37 }, "end": { "line": 200, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7288, "end": 7289, "loc": { "start": { "line": 200, "column": 47 }, "end": { "line": 200, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 7289, "end": 7295, "loc": { "start": { "line": 200, "column": 48 }, "end": { "line": 200, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7295, "end": 7296, "loc": { "start": { "line": 200, "column": 54 }, "end": { "line": 200, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 7297, "end": 7298, "loc": { "start": { "line": 200, "column": 56 }, "end": { "line": 200, "column": 57 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 7298, "end": 7300, "loc": { "start": { "line": 200, "column": 57 }, "end": { "line": 200, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7300, "end": 7301, "loc": { "start": { "line": 200, "column": 59 }, "end": { "line": 200, "column": 60 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7302, "end": 7303, "loc": { "start": { "line": 200, "column": 61 }, "end": { "line": 200, "column": 62 } } }, { "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": 7317, "end": 7319, "loc": { "start": { "line": 201, "column": 12 }, "end": { "line": 201, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7320, "end": 7321, "loc": { "start": { "line": 201, "column": 15 }, "end": { "line": 201, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "MapChunk", "start": 7321, "end": 7329, "loc": { "start": { "line": 201, "column": 16 }, "end": { "line": 201, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7329, "end": 7330, "loc": { "start": { "line": 201, "column": 24 }, "end": { "line": 201, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "predefined", "start": 7330, "end": 7340, "loc": { "start": { "line": 201, "column": 25 }, "end": { "line": 201, "column": 35 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7340, "end": 7341, "loc": { "start": { "line": 201, "column": 35 }, "end": { "line": 201, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 7341, "end": 7342, "loc": { "start": { "line": 201, "column": 36 }, "end": { "line": 201, "column": 37 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7342, "end": 7343, "loc": { "start": { "line": 201, "column": 37 }, "end": { "line": 201, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7343, "end": 7344, "loc": { "start": { "line": 201, "column": 38 }, "end": { "line": 201, "column": 39 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7344, "end": 7348, "loc": { "start": { "line": 201, "column": 39 }, "end": { "line": 201, "column": 43 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7348, "end": 7349, "loc": { "start": { "line": 201, "column": 43 }, "end": { "line": 201, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rng", "start": 7350, "end": 7353, "loc": { "start": { "line": 201, "column": 45 }, "end": { "line": 201, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7353, "end": 7354, "loc": { "start": { "line": 201, "column": 48 }, "end": { "line": 201, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7354, "end": 7355, "loc": { "start": { "line": 201, "column": 49 }, "end": { "line": 201, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7356, "end": 7357, "loc": { "start": { "line": 201, "column": 51 }, "end": { "line": 201, "column": 52 } } }, { "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": 7375, "end": 7381, "loc": { "start": { "line": 202, "column": 16 }, "end": { "line": 202, "column": 22 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 7382, "end": 7386, "loc": { "start": { "line": 202, "column": 23 }, "end": { "line": 202, "column": 27 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7386, "end": 7387, "loc": { "start": { "line": 202, "column": 27 }, "end": { "line": 202, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7401, "end": 7402, "loc": { "start": { "line": 203, "column": 12 }, "end": { "line": 203, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7412, "end": 7413, "loc": { "start": { "line": 204, "column": 8 }, "end": { "line": 204, "column": 9 } } }, { "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": 7423, "end": 7429, "loc": { "start": { "line": 205, "column": 8 }, "end": { "line": 205, "column": 14 } } }, { "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": 7430, "end": 7435, "loc": { "start": { "line": 205, "column": 15 }, "end": { "line": 205, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7435, "end": 7436, "loc": { "start": { "line": 205, "column": 20 }, "end": { "line": 205, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7442, "end": 7443, "loc": { "start": { "line": 206, "column": 4 }, "end": { "line": 206, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n *\r\n * @param {number} worldX\r\n * @param {number} worldY\r\n * @returns {BaseItem=}\r\n ", "start": 7451, "end": 7562, "loc": { "start": { "line": 208, "column": 4 }, "end": { "line": 213, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getLowerLayerFromWorldCoords", "start": 7568, "end": 7596, "loc": { "start": { "line": 214, "column": 4 }, "end": { "line": 214, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7596, "end": 7597, "loc": { "start": { "line": 214, "column": 32 }, "end": { "line": 214, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldX", "start": 7597, "end": 7603, "loc": { "start": { "line": 214, "column": 33 }, "end": { "line": 214, "column": 39 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7603, "end": 7604, "loc": { "start": { "line": 214, "column": 39 }, "end": { "line": 214, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldY", "start": 7605, "end": 7611, "loc": { "start": { "line": 214, "column": 41 }, "end": { "line": 214, "column": 47 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7611, "end": 7612, "loc": { "start": { "line": 214, "column": 47 }, "end": { "line": 214, "column": 48 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7613, "end": 7614, "loc": { "start": { "line": 214, "column": 49 }, "end": { "line": 214, "column": 50 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 7624, "end": 7629, "loc": { "start": { "line": 215, "column": 8 }, "end": { "line": 215, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localX", "start": 7630, "end": 7636, "loc": { "start": { "line": 215, "column": 14 }, "end": { "line": 215, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7637, "end": 7638, "loc": { "start": { "line": 215, "column": 21 }, "end": { "line": 215, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldX", "start": 7639, "end": 7645, "loc": { "start": { "line": 215, "column": 23 }, "end": { "line": 215, "column": 29 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 7646, "end": 7647, "loc": { "start": { "line": 215, "column": 30 }, "end": { "line": 215, "column": 31 } } }, { "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": 7648, "end": 7652, "loc": { "start": { "line": 215, "column": 32 }, "end": { "line": 215, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7652, "end": 7653, "loc": { "start": { "line": 215, "column": 36 }, "end": { "line": 215, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tileX", "start": 7653, "end": 7658, "loc": { "start": { "line": 215, "column": 37 }, "end": { "line": 215, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7658, "end": 7659, "loc": { "start": { "line": 215, "column": 42 }, "end": { "line": 215, "column": 43 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 7669, "end": 7674, "loc": { "start": { "line": 216, "column": 8 }, "end": { "line": 216, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localY", "start": 7675, "end": 7681, "loc": { "start": { "line": 216, "column": 14 }, "end": { "line": 216, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7682, "end": 7683, "loc": { "start": { "line": 216, "column": 21 }, "end": { "line": 216, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldY", "start": 7684, "end": 7690, "loc": { "start": { "line": 216, "column": 23 }, "end": { "line": 216, "column": 29 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 7691, "end": 7692, "loc": { "start": { "line": 216, "column": 30 }, "end": { "line": 216, "column": 31 } } }, { "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": 7693, "end": 7697, "loc": { "start": { "line": 216, "column": 32 }, "end": { "line": 216, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7697, "end": 7698, "loc": { "start": { "line": 216, "column": 36 }, "end": { "line": 216, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tileY", "start": 7698, "end": 7703, "loc": { "start": { "line": 216, "column": 37 }, "end": { "line": 216, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7703, "end": 7704, "loc": { "start": { "line": 216, "column": 42 }, "end": { "line": 216, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 7714, "end": 7720, "loc": { "start": { "line": 217, "column": 8 }, "end": { "line": 217, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7720, "end": 7721, "loc": { "start": { "line": 217, "column": 14 }, "end": { "line": 217, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localX", "start": 7721, "end": 7727, "loc": { "start": { "line": 217, "column": 15 }, "end": { "line": 217, "column": 21 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">=", "start": 7728, "end": 7730, "loc": { "start": { "line": 217, "column": 22 }, "end": { "line": 217, "column": 24 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 7731, "end": 7732, "loc": { "start": { "line": 217, "column": 25 }, "end": { "line": 217, "column": 26 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7732, "end": 7733, "loc": { "start": { "line": 217, "column": 26 }, "end": { "line": 217, "column": 27 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Local X is < 0", "start": 7734, "end": 7750, "loc": { "start": { "line": 217, "column": 28 }, "end": { "line": 217, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7750, "end": 7751, "loc": { "start": { "line": 217, "column": 44 }, "end": { "line": 217, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7751, "end": 7752, "loc": { "start": { "line": 217, "column": 45 }, "end": { "line": 217, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 7762, "end": 7768, "loc": { "start": { "line": 218, "column": 8 }, "end": { "line": 218, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7768, "end": 7769, "loc": { "start": { "line": 218, "column": 14 }, "end": { "line": 218, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localY", "start": 7769, "end": 7775, "loc": { "start": { "line": 218, "column": 15 }, "end": { "line": 218, "column": 21 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">=", "start": 7776, "end": 7778, "loc": { "start": { "line": 218, "column": 22 }, "end": { "line": 218, "column": 24 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 7779, "end": 7780, "loc": { "start": { "line": 218, "column": 25 }, "end": { "line": 218, "column": 26 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7780, "end": 7781, "loc": { "start": { "line": 218, "column": 26 }, "end": { "line": 218, "column": 27 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Local Y is < 0", "start": 7782, "end": 7798, "loc": { "start": { "line": 218, "column": 28 }, "end": { "line": 218, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7798, "end": 7799, "loc": { "start": { "line": 218, "column": 44 }, "end": { "line": 218, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7799, "end": 7800, "loc": { "start": { "line": 218, "column": 45 }, "end": { "line": 218, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 7810, "end": 7816, "loc": { "start": { "line": 219, "column": 8 }, "end": { "line": 219, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7816, "end": 7817, "loc": { "start": { "line": 219, "column": 14 }, "end": { "line": 219, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localX", "start": 7817, "end": 7823, "loc": { "start": { "line": 219, "column": 15 }, "end": { "line": 219, "column": 21 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 7824, "end": 7825, "loc": { "start": { "line": 219, "column": 22 }, "end": { "line": 219, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 7826, "end": 7838, "loc": { "start": { "line": 219, "column": 24 }, "end": { "line": 219, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7838, "end": 7839, "loc": { "start": { "line": 219, "column": 36 }, "end": { "line": 219, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapChunkSize", "start": 7839, "end": 7851, "loc": { "start": { "line": 219, "column": 37 }, "end": { "line": 219, "column": 49 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7851, "end": 7852, "loc": { "start": { "line": 219, "column": 49 }, "end": { "line": 219, "column": 50 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Local X is >= chunk size", "start": 7853, "end": 7879, "loc": { "start": { "line": 219, "column": 51 }, "end": { "line": 219, "column": 77 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7879, "end": 7880, "loc": { "start": { "line": 219, "column": 77 }, "end": { "line": 219, "column": 78 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7880, "end": 7881, "loc": { "start": { "line": 219, "column": 78 }, "end": { "line": 219, "column": 79 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 7891, "end": 7897, "loc": { "start": { "line": 220, "column": 8 }, "end": { "line": 220, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7897, "end": 7898, "loc": { "start": { "line": 220, "column": 14 }, "end": { "line": 220, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localY", "start": 7898, "end": 7904, "loc": { "start": { "line": 220, "column": 15 }, "end": { "line": 220, "column": 21 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 7905, "end": 7906, "loc": { "start": { "line": 220, "column": 22 }, "end": { "line": 220, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 7907, "end": 7919, "loc": { "start": { "line": 220, "column": 24 }, "end": { "line": 220, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7919, "end": 7920, "loc": { "start": { "line": 220, "column": 36 }, "end": { "line": 220, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapChunkSize", "start": 7920, "end": 7932, "loc": { "start": { "line": 220, "column": 37 }, "end": { "line": 220, "column": 49 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7932, "end": 7933, "loc": { "start": { "line": 220, "column": 49 }, "end": { "line": 220, "column": 50 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Local Y is >= chunk size", "start": 7934, "end": 7960, "loc": { "start": { "line": 220, "column": 51 }, "end": { "line": 220, "column": 77 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7960, "end": 7961, "loc": { "start": { "line": 220, "column": 77 }, "end": { "line": 220, "column": 78 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7961, "end": 7962, "loc": { "start": { "line": 220, "column": 78 }, "end": { "line": 220, "column": 79 } } }, { "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": 7972, "end": 7978, "loc": { "start": { "line": 221, "column": 8 }, "end": { "line": 221, "column": 14 } } }, { "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": 7979, "end": 7983, "loc": { "start": { "line": 221, "column": 15 }, "end": { "line": 221, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7983, "end": 7984, "loc": { "start": { "line": 221, "column": 19 }, "end": { "line": 221, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lowerLayer", "start": 7984, "end": 7994, "loc": { "start": { "line": 221, "column": 20 }, "end": { "line": 221, "column": 30 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7994, "end": 7995, "loc": { "start": { "line": 221, "column": 30 }, "end": { "line": 221, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localX", "start": 7995, "end": 8001, "loc": { "start": { "line": 221, "column": 31 }, "end": { "line": 221, "column": 37 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8001, "end": 8002, "loc": { "start": { "line": 221, "column": 37 }, "end": { "line": 221, "column": 38 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8002, "end": 8003, "loc": { "start": { "line": 221, "column": 38 }, "end": { "line": 221, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localY", "start": 8003, "end": 8009, "loc": { "start": { "line": 221, "column": 39 }, "end": { "line": 221, "column": 45 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8009, "end": 8010, "loc": { "start": { "line": 221, "column": 45 }, "end": { "line": 221, "column": 46 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 8011, "end": 8013, "loc": { "start": { "line": 221, "column": 47 }, "end": { "line": 221, "column": 49 } } }, { "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": 8014, "end": 8018, "loc": { "start": { "line": 221, "column": 50 }, "end": { "line": 221, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8018, "end": 8019, "loc": { "start": { "line": 221, "column": 54 }, "end": { "line": 221, "column": 55 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8025, "end": 8026, "loc": { "start": { "line": 222, "column": 4 }, "end": { "line": 222, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns the contents of this chunk from the given world space coordinates\r\n * @param {number} worldX\r\n * @param {number} worldY\r\n * @returns {Entity=}\r\n ", "start": 8034, "end": 8217, "loc": { "start": { "line": 224, "column": 4 }, "end": { "line": 229, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getTileContentFromWorldCoords", "start": 8223, "end": 8252, "loc": { "start": { "line": 230, "column": 4 }, "end": { "line": 230, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8252, "end": 8253, "loc": { "start": { "line": 230, "column": 33 }, "end": { "line": 230, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldX", "start": 8253, "end": 8259, "loc": { "start": { "line": 230, "column": 34 }, "end": { "line": 230, "column": 40 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8259, "end": 8260, "loc": { "start": { "line": 230, "column": 40 }, "end": { "line": 230, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldY", "start": 8261, "end": 8267, "loc": { "start": { "line": 230, "column": 42 }, "end": { "line": 230, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8267, "end": 8268, "loc": { "start": { "line": 230, "column": 48 }, "end": { "line": 230, "column": 49 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8269, "end": 8270, "loc": { "start": { "line": 230, "column": 50 }, "end": { "line": 230, "column": 51 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 8280, "end": 8285, "loc": { "start": { "line": 231, "column": 8 }, "end": { "line": 231, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localX", "start": 8286, "end": 8292, "loc": { "start": { "line": 231, "column": 14 }, "end": { "line": 231, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8293, "end": 8294, "loc": { "start": { "line": 231, "column": 21 }, "end": { "line": 231, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldX", "start": 8295, "end": 8301, "loc": { "start": { "line": 231, "column": 23 }, "end": { "line": 231, "column": 29 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 8302, "end": 8303, "loc": { "start": { "line": 231, "column": 30 }, "end": { "line": 231, "column": 31 } } }, { "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": 8304, "end": 8308, "loc": { "start": { "line": 231, "column": 32 }, "end": { "line": 231, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8308, "end": 8309, "loc": { "start": { "line": 231, "column": 36 }, "end": { "line": 231, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tileX", "start": 8309, "end": 8314, "loc": { "start": { "line": 231, "column": 37 }, "end": { "line": 231, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8314, "end": 8315, "loc": { "start": { "line": 231, "column": 42 }, "end": { "line": 231, "column": 43 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 8325, "end": 8330, "loc": { "start": { "line": 232, "column": 8 }, "end": { "line": 232, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localY", "start": 8331, "end": 8337, "loc": { "start": { "line": 232, "column": 14 }, "end": { "line": 232, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8338, "end": 8339, "loc": { "start": { "line": 232, "column": 21 }, "end": { "line": 232, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldY", "start": 8340, "end": 8346, "loc": { "start": { "line": 232, "column": 23 }, "end": { "line": 232, "column": 29 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 8347, "end": 8348, "loc": { "start": { "line": 232, "column": 30 }, "end": { "line": 232, "column": 31 } } }, { "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": 8349, "end": 8353, "loc": { "start": { "line": 232, "column": 32 }, "end": { "line": 232, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8353, "end": 8354, "loc": { "start": { "line": 232, "column": 36 }, "end": { "line": 232, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tileY", "start": 8354, "end": 8359, "loc": { "start": { "line": 232, "column": 37 }, "end": { "line": 232, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8359, "end": 8360, "loc": { "start": { "line": 232, "column": 42 }, "end": { "line": 232, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 8370, "end": 8376, "loc": { "start": { "line": 233, "column": 8 }, "end": { "line": 233, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8376, "end": 8377, "loc": { "start": { "line": 233, "column": 14 }, "end": { "line": 233, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localX", "start": 8377, "end": 8383, "loc": { "start": { "line": 233, "column": 15 }, "end": { "line": 233, "column": 21 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">=", "start": 8384, "end": 8386, "loc": { "start": { "line": 233, "column": 22 }, "end": { "line": 233, "column": 24 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 8387, "end": 8388, "loc": { "start": { "line": 233, "column": 25 }, "end": { "line": 233, "column": 26 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8388, "end": 8389, "loc": { "start": { "line": 233, "column": 26 }, "end": { "line": 233, "column": 27 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Local X is < 0", "start": 8390, "end": 8406, "loc": { "start": { "line": 233, "column": 28 }, "end": { "line": 233, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8406, "end": 8407, "loc": { "start": { "line": 233, "column": 44 }, "end": { "line": 233, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8407, "end": 8408, "loc": { "start": { "line": 233, "column": 45 }, "end": { "line": 233, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 8418, "end": 8424, "loc": { "start": { "line": 234, "column": 8 }, "end": { "line": 234, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8424, "end": 8425, "loc": { "start": { "line": 234, "column": 14 }, "end": { "line": 234, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localY", "start": 8425, "end": 8431, "loc": { "start": { "line": 234, "column": 15 }, "end": { "line": 234, "column": 21 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">=", "start": 8432, "end": 8434, "loc": { "start": { "line": 234, "column": 22 }, "end": { "line": 234, "column": 24 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 8435, "end": 8436, "loc": { "start": { "line": 234, "column": 25 }, "end": { "line": 234, "column": 26 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8436, "end": 8437, "loc": { "start": { "line": 234, "column": 26 }, "end": { "line": 234, "column": 27 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Local Y is < 0", "start": 8438, "end": 8454, "loc": { "start": { "line": 234, "column": 28 }, "end": { "line": 234, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8454, "end": 8455, "loc": { "start": { "line": 234, "column": 44 }, "end": { "line": 234, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8455, "end": 8456, "loc": { "start": { "line": 234, "column": 45 }, "end": { "line": 234, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 8466, "end": 8472, "loc": { "start": { "line": 235, "column": 8 }, "end": { "line": 235, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8472, "end": 8473, "loc": { "start": { "line": 235, "column": 14 }, "end": { "line": 235, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localX", "start": 8473, "end": 8479, "loc": { "start": { "line": 235, "column": 15 }, "end": { "line": 235, "column": 21 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 8480, "end": 8481, "loc": { "start": { "line": 235, "column": 22 }, "end": { "line": 235, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 8482, "end": 8494, "loc": { "start": { "line": 235, "column": 24 }, "end": { "line": 235, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8494, "end": 8495, "loc": { "start": { "line": 235, "column": 36 }, "end": { "line": 235, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapChunkSize", "start": 8495, "end": 8507, "loc": { "start": { "line": 235, "column": 37 }, "end": { "line": 235, "column": 49 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8507, "end": 8508, "loc": { "start": { "line": 235, "column": 49 }, "end": { "line": 235, "column": 50 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Local X is >= chunk size", "start": 8509, "end": 8535, "loc": { "start": { "line": 235, "column": 51 }, "end": { "line": 235, "column": 77 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8535, "end": 8536, "loc": { "start": { "line": 235, "column": 77 }, "end": { "line": 235, "column": 78 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8536, "end": 8537, "loc": { "start": { "line": 235, "column": 78 }, "end": { "line": 235, "column": 79 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 8547, "end": 8553, "loc": { "start": { "line": 236, "column": 8 }, "end": { "line": 236, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8553, "end": 8554, "loc": { "start": { "line": 236, "column": 14 }, "end": { "line": 236, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localY", "start": 8554, "end": 8560, "loc": { "start": { "line": 236, "column": 15 }, "end": { "line": 236, "column": 21 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 8561, "end": 8562, "loc": { "start": { "line": 236, "column": 22 }, "end": { "line": 236, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 8563, "end": 8575, "loc": { "start": { "line": 236, "column": 24 }, "end": { "line": 236, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8575, "end": 8576, "loc": { "start": { "line": 236, "column": 36 }, "end": { "line": 236, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapChunkSize", "start": 8576, "end": 8588, "loc": { "start": { "line": 236, "column": 37 }, "end": { "line": 236, "column": 49 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8588, "end": 8589, "loc": { "start": { "line": 236, "column": 49 }, "end": { "line": 236, "column": 50 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Local Y is >= chunk size", "start": 8590, "end": 8616, "loc": { "start": { "line": 236, "column": 51 }, "end": { "line": 236, "column": 77 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8616, "end": 8617, "loc": { "start": { "line": 236, "column": 77 }, "end": { "line": 236, "column": 78 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8617, "end": 8618, "loc": { "start": { "line": 236, "column": 78 }, "end": { "line": 236, "column": 79 } } }, { "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": 8628, "end": 8634, "loc": { "start": { "line": 237, "column": 8 }, "end": { "line": 237, "column": 14 } } }, { "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": 8635, "end": 8639, "loc": { "start": { "line": 237, "column": 15 }, "end": { "line": 237, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8639, "end": 8640, "loc": { "start": { "line": 237, "column": 19 }, "end": { "line": 237, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contents", "start": 8640, "end": 8648, "loc": { "start": { "line": 237, "column": 20 }, "end": { "line": 237, "column": 28 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8648, "end": 8649, "loc": { "start": { "line": 237, "column": 28 }, "end": { "line": 237, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localX", "start": 8649, "end": 8655, "loc": { "start": { "line": 237, "column": 29 }, "end": { "line": 237, "column": 35 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8655, "end": 8656, "loc": { "start": { "line": 237, "column": 35 }, "end": { "line": 237, "column": 36 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8656, "end": 8657, "loc": { "start": { "line": 237, "column": 36 }, "end": { "line": 237, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localY", "start": 8657, "end": 8663, "loc": { "start": { "line": 237, "column": 37 }, "end": { "line": 237, "column": 43 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8663, "end": 8664, "loc": { "start": { "line": 237, "column": 43 }, "end": { "line": 237, "column": 44 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 8665, "end": 8667, "loc": { "start": { "line": 237, "column": 45 }, "end": { "line": 237, "column": 47 } } }, { "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": 8668, "end": 8672, "loc": { "start": { "line": 237, "column": 48 }, "end": { "line": 237, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8672, "end": 8673, "loc": { "start": { "line": 237, "column": 52 }, "end": { "line": 237, "column": 53 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8679, "end": 8680, "loc": { "start": { "line": 238, "column": 4 }, "end": { "line": 238, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns the contents of this chunk from the given world space coordinates\r\n * @param {number} worldX\r\n * @param {number} worldY\r\n * @param {Layer} layer\r\n * @returns {Entity=}\r\n ", "start": 8688, "end": 8900, "loc": { "start": { "line": 240, "column": 4 }, "end": { "line": 246, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getLayerContentFromWorldCoords", "start": 8906, "end": 8936, "loc": { "start": { "line": 247, "column": 4 }, "end": { "line": 247, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8936, "end": 8937, "loc": { "start": { "line": 247, "column": 34 }, "end": { "line": 247, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldX", "start": 8937, "end": 8943, "loc": { "start": { "line": 247, "column": 35 }, "end": { "line": 247, "column": 41 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8943, "end": 8944, "loc": { "start": { "line": 247, "column": 41 }, "end": { "line": 247, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldY", "start": 8945, "end": 8951, "loc": { "start": { "line": 247, "column": 43 }, "end": { "line": 247, "column": 49 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8951, "end": 8952, "loc": { "start": { "line": 247, "column": 49 }, "end": { "line": 247, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layer", "start": 8953, "end": 8958, "loc": { "start": { "line": 247, "column": 51 }, "end": { "line": 247, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8958, "end": 8959, "loc": { "start": { "line": 247, "column": 56 }, "end": { "line": 247, "column": 57 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8960, "end": 8961, "loc": { "start": { "line": 247, "column": 58 }, "end": { "line": 247, "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": 8971, "end": 8976, "loc": { "start": { "line": 248, "column": 8 }, "end": { "line": 248, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localX", "start": 8977, "end": 8983, "loc": { "start": { "line": 248, "column": 14 }, "end": { "line": 248, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8984, "end": 8985, "loc": { "start": { "line": 248, "column": 21 }, "end": { "line": 248, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldX", "start": 8986, "end": 8992, "loc": { "start": { "line": 248, "column": 23 }, "end": { "line": 248, "column": 29 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 8993, "end": 8994, "loc": { "start": { "line": 248, "column": 30 }, "end": { "line": 248, "column": 31 } } }, { "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": 8995, "end": 8999, "loc": { "start": { "line": 248, "column": 32 }, "end": { "line": 248, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8999, "end": 9000, "loc": { "start": { "line": 248, "column": 36 }, "end": { "line": 248, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tileX", "start": 9000, "end": 9005, "loc": { "start": { "line": 248, "column": 37 }, "end": { "line": 248, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9005, "end": 9006, "loc": { "start": { "line": 248, "column": 42 }, "end": { "line": 248, "column": 43 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 9016, "end": 9021, "loc": { "start": { "line": 249, "column": 8 }, "end": { "line": 249, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localY", "start": 9022, "end": 9028, "loc": { "start": { "line": 249, "column": 14 }, "end": { "line": 249, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9029, "end": 9030, "loc": { "start": { "line": 249, "column": 21 }, "end": { "line": 249, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldY", "start": 9031, "end": 9037, "loc": { "start": { "line": 249, "column": 23 }, "end": { "line": 249, "column": 29 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 9038, "end": 9039, "loc": { "start": { "line": 249, "column": 30 }, "end": { "line": 249, "column": 31 } } }, { "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": 9040, "end": 9044, "loc": { "start": { "line": 249, "column": 32 }, "end": { "line": 249, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9044, "end": 9045, "loc": { "start": { "line": 249, "column": 36 }, "end": { "line": 249, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tileY", "start": 9045, "end": 9050, "loc": { "start": { "line": 249, "column": 37 }, "end": { "line": 249, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9050, "end": 9051, "loc": { "start": { "line": 249, "column": 42 }, "end": { "line": 249, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 9061, "end": 9067, "loc": { "start": { "line": 250, "column": 8 }, "end": { "line": 250, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9067, "end": 9068, "loc": { "start": { "line": 250, "column": 14 }, "end": { "line": 250, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localX", "start": 9068, "end": 9074, "loc": { "start": { "line": 250, "column": 15 }, "end": { "line": 250, "column": 21 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">=", "start": 9075, "end": 9077, "loc": { "start": { "line": 250, "column": 22 }, "end": { "line": 250, "column": 24 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 9078, "end": 9079, "loc": { "start": { "line": 250, "column": 25 }, "end": { "line": 250, "column": 26 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9079, "end": 9080, "loc": { "start": { "line": 250, "column": 26 }, "end": { "line": 250, "column": 27 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Local X is < 0", "start": 9081, "end": 9097, "loc": { "start": { "line": 250, "column": 28 }, "end": { "line": 250, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9097, "end": 9098, "loc": { "start": { "line": 250, "column": 44 }, "end": { "line": 250, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9098, "end": 9099, "loc": { "start": { "line": 250, "column": 45 }, "end": { "line": 250, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 9109, "end": 9115, "loc": { "start": { "line": 251, "column": 8 }, "end": { "line": 251, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9115, "end": 9116, "loc": { "start": { "line": 251, "column": 14 }, "end": { "line": 251, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localY", "start": 9116, "end": 9122, "loc": { "start": { "line": 251, "column": 15 }, "end": { "line": 251, "column": 21 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">=", "start": 9123, "end": 9125, "loc": { "start": { "line": 251, "column": 22 }, "end": { "line": 251, "column": 24 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 9126, "end": 9127, "loc": { "start": { "line": 251, "column": 25 }, "end": { "line": 251, "column": 26 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9127, "end": 9128, "loc": { "start": { "line": 251, "column": 26 }, "end": { "line": 251, "column": 27 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Local Y is < 0", "start": 9129, "end": 9145, "loc": { "start": { "line": 251, "column": 28 }, "end": { "line": 251, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9145, "end": 9146, "loc": { "start": { "line": 251, "column": 44 }, "end": { "line": 251, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9146, "end": 9147, "loc": { "start": { "line": 251, "column": 45 }, "end": { "line": 251, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 9157, "end": 9163, "loc": { "start": { "line": 252, "column": 8 }, "end": { "line": 252, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9163, "end": 9164, "loc": { "start": { "line": 252, "column": 14 }, "end": { "line": 252, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localX", "start": 9164, "end": 9170, "loc": { "start": { "line": 252, "column": 15 }, "end": { "line": 252, "column": 21 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 9171, "end": 9172, "loc": { "start": { "line": 252, "column": 22 }, "end": { "line": 252, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 9173, "end": 9185, "loc": { "start": { "line": 252, "column": 24 }, "end": { "line": 252, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9185, "end": 9186, "loc": { "start": { "line": 252, "column": 36 }, "end": { "line": 252, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapChunkSize", "start": 9186, "end": 9198, "loc": { "start": { "line": 252, "column": 37 }, "end": { "line": 252, "column": 49 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9198, "end": 9199, "loc": { "start": { "line": 252, "column": 49 }, "end": { "line": 252, "column": 50 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Local X is >= chunk size", "start": 9200, "end": 9226, "loc": { "start": { "line": 252, "column": 51 }, "end": { "line": 252, "column": 77 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9226, "end": 9227, "loc": { "start": { "line": 252, "column": 77 }, "end": { "line": 252, "column": 78 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9227, "end": 9228, "loc": { "start": { "line": 252, "column": 78 }, "end": { "line": 252, "column": 79 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 9238, "end": 9244, "loc": { "start": { "line": 253, "column": 8 }, "end": { "line": 253, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9244, "end": 9245, "loc": { "start": { "line": 253, "column": 14 }, "end": { "line": 253, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localY", "start": 9245, "end": 9251, "loc": { "start": { "line": 253, "column": 15 }, "end": { "line": 253, "column": 21 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 9252, "end": 9253, "loc": { "start": { "line": 253, "column": 22 }, "end": { "line": 253, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 9254, "end": 9266, "loc": { "start": { "line": 253, "column": 24 }, "end": { "line": 253, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9266, "end": 9267, "loc": { "start": { "line": 253, "column": 36 }, "end": { "line": 253, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapChunkSize", "start": 9267, "end": 9279, "loc": { "start": { "line": 253, "column": 37 }, "end": { "line": 253, "column": 49 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9279, "end": 9280, "loc": { "start": { "line": 253, "column": 49 }, "end": { "line": 253, "column": 50 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Local Y is >= chunk size", "start": 9281, "end": 9307, "loc": { "start": { "line": 253, "column": 51 }, "end": { "line": 253, "column": 77 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9307, "end": 9308, "loc": { "start": { "line": 253, "column": 77 }, "end": { "line": 253, "column": 78 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9308, "end": 9309, "loc": { "start": { "line": 253, "column": 78 }, "end": { "line": 253, "column": 79 } } }, { "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": 9319, "end": 9321, "loc": { "start": { "line": 254, "column": 8 }, "end": { "line": 254, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9322, "end": 9323, "loc": { "start": { "line": 254, "column": 11 }, "end": { "line": 254, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layer", "start": 9323, "end": 9328, "loc": { "start": { "line": 254, "column": 12 }, "end": { "line": 254, "column": 17 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 9329, "end": 9332, "loc": { "start": { "line": 254, "column": 18 }, "end": { "line": 254, "column": 21 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "regular", "start": 9333, "end": 9342, "loc": { "start": { "line": 254, "column": 22 }, "end": { "line": 254, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9342, "end": 9343, "loc": { "start": { "line": 254, "column": 31 }, "end": { "line": 254, "column": 32 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9344, "end": 9345, "loc": { "start": { "line": 254, "column": 33 }, "end": { "line": 254, "column": 34 } } }, { "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": 9359, "end": 9365, "loc": { "start": { "line": 255, "column": 12 }, "end": { "line": 255, "column": 18 } } }, { "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": 9366, "end": 9370, "loc": { "start": { "line": 255, "column": 19 }, "end": { "line": 255, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9370, "end": 9371, "loc": { "start": { "line": 255, "column": 23 }, "end": { "line": 255, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contents", "start": 9371, "end": 9379, "loc": { "start": { "line": 255, "column": 24 }, "end": { "line": 255, "column": 32 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9379, "end": 9380, "loc": { "start": { "line": 255, "column": 32 }, "end": { "line": 255, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localX", "start": 9380, "end": 9386, "loc": { "start": { "line": 255, "column": 33 }, "end": { "line": 255, "column": 39 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9386, "end": 9387, "loc": { "start": { "line": 255, "column": 39 }, "end": { "line": 255, "column": 40 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9387, "end": 9388, "loc": { "start": { "line": 255, "column": 40 }, "end": { "line": 255, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localY", "start": 9388, "end": 9394, "loc": { "start": { "line": 255, "column": 41 }, "end": { "line": 255, "column": 47 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9394, "end": 9395, "loc": { "start": { "line": 255, "column": 47 }, "end": { "line": 255, "column": 48 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 9396, "end": 9398, "loc": { "start": { "line": 255, "column": 49 }, "end": { "line": 255, "column": 51 } } }, { "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": 9399, "end": 9403, "loc": { "start": { "line": 255, "column": 52 }, "end": { "line": 255, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9403, "end": 9404, "loc": { "start": { "line": 255, "column": 56 }, "end": { "line": 255, "column": 57 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9414, "end": 9415, "loc": { "start": { "line": 256, "column": 8 }, "end": { "line": 256, "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": 9416, "end": 9420, "loc": { "start": { "line": 256, "column": 10 }, "end": { "line": 256, "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": 9421, "end": 9423, "loc": { "start": { "line": 256, "column": 15 }, "end": { "line": 256, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9424, "end": 9425, "loc": { "start": { "line": 256, "column": 18 }, "end": { "line": 256, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layer", "start": 9425, "end": 9430, "loc": { "start": { "line": 256, "column": 19 }, "end": { "line": 256, "column": 24 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 9431, "end": 9434, "loc": { "start": { "line": 256, "column": 25 }, "end": { "line": 256, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "wires", "start": 9435, "end": 9442, "loc": { "start": { "line": 256, "column": 29 }, "end": { "line": 256, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9442, "end": 9443, "loc": { "start": { "line": 256, "column": 36 }, "end": { "line": 256, "column": 37 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9444, "end": 9445, "loc": { "start": { "line": 256, "column": 38 }, "end": { "line": 256, "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": 9459, "end": 9465, "loc": { "start": { "line": 257, "column": 12 }, "end": { "line": 257, "column": 18 } } }, { "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": 9466, "end": 9470, "loc": { "start": { "line": 257, "column": 19 }, "end": { "line": 257, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9470, "end": 9471, "loc": { "start": { "line": 257, "column": 23 }, "end": { "line": 257, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "wireContents", "start": 9471, "end": 9483, "loc": { "start": { "line": 257, "column": 24 }, "end": { "line": 257, "column": 36 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9483, "end": 9484, "loc": { "start": { "line": 257, "column": 36 }, "end": { "line": 257, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localX", "start": 9484, "end": 9490, "loc": { "start": { "line": 257, "column": 37 }, "end": { "line": 257, "column": 43 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9490, "end": 9491, "loc": { "start": { "line": 257, "column": 43 }, "end": { "line": 257, "column": 44 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9491, "end": 9492, "loc": { "start": { "line": 257, "column": 44 }, "end": { "line": 257, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localY", "start": 9492, "end": 9498, "loc": { "start": { "line": 257, "column": 45 }, "end": { "line": 257, "column": 51 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9498, "end": 9499, "loc": { "start": { "line": 257, "column": 51 }, "end": { "line": 257, "column": 52 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 9500, "end": 9502, "loc": { "start": { "line": 257, "column": 53 }, "end": { "line": 257, "column": 55 } } }, { "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": 9503, "end": 9507, "loc": { "start": { "line": 257, "column": 56 }, "end": { "line": 257, "column": 60 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9507, "end": 9508, "loc": { "start": { "line": 257, "column": 60 }, "end": { "line": 257, "column": 61 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9518, "end": 9519, "loc": { "start": { "line": 258, "column": 8 }, "end": { "line": 258, "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": 9520, "end": 9524, "loc": { "start": { "line": 258, "column": 10 }, "end": { "line": 258, "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": 9525, "end": 9527, "loc": { "start": { "line": 258, "column": 15 }, "end": { "line": 258, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9528, "end": 9529, "loc": { "start": { "line": 258, "column": 18 }, "end": { "line": 258, "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": 9529, "end": 9533, "loc": { "start": { "line": 258, "column": 19 }, "end": { "line": 258, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9533, "end": 9534, "loc": { "start": { "line": 258, "column": 23 }, "end": { "line": 258, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layersContents", "start": 9534, "end": 9548, "loc": { "start": { "line": 258, "column": 24 }, "end": { "line": 258, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9548, "end": 9549, "loc": { "start": { "line": 258, "column": 38 }, "end": { "line": 258, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "has", "start": 9549, "end": 9552, "loc": { "start": { "line": 258, "column": 39 }, "end": { "line": 258, "column": 42 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9552, "end": 9553, "loc": { "start": { "line": 258, "column": 42 }, "end": { "line": 258, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layer", "start": 9553, "end": 9558, "loc": { "start": { "line": 258, "column": 43 }, "end": { "line": 258, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9558, "end": 9559, "loc": { "start": { "line": 258, "column": 48 }, "end": { "line": 258, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9559, "end": 9560, "loc": { "start": { "line": 258, "column": 49 }, "end": { "line": 258, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9561, "end": 9562, "loc": { "start": { "line": 258, "column": 51 }, "end": { "line": 258, "column": 52 } } }, { "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": 9576, "end": 9582, "loc": { "start": { "line": 259, "column": 12 }, "end": { "line": 259, "column": 18 } } }, { "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": 9583, "end": 9587, "loc": { "start": { "line": 259, "column": 19 }, "end": { "line": 259, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9587, "end": 9588, "loc": { "start": { "line": 259, "column": 23 }, "end": { "line": 259, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layersContents", "start": 9588, "end": 9602, "loc": { "start": { "line": 259, "column": 24 }, "end": { "line": 259, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9602, "end": 9603, "loc": { "start": { "line": 259, "column": 38 }, "end": { "line": 259, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "get", "start": 9603, "end": 9606, "loc": { "start": { "line": 259, "column": 39 }, "end": { "line": 259, "column": 42 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9606, "end": 9607, "loc": { "start": { "line": 259, "column": 42 }, "end": { "line": 259, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layer", "start": 9607, "end": 9612, "loc": { "start": { "line": 259, "column": 43 }, "end": { "line": 259, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9612, "end": 9613, "loc": { "start": { "line": 259, "column": 48 }, "end": { "line": 259, "column": 49 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9613, "end": 9614, "loc": { "start": { "line": 259, "column": 49 }, "end": { "line": 259, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localX", "start": 9614, "end": 9620, "loc": { "start": { "line": 259, "column": 50 }, "end": { "line": 259, "column": 56 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9620, "end": 9621, "loc": { "start": { "line": 259, "column": 56 }, "end": { "line": 259, "column": 57 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9621, "end": 9622, "loc": { "start": { "line": 259, "column": 57 }, "end": { "line": 259, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localY", "start": 9622, "end": 9628, "loc": { "start": { "line": 259, "column": 58 }, "end": { "line": 259, "column": 64 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9628, "end": 9629, "loc": { "start": { "line": 259, "column": 64 }, "end": { "line": 259, "column": 65 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 9630, "end": 9632, "loc": { "start": { "line": 259, "column": 66 }, "end": { "line": 259, "column": 68 } } }, { "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": 9633, "end": 9637, "loc": { "start": { "line": 259, "column": 69 }, "end": { "line": 259, "column": 73 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9637, "end": 9638, "loc": { "start": { "line": 259, "column": 73 }, "end": { "line": 259, "column": 74 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9648, "end": 9649, "loc": { "start": { "line": 260, "column": 8 }, "end": { "line": 260, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9655, "end": 9656, "loc": { "start": { "line": 261, "column": 4 }, "end": { "line": 261, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns the contents of this chunk from the given world space coordinates\r\n * @param {number} worldX\r\n * @param {number} worldY\r\n * @returns {Array}\r\n ", "start": 9664, "end": 9853, "loc": { "start": { "line": 263, "column": 4 }, "end": { "line": 268, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getLayersContentsMultipleFromWorldCoords", "start": 9859, "end": 9899, "loc": { "start": { "line": 269, "column": 4 }, "end": { "line": 269, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9899, "end": 9900, "loc": { "start": { "line": 269, "column": 44 }, "end": { "line": 269, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldX", "start": 9900, "end": 9906, "loc": { "start": { "line": 269, "column": 45 }, "end": { "line": 269, "column": 51 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9906, "end": 9907, "loc": { "start": { "line": 269, "column": 51 }, "end": { "line": 269, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldY", "start": 9908, "end": 9914, "loc": { "start": { "line": 269, "column": 53 }, "end": { "line": 269, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9914, "end": 9915, "loc": { "start": { "line": 269, "column": 59 }, "end": { "line": 269, "column": 60 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9916, "end": 9917, "loc": { "start": { "line": 269, "column": 61 }, "end": { "line": 269, "column": 62 } } }, { "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": 9927, "end": 9932, "loc": { "start": { "line": 270, "column": 8 }, "end": { "line": 270, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localX", "start": 9933, "end": 9939, "loc": { "start": { "line": 270, "column": 14 }, "end": { "line": 270, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9940, "end": 9941, "loc": { "start": { "line": 270, "column": 21 }, "end": { "line": 270, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldX", "start": 9942, "end": 9948, "loc": { "start": { "line": 270, "column": 23 }, "end": { "line": 270, "column": 29 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 9949, "end": 9950, "loc": { "start": { "line": 270, "column": 30 }, "end": { "line": 270, "column": 31 } } }, { "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": 9951, "end": 9955, "loc": { "start": { "line": 270, "column": 32 }, "end": { "line": 270, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9955, "end": 9956, "loc": { "start": { "line": 270, "column": 36 }, "end": { "line": 270, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tileX", "start": 9956, "end": 9961, "loc": { "start": { "line": 270, "column": 37 }, "end": { "line": 270, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9961, "end": 9962, "loc": { "start": { "line": 270, "column": 42 }, "end": { "line": 270, "column": 43 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 9972, "end": 9977, "loc": { "start": { "line": 271, "column": 8 }, "end": { "line": 271, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localY", "start": 9978, "end": 9984, "loc": { "start": { "line": 271, "column": 14 }, "end": { "line": 271, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9985, "end": 9986, "loc": { "start": { "line": 271, "column": 21 }, "end": { "line": 271, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "worldY", "start": 9987, "end": 9993, "loc": { "start": { "line": 271, "column": 23 }, "end": { "line": 271, "column": 29 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 9994, "end": 9995, "loc": { "start": { "line": 271, "column": 30 }, "end": { "line": 271, "column": 31 } } }, { "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": 9996, "end": 10000, "loc": { "start": { "line": 271, "column": 32 }, "end": { "line": 271, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10000, "end": 10001, "loc": { "start": { "line": 271, "column": 36 }, "end": { "line": 271, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tileY", "start": 10001, "end": 10006, "loc": { "start": { "line": 271, "column": 37 }, "end": { "line": 271, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10006, "end": 10007, "loc": { "start": { "line": 271, "column": 42 }, "end": { "line": 271, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 10017, "end": 10023, "loc": { "start": { "line": 272, "column": 8 }, "end": { "line": 272, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10023, "end": 10024, "loc": { "start": { "line": 272, "column": 14 }, "end": { "line": 272, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localX", "start": 10024, "end": 10030, "loc": { "start": { "line": 272, "column": 15 }, "end": { "line": 272, "column": 21 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">=", "start": 10031, "end": 10033, "loc": { "start": { "line": 272, "column": 22 }, "end": { "line": 272, "column": 24 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 10034, "end": 10035, "loc": { "start": { "line": 272, "column": 25 }, "end": { "line": 272, "column": 26 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10035, "end": 10036, "loc": { "start": { "line": 272, "column": 26 }, "end": { "line": 272, "column": 27 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Local X is < 0", "start": 10037, "end": 10053, "loc": { "start": { "line": 272, "column": 28 }, "end": { "line": 272, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10053, "end": 10054, "loc": { "start": { "line": 272, "column": 44 }, "end": { "line": 272, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10054, "end": 10055, "loc": { "start": { "line": 272, "column": 45 }, "end": { "line": 272, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 10065, "end": 10071, "loc": { "start": { "line": 273, "column": 8 }, "end": { "line": 273, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10071, "end": 10072, "loc": { "start": { "line": 273, "column": 14 }, "end": { "line": 273, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localY", "start": 10072, "end": 10078, "loc": { "start": { "line": 273, "column": 15 }, "end": { "line": 273, "column": 21 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">=", "start": 10079, "end": 10081, "loc": { "start": { "line": 273, "column": 22 }, "end": { "line": 273, "column": 24 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 10082, "end": 10083, "loc": { "start": { "line": 273, "column": 25 }, "end": { "line": 273, "column": 26 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10083, "end": 10084, "loc": { "start": { "line": 273, "column": 26 }, "end": { "line": 273, "column": 27 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Local Y is < 0", "start": 10085, "end": 10101, "loc": { "start": { "line": 273, "column": 28 }, "end": { "line": 273, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10101, "end": 10102, "loc": { "start": { "line": 273, "column": 44 }, "end": { "line": 273, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10102, "end": 10103, "loc": { "start": { "line": 273, "column": 45 }, "end": { "line": 273, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 10113, "end": 10119, "loc": { "start": { "line": 274, "column": 8 }, "end": { "line": 274, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10119, "end": 10120, "loc": { "start": { "line": 274, "column": 14 }, "end": { "line": 274, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localX", "start": 10120, "end": 10126, "loc": { "start": { "line": 274, "column": 15 }, "end": { "line": 274, "column": 21 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 10127, "end": 10128, "loc": { "start": { "line": 274, "column": 22 }, "end": { "line": 274, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 10129, "end": 10141, "loc": { "start": { "line": 274, "column": 24 }, "end": { "line": 274, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10141, "end": 10142, "loc": { "start": { "line": 274, "column": 36 }, "end": { "line": 274, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapChunkSize", "start": 10142, "end": 10154, "loc": { "start": { "line": 274, "column": 37 }, "end": { "line": 274, "column": 49 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10154, "end": 10155, "loc": { "start": { "line": 274, "column": 49 }, "end": { "line": 274, "column": 50 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Local X is >= chunk size", "start": 10156, "end": 10182, "loc": { "start": { "line": 274, "column": 51 }, "end": { "line": 274, "column": 77 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10182, "end": 10183, "loc": { "start": { "line": 274, "column": 77 }, "end": { "line": 274, "column": 78 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10183, "end": 10184, "loc": { "start": { "line": 274, "column": 78 }, "end": { "line": 274, "column": 79 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 10194, "end": 10200, "loc": { "start": { "line": 275, "column": 8 }, "end": { "line": 275, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10200, "end": 10201, "loc": { "start": { "line": 275, "column": 14 }, "end": { "line": 275, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localY", "start": 10201, "end": 10207, "loc": { "start": { "line": 275, "column": 15 }, "end": { "line": 275, "column": 21 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 10208, "end": 10209, "loc": { "start": { "line": 275, "column": 22 }, "end": { "line": 275, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 10210, "end": 10222, "loc": { "start": { "line": 275, "column": 24 }, "end": { "line": 275, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10222, "end": 10223, "loc": { "start": { "line": 275, "column": 36 }, "end": { "line": 275, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapChunkSize", "start": 10223, "end": 10235, "loc": { "start": { "line": 275, "column": 37 }, "end": { "line": 275, "column": 49 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10235, "end": 10236, "loc": { "start": { "line": 275, "column": 49 }, "end": { "line": 275, "column": 50 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Local Y is >= chunk size", "start": 10237, "end": 10263, "loc": { "start": { "line": 275, "column": 51 }, "end": { "line": 275, "column": 77 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10263, "end": 10264, "loc": { "start": { "line": 275, "column": 77 }, "end": { "line": 275, "column": 78 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10264, "end": 10265, "loc": { "start": { "line": 275, "column": 78 }, "end": { "line": 275, "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": 10277, "end": 10282, "loc": { "start": { "line": 277, "column": 8 }, "end": { "line": 277, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "regularContent", "start": 10283, "end": 10297, "loc": { "start": { "line": 277, "column": 14 }, "end": { "line": 277, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10298, "end": 10299, "loc": { "start": { "line": 277, "column": 29 }, "end": { "line": 277, "column": 30 } } }, { "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": 10300, "end": 10304, "loc": { "start": { "line": 277, "column": 31 }, "end": { "line": 277, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10304, "end": 10305, "loc": { "start": { "line": 277, "column": 35 }, "end": { "line": 277, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contents", "start": 10305, "end": 10313, "loc": { "start": { "line": 277, "column": 36 }, "end": { "line": 277, "column": 44 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10313, "end": 10314, "loc": { "start": { "line": 277, "column": 44 }, "end": { "line": 277, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localX", "start": 10314, "end": 10320, "loc": { "start": { "line": 277, "column": 45 }, "end": { "line": 277, "column": 51 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10320, "end": 10321, "loc": { "start": { "line": 277, "column": 51 }, "end": { "line": 277, "column": 52 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10321, "end": 10322, "loc": { "start": { "line": 277, "column": 52 }, "end": { "line": 277, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localY", "start": 10322, "end": 10328, "loc": { "start": { "line": 277, "column": 53 }, "end": { "line": 277, "column": 59 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10328, "end": 10329, "loc": { "start": { "line": 277, "column": 59 }, "end": { "line": 277, "column": 60 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10329, "end": 10330, "loc": { "start": { "line": 277, "column": 60 }, "end": { "line": 277, "column": 61 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 10340, "end": 10345, "loc": { "start": { "line": 278, "column": 8 }, "end": { "line": 278, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "wireContent", "start": 10346, "end": 10357, "loc": { "start": { "line": 278, "column": 14 }, "end": { "line": 278, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10358, "end": 10359, "loc": { "start": { "line": 278, "column": 26 }, "end": { "line": 278, "column": 27 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 10360, "end": 10364, "loc": { "start": { "line": 278, "column": 28 }, "end": { "line": 278, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10364, "end": 10365, "loc": { "start": { "line": 278, "column": 32 }, "end": { "line": 278, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "wireContents", "start": 10365, "end": 10377, "loc": { "start": { "line": 278, "column": 33 }, "end": { "line": 278, "column": 45 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10377, "end": 10378, "loc": { "start": { "line": 278, "column": 45 }, "end": { "line": 278, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localX", "start": 10378, "end": 10384, "loc": { "start": { "line": 278, "column": 46 }, "end": { "line": 278, "column": 52 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10384, "end": 10385, "loc": { "start": { "line": 278, "column": 52 }, "end": { "line": 278, "column": 53 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10385, "end": 10386, "loc": { "start": { "line": 278, "column": 53 }, "end": { "line": 278, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localY", "start": 10386, "end": 10392, "loc": { "start": { "line": 278, "column": 54 }, "end": { "line": 278, "column": 60 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10392, "end": 10393, "loc": { "start": { "line": 278, "column": 60 }, "end": { "line": 278, "column": 61 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10393, "end": 10394, "loc": { "start": { "line": 278, "column": 61 }, "end": { "line": 278, "column": 62 } } }, { "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": 10406, "end": 10411, "loc": { "start": { "line": 280, "column": 8 }, "end": { "line": 280, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "result", "start": 10412, "end": 10418, "loc": { "start": { "line": 280, "column": 14 }, "end": { "line": 280, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10419, "end": 10420, "loc": { "start": { "line": 280, "column": 21 }, "end": { "line": 280, "column": 22 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10421, "end": 10422, "loc": { "start": { "line": 280, "column": 23 }, "end": { "line": 280, "column": 24 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10422, "end": 10423, "loc": { "start": { "line": 280, "column": 24 }, "end": { "line": 280, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10423, "end": 10424, "loc": { "start": { "line": 280, "column": 25 }, "end": { "line": 280, "column": 26 } } }, { "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": 10434, "end": 10436, "loc": { "start": { "line": 281, "column": 8 }, "end": { "line": 281, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10437, "end": 10438, "loc": { "start": { "line": 281, "column": 11 }, "end": { "line": 281, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "regularContent", "start": 10438, "end": 10452, "loc": { "start": { "line": 281, "column": 12 }, "end": { "line": 281, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10452, "end": 10453, "loc": { "start": { "line": 281, "column": 26 }, "end": { "line": 281, "column": 27 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10454, "end": 10455, "loc": { "start": { "line": 281, "column": 28 }, "end": { "line": 281, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "result", "start": 10469, "end": 10475, "loc": { "start": { "line": 282, "column": 12 }, "end": { "line": 282, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10475, "end": 10476, "loc": { "start": { "line": 282, "column": 18 }, "end": { "line": 282, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 10476, "end": 10480, "loc": { "start": { "line": 282, "column": 19 }, "end": { "line": 282, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10480, "end": 10481, "loc": { "start": { "line": 282, "column": 23 }, "end": { "line": 282, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "regularContent", "start": 10481, "end": 10495, "loc": { "start": { "line": 282, "column": 24 }, "end": { "line": 282, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10495, "end": 10496, "loc": { "start": { "line": 282, "column": 38 }, "end": { "line": 282, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10496, "end": 10497, "loc": { "start": { "line": 282, "column": 39 }, "end": { "line": 282, "column": 40 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10507, "end": 10508, "loc": { "start": { "line": 283, "column": 8 }, "end": { "line": 283, "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": 10518, "end": 10520, "loc": { "start": { "line": 284, "column": 8 }, "end": { "line": 284, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10521, "end": 10522, "loc": { "start": { "line": 284, "column": 11 }, "end": { "line": 284, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "wireContent", "start": 10522, "end": 10533, "loc": { "start": { "line": 284, "column": 12 }, "end": { "line": 284, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10533, "end": 10534, "loc": { "start": { "line": 284, "column": 23 }, "end": { "line": 284, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10535, "end": 10536, "loc": { "start": { "line": 284, "column": 25 }, "end": { "line": 284, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "result", "start": 10550, "end": 10556, "loc": { "start": { "line": 285, "column": 12 }, "end": { "line": 285, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10556, "end": 10557, "loc": { "start": { "line": 285, "column": 18 }, "end": { "line": 285, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 10557, "end": 10561, "loc": { "start": { "line": 285, "column": 19 }, "end": { "line": 285, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10561, "end": 10562, "loc": { "start": { "line": 285, "column": 23 }, "end": { "line": 285, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "wireContent", "start": 10562, "end": 10573, "loc": { "start": { "line": 285, "column": 24 }, "end": { "line": 285, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10573, "end": 10574, "loc": { "start": { "line": 285, "column": 35 }, "end": { "line": 285, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10574, "end": 10575, "loc": { "start": { "line": 285, "column": 36 }, "end": { "line": 285, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10585, "end": 10586, "loc": { "start": { "line": 286, "column": 8 }, "end": { "line": 286, "column": 9 } } }, { "type": { "label": "for", "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "for", "start": 10598, "end": 10601, "loc": { "start": { "line": 288, "column": 8 }, "end": { "line": 288, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10602, "end": 10603, "loc": { "start": { "line": 288, "column": 12 }, "end": { "line": 288, "column": 13 } } }, { "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": 10603, "end": 10608, "loc": { "start": { "line": 288, "column": 13 }, "end": { "line": 288, "column": 18 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10609, "end": 10610, "loc": { "start": { "line": 288, "column": 19 }, "end": { "line": 288, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layer", "start": 10610, "end": 10615, "loc": { "start": { "line": 288, "column": 20 }, "end": { "line": 288, "column": 25 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10615, "end": 10616, "loc": { "start": { "line": 288, "column": 25 }, "end": { "line": 288, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "array", "start": 10617, "end": 10622, "loc": { "start": { "line": 288, "column": 27 }, "end": { "line": 288, "column": 32 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10622, "end": 10623, "loc": { "start": { "line": 288, "column": 32 }, "end": { "line": 288, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "of", "start": 10624, "end": 10626, "loc": { "start": { "line": 288, "column": 34 }, "end": { "line": 288, "column": 36 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 10627, "end": 10631, "loc": { "start": { "line": 288, "column": 37 }, "end": { "line": 288, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10631, "end": 10632, "loc": { "start": { "line": 288, "column": 41 }, "end": { "line": 288, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layersContents", "start": 10632, "end": 10646, "loc": { "start": { "line": 288, "column": 42 }, "end": { "line": 288, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10646, "end": 10647, "loc": { "start": { "line": 288, "column": 56 }, "end": { "line": 288, "column": 57 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10648, "end": 10649, "loc": { "start": { "line": 288, "column": 58 }, "end": { "line": 288, "column": 59 } } }, { "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": 10663, "end": 10665, "loc": { "start": { "line": 289, "column": 12 }, "end": { "line": 289, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10666, "end": 10667, "loc": { "start": { "line": 289, "column": 15 }, "end": { "line": 289, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "array", "start": 10667, "end": 10672, "loc": { "start": { "line": 289, "column": 16 }, "end": { "line": 289, "column": 21 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10672, "end": 10673, "loc": { "start": { "line": 289, "column": 21 }, "end": { "line": 289, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localX", "start": 10673, "end": 10679, "loc": { "start": { "line": 289, "column": 22 }, "end": { "line": 289, "column": 28 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10679, "end": 10680, "loc": { "start": { "line": 289, "column": 28 }, "end": { "line": 289, "column": 29 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10680, "end": 10681, "loc": { "start": { "line": 289, "column": 29 }, "end": { "line": 289, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localY", "start": 10681, "end": 10687, "loc": { "start": { "line": 289, "column": 30 }, "end": { "line": 289, "column": 36 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10687, "end": 10688, "loc": { "start": { "line": 289, "column": 36 }, "end": { "line": 289, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10688, "end": 10689, "loc": { "start": { "line": 289, "column": 37 }, "end": { "line": 289, "column": 38 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10690, "end": 10691, "loc": { "start": { "line": 289, "column": 39 }, "end": { "line": 289, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "result", "start": 10709, "end": 10715, "loc": { "start": { "line": 290, "column": 16 }, "end": { "line": 290, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10715, "end": 10716, "loc": { "start": { "line": 290, "column": 22 }, "end": { "line": 290, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 10716, "end": 10720, "loc": { "start": { "line": 290, "column": 23 }, "end": { "line": 290, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10720, "end": 10721, "loc": { "start": { "line": 290, "column": 27 }, "end": { "line": 290, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "array", "start": 10721, "end": 10726, "loc": { "start": { "line": 290, "column": 28 }, "end": { "line": 290, "column": 33 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10726, "end": 10727, "loc": { "start": { "line": 290, "column": 33 }, "end": { "line": 290, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localX", "start": 10727, "end": 10733, "loc": { "start": { "line": 290, "column": 34 }, "end": { "line": 290, "column": 40 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10733, "end": 10734, "loc": { "start": { "line": 290, "column": 40 }, "end": { "line": 290, "column": 41 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10734, "end": 10735, "loc": { "start": { "line": 290, "column": 41 }, "end": { "line": 290, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localY", "start": 10735, "end": 10741, "loc": { "start": { "line": 290, "column": 42 }, "end": { "line": 290, "column": 48 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10741, "end": 10742, "loc": { "start": { "line": 290, "column": 48 }, "end": { "line": 290, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10742, "end": 10743, "loc": { "start": { "line": 290, "column": 49 }, "end": { "line": 290, "column": 50 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10743, "end": 10744, "loc": { "start": { "line": 290, "column": 50 }, "end": { "line": 290, "column": 51 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10758, "end": 10759, "loc": { "start": { "line": 291, "column": 12 }, "end": { "line": 291, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10769, "end": 10770, "loc": { "start": { "line": 292, "column": 8 }, "end": { "line": 292, "column": 9 } } }, { "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": 10782, "end": 10788, "loc": { "start": { "line": 294, "column": 8 }, "end": { "line": 294, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "result", "start": 10789, "end": 10795, "loc": { "start": { "line": 294, "column": 15 }, "end": { "line": 294, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10795, "end": 10796, "loc": { "start": { "line": 294, "column": 21 }, "end": { "line": 294, "column": 22 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10802, "end": 10803, "loc": { "start": { "line": 295, "column": 4 }, "end": { "line": 295, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns the chunks contents from the given local coordinates\r\n * @param {number} localX\r\n * @param {number} localY\r\n * @returns {Entity=}\r\n ", "start": 10811, "end": 10981, "loc": { "start": { "line": 297, "column": 4 }, "end": { "line": 302, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getTileContentFromLocalCoords", "start": 10987, "end": 11016, "loc": { "start": { "line": 303, "column": 4 }, "end": { "line": 303, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11016, "end": 11017, "loc": { "start": { "line": 303, "column": 33 }, "end": { "line": 303, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localX", "start": 11017, "end": 11023, "loc": { "start": { "line": 303, "column": 34 }, "end": { "line": 303, "column": 40 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11023, "end": 11024, "loc": { "start": { "line": 303, "column": 40 }, "end": { "line": 303, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localY", "start": 11025, "end": 11031, "loc": { "start": { "line": 303, "column": 42 }, "end": { "line": 303, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11031, "end": 11032, "loc": { "start": { "line": 303, "column": 48 }, "end": { "line": 303, "column": 49 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11033, "end": 11034, "loc": { "start": { "line": 303, "column": 50 }, "end": { "line": 303, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 11044, "end": 11050, "loc": { "start": { "line": 304, "column": 8 }, "end": { "line": 304, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11050, "end": 11051, "loc": { "start": { "line": 304, "column": 14 }, "end": { "line": 304, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localX", "start": 11051, "end": 11057, "loc": { "start": { "line": 304, "column": 15 }, "end": { "line": 304, "column": 21 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">=", "start": 11058, "end": 11060, "loc": { "start": { "line": 304, "column": 22 }, "end": { "line": 304, "column": 24 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 11061, "end": 11062, "loc": { "start": { "line": 304, "column": 25 }, "end": { "line": 304, "column": 26 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11062, "end": 11063, "loc": { "start": { "line": 304, "column": 26 }, "end": { "line": 304, "column": 27 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Local X is < 0", "start": 11064, "end": 11080, "loc": { "start": { "line": 304, "column": 28 }, "end": { "line": 304, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11080, "end": 11081, "loc": { "start": { "line": 304, "column": 44 }, "end": { "line": 304, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11081, "end": 11082, "loc": { "start": { "line": 304, "column": 45 }, "end": { "line": 304, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 11092, "end": 11098, "loc": { "start": { "line": 305, "column": 8 }, "end": { "line": 305, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11098, "end": 11099, "loc": { "start": { "line": 305, "column": 14 }, "end": { "line": 305, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localY", "start": 11099, "end": 11105, "loc": { "start": { "line": 305, "column": 15 }, "end": { "line": 305, "column": 21 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">=", "start": 11106, "end": 11108, "loc": { "start": { "line": 305, "column": 22 }, "end": { "line": 305, "column": 24 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 11109, "end": 11110, "loc": { "start": { "line": 305, "column": 25 }, "end": { "line": 305, "column": 26 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11110, "end": 11111, "loc": { "start": { "line": 305, "column": 26 }, "end": { "line": 305, "column": 27 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Local Y is < 0", "start": 11112, "end": 11128, "loc": { "start": { "line": 305, "column": 28 }, "end": { "line": 305, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11128, "end": 11129, "loc": { "start": { "line": 305, "column": 44 }, "end": { "line": 305, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11129, "end": 11130, "loc": { "start": { "line": 305, "column": 45 }, "end": { "line": 305, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 11140, "end": 11146, "loc": { "start": { "line": 306, "column": 8 }, "end": { "line": 306, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11146, "end": 11147, "loc": { "start": { "line": 306, "column": 14 }, "end": { "line": 306, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localX", "start": 11147, "end": 11153, "loc": { "start": { "line": 306, "column": 15 }, "end": { "line": 306, "column": 21 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 11154, "end": 11155, "loc": { "start": { "line": 306, "column": 22 }, "end": { "line": 306, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 11156, "end": 11168, "loc": { "start": { "line": 306, "column": 24 }, "end": { "line": 306, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11168, "end": 11169, "loc": { "start": { "line": 306, "column": 36 }, "end": { "line": 306, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapChunkSize", "start": 11169, "end": 11181, "loc": { "start": { "line": 306, "column": 37 }, "end": { "line": 306, "column": 49 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11181, "end": 11182, "loc": { "start": { "line": 306, "column": 49 }, "end": { "line": 306, "column": 50 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Local X is >= chunk size", "start": 11183, "end": 11209, "loc": { "start": { "line": 306, "column": 51 }, "end": { "line": 306, "column": 77 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11209, "end": 11210, "loc": { "start": { "line": 306, "column": 77 }, "end": { "line": 306, "column": 78 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11210, "end": 11211, "loc": { "start": { "line": 306, "column": 78 }, "end": { "line": 306, "column": 79 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 11221, "end": 11227, "loc": { "start": { "line": 307, "column": 8 }, "end": { "line": 307, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11227, "end": 11228, "loc": { "start": { "line": 307, "column": 14 }, "end": { "line": 307, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localY", "start": 11228, "end": 11234, "loc": { "start": { "line": 307, "column": 15 }, "end": { "line": 307, "column": 21 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 11235, "end": 11236, "loc": { "start": { "line": 307, "column": 22 }, "end": { "line": 307, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 11237, "end": 11249, "loc": { "start": { "line": 307, "column": 24 }, "end": { "line": 307, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11249, "end": 11250, "loc": { "start": { "line": 307, "column": 36 }, "end": { "line": 307, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapChunkSize", "start": 11250, "end": 11262, "loc": { "start": { "line": 307, "column": 37 }, "end": { "line": 307, "column": 49 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11262, "end": 11263, "loc": { "start": { "line": 307, "column": 49 }, "end": { "line": 307, "column": 50 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Local Y is >= chunk size", "start": 11264, "end": 11290, "loc": { "start": { "line": 307, "column": 51 }, "end": { "line": 307, "column": 77 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11290, "end": 11291, "loc": { "start": { "line": 307, "column": 77 }, "end": { "line": 307, "column": 78 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11291, "end": 11292, "loc": { "start": { "line": 307, "column": 78 }, "end": { "line": 307, "column": 79 } } }, { "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": 11304, "end": 11310, "loc": { "start": { "line": 309, "column": 8 }, "end": { "line": 309, "column": 14 } } }, { "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": 11311, "end": 11315, "loc": { "start": { "line": 309, "column": 15 }, "end": { "line": 309, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11315, "end": 11316, "loc": { "start": { "line": 309, "column": 19 }, "end": { "line": 309, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contents", "start": 11316, "end": 11324, "loc": { "start": { "line": 309, "column": 20 }, "end": { "line": 309, "column": 28 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11324, "end": 11325, "loc": { "start": { "line": 309, "column": 28 }, "end": { "line": 309, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localX", "start": 11325, "end": 11331, "loc": { "start": { "line": 309, "column": 29 }, "end": { "line": 309, "column": 35 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11331, "end": 11332, "loc": { "start": { "line": 309, "column": 35 }, "end": { "line": 309, "column": 36 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11332, "end": 11333, "loc": { "start": { "line": 309, "column": 36 }, "end": { "line": 309, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localY", "start": 11333, "end": 11339, "loc": { "start": { "line": 309, "column": 37 }, "end": { "line": 309, "column": 43 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11339, "end": 11340, "loc": { "start": { "line": 309, "column": 43 }, "end": { "line": 309, "column": 44 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 11341, "end": 11343, "loc": { "start": { "line": 309, "column": 45 }, "end": { "line": 309, "column": 47 } } }, { "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": 11344, "end": 11348, "loc": { "start": { "line": 309, "column": 48 }, "end": { "line": 309, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11348, "end": 11349, "loc": { "start": { "line": 309, "column": 52 }, "end": { "line": 309, "column": 53 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11355, "end": 11356, "loc": { "start": { "line": 310, "column": 4 }, "end": { "line": 310, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Sets the chunks contents\r\n * @param {number} tileX\r\n * @param {number} tileY\r\n * @param {Entity} contents\r\n * @param {Layer} layer\r\n ", "start": 11364, "end": 11531, "loc": { "start": { "line": 312, "column": 4 }, "end": { "line": 318, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setLayerContentFromWorldCords", "start": 11537, "end": 11566, "loc": { "start": { "line": 319, "column": 4 }, "end": { "line": 319, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11566, "end": 11567, "loc": { "start": { "line": 319, "column": 33 }, "end": { "line": 319, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tileX", "start": 11567, "end": 11572, "loc": { "start": { "line": 319, "column": 34 }, "end": { "line": 319, "column": 39 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11572, "end": 11573, "loc": { "start": { "line": 319, "column": 39 }, "end": { "line": 319, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tileY", "start": 11574, "end": 11579, "loc": { "start": { "line": 319, "column": 41 }, "end": { "line": 319, "column": 46 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11579, "end": 11580, "loc": { "start": { "line": 319, "column": 46 }, "end": { "line": 319, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contents", "start": 11581, "end": 11589, "loc": { "start": { "line": 319, "column": 48 }, "end": { "line": 319, "column": 56 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11589, "end": 11590, "loc": { "start": { "line": 319, "column": 56 }, "end": { "line": 319, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layer", "start": 11591, "end": 11596, "loc": { "start": { "line": 319, "column": 58 }, "end": { "line": 319, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11596, "end": 11597, "loc": { "start": { "line": 319, "column": 63 }, "end": { "line": 319, "column": 64 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11598, "end": 11599, "loc": { "start": { "line": 319, "column": 65 }, "end": { "line": 319, "column": 66 } } }, { "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": 11609, "end": 11614, "loc": { "start": { "line": 320, "column": 8 }, "end": { "line": 320, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localX", "start": 11615, "end": 11621, "loc": { "start": { "line": 320, "column": 14 }, "end": { "line": 320, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11622, "end": 11623, "loc": { "start": { "line": 320, "column": 21 }, "end": { "line": 320, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tileX", "start": 11624, "end": 11629, "loc": { "start": { "line": 320, "column": 23 }, "end": { "line": 320, "column": 28 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 11630, "end": 11631, "loc": { "start": { "line": 320, "column": 29 }, "end": { "line": 320, "column": 30 } } }, { "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": 11632, "end": 11636, "loc": { "start": { "line": 320, "column": 31 }, "end": { "line": 320, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11636, "end": 11637, "loc": { "start": { "line": 320, "column": 35 }, "end": { "line": 320, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tileX", "start": 11637, "end": 11642, "loc": { "start": { "line": 320, "column": 36 }, "end": { "line": 320, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11642, "end": 11643, "loc": { "start": { "line": 320, "column": 41 }, "end": { "line": 320, "column": 42 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 11653, "end": 11658, "loc": { "start": { "line": 321, "column": 8 }, "end": { "line": 321, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localY", "start": 11659, "end": 11665, "loc": { "start": { "line": 321, "column": 14 }, "end": { "line": 321, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 11666, "end": 11667, "loc": { "start": { "line": 321, "column": 21 }, "end": { "line": 321, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tileY", "start": 11668, "end": 11673, "loc": { "start": { "line": 321, "column": 23 }, "end": { "line": 321, "column": 28 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 11674, "end": 11675, "loc": { "start": { "line": 321, "column": 29 }, "end": { "line": 321, "column": 30 } } }, { "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": 11676, "end": 11680, "loc": { "start": { "line": 321, "column": 31 }, "end": { "line": 321, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11680, "end": 11681, "loc": { "start": { "line": 321, "column": 35 }, "end": { "line": 321, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tileY", "start": 11681, "end": 11686, "loc": { "start": { "line": 321, "column": 36 }, "end": { "line": 321, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11686, "end": 11687, "loc": { "start": { "line": 321, "column": 41 }, "end": { "line": 321, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 11697, "end": 11703, "loc": { "start": { "line": 322, "column": 8 }, "end": { "line": 322, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11703, "end": 11704, "loc": { "start": { "line": 322, "column": 14 }, "end": { "line": 322, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localX", "start": 11704, "end": 11710, "loc": { "start": { "line": 322, "column": 15 }, "end": { "line": 322, "column": 21 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">=", "start": 11711, "end": 11713, "loc": { "start": { "line": 322, "column": 22 }, "end": { "line": 322, "column": 24 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 11714, "end": 11715, "loc": { "start": { "line": 322, "column": 25 }, "end": { "line": 322, "column": 26 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11715, "end": 11716, "loc": { "start": { "line": 322, "column": 26 }, "end": { "line": 322, "column": 27 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Local X is < 0", "start": 11717, "end": 11733, "loc": { "start": { "line": 322, "column": 28 }, "end": { "line": 322, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11733, "end": 11734, "loc": { "start": { "line": 322, "column": 44 }, "end": { "line": 322, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11734, "end": 11735, "loc": { "start": { "line": 322, "column": 45 }, "end": { "line": 322, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 11745, "end": 11751, "loc": { "start": { "line": 323, "column": 8 }, "end": { "line": 323, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11751, "end": 11752, "loc": { "start": { "line": 323, "column": 14 }, "end": { "line": 323, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localY", "start": 11752, "end": 11758, "loc": { "start": { "line": 323, "column": 15 }, "end": { "line": 323, "column": 21 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">=", "start": 11759, "end": 11761, "loc": { "start": { "line": 323, "column": 22 }, "end": { "line": 323, "column": 24 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 11762, "end": 11763, "loc": { "start": { "line": 323, "column": 25 }, "end": { "line": 323, "column": 26 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11763, "end": 11764, "loc": { "start": { "line": 323, "column": 26 }, "end": { "line": 323, "column": 27 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Local Y is < 0", "start": 11765, "end": 11781, "loc": { "start": { "line": 323, "column": 28 }, "end": { "line": 323, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11781, "end": 11782, "loc": { "start": { "line": 323, "column": 44 }, "end": { "line": 323, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11782, "end": 11783, "loc": { "start": { "line": 323, "column": 45 }, "end": { "line": 323, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 11793, "end": 11799, "loc": { "start": { "line": 324, "column": 8 }, "end": { "line": 324, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11799, "end": 11800, "loc": { "start": { "line": 324, "column": 14 }, "end": { "line": 324, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localX", "start": 11800, "end": 11806, "loc": { "start": { "line": 324, "column": 15 }, "end": { "line": 324, "column": 21 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 11807, "end": 11808, "loc": { "start": { "line": 324, "column": 22 }, "end": { "line": 324, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 11809, "end": 11821, "loc": { "start": { "line": 324, "column": 24 }, "end": { "line": 324, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11821, "end": 11822, "loc": { "start": { "line": 324, "column": 36 }, "end": { "line": 324, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapChunkSize", "start": 11822, "end": 11834, "loc": { "start": { "line": 324, "column": 37 }, "end": { "line": 324, "column": 49 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11834, "end": 11835, "loc": { "start": { "line": 324, "column": 49 }, "end": { "line": 324, "column": 50 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Local X is >= chunk size", "start": 11836, "end": 11862, "loc": { "start": { "line": 324, "column": 51 }, "end": { "line": 324, "column": 77 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11862, "end": 11863, "loc": { "start": { "line": 324, "column": 77 }, "end": { "line": 324, "column": 78 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11863, "end": 11864, "loc": { "start": { "line": 324, "column": 78 }, "end": { "line": 324, "column": 79 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 11874, "end": 11880, "loc": { "start": { "line": 325, "column": 8 }, "end": { "line": 325, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11880, "end": 11881, "loc": { "start": { "line": 325, "column": 14 }, "end": { "line": 325, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localY", "start": 11881, "end": 11887, "loc": { "start": { "line": 325, "column": 15 }, "end": { "line": 325, "column": 21 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 11888, "end": 11889, "loc": { "start": { "line": 325, "column": 22 }, "end": { "line": 325, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 11890, "end": 11902, "loc": { "start": { "line": 325, "column": 24 }, "end": { "line": 325, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11902, "end": 11903, "loc": { "start": { "line": 325, "column": 36 }, "end": { "line": 325, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapChunkSize", "start": 11903, "end": 11915, "loc": { "start": { "line": 325, "column": 37 }, "end": { "line": 325, "column": 49 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11915, "end": 11916, "loc": { "start": { "line": 325, "column": 49 }, "end": { "line": 325, "column": 50 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Local Y is >= chunk size", "start": 11917, "end": 11943, "loc": { "start": { "line": 325, "column": 51 }, "end": { "line": 325, "column": 77 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11943, "end": 11944, "loc": { "start": { "line": 325, "column": 77 }, "end": { "line": 325, "column": 78 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11944, "end": 11945, "loc": { "start": { "line": 325, "column": 78 }, "end": { "line": 325, "column": 79 } } }, { "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": 11957, "end": 11960, "loc": { "start": { "line": 327, "column": 8 }, "end": { "line": 327, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "oldContents", "start": 11961, "end": 11972, "loc": { "start": { "line": 327, "column": 12 }, "end": { "line": 327, "column": 23 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 11972, "end": 11973, "loc": { "start": { "line": 327, "column": 23 }, "end": { "line": 327, "column": 24 } } }, { "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": 11983, "end": 11985, "loc": { "start": { "line": 328, "column": 8 }, "end": { "line": 328, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 11986, "end": 11987, "loc": { "start": { "line": 328, "column": 11 }, "end": { "line": 328, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layer", "start": 11987, "end": 11992, "loc": { "start": { "line": 328, "column": 12 }, "end": { "line": 328, "column": 17 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 11993, "end": 11996, "loc": { "start": { "line": 328, "column": 18 }, "end": { "line": 328, "column": 21 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "regular", "start": 11997, "end": 12006, "loc": { "start": { "line": 328, "column": 22 }, "end": { "line": 328, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12006, "end": 12007, "loc": { "start": { "line": 328, "column": 31 }, "end": { "line": 328, "column": 32 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12008, "end": 12009, "loc": { "start": { "line": 328, "column": 33 }, "end": { "line": 328, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "oldContents", "start": 12023, "end": 12034, "loc": { "start": { "line": 329, "column": 12 }, "end": { "line": 329, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12035, "end": 12036, "loc": { "start": { "line": 329, "column": 24 }, "end": { "line": 329, "column": 25 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 12037, "end": 12041, "loc": { "start": { "line": 329, "column": 26 }, "end": { "line": 329, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12041, "end": 12042, "loc": { "start": { "line": 329, "column": 30 }, "end": { "line": 329, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contents", "start": 12042, "end": 12050, "loc": { "start": { "line": 329, "column": 31 }, "end": { "line": 329, "column": 39 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12050, "end": 12051, "loc": { "start": { "line": 329, "column": 39 }, "end": { "line": 329, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localX", "start": 12051, "end": 12057, "loc": { "start": { "line": 329, "column": 40 }, "end": { "line": 329, "column": 46 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12057, "end": 12058, "loc": { "start": { "line": 329, "column": 46 }, "end": { "line": 329, "column": 47 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12058, "end": 12059, "loc": { "start": { "line": 329, "column": 47 }, "end": { "line": 329, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localY", "start": 12059, "end": 12065, "loc": { "start": { "line": 329, "column": 48 }, "end": { "line": 329, "column": 54 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12065, "end": 12066, "loc": { "start": { "line": 329, "column": 54 }, "end": { "line": 329, "column": 55 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12066, "end": 12067, "loc": { "start": { "line": 329, "column": 55 }, "end": { "line": 329, "column": 56 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12077, "end": 12078, "loc": { "start": { "line": 330, "column": 8 }, "end": { "line": 330, "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": 12079, "end": 12083, "loc": { "start": { "line": 330, "column": 10 }, "end": { "line": 330, "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": 12084, "end": 12086, "loc": { "start": { "line": 330, "column": 15 }, "end": { "line": 330, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12087, "end": 12088, "loc": { "start": { "line": 330, "column": 18 }, "end": { "line": 330, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layer", "start": 12088, "end": 12093, "loc": { "start": { "line": 330, "column": 19 }, "end": { "line": 330, "column": 24 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 12094, "end": 12097, "loc": { "start": { "line": 330, "column": 25 }, "end": { "line": 330, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "wires", "start": 12098, "end": 12105, "loc": { "start": { "line": 330, "column": 29 }, "end": { "line": 330, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12105, "end": 12106, "loc": { "start": { "line": 330, "column": 36 }, "end": { "line": 330, "column": 37 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12107, "end": 12108, "loc": { "start": { "line": 330, "column": 38 }, "end": { "line": 330, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "oldContents", "start": 12122, "end": 12133, "loc": { "start": { "line": 331, "column": 12 }, "end": { "line": 331, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12134, "end": 12135, "loc": { "start": { "line": 331, "column": 24 }, "end": { "line": 331, "column": 25 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 12136, "end": 12140, "loc": { "start": { "line": 331, "column": 26 }, "end": { "line": 331, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12140, "end": 12141, "loc": { "start": { "line": 331, "column": 30 }, "end": { "line": 331, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "wireContents", "start": 12141, "end": 12153, "loc": { "start": { "line": 331, "column": 31 }, "end": { "line": 331, "column": 43 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12153, "end": 12154, "loc": { "start": { "line": 331, "column": 43 }, "end": { "line": 331, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localX", "start": 12154, "end": 12160, "loc": { "start": { "line": 331, "column": 44 }, "end": { "line": 331, "column": 50 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12160, "end": 12161, "loc": { "start": { "line": 331, "column": 50 }, "end": { "line": 331, "column": 51 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12161, "end": 12162, "loc": { "start": { "line": 331, "column": 51 }, "end": { "line": 331, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localY", "start": 12162, "end": 12168, "loc": { "start": { "line": 331, "column": 52 }, "end": { "line": 331, "column": 58 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12168, "end": 12169, "loc": { "start": { "line": 331, "column": 58 }, "end": { "line": 331, "column": 59 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12169, "end": 12170, "loc": { "start": { "line": 331, "column": 59 }, "end": { "line": 331, "column": 60 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12180, "end": 12181, "loc": { "start": { "line": 332, "column": 8 }, "end": { "line": 332, "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": 12182, "end": 12186, "loc": { "start": { "line": 332, "column": 10 }, "end": { "line": 332, "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": 12187, "end": 12189, "loc": { "start": { "line": 332, "column": 15 }, "end": { "line": 332, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12190, "end": 12191, "loc": { "start": { "line": 332, "column": 18 }, "end": { "line": 332, "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": 12191, "end": 12195, "loc": { "start": { "line": 332, "column": 19 }, "end": { "line": 332, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12195, "end": 12196, "loc": { "start": { "line": 332, "column": 23 }, "end": { "line": 332, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layersContents", "start": 12196, "end": 12210, "loc": { "start": { "line": 332, "column": 24 }, "end": { "line": 332, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12210, "end": 12211, "loc": { "start": { "line": 332, "column": 38 }, "end": { "line": 332, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "has", "start": 12211, "end": 12214, "loc": { "start": { "line": 332, "column": 39 }, "end": { "line": 332, "column": 42 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12214, "end": 12215, "loc": { "start": { "line": 332, "column": 42 }, "end": { "line": 332, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layer", "start": 12215, "end": 12220, "loc": { "start": { "line": 332, "column": 43 }, "end": { "line": 332, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12220, "end": 12221, "loc": { "start": { "line": 332, "column": 48 }, "end": { "line": 332, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12221, "end": 12222, "loc": { "start": { "line": 332, "column": 49 }, "end": { "line": 332, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12223, "end": 12224, "loc": { "start": { "line": 332, "column": 51 }, "end": { "line": 332, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "oldContents", "start": 12238, "end": 12249, "loc": { "start": { "line": 333, "column": 12 }, "end": { "line": 333, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12250, "end": 12251, "loc": { "start": { "line": 333, "column": 24 }, "end": { "line": 333, "column": 25 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 12252, "end": 12256, "loc": { "start": { "line": 333, "column": 26 }, "end": { "line": 333, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12256, "end": 12257, "loc": { "start": { "line": 333, "column": 30 }, "end": { "line": 333, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layersContents", "start": 12257, "end": 12271, "loc": { "start": { "line": 333, "column": 31 }, "end": { "line": 333, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12271, "end": 12272, "loc": { "start": { "line": 333, "column": 45 }, "end": { "line": 333, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "get", "start": 12272, "end": 12275, "loc": { "start": { "line": 333, "column": 46 }, "end": { "line": 333, "column": 49 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12275, "end": 12276, "loc": { "start": { "line": 333, "column": 49 }, "end": { "line": 333, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layer", "start": 12276, "end": 12281, "loc": { "start": { "line": 333, "column": 50 }, "end": { "line": 333, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12281, "end": 12282, "loc": { "start": { "line": 333, "column": 55 }, "end": { "line": 333, "column": 56 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12282, "end": 12283, "loc": { "start": { "line": 333, "column": 56 }, "end": { "line": 333, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localX", "start": 12283, "end": 12289, "loc": { "start": { "line": 333, "column": 57 }, "end": { "line": 333, "column": 63 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12289, "end": 12290, "loc": { "start": { "line": 333, "column": 63 }, "end": { "line": 333, "column": 64 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12290, "end": 12291, "loc": { "start": { "line": 333, "column": 64 }, "end": { "line": 333, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localY", "start": 12291, "end": 12297, "loc": { "start": { "line": 333, "column": 65 }, "end": { "line": 333, "column": 71 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12297, "end": 12298, "loc": { "start": { "line": 333, "column": 71 }, "end": { "line": 333, "column": 72 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12298, "end": 12299, "loc": { "start": { "line": 333, "column": 72 }, "end": { "line": 333, "column": 73 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12309, "end": 12310, "loc": { "start": { "line": 334, "column": 8 }, "end": { "line": 334, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 12322, "end": 12328, "loc": { "start": { "line": 336, "column": 8 }, "end": { "line": 336, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12328, "end": 12329, "loc": { "start": { "line": 336, "column": 14 }, "end": { "line": 336, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contents", "start": 12329, "end": 12337, "loc": { "start": { "line": 336, "column": 15 }, "end": { "line": 336, "column": 23 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 12338, "end": 12341, "loc": { "start": { "line": 336, "column": 24 }, "end": { "line": 336, "column": 27 } } }, { "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": 12342, "end": 12346, "loc": { "start": { "line": 336, "column": 28 }, "end": { "line": 336, "column": 32 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 12347, "end": 12349, "loc": { "start": { "line": 336, "column": 33 }, "end": { "line": 336, "column": 35 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 12350, "end": 12351, "loc": { "start": { "line": 336, "column": 36 }, "end": { "line": 336, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "oldContents", "start": 12351, "end": 12362, "loc": { "start": { "line": 336, "column": 37 }, "end": { "line": 336, "column": 48 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12362, "end": 12363, "loc": { "start": { "line": 336, "column": 48 }, "end": { "line": 336, "column": 49 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Tile already used: ", "start": 12364, "end": 12385, "loc": { "start": { "line": 336, "column": 50 }, "end": { "line": 336, "column": 71 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 12386, "end": 12387, "loc": { "start": { "line": 336, "column": 72 }, "end": { "line": 336, "column": 73 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tileX", "start": 12388, "end": 12393, "loc": { "start": { "line": 336, "column": 74 }, "end": { "line": 336, "column": 79 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 12394, "end": 12395, "loc": { "start": { "line": 336, "column": 80 }, "end": { "line": 336, "column": 81 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " / ", "start": 12396, "end": 12401, "loc": { "start": { "line": 336, "column": 82 }, "end": { "line": 336, "column": 87 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 12402, "end": 12403, "loc": { "start": { "line": 336, "column": 88 }, "end": { "line": 336, "column": 89 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tileY", "start": 12404, "end": 12409, "loc": { "start": { "line": 336, "column": 90 }, "end": { "line": 336, "column": 95 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12409, "end": 12410, "loc": { "start": { "line": 336, "column": 95 }, "end": { "line": 336, "column": 96 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12410, "end": 12411, "loc": { "start": { "line": 336, "column": 96 }, "end": { "line": 336, "column": 97 } } }, { "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": 12423, "end": 12425, "loc": { "start": { "line": 338, "column": 8 }, "end": { "line": 338, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12426, "end": 12427, "loc": { "start": { "line": 338, "column": 11 }, "end": { "line": 338, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "oldContents", "start": 12427, "end": 12438, "loc": { "start": { "line": 338, "column": 12 }, "end": { "line": 338, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12438, "end": 12439, "loc": { "start": { "line": 338, "column": 23 }, "end": { "line": 338, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12440, "end": 12441, "loc": { "start": { "line": 338, "column": 25 }, "end": { "line": 338, "column": 26 } } }, { "type": "CommentLine", "value": " Remove from list (the old contents must be reigstered)", "start": 12455, "end": 12512, "loc": { "start": { "line": 339, "column": 12 }, "end": { "line": 339, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fastArrayDeleteValueIfContained", "start": 12526, "end": 12557, "loc": { "start": { "line": 340, "column": 12 }, "end": { "line": 340, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12557, "end": 12558, "loc": { "start": { "line": 340, "column": 43 }, "end": { "line": 340, "column": 44 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 12558, "end": 12562, "loc": { "start": { "line": 340, "column": 44 }, "end": { "line": 340, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12562, "end": 12563, "loc": { "start": { "line": 340, "column": 48 }, "end": { "line": 340, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "containedEntities", "start": 12563, "end": 12580, "loc": { "start": { "line": 340, "column": 49 }, "end": { "line": 340, "column": 66 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12580, "end": 12581, "loc": { "start": { "line": 340, "column": 66 }, "end": { "line": 340, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "oldContents", "start": 12582, "end": 12593, "loc": { "start": { "line": 340, "column": 68 }, "end": { "line": 340, "column": 79 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12593, "end": 12594, "loc": { "start": { "line": 340, "column": 79 }, "end": { "line": 340, "column": 80 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12594, "end": 12595, "loc": { "start": { "line": 340, "column": 80 }, "end": { "line": 340, "column": 81 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fastArrayDeleteValueIfContained", "start": 12609, "end": 12640, "loc": { "start": { "line": 341, "column": 12 }, "end": { "line": 341, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12640, "end": 12641, "loc": { "start": { "line": 341, "column": 43 }, "end": { "line": 341, "column": 44 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 12641, "end": 12645, "loc": { "start": { "line": 341, "column": 44 }, "end": { "line": 341, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12645, "end": 12646, "loc": { "start": { "line": 341, "column": 48 }, "end": { "line": 341, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "containedEntitiesByLayer", "start": 12646, "end": 12670, "loc": { "start": { "line": 341, "column": 49 }, "end": { "line": 341, "column": 73 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12670, "end": 12671, "loc": { "start": { "line": 341, "column": 73 }, "end": { "line": 341, "column": 74 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layer", "start": 12671, "end": 12676, "loc": { "start": { "line": 341, "column": 74 }, "end": { "line": 341, "column": 79 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12676, "end": 12677, "loc": { "start": { "line": 341, "column": 79 }, "end": { "line": 341, "column": 80 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12677, "end": 12678, "loc": { "start": { "line": 341, "column": 80 }, "end": { "line": 341, "column": 81 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "oldContents", "start": 12679, "end": 12690, "loc": { "start": { "line": 341, "column": 82 }, "end": { "line": 341, "column": 93 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12690, "end": 12691, "loc": { "start": { "line": 341, "column": 93 }, "end": { "line": 341, "column": 94 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12691, "end": 12692, "loc": { "start": { "line": 341, "column": 94 }, "end": { "line": 341, "column": 95 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12702, "end": 12703, "loc": { "start": { "line": 342, "column": 8 }, "end": { "line": 342, "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": 12715, "end": 12717, "loc": { "start": { "line": 344, "column": 8 }, "end": { "line": 344, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12718, "end": 12719, "loc": { "start": { "line": 344, "column": 11 }, "end": { "line": 344, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layer", "start": 12719, "end": 12724, "loc": { "start": { "line": 344, "column": 12 }, "end": { "line": 344, "column": 17 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 12725, "end": 12728, "loc": { "start": { "line": 344, "column": 18 }, "end": { "line": 344, "column": 21 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "regular", "start": 12729, "end": 12738, "loc": { "start": { "line": 344, "column": 22 }, "end": { "line": 344, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12738, "end": 12739, "loc": { "start": { "line": 344, "column": 31 }, "end": { "line": 344, "column": 32 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12740, "end": 12741, "loc": { "start": { "line": 344, "column": 33 }, "end": { "line": 344, "column": 34 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 12755, "end": 12759, "loc": { "start": { "line": 345, "column": 12 }, "end": { "line": 345, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12759, "end": 12760, "loc": { "start": { "line": 345, "column": 16 }, "end": { "line": 345, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contents", "start": 12760, "end": 12768, "loc": { "start": { "line": 345, "column": 17 }, "end": { "line": 345, "column": 25 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12768, "end": 12769, "loc": { "start": { "line": 345, "column": 25 }, "end": { "line": 345, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localX", "start": 12769, "end": 12775, "loc": { "start": { "line": 345, "column": 26 }, "end": { "line": 345, "column": 32 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12775, "end": 12776, "loc": { "start": { "line": 345, "column": 32 }, "end": { "line": 345, "column": 33 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12776, "end": 12777, "loc": { "start": { "line": 345, "column": 33 }, "end": { "line": 345, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localY", "start": 12777, "end": 12783, "loc": { "start": { "line": 345, "column": 34 }, "end": { "line": 345, "column": 40 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12783, "end": 12784, "loc": { "start": { "line": 345, "column": 40 }, "end": { "line": 345, "column": 41 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12785, "end": 12786, "loc": { "start": { "line": 345, "column": 42 }, "end": { "line": 345, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contents", "start": 12787, "end": 12795, "loc": { "start": { "line": 345, "column": 44 }, "end": { "line": 345, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12795, "end": 12796, "loc": { "start": { "line": 345, "column": 52 }, "end": { "line": 345, "column": 53 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12806, "end": 12807, "loc": { "start": { "line": 346, "column": 8 }, "end": { "line": 346, "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": 12808, "end": 12812, "loc": { "start": { "line": 346, "column": 10 }, "end": { "line": 346, "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": 12813, "end": 12815, "loc": { "start": { "line": 346, "column": 15 }, "end": { "line": 346, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12816, "end": 12817, "loc": { "start": { "line": 346, "column": 18 }, "end": { "line": 346, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layer", "start": 12817, "end": 12822, "loc": { "start": { "line": 346, "column": 19 }, "end": { "line": 346, "column": 24 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 12823, "end": 12826, "loc": { "start": { "line": 346, "column": 25 }, "end": { "line": 346, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "wires", "start": 12827, "end": 12834, "loc": { "start": { "line": 346, "column": 29 }, "end": { "line": 346, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12834, "end": 12835, "loc": { "start": { "line": 346, "column": 36 }, "end": { "line": 346, "column": 37 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12836, "end": 12837, "loc": { "start": { "line": 346, "column": 38 }, "end": { "line": 346, "column": 39 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 12851, "end": 12855, "loc": { "start": { "line": 347, "column": 12 }, "end": { "line": 347, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12855, "end": 12856, "loc": { "start": { "line": 347, "column": 16 }, "end": { "line": 347, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "wireContents", "start": 12856, "end": 12868, "loc": { "start": { "line": 347, "column": 17 }, "end": { "line": 347, "column": 29 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12868, "end": 12869, "loc": { "start": { "line": 347, "column": 29 }, "end": { "line": 347, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localX", "start": 12869, "end": 12875, "loc": { "start": { "line": 347, "column": 30 }, "end": { "line": 347, "column": 36 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12875, "end": 12876, "loc": { "start": { "line": 347, "column": 36 }, "end": { "line": 347, "column": 37 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12876, "end": 12877, "loc": { "start": { "line": 347, "column": 37 }, "end": { "line": 347, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localY", "start": 12877, "end": 12883, "loc": { "start": { "line": 347, "column": 38 }, "end": { "line": 347, "column": 44 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12883, "end": 12884, "loc": { "start": { "line": 347, "column": 44 }, "end": { "line": 347, "column": 45 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 12885, "end": 12886, "loc": { "start": { "line": 347, "column": 46 }, "end": { "line": 347, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contents", "start": 12887, "end": 12895, "loc": { "start": { "line": 347, "column": 48 }, "end": { "line": 347, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12895, "end": 12896, "loc": { "start": { "line": 347, "column": 56 }, "end": { "line": 347, "column": 57 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12906, "end": 12907, "loc": { "start": { "line": 348, "column": 8 }, "end": { "line": 348, "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": 12908, "end": 12912, "loc": { "start": { "line": 348, "column": 10 }, "end": { "line": 348, "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": 12913, "end": 12915, "loc": { "start": { "line": 348, "column": 15 }, "end": { "line": 348, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12916, "end": 12917, "loc": { "start": { "line": 348, "column": 18 }, "end": { "line": 348, "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": 12917, "end": 12921, "loc": { "start": { "line": 348, "column": 19 }, "end": { "line": 348, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12921, "end": 12922, "loc": { "start": { "line": 348, "column": 23 }, "end": { "line": 348, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layersContents", "start": 12922, "end": 12936, "loc": { "start": { "line": 348, "column": 24 }, "end": { "line": 348, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12936, "end": 12937, "loc": { "start": { "line": 348, "column": 38 }, "end": { "line": 348, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "has", "start": 12937, "end": 12940, "loc": { "start": { "line": 348, "column": 39 }, "end": { "line": 348, "column": 42 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12940, "end": 12941, "loc": { "start": { "line": 348, "column": 42 }, "end": { "line": 348, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layer", "start": 12941, "end": 12946, "loc": { "start": { "line": 348, "column": 43 }, "end": { "line": 348, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12946, "end": 12947, "loc": { "start": { "line": 348, "column": 48 }, "end": { "line": 348, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12947, "end": 12948, "loc": { "start": { "line": 348, "column": 49 }, "end": { "line": 348, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12949, "end": 12950, "loc": { "start": { "line": 348, "column": 51 }, "end": { "line": 348, "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": 12964, "end": 12968, "loc": { "start": { "line": 349, "column": 12 }, "end": { "line": 349, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12968, "end": 12969, "loc": { "start": { "line": 349, "column": 16 }, "end": { "line": 349, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layersContents", "start": 12969, "end": 12983, "loc": { "start": { "line": 349, "column": 17 }, "end": { "line": 349, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12983, "end": 12984, "loc": { "start": { "line": 349, "column": 31 }, "end": { "line": 349, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "get", "start": 12984, "end": 12987, "loc": { "start": { "line": 349, "column": 32 }, "end": { "line": 349, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12987, "end": 12988, "loc": { "start": { "line": 349, "column": 35 }, "end": { "line": 349, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layer", "start": 12988, "end": 12993, "loc": { "start": { "line": 349, "column": 36 }, "end": { "line": 349, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 12993, "end": 12994, "loc": { "start": { "line": 349, "column": 41 }, "end": { "line": 349, "column": 42 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 12994, "end": 12995, "loc": { "start": { "line": 349, "column": 42 }, "end": { "line": 349, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localX", "start": 12995, "end": 13001, "loc": { "start": { "line": 349, "column": 43 }, "end": { "line": 349, "column": 49 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13001, "end": 13002, "loc": { "start": { "line": 349, "column": 49 }, "end": { "line": 349, "column": 50 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13002, "end": 13003, "loc": { "start": { "line": 349, "column": 50 }, "end": { "line": 349, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "localY", "start": 13003, "end": 13009, "loc": { "start": { "line": 349, "column": 51 }, "end": { "line": 349, "column": 57 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13009, "end": 13010, "loc": { "start": { "line": 349, "column": 57 }, "end": { "line": 349, "column": 58 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13011, "end": 13012, "loc": { "start": { "line": 349, "column": 59 }, "end": { "line": 349, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contents", "start": 13013, "end": 13021, "loc": { "start": { "line": 349, "column": 61 }, "end": { "line": 349, "column": 69 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13021, "end": 13022, "loc": { "start": { "line": 349, "column": 69 }, "end": { "line": 349, "column": 70 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13032, "end": 13033, "loc": { "start": { "line": 350, "column": 8 }, "end": { "line": 350, "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": 13045, "end": 13047, "loc": { "start": { "line": 352, "column": 8 }, "end": { "line": 352, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13048, "end": 13049, "loc": { "start": { "line": 352, "column": 11 }, "end": { "line": 352, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contents", "start": 13049, "end": 13057, "loc": { "start": { "line": 352, "column": 12 }, "end": { "line": 352, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13057, "end": 13058, "loc": { "start": { "line": 352, "column": 20 }, "end": { "line": 352, "column": 21 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13059, "end": 13060, "loc": { "start": { "line": 352, "column": 22 }, "end": { "line": 352, "column": 23 } } }, { "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": 13074, "end": 13076, "loc": { "start": { "line": 353, "column": 12 }, "end": { "line": 353, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13077, "end": 13078, "loc": { "start": { "line": 353, "column": 15 }, "end": { "line": 353, "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": 13078, "end": 13082, "loc": { "start": { "line": 353, "column": 16 }, "end": { "line": 353, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13082, "end": 13083, "loc": { "start": { "line": 353, "column": 20 }, "end": { "line": 353, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "containedEntities", "start": 13083, "end": 13100, "loc": { "start": { "line": 353, "column": 21 }, "end": { "line": 353, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13100, "end": 13101, "loc": { "start": { "line": 353, "column": 38 }, "end": { "line": 353, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "indexOf", "start": 13101, "end": 13108, "loc": { "start": { "line": 353, "column": 39 }, "end": { "line": 353, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13108, "end": 13109, "loc": { "start": { "line": 353, "column": 46 }, "end": { "line": 353, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contents", "start": 13109, "end": 13117, "loc": { "start": { "line": 353, "column": 47 }, "end": { "line": 353, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13117, "end": 13118, "loc": { "start": { "line": 353, "column": 55 }, "end": { "line": 353, "column": 56 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 13119, "end": 13120, "loc": { "start": { "line": 353, "column": 57 }, "end": { "line": 353, "column": 58 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 13121, "end": 13122, "loc": { "start": { "line": 353, "column": 59 }, "end": { "line": 353, "column": 60 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13122, "end": 13123, "loc": { "start": { "line": 353, "column": 60 }, "end": { "line": 353, "column": 61 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13124, "end": 13125, "loc": { "start": { "line": 353, "column": 62 }, "end": { "line": 353, "column": 63 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 13143, "end": 13147, "loc": { "start": { "line": 354, "column": 16 }, "end": { "line": 354, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13147, "end": 13148, "loc": { "start": { "line": 354, "column": 20 }, "end": { "line": 354, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "containedEntities", "start": 13148, "end": 13165, "loc": { "start": { "line": 354, "column": 21 }, "end": { "line": 354, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13165, "end": 13166, "loc": { "start": { "line": 354, "column": 38 }, "end": { "line": 354, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 13166, "end": 13170, "loc": { "start": { "line": 354, "column": 39 }, "end": { "line": 354, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13170, "end": 13171, "loc": { "start": { "line": 354, "column": 43 }, "end": { "line": 354, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contents", "start": 13171, "end": 13179, "loc": { "start": { "line": 354, "column": 44 }, "end": { "line": 354, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13179, "end": 13180, "loc": { "start": { "line": 354, "column": 52 }, "end": { "line": 354, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13180, "end": 13181, "loc": { "start": { "line": 354, "column": 53 }, "end": { "line": 354, "column": 54 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13195, "end": 13196, "loc": { "start": { "line": 355, "column": 12 }, "end": { "line": 355, "column": 13 } } }, { "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": 13212, "end": 13214, "loc": { "start": { "line": 357, "column": 12 }, "end": { "line": 357, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13215, "end": 13216, "loc": { "start": { "line": 357, "column": 15 }, "end": { "line": 357, "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": 13216, "end": 13220, "loc": { "start": { "line": 357, "column": 16 }, "end": { "line": 357, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13220, "end": 13221, "loc": { "start": { "line": 357, "column": 20 }, "end": { "line": 357, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "containedEntitiesByLayer", "start": 13221, "end": 13245, "loc": { "start": { "line": 357, "column": 21 }, "end": { "line": 357, "column": 45 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13245, "end": 13246, "loc": { "start": { "line": 357, "column": 45 }, "end": { "line": 357, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layer", "start": 13246, "end": 13251, "loc": { "start": { "line": 357, "column": 46 }, "end": { "line": 357, "column": 51 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13251, "end": 13252, "loc": { "start": { "line": 357, "column": 51 }, "end": { "line": 357, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13252, "end": 13253, "loc": { "start": { "line": 357, "column": 52 }, "end": { "line": 357, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "indexOf", "start": 13253, "end": 13260, "loc": { "start": { "line": 357, "column": 53 }, "end": { "line": 357, "column": 60 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13260, "end": 13261, "loc": { "start": { "line": 357, "column": 60 }, "end": { "line": 357, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contents", "start": 13261, "end": 13269, "loc": { "start": { "line": 357, "column": 61 }, "end": { "line": 357, "column": 69 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13269, "end": 13270, "loc": { "start": { "line": 357, "column": 69 }, "end": { "line": 357, "column": 70 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 13271, "end": 13272, "loc": { "start": { "line": 357, "column": 71 }, "end": { "line": 357, "column": 72 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 13273, "end": 13274, "loc": { "start": { "line": 357, "column": 73 }, "end": { "line": 357, "column": 74 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13274, "end": 13275, "loc": { "start": { "line": 357, "column": 74 }, "end": { "line": 357, "column": 75 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13276, "end": 13277, "loc": { "start": { "line": 357, "column": 76 }, "end": { "line": 357, "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": 13295, "end": 13299, "loc": { "start": { "line": 358, "column": 16 }, "end": { "line": 358, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13299, "end": 13300, "loc": { "start": { "line": 358, "column": 20 }, "end": { "line": 358, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "containedEntitiesByLayer", "start": 13300, "end": 13324, "loc": { "start": { "line": 358, "column": 21 }, "end": { "line": 358, "column": 45 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13324, "end": 13325, "loc": { "start": { "line": 358, "column": 45 }, "end": { "line": 358, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layer", "start": 13325, "end": 13330, "loc": { "start": { "line": 358, "column": 46 }, "end": { "line": 358, "column": 51 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13330, "end": 13331, "loc": { "start": { "line": 358, "column": 51 }, "end": { "line": 358, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13331, "end": 13332, "loc": { "start": { "line": 358, "column": 52 }, "end": { "line": 358, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 13332, "end": 13336, "loc": { "start": { "line": 358, "column": 53 }, "end": { "line": 358, "column": 57 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13336, "end": 13337, "loc": { "start": { "line": 358, "column": 57 }, "end": { "line": 358, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "contents", "start": 13337, "end": 13345, "loc": { "start": { "line": 358, "column": 58 }, "end": { "line": 358, "column": 66 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13345, "end": 13346, "loc": { "start": { "line": 358, "column": 66 }, "end": { "line": 358, "column": 67 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13346, "end": 13347, "loc": { "start": { "line": 358, "column": 67 }, "end": { "line": 358, "column": 68 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13361, "end": 13362, "loc": { "start": { "line": 359, "column": 12 }, "end": { "line": 359, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13372, "end": 13373, "loc": { "start": { "line": 360, "column": 8 }, "end": { "line": 360, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13379, "end": 13380, "loc": { "start": { "line": 361, "column": 4 }, "end": { "line": 361, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13382, "end": 13383, "loc": { "start": { "line": 362, "column": 0 }, "end": { "line": 362, "column": 1 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "MapChunk", "start": 13387, "end": 13395, "loc": { "start": { "line": 364, "column": 0 }, "end": { "line": 364, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13395, "end": 13396, "loc": { "start": { "line": 364, "column": 8 }, "end": { "line": 364, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "predefined", "start": 13396, "end": 13406, "loc": { "start": { "line": 364, "column": 9 }, "end": { "line": 364, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13407, "end": 13408, "loc": { "start": { "line": 364, "column": 20 }, "end": { "line": 364, "column": 21 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13409, "end": 13410, "loc": { "start": { "line": 364, "column": 22 }, "end": { "line": 364, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13416, "end": 13417, "loc": { "start": { "line": 365, "column": 4 }, "end": { "line": 365, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 13417, "end": 13421, "loc": { "start": { "line": 365, "column": 5 }, "end": { "line": 365, "column": 9 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13421, "end": 13422, "loc": { "start": { "line": 365, "column": 9 }, "end": { "line": 365, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rng", "start": 13423, "end": 13426, "loc": { "start": { "line": 365, "column": 11 }, "end": { "line": 365, "column": 14 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13426, "end": 13427, "loc": { "start": { "line": 365, "column": 14 }, "end": { "line": 365, "column": 15 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13428, "end": 13430, "loc": { "start": { "line": 365, "column": 16 }, "end": { "line": 365, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13431, "end": 13432, "loc": { "start": { "line": 365, "column": 19 }, "end": { "line": 365, "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": 13442, "end": 13444, "loc": { "start": { "line": 366, "column": 8 }, "end": { "line": 366, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13445, "end": 13446, "loc": { "start": { "line": 366, "column": 11 }, "end": { "line": 366, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 13446, "end": 13450, "loc": { "start": { "line": 366, "column": 12 }, "end": { "line": 366, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13450, "end": 13451, "loc": { "start": { "line": 366, "column": 16 }, "end": { "line": 366, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 13451, "end": 13452, "loc": { "start": { "line": 366, "column": 17 }, "end": { "line": 366, "column": 18 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 13453, "end": 13456, "loc": { "start": { "line": 366, "column": 19 }, "end": { "line": 366, "column": 22 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 13457, "end": 13458, "loc": { "start": { "line": 366, "column": 23 }, "end": { "line": 366, "column": 24 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 13459, "end": 13461, "loc": { "start": { "line": 366, "column": 25 }, "end": { "line": 366, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 13462, "end": 13466, "loc": { "start": { "line": 366, "column": 28 }, "end": { "line": 366, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13466, "end": 13467, "loc": { "start": { "line": 366, "column": 32 }, "end": { "line": 366, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 13467, "end": 13468, "loc": { "start": { "line": 366, "column": 33 }, "end": { "line": 366, "column": 34 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 13469, "end": 13472, "loc": { "start": { "line": 366, "column": 35 }, "end": { "line": 366, "column": 38 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 13473, "end": 13474, "loc": { "start": { "line": 366, "column": 39 }, "end": { "line": 366, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13474, "end": 13475, "loc": { "start": { "line": 366, "column": 40 }, "end": { "line": 366, "column": 41 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13476, "end": 13477, "loc": { "start": { "line": 366, "column": 42 }, "end": { "line": 366, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 13491, "end": 13495, "loc": { "start": { "line": 367, "column": 12 }, "end": { "line": 367, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13495, "end": 13496, "loc": { "start": { "line": 367, "column": 16 }, "end": { "line": 367, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "internalGeneratePatch", "start": 13496, "end": 13517, "loc": { "start": { "line": 367, "column": 17 }, "end": { "line": 367, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13517, "end": 13518, "loc": { "start": { "line": 367, "column": 38 }, "end": { "line": 367, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rng", "start": 13518, "end": 13521, "loc": { "start": { "line": 367, "column": 39 }, "end": { "line": 367, "column": 42 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13521, "end": 13522, "loc": { "start": { "line": 367, "column": 42 }, "end": { "line": 367, "column": 43 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 13523, "end": 13524, "loc": { "start": { "line": 367, "column": 44 }, "end": { "line": 367, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13524, "end": 13525, "loc": { "start": { "line": 367, "column": 45 }, "end": { "line": 367, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ColorItem", "start": 13526, "end": 13535, "loc": { "start": { "line": 367, "column": 47 }, "end": { "line": 367, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13535, "end": 13536, "loc": { "start": { "line": 367, "column": 56 }, "end": { "line": 367, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ITEM_SINGLETONS", "start": 13536, "end": 13551, "loc": { "start": { "line": 367, "column": 57 }, "end": { "line": 367, "column": 72 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13551, "end": 13552, "loc": { "start": { "line": 367, "column": 72 }, "end": { "line": 367, "column": 73 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumColors", "start": 13552, "end": 13562, "loc": { "start": { "line": 367, "column": 73 }, "end": { "line": 367, "column": 83 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13562, "end": 13563, "loc": { "start": { "line": 367, "column": 83 }, "end": { "line": 367, "column": 84 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "red", "start": 13563, "end": 13566, "loc": { "start": { "line": 367, "column": 84 }, "end": { "line": 367, "column": 87 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13566, "end": 13567, "loc": { "start": { "line": 367, "column": 87 }, "end": { "line": 367, "column": 88 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13567, "end": 13568, "loc": { "start": { "line": 367, "column": 88 }, "end": { "line": 367, "column": 89 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 7, "start": 13569, "end": 13570, "loc": { "start": { "line": 367, "column": 90 }, "end": { "line": 367, "column": 91 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13570, "end": 13571, "loc": { "start": { "line": 367, "column": 91 }, "end": { "line": 367, "column": 92 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 7, "start": 13572, "end": 13573, "loc": { "start": { "line": 367, "column": 93 }, "end": { "line": 367, "column": 94 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13573, "end": 13574, "loc": { "start": { "line": 367, "column": 94 }, "end": { "line": 367, "column": 95 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13574, "end": 13575, "loc": { "start": { "line": 367, "column": 95 }, "end": { "line": 367, "column": 96 } } }, { "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": 13589, "end": 13595, "loc": { "start": { "line": 368, "column": 12 }, "end": { "line": 368, "column": 18 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 13596, "end": 13600, "loc": { "start": { "line": 368, "column": 19 }, "end": { "line": 368, "column": 23 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13600, "end": 13601, "loc": { "start": { "line": 368, "column": 23 }, "end": { "line": 368, "column": 24 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13611, "end": 13612, "loc": { "start": { "line": 369, "column": 8 }, "end": { "line": 369, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13618, "end": 13619, "loc": { "start": { "line": 370, "column": 4 }, "end": { "line": 370, "column": 5 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13619, "end": 13620, "loc": { "start": { "line": 370, "column": 5 }, "end": { "line": 370, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13626, "end": 13627, "loc": { "start": { "line": 371, "column": 4 }, "end": { "line": 371, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 13627, "end": 13631, "loc": { "start": { "line": 371, "column": 5 }, "end": { "line": 371, "column": 9 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13631, "end": 13632, "loc": { "start": { "line": 371, "column": 9 }, "end": { "line": 371, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rng", "start": 13633, "end": 13636, "loc": { "start": { "line": 371, "column": 11 }, "end": { "line": 371, "column": 14 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13636, "end": 13637, "loc": { "start": { "line": 371, "column": 14 }, "end": { "line": 371, "column": 15 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13638, "end": 13640, "loc": { "start": { "line": 371, "column": 16 }, "end": { "line": 371, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13641, "end": 13642, "loc": { "start": { "line": 371, "column": 19 }, "end": { "line": 371, "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": 13652, "end": 13654, "loc": { "start": { "line": 372, "column": 8 }, "end": { "line": 372, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13655, "end": 13656, "loc": { "start": { "line": 372, "column": 11 }, "end": { "line": 372, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 13656, "end": 13660, "loc": { "start": { "line": 372, "column": 12 }, "end": { "line": 372, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13660, "end": 13661, "loc": { "start": { "line": 372, "column": 16 }, "end": { "line": 372, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 13661, "end": 13662, "loc": { "start": { "line": 372, "column": 17 }, "end": { "line": 372, "column": 18 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 13663, "end": 13666, "loc": { "start": { "line": 372, "column": 19 }, "end": { "line": 372, "column": 22 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 13667, "end": 13668, "loc": { "start": { "line": 372, "column": 23 }, "end": { "line": 372, "column": 24 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 13669, "end": 13671, "loc": { "start": { "line": 372, "column": 25 }, "end": { "line": 372, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 13672, "end": 13676, "loc": { "start": { "line": 372, "column": 28 }, "end": { "line": 372, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13676, "end": 13677, "loc": { "start": { "line": 372, "column": 32 }, "end": { "line": 372, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 13677, "end": 13678, "loc": { "start": { "line": 372, "column": 33 }, "end": { "line": 372, "column": 34 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 13679, "end": 13682, "loc": { "start": { "line": 372, "column": 35 }, "end": { "line": 372, "column": 38 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 13683, "end": 13684, "loc": { "start": { "line": 372, "column": 39 }, "end": { "line": 372, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13684, "end": 13685, "loc": { "start": { "line": 372, "column": 40 }, "end": { "line": 372, "column": 41 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13686, "end": 13687, "loc": { "start": { "line": 372, "column": 42 }, "end": { "line": 372, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 13701, "end": 13705, "loc": { "start": { "line": 373, "column": 12 }, "end": { "line": 373, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13705, "end": 13706, "loc": { "start": { "line": 373, "column": 16 }, "end": { "line": 373, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "internalGeneratePatch", "start": 13706, "end": 13727, "loc": { "start": { "line": 373, "column": 17 }, "end": { "line": 373, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13727, "end": 13728, "loc": { "start": { "line": 373, "column": 38 }, "end": { "line": 373, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rng", "start": 13728, "end": 13731, "loc": { "start": { "line": 373, "column": 39 }, "end": { "line": 373, "column": 42 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13731, "end": 13732, "loc": { "start": { "line": 373, "column": 42 }, "end": { "line": 373, "column": 43 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 13733, "end": 13734, "loc": { "start": { "line": 373, "column": 44 }, "end": { "line": 373, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13734, "end": 13735, "loc": { "start": { "line": 373, "column": 45 }, "end": { "line": 373, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ColorItem", "start": 13736, "end": 13745, "loc": { "start": { "line": 373, "column": 47 }, "end": { "line": 373, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13745, "end": 13746, "loc": { "start": { "line": 373, "column": 56 }, "end": { "line": 373, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ITEM_SINGLETONS", "start": 13746, "end": 13761, "loc": { "start": { "line": 373, "column": 57 }, "end": { "line": 373, "column": 72 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13761, "end": 13762, "loc": { "start": { "line": 373, "column": 72 }, "end": { "line": 373, "column": 73 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumColors", "start": 13762, "end": 13772, "loc": { "start": { "line": 373, "column": 73 }, "end": { "line": 373, "column": 83 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13772, "end": 13773, "loc": { "start": { "line": 373, "column": 83 }, "end": { "line": 373, "column": 84 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "red", "start": 13773, "end": 13776, "loc": { "start": { "line": 373, "column": 84 }, "end": { "line": 373, "column": 87 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13776, "end": 13777, "loc": { "start": { "line": 373, "column": 87 }, "end": { "line": 373, "column": 88 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13777, "end": 13778, "loc": { "start": { "line": 373, "column": 88 }, "end": { "line": 373, "column": 89 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 7, "start": 13779, "end": 13780, "loc": { "start": { "line": 373, "column": 90 }, "end": { "line": 373, "column": 91 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13780, "end": 13781, "loc": { "start": { "line": 373, "column": 91 }, "end": { "line": 373, "column": 92 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 7, "start": 13782, "end": 13783, "loc": { "start": { "line": 373, "column": 93 }, "end": { "line": 373, "column": 94 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13783, "end": 13784, "loc": { "start": { "line": 373, "column": 94 }, "end": { "line": 373, "column": 95 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13784, "end": 13785, "loc": { "start": { "line": 373, "column": 95 }, "end": { "line": 373, "column": 96 } } }, { "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": 13799, "end": 13805, "loc": { "start": { "line": 374, "column": 12 }, "end": { "line": 374, "column": 18 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 13806, "end": 13810, "loc": { "start": { "line": 374, "column": 19 }, "end": { "line": 374, "column": 23 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13810, "end": 13811, "loc": { "start": { "line": 374, "column": 23 }, "end": { "line": 374, "column": 24 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13821, "end": 13822, "loc": { "start": { "line": 375, "column": 8 }, "end": { "line": 375, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13828, "end": 13829, "loc": { "start": { "line": 376, "column": 4 }, "end": { "line": 376, "column": 5 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13829, "end": 13830, "loc": { "start": { "line": 376, "column": 5 }, "end": { "line": 376, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13836, "end": 13837, "loc": { "start": { "line": 377, "column": 4 }, "end": { "line": 377, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 13837, "end": 13841, "loc": { "start": { "line": 377, "column": 5 }, "end": { "line": 377, "column": 9 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13841, "end": 13842, "loc": { "start": { "line": 377, "column": 9 }, "end": { "line": 377, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rng", "start": 13843, "end": 13846, "loc": { "start": { "line": 377, "column": 11 }, "end": { "line": 377, "column": 14 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13846, "end": 13847, "loc": { "start": { "line": 377, "column": 14 }, "end": { "line": 377, "column": 15 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13848, "end": 13850, "loc": { "start": { "line": 377, "column": 16 }, "end": { "line": 377, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13851, "end": 13852, "loc": { "start": { "line": 377, "column": 19 }, "end": { "line": 377, "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": 13862, "end": 13864, "loc": { "start": { "line": 378, "column": 8 }, "end": { "line": 378, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13865, "end": 13866, "loc": { "start": { "line": 378, "column": 11 }, "end": { "line": 378, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 13866, "end": 13870, "loc": { "start": { "line": 378, "column": 12 }, "end": { "line": 378, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13870, "end": 13871, "loc": { "start": { "line": 378, "column": 16 }, "end": { "line": 378, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 13871, "end": 13872, "loc": { "start": { "line": 378, "column": 17 }, "end": { "line": 378, "column": 18 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 13873, "end": 13876, "loc": { "start": { "line": 378, "column": 19 }, "end": { "line": 378, "column": 22 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 13877, "end": 13878, "loc": { "start": { "line": 378, "column": 23 }, "end": { "line": 378, "column": 24 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 13878, "end": 13879, "loc": { "start": { "line": 378, "column": 24 }, "end": { "line": 378, "column": 25 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 13880, "end": 13882, "loc": { "start": { "line": 378, "column": 26 }, "end": { "line": 378, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 13883, "end": 13887, "loc": { "start": { "line": 378, "column": 29 }, "end": { "line": 378, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13887, "end": 13888, "loc": { "start": { "line": 378, "column": 33 }, "end": { "line": 378, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 13888, "end": 13889, "loc": { "start": { "line": 378, "column": 34 }, "end": { "line": 378, "column": 35 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 13890, "end": 13893, "loc": { "start": { "line": 378, "column": 36 }, "end": { "line": 378, "column": 39 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 13894, "end": 13895, "loc": { "start": { "line": 378, "column": 40 }, "end": { "line": 378, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13895, "end": 13896, "loc": { "start": { "line": 378, "column": 41 }, "end": { "line": 378, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13897, "end": 13898, "loc": { "start": { "line": 378, "column": 43 }, "end": { "line": 378, "column": 44 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 13912, "end": 13917, "loc": { "start": { "line": 379, "column": 12 }, "end": { "line": 379, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 13918, "end": 13922, "loc": { "start": { "line": 379, "column": 18 }, "end": { "line": 379, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 13923, "end": 13924, "loc": { "start": { "line": 379, "column": 23 }, "end": { "line": 379, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 13925, "end": 13929, "loc": { "start": { "line": 379, "column": 25 }, "end": { "line": 379, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13929, "end": 13930, "loc": { "start": { "line": 379, "column": 29 }, "end": { "line": 379, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 13930, "end": 13934, "loc": { "start": { "line": 379, "column": 30 }, "end": { "line": 379, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13934, "end": 13935, "loc": { "start": { "line": 379, "column": 34 }, "end": { "line": 379, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapeDefinitionMgr", "start": 13935, "end": 13953, "loc": { "start": { "line": 379, "column": 35 }, "end": { "line": 379, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13953, "end": 13954, "loc": { "start": { "line": 379, "column": 53 }, "end": { "line": 379, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getShapeItemFromShortKey", "start": 13954, "end": 13978, "loc": { "start": { "line": 379, "column": 54 }, "end": { "line": 379, "column": 78 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13978, "end": 13979, "loc": { "start": { "line": 379, "column": 78 }, "end": { "line": 379, "column": 79 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "CuCuCuCu", "start": 13979, "end": 13989, "loc": { "start": { "line": 379, "column": 79 }, "end": { "line": 379, "column": 89 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 13989, "end": 13990, "loc": { "start": { "line": 379, "column": 89 }, "end": { "line": 379, "column": 90 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 13990, "end": 13991, "loc": { "start": { "line": 379, "column": 90 }, "end": { "line": 379, "column": 91 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 14005, "end": 14009, "loc": { "start": { "line": 380, "column": 12 }, "end": { "line": 380, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14009, "end": 14010, "loc": { "start": { "line": 380, "column": 16 }, "end": { "line": 380, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "internalGeneratePatch", "start": 14010, "end": 14031, "loc": { "start": { "line": 380, "column": 17 }, "end": { "line": 380, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14031, "end": 14032, "loc": { "start": { "line": 380, "column": 38 }, "end": { "line": 380, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rng", "start": 14032, "end": 14035, "loc": { "start": { "line": 380, "column": 39 }, "end": { "line": 380, "column": 42 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14035, "end": 14036, "loc": { "start": { "line": 380, "column": 42 }, "end": { "line": 380, "column": 43 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 14037, "end": 14038, "loc": { "start": { "line": 380, "column": 44 }, "end": { "line": 380, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14038, "end": 14039, "loc": { "start": { "line": 380, "column": 45 }, "end": { "line": 380, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 14040, "end": 14044, "loc": { "start": { "line": 380, "column": 47 }, "end": { "line": 380, "column": 51 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14044, "end": 14045, "loc": { "start": { "line": 380, "column": 51 }, "end": { "line": 380, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 14046, "end": 14058, "loc": { "start": { "line": 380, "column": 53 }, "end": { "line": 380, "column": 65 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14058, "end": 14059, "loc": { "start": { "line": 380, "column": 65 }, "end": { "line": 380, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapChunkSize", "start": 14059, "end": 14071, "loc": { "start": { "line": 380, "column": 66 }, "end": { "line": 380, "column": 78 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 14072, "end": 14073, "loc": { "start": { "line": 380, "column": 79 }, "end": { "line": 380, "column": 80 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 9, "start": 14074, "end": 14075, "loc": { "start": { "line": 380, "column": 81 }, "end": { "line": 380, "column": 82 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14075, "end": 14076, "loc": { "start": { "line": 380, "column": 82 }, "end": { "line": 380, "column": 83 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 7, "start": 14077, "end": 14078, "loc": { "start": { "line": 380, "column": 84 }, "end": { "line": 380, "column": 85 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14078, "end": 14079, "loc": { "start": { "line": 380, "column": 85 }, "end": { "line": 380, "column": 86 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14079, "end": 14080, "loc": { "start": { "line": 380, "column": 86 }, "end": { "line": 380, "column": 87 } } }, { "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": 14094, "end": 14100, "loc": { "start": { "line": 381, "column": 12 }, "end": { "line": 381, "column": 18 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 14101, "end": 14105, "loc": { "start": { "line": 381, "column": 19 }, "end": { "line": 381, "column": 23 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14105, "end": 14106, "loc": { "start": { "line": 381, "column": 23 }, "end": { "line": 381, "column": 24 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14116, "end": 14117, "loc": { "start": { "line": 382, "column": 8 }, "end": { "line": 382, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14123, "end": 14124, "loc": { "start": { "line": 383, "column": 4 }, "end": { "line": 383, "column": 5 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14124, "end": 14125, "loc": { "start": { "line": 383, "column": 5 }, "end": { "line": 383, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14131, "end": 14132, "loc": { "start": { "line": 384, "column": 4 }, "end": { "line": 384, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 14132, "end": 14136, "loc": { "start": { "line": 384, "column": 5 }, "end": { "line": 384, "column": 9 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14136, "end": 14137, "loc": { "start": { "line": 384, "column": 9 }, "end": { "line": 384, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rng", "start": 14138, "end": 14141, "loc": { "start": { "line": 384, "column": 11 }, "end": { "line": 384, "column": 14 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14141, "end": 14142, "loc": { "start": { "line": 384, "column": 14 }, "end": { "line": 384, "column": 15 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14143, "end": 14145, "loc": { "start": { "line": 384, "column": 16 }, "end": { "line": 384, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14146, "end": 14147, "loc": { "start": { "line": 384, "column": 19 }, "end": { "line": 384, "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": 14157, "end": 14159, "loc": { "start": { "line": 385, "column": 8 }, "end": { "line": 385, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14160, "end": 14161, "loc": { "start": { "line": 385, "column": 11 }, "end": { "line": 385, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 14161, "end": 14165, "loc": { "start": { "line": 385, "column": 12 }, "end": { "line": 385, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14165, "end": 14166, "loc": { "start": { "line": 385, "column": 16 }, "end": { "line": 385, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 14166, "end": 14167, "loc": { "start": { "line": 385, "column": 17 }, "end": { "line": 385, "column": 18 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 14168, "end": 14171, "loc": { "start": { "line": 385, "column": 19 }, "end": { "line": 385, "column": 22 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 14172, "end": 14173, "loc": { "start": { "line": 385, "column": 23 }, "end": { "line": 385, "column": 24 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 14174, "end": 14176, "loc": { "start": { "line": 385, "column": 25 }, "end": { "line": 385, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 14177, "end": 14181, "loc": { "start": { "line": 385, "column": 28 }, "end": { "line": 385, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14181, "end": 14182, "loc": { "start": { "line": 385, "column": 32 }, "end": { "line": 385, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 14182, "end": 14183, "loc": { "start": { "line": 385, "column": 33 }, "end": { "line": 385, "column": 34 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 14184, "end": 14187, "loc": { "start": { "line": 385, "column": 35 }, "end": { "line": 385, "column": 38 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 14188, "end": 14189, "loc": { "start": { "line": 385, "column": 39 }, "end": { "line": 385, "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": 14189, "end": 14190, "loc": { "start": { "line": 385, "column": 40 }, "end": { "line": 385, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14190, "end": 14191, "loc": { "start": { "line": 385, "column": 41 }, "end": { "line": 385, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14192, "end": 14193, "loc": { "start": { "line": 385, "column": 43 }, "end": { "line": 385, "column": 44 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 14207, "end": 14212, "loc": { "start": { "line": 386, "column": 12 }, "end": { "line": 386, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 14213, "end": 14217, "loc": { "start": { "line": 386, "column": 18 }, "end": { "line": 386, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 14218, "end": 14219, "loc": { "start": { "line": 386, "column": 23 }, "end": { "line": 386, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 14220, "end": 14224, "loc": { "start": { "line": 386, "column": 25 }, "end": { "line": 386, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14224, "end": 14225, "loc": { "start": { "line": 386, "column": 29 }, "end": { "line": 386, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 14225, "end": 14229, "loc": { "start": { "line": 386, "column": 30 }, "end": { "line": 386, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14229, "end": 14230, "loc": { "start": { "line": 386, "column": 34 }, "end": { "line": 386, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapeDefinitionMgr", "start": 14230, "end": 14248, "loc": { "start": { "line": 386, "column": 35 }, "end": { "line": 386, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14248, "end": 14249, "loc": { "start": { "line": 386, "column": 53 }, "end": { "line": 386, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getShapeItemFromShortKey", "start": 14249, "end": 14273, "loc": { "start": { "line": 386, "column": 54 }, "end": { "line": 386, "column": 78 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14273, "end": 14274, "loc": { "start": { "line": 386, "column": 78 }, "end": { "line": 386, "column": 79 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "RuRuRuRu", "start": 14274, "end": 14284, "loc": { "start": { "line": 386, "column": 79 }, "end": { "line": 386, "column": 89 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14284, "end": 14285, "loc": { "start": { "line": 386, "column": 89 }, "end": { "line": 386, "column": 90 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14285, "end": 14286, "loc": { "start": { "line": 386, "column": 90 }, "end": { "line": 386, "column": 91 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 14300, "end": 14304, "loc": { "start": { "line": 387, "column": 12 }, "end": { "line": 387, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14304, "end": 14305, "loc": { "start": { "line": 387, "column": 16 }, "end": { "line": 387, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "internalGeneratePatch", "start": 14305, "end": 14326, "loc": { "start": { "line": 387, "column": 17 }, "end": { "line": 387, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14326, "end": 14327, "loc": { "start": { "line": 387, "column": 38 }, "end": { "line": 387, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rng", "start": 14327, "end": 14330, "loc": { "start": { "line": 387, "column": 39 }, "end": { "line": 387, "column": 42 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14330, "end": 14331, "loc": { "start": { "line": 387, "column": 42 }, "end": { "line": 387, "column": 43 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 14332, "end": 14333, "loc": { "start": { "line": 387, "column": 44 }, "end": { "line": 387, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14333, "end": 14334, "loc": { "start": { "line": 387, "column": 45 }, "end": { "line": 387, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 14335, "end": 14339, "loc": { "start": { "line": 387, "column": 47 }, "end": { "line": 387, "column": 51 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14339, "end": 14340, "loc": { "start": { "line": 387, "column": 51 }, "end": { "line": 387, "column": 52 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 5, "start": 14341, "end": 14342, "loc": { "start": { "line": 387, "column": 53 }, "end": { "line": 387, "column": 54 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14342, "end": 14343, "loc": { "start": { "line": 387, "column": 54 }, "end": { "line": 387, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 14344, "end": 14356, "loc": { "start": { "line": 387, "column": 56 }, "end": { "line": 387, "column": 68 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14356, "end": 14357, "loc": { "start": { "line": 387, "column": 68 }, "end": { "line": 387, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapChunkSize", "start": 14357, "end": 14369, "loc": { "start": { "line": 387, "column": 69 }, "end": { "line": 387, "column": 81 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 14370, "end": 14371, "loc": { "start": { "line": 387, "column": 82 }, "end": { "line": 387, "column": 83 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 7, "start": 14372, "end": 14373, "loc": { "start": { "line": 387, "column": 84 }, "end": { "line": 387, "column": 85 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14373, "end": 14374, "loc": { "start": { "line": 387, "column": 85 }, "end": { "line": 387, "column": 86 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14374, "end": 14375, "loc": { "start": { "line": 387, "column": 86 }, "end": { "line": 387, "column": 87 } } }, { "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": 14389, "end": 14395, "loc": { "start": { "line": 388, "column": 12 }, "end": { "line": 388, "column": 18 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 14396, "end": 14400, "loc": { "start": { "line": 388, "column": 19 }, "end": { "line": 388, "column": 23 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14400, "end": 14401, "loc": { "start": { "line": 388, "column": 23 }, "end": { "line": 388, "column": 24 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14411, "end": 14412, "loc": { "start": { "line": 389, "column": 8 }, "end": { "line": 389, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14418, "end": 14419, "loc": { "start": { "line": 390, "column": 4 }, "end": { "line": 390, "column": 5 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14419, "end": 14420, "loc": { "start": { "line": 390, "column": 5 }, "end": { "line": 390, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14426, "end": 14427, "loc": { "start": { "line": 391, "column": 4 }, "end": { "line": 391, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 14427, "end": 14431, "loc": { "start": { "line": 391, "column": 5 }, "end": { "line": 391, "column": 9 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14431, "end": 14432, "loc": { "start": { "line": 391, "column": 9 }, "end": { "line": 391, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rng", "start": 14433, "end": 14436, "loc": { "start": { "line": 391, "column": 11 }, "end": { "line": 391, "column": 14 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14436, "end": 14437, "loc": { "start": { "line": 391, "column": 14 }, "end": { "line": 391, "column": 15 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14438, "end": 14440, "loc": { "start": { "line": 391, "column": 16 }, "end": { "line": 391, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14441, "end": 14442, "loc": { "start": { "line": 391, "column": 19 }, "end": { "line": 391, "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": 14452, "end": 14454, "loc": { "start": { "line": 392, "column": 8 }, "end": { "line": 392, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14455, "end": 14456, "loc": { "start": { "line": 392, "column": 11 }, "end": { "line": 392, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 14456, "end": 14460, "loc": { "start": { "line": 392, "column": 12 }, "end": { "line": 392, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14460, "end": 14461, "loc": { "start": { "line": 392, "column": 16 }, "end": { "line": 392, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 14461, "end": 14462, "loc": { "start": { "line": 392, "column": 17 }, "end": { "line": 392, "column": 18 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 14463, "end": 14466, "loc": { "start": { "line": 392, "column": 19 }, "end": { "line": 392, "column": 22 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 14467, "end": 14468, "loc": { "start": { "line": 392, "column": 23 }, "end": { "line": 392, "column": 24 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 14468, "end": 14469, "loc": { "start": { "line": 392, "column": 24 }, "end": { "line": 392, "column": 25 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 14470, "end": 14472, "loc": { "start": { "line": 392, "column": 26 }, "end": { "line": 392, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 14473, "end": 14477, "loc": { "start": { "line": 392, "column": 29 }, "end": { "line": 392, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14477, "end": 14478, "loc": { "start": { "line": 392, "column": 33 }, "end": { "line": 392, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 14478, "end": 14479, "loc": { "start": { "line": 392, "column": 34 }, "end": { "line": 392, "column": 35 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 14480, "end": 14483, "loc": { "start": { "line": 392, "column": 36 }, "end": { "line": 392, "column": 39 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 14484, "end": 14485, "loc": { "start": { "line": 392, "column": 40 }, "end": { "line": 392, "column": 41 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 14485, "end": 14486, "loc": { "start": { "line": 392, "column": 41 }, "end": { "line": 392, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14486, "end": 14487, "loc": { "start": { "line": 392, "column": 42 }, "end": { "line": 392, "column": 43 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14488, "end": 14489, "loc": { "start": { "line": 392, "column": 44 }, "end": { "line": 392, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 14503, "end": 14507, "loc": { "start": { "line": 393, "column": 12 }, "end": { "line": 393, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14507, "end": 14508, "loc": { "start": { "line": 393, "column": 16 }, "end": { "line": 393, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "internalGeneratePatch", "start": 14508, "end": 14529, "loc": { "start": { "line": 393, "column": 17 }, "end": { "line": 393, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14529, "end": 14530, "loc": { "start": { "line": 393, "column": 38 }, "end": { "line": 393, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rng", "start": 14530, "end": 14533, "loc": { "start": { "line": 393, "column": 39 }, "end": { "line": 393, "column": 42 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14533, "end": 14534, "loc": { "start": { "line": 393, "column": 42 }, "end": { "line": 393, "column": 43 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 14535, "end": 14536, "loc": { "start": { "line": 393, "column": 44 }, "end": { "line": 393, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14536, "end": 14537, "loc": { "start": { "line": 393, "column": 45 }, "end": { "line": 393, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ColorItem", "start": 14538, "end": 14547, "loc": { "start": { "line": 393, "column": 47 }, "end": { "line": 393, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14547, "end": 14548, "loc": { "start": { "line": 393, "column": 56 }, "end": { "line": 393, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ITEM_SINGLETONS", "start": 14548, "end": 14563, "loc": { "start": { "line": 393, "column": 57 }, "end": { "line": 393, "column": 72 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14563, "end": 14564, "loc": { "start": { "line": 393, "column": 72 }, "end": { "line": 393, "column": 73 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumColors", "start": 14564, "end": 14574, "loc": { "start": { "line": 393, "column": 73 }, "end": { "line": 393, "column": 83 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14574, "end": 14575, "loc": { "start": { "line": 393, "column": 83 }, "end": { "line": 393, "column": 84 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "green", "start": 14575, "end": 14580, "loc": { "start": { "line": 393, "column": 84 }, "end": { "line": 393, "column": 89 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14580, "end": 14581, "loc": { "start": { "line": 393, "column": 89 }, "end": { "line": 393, "column": 90 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14581, "end": 14582, "loc": { "start": { "line": 393, "column": 90 }, "end": { "line": 393, "column": 91 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14582, "end": 14583, "loc": { "start": { "line": 393, "column": 91 }, "end": { "line": 393, "column": 92 } } }, { "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": 14597, "end": 14603, "loc": { "start": { "line": 394, "column": 12 }, "end": { "line": 394, "column": 18 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 14604, "end": 14608, "loc": { "start": { "line": 394, "column": 19 }, "end": { "line": 394, "column": 23 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14608, "end": 14609, "loc": { "start": { "line": 394, "column": 23 }, "end": { "line": 394, "column": 24 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14619, "end": 14620, "loc": { "start": { "line": 395, "column": 8 }, "end": { "line": 395, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14626, "end": 14627, "loc": { "start": { "line": 396, "column": 4 }, "end": { "line": 396, "column": 5 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14627, "end": 14628, "loc": { "start": { "line": 396, "column": 5 }, "end": { "line": 396, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14634, "end": 14635, "loc": { "start": { "line": 397, "column": 4 }, "end": { "line": 397, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 14635, "end": 14639, "loc": { "start": { "line": 397, "column": 5 }, "end": { "line": 397, "column": 9 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14639, "end": 14640, "loc": { "start": { "line": 397, "column": 9 }, "end": { "line": 397, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rng", "start": 14641, "end": 14644, "loc": { "start": { "line": 397, "column": 11 }, "end": { "line": 397, "column": 14 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14644, "end": 14645, "loc": { "start": { "line": 397, "column": 14 }, "end": { "line": 397, "column": 15 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14646, "end": 14648, "loc": { "start": { "line": 397, "column": 16 }, "end": { "line": 397, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14649, "end": 14650, "loc": { "start": { "line": 397, "column": 19 }, "end": { "line": 397, "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": 14660, "end": 14662, "loc": { "start": { "line": 398, "column": 8 }, "end": { "line": 398, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14663, "end": 14664, "loc": { "start": { "line": 398, "column": 11 }, "end": { "line": 398, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 14664, "end": 14668, "loc": { "start": { "line": 398, "column": 12 }, "end": { "line": 398, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14668, "end": 14669, "loc": { "start": { "line": 398, "column": 16 }, "end": { "line": 398, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 14669, "end": 14670, "loc": { "start": { "line": 398, "column": 17 }, "end": { "line": 398, "column": 18 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 14671, "end": 14674, "loc": { "start": { "line": 398, "column": 19 }, "end": { "line": 398, "column": 22 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 5, "start": 14675, "end": 14676, "loc": { "start": { "line": 398, "column": 23 }, "end": { "line": 398, "column": 24 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 14677, "end": 14679, "loc": { "start": { "line": 398, "column": 25 }, "end": { "line": 398, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 14680, "end": 14684, "loc": { "start": { "line": 398, "column": 28 }, "end": { "line": 398, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14684, "end": 14685, "loc": { "start": { "line": 398, "column": 32 }, "end": { "line": 398, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 14685, "end": 14686, "loc": { "start": { "line": 398, "column": 33 }, "end": { "line": 398, "column": 34 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 14687, "end": 14690, "loc": { "start": { "line": 398, "column": 35 }, "end": { "line": 398, "column": 38 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 14691, "end": 14692, "loc": { "start": { "line": 398, "column": 39 }, "end": { "line": 398, "column": 40 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 14692, "end": 14693, "loc": { "start": { "line": 398, "column": 40 }, "end": { "line": 398, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14693, "end": 14694, "loc": { "start": { "line": 398, "column": 41 }, "end": { "line": 398, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14695, "end": 14696, "loc": { "start": { "line": 398, "column": 43 }, "end": { "line": 398, "column": 44 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 14710, "end": 14715, "loc": { "start": { "line": 399, "column": 12 }, "end": { "line": 399, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 14716, "end": 14720, "loc": { "start": { "line": 399, "column": 18 }, "end": { "line": 399, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 14721, "end": 14722, "loc": { "start": { "line": 399, "column": 23 }, "end": { "line": 399, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 14723, "end": 14727, "loc": { "start": { "line": 399, "column": 25 }, "end": { "line": 399, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14727, "end": 14728, "loc": { "start": { "line": 399, "column": 29 }, "end": { "line": 399, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 14728, "end": 14732, "loc": { "start": { "line": 399, "column": 30 }, "end": { "line": 399, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14732, "end": 14733, "loc": { "start": { "line": 399, "column": 34 }, "end": { "line": 399, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapeDefinitionMgr", "start": 14733, "end": 14751, "loc": { "start": { "line": 399, "column": 35 }, "end": { "line": 399, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14751, "end": 14752, "loc": { "start": { "line": 399, "column": 53 }, "end": { "line": 399, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getShapeItemFromShortKey", "start": 14752, "end": 14776, "loc": { "start": { "line": 399, "column": 54 }, "end": { "line": 399, "column": 78 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14776, "end": 14777, "loc": { "start": { "line": 399, "column": 78 }, "end": { "line": 399, "column": 79 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "SuSuSuSu", "start": 14777, "end": 14787, "loc": { "start": { "line": 399, "column": 79 }, "end": { "line": 399, "column": 89 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14787, "end": 14788, "loc": { "start": { "line": 399, "column": 89 }, "end": { "line": 399, "column": 90 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14788, "end": 14789, "loc": { "start": { "line": 399, "column": 90 }, "end": { "line": 399, "column": 91 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 14803, "end": 14807, "loc": { "start": { "line": 400, "column": 12 }, "end": { "line": 400, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14807, "end": 14808, "loc": { "start": { "line": 400, "column": 16 }, "end": { "line": 400, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "internalGeneratePatch", "start": 14808, "end": 14829, "loc": { "start": { "line": 400, "column": 17 }, "end": { "line": 400, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14829, "end": 14830, "loc": { "start": { "line": 400, "column": 38 }, "end": { "line": 400, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rng", "start": 14830, "end": 14833, "loc": { "start": { "line": 400, "column": 39 }, "end": { "line": 400, "column": 42 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14833, "end": 14834, "loc": { "start": { "line": 400, "column": 42 }, "end": { "line": 400, "column": 43 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 14835, "end": 14836, "loc": { "start": { "line": 400, "column": 44 }, "end": { "line": 400, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14836, "end": 14837, "loc": { "start": { "line": 400, "column": 45 }, "end": { "line": 400, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 14838, "end": 14842, "loc": { "start": { "line": 400, "column": 47 }, "end": { "line": 400, "column": 51 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14842, "end": 14843, "loc": { "start": { "line": 400, "column": 51 }, "end": { "line": 400, "column": 52 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 5, "start": 14844, "end": 14845, "loc": { "start": { "line": 400, "column": 53 }, "end": { "line": 400, "column": 54 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14845, "end": 14846, "loc": { "start": { "line": 400, "column": 54 }, "end": { "line": 400, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 14847, "end": 14859, "loc": { "start": { "line": 400, "column": 56 }, "end": { "line": 400, "column": 68 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14859, "end": 14860, "loc": { "start": { "line": 400, "column": 68 }, "end": { "line": 400, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapChunkSize", "start": 14860, "end": 14872, "loc": { "start": { "line": 400, "column": 69 }, "end": { "line": 400, "column": 81 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 14873, "end": 14874, "loc": { "start": { "line": 400, "column": 82 }, "end": { "line": 400, "column": 83 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 7, "start": 14875, "end": 14876, "loc": { "start": { "line": 400, "column": 84 }, "end": { "line": 400, "column": 85 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14876, "end": 14877, "loc": { "start": { "line": 400, "column": 85 }, "end": { "line": 400, "column": 86 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14877, "end": 14878, "loc": { "start": { "line": 400, "column": 86 }, "end": { "line": 400, "column": 87 } } }, { "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": 14892, "end": 14898, "loc": { "start": { "line": 401, "column": 12 }, "end": { "line": 401, "column": 18 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 14899, "end": 14903, "loc": { "start": { "line": 401, "column": 19 }, "end": { "line": 401, "column": 23 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14903, "end": 14904, "loc": { "start": { "line": 401, "column": 23 }, "end": { "line": 401, "column": 24 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14914, "end": 14915, "loc": { "start": { "line": 402, "column": 8 }, "end": { "line": 402, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14921, "end": 14922, "loc": { "start": { "line": 403, "column": 4 }, "end": { "line": 403, "column": 5 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14922, "end": 14923, "loc": { "start": { "line": 403, "column": 5 }, "end": { "line": 403, "column": 6 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14925, "end": 14926, "loc": { "start": { "line": 404, "column": 0 }, "end": { "line": 404, "column": 1 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14926, "end": 14927, "loc": { "start": { "line": 404, "column": 1 }, "end": { "line": 404, "column": 2 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "MapChunk", "start": 14931, "end": 14939, "loc": { "start": { "line": 406, "column": 0 }, "end": { "line": 406, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14939, "end": 14940, "loc": { "start": { "line": 406, "column": 8 }, "end": { "line": 406, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "lowerLayers", "start": 14940, "end": 14951, "loc": { "start": { "line": 406, "column": 9 }, "end": { "line": 406, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 14952, "end": 14953, "loc": { "start": { "line": 406, "column": 21 }, "end": { "line": 406, "column": 22 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14954, "end": 14955, "loc": { "start": { "line": 406, "column": 23 }, "end": { "line": 406, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14961, "end": 14962, "loc": { "start": { "line": 407, "column": 4 }, "end": { "line": 407, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 14962, "end": 14966, "loc": { "start": { "line": 407, "column": 5 }, "end": { "line": 407, "column": 9 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14966, "end": 14967, "loc": { "start": { "line": 407, "column": 9 }, "end": { "line": 407, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rng", "start": 14968, "end": 14971, "loc": { "start": { "line": 407, "column": 11 }, "end": { "line": 407, "column": 14 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14971, "end": 14972, "loc": { "start": { "line": 407, "column": 14 }, "end": { "line": 407, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "distanceToOriginInChunks", "start": 14973, "end": 14997, "loc": { "start": { "line": 407, "column": 16 }, "end": { "line": 407, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 14997, "end": 14998, "loc": { "start": { "line": 407, "column": 40 }, "end": { "line": 407, "column": 41 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 14999, "end": 15001, "loc": { "start": { "line": 407, "column": 42 }, "end": { "line": 407, "column": 44 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15002, "end": 15003, "loc": { "start": { "line": 407, "column": 45 }, "end": { "line": 407, "column": 46 } } }, { "type": "CommentLine", "value": " Determine how likely it is that there is a color patch", "start": 15013, "end": 15070, "loc": { "start": { "line": 408, "column": 8 }, "end": { "line": 408, "column": 65 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 15080, "end": 15085, "loc": { "start": { "line": 409, "column": 8 }, "end": { "line": 409, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "colorPatchChance", "start": 15086, "end": 15102, "loc": { "start": { "line": 409, "column": 14 }, "end": { "line": 409, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 15103, "end": 15104, "loc": { "start": { "line": 409, "column": 31 }, "end": { "line": 409, "column": 32 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.9, "start": 15105, "end": 15108, "loc": { "start": { "line": 409, "column": 33 }, "end": { "line": 409, "column": 36 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 15109, "end": 15110, "loc": { "start": { "line": 409, "column": 37 }, "end": { "line": 409, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clamp", "start": 15111, "end": 15116, "loc": { "start": { "line": 409, "column": 39 }, "end": { "line": 409, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15116, "end": 15117, "loc": { "start": { "line": 409, "column": 44 }, "end": { "line": 409, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "distanceToOriginInChunks", "start": 15117, "end": 15141, "loc": { "start": { "line": 409, "column": 45 }, "end": { "line": 409, "column": 69 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 15142, "end": 15143, "loc": { "start": { "line": 409, "column": 70 }, "end": { "line": 409, "column": 71 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 25, "start": 15144, "end": 15146, "loc": { "start": { "line": 409, "column": 72 }, "end": { "line": 409, "column": 74 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15146, "end": 15147, "loc": { "start": { "line": 409, "column": 74 }, "end": { "line": 409, "column": 75 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 15148, "end": 15149, "loc": { "start": { "line": 409, "column": 76 }, "end": { "line": 409, "column": 77 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15149, "end": 15150, "loc": { "start": { "line": 409, "column": 77 }, "end": { "line": 409, "column": 78 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 15151, "end": 15152, "loc": { "start": { "line": 409, "column": 79 }, "end": { "line": 409, "column": 80 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15152, "end": 15153, "loc": { "start": { "line": 409, "column": 80 }, "end": { "line": 409, "column": 81 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 15154, "end": 15155, "loc": { "start": { "line": 409, "column": 82 }, "end": { "line": 409, "column": 83 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.5, "start": 15156, "end": 15159, "loc": { "start": { "line": 409, "column": 84 }, "end": { "line": 409, "column": 87 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15159, "end": 15160, "loc": { "start": { "line": 409, "column": 87 }, "end": { "line": 409, "column": 88 } } }, { "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": 15172, "end": 15174, "loc": { "start": { "line": 411, "column": 8 }, "end": { "line": 411, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15175, "end": 15176, "loc": { "start": { "line": 411, "column": 11 }, "end": { "line": 411, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rng", "start": 15176, "end": 15179, "loc": { "start": { "line": 411, "column": 12 }, "end": { "line": 411, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15179, "end": 15180, "loc": { "start": { "line": 411, "column": 15 }, "end": { "line": 411, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "next", "start": 15180, "end": 15184, "loc": { "start": { "line": 411, "column": 16 }, "end": { "line": 411, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15184, "end": 15185, "loc": { "start": { "line": 411, "column": 20 }, "end": { "line": 411, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15185, "end": 15186, "loc": { "start": { "line": 411, "column": 21 }, "end": { "line": 411, "column": 22 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 15187, "end": 15188, "loc": { "start": { "line": 411, "column": 23 }, "end": { "line": 411, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "colorPatchChance", "start": 15189, "end": 15205, "loc": { "start": { "line": 411, "column": 25 }, "end": { "line": 411, "column": 41 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 15206, "end": 15207, "loc": { "start": { "line": 411, "column": 42 }, "end": { "line": 411, "column": 43 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 4, "start": 15208, "end": 15209, "loc": { "start": { "line": 411, "column": 44 }, "end": { "line": 411, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15209, "end": 15210, "loc": { "start": { "line": 411, "column": 45 }, "end": { "line": 411, "column": 46 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15211, "end": 15212, "loc": { "start": { "line": 411, "column": 47 }, "end": { "line": 411, "column": 48 } } }, { "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": 15226, "end": 15231, "loc": { "start": { "line": 412, "column": 12 }, "end": { "line": 412, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "colorPatchSize", "start": 15232, "end": 15246, "loc": { "start": { "line": 412, "column": 18 }, "end": { "line": 412, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 15247, "end": 15248, "loc": { "start": { "line": 412, "column": 33 }, "end": { "line": 412, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 15249, "end": 15253, "loc": { "start": { "line": 412, "column": 35 }, "end": { "line": 412, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15253, "end": 15254, "loc": { "start": { "line": 412, "column": 39 }, "end": { "line": 412, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "max", "start": 15254, "end": 15257, "loc": { "start": { "line": 412, "column": 40 }, "end": { "line": 412, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15257, "end": 15258, "loc": { "start": { "line": 412, "column": 43 }, "end": { "line": 412, "column": 44 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 15258, "end": 15259, "loc": { "start": { "line": 412, "column": 44 }, "end": { "line": 412, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15259, "end": 15260, "loc": { "start": { "line": 412, "column": 45 }, "end": { "line": 412, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 15261, "end": 15265, "loc": { "start": { "line": 412, "column": 47 }, "end": { "line": 412, "column": 51 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15265, "end": 15266, "loc": { "start": { "line": 412, "column": 51 }, "end": { "line": 412, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "round", "start": 15266, "end": 15271, "loc": { "start": { "line": 412, "column": 52 }, "end": { "line": 412, "column": 57 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15271, "end": 15272, "loc": { "start": { "line": 412, "column": 57 }, "end": { "line": 412, "column": 58 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 15272, "end": 15273, "loc": { "start": { "line": 412, "column": 58 }, "end": { "line": 412, "column": 59 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 15274, "end": 15275, "loc": { "start": { "line": 412, "column": 60 }, "end": { "line": 412, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clamp", "start": 15276, "end": 15281, "loc": { "start": { "line": 412, "column": 62 }, "end": { "line": 412, "column": 67 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15281, "end": 15282, "loc": { "start": { "line": 412, "column": 67 }, "end": { "line": 412, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "distanceToOriginInChunks", "start": 15282, "end": 15306, "loc": { "start": { "line": 412, "column": 68 }, "end": { "line": 412, "column": 92 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 15307, "end": 15308, "loc": { "start": { "line": 412, "column": 93 }, "end": { "line": 412, "column": 94 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 8, "start": 15309, "end": 15310, "loc": { "start": { "line": 412, "column": 95 }, "end": { "line": 412, "column": 96 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15310, "end": 15311, "loc": { "start": { "line": 412, "column": 96 }, "end": { "line": 412, "column": 97 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 15312, "end": 15313, "loc": { "start": { "line": 412, "column": 98 }, "end": { "line": 412, "column": 99 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15313, "end": 15314, "loc": { "start": { "line": 412, "column": 99 }, "end": { "line": 412, "column": 100 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 4, "start": 15315, "end": 15316, "loc": { "start": { "line": 412, "column": 101 }, "end": { "line": 412, "column": 102 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15316, "end": 15317, "loc": { "start": { "line": 412, "column": 102 }, "end": { "line": 412, "column": 103 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15317, "end": 15318, "loc": { "start": { "line": 412, "column": 103 }, "end": { "line": 412, "column": 104 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15318, "end": 15319, "loc": { "start": { "line": 412, "column": 104 }, "end": { "line": 412, "column": 105 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15319, "end": 15320, "loc": { "start": { "line": 412, "column": 105 }, "end": { "line": 412, "column": 106 } } }, { "type": "CommentLine", "value": " First, determine available colors", "start": 15334, "end": 15370, "loc": { "start": { "line": 413, "column": 12 }, "end": { "line": 413, "column": 48 } } }, { "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": 15384, "end": 15387, "loc": { "start": { "line": 414, "column": 12 }, "end": { "line": 414, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "availableColors", "start": 15388, "end": 15403, "loc": { "start": { "line": 414, "column": 16 }, "end": { "line": 414, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 15404, "end": 15405, "loc": { "start": { "line": 414, "column": 32 }, "end": { "line": 414, "column": 33 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15406, "end": 15407, "loc": { "start": { "line": 414, "column": 34 }, "end": { "line": 414, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumColors", "start": 15407, "end": 15417, "loc": { "start": { "line": 414, "column": 35 }, "end": { "line": 414, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15417, "end": 15418, "loc": { "start": { "line": 414, "column": 45 }, "end": { "line": 414, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "red", "start": 15418, "end": 15421, "loc": { "start": { "line": 414, "column": 46 }, "end": { "line": 414, "column": 49 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15421, "end": 15422, "loc": { "start": { "line": 414, "column": 49 }, "end": { "line": 414, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumColors", "start": 15423, "end": 15433, "loc": { "start": { "line": 414, "column": 51 }, "end": { "line": 414, "column": 61 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15433, "end": 15434, "loc": { "start": { "line": 414, "column": 61 }, "end": { "line": 414, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "green", "start": 15434, "end": 15439, "loc": { "start": { "line": 414, "column": 62 }, "end": { "line": 414, "column": 67 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15439, "end": 15440, "loc": { "start": { "line": 414, "column": 67 }, "end": { "line": 414, "column": 68 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15440, "end": 15441, "loc": { "start": { "line": 414, "column": 68 }, "end": { "line": 414, "column": 69 } } }, { "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": 15455, "end": 15457, "loc": { "start": { "line": 415, "column": 12 }, "end": { "line": 415, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15458, "end": 15459, "loc": { "start": { "line": 415, "column": 15 }, "end": { "line": 415, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "distanceToOriginInChunks", "start": 15459, "end": 15483, "loc": { "start": { "line": 415, "column": 16 }, "end": { "line": 415, "column": 40 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 15484, "end": 15485, "loc": { "start": { "line": 415, "column": 41 }, "end": { "line": 415, "column": 42 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 15486, "end": 15487, "loc": { "start": { "line": 415, "column": 43 }, "end": { "line": 415, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15487, "end": 15488, "loc": { "start": { "line": 415, "column": 44 }, "end": { "line": 415, "column": 45 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15489, "end": 15490, "loc": { "start": { "line": 415, "column": 46 }, "end": { "line": 415, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "availableColors", "start": 15508, "end": 15523, "loc": { "start": { "line": 416, "column": 16 }, "end": { "line": 416, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15523, "end": 15524, "loc": { "start": { "line": 416, "column": 31 }, "end": { "line": 416, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 15524, "end": 15528, "loc": { "start": { "line": 416, "column": 32 }, "end": { "line": 416, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15528, "end": 15529, "loc": { "start": { "line": 416, "column": 36 }, "end": { "line": 416, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumColors", "start": 15529, "end": 15539, "loc": { "start": { "line": 416, "column": 37 }, "end": { "line": 416, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15539, "end": 15540, "loc": { "start": { "line": 416, "column": 47 }, "end": { "line": 416, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "blue", "start": 15540, "end": 15544, "loc": { "start": { "line": 416, "column": 48 }, "end": { "line": 416, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15544, "end": 15545, "loc": { "start": { "line": 416, "column": 52 }, "end": { "line": 416, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15545, "end": 15546, "loc": { "start": { "line": 416, "column": 53 }, "end": { "line": 416, "column": 54 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15560, "end": 15561, "loc": { "start": { "line": 417, "column": 12 }, "end": { "line": 417, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 15575, "end": 15579, "loc": { "start": { "line": 418, "column": 12 }, "end": { "line": 418, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15579, "end": 15580, "loc": { "start": { "line": 418, "column": 16 }, "end": { "line": 418, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "internalGeneratePatch", "start": 15580, "end": 15601, "loc": { "start": { "line": 418, "column": 17 }, "end": { "line": 418, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15601, "end": 15602, "loc": { "start": { "line": 418, "column": 38 }, "end": { "line": 418, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rng", "start": 15620, "end": 15623, "loc": { "start": { "line": 419, "column": 16 }, "end": { "line": 419, "column": 19 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15623, "end": 15624, "loc": { "start": { "line": 419, "column": 19 }, "end": { "line": 419, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "colorPatchSize", "start": 15642, "end": 15656, "loc": { "start": { "line": 420, "column": 16 }, "end": { "line": 420, "column": 30 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15656, "end": 15657, "loc": { "start": { "line": 420, "column": 30 }, "end": { "line": 420, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ColorItem", "start": 15675, "end": 15684, "loc": { "start": { "line": 421, "column": 16 }, "end": { "line": 421, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15684, "end": 15685, "loc": { "start": { "line": 421, "column": 25 }, "end": { "line": 421, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ITEM_SINGLETONS", "start": 15685, "end": 15700, "loc": { "start": { "line": 421, "column": 26 }, "end": { "line": 421, "column": 41 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15700, "end": 15701, "loc": { "start": { "line": 421, "column": 41 }, "end": { "line": 421, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rng", "start": 15701, "end": 15704, "loc": { "start": { "line": 421, "column": 42 }, "end": { "line": 421, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15704, "end": 15705, "loc": { "start": { "line": 421, "column": 45 }, "end": { "line": 421, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "choice", "start": 15705, "end": 15711, "loc": { "start": { "line": 421, "column": 46 }, "end": { "line": 421, "column": 52 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15711, "end": 15712, "loc": { "start": { "line": 421, "column": 52 }, "end": { "line": 421, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "availableColors", "start": 15712, "end": 15727, "loc": { "start": { "line": 421, "column": 53 }, "end": { "line": 421, "column": 68 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15727, "end": 15728, "loc": { "start": { "line": 421, "column": 68 }, "end": { "line": 421, "column": 69 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15728, "end": 15729, "loc": { "start": { "line": 421, "column": 69 }, "end": { "line": 421, "column": 70 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15743, "end": 15744, "loc": { "start": { "line": 422, "column": 12 }, "end": { "line": 422, "column": 13 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15744, "end": 15745, "loc": { "start": { "line": 422, "column": 13 }, "end": { "line": 422, "column": 14 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15755, "end": 15756, "loc": { "start": { "line": 423, "column": 8 }, "end": { "line": 423, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15762, "end": 15763, "loc": { "start": { "line": 424, "column": 4 }, "end": { "line": 424, "column": 5 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15763, "end": 15764, "loc": { "start": { "line": 424, "column": 5 }, "end": { "line": 424, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15770, "end": 15771, "loc": { "start": { "line": 425, "column": 4 }, "end": { "line": 425, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 15771, "end": 15775, "loc": { "start": { "line": 425, "column": 5 }, "end": { "line": 425, "column": 9 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15775, "end": 15776, "loc": { "start": { "line": 425, "column": 9 }, "end": { "line": 425, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rng", "start": 15777, "end": 15780, "loc": { "start": { "line": 425, "column": 11 }, "end": { "line": 425, "column": 14 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15780, "end": 15781, "loc": { "start": { "line": 425, "column": 14 }, "end": { "line": 425, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "distanceToOriginInChunks", "start": 15782, "end": 15806, "loc": { "start": { "line": 425, "column": 16 }, "end": { "line": 425, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15806, "end": 15807, "loc": { "start": { "line": 425, "column": 40 }, "end": { "line": 425, "column": 41 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 15808, "end": 15810, "loc": { "start": { "line": 425, "column": 42 }, "end": { "line": 425, "column": 44 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 15811, "end": 15812, "loc": { "start": { "line": 425, "column": 45 }, "end": { "line": 425, "column": 46 } } }, { "type": "CommentBlock", "value": "*\r\n * Chooses a random shape with the given weights\r\n * @param {RandomNumberGenerator} rng\r\n * @param {Object.} weights\r\n * @returns {enumSubShape}\r\n ", "start": 15822, "end": 16038, "loc": { "start": { "line": 426, "column": 8 }, "end": { "line": 431, "column": 11 } } }, { "type": { "label": "var", "keyword": "var", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "var", "start": 16048, "end": 16051, "loc": { "start": { "line": 432, "column": 8 }, "end": { "line": 432, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "internalGenerateRandomSubShape", "start": 16052, "end": 16082, "loc": { "start": { "line": 432, "column": 12 }, "end": { "line": 432, "column": 42 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16083, "end": 16084, "loc": { "start": { "line": 432, "column": 43 }, "end": { "line": 432, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16085, "end": 16086, "loc": { "start": { "line": 432, "column": 45 }, "end": { "line": 432, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rng", "start": 16086, "end": 16089, "loc": { "start": { "line": 432, "column": 46 }, "end": { "line": 432, "column": 49 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16089, "end": 16090, "loc": { "start": { "line": 432, "column": 49 }, "end": { "line": 432, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "weights", "start": 16091, "end": 16098, "loc": { "start": { "line": 432, "column": 51 }, "end": { "line": 432, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16098, "end": 16099, "loc": { "start": { "line": 432, "column": 58 }, "end": { "line": 432, "column": 59 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16100, "end": 16102, "loc": { "start": { "line": 432, "column": 60 }, "end": { "line": 432, "column": 62 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16103, "end": 16104, "loc": { "start": { "line": 432, "column": 63 }, "end": { "line": 432, "column": 64 } } }, { "type": "CommentLine", "value": " @ts-ignore", "start": 16118, "end": 16131, "loc": { "start": { "line": 433, "column": 12 }, "end": { "line": 433, "column": 25 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 16145, "end": 16150, "loc": { "start": { "line": 434, "column": 12 }, "end": { "line": 434, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sum", "start": 16151, "end": 16154, "loc": { "start": { "line": 434, "column": 18 }, "end": { "line": 434, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16155, "end": 16156, "loc": { "start": { "line": 434, "column": 22 }, "end": { "line": 434, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Object", "start": 16157, "end": 16163, "loc": { "start": { "line": 434, "column": 24 }, "end": { "line": 434, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16163, "end": 16164, "loc": { "start": { "line": 434, "column": 30 }, "end": { "line": 434, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "values", "start": 16164, "end": 16170, "loc": { "start": { "line": 434, "column": 31 }, "end": { "line": 434, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16170, "end": 16171, "loc": { "start": { "line": 434, "column": 37 }, "end": { "line": 434, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "weights", "start": 16171, "end": 16178, "loc": { "start": { "line": 434, "column": 38 }, "end": { "line": 434, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16178, "end": 16179, "loc": { "start": { "line": 434, "column": 45 }, "end": { "line": 434, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16179, "end": 16180, "loc": { "start": { "line": 434, "column": 46 }, "end": { "line": 434, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "reduce", "start": 16180, "end": 16186, "loc": { "start": { "line": 434, "column": 47 }, "end": { "line": 434, "column": 53 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16186, "end": 16187, "loc": { "start": { "line": 434, "column": 53 }, "end": { "line": 434, "column": 54 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16187, "end": 16188, "loc": { "start": { "line": 434, "column": 54 }, "end": { "line": 434, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "a", "start": 16188, "end": 16189, "loc": { "start": { "line": 434, "column": 55 }, "end": { "line": 434, "column": 56 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16189, "end": 16190, "loc": { "start": { "line": 434, "column": 56 }, "end": { "line": 434, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "b", "start": 16191, "end": 16192, "loc": { "start": { "line": 434, "column": 58 }, "end": { "line": 434, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16192, "end": 16193, "loc": { "start": { "line": 434, "column": 59 }, "end": { "line": 434, "column": 60 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16194, "end": 16196, "loc": { "start": { "line": 434, "column": 61 }, "end": { "line": 434, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "a", "start": 16197, "end": 16198, "loc": { "start": { "line": 434, "column": 64 }, "end": { "line": 434, "column": 65 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 16199, "end": 16200, "loc": { "start": { "line": 434, "column": 66 }, "end": { "line": 434, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "b", "start": 16201, "end": 16202, "loc": { "start": { "line": 434, "column": 68 }, "end": { "line": 434, "column": 69 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16202, "end": 16203, "loc": { "start": { "line": 434, "column": 69 }, "end": { "line": 434, "column": 70 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 16204, "end": 16205, "loc": { "start": { "line": 434, "column": 71 }, "end": { "line": 434, "column": 72 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16205, "end": 16206, "loc": { "start": { "line": 434, "column": 72 }, "end": { "line": 434, "column": 73 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16206, "end": 16207, "loc": { "start": { "line": 434, "column": 73 }, "end": { "line": 434, "column": 74 } } }, { "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": 16223, "end": 16228, "loc": { "start": { "line": 436, "column": 12 }, "end": { "line": 436, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "chosenNumber", "start": 16229, "end": 16241, "loc": { "start": { "line": 436, "column": 18 }, "end": { "line": 436, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16242, "end": 16243, "loc": { "start": { "line": 436, "column": 31 }, "end": { "line": 436, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rng", "start": 16244, "end": 16247, "loc": { "start": { "line": 436, "column": 33 }, "end": { "line": 436, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16247, "end": 16248, "loc": { "start": { "line": 436, "column": 36 }, "end": { "line": 436, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "nextIntRange", "start": 16248, "end": 16260, "loc": { "start": { "line": 436, "column": 37 }, "end": { "line": 436, "column": 49 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16260, "end": 16261, "loc": { "start": { "line": 436, "column": 49 }, "end": { "line": 436, "column": 50 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 16261, "end": 16262, "loc": { "start": { "line": 436, "column": 50 }, "end": { "line": 436, "column": 51 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16262, "end": 16263, "loc": { "start": { "line": 436, "column": 51 }, "end": { "line": 436, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sum", "start": 16264, "end": 16267, "loc": { "start": { "line": 436, "column": 53 }, "end": { "line": 436, "column": 56 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 16268, "end": 16269, "loc": { "start": { "line": 436, "column": 57 }, "end": { "line": 436, "column": 58 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 16270, "end": 16271, "loc": { "start": { "line": 436, "column": 59 }, "end": { "line": 436, "column": 60 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16271, "end": 16272, "loc": { "start": { "line": 436, "column": 60 }, "end": { "line": 436, "column": 61 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16272, "end": 16273, "loc": { "start": { "line": 436, "column": 61 }, "end": { "line": 436, "column": 62 } } }, { "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": 16287, "end": 16290, "loc": { "start": { "line": 437, "column": 12 }, "end": { "line": 437, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "accumulated", "start": 16291, "end": 16302, "loc": { "start": { "line": 437, "column": 16 }, "end": { "line": 437, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16303, "end": 16304, "loc": { "start": { "line": 437, "column": 28 }, "end": { "line": 437, "column": 29 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 16305, "end": 16306, "loc": { "start": { "line": 437, "column": 30 }, "end": { "line": 437, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16306, "end": 16307, "loc": { "start": { "line": 437, "column": 31 }, "end": { "line": 437, "column": 32 } } }, { "type": { "label": "for", "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "for", "start": 16321, "end": 16324, "loc": { "start": { "line": 438, "column": 12 }, "end": { "line": 438, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16325, "end": 16326, "loc": { "start": { "line": 438, "column": 16 }, "end": { "line": 438, "column": 17 } } }, { "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": 16326, "end": 16331, "loc": { "start": { "line": 438, "column": 17 }, "end": { "line": 438, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 16332, "end": 16335, "loc": { "start": { "line": 438, "column": 23 }, "end": { "line": 438, "column": 26 } } }, { "type": { "label": "in", "keyword": "in", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "in", "start": 16336, "end": 16338, "loc": { "start": { "line": 438, "column": 27 }, "end": { "line": 438, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "weights", "start": 16339, "end": 16346, "loc": { "start": { "line": 438, "column": 30 }, "end": { "line": 438, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16346, "end": 16347, "loc": { "start": { "line": 438, "column": 37 }, "end": { "line": 438, "column": 38 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16348, "end": 16349, "loc": { "start": { "line": 438, "column": 39 }, "end": { "line": 438, "column": 40 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 16367, "end": 16372, "loc": { "start": { "line": 439, "column": 16 }, "end": { "line": 439, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "weight", "start": 16373, "end": 16379, "loc": { "start": { "line": 439, "column": 22 }, "end": { "line": 439, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16380, "end": 16381, "loc": { "start": { "line": 439, "column": 29 }, "end": { "line": 439, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "weights", "start": 16382, "end": 16389, "loc": { "start": { "line": 439, "column": 31 }, "end": { "line": 439, "column": 38 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16389, "end": 16390, "loc": { "start": { "line": 439, "column": 38 }, "end": { "line": 439, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 16390, "end": 16393, "loc": { "start": { "line": 439, "column": 39 }, "end": { "line": 439, "column": 42 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16393, "end": 16394, "loc": { "start": { "line": 439, "column": 42 }, "end": { "line": 439, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16394, "end": 16395, "loc": { "start": { "line": 439, "column": 43 }, "end": { "line": 439, "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": 16413, "end": 16415, "loc": { "start": { "line": 440, "column": 16 }, "end": { "line": 440, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16416, "end": 16417, "loc": { "start": { "line": 440, "column": 19 }, "end": { "line": 440, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "accumulated", "start": 16417, "end": 16428, "loc": { "start": { "line": 440, "column": 20 }, "end": { "line": 440, "column": 31 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 16429, "end": 16430, "loc": { "start": { "line": 440, "column": 32 }, "end": { "line": 440, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "weight", "start": 16431, "end": 16437, "loc": { "start": { "line": 440, "column": 34 }, "end": { "line": 440, "column": 40 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 16438, "end": 16439, "loc": { "start": { "line": 440, "column": 41 }, "end": { "line": 440, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "chosenNumber", "start": 16440, "end": 16452, "loc": { "start": { "line": 440, "column": 43 }, "end": { "line": 440, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16452, "end": 16453, "loc": { "start": { "line": 440, "column": 55 }, "end": { "line": 440, "column": 56 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16454, "end": 16455, "loc": { "start": { "line": 440, "column": 57 }, "end": { "line": 440, "column": 58 } } }, { "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": 16477, "end": 16483, "loc": { "start": { "line": 441, "column": 20 }, "end": { "line": 441, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 16484, "end": 16487, "loc": { "start": { "line": 441, "column": 27 }, "end": { "line": 441, "column": 30 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16487, "end": 16488, "loc": { "start": { "line": 441, "column": 30 }, "end": { "line": 441, "column": 31 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16506, "end": 16507, "loc": { "start": { "line": 442, "column": 16 }, "end": { "line": 442, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "accumulated", "start": 16525, "end": 16536, "loc": { "start": { "line": 443, "column": 16 }, "end": { "line": 443, "column": 27 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 16537, "end": 16539, "loc": { "start": { "line": 443, "column": 28 }, "end": { "line": 443, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "weight", "start": 16540, "end": 16546, "loc": { "start": { "line": 443, "column": 31 }, "end": { "line": 443, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16546, "end": 16547, "loc": { "start": { "line": 443, "column": 37 }, "end": { "line": 443, "column": 38 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16561, "end": 16562, "loc": { "start": { "line": 444, "column": 12 }, "end": { "line": 444, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 16578, "end": 16584, "loc": { "start": { "line": 446, "column": 12 }, "end": { "line": 446, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16584, "end": 16585, "loc": { "start": { "line": 446, "column": 18 }, "end": { "line": 446, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "error", "start": 16585, "end": 16590, "loc": { "start": { "line": 446, "column": 19 }, "end": { "line": 446, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16590, "end": 16591, "loc": { "start": { "line": 446, "column": 24 }, "end": { "line": 446, "column": 25 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Failed to find matching shape in chunk generation", "start": 16591, "end": 16642, "loc": { "start": { "line": 446, "column": 25 }, "end": { "line": 446, "column": 76 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16642, "end": 16643, "loc": { "start": { "line": 446, "column": 76 }, "end": { "line": 446, "column": 77 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16643, "end": 16644, "loc": { "start": { "line": 446, "column": 77 }, "end": { "line": 446, "column": 78 } } }, { "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": 16658, "end": 16664, "loc": { "start": { "line": 447, "column": 12 }, "end": { "line": 447, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumSubShape", "start": 16665, "end": 16677, "loc": { "start": { "line": 447, "column": 19 }, "end": { "line": 447, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16677, "end": 16678, "loc": { "start": { "line": 447, "column": 31 }, "end": { "line": 447, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "circle", "start": 16678, "end": 16684, "loc": { "start": { "line": 447, "column": 32 }, "end": { "line": 447, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16684, "end": 16685, "loc": { "start": { "line": 447, "column": 38 }, "end": { "line": 447, "column": 39 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16695, "end": 16696, "loc": { "start": { "line": 448, "column": 8 }, "end": { "line": 448, "column": 9 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16696, "end": 16697, "loc": { "start": { "line": 448, "column": 9 }, "end": { "line": 448, "column": 10 } } }, { "type": "CommentBlock", "value": "*\r\n * Generates a shape patch\r\n * @param {RandomNumberGenerator} rng\r\n * @param {number} shapePatchSize\r\n * @param {number} distanceToOriginInChunks\r\n ", "start": 16707, "end": 16902, "loc": { "start": { "line": 449, "column": 8 }, "end": { "line": 454, "column": 11 } } }, { "type": { "label": "var", "keyword": "var", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "var", "start": 16912, "end": 16915, "loc": { "start": { "line": 455, "column": 8 }, "end": { "line": 455, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "internalGenerateShapePatch", "start": 16916, "end": 16942, "loc": { "start": { "line": 455, "column": 12 }, "end": { "line": 455, "column": 38 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 16943, "end": 16944, "loc": { "start": { "line": 455, "column": 39 }, "end": { "line": 455, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16945, "end": 16946, "loc": { "start": { "line": 455, "column": 41 }, "end": { "line": 455, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rng", "start": 16946, "end": 16949, "loc": { "start": { "line": 455, "column": 42 }, "end": { "line": 455, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16949, "end": 16950, "loc": { "start": { "line": 455, "column": 45 }, "end": { "line": 455, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapePatchSize", "start": 16951, "end": 16965, "loc": { "start": { "line": 455, "column": 47 }, "end": { "line": 455, "column": 61 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16965, "end": 16966, "loc": { "start": { "line": 455, "column": 61 }, "end": { "line": 455, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "distanceToOriginInChunks", "start": 16967, "end": 16991, "loc": { "start": { "line": 455, "column": 63 }, "end": { "line": 455, "column": 87 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16991, "end": 16992, "loc": { "start": { "line": 455, "column": 87 }, "end": { "line": 455, "column": 88 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 16993, "end": 16995, "loc": { "start": { "line": 455, "column": 89 }, "end": { "line": 455, "column": 91 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 16996, "end": 16997, "loc": { "start": { "line": 455, "column": 92 }, "end": { "line": 455, "column": 93 } } }, { "type": "CommentBlock", "value": "* @type {[enumSubShape, enumSubShape, enumSubShape, enumSubShape]} ", "start": 17011, "end": 17082, "loc": { "start": { "line": 456, "column": 12 }, "end": { "line": 456, "column": 83 } } }, { "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": 17096, "end": 17099, "loc": { "start": { "line": 457, "column": 12 }, "end": { "line": 457, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subShapes", "start": 17100, "end": 17109, "loc": { "start": { "line": 457, "column": 16 }, "end": { "line": 457, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 17110, "end": 17111, "loc": { "start": { "line": 457, "column": 26 }, "end": { "line": 457, "column": 27 } } }, { "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": 17112, "end": 17116, "loc": { "start": { "line": 457, "column": 28 }, "end": { "line": 457, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17116, "end": 17117, "loc": { "start": { "line": 457, "column": 32 }, "end": { "line": 457, "column": 33 } } }, { "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": 17133, "end": 17136, "loc": { "start": { "line": 459, "column": 12 }, "end": { "line": 459, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "weights", "start": 17137, "end": 17144, "loc": { "start": { "line": 459, "column": 16 }, "end": { "line": 459, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 17145, "end": 17146, "loc": { "start": { "line": 459, "column": 24 }, "end": { "line": 459, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17147, "end": 17148, "loc": { "start": { "line": 459, "column": 26 }, "end": { "line": 459, "column": 27 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17148, "end": 17149, "loc": { "start": { "line": 459, "column": 27 }, "end": { "line": 459, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17149, "end": 17150, "loc": { "start": { "line": 459, "column": 28 }, "end": { "line": 459, "column": 29 } } }, { "type": "CommentLine", "value": " Later there is a mix of everything", "start": 17166, "end": 17203, "loc": { "start": { "line": 461, "column": 12 }, "end": { "line": 461, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "weights", "start": 17217, "end": 17224, "loc": { "start": { "line": 462, "column": 12 }, "end": { "line": 462, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 17225, "end": 17226, "loc": { "start": { "line": 462, "column": 20 }, "end": { "line": 462, "column": 21 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17227, "end": 17228, "loc": { "start": { "line": 462, "column": 22 }, "end": { "line": 462, "column": 23 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17246, "end": 17247, "loc": { "start": { "line": 463, "column": 16 }, "end": { "line": 463, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumSubShape", "start": 17247, "end": 17259, "loc": { "start": { "line": 463, "column": 17 }, "end": { "line": 463, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17259, "end": 17260, "loc": { "start": { "line": 463, "column": 29 }, "end": { "line": 463, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rect", "start": 17260, "end": 17264, "loc": { "start": { "line": 463, "column": 30 }, "end": { "line": 463, "column": 34 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17264, "end": 17265, "loc": { "start": { "line": 463, "column": 34 }, "end": { "line": 463, "column": 35 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17265, "end": 17266, "loc": { "start": { "line": 463, "column": 35 }, "end": { "line": 463, "column": 36 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 100, "start": 17267, "end": 17270, "loc": { "start": { "line": 463, "column": 37 }, "end": { "line": 463, "column": 40 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17270, "end": 17271, "loc": { "start": { "line": 463, "column": 40 }, "end": { "line": 463, "column": 41 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17289, "end": 17290, "loc": { "start": { "line": 464, "column": 16 }, "end": { "line": 464, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumSubShape", "start": 17290, "end": 17302, "loc": { "start": { "line": 464, "column": 17 }, "end": { "line": 464, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17302, "end": 17303, "loc": { "start": { "line": 464, "column": 29 }, "end": { "line": 464, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "circle", "start": 17303, "end": 17309, "loc": { "start": { "line": 464, "column": 30 }, "end": { "line": 464, "column": 36 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17309, "end": 17310, "loc": { "start": { "line": 464, "column": 36 }, "end": { "line": 464, "column": 37 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17310, "end": 17311, "loc": { "start": { "line": 464, "column": 37 }, "end": { "line": 464, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 17312, "end": 17316, "loc": { "start": { "line": 464, "column": 39 }, "end": { "line": 464, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17316, "end": 17317, "loc": { "start": { "line": 464, "column": 43 }, "end": { "line": 464, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "round", "start": 17317, "end": 17322, "loc": { "start": { "line": 464, "column": 44 }, "end": { "line": 464, "column": 49 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17322, "end": 17323, "loc": { "start": { "line": 464, "column": 49 }, "end": { "line": 464, "column": 50 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 50, "start": 17323, "end": 17325, "loc": { "start": { "line": 464, "column": 50 }, "end": { "line": 464, "column": 52 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 17326, "end": 17327, "loc": { "start": { "line": 464, "column": 53 }, "end": { "line": 464, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clamp", "start": 17328, "end": 17333, "loc": { "start": { "line": 464, "column": 55 }, "end": { "line": 464, "column": 60 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17333, "end": 17334, "loc": { "start": { "line": 464, "column": 60 }, "end": { "line": 464, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "distanceToOriginInChunks", "start": 17334, "end": 17358, "loc": { "start": { "line": 464, "column": 61 }, "end": { "line": 464, "column": 85 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 17359, "end": 17360, "loc": { "start": { "line": 464, "column": 86 }, "end": { "line": 464, "column": 87 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 17361, "end": 17362, "loc": { "start": { "line": 464, "column": 88 }, "end": { "line": 464, "column": 89 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17362, "end": 17363, "loc": { "start": { "line": 464, "column": 89 }, "end": { "line": 464, "column": 90 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 17364, "end": 17365, "loc": { "start": { "line": 464, "column": 91 }, "end": { "line": 464, "column": 92 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17365, "end": 17366, "loc": { "start": { "line": 464, "column": 92 }, "end": { "line": 464, "column": 93 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 50, "start": 17367, "end": 17369, "loc": { "start": { "line": 464, "column": 94 }, "end": { "line": 464, "column": 96 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17369, "end": 17370, "loc": { "start": { "line": 464, "column": 96 }, "end": { "line": 464, "column": 97 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17370, "end": 17371, "loc": { "start": { "line": 464, "column": 97 }, "end": { "line": 464, "column": 98 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17371, "end": 17372, "loc": { "start": { "line": 464, "column": 98 }, "end": { "line": 464, "column": 99 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17390, "end": 17391, "loc": { "start": { "line": 465, "column": 16 }, "end": { "line": 465, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumSubShape", "start": 17391, "end": 17403, "loc": { "start": { "line": 465, "column": 17 }, "end": { "line": 465, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17403, "end": 17404, "loc": { "start": { "line": 465, "column": 29 }, "end": { "line": 465, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "star", "start": 17404, "end": 17408, "loc": { "start": { "line": 465, "column": 30 }, "end": { "line": 465, "column": 34 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17408, "end": 17409, "loc": { "start": { "line": 465, "column": 34 }, "end": { "line": 465, "column": 35 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17409, "end": 17410, "loc": { "start": { "line": 465, "column": 35 }, "end": { "line": 465, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 17411, "end": 17415, "loc": { "start": { "line": 465, "column": 37 }, "end": { "line": 465, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17415, "end": 17416, "loc": { "start": { "line": 465, "column": 41 }, "end": { "line": 465, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "round", "start": 17416, "end": 17421, "loc": { "start": { "line": 465, "column": 42 }, "end": { "line": 465, "column": 47 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17421, "end": 17422, "loc": { "start": { "line": 465, "column": 47 }, "end": { "line": 465, "column": 48 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 20, "start": 17422, "end": 17424, "loc": { "start": { "line": 465, "column": 48 }, "end": { "line": 465, "column": 50 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 17425, "end": 17426, "loc": { "start": { "line": 465, "column": 51 }, "end": { "line": 465, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clamp", "start": 17427, "end": 17432, "loc": { "start": { "line": 465, "column": 53 }, "end": { "line": 465, "column": 58 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17432, "end": 17433, "loc": { "start": { "line": 465, "column": 58 }, "end": { "line": 465, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "distanceToOriginInChunks", "start": 17433, "end": 17457, "loc": { "start": { "line": 465, "column": 59 }, "end": { "line": 465, "column": 83 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17457, "end": 17458, "loc": { "start": { "line": 465, "column": 83 }, "end": { "line": 465, "column": 84 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 17459, "end": 17460, "loc": { "start": { "line": 465, "column": 85 }, "end": { "line": 465, "column": 86 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17460, "end": 17461, "loc": { "start": { "line": 465, "column": 86 }, "end": { "line": 465, "column": 87 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 30, "start": 17462, "end": 17464, "loc": { "start": { "line": 465, "column": 88 }, "end": { "line": 465, "column": 90 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17464, "end": 17465, "loc": { "start": { "line": 465, "column": 90 }, "end": { "line": 465, "column": 91 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17465, "end": 17466, "loc": { "start": { "line": 465, "column": 91 }, "end": { "line": 465, "column": 92 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17466, "end": 17467, "loc": { "start": { "line": 465, "column": 92 }, "end": { "line": 465, "column": 93 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17485, "end": 17486, "loc": { "start": { "line": 466, "column": 16 }, "end": { "line": 466, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumSubShape", "start": 17486, "end": 17498, "loc": { "start": { "line": 466, "column": 17 }, "end": { "line": 466, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17498, "end": 17499, "loc": { "start": { "line": 466, "column": 29 }, "end": { "line": 466, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "windmill", "start": 17499, "end": 17507, "loc": { "start": { "line": 466, "column": 30 }, "end": { "line": 466, "column": 38 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17507, "end": 17508, "loc": { "start": { "line": 466, "column": 38 }, "end": { "line": 466, "column": 39 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17508, "end": 17509, "loc": { "start": { "line": 466, "column": 39 }, "end": { "line": 466, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 17510, "end": 17514, "loc": { "start": { "line": 466, "column": 41 }, "end": { "line": 466, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17514, "end": 17515, "loc": { "start": { "line": 466, "column": 45 }, "end": { "line": 466, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "round", "start": 17515, "end": 17520, "loc": { "start": { "line": 466, "column": 46 }, "end": { "line": 466, "column": 51 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17520, "end": 17521, "loc": { "start": { "line": 466, "column": 51 }, "end": { "line": 466, "column": 52 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 6, "start": 17521, "end": 17522, "loc": { "start": { "line": 466, "column": 52 }, "end": { "line": 466, "column": 53 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 17523, "end": 17524, "loc": { "start": { "line": 466, "column": 54 }, "end": { "line": 466, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clamp", "start": 17525, "end": 17530, "loc": { "start": { "line": 466, "column": 56 }, "end": { "line": 466, "column": 61 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17530, "end": 17531, "loc": { "start": { "line": 466, "column": 61 }, "end": { "line": 466, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "distanceToOriginInChunks", "start": 17531, "end": 17555, "loc": { "start": { "line": 466, "column": 62 }, "end": { "line": 466, "column": 86 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 17556, "end": 17557, "loc": { "start": { "line": 466, "column": 87 }, "end": { "line": 466, "column": 88 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 17558, "end": 17559, "loc": { "start": { "line": 466, "column": 89 }, "end": { "line": 466, "column": 90 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17559, "end": 17560, "loc": { "start": { "line": 466, "column": 90 }, "end": { "line": 466, "column": 91 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 17561, "end": 17562, "loc": { "start": { "line": 466, "column": 92 }, "end": { "line": 466, "column": 93 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17562, "end": 17563, "loc": { "start": { "line": 466, "column": 93 }, "end": { "line": 466, "column": 94 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 20, "start": 17564, "end": 17566, "loc": { "start": { "line": 466, "column": 95 }, "end": { "line": 466, "column": 97 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17566, "end": 17567, "loc": { "start": { "line": 466, "column": 97 }, "end": { "line": 466, "column": 98 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17567, "end": 17568, "loc": { "start": { "line": 466, "column": 98 }, "end": { "line": 466, "column": 99 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17568, "end": 17569, "loc": { "start": { "line": 466, "column": 99 }, "end": { "line": 466, "column": 100 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17583, "end": 17584, "loc": { "start": { "line": 467, "column": 12 }, "end": { "line": 467, "column": 13 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17584, "end": 17585, "loc": { "start": { "line": 467, "column": 13 }, "end": { "line": 467, "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": 17601, "end": 17603, "loc": { "start": { "line": 469, "column": 12 }, "end": { "line": 469, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17604, "end": 17605, "loc": { "start": { "line": 469, "column": 15 }, "end": { "line": 469, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "distanceToOriginInChunks", "start": 17605, "end": 17629, "loc": { "start": { "line": 469, "column": 16 }, "end": { "line": 469, "column": 40 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 17630, "end": 17631, "loc": { "start": { "line": 469, "column": 41 }, "end": { "line": 469, "column": 42 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 7, "start": 17632, "end": 17633, "loc": { "start": { "line": 469, "column": 43 }, "end": { "line": 469, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17633, "end": 17634, "loc": { "start": { "line": 469, "column": 44 }, "end": { "line": 469, "column": 45 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17635, "end": 17636, "loc": { "start": { "line": 469, "column": 46 }, "end": { "line": 469, "column": 47 } } }, { "type": "CommentLine", "value": " Initial chunks can not spawn the good stuff", "start": 17654, "end": 17700, "loc": { "start": { "line": 470, "column": 16 }, "end": { "line": 470, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "weights", "start": 17718, "end": 17725, "loc": { "start": { "line": 471, "column": 16 }, "end": { "line": 471, "column": 23 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17725, "end": 17726, "loc": { "start": { "line": 471, "column": 23 }, "end": { "line": 471, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumSubShape", "start": 17726, "end": 17738, "loc": { "start": { "line": 471, "column": 24 }, "end": { "line": 471, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17738, "end": 17739, "loc": { "start": { "line": 471, "column": 36 }, "end": { "line": 471, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "star", "start": 17739, "end": 17743, "loc": { "start": { "line": 471, "column": 37 }, "end": { "line": 471, "column": 41 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17743, "end": 17744, "loc": { "start": { "line": 471, "column": 41 }, "end": { "line": 471, "column": 42 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 17745, "end": 17746, "loc": { "start": { "line": 471, "column": 43 }, "end": { "line": 471, "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": 17747, "end": 17748, "loc": { "start": { "line": 471, "column": 45 }, "end": { "line": 471, "column": 46 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17748, "end": 17749, "loc": { "start": { "line": 471, "column": 46 }, "end": { "line": 471, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "weights", "start": 17767, "end": 17774, "loc": { "start": { "line": 472, "column": 16 }, "end": { "line": 472, "column": 23 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17774, "end": 17775, "loc": { "start": { "line": 472, "column": 23 }, "end": { "line": 472, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumSubShape", "start": 17775, "end": 17787, "loc": { "start": { "line": 472, "column": 24 }, "end": { "line": 472, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17787, "end": 17788, "loc": { "start": { "line": 472, "column": 36 }, "end": { "line": 472, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "windmill", "start": 17788, "end": 17796, "loc": { "start": { "line": 472, "column": 37 }, "end": { "line": 472, "column": 45 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17796, "end": 17797, "loc": { "start": { "line": 472, "column": 45 }, "end": { "line": 472, "column": 46 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 17798, "end": 17799, "loc": { "start": { "line": 472, "column": 47 }, "end": { "line": 472, "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": 17800, "end": 17801, "loc": { "start": { "line": 472, "column": 49 }, "end": { "line": 472, "column": 50 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 17801, "end": 17802, "loc": { "start": { "line": 472, "column": 50 }, "end": { "line": 472, "column": 51 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17816, "end": 17817, "loc": { "start": { "line": 473, "column": 12 }, "end": { "line": 473, "column": 13 } } }, { "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": 17833, "end": 17835, "loc": { "start": { "line": 475, "column": 12 }, "end": { "line": 475, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17836, "end": 17837, "loc": { "start": { "line": 475, "column": 15 }, "end": { "line": 475, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "distanceToOriginInChunks", "start": 17837, "end": 17861, "loc": { "start": { "line": 475, "column": 16 }, "end": { "line": 475, "column": 40 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 17862, "end": 17863, "loc": { "start": { "line": 475, "column": 41 }, "end": { "line": 475, "column": 42 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 10, "start": 17864, "end": 17866, "loc": { "start": { "line": 475, "column": 43 }, "end": { "line": 475, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17866, "end": 17867, "loc": { "start": { "line": 475, "column": 45 }, "end": { "line": 475, "column": 46 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 17868, "end": 17869, "loc": { "start": { "line": 475, "column": 47 }, "end": { "line": 475, "column": 48 } } }, { "type": "CommentLine", "value": " Initial chunk patches always have the same shape", "start": 17887, "end": 17938, "loc": { "start": { "line": 476, "column": 16 }, "end": { "line": 476, "column": 67 } } }, { "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": 17956, "end": 17961, "loc": { "start": { "line": 477, "column": 16 }, "end": { "line": 477, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subShape", "start": 17962, "end": 17970, "loc": { "start": { "line": 477, "column": 22 }, "end": { "line": 477, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 17971, "end": 17972, "loc": { "start": { "line": 477, "column": 31 }, "end": { "line": 477, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "internalGenerateRandomSubShape", "start": 17973, "end": 18003, "loc": { "start": { "line": 477, "column": 33 }, "end": { "line": 477, "column": 63 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18003, "end": 18004, "loc": { "start": { "line": 477, "column": 63 }, "end": { "line": 477, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rng", "start": 18004, "end": 18007, "loc": { "start": { "line": 477, "column": 64 }, "end": { "line": 477, "column": 67 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18007, "end": 18008, "loc": { "start": { "line": 477, "column": 67 }, "end": { "line": 477, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "weights", "start": 18009, "end": 18016, "loc": { "start": { "line": 477, "column": 69 }, "end": { "line": 477, "column": 76 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18016, "end": 18017, "loc": { "start": { "line": 477, "column": 76 }, "end": { "line": 477, "column": 77 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18017, "end": 18018, "loc": { "start": { "line": 477, "column": 77 }, "end": { "line": 477, "column": 78 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subShapes", "start": 18036, "end": 18045, "loc": { "start": { "line": 478, "column": 16 }, "end": { "line": 478, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18046, "end": 18047, "loc": { "start": { "line": 478, "column": 26 }, "end": { "line": 478, "column": 27 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18048, "end": 18049, "loc": { "start": { "line": 478, "column": 28 }, "end": { "line": 478, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subShape", "start": 18049, "end": 18057, "loc": { "start": { "line": 478, "column": 29 }, "end": { "line": 478, "column": 37 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18057, "end": 18058, "loc": { "start": { "line": 478, "column": 37 }, "end": { "line": 478, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subShape", "start": 18059, "end": 18067, "loc": { "start": { "line": 478, "column": 39 }, "end": { "line": 478, "column": 47 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18067, "end": 18068, "loc": { "start": { "line": 478, "column": 47 }, "end": { "line": 478, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subShape", "start": 18069, "end": 18077, "loc": { "start": { "line": 478, "column": 49 }, "end": { "line": 478, "column": 57 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18077, "end": 18078, "loc": { "start": { "line": 478, "column": 57 }, "end": { "line": 478, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subShape", "start": 18079, "end": 18087, "loc": { "start": { "line": 478, "column": 59 }, "end": { "line": 478, "column": 67 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18087, "end": 18088, "loc": { "start": { "line": 478, "column": 67 }, "end": { "line": 478, "column": 68 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18088, "end": 18089, "loc": { "start": { "line": 478, "column": 68 }, "end": { "line": 478, "column": 69 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18103, "end": 18104, "loc": { "start": { "line": 479, "column": 12 }, "end": { "line": 479, "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": 18105, "end": 18109, "loc": { "start": { "line": 479, "column": 14 }, "end": { "line": 479, "column": 18 } } }, { "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": 18110, "end": 18112, "loc": { "start": { "line": 479, "column": 19 }, "end": { "line": 479, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18113, "end": 18114, "loc": { "start": { "line": 479, "column": 22 }, "end": { "line": 479, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "distanceToOriginInChunks", "start": 18114, "end": 18138, "loc": { "start": { "line": 479, "column": 23 }, "end": { "line": 479, "column": 47 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 18139, "end": 18140, "loc": { "start": { "line": 479, "column": 48 }, "end": { "line": 479, "column": 49 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 15, "start": 18141, "end": 18143, "loc": { "start": { "line": 479, "column": 50 }, "end": { "line": 479, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18143, "end": 18144, "loc": { "start": { "line": 479, "column": 52 }, "end": { "line": 479, "column": 53 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18145, "end": 18146, "loc": { "start": { "line": 479, "column": 54 }, "end": { "line": 479, "column": 55 } } }, { "type": "CommentLine", "value": " Later patches can also have mixed ones", "start": 18164, "end": 18205, "loc": { "start": { "line": 480, "column": 16 }, "end": { "line": 480, "column": 57 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 18223, "end": 18228, "loc": { "start": { "line": 481, "column": 16 }, "end": { "line": 481, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subShapeA", "start": 18229, "end": 18238, "loc": { "start": { "line": 481, "column": 22 }, "end": { "line": 481, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18239, "end": 18240, "loc": { "start": { "line": 481, "column": 32 }, "end": { "line": 481, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "internalGenerateRandomSubShape", "start": 18241, "end": 18271, "loc": { "start": { "line": 481, "column": 34 }, "end": { "line": 481, "column": 64 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18271, "end": 18272, "loc": { "start": { "line": 481, "column": 64 }, "end": { "line": 481, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rng", "start": 18272, "end": 18275, "loc": { "start": { "line": 481, "column": 65 }, "end": { "line": 481, "column": 68 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18275, "end": 18276, "loc": { "start": { "line": 481, "column": 68 }, "end": { "line": 481, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "weights", "start": 18277, "end": 18284, "loc": { "start": { "line": 481, "column": 70 }, "end": { "line": 481, "column": 77 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18284, "end": 18285, "loc": { "start": { "line": 481, "column": 77 }, "end": { "line": 481, "column": 78 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18285, "end": 18286, "loc": { "start": { "line": 481, "column": 78 }, "end": { "line": 481, "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": 18304, "end": 18309, "loc": { "start": { "line": 482, "column": 16 }, "end": { "line": 482, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subShapeB", "start": 18310, "end": 18319, "loc": { "start": { "line": 482, "column": 22 }, "end": { "line": 482, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18320, "end": 18321, "loc": { "start": { "line": 482, "column": 32 }, "end": { "line": 482, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "internalGenerateRandomSubShape", "start": 18322, "end": 18352, "loc": { "start": { "line": 482, "column": 34 }, "end": { "line": 482, "column": 64 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18352, "end": 18353, "loc": { "start": { "line": 482, "column": 64 }, "end": { "line": 482, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rng", "start": 18353, "end": 18356, "loc": { "start": { "line": 482, "column": 65 }, "end": { "line": 482, "column": 68 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18356, "end": 18357, "loc": { "start": { "line": 482, "column": 68 }, "end": { "line": 482, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "weights", "start": 18358, "end": 18365, "loc": { "start": { "line": 482, "column": 70 }, "end": { "line": 482, "column": 77 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18365, "end": 18366, "loc": { "start": { "line": 482, "column": 77 }, "end": { "line": 482, "column": 78 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18366, "end": 18367, "loc": { "start": { "line": 482, "column": 78 }, "end": { "line": 482, "column": 79 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subShapes", "start": 18385, "end": 18394, "loc": { "start": { "line": 483, "column": 16 }, "end": { "line": 483, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18395, "end": 18396, "loc": { "start": { "line": 483, "column": 26 }, "end": { "line": 483, "column": 27 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18397, "end": 18398, "loc": { "start": { "line": 483, "column": 28 }, "end": { "line": 483, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subShapeA", "start": 18398, "end": 18407, "loc": { "start": { "line": 483, "column": 29 }, "end": { "line": 483, "column": 38 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18407, "end": 18408, "loc": { "start": { "line": 483, "column": 38 }, "end": { "line": 483, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subShapeA", "start": 18409, "end": 18418, "loc": { "start": { "line": 483, "column": 40 }, "end": { "line": 483, "column": 49 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18418, "end": 18419, "loc": { "start": { "line": 483, "column": 49 }, "end": { "line": 483, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subShapeB", "start": 18420, "end": 18429, "loc": { "start": { "line": 483, "column": 51 }, "end": { "line": 483, "column": 60 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18429, "end": 18430, "loc": { "start": { "line": 483, "column": 60 }, "end": { "line": 483, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subShapeB", "start": 18431, "end": 18440, "loc": { "start": { "line": 483, "column": 62 }, "end": { "line": 483, "column": 71 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18440, "end": 18441, "loc": { "start": { "line": 483, "column": 71 }, "end": { "line": 483, "column": 72 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18441, "end": 18442, "loc": { "start": { "line": 483, "column": 72 }, "end": { "line": 483, "column": 73 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18456, "end": 18457, "loc": { "start": { "line": 484, "column": 12 }, "end": { "line": 484, "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": 18458, "end": 18462, "loc": { "start": { "line": 484, "column": 14 }, "end": { "line": 484, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18463, "end": 18464, "loc": { "start": { "line": 484, "column": 19 }, "end": { "line": 484, "column": 20 } } }, { "type": "CommentLine", "value": " Finally there is a mix of everything", "start": 18482, "end": 18521, "loc": { "start": { "line": 485, "column": 16 }, "end": { "line": 485, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subShapes", "start": 18539, "end": 18548, "loc": { "start": { "line": 486, "column": 16 }, "end": { "line": 486, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18549, "end": 18550, "loc": { "start": { "line": 486, "column": 26 }, "end": { "line": 486, "column": 27 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18551, "end": 18552, "loc": { "start": { "line": 486, "column": 28 }, "end": { "line": 486, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "internalGenerateRandomSubShape", "start": 18574, "end": 18604, "loc": { "start": { "line": 487, "column": 20 }, "end": { "line": 487, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18604, "end": 18605, "loc": { "start": { "line": 487, "column": 50 }, "end": { "line": 487, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rng", "start": 18605, "end": 18608, "loc": { "start": { "line": 487, "column": 51 }, "end": { "line": 487, "column": 54 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18608, "end": 18609, "loc": { "start": { "line": 487, "column": 54 }, "end": { "line": 487, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "weights", "start": 18610, "end": 18617, "loc": { "start": { "line": 487, "column": 56 }, "end": { "line": 487, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18617, "end": 18618, "loc": { "start": { "line": 487, "column": 63 }, "end": { "line": 487, "column": 64 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18618, "end": 18619, "loc": { "start": { "line": 487, "column": 64 }, "end": { "line": 487, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "internalGenerateRandomSubShape", "start": 18641, "end": 18671, "loc": { "start": { "line": 488, "column": 20 }, "end": { "line": 488, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18671, "end": 18672, "loc": { "start": { "line": 488, "column": 50 }, "end": { "line": 488, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rng", "start": 18672, "end": 18675, "loc": { "start": { "line": 488, "column": 51 }, "end": { "line": 488, "column": 54 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18675, "end": 18676, "loc": { "start": { "line": 488, "column": 54 }, "end": { "line": 488, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "weights", "start": 18677, "end": 18684, "loc": { "start": { "line": 488, "column": 56 }, "end": { "line": 488, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18684, "end": 18685, "loc": { "start": { "line": 488, "column": 63 }, "end": { "line": 488, "column": 64 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18685, "end": 18686, "loc": { "start": { "line": 488, "column": 64 }, "end": { "line": 488, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "internalGenerateRandomSubShape", "start": 18708, "end": 18738, "loc": { "start": { "line": 489, "column": 20 }, "end": { "line": 489, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18738, "end": 18739, "loc": { "start": { "line": 489, "column": 50 }, "end": { "line": 489, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rng", "start": 18739, "end": 18742, "loc": { "start": { "line": 489, "column": 51 }, "end": { "line": 489, "column": 54 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18742, "end": 18743, "loc": { "start": { "line": 489, "column": 54 }, "end": { "line": 489, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "weights", "start": 18744, "end": 18751, "loc": { "start": { "line": 489, "column": 56 }, "end": { "line": 489, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18751, "end": 18752, "loc": { "start": { "line": 489, "column": 63 }, "end": { "line": 489, "column": 64 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18752, "end": 18753, "loc": { "start": { "line": 489, "column": 64 }, "end": { "line": 489, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "internalGenerateRandomSubShape", "start": 18775, "end": 18805, "loc": { "start": { "line": 490, "column": 20 }, "end": { "line": 490, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18805, "end": 18806, "loc": { "start": { "line": 490, "column": 50 }, "end": { "line": 490, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rng", "start": 18806, "end": 18809, "loc": { "start": { "line": 490, "column": 51 }, "end": { "line": 490, "column": 54 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18809, "end": 18810, "loc": { "start": { "line": 490, "column": 54 }, "end": { "line": 490, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "weights", "start": 18811, "end": 18818, "loc": { "start": { "line": 490, "column": 56 }, "end": { "line": 490, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18818, "end": 18819, "loc": { "start": { "line": 490, "column": 63 }, "end": { "line": 490, "column": 64 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18819, "end": 18820, "loc": { "start": { "line": 490, "column": 64 }, "end": { "line": 490, "column": 65 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18838, "end": 18839, "loc": { "start": { "line": 491, "column": 16 }, "end": { "line": 491, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18839, "end": 18840, "loc": { "start": { "line": 491, "column": 17 }, "end": { "line": 491, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18854, "end": 18855, "loc": { "start": { "line": 492, "column": 12 }, "end": { "line": 492, "column": 13 } } }, { "type": "CommentLine", "value": " Makes sure windmills never spawn as whole", "start": 18871, "end": 18915, "loc": { "start": { "line": 494, "column": 12 }, "end": { "line": 494, "column": 56 } } }, { "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": 18929, "end": 18932, "loc": { "start": { "line": 495, "column": 12 }, "end": { "line": 495, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "windmillCount", "start": 18933, "end": 18946, "loc": { "start": { "line": 495, "column": 16 }, "end": { "line": 495, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18947, "end": 18948, "loc": { "start": { "line": 495, "column": 30 }, "end": { "line": 495, "column": 31 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 18949, "end": 18950, "loc": { "start": { "line": 495, "column": 32 }, "end": { "line": 495, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18950, "end": 18951, "loc": { "start": { "line": 495, "column": 33 }, "end": { "line": 495, "column": 34 } } }, { "type": { "label": "for", "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "for", "start": 18965, "end": 18968, "loc": { "start": { "line": 496, "column": 12 }, "end": { "line": 496, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 18969, "end": 18970, "loc": { "start": { "line": 496, "column": 16 }, "end": { "line": 496, "column": 17 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 18970, "end": 18973, "loc": { "start": { "line": 496, "column": 17 }, "end": { "line": 496, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 18974, "end": 18975, "loc": { "start": { "line": 496, "column": 21 }, "end": { "line": 496, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 18976, "end": 18977, "loc": { "start": { "line": 496, "column": 23 }, "end": { "line": 496, "column": 24 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 18978, "end": 18979, "loc": { "start": { "line": 496, "column": 25 }, "end": { "line": 496, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18979, "end": 18980, "loc": { "start": { "line": 496, "column": 26 }, "end": { "line": 496, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 18981, "end": 18982, "loc": { "start": { "line": 496, "column": 28 }, "end": { "line": 496, "column": 29 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 18983, "end": 18984, "loc": { "start": { "line": 496, "column": 30 }, "end": { "line": 496, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subShapes", "start": 18985, "end": 18994, "loc": { "start": { "line": 496, "column": 32 }, "end": { "line": 496, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 18994, "end": 18995, "loc": { "start": { "line": 496, "column": 41 }, "end": { "line": 496, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 18995, "end": 19001, "loc": { "start": { "line": 496, "column": 42 }, "end": { "line": 496, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19001, "end": 19002, "loc": { "start": { "line": 496, "column": 48 }, "end": { "line": 496, "column": 49 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 19003, "end": 19005, "loc": { "start": { "line": 496, "column": 50 }, "end": { "line": 496, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 19005, "end": 19006, "loc": { "start": { "line": 496, "column": 52 }, "end": { "line": 496, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19006, "end": 19007, "loc": { "start": { "line": 496, "column": 53 }, "end": { "line": 496, "column": 54 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19008, "end": 19009, "loc": { "start": { "line": 496, "column": 55 }, "end": { "line": 496, "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": 19027, "end": 19029, "loc": { "start": { "line": 497, "column": 16 }, "end": { "line": 497, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19030, "end": 19031, "loc": { "start": { "line": 497, "column": 19 }, "end": { "line": 497, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subShapes", "start": 19031, "end": 19040, "loc": { "start": { "line": 497, "column": 20 }, "end": { "line": 497, "column": 29 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19040, "end": 19041, "loc": { "start": { "line": 497, "column": 29 }, "end": { "line": 497, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 19041, "end": 19042, "loc": { "start": { "line": 497, "column": 30 }, "end": { "line": 497, "column": 31 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19042, "end": 19043, "loc": { "start": { "line": 497, "column": 31 }, "end": { "line": 497, "column": 32 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 19044, "end": 19047, "loc": { "start": { "line": 497, "column": 33 }, "end": { "line": 497, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumSubShape", "start": 19048, "end": 19060, "loc": { "start": { "line": 497, "column": 37 }, "end": { "line": 497, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19060, "end": 19061, "loc": { "start": { "line": 497, "column": 49 }, "end": { "line": 497, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "windmill", "start": 19061, "end": 19069, "loc": { "start": { "line": 497, "column": 50 }, "end": { "line": 497, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19069, "end": 19070, "loc": { "start": { "line": 497, "column": 58 }, "end": { "line": 497, "column": 59 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19071, "end": 19072, "loc": { "start": { "line": 497, "column": 60 }, "end": { "line": 497, "column": 61 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 19094, "end": 19096, "loc": { "start": { "line": 498, "column": 20 }, "end": { "line": 498, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "windmillCount", "start": 19096, "end": 19109, "loc": { "start": { "line": 498, "column": 22 }, "end": { "line": 498, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19109, "end": 19110, "loc": { "start": { "line": 498, "column": 35 }, "end": { "line": 498, "column": 36 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19128, "end": 19129, "loc": { "start": { "line": 499, "column": 16 }, "end": { "line": 499, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19143, "end": 19144, "loc": { "start": { "line": 500, "column": 12 }, "end": { "line": 500, "column": 13 } } }, { "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": 19158, "end": 19160, "loc": { "start": { "line": 501, "column": 12 }, "end": { "line": 501, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19161, "end": 19162, "loc": { "start": { "line": 501, "column": 15 }, "end": { "line": 501, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "windmillCount", "start": 19162, "end": 19175, "loc": { "start": { "line": 501, "column": 16 }, "end": { "line": 501, "column": 29 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 19176, "end": 19177, "loc": { "start": { "line": 501, "column": 30 }, "end": { "line": 501, "column": 31 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 19178, "end": 19179, "loc": { "start": { "line": 501, "column": 32 }, "end": { "line": 501, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19179, "end": 19180, "loc": { "start": { "line": 501, "column": 33 }, "end": { "line": 501, "column": 34 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19181, "end": 19182, "loc": { "start": { "line": 501, "column": 35 }, "end": { "line": 501, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subShapes", "start": 19200, "end": 19209, "loc": { "start": { "line": 502, "column": 16 }, "end": { "line": 502, "column": 25 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19209, "end": 19210, "loc": { "start": { "line": 502, "column": 25 }, "end": { "line": 502, "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": 19210, "end": 19211, "loc": { "start": { "line": 502, "column": 26 }, "end": { "line": 502, "column": 27 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19211, "end": 19212, "loc": { "start": { "line": 502, "column": 27 }, "end": { "line": 502, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19213, "end": 19214, "loc": { "start": { "line": 502, "column": 29 }, "end": { "line": 502, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumSubShape", "start": 19215, "end": 19227, "loc": { "start": { "line": 502, "column": 31 }, "end": { "line": 502, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19227, "end": 19228, "loc": { "start": { "line": 502, "column": 43 }, "end": { "line": 502, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rect", "start": 19228, "end": 19232, "loc": { "start": { "line": 502, "column": 44 }, "end": { "line": 502, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19232, "end": 19233, "loc": { "start": { "line": 502, "column": 48 }, "end": { "line": 502, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subShapes", "start": 19251, "end": 19260, "loc": { "start": { "line": 503, "column": 16 }, "end": { "line": 503, "column": 25 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19260, "end": 19261, "loc": { "start": { "line": 503, "column": 25 }, "end": { "line": 503, "column": 26 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 19261, "end": 19262, "loc": { "start": { "line": 503, "column": 26 }, "end": { "line": 503, "column": 27 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19262, "end": 19263, "loc": { "start": { "line": 503, "column": 27 }, "end": { "line": 503, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19264, "end": 19265, "loc": { "start": { "line": 503, "column": 29 }, "end": { "line": 503, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "enumSubShape", "start": 19266, "end": 19278, "loc": { "start": { "line": 503, "column": 31 }, "end": { "line": 503, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19278, "end": 19279, "loc": { "start": { "line": 503, "column": 43 }, "end": { "line": 503, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rect", "start": 19279, "end": 19283, "loc": { "start": { "line": 503, "column": 44 }, "end": { "line": 503, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19283, "end": 19284, "loc": { "start": { "line": 503, "column": 48 }, "end": { "line": 503, "column": 49 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19298, "end": 19299, "loc": { "start": { "line": 504, "column": 12 }, "end": { "line": 504, "column": 13 } } }, { "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": 19315, "end": 19320, "loc": { "start": { "line": 506, "column": 12 }, "end": { "line": 506, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "definition", "start": 19321, "end": 19331, "loc": { "start": { "line": 506, "column": 18 }, "end": { "line": 506, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19332, "end": 19333, "loc": { "start": { "line": 506, "column": 29 }, "end": { "line": 506, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 19334, "end": 19338, "loc": { "start": { "line": 506, "column": 31 }, "end": { "line": 506, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19338, "end": 19339, "loc": { "start": { "line": 506, "column": 35 }, "end": { "line": 506, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 19339, "end": 19343, "loc": { "start": { "line": 506, "column": 36 }, "end": { "line": 506, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19343, "end": 19344, "loc": { "start": { "line": 506, "column": 40 }, "end": { "line": 506, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapeDefinitionMgr", "start": 19344, "end": 19362, "loc": { "start": { "line": 506, "column": 41 }, "end": { "line": 506, "column": 59 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19362, "end": 19363, "loc": { "start": { "line": 506, "column": 59 }, "end": { "line": 506, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getDefinitionFromSimpleShapes", "start": 19363, "end": 19392, "loc": { "start": { "line": 506, "column": 60 }, "end": { "line": 506, "column": 89 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19392, "end": 19393, "loc": { "start": { "line": 506, "column": 89 }, "end": { "line": 506, "column": 90 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subShapes", "start": 19393, "end": 19402, "loc": { "start": { "line": 506, "column": 90 }, "end": { "line": 506, "column": 99 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19402, "end": 19403, "loc": { "start": { "line": 506, "column": 99 }, "end": { "line": 506, "column": 100 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19403, "end": 19404, "loc": { "start": { "line": 506, "column": 100 }, "end": { "line": 506, "column": 101 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 19418, "end": 19422, "loc": { "start": { "line": 507, "column": 12 }, "end": { "line": 507, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19422, "end": 19423, "loc": { "start": { "line": 507, "column": 16 }, "end": { "line": 507, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "internalGeneratePatch", "start": 19423, "end": 19444, "loc": { "start": { "line": 507, "column": 17 }, "end": { "line": 507, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19444, "end": 19445, "loc": { "start": { "line": 507, "column": 38 }, "end": { "line": 507, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rng", "start": 19463, "end": 19466, "loc": { "start": { "line": 508, "column": 16 }, "end": { "line": 508, "column": 19 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19466, "end": 19467, "loc": { "start": { "line": 508, "column": 19 }, "end": { "line": 508, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapePatchSize", "start": 19485, "end": 19499, "loc": { "start": { "line": 509, "column": 16 }, "end": { "line": 509, "column": 30 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19499, "end": 19500, "loc": { "start": { "line": 509, "column": 30 }, "end": { "line": 509, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "self", "start": 19518, "end": 19522, "loc": { "start": { "line": 510, "column": 16 }, "end": { "line": 510, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19522, "end": 19523, "loc": { "start": { "line": 510, "column": 20 }, "end": { "line": 510, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 19523, "end": 19527, "loc": { "start": { "line": 510, "column": 21 }, "end": { "line": 510, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19527, "end": 19528, "loc": { "start": { "line": 510, "column": 25 }, "end": { "line": 510, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapeDefinitionMgr", "start": 19528, "end": 19546, "loc": { "start": { "line": 510, "column": 26 }, "end": { "line": 510, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19546, "end": 19547, "loc": { "start": { "line": 510, "column": 44 }, "end": { "line": 510, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getShapeItemFromDefinition", "start": 19547, "end": 19573, "loc": { "start": { "line": 510, "column": 45 }, "end": { "line": 510, "column": 71 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19573, "end": 19574, "loc": { "start": { "line": 510, "column": 71 }, "end": { "line": 510, "column": 72 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "definition", "start": 19574, "end": 19584, "loc": { "start": { "line": 510, "column": 72 }, "end": { "line": 510, "column": 82 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19584, "end": 19585, "loc": { "start": { "line": 510, "column": 82 }, "end": { "line": 510, "column": 83 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19599, "end": 19600, "loc": { "start": { "line": 511, "column": 12 }, "end": { "line": 511, "column": 13 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19600, "end": 19601, "loc": { "start": { "line": 511, "column": 13 }, "end": { "line": 511, "column": 14 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19611, "end": 19612, "loc": { "start": { "line": 512, "column": 8 }, "end": { "line": 512, "column": 9 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19612, "end": 19613, "loc": { "start": { "line": 512, "column": 9 }, "end": { "line": 512, "column": 10 } } }, { "type": "CommentLine", "value": " Determine how likely it is that there is a shape patch", "start": 19625, "end": 19682, "loc": { "start": { "line": 514, "column": 8 }, "end": { "line": 514, "column": 65 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 19692, "end": 19697, "loc": { "start": { "line": 515, "column": 8 }, "end": { "line": 515, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapePatchChance", "start": 19698, "end": 19714, "loc": { "start": { "line": 515, "column": 14 }, "end": { "line": 515, "column": 30 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19715, "end": 19716, "loc": { "start": { "line": 515, "column": 31 }, "end": { "line": 515, "column": 32 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.9, "start": 19717, "end": 19720, "loc": { "start": { "line": 515, "column": 33 }, "end": { "line": 515, "column": 36 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 19721, "end": 19722, "loc": { "start": { "line": 515, "column": 37 }, "end": { "line": 515, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clamp", "start": 19723, "end": 19728, "loc": { "start": { "line": 515, "column": 39 }, "end": { "line": 515, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19728, "end": 19729, "loc": { "start": { "line": 515, "column": 44 }, "end": { "line": 515, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "distanceToOriginInChunks", "start": 19729, "end": 19753, "loc": { "start": { "line": 515, "column": 45 }, "end": { "line": 515, "column": 69 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 19754, "end": 19755, "loc": { "start": { "line": 515, "column": 70 }, "end": { "line": 515, "column": 71 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 25, "start": 19756, "end": 19758, "loc": { "start": { "line": 515, "column": 72 }, "end": { "line": 515, "column": 74 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19758, "end": 19759, "loc": { "start": { "line": 515, "column": 74 }, "end": { "line": 515, "column": 75 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 19760, "end": 19761, "loc": { "start": { "line": 515, "column": 76 }, "end": { "line": 515, "column": 77 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19761, "end": 19762, "loc": { "start": { "line": 515, "column": 77 }, "end": { "line": 515, "column": 78 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 19763, "end": 19764, "loc": { "start": { "line": 515, "column": 79 }, "end": { "line": 515, "column": 80 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19764, "end": 19765, "loc": { "start": { "line": 515, "column": 80 }, "end": { "line": 515, "column": 81 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 19766, "end": 19767, "loc": { "start": { "line": 515, "column": 82 }, "end": { "line": 515, "column": 83 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.5, "start": 19768, "end": 19771, "loc": { "start": { "line": 515, "column": 84 }, "end": { "line": 515, "column": 87 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19771, "end": 19772, "loc": { "start": { "line": 515, "column": 87 }, "end": { "line": 515, "column": 88 } } }, { "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": 19782, "end": 19784, "loc": { "start": { "line": 516, "column": 8 }, "end": { "line": 516, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19785, "end": 19786, "loc": { "start": { "line": 516, "column": 11 }, "end": { "line": 516, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rng", "start": 19786, "end": 19789, "loc": { "start": { "line": 516, "column": 12 }, "end": { "line": 516, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19789, "end": 19790, "loc": { "start": { "line": 516, "column": 15 }, "end": { "line": 516, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "next", "start": 19790, "end": 19794, "loc": { "start": { "line": 516, "column": 16 }, "end": { "line": 516, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19794, "end": 19795, "loc": { "start": { "line": 516, "column": 20 }, "end": { "line": 516, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19795, "end": 19796, "loc": { "start": { "line": 516, "column": 21 }, "end": { "line": 516, "column": 22 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 19797, "end": 19798, "loc": { "start": { "line": 516, "column": 23 }, "end": { "line": 516, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapePatchChance", "start": 19799, "end": 19815, "loc": { "start": { "line": 516, "column": 25 }, "end": { "line": 516, "column": 41 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 19816, "end": 19817, "loc": { "start": { "line": 516, "column": 42 }, "end": { "line": 516, "column": 43 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 4, "start": 19818, "end": 19819, "loc": { "start": { "line": 516, "column": 44 }, "end": { "line": 516, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19819, "end": 19820, "loc": { "start": { "line": 516, "column": 45 }, "end": { "line": 516, "column": 46 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19821, "end": 19822, "loc": { "start": { "line": 516, "column": 47 }, "end": { "line": 516, "column": 48 } } }, { "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": 19836, "end": 19841, "loc": { "start": { "line": 517, "column": 12 }, "end": { "line": 517, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapePatchSize", "start": 19842, "end": 19856, "loc": { "start": { "line": 517, "column": 18 }, "end": { "line": 517, "column": 32 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 19857, "end": 19858, "loc": { "start": { "line": 517, "column": 33 }, "end": { "line": 517, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 19859, "end": 19863, "loc": { "start": { "line": 517, "column": 35 }, "end": { "line": 517, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19863, "end": 19864, "loc": { "start": { "line": 517, "column": 39 }, "end": { "line": 517, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "max", "start": 19864, "end": 19867, "loc": { "start": { "line": 517, "column": 40 }, "end": { "line": 517, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19867, "end": 19868, "loc": { "start": { "line": 517, "column": 43 }, "end": { "line": 517, "column": 44 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 19868, "end": 19869, "loc": { "start": { "line": 517, "column": 44 }, "end": { "line": 517, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19869, "end": 19870, "loc": { "start": { "line": 517, "column": 45 }, "end": { "line": 517, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 19871, "end": 19875, "loc": { "start": { "line": 517, "column": 47 }, "end": { "line": 517, "column": 51 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19875, "end": 19876, "loc": { "start": { "line": 517, "column": 51 }, "end": { "line": 517, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "round", "start": 19876, "end": 19881, "loc": { "start": { "line": 517, "column": 52 }, "end": { "line": 517, "column": 57 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19881, "end": 19882, "loc": { "start": { "line": 517, "column": 57 }, "end": { "line": 517, "column": 58 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 19882, "end": 19883, "loc": { "start": { "line": 517, "column": 58 }, "end": { "line": 517, "column": 59 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 19884, "end": 19885, "loc": { "start": { "line": 517, "column": 60 }, "end": { "line": 517, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clamp", "start": 19886, "end": 19891, "loc": { "start": { "line": 517, "column": 62 }, "end": { "line": 517, "column": 67 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19891, "end": 19892, "loc": { "start": { "line": 517, "column": 67 }, "end": { "line": 517, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "distanceToOriginInChunks", "start": 19892, "end": 19916, "loc": { "start": { "line": 517, "column": 68 }, "end": { "line": 517, "column": 92 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 19917, "end": 19918, "loc": { "start": { "line": 517, "column": 93 }, "end": { "line": 517, "column": 94 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 8, "start": 19919, "end": 19920, "loc": { "start": { "line": 517, "column": 95 }, "end": { "line": 517, "column": 96 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19920, "end": 19921, "loc": { "start": { "line": 517, "column": 96 }, "end": { "line": 517, "column": 97 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 19922, "end": 19923, "loc": { "start": { "line": 517, "column": 98 }, "end": { "line": 517, "column": 99 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19923, "end": 19924, "loc": { "start": { "line": 517, "column": 99 }, "end": { "line": 517, "column": 100 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 4, "start": 19925, "end": 19926, "loc": { "start": { "line": 517, "column": 101 }, "end": { "line": 517, "column": 102 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19926, "end": 19927, "loc": { "start": { "line": 517, "column": 102 }, "end": { "line": 517, "column": 103 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19927, "end": 19928, "loc": { "start": { "line": 517, "column": 103 }, "end": { "line": 517, "column": 104 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19928, "end": 19929, "loc": { "start": { "line": 517, "column": 104 }, "end": { "line": 517, "column": 105 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19929, "end": 19930, "loc": { "start": { "line": 517, "column": 105 }, "end": { "line": 517, "column": 106 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "internalGenerateShapePatch", "start": 19944, "end": 19970, "loc": { "start": { "line": 518, "column": 12 }, "end": { "line": 518, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 19970, "end": 19971, "loc": { "start": { "line": 518, "column": 38 }, "end": { "line": 518, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rng", "start": 19971, "end": 19974, "loc": { "start": { "line": 518, "column": 39 }, "end": { "line": 518, "column": 42 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19974, "end": 19975, "loc": { "start": { "line": 518, "column": 42 }, "end": { "line": 518, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapePatchSize", "start": 19976, "end": 19990, "loc": { "start": { "line": 518, "column": 44 }, "end": { "line": 518, "column": 58 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 19990, "end": 19991, "loc": { "start": { "line": 518, "column": 58 }, "end": { "line": 518, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "distanceToOriginInChunks", "start": 19992, "end": 20016, "loc": { "start": { "line": 518, "column": 60 }, "end": { "line": 518, "column": 84 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20016, "end": 20017, "loc": { "start": { "line": 518, "column": 84 }, "end": { "line": 518, "column": 85 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20017, "end": 20018, "loc": { "start": { "line": 518, "column": 85 }, "end": { "line": 518, "column": 86 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20028, "end": 20029, "loc": { "start": { "line": 519, "column": 8 }, "end": { "line": 519, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 20035, "end": 20036, "loc": { "start": { "line": 520, "column": 4 }, "end": { "line": 520, "column": 5 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20036, "end": 20037, "loc": { "start": { "line": 520, "column": 5 }, "end": { "line": 520, "column": 6 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20039, "end": 20040, "loc": { "start": { "line": 521, "column": 0 }, "end": { "line": 521, "column": 1 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20040, "end": 20041, "loc": { "start": { "line": 521, "column": 1 }, "end": { "line": 521, "column": 2 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 20043, "end": 20043, "loc": { "start": { "line": 522, "column": 0 }, "end": { "line": 522, "column": 0 } } } ] }