{ "type": "File", "start": 0, "end": 5241, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 168, "column": 1 } }, "program": { "type": "Program", "start": 0, "end": 5241, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 168, "column": 1 } }, "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": 105, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 57 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 57, "end": 71, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 23 } }, "imported": { "type": "Identifier", "start": 57, "end": 71, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 23 }, "identifierName": "DrawParameters" }, "name": "DrawParameters" }, "local": { "type": "Identifier", "start": 57, "end": 71, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 23 }, "identifierName": "DrawParameters" }, "name": "DrawParameters" } } ], "source": { "type": "StringLiteral", "start": 79, "end": 104, "loc": { "start": { "line": 2, "column": 31 }, "end": { "line": 2, "column": 56 } }, "extra": { "rawValue": "../core/draw_parameters", "raw": "\"../core/draw_parameters\"" }, "value": "../core/draw_parameters" } }, { "type": "ImportDeclaration", "start": 107, "end": 160, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 53 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 116, "end": 136, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 29 } }, "imported": { "type": "Identifier", "start": 116, "end": 136, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 29 }, "identifierName": "findNiceIntegerValue" }, "name": "findNiceIntegerValue" }, "local": { "type": "Identifier", "start": 116, "end": 136, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 29 }, "identifierName": "findNiceIntegerValue" }, "name": "findNiceIntegerValue" } } ], "source": { "type": "StringLiteral", "start": 144, "end": 159, "loc": { "start": { "line": 3, "column": 37 }, "end": { "line": 3, "column": 52 } }, "extra": { "rawValue": "../core/utils", "raw": "\"../core/utils\"" }, "value": "../core/utils" } }, { "type": "ImportDeclaration", "start": 162, "end": 202, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 40 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 171, "end": 177, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 15 } }, "imported": { "type": "Identifier", "start": 171, "end": 177, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 15 }, "identifierName": "Vector" }, "name": "Vector" }, "local": { "type": "Identifier", "start": 171, "end": 177, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 15 }, "identifierName": "Vector" }, "name": "Vector" } } ], "source": { "type": "StringLiteral", "start": 185, "end": 201, "loc": { "start": { "line": 4, "column": 23 }, "end": { "line": 4, "column": 39 } }, "extra": { "rawValue": "../core/vector", "raw": "\"../core/vector\"" }, "value": "../core/vector" } }, { "type": "ImportDeclaration", "start": 204, "end": 238, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 34 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 213, "end": 219, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 15 } }, "imported": { "type": "Identifier", "start": 213, "end": 219, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 15 }, "identifierName": "Entity" }, "name": "Entity" }, "local": { "type": "Identifier", "start": 213, "end": 219, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 15 }, "identifierName": "Entity" }, "name": "Entity" } } ], "source": { "type": "StringLiteral", "start": 227, "end": 237, "loc": { "start": { "line": 5, "column": 23 }, "end": { "line": 5, "column": 33 } }, "extra": { "rawValue": "./entity", "raw": "\"./entity\"" }, "value": "./entity" } }, { "type": "ImportDeclaration", "start": 240, "end": 274, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "column": 34 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 249, "end": 257, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 17 } }, "imported": { "type": "Identifier", "start": 249, "end": 257, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 17 }, "identifierName": "GameRoot" }, "name": "GameRoot" }, "local": { "type": "Identifier", "start": 249, "end": 257, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 17 }, "identifierName": "GameRoot" }, "name": "GameRoot" } } ], "source": { "type": "StringLiteral", "start": 265, "end": 273, "loc": { "start": { "line": 6, "column": 25 }, "end": { "line": 6, "column": 33 } }, "extra": { "rawValue": "./root", "raw": "\"./root\"" }, "value": "./root" } }, { "type": "ExportNamedDeclaration", "start": 278, "end": 5241, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 168, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "ClassDeclaration", "start": 285, "end": 5241, "loc": { "start": { "line": 8, "column": 7 }, "end": { "line": 168, "column": 1 } }, "id": { "type": "Identifier", "start": 291, "end": 300, "loc": { "start": { "line": 8, "column": 13 }, "end": { "line": 8, "column": 22 }, "identifierName": "Blueprint" }, "name": "Blueprint" }, "superClass": null, "body": { "type": "ClassBody", "start": 301, "end": 5241, "loc": { "start": { "line": 8, "column": 23 }, "end": { "line": 168, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 366, "end": 431, "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 14, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 366, "end": 377, "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 12, "column": 15 }, "identifierName": "constructor" }, "name": "constructor", "leadingComments": null }, "kind": "constructor", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 378, "end": 386, "loc": { "start": { "line": 12, "column": 16 }, "end": { "line": 12, "column": 24 }, "identifierName": "entities" }, "name": "entities" } ], "body": { "type": "BlockStatement", "start": 388, "end": 431, "loc": { "start": { "line": 12, "column": 26 }, "end": { "line": 14, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 399, "end": 424, "loc": { "start": { "line": 13, "column": 8 }, "end": { "line": 13, "column": 33 } }, "expression": { "type": "AssignmentExpression", "start": 399, "end": 423, "loc": { "start": { "line": 13, "column": 8 }, "end": { "line": 13, "column": 32 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 399, "end": 412, "loc": { "start": { "line": 13, "column": 8 }, "end": { "line": 13, "column": 21 } }, "object": { "type": "ThisExpression", "start": 399, "end": 403, "loc": { "start": { "line": 13, "column": 8 }, "end": { "line": 13, "column": 12 } } }, "property": { "type": "Identifier", "start": 404, "end": 412, "loc": { "start": { "line": 13, "column": 13 }, "end": { "line": 13, "column": 21 }, "identifierName": "entities" }, "name": "entities" }, "computed": false }, "right": { "type": "Identifier", "start": 415, "end": 423, "loc": { "start": { "line": 13, "column": 24 }, "end": { "line": 13, "column": 32 }, "identifierName": "entities" }, "name": "entities" } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @param {Array} entities\r\n ", "start": 308, "end": 360, "loc": { "start": { "line": 9, "column": 4 }, "end": { "line": 11, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns the layer of this blueprint\r\n * @returns {Layer}\r\n ", "start": 439, "end": 520, "loc": { "start": { "line": 16, "column": 4 }, "end": { "line": 19, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 526, "end": 671, "loc": { "start": { "line": 20, "column": 4 }, "end": { "line": 25, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 530, "end": 535, "loc": { "start": { "line": 20, "column": 8 }, "end": { "line": 20, "column": 13 }, "identifierName": "layer" }, "name": "layer" }, "kind": "get", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 538, "end": 671, "loc": { "start": { "line": 20, "column": 16 }, "end": { "line": 25, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 549, "end": 624, "loc": { "start": { "line": 21, "column": 8 }, "end": { "line": 23, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 553, "end": 579, "loc": { "start": { "line": 21, "column": 12 }, "end": { "line": 21, "column": 38 } }, "left": { "type": "MemberExpression", "start": 553, "end": 573, "loc": { "start": { "line": 21, "column": 12 }, "end": { "line": 21, "column": 32 } }, "object": { "type": "MemberExpression", "start": 553, "end": 566, "loc": { "start": { "line": 21, "column": 12 }, "end": { "line": 21, "column": 25 } }, "object": { "type": "ThisExpression", "start": 553, "end": 557, "loc": { "start": { "line": 21, "column": 12 }, "end": { "line": 21, "column": 16 } } }, "property": { "type": "Identifier", "start": 558, "end": 566, "loc": { "start": { "line": 21, "column": 17 }, "end": { "line": 21, "column": 25 }, "identifierName": "entities" }, "name": "entities" }, "computed": false }, "property": { "type": "Identifier", "start": 567, "end": 573, "loc": { "start": { "line": 21, "column": 26 }, "end": { "line": 21, "column": 32 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "===", "right": { "type": "NumericLiteral", "start": 578, "end": 579, "loc": { "start": { "line": 21, "column": 37 }, "end": { "line": 21, "column": 38 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "consequent": { "type": "BlockStatement", "start": 581, "end": 624, "loc": { "start": { "line": 21, "column": 40 }, "end": { "line": 23, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 596, "end": 613, "loc": { "start": { "line": 22, "column": 12 }, "end": { "line": 22, "column": 29 } }, "argument": { "type": "StringLiteral", "start": 603, "end": 612, "loc": { "start": { "line": 22, "column": 19 }, "end": { "line": 22, "column": 28 } }, "extra": { "rawValue": "regular", "raw": "\"regular\"" }, "value": "regular" } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 634, "end": 664, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 38 } }, "argument": { "type": "MemberExpression", "start": 641, "end": 663, "loc": { "start": { "line": 24, "column": 15 }, "end": { "line": 24, "column": 37 } }, "object": { "type": "MemberExpression", "start": 641, "end": 657, "loc": { "start": { "line": 24, "column": 15 }, "end": { "line": 24, "column": 31 } }, "object": { "type": "MemberExpression", "start": 641, "end": 654, "loc": { "start": { "line": 24, "column": 15 }, "end": { "line": 24, "column": 28 } }, "object": { "type": "ThisExpression", "start": 641, "end": 645, "loc": { "start": { "line": 24, "column": 15 }, "end": { "line": 24, "column": 19 } } }, "property": { "type": "Identifier", "start": 646, "end": 654, "loc": { "start": { "line": 24, "column": 20 }, "end": { "line": 24, "column": 28 }, "identifierName": "entities" }, "name": "entities" }, "computed": false }, "property": { "type": "NumericLiteral", "start": 655, "end": 656, "loc": { "start": { "line": 24, "column": 29 }, "end": { "line": 24, "column": 30 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true }, "property": { "type": "Identifier", "start": 658, "end": 663, "loc": { "start": { "line": 24, "column": 32 }, "end": { "line": 24, "column": 37 }, "identifierName": "layer" }, "name": "layer" }, "computed": false } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns the layer of this blueprint\r\n * @returns {Layer}\r\n ", "start": 439, "end": 520, "loc": { "start": { "line": 16, "column": 4 }, "end": { "line": 19, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creates a new blueprint from the given entity uids\r\n * @param {GameRoot} root\r\n * @param {Array} uids\r\n ", "start": 679, "end": 817, "loc": { "start": { "line": 27, "column": 4 }, "end": { "line": 31, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 823, "end": 1779, "loc": { "start": { "line": 32, "column": 4 }, "end": { "line": 58, "column": 5 } }, "static": true, "computed": false, "key": { "type": "Identifier", "start": 830, "end": 838, "loc": { "start": { "line": 32, "column": 11 }, "end": { "line": 32, "column": 19 }, "identifierName": "fromUids" }, "name": "fromUids" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 839, "end": 843, "loc": { "start": { "line": 32, "column": 20 }, "end": { "line": 32, "column": 24 }, "identifierName": "root" }, "name": "root" }, { "type": "Identifier", "start": 845, "end": 849, "loc": { "start": { "line": 32, "column": 26 }, "end": { "line": 32, "column": 30 }, "identifierName": "uids" }, "name": "uids" } ], "body": { "type": "BlockStatement", "start": 851, "end": 1779, "loc": { "start": { "line": 32, "column": 32 }, "end": { "line": 58, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 862, "end": 885, "loc": { "start": { "line": 33, "column": 8 }, "end": { "line": 33, "column": 31 } }, "declarations": [ { "type": "VariableDeclarator", "start": 868, "end": 884, "loc": { "start": { "line": 33, "column": 14 }, "end": { "line": 33, "column": 30 } }, "id": { "type": "Identifier", "start": 868, "end": 879, "loc": { "start": { "line": 33, "column": 14 }, "end": { "line": 33, "column": 25 }, "identifierName": "newEntities" }, "name": "newEntities" }, "init": { "type": "ArrayExpression", "start": 882, "end": 884, "loc": { "start": { "line": 33, "column": 28 }, "end": { "line": 33, "column": 30 } }, "elements": [] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 897, "end": 932, "loc": { "start": { "line": 35, "column": 8 }, "end": { "line": 35, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", "start": 901, "end": 931, "loc": { "start": { "line": 35, "column": 12 }, "end": { "line": 35, "column": 42 } }, "id": { "type": "Identifier", "start": 901, "end": 916, "loc": { "start": { "line": 35, "column": 12 }, "end": { "line": 35, "column": 27 }, "identifierName": "averagePosition" }, "name": "averagePosition" }, "init": { "type": "NewExpression", "start": 919, "end": 931, "loc": { "start": { "line": 35, "column": 30 }, "end": { "line": 35, "column": 42 } }, "callee": { "type": "Identifier", "start": 923, "end": 929, "loc": { "start": { "line": 35, "column": 34 }, "end": { "line": 35, "column": 40 }, "identifierName": "Vector" }, "name": "Vector" }, "arguments": [] } } ], "kind": "let", "trailingComments": [ { "type": "CommentLine", "value": " First, create a copy", "start": 944, "end": 967, "loc": { "start": { "line": 37, "column": 8 }, "end": { "line": 37, "column": 31 } } } ] }, { "type": "ForStatement", "start": 977, "end": 1388, "loc": { "start": { "line": 38, "column": 8 }, "end": { "line": 47, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 982, "end": 991, "loc": { "start": { "line": 38, "column": 13 }, "end": { "line": 38, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 986, "end": 991, "loc": { "start": { "line": 38, "column": 17 }, "end": { "line": 38, "column": 22 } }, "id": { "type": "Identifier", "start": 986, "end": 987, "loc": { "start": { "line": 38, "column": 17 }, "end": { "line": 38, "column": 18 }, "identifierName": "i" }, "name": "i", "leadingComments": null }, "init": { "type": "NumericLiteral", "start": 990, "end": 991, "loc": { "start": { "line": 38, "column": 21 }, "end": { "line": 38, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "leadingComments": null } ], "kind": "let", "leadingComments": null }, "test": { "type": "BinaryExpression", "start": 993, "end": 1008, "loc": { "start": { "line": 38, "column": 24 }, "end": { "line": 38, "column": 39 } }, "left": { "type": "Identifier", "start": 993, "end": 994, "loc": { "start": { "line": 38, "column": 24 }, "end": { "line": 38, "column": 25 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 997, "end": 1008, "loc": { "start": { "line": 38, "column": 28 }, "end": { "line": 38, "column": 39 } }, "object": { "type": "Identifier", "start": 997, "end": 1001, "loc": { "start": { "line": 38, "column": 28 }, "end": { "line": 38, "column": 32 }, "identifierName": "uids" }, "name": "uids" }, "property": { "type": "Identifier", "start": 1002, "end": 1008, "loc": { "start": { "line": 38, "column": 33 }, "end": { "line": 38, "column": 39 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 1010, "end": 1013, "loc": { "start": { "line": 38, "column": 41 }, "end": { "line": 38, "column": 44 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 1012, "end": 1013, "loc": { "start": { "line": 38, "column": 43 }, "end": { "line": 38, "column": 44 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 1015, "end": 1388, "loc": { "start": { "line": 38, "column": 46 }, "end": { "line": 47, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 1030, "end": 1079, "loc": { "start": { "line": 39, "column": 12 }, "end": { "line": 39, "column": 61 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1036, "end": 1078, "loc": { "start": { "line": 39, "column": 18 }, "end": { "line": 39, "column": 60 } }, "id": { "type": "Identifier", "start": 1036, "end": 1042, "loc": { "start": { "line": 39, "column": 18 }, "end": { "line": 39, "column": 24 }, "identifierName": "entity" }, "name": "entity" }, "init": { "type": "CallExpression", "start": 1045, "end": 1078, "loc": { "start": { "line": 39, "column": 27 }, "end": { "line": 39, "column": 60 } }, "callee": { "type": "MemberExpression", "start": 1045, "end": 1069, "loc": { "start": { "line": 39, "column": 27 }, "end": { "line": 39, "column": 51 } }, "object": { "type": "MemberExpression", "start": 1045, "end": 1059, "loc": { "start": { "line": 39, "column": 27 }, "end": { "line": 39, "column": 41 } }, "object": { "type": "Identifier", "start": 1045, "end": 1049, "loc": { "start": { "line": 39, "column": 27 }, "end": { "line": 39, "column": 31 }, "identifierName": "root" }, "name": "root" }, "property": { "type": "Identifier", "start": 1050, "end": 1059, "loc": { "start": { "line": 39, "column": 32 }, "end": { "line": 39, "column": 41 }, "identifierName": "entityMgr" }, "name": "entityMgr" }, "computed": false }, "property": { "type": "Identifier", "start": 1060, "end": 1069, "loc": { "start": { "line": 39, "column": 42 }, "end": { "line": 39, "column": 51 }, "identifierName": "findByUid" }, "name": "findByUid" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 1070, "end": 1077, "loc": { "start": { "line": 39, "column": 52 }, "end": { "line": 39, "column": 59 } }, "object": { "type": "Identifier", "start": 1070, "end": 1074, "loc": { "start": { "line": 39, "column": 52 }, "end": { "line": 39, "column": 56 }, "identifierName": "uids" }, "name": "uids" }, "property": { "type": "Identifier", "start": 1075, "end": 1076, "loc": { "start": { "line": 39, "column": 57 }, "end": { "line": 39, "column": 58 }, "identifierName": "i" }, "name": "i" }, "computed": true } ] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 1093, "end": 1153, "loc": { "start": { "line": 40, "column": 12 }, "end": { "line": 40, "column": 72 } }, "expression": { "type": "CallExpression", "start": 1093, "end": 1152, "loc": { "start": { "line": 40, "column": 12 }, "end": { "line": 40, "column": 71 } }, "callee": { "type": "Identifier", "start": 1093, "end": 1099, "loc": { "start": { "line": 40, "column": 12 }, "end": { "line": 40, "column": 18 }, "identifierName": "assert" }, "name": "assert" }, "arguments": [ { "type": "Identifier", "start": 1100, "end": 1106, "loc": { "start": { "line": 40, "column": 19 }, "end": { "line": 40, "column": 25 }, "identifierName": "entity" }, "name": "entity" }, { "type": "BinaryExpression", "start": 1108, "end": 1151, "loc": { "start": { "line": 40, "column": 27 }, "end": { "line": 40, "column": 70 } }, "left": { "type": "StringLiteral", "start": 1108, "end": 1141, "loc": { "start": { "line": 40, "column": 27 }, "end": { "line": 40, "column": 60 } }, "extra": { "rawValue": "Entity for blueprint not found:", "raw": "\"Entity for blueprint not found:\"" }, "value": "Entity for blueprint not found:" }, "operator": "+", "right": { "type": "MemberExpression", "start": 1144, "end": 1151, "loc": { "start": { "line": 40, "column": 63 }, "end": { "line": 40, "column": 70 } }, "object": { "type": "Identifier", "start": 1144, "end": 1148, "loc": { "start": { "line": 40, "column": 63 }, "end": { "line": 40, "column": 67 }, "identifierName": "uids" }, "name": "uids" }, "property": { "type": "Identifier", "start": 1149, "end": 1150, "loc": { "start": { "line": 40, "column": 68 }, "end": { "line": 40, "column": 69 }, "identifierName": "i" }, "name": "i" }, "computed": true } } ] } }, { "type": "VariableDeclaration", "start": 1169, "end": 1198, "loc": { "start": { "line": 42, "column": 12 }, "end": { "line": 42, "column": 41 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1175, "end": 1197, "loc": { "start": { "line": 42, "column": 18 }, "end": { "line": 42, "column": 40 } }, "id": { "type": "Identifier", "start": 1175, "end": 1180, "loc": { "start": { "line": 42, "column": 18 }, "end": { "line": 42, "column": 23 }, "identifierName": "clone" }, "name": "clone" }, "init": { "type": "CallExpression", "start": 1183, "end": 1197, "loc": { "start": { "line": 42, "column": 26 }, "end": { "line": 42, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 1183, "end": 1195, "loc": { "start": { "line": 42, "column": 26 }, "end": { "line": 42, "column": 38 } }, "object": { "type": "Identifier", "start": 1183, "end": 1189, "loc": { "start": { "line": 42, "column": 26 }, "end": { "line": 42, "column": 32 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 1190, "end": 1195, "loc": { "start": { "line": 42, "column": 33 }, "end": { "line": 42, "column": 38 }, "identifierName": "clone" }, "name": "clone" }, "computed": false }, "arguments": [] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 1212, "end": 1236, "loc": { "start": { "line": 43, "column": 12 }, "end": { "line": 43, "column": 36 } }, "expression": { "type": "CallExpression", "start": 1212, "end": 1235, "loc": { "start": { "line": 43, "column": 12 }, "end": { "line": 43, "column": 35 } }, "callee": { "type": "MemberExpression", "start": 1212, "end": 1228, "loc": { "start": { "line": 43, "column": 12 }, "end": { "line": 43, "column": 28 } }, "object": { "type": "Identifier", "start": 1212, "end": 1223, "loc": { "start": { "line": 43, "column": 12 }, "end": { "line": 43, "column": 23 }, "identifierName": "newEntities" }, "name": "newEntities" }, "property": { "type": "Identifier", "start": 1224, "end": 1228, "loc": { "start": { "line": 43, "column": 24 }, "end": { "line": 43, "column": 28 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 1229, "end": 1234, "loc": { "start": { "line": 43, "column": 29 }, "end": { "line": 43, "column": 34 }, "identifierName": "clone" }, "name": "clone" } ] } }, { "type": "VariableDeclaration", "start": 1252, "end": 1331, "loc": { "start": { "line": 45, "column": 12 }, "end": { "line": 45, "column": 91 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1258, "end": 1330, "loc": { "start": { "line": 45, "column": 18 }, "end": { "line": 45, "column": 90 } }, "id": { "type": "Identifier", "start": 1258, "end": 1261, "loc": { "start": { "line": 45, "column": 18 }, "end": { "line": 45, "column": 21 }, "identifierName": "pos" }, "name": "pos" }, "init": { "type": "CallExpression", "start": 1264, "end": 1330, "loc": { "start": { "line": 45, "column": 24 }, "end": { "line": 45, "column": 90 } }, "callee": { "type": "MemberExpression", "start": 1264, "end": 1328, "loc": { "start": { "line": 45, "column": 24 }, "end": { "line": 45, "column": 88 } }, "object": { "type": "CallExpression", "start": 1264, "end": 1318, "loc": { "start": { "line": 45, "column": 24 }, "end": { "line": 45, "column": 78 } }, "callee": { "type": "MemberExpression", "start": 1264, "end": 1316, "loc": { "start": { "line": 45, "column": 24 }, "end": { "line": 45, "column": 76 } }, "object": { "type": "MemberExpression", "start": 1264, "end": 1297, "loc": { "start": { "line": 45, "column": 24 }, "end": { "line": 45, "column": 57 } }, "object": { "type": "MemberExpression", "start": 1264, "end": 1281, "loc": { "start": { "line": 45, "column": 24 }, "end": { "line": 45, "column": 41 } }, "object": { "type": "Identifier", "start": 1264, "end": 1270, "loc": { "start": { "line": 45, "column": 24 }, "end": { "line": 45, "column": 30 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 1271, "end": 1281, "loc": { "start": { "line": 45, "column": 31 }, "end": { "line": 45, "column": 41 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 1282, "end": 1297, "loc": { "start": { "line": 45, "column": 42 }, "end": { "line": 45, "column": 57 }, "identifierName": "StaticMapEntity" }, "name": "StaticMapEntity" }, "computed": false }, "property": { "type": "Identifier", "start": 1298, "end": 1316, "loc": { "start": { "line": 45, "column": 58 }, "end": { "line": 45, "column": 76 }, "identifierName": "getTileSpaceBounds" }, "name": "getTileSpaceBounds" }, "computed": false }, "arguments": [] }, "property": { "type": "Identifier", "start": 1319, "end": 1328, "loc": { "start": { "line": 45, "column": 79 }, "end": { "line": 45, "column": 88 }, "identifierName": "getCenter" }, "name": "getCenter" }, "computed": false }, "arguments": [] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 1345, "end": 1377, "loc": { "start": { "line": 46, "column": 12 }, "end": { "line": 46, "column": 44 } }, "expression": { "type": "CallExpression", "start": 1345, "end": 1376, "loc": { "start": { "line": 46, "column": 12 }, "end": { "line": 46, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 1345, "end": 1371, "loc": { "start": { "line": 46, "column": 12 }, "end": { "line": 46, "column": 38 } }, "object": { "type": "Identifier", "start": 1345, "end": 1360, "loc": { "start": { "line": 46, "column": 12 }, "end": { "line": 46, "column": 27 }, "identifierName": "averagePosition" }, "name": "averagePosition" }, "property": { "type": "Identifier", "start": 1361, "end": 1371, "loc": { "start": { "line": 46, "column": 28 }, "end": { "line": 46, "column": 38 }, "identifierName": "addInplace" }, "name": "addInplace" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 1372, "end": 1375, "loc": { "start": { "line": 46, "column": 39 }, "end": { "line": 46, "column": 42 }, "identifierName": "pos" }, "name": "pos" } ] } } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " First, create a copy", "start": 944, "end": 967, "loc": { "start": { "line": 37, "column": 8 }, "end": { "line": 37, "column": 31 } } } ] }, { "type": "ExpressionStatement", "start": 1400, "end": 1449, "loc": { "start": { "line": 49, "column": 8 }, "end": { "line": 49, "column": 57 } }, "expression": { "type": "CallExpression", "start": 1400, "end": 1448, "loc": { "start": { "line": 49, "column": 8 }, "end": { "line": 49, "column": 56 } }, "callee": { "type": "MemberExpression", "start": 1400, "end": 1435, "loc": { "start": { "line": 49, "column": 8 }, "end": { "line": 49, "column": 43 } }, "object": { "type": "Identifier", "start": 1400, "end": 1415, "loc": { "start": { "line": 49, "column": 8 }, "end": { "line": 49, "column": 23 }, "identifierName": "averagePosition" }, "name": "averagePosition" }, "property": { "type": "Identifier", "start": 1416, "end": 1435, "loc": { "start": { "line": 49, "column": 24 }, "end": { "line": 49, "column": 43 }, "identifierName": "divideScalarInplace" }, "name": "divideScalarInplace" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 1436, "end": 1447, "loc": { "start": { "line": 49, "column": 44 }, "end": { "line": 49, "column": 55 } }, "object": { "type": "Identifier", "start": 1436, "end": 1440, "loc": { "start": { "line": 49, "column": 44 }, "end": { "line": 49, "column": 48 }, "identifierName": "uids" }, "name": "uids" }, "property": { "type": "Identifier", "start": 1441, "end": 1447, "loc": { "start": { "line": 49, "column": 49 }, "end": { "line": 49, "column": 55 }, "identifierName": "length" }, "name": "length" }, "computed": false } ] } }, { "type": "VariableDeclaration", "start": 1459, "end": 1528, "loc": { "start": { "line": 50, "column": 8 }, "end": { "line": 50, "column": 77 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1465, "end": 1527, "loc": { "start": { "line": 50, "column": 14 }, "end": { "line": 50, "column": 76 } }, "id": { "type": "Identifier", "start": 1465, "end": 1480, "loc": { "start": { "line": 50, "column": 14 }, "end": { "line": 50, "column": 29 }, "identifierName": "blueprintOrigin" }, "name": "blueprintOrigin" }, "init": { "type": "CallExpression", "start": 1483, "end": 1527, "loc": { "start": { "line": 50, "column": 32 }, "end": { "line": 50, "column": 76 } }, "callee": { "type": "MemberExpression", "start": 1483, "end": 1525, "loc": { "start": { "line": 50, "column": 32 }, "end": { "line": 50, "column": 74 } }, "object": { "type": "CallExpression", "start": 1483, "end": 1519, "loc": { "start": { "line": 50, "column": 32 }, "end": { "line": 50, "column": 68 } }, "callee": { "type": "MemberExpression", "start": 1483, "end": 1509, "loc": { "start": { "line": 50, "column": 32 }, "end": { "line": 50, "column": 58 } }, "object": { "type": "Identifier", "start": 1483, "end": 1498, "loc": { "start": { "line": 50, "column": 32 }, "end": { "line": 50, "column": 47 }, "identifierName": "averagePosition" }, "name": "averagePosition" }, "property": { "type": "Identifier", "start": 1499, "end": 1509, "loc": { "start": { "line": 50, "column": 48 }, "end": { "line": 50, "column": 58 }, "identifierName": "subScalars" }, "name": "subScalars" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 1510, "end": 1513, "loc": { "start": { "line": 50, "column": 59 }, "end": { "line": 50, "column": 62 } }, "extra": { "rawValue": 0.5, "raw": "0.5" }, "value": 0.5 }, { "type": "NumericLiteral", "start": 1515, "end": 1518, "loc": { "start": { "line": 50, "column": 64 }, "end": { "line": 50, "column": 67 } }, "extra": { "rawValue": 0.5, "raw": "0.5" }, "value": 0.5 } ] }, "property": { "type": "Identifier", "start": 1520, "end": 1525, "loc": { "start": { "line": 50, "column": 69 }, "end": { "line": 50, "column": 74 }, "identifierName": "floor" }, "name": "floor" }, "computed": false }, "arguments": [] } } ], "kind": "const" }, { "type": "ForStatement", "start": 1540, "end": 1681, "loc": { "start": { "line": 52, "column": 8 }, "end": { "line": 54, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 1545, "end": 1554, "loc": { "start": { "line": 52, "column": 13 }, "end": { "line": 52, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1549, "end": 1554, "loc": { "start": { "line": 52, "column": 17 }, "end": { "line": 52, "column": 22 } }, "id": { "type": "Identifier", "start": 1549, "end": 1550, "loc": { "start": { "line": 52, "column": 17 }, "end": { "line": 52, "column": 18 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 1553, "end": 1554, "loc": { "start": { "line": 52, "column": 21 }, "end": { "line": 52, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 1556, "end": 1571, "loc": { "start": { "line": 52, "column": 24 }, "end": { "line": 52, "column": 39 } }, "left": { "type": "Identifier", "start": 1556, "end": 1557, "loc": { "start": { "line": 52, "column": 24 }, "end": { "line": 52, "column": 25 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 1560, "end": 1571, "loc": { "start": { "line": 52, "column": 28 }, "end": { "line": 52, "column": 39 } }, "object": { "type": "Identifier", "start": 1560, "end": 1564, "loc": { "start": { "line": 52, "column": 28 }, "end": { "line": 52, "column": 32 }, "identifierName": "uids" }, "name": "uids" }, "property": { "type": "Identifier", "start": 1565, "end": 1571, "loc": { "start": { "line": 52, "column": 33 }, "end": { "line": 52, "column": 39 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 1573, "end": 1576, "loc": { "start": { "line": 52, "column": 41 }, "end": { "line": 52, "column": 44 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 1575, "end": 1576, "loc": { "start": { "line": 52, "column": 43 }, "end": { "line": 52, "column": 44 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 1578, "end": 1681, "loc": { "start": { "line": 52, "column": 46 }, "end": { "line": 54, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 1593, "end": 1670, "loc": { "start": { "line": 53, "column": 12 }, "end": { "line": 53, "column": 89 } }, "expression": { "type": "CallExpression", "start": 1593, "end": 1669, "loc": { "start": { "line": 53, "column": 12 }, "end": { "line": 53, "column": 88 } }, "callee": { "type": "MemberExpression", "start": 1593, "end": 1652, "loc": { "start": { "line": 53, "column": 12 }, "end": { "line": 53, "column": 71 } }, "object": { "type": "MemberExpression", "start": 1593, "end": 1641, "loc": { "start": { "line": 53, "column": 12 }, "end": { "line": 53, "column": 60 } }, "object": { "type": "MemberExpression", "start": 1593, "end": 1634, "loc": { "start": { "line": 53, "column": 12 }, "end": { "line": 53, "column": 53 } }, "object": { "type": "MemberExpression", "start": 1593, "end": 1618, "loc": { "start": { "line": 53, "column": 12 }, "end": { "line": 53, "column": 37 } }, "object": { "type": "MemberExpression", "start": 1593, "end": 1607, "loc": { "start": { "line": 53, "column": 12 }, "end": { "line": 53, "column": 26 } }, "object": { "type": "Identifier", "start": 1593, "end": 1604, "loc": { "start": { "line": 53, "column": 12 }, "end": { "line": 53, "column": 23 }, "identifierName": "newEntities" }, "name": "newEntities" }, "property": { "type": "Identifier", "start": 1605, "end": 1606, "loc": { "start": { "line": 53, "column": 24 }, "end": { "line": 53, "column": 25 }, "identifierName": "i" }, "name": "i" }, "computed": true }, "property": { "type": "Identifier", "start": 1608, "end": 1618, "loc": { "start": { "line": 53, "column": 27 }, "end": { "line": 53, "column": 37 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 1619, "end": 1634, "loc": { "start": { "line": 53, "column": 38 }, "end": { "line": 53, "column": 53 }, "identifierName": "StaticMapEntity" }, "name": "StaticMapEntity" }, "computed": false }, "property": { "type": "Identifier", "start": 1635, "end": 1641, "loc": { "start": { "line": 53, "column": 54 }, "end": { "line": 53, "column": 60 }, "identifierName": "origin" }, "name": "origin" }, "computed": false }, "property": { "type": "Identifier", "start": 1642, "end": 1652, "loc": { "start": { "line": 53, "column": 61 }, "end": { "line": 53, "column": 71 }, "identifierName": "subInplace" }, "name": "subInplace" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 1653, "end": 1668, "loc": { "start": { "line": 53, "column": 72 }, "end": { "line": 53, "column": 87 }, "identifierName": "blueprintOrigin" }, "name": "blueprintOrigin" } ] } } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentLine", "value": " Now, make sure the origin is 0,0", "start": 1693, "end": 1728, "loc": { "start": { "line": 56, "column": 8 }, "end": { "line": 56, "column": 43 } } } ] }, { "type": "ReturnStatement", "start": 1738, "end": 1772, "loc": { "start": { "line": 57, "column": 8 }, "end": { "line": 57, "column": 42 } }, "argument": { "type": "NewExpression", "start": 1745, "end": 1771, "loc": { "start": { "line": 57, "column": 15 }, "end": { "line": 57, "column": 41 } }, "callee": { "type": "Identifier", "start": 1749, "end": 1758, "loc": { "start": { "line": 57, "column": 19 }, "end": { "line": 57, "column": 28 }, "identifierName": "Blueprint" }, "name": "Blueprint" }, "arguments": [ { "type": "Identifier", "start": 1759, "end": 1770, "loc": { "start": { "line": 57, "column": 29 }, "end": { "line": 57, "column": 40 }, "identifierName": "newEntities" }, "name": "newEntities" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Now, make sure the origin is 0,0", "start": 1693, "end": 1728, "loc": { "start": { "line": 56, "column": 8 }, "end": { "line": 56, "column": 43 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creates a new blueprint from the given entity uids\r\n * @param {GameRoot} root\r\n * @param {Array} uids\r\n ", "start": 679, "end": 817, "loc": { "start": { "line": 27, "column": 4 }, "end": { "line": 31, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns the cost of this blueprint in shapes\r\n ", "start": 1787, "end": 1852, "loc": { "start": { "line": 60, "column": 4 }, "end": { "line": 62, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 1858, "end": 2053, "loc": { "start": { "line": 63, "column": 4 }, "end": { "line": 68, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 1858, "end": 1865, "loc": { "start": { "line": 63, "column": 4 }, "end": { "line": 63, "column": 11 }, "identifierName": "getCost" }, "name": "getCost", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 1868, "end": 2053, "loc": { "start": { "line": 63, "column": 14 }, "end": { "line": 68, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 1879, "end": 1967, "loc": { "start": { "line": 64, "column": 8 }, "end": { "line": 66, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 1883, "end": 1930, "loc": { "start": { "line": 64, "column": 12 }, "end": { "line": 64, "column": 59 } }, "left": { "type": "Identifier", "start": 1883, "end": 1891, "loc": { "start": { "line": 64, "column": 12 }, "end": { "line": 64, "column": 20 }, "identifierName": "G_IS_DEV" }, "name": "G_IS_DEV" }, "operator": "&&", "right": { "type": "MemberExpression", "start": 1895, "end": 1930, "loc": { "start": { "line": 64, "column": 24 }, "end": { "line": 64, "column": 59 } }, "object": { "type": "MemberExpression", "start": 1895, "end": 1913, "loc": { "start": { "line": 64, "column": 24 }, "end": { "line": 64, "column": 42 } }, "object": { "type": "Identifier", "start": 1895, "end": 1907, "loc": { "start": { "line": 64, "column": 24 }, "end": { "line": 64, "column": 36 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 1908, "end": 1913, "loc": { "start": { "line": 64, "column": 37 }, "end": { "line": 64, "column": 42 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "property": { "type": "Identifier", "start": 1914, "end": 1930, "loc": { "start": { "line": 64, "column": 43 }, "end": { "line": 64, "column": 59 }, "identifierName": "blueprintsNoCost" }, "name": "blueprintsNoCost" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 1932, "end": 1967, "loc": { "start": { "line": 64, "column": 61 }, "end": { "line": 66, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 1947, "end": 1956, "loc": { "start": { "line": 65, "column": 12 }, "end": { "line": 65, "column": 21 } }, "argument": { "type": "NumericLiteral", "start": 1954, "end": 1955, "loc": { "start": { "line": 65, "column": 19 }, "end": { "line": 65, "column": 20 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "directives": [] }, "alternate": null }, { "type": "ReturnStatement", "start": 1977, "end": 2046, "loc": { "start": { "line": 67, "column": 8 }, "end": { "line": 67, "column": 77 } }, "argument": { "type": "CallExpression", "start": 1984, "end": 2045, "loc": { "start": { "line": 67, "column": 15 }, "end": { "line": 67, "column": 76 } }, "callee": { "type": "Identifier", "start": 1984, "end": 2004, "loc": { "start": { "line": 67, "column": 15 }, "end": { "line": 67, "column": 35 }, "identifierName": "findNiceIntegerValue" }, "name": "findNiceIntegerValue" }, "arguments": [ { "type": "BinaryExpression", "start": 2005, "end": 2044, "loc": { "start": { "line": 67, "column": 36 }, "end": { "line": 67, "column": 75 } }, "left": { "type": "NumericLiteral", "start": 2005, "end": 2006, "loc": { "start": { "line": 67, "column": 36 }, "end": { "line": 67, "column": 37 } }, "extra": { "rawValue": 4, "raw": "4" }, "value": 4 }, "operator": "*", "right": { "type": "CallExpression", "start": 2009, "end": 2044, "loc": { "start": { "line": 67, "column": 40 }, "end": { "line": 67, "column": 75 } }, "callee": { "type": "MemberExpression", "start": 2009, "end": 2017, "loc": { "start": { "line": 67, "column": 40 }, "end": { "line": 67, "column": 48 } }, "object": { "type": "Identifier", "start": 2009, "end": 2013, "loc": { "start": { "line": 67, "column": 40 }, "end": { "line": 67, "column": 44 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 2014, "end": 2017, "loc": { "start": { "line": 67, "column": 45 }, "end": { "line": 67, "column": 48 }, "identifierName": "pow" }, "name": "pow" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 2018, "end": 2038, "loc": { "start": { "line": 67, "column": 49 }, "end": { "line": 67, "column": 69 } }, "object": { "type": "MemberExpression", "start": 2018, "end": 2031, "loc": { "start": { "line": 67, "column": 49 }, "end": { "line": 67, "column": 62 } }, "object": { "type": "ThisExpression", "start": 2018, "end": 2022, "loc": { "start": { "line": 67, "column": 49 }, "end": { "line": 67, "column": 53 } } }, "property": { "type": "Identifier", "start": 2023, "end": 2031, "loc": { "start": { "line": 67, "column": 54 }, "end": { "line": 67, "column": 62 }, "identifierName": "entities" }, "name": "entities" }, "computed": false }, "property": { "type": "Identifier", "start": 2032, "end": 2038, "loc": { "start": { "line": 67, "column": 63 }, "end": { "line": 67, "column": 69 }, "identifierName": "length" }, "name": "length" }, "computed": false }, { "type": "NumericLiteral", "start": 2040, "end": 2043, "loc": { "start": { "line": 67, "column": 71 }, "end": { "line": 67, "column": 74 } }, "extra": { "rawValue": 1.1, "raw": "1.1" }, "value": 1.1 } ] } } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns the cost of this blueprint in shapes\r\n ", "start": 1787, "end": 1852, "loc": { "start": { "line": 60, "column": 4 }, "end": { "line": 62, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Draws the blueprint at the given origin\r\n * @param {DrawParameters} parameters\r\n ", "start": 2061, "end": 2164, "loc": { "start": { "line": 70, "column": 4 }, "end": { "line": 73, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 2170, "end": 2968, "loc": { "start": { "line": 74, "column": 4 }, "end": { "line": 93, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 2170, "end": 2174, "loc": { "start": { "line": 74, "column": 4 }, "end": { "line": 74, "column": 8 }, "identifierName": "draw" }, "name": "draw", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2175, "end": 2185, "loc": { "start": { "line": 74, "column": 9 }, "end": { "line": 74, "column": 19 }, "identifierName": "parameters" }, "name": "parameters" }, { "type": "Identifier", "start": 2187, "end": 2191, "loc": { "start": { "line": 74, "column": 21 }, "end": { "line": 74, "column": 25 }, "identifierName": "tile" }, "name": "tile" } ], "body": { "type": "BlockStatement", "start": 2193, "end": 2968, "loc": { "start": { "line": 74, "column": 27 }, "end": { "line": 93, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 2204, "end": 2241, "loc": { "start": { "line": 75, "column": 8 }, "end": { "line": 75, "column": 45 } }, "expression": { "type": "AssignmentExpression", "start": 2204, "end": 2240, "loc": { "start": { "line": 75, "column": 8 }, "end": { "line": 75, "column": 44 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2204, "end": 2234, "loc": { "start": { "line": 75, "column": 8 }, "end": { "line": 75, "column": 38 } }, "object": { "type": "MemberExpression", "start": 2204, "end": 2222, "loc": { "start": { "line": 75, "column": 8 }, "end": { "line": 75, "column": 26 } }, "object": { "type": "Identifier", "start": 2204, "end": 2214, "loc": { "start": { "line": 75, "column": 8 }, "end": { "line": 75, "column": 18 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 2215, "end": 2222, "loc": { "start": { "line": 75, "column": 19 }, "end": { "line": 75, "column": 26 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 2223, "end": 2234, "loc": { "start": { "line": 75, "column": 27 }, "end": { "line": 75, "column": 38 }, "identifierName": "globalAlpha" }, "name": "globalAlpha" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 2237, "end": 2240, "loc": { "start": { "line": 75, "column": 41 }, "end": { "line": 75, "column": 44 } }, "extra": { "rawValue": 0.8, "raw": "0.8" }, "value": 0.8 } } }, { "type": "ForStatement", "start": 2251, "end": 2916, "loc": { "start": { "line": 76, "column": 8 }, "end": { "line": 91, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 2256, "end": 2265, "loc": { "start": { "line": 76, "column": 13 }, "end": { "line": 76, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2260, "end": 2265, "loc": { "start": { "line": 76, "column": 17 }, "end": { "line": 76, "column": 22 } }, "id": { "type": "Identifier", "start": 2260, "end": 2261, "loc": { "start": { "line": 76, "column": 17 }, "end": { "line": 76, "column": 18 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 2264, "end": 2265, "loc": { "start": { "line": 76, "column": 21 }, "end": { "line": 76, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 2267, "end": 2291, "loc": { "start": { "line": 76, "column": 24 }, "end": { "line": 76, "column": 48 } }, "left": { "type": "Identifier", "start": 2267, "end": 2268, "loc": { "start": { "line": 76, "column": 24 }, "end": { "line": 76, "column": 25 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 2271, "end": 2291, "loc": { "start": { "line": 76, "column": 28 }, "end": { "line": 76, "column": 48 } }, "object": { "type": "MemberExpression", "start": 2271, "end": 2284, "loc": { "start": { "line": 76, "column": 28 }, "end": { "line": 76, "column": 41 } }, "object": { "type": "ThisExpression", "start": 2271, "end": 2275, "loc": { "start": { "line": 76, "column": 28 }, "end": { "line": 76, "column": 32 } } }, "property": { "type": "Identifier", "start": 2276, "end": 2284, "loc": { "start": { "line": 76, "column": 33 }, "end": { "line": 76, "column": 41 }, "identifierName": "entities" }, "name": "entities" }, "computed": false }, "property": { "type": "Identifier", "start": 2285, "end": 2291, "loc": { "start": { "line": 76, "column": 42 }, "end": { "line": 76, "column": 48 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 2293, "end": 2296, "loc": { "start": { "line": 76, "column": 50 }, "end": { "line": 76, "column": 53 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 2295, "end": 2296, "loc": { "start": { "line": 76, "column": 52 }, "end": { "line": 76, "column": 53 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 2298, "end": 2916, "loc": { "start": { "line": 76, "column": 55 }, "end": { "line": 91, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 2313, "end": 2345, "loc": { "start": { "line": 77, "column": 12 }, "end": { "line": 77, "column": 44 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2319, "end": 2344, "loc": { "start": { "line": 77, "column": 18 }, "end": { "line": 77, "column": 43 } }, "id": { "type": "Identifier", "start": 2319, "end": 2325, "loc": { "start": { "line": 77, "column": 18 }, "end": { "line": 77, "column": 24 }, "identifierName": "entity" }, "name": "entity" }, "init": { "type": "MemberExpression", "start": 2328, "end": 2344, "loc": { "start": { "line": 77, "column": 27 }, "end": { "line": 77, "column": 43 } }, "object": { "type": "MemberExpression", "start": 2328, "end": 2341, "loc": { "start": { "line": 77, "column": 27 }, "end": { "line": 77, "column": 40 } }, "object": { "type": "ThisExpression", "start": 2328, "end": 2332, "loc": { "start": { "line": 77, "column": 27 }, "end": { "line": 77, "column": 31 } } }, "property": { "type": "Identifier", "start": 2333, "end": 2341, "loc": { "start": { "line": 77, "column": 32 }, "end": { "line": 77, "column": 40 }, "identifierName": "entities" }, "name": "entities" }, "computed": false }, "property": { "type": "Identifier", "start": 2342, "end": 2343, "loc": { "start": { "line": 77, "column": 41 }, "end": { "line": 77, "column": 42 }, "identifierName": "i" }, "name": "i" }, "computed": true } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 2359, "end": 2412, "loc": { "start": { "line": 78, "column": 12 }, "end": { "line": 78, "column": 65 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2365, "end": 2411, "loc": { "start": { "line": 78, "column": 18 }, "end": { "line": 78, "column": 64 } }, "id": { "type": "Identifier", "start": 2365, "end": 2375, "loc": { "start": { "line": 78, "column": 18 }, "end": { "line": 78, "column": 28 }, "identifierName": "staticComp" }, "name": "staticComp" }, "init": { "type": "MemberExpression", "start": 2378, "end": 2411, "loc": { "start": { "line": 78, "column": 31 }, "end": { "line": 78, "column": 64 } }, "object": { "type": "MemberExpression", "start": 2378, "end": 2395, "loc": { "start": { "line": 78, "column": 31 }, "end": { "line": 78, "column": 48 } }, "object": { "type": "Identifier", "start": 2378, "end": 2384, "loc": { "start": { "line": 78, "column": 31 }, "end": { "line": 78, "column": 37 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 2385, "end": 2395, "loc": { "start": { "line": 78, "column": 38 }, "end": { "line": 78, "column": 48 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 2396, "end": 2411, "loc": { "start": { "line": 78, "column": 49 }, "end": { "line": 78, "column": 64 }, "identifierName": "StaticMapEntity" }, "name": "StaticMapEntity" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 2426, "end": 2469, "loc": { "start": { "line": 79, "column": 12 }, "end": { "line": 79, "column": 55 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2432, "end": 2468, "loc": { "start": { "line": 79, "column": 18 }, "end": { "line": 79, "column": 54 } }, "id": { "type": "Identifier", "start": 2432, "end": 2438, "loc": { "start": { "line": 79, "column": 18 }, "end": { "line": 79, "column": 24 }, "identifierName": "newPos" }, "name": "newPos" }, "init": { "type": "CallExpression", "start": 2441, "end": 2468, "loc": { "start": { "line": 79, "column": 27 }, "end": { "line": 79, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 2441, "end": 2462, "loc": { "start": { "line": 79, "column": 27 }, "end": { "line": 79, "column": 48 } }, "object": { "type": "MemberExpression", "start": 2441, "end": 2458, "loc": { "start": { "line": 79, "column": 27 }, "end": { "line": 79, "column": 44 } }, "object": { "type": "Identifier", "start": 2441, "end": 2451, "loc": { "start": { "line": 79, "column": 27 }, "end": { "line": 79, "column": 37 }, "identifierName": "staticComp" }, "name": "staticComp" }, "property": { "type": "Identifier", "start": 2452, "end": 2458, "loc": { "start": { "line": 79, "column": 38 }, "end": { "line": 79, "column": 44 }, "identifierName": "origin" }, "name": "origin" }, "computed": false }, "property": { "type": "Identifier", "start": 2459, "end": 2462, "loc": { "start": { "line": 79, "column": 45 }, "end": { "line": 79, "column": 48 }, "identifierName": "add" }, "name": "add" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 2463, "end": 2467, "loc": { "start": { "line": 79, "column": 49 }, "end": { "line": 79, "column": 53 }, "identifierName": "tile" }, "name": "tile" } ] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 2485, "end": 2530, "loc": { "start": { "line": 81, "column": 12 }, "end": { "line": 81, "column": 57 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2491, "end": 2529, "loc": { "start": { "line": 81, "column": 18 }, "end": { "line": 81, "column": 56 } }, "id": { "type": "Identifier", "start": 2491, "end": 2495, "loc": { "start": { "line": 81, "column": 18 }, "end": { "line": 81, "column": 22 }, "identifierName": "rect" }, "name": "rect" }, "init": { "type": "CallExpression", "start": 2498, "end": 2529, "loc": { "start": { "line": 81, "column": 25 }, "end": { "line": 81, "column": 56 } }, "callee": { "type": "MemberExpression", "start": 2498, "end": 2527, "loc": { "start": { "line": 81, "column": 25 }, "end": { "line": 81, "column": 54 } }, "object": { "type": "Identifier", "start": 2498, "end": 2508, "loc": { "start": { "line": 81, "column": 25 }, "end": { "line": 81, "column": 35 }, "identifierName": "staticComp" }, "name": "staticComp" }, "property": { "type": "Identifier", "start": 2509, "end": 2527, "loc": { "start": { "line": 81, "column": 36 }, "end": { "line": 81, "column": 54 }, "identifierName": "getTileSpaceBounds" }, "name": "getTileSpaceBounds" }, "computed": false }, "arguments": [] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 2544, "end": 2572, "loc": { "start": { "line": 82, "column": 12 }, "end": { "line": 82, "column": 40 } }, "expression": { "type": "CallExpression", "start": 2544, "end": 2571, "loc": { "start": { "line": 82, "column": 12 }, "end": { "line": 82, "column": 39 } }, "callee": { "type": "MemberExpression", "start": 2544, "end": 2555, "loc": { "start": { "line": 82, "column": 12 }, "end": { "line": 82, "column": 23 } }, "object": { "type": "Identifier", "start": 2544, "end": 2548, "loc": { "start": { "line": 82, "column": 12 }, "end": { "line": 82, "column": 16 }, "identifierName": "rect" }, "name": "rect" }, "property": { "type": "Identifier", "start": 2549, "end": 2555, "loc": { "start": { "line": 82, "column": 17 }, "end": { "line": 82, "column": 23 }, "identifierName": "moveBy" }, "name": "moveBy" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 2556, "end": 2562, "loc": { "start": { "line": 82, "column": 24 }, "end": { "line": 82, "column": 30 } }, "object": { "type": "Identifier", "start": 2556, "end": 2560, "loc": { "start": { "line": 82, "column": 24 }, "end": { "line": 82, "column": 28 }, "identifierName": "tile" }, "name": "tile" }, "property": { "type": "Identifier", "start": 2561, "end": 2562, "loc": { "start": { "line": 82, "column": 29 }, "end": { "line": 82, "column": 30 }, "identifierName": "x" }, "name": "x" }, "computed": false }, { "type": "MemberExpression", "start": 2564, "end": 2570, "loc": { "start": { "line": 82, "column": 32 }, "end": { "line": 82, "column": 38 } }, "object": { "type": "Identifier", "start": 2564, "end": 2568, "loc": { "start": { "line": 82, "column": 32 }, "end": { "line": 82, "column": 36 }, "identifierName": "tile" }, "name": "tile" }, "property": { "type": "Identifier", "start": 2569, "end": 2570, "loc": { "start": { "line": 82, "column": 37 }, "end": { "line": 82, "column": 38 }, "identifierName": "y" }, "name": "y" }, "computed": false } ] } }, { "type": "IfStatement", "start": 2588, "end": 2796, "loc": { "start": { "line": 84, "column": 12 }, "end": { "line": 88, "column": 13 } }, "test": { "type": "UnaryExpression", "start": 2592, "end": 2648, "loc": { "start": { "line": 84, "column": 16 }, "end": { "line": 84, "column": 72 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 2593, "end": 2648, "loc": { "start": { "line": 84, "column": 17 }, "end": { "line": 84, "column": 72 } }, "callee": { "type": "MemberExpression", "start": 2593, "end": 2634, "loc": { "start": { "line": 84, "column": 17 }, "end": { "line": 84, "column": 58 } }, "object": { "type": "MemberExpression", "start": 2593, "end": 2614, "loc": { "start": { "line": 84, "column": 17 }, "end": { "line": 84, "column": 38 } }, "object": { "type": "MemberExpression", "start": 2593, "end": 2608, "loc": { "start": { "line": 84, "column": 17 }, "end": { "line": 84, "column": 32 } }, "object": { "type": "Identifier", "start": 2593, "end": 2603, "loc": { "start": { "line": 84, "column": 17 }, "end": { "line": 84, "column": 27 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 2604, "end": 2608, "loc": { "start": { "line": 84, "column": 28 }, "end": { "line": 84, "column": 32 }, "identifierName": "root" }, "name": "root" }, "computed": false }, "property": { "type": "Identifier", "start": 2609, "end": 2614, "loc": { "start": { "line": 84, "column": 33 }, "end": { "line": 84, "column": 38 }, "identifierName": "logic" }, "name": "logic" }, "computed": false }, "property": { "type": "Identifier", "start": 2615, "end": 2634, "loc": { "start": { "line": 84, "column": 39 }, "end": { "line": 84, "column": 58 }, "identifierName": "checkCanPlaceEntity" }, "name": "checkCanPlaceEntity" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 2635, "end": 2641, "loc": { "start": { "line": 84, "column": 59 }, "end": { "line": 84, "column": 65 }, "identifierName": "entity" }, "name": "entity" }, { "type": "Identifier", "start": 2643, "end": 2647, "loc": { "start": { "line": 84, "column": 67 }, "end": { "line": 84, "column": 71 }, "identifierName": "tile" }, "name": "tile" } ] }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 2650, "end": 2721, "loc": { "start": { "line": 84, "column": 74 }, "end": { "line": 86, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 2669, "end": 2706, "loc": { "start": { "line": 85, "column": 16 }, "end": { "line": 85, "column": 53 } }, "expression": { "type": "AssignmentExpression", "start": 2669, "end": 2705, "loc": { "start": { "line": 85, "column": 16 }, "end": { "line": 85, "column": 52 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2669, "end": 2699, "loc": { "start": { "line": 85, "column": 16 }, "end": { "line": 85, "column": 46 } }, "object": { "type": "MemberExpression", "start": 2669, "end": 2687, "loc": { "start": { "line": 85, "column": 16 }, "end": { "line": 85, "column": 34 } }, "object": { "type": "Identifier", "start": 2669, "end": 2679, "loc": { "start": { "line": 85, "column": 16 }, "end": { "line": 85, "column": 26 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 2680, "end": 2687, "loc": { "start": { "line": 85, "column": 27 }, "end": { "line": 85, "column": 34 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 2688, "end": 2699, "loc": { "start": { "line": 85, "column": 35 }, "end": { "line": 85, "column": 46 }, "identifierName": "globalAlpha" }, "name": "globalAlpha" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 2702, "end": 2705, "loc": { "start": { "line": 85, "column": 49 }, "end": { "line": 85, "column": 52 } }, "extra": { "rawValue": 0.3, "raw": "0.3" }, "value": 0.3 } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 2727, "end": 2796, "loc": { "start": { "line": 86, "column": 19 }, "end": { "line": 88, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 2746, "end": 2781, "loc": { "start": { "line": 87, "column": 16 }, "end": { "line": 87, "column": 51 } }, "expression": { "type": "AssignmentExpression", "start": 2746, "end": 2780, "loc": { "start": { "line": 87, "column": 16 }, "end": { "line": 87, "column": 50 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2746, "end": 2776, "loc": { "start": { "line": 87, "column": 16 }, "end": { "line": 87, "column": 46 } }, "object": { "type": "MemberExpression", "start": 2746, "end": 2764, "loc": { "start": { "line": 87, "column": 16 }, "end": { "line": 87, "column": 34 } }, "object": { "type": "Identifier", "start": 2746, "end": 2756, "loc": { "start": { "line": 87, "column": 16 }, "end": { "line": 87, "column": 26 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 2757, "end": 2764, "loc": { "start": { "line": 87, "column": 27 }, "end": { "line": 87, "column": 34 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 2765, "end": 2776, "loc": { "start": { "line": 87, "column": 35 }, "end": { "line": 87, "column": 46 }, "identifierName": "globalAlpha" }, "name": "globalAlpha" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 2779, "end": 2780, "loc": { "start": { "line": 87, "column": 49 }, "end": { "line": 87, "column": 50 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } } ], "directives": [] } }, { "type": "ExpressionStatement", "start": 2812, "end": 2905, "loc": { "start": { "line": 90, "column": 12 }, "end": { "line": 90, "column": 105 } }, "expression": { "type": "CallExpression", "start": 2812, "end": 2904, "loc": { "start": { "line": 90, "column": 12 }, "end": { "line": 90, "column": 104 } }, "callee": { "type": "MemberExpression", "start": 2812, "end": 2848, "loc": { "start": { "line": 90, "column": 12 }, "end": { "line": 90, "column": 48 } }, "object": { "type": "Identifier", "start": 2812, "end": 2822, "loc": { "start": { "line": 90, "column": 12 }, "end": { "line": 90, "column": 22 }, "identifierName": "staticComp" }, "name": "staticComp" }, "property": { "type": "Identifier", "start": 2823, "end": 2848, "loc": { "start": { "line": 90, "column": 23 }, "end": { "line": 90, "column": 48 }, "identifierName": "drawSpriteOnBoundsClipped" }, "name": "drawSpriteOnBoundsClipped" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 2849, "end": 2859, "loc": { "start": { "line": 90, "column": 49 }, "end": { "line": 90, "column": 59 }, "identifierName": "parameters" }, "name": "parameters" }, { "type": "CallExpression", "start": 2861, "end": 2892, "loc": { "start": { "line": 90, "column": 61 }, "end": { "line": 90, "column": 92 } }, "callee": { "type": "MemberExpression", "start": 2861, "end": 2890, "loc": { "start": { "line": 90, "column": 61 }, "end": { "line": 90, "column": 90 } }, "object": { "type": "Identifier", "start": 2861, "end": 2871, "loc": { "start": { "line": 90, "column": 61 }, "end": { "line": 90, "column": 71 }, "identifierName": "staticComp" }, "name": "staticComp" }, "property": { "type": "Identifier", "start": 2872, "end": 2890, "loc": { "start": { "line": 90, "column": 72 }, "end": { "line": 90, "column": 90 }, "identifierName": "getBlueprintSprite" }, "name": "getBlueprintSprite" }, "computed": false }, "arguments": [] }, { "type": "NumericLiteral", "start": 2894, "end": 2895, "loc": { "start": { "line": 90, "column": 94 }, "end": { "line": 90, "column": 95 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "Identifier", "start": 2897, "end": 2903, "loc": { "start": { "line": 90, "column": 97 }, "end": { "line": 90, "column": 103 }, "identifierName": "newPos" }, "name": "newPos" } ] } } ], "directives": [] } }, { "type": "ExpressionStatement", "start": 2926, "end": 2961, "loc": { "start": { "line": 92, "column": 8 }, "end": { "line": 92, "column": 43 } }, "expression": { "type": "AssignmentExpression", "start": 2926, "end": 2960, "loc": { "start": { "line": 92, "column": 8 }, "end": { "line": 92, "column": 42 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2926, "end": 2956, "loc": { "start": { "line": 92, "column": 8 }, "end": { "line": 92, "column": 38 } }, "object": { "type": "MemberExpression", "start": 2926, "end": 2944, "loc": { "start": { "line": 92, "column": 8 }, "end": { "line": 92, "column": 26 } }, "object": { "type": "Identifier", "start": 2926, "end": 2936, "loc": { "start": { "line": 92, "column": 8 }, "end": { "line": 92, "column": 18 }, "identifierName": "parameters" }, "name": "parameters" }, "property": { "type": "Identifier", "start": 2937, "end": 2944, "loc": { "start": { "line": 92, "column": 19 }, "end": { "line": 92, "column": 26 }, "identifierName": "context" }, "name": "context" }, "computed": false }, "property": { "type": "Identifier", "start": 2945, "end": 2956, "loc": { "start": { "line": 92, "column": 27 }, "end": { "line": 92, "column": 38 }, "identifierName": "globalAlpha" }, "name": "globalAlpha" }, "computed": false }, "right": { "type": "NumericLiteral", "start": 2959, "end": 2960, "loc": { "start": { "line": 92, "column": 41 }, "end": { "line": 92, "column": 42 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Draws the blueprint at the given origin\r\n * @param {DrawParameters} parameters\r\n ", "start": 2061, "end": 2164, "loc": { "start": { "line": 70, "column": 4 }, "end": { "line": 73, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Rotates the blueprint clockwise\r\n ", "start": 2976, "end": 3028, "loc": { "start": { "line": 95, "column": 4 }, "end": { "line": 97, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 3034, "end": 3470, "loc": { "start": { "line": 98, "column": 4 }, "end": { "line": 107, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 3034, "end": 3042, "loc": { "start": { "line": 98, "column": 4 }, "end": { "line": 98, "column": 12 }, "identifierName": "rotateCw" }, "name": "rotateCw", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 3045, "end": 3470, "loc": { "start": { "line": 98, "column": 15 }, "end": { "line": 107, "column": 5 } }, "body": [ { "type": "ForStatement", "start": 3056, "end": 3463, "loc": { "start": { "line": 99, "column": 8 }, "end": { "line": 106, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 3061, "end": 3070, "loc": { "start": { "line": 99, "column": 13 }, "end": { "line": 99, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3065, "end": 3070, "loc": { "start": { "line": 99, "column": 17 }, "end": { "line": 99, "column": 22 } }, "id": { "type": "Identifier", "start": 3065, "end": 3066, "loc": { "start": { "line": 99, "column": 17 }, "end": { "line": 99, "column": 18 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 3069, "end": 3070, "loc": { "start": { "line": 99, "column": 21 }, "end": { "line": 99, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 3072, "end": 3096, "loc": { "start": { "line": 99, "column": 24 }, "end": { "line": 99, "column": 48 } }, "left": { "type": "Identifier", "start": 3072, "end": 3073, "loc": { "start": { "line": 99, "column": 24 }, "end": { "line": 99, "column": 25 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 3076, "end": 3096, "loc": { "start": { "line": 99, "column": 28 }, "end": { "line": 99, "column": 48 } }, "object": { "type": "MemberExpression", "start": 3076, "end": 3089, "loc": { "start": { "line": 99, "column": 28 }, "end": { "line": 99, "column": 41 } }, "object": { "type": "ThisExpression", "start": 3076, "end": 3080, "loc": { "start": { "line": 99, "column": 28 }, "end": { "line": 99, "column": 32 } } }, "property": { "type": "Identifier", "start": 3081, "end": 3089, "loc": { "start": { "line": 99, "column": 33 }, "end": { "line": 99, "column": 41 }, "identifierName": "entities" }, "name": "entities" }, "computed": false }, "property": { "type": "Identifier", "start": 3090, "end": 3096, "loc": { "start": { "line": 99, "column": 42 }, "end": { "line": 99, "column": 48 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 3098, "end": 3101, "loc": { "start": { "line": 99, "column": 50 }, "end": { "line": 99, "column": 53 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 3100, "end": 3101, "loc": { "start": { "line": 99, "column": 52 }, "end": { "line": 99, "column": 53 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 3103, "end": 3463, "loc": { "start": { "line": 99, "column": 55 }, "end": { "line": 106, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 3118, "end": 3150, "loc": { "start": { "line": 100, "column": 12 }, "end": { "line": 100, "column": 44 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3124, "end": 3149, "loc": { "start": { "line": 100, "column": 18 }, "end": { "line": 100, "column": 43 } }, "id": { "type": "Identifier", "start": 3124, "end": 3130, "loc": { "start": { "line": 100, "column": 18 }, "end": { "line": 100, "column": 24 }, "identifierName": "entity" }, "name": "entity" }, "init": { "type": "MemberExpression", "start": 3133, "end": 3149, "loc": { "start": { "line": 100, "column": 27 }, "end": { "line": 100, "column": 43 } }, "object": { "type": "MemberExpression", "start": 3133, "end": 3146, "loc": { "start": { "line": 100, "column": 27 }, "end": { "line": 100, "column": 40 } }, "object": { "type": "ThisExpression", "start": 3133, "end": 3137, "loc": { "start": { "line": 100, "column": 27 }, "end": { "line": 100, "column": 31 } } }, "property": { "type": "Identifier", "start": 3138, "end": 3146, "loc": { "start": { "line": 100, "column": 32 }, "end": { "line": 100, "column": 40 }, "identifierName": "entities" }, "name": "entities" }, "computed": false }, "property": { "type": "Identifier", "start": 3147, "end": 3148, "loc": { "start": { "line": 100, "column": 41 }, "end": { "line": 100, "column": 42 }, "identifierName": "i" }, "name": "i" }, "computed": true } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 3164, "end": 3217, "loc": { "start": { "line": 101, "column": 12 }, "end": { "line": 101, "column": 65 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3170, "end": 3216, "loc": { "start": { "line": 101, "column": 18 }, "end": { "line": 101, "column": 64 } }, "id": { "type": "Identifier", "start": 3170, "end": 3180, "loc": { "start": { "line": 101, "column": 18 }, "end": { "line": 101, "column": 28 }, "identifierName": "staticComp" }, "name": "staticComp" }, "init": { "type": "MemberExpression", "start": 3183, "end": 3216, "loc": { "start": { "line": 101, "column": 31 }, "end": { "line": 101, "column": 64 } }, "object": { "type": "MemberExpression", "start": 3183, "end": 3200, "loc": { "start": { "line": 101, "column": 31 }, "end": { "line": 101, "column": 48 } }, "object": { "type": "Identifier", "start": 3183, "end": 3189, "loc": { "start": { "line": 101, "column": 31 }, "end": { "line": 101, "column": 37 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 3190, "end": 3200, "loc": { "start": { "line": 101, "column": 38 }, "end": { "line": 101, "column": 48 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 3201, "end": 3216, "loc": { "start": { "line": 101, "column": 49 }, "end": { "line": 101, "column": 64 }, "identifierName": "StaticMapEntity" }, "name": "StaticMapEntity" }, "computed": false } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 3233, "end": 3288, "loc": { "start": { "line": 103, "column": 12 }, "end": { "line": 103, "column": 67 } }, "expression": { "type": "AssignmentExpression", "start": 3233, "end": 3287, "loc": { "start": { "line": 103, "column": 12 }, "end": { "line": 103, "column": 66 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3233, "end": 3252, "loc": { "start": { "line": 103, "column": 12 }, "end": { "line": 103, "column": 31 } }, "object": { "type": "Identifier", "start": 3233, "end": 3243, "loc": { "start": { "line": 103, "column": 12 }, "end": { "line": 103, "column": 22 }, "identifierName": "staticComp" }, "name": "staticComp" }, "property": { "type": "Identifier", "start": 3244, "end": 3252, "loc": { "start": { "line": 103, "column": 23 }, "end": { "line": 103, "column": 31 }, "identifierName": "rotation" }, "name": "rotation" }, "computed": false }, "right": { "type": "BinaryExpression", "start": 3255, "end": 3287, "loc": { "start": { "line": 103, "column": 34 }, "end": { "line": 103, "column": 66 } }, "left": { "type": "BinaryExpression", "start": 3256, "end": 3280, "loc": { "start": { "line": 103, "column": 35 }, "end": { "line": 103, "column": 59 } }, "left": { "type": "MemberExpression", "start": 3256, "end": 3275, "loc": { "start": { "line": 103, "column": 35 }, "end": { "line": 103, "column": 54 } }, "object": { "type": "Identifier", "start": 3256, "end": 3266, "loc": { "start": { "line": 103, "column": 35 }, "end": { "line": 103, "column": 45 }, "identifierName": "staticComp" }, "name": "staticComp" }, "property": { "type": "Identifier", "start": 3267, "end": 3275, "loc": { "start": { "line": 103, "column": 46 }, "end": { "line": 103, "column": 54 }, "identifierName": "rotation" }, "name": "rotation" }, "computed": false }, "operator": "+", "right": { "type": "NumericLiteral", "start": 3278, "end": 3280, "loc": { "start": { "line": 103, "column": 57 }, "end": { "line": 103, "column": 59 } }, "extra": { "rawValue": 90, "raw": "90" }, "value": 90 }, "extra": { "parenthesized": true, "parenStart": 3255 } }, "operator": "%", "right": { "type": "NumericLiteral", "start": 3284, "end": 3287, "loc": { "start": { "line": 103, "column": 63 }, "end": { "line": 103, "column": 66 } }, "extra": { "rawValue": 360, "raw": "360" }, "value": 360 } } } }, { "type": "ExpressionStatement", "start": 3302, "end": 3373, "loc": { "start": { "line": 104, "column": 12 }, "end": { "line": 104, "column": 83 } }, "expression": { "type": "AssignmentExpression", "start": 3302, "end": 3372, "loc": { "start": { "line": 104, "column": 12 }, "end": { "line": 104, "column": 82 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3302, "end": 3329, "loc": { "start": { "line": 104, "column": 12 }, "end": { "line": 104, "column": 39 } }, "object": { "type": "Identifier", "start": 3302, "end": 3312, "loc": { "start": { "line": 104, "column": 12 }, "end": { "line": 104, "column": 22 }, "identifierName": "staticComp" }, "name": "staticComp" }, "property": { "type": "Identifier", "start": 3313, "end": 3329, "loc": { "start": { "line": 104, "column": 23 }, "end": { "line": 104, "column": 39 }, "identifierName": "originalRotation" }, "name": "originalRotation" }, "computed": false }, "right": { "type": "BinaryExpression", "start": 3332, "end": 3372, "loc": { "start": { "line": 104, "column": 42 }, "end": { "line": 104, "column": 82 } }, "left": { "type": "BinaryExpression", "start": 3333, "end": 3365, "loc": { "start": { "line": 104, "column": 43 }, "end": { "line": 104, "column": 75 } }, "left": { "type": "MemberExpression", "start": 3333, "end": 3360, "loc": { "start": { "line": 104, "column": 43 }, "end": { "line": 104, "column": 70 } }, "object": { "type": "Identifier", "start": 3333, "end": 3343, "loc": { "start": { "line": 104, "column": 43 }, "end": { "line": 104, "column": 53 }, "identifierName": "staticComp" }, "name": "staticComp" }, "property": { "type": "Identifier", "start": 3344, "end": 3360, "loc": { "start": { "line": 104, "column": 54 }, "end": { "line": 104, "column": 70 }, "identifierName": "originalRotation" }, "name": "originalRotation" }, "computed": false }, "operator": "+", "right": { "type": "NumericLiteral", "start": 3363, "end": 3365, "loc": { "start": { "line": 104, "column": 73 }, "end": { "line": 104, "column": 75 } }, "extra": { "rawValue": 90, "raw": "90" }, "value": 90 }, "extra": { "parenthesized": true, "parenStart": 3332 } }, "operator": "%", "right": { "type": "NumericLiteral", "start": 3369, "end": 3372, "loc": { "start": { "line": 104, "column": 79 }, "end": { "line": 104, "column": 82 } }, "extra": { "rawValue": 360, "raw": "360" }, "value": 360 } } } }, { "type": "ExpressionStatement", "start": 3387, "end": 3452, "loc": { "start": { "line": 105, "column": 12 }, "end": { "line": 105, "column": 77 } }, "expression": { "type": "AssignmentExpression", "start": 3387, "end": 3451, "loc": { "start": { "line": 105, "column": 12 }, "end": { "line": 105, "column": 76 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3387, "end": 3404, "loc": { "start": { "line": 105, "column": 12 }, "end": { "line": 105, "column": 29 } }, "object": { "type": "Identifier", "start": 3387, "end": 3397, "loc": { "start": { "line": 105, "column": 12 }, "end": { "line": 105, "column": 22 }, "identifierName": "staticComp" }, "name": "staticComp" }, "property": { "type": "Identifier", "start": 3398, "end": 3404, "loc": { "start": { "line": 105, "column": 23 }, "end": { "line": 105, "column": 29 }, "identifierName": "origin" }, "name": "origin" }, "computed": false }, "right": { "type": "CallExpression", "start": 3407, "end": 3451, "loc": { "start": { "line": 105, "column": 32 }, "end": { "line": 105, "column": 76 } }, "callee": { "type": "MemberExpression", "start": 3407, "end": 3447, "loc": { "start": { "line": 105, "column": 32 }, "end": { "line": 105, "column": 72 } }, "object": { "type": "MemberExpression", "start": 3407, "end": 3424, "loc": { "start": { "line": 105, "column": 32 }, "end": { "line": 105, "column": 49 } }, "object": { "type": "Identifier", "start": 3407, "end": 3417, "loc": { "start": { "line": 105, "column": 32 }, "end": { "line": 105, "column": 42 }, "identifierName": "staticComp" }, "name": "staticComp" }, "property": { "type": "Identifier", "start": 3418, "end": 3424, "loc": { "start": { "line": 105, "column": 43 }, "end": { "line": 105, "column": 49 }, "identifierName": "origin" }, "name": "origin" }, "computed": false }, "property": { "type": "Identifier", "start": 3425, "end": 3447, "loc": { "start": { "line": 105, "column": 50 }, "end": { "line": 105, "column": 72 }, "identifierName": "rotateFastMultipleOf90" }, "name": "rotateFastMultipleOf90" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 3448, "end": 3450, "loc": { "start": { "line": 105, "column": 73 }, "end": { "line": 105, "column": 75 } }, "extra": { "rawValue": 90, "raw": "90" }, "value": 90 } ] } } } ], "directives": [] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Rotates the blueprint clockwise\r\n ", "start": 2976, "end": 3028, "loc": { "start": { "line": 95, "column": 4 }, "end": { "line": 97, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Rotates the blueprint counter clock wise\r\n ", "start": 3478, "end": 3539, "loc": { "start": { "line": 109, "column": 4 }, "end": { "line": 111, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 3545, "end": 3666, "loc": { "start": { "line": 112, "column": 4 }, "end": { "line": 117, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 3545, "end": 3554, "loc": { "start": { "line": 112, "column": 4 }, "end": { "line": 112, "column": 13 }, "identifierName": "rotateCcw" }, "name": "rotateCcw", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 3557, "end": 3666, "loc": { "start": { "line": 112, "column": 16 }, "end": { "line": 117, "column": 5 } }, "body": [ { "type": "ForStatement", "start": 3589, "end": 3659, "loc": { "start": { "line": 114, "column": 8 }, "end": { "line": 116, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 3594, "end": 3603, "loc": { "start": { "line": 114, "column": 13 }, "end": { "line": 114, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3598, "end": 3603, "loc": { "start": { "line": 114, "column": 17 }, "end": { "line": 114, "column": 22 } }, "id": { "type": "Identifier", "start": 3598, "end": 3599, "loc": { "start": { "line": 114, "column": 17 }, "end": { "line": 114, "column": 18 }, "identifierName": "i" }, "name": "i", "leadingComments": null }, "init": { "type": "NumericLiteral", "start": 3602, "end": 3603, "loc": { "start": { "line": 114, "column": 21 }, "end": { "line": 114, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "leadingComments": null } ], "kind": "let", "leadingComments": null }, "test": { "type": "BinaryExpression", "start": 3605, "end": 3610, "loc": { "start": { "line": 114, "column": 24 }, "end": { "line": 114, "column": 29 } }, "left": { "type": "Identifier", "start": 3605, "end": 3606, "loc": { "start": { "line": 114, "column": 24 }, "end": { "line": 114, "column": 25 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "NumericLiteral", "start": 3609, "end": 3610, "loc": { "start": { "line": 114, "column": 28 }, "end": { "line": 114, "column": 29 } }, "extra": { "rawValue": 3, "raw": "3" }, "value": 3 } }, "update": { "type": "UpdateExpression", "start": 3612, "end": 3615, "loc": { "start": { "line": 114, "column": 31 }, "end": { "line": 114, "column": 34 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 3614, "end": 3615, "loc": { "start": { "line": 114, "column": 33 }, "end": { "line": 114, "column": 34 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 3617, "end": 3659, "loc": { "start": { "line": 114, "column": 36 }, "end": { "line": 116, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 3632, "end": 3648, "loc": { "start": { "line": 115, "column": 12 }, "end": { "line": 115, "column": 28 } }, "expression": { "type": "CallExpression", "start": 3632, "end": 3647, "loc": { "start": { "line": 115, "column": 12 }, "end": { "line": 115, "column": 27 } }, "callee": { "type": "MemberExpression", "start": 3632, "end": 3645, "loc": { "start": { "line": 115, "column": 12 }, "end": { "line": 115, "column": 25 } }, "object": { "type": "ThisExpression", "start": 3632, "end": 3636, "loc": { "start": { "line": 115, "column": 12 }, "end": { "line": 115, "column": 16 } } }, "property": { "type": "Identifier", "start": 3637, "end": 3645, "loc": { "start": { "line": 115, "column": 17 }, "end": { "line": 115, "column": 25 }, "identifierName": "rotateCw" }, "name": "rotateCw" }, "computed": false }, "arguments": [] } } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " Well ...", "start": 3568, "end": 3579, "loc": { "start": { "line": 113, "column": 8 }, "end": { "line": 113, "column": 19 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Rotates the blueprint counter clock wise\r\n ", "start": 3478, "end": 3539, "loc": { "start": { "line": 109, "column": 4 }, "end": { "line": 111, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Checks if the blueprint can be placed at the given tile\r\n * @param {GameRoot} root\r\n * @param {Vector} tile\r\n ", "start": 3674, "end": 3810, "loc": { "start": { "line": 119, "column": 4 }, "end": { "line": 123, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 3816, "end": 4147, "loc": { "start": { "line": 124, "column": 4 }, "end": { "line": 135, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 3816, "end": 3824, "loc": { "start": { "line": 124, "column": 4 }, "end": { "line": 124, "column": 12 }, "identifierName": "canPlace" }, "name": "canPlace", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 3825, "end": 3829, "loc": { "start": { "line": 124, "column": 13 }, "end": { "line": 124, "column": 17 }, "identifierName": "root" }, "name": "root" }, { "type": "Identifier", "start": 3831, "end": 3835, "loc": { "start": { "line": 124, "column": 19 }, "end": { "line": 124, "column": 23 }, "identifierName": "tile" }, "name": "tile" } ], "body": { "type": "BlockStatement", "start": 3837, "end": 4147, "loc": { "start": { "line": 124, "column": 25 }, "end": { "line": 135, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 3848, "end": 3873, "loc": { "start": { "line": 125, "column": 8 }, "end": { "line": 125, "column": 33 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3852, "end": 3872, "loc": { "start": { "line": 125, "column": 12 }, "end": { "line": 125, "column": 32 } }, "id": { "type": "Identifier", "start": 3852, "end": 3864, "loc": { "start": { "line": 125, "column": 12 }, "end": { "line": 125, "column": 24 }, "identifierName": "anyPlaceable" }, "name": "anyPlaceable" }, "init": { "type": "BooleanLiteral", "start": 3867, "end": 3872, "loc": { "start": { "line": 125, "column": 27 }, "end": { "line": 125, "column": 32 } }, "value": false } } ], "kind": "let" }, { "type": "ForStatement", "start": 3885, "end": 4108, "loc": { "start": { "line": 127, "column": 8 }, "end": { "line": 132, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 3890, "end": 3899, "loc": { "start": { "line": 127, "column": 13 }, "end": { "line": 127, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3894, "end": 3899, "loc": { "start": { "line": 127, "column": 17 }, "end": { "line": 127, "column": 22 } }, "id": { "type": "Identifier", "start": 3894, "end": 3895, "loc": { "start": { "line": 127, "column": 17 }, "end": { "line": 127, "column": 18 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 3898, "end": 3899, "loc": { "start": { "line": 127, "column": 21 }, "end": { "line": 127, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 3901, "end": 3925, "loc": { "start": { "line": 127, "column": 24 }, "end": { "line": 127, "column": 48 } }, "left": { "type": "Identifier", "start": 3901, "end": 3902, "loc": { "start": { "line": 127, "column": 24 }, "end": { "line": 127, "column": 25 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 3905, "end": 3925, "loc": { "start": { "line": 127, "column": 28 }, "end": { "line": 127, "column": 48 } }, "object": { "type": "MemberExpression", "start": 3905, "end": 3918, "loc": { "start": { "line": 127, "column": 28 }, "end": { "line": 127, "column": 41 } }, "object": { "type": "ThisExpression", "start": 3905, "end": 3909, "loc": { "start": { "line": 127, "column": 28 }, "end": { "line": 127, "column": 32 } } }, "property": { "type": "Identifier", "start": 3910, "end": 3918, "loc": { "start": { "line": 127, "column": 33 }, "end": { "line": 127, "column": 41 }, "identifierName": "entities" }, "name": "entities" }, "computed": false }, "property": { "type": "Identifier", "start": 3919, "end": 3925, "loc": { "start": { "line": 127, "column": 42 }, "end": { "line": 127, "column": 48 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 3927, "end": 3930, "loc": { "start": { "line": 127, "column": 50 }, "end": { "line": 127, "column": 53 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 3929, "end": 3930, "loc": { "start": { "line": 127, "column": 52 }, "end": { "line": 127, "column": 53 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 3932, "end": 4108, "loc": { "start": { "line": 127, "column": 55 }, "end": { "line": 132, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 3947, "end": 3979, "loc": { "start": { "line": 128, "column": 12 }, "end": { "line": 128, "column": 44 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3953, "end": 3978, "loc": { "start": { "line": 128, "column": 18 }, "end": { "line": 128, "column": 43 } }, "id": { "type": "Identifier", "start": 3953, "end": 3959, "loc": { "start": { "line": 128, "column": 18 }, "end": { "line": 128, "column": 24 }, "identifierName": "entity" }, "name": "entity" }, "init": { "type": "MemberExpression", "start": 3962, "end": 3978, "loc": { "start": { "line": 128, "column": 27 }, "end": { "line": 128, "column": 43 } }, "object": { "type": "MemberExpression", "start": 3962, "end": 3975, "loc": { "start": { "line": 128, "column": 27 }, "end": { "line": 128, "column": 40 } }, "object": { "type": "ThisExpression", "start": 3962, "end": 3966, "loc": { "start": { "line": 128, "column": 27 }, "end": { "line": 128, "column": 31 } } }, "property": { "type": "Identifier", "start": 3967, "end": 3975, "loc": { "start": { "line": 128, "column": 32 }, "end": { "line": 128, "column": 40 }, "identifierName": "entities" }, "name": "entities" }, "computed": false }, "property": { "type": "Identifier", "start": 3976, "end": 3977, "loc": { "start": { "line": 128, "column": 41 }, "end": { "line": 128, "column": 42 }, "identifierName": "i" }, "name": "i" }, "computed": true } } ], "kind": "const" }, { "type": "IfStatement", "start": 3993, "end": 4097, "loc": { "start": { "line": 129, "column": 12 }, "end": { "line": 131, "column": 13 } }, "test": { "type": "CallExpression", "start": 3997, "end": 4041, "loc": { "start": { "line": 129, "column": 16 }, "end": { "line": 129, "column": 60 } }, "callee": { "type": "MemberExpression", "start": 3997, "end": 4027, "loc": { "start": { "line": 129, "column": 16 }, "end": { "line": 129, "column": 46 } }, "object": { "type": "MemberExpression", "start": 3997, "end": 4007, "loc": { "start": { "line": 129, "column": 16 }, "end": { "line": 129, "column": 26 } }, "object": { "type": "Identifier", "start": 3997, "end": 4001, "loc": { "start": { "line": 129, "column": 16 }, "end": { "line": 129, "column": 20 }, "identifierName": "root" }, "name": "root" }, "property": { "type": "Identifier", "start": 4002, "end": 4007, "loc": { "start": { "line": 129, "column": 21 }, "end": { "line": 129, "column": 26 }, "identifierName": "logic" }, "name": "logic" }, "computed": false }, "property": { "type": "Identifier", "start": 4008, "end": 4027, "loc": { "start": { "line": 129, "column": 27 }, "end": { "line": 129, "column": 46 }, "identifierName": "checkCanPlaceEntity" }, "name": "checkCanPlaceEntity" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 4028, "end": 4034, "loc": { "start": { "line": 129, "column": 47 }, "end": { "line": 129, "column": 53 }, "identifierName": "entity" }, "name": "entity" }, { "type": "Identifier", "start": 4036, "end": 4040, "loc": { "start": { "line": 129, "column": 55 }, "end": { "line": 129, "column": 59 }, "identifierName": "tile" }, "name": "tile" } ] }, "consequent": { "type": "BlockStatement", "start": 4043, "end": 4097, "loc": { "start": { "line": 129, "column": 62 }, "end": { "line": 131, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 4062, "end": 4082, "loc": { "start": { "line": 130, "column": 16 }, "end": { "line": 130, "column": 36 } }, "expression": { "type": "AssignmentExpression", "start": 4062, "end": 4081, "loc": { "start": { "line": 130, "column": 16 }, "end": { "line": 130, "column": 35 } }, "operator": "=", "left": { "type": "Identifier", "start": 4062, "end": 4074, "loc": { "start": { "line": 130, "column": 16 }, "end": { "line": 130, "column": 28 }, "identifierName": "anyPlaceable" }, "name": "anyPlaceable" }, "right": { "type": "BooleanLiteral", "start": 4077, "end": 4081, "loc": { "start": { "line": 130, "column": 31 }, "end": { "line": 130, "column": 35 } }, "value": true } } } ], "directives": [] }, "alternate": null } ], "directives": [] } }, { "type": "ReturnStatement", "start": 4120, "end": 4140, "loc": { "start": { "line": 134, "column": 8 }, "end": { "line": 134, "column": 28 } }, "argument": { "type": "Identifier", "start": 4127, "end": 4139, "loc": { "start": { "line": 134, "column": 15 }, "end": { "line": 134, "column": 27 }, "identifierName": "anyPlaceable" }, "name": "anyPlaceable" } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Checks if the blueprint can be placed at the given tile\r\n * @param {GameRoot} root\r\n * @param {Vector} tile\r\n ", "start": 3674, "end": 3810, "loc": { "start": { "line": 119, "column": 4 }, "end": { "line": 123, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @param {GameRoot} root\r\n ", "start": 4155, "end": 4198, "loc": { "start": { "line": 137, "column": 4 }, "end": { "line": 139, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 4204, "end": 4336, "loc": { "start": { "line": 140, "column": 4 }, "end": { "line": 142, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 4204, "end": 4213, "loc": { "start": { "line": 140, "column": 4 }, "end": { "line": 140, "column": 13 }, "identifierName": "canAfford" }, "name": "canAfford", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 4214, "end": 4218, "loc": { "start": { "line": 140, "column": 14 }, "end": { "line": 140, "column": 18 }, "identifierName": "root" }, "name": "root" } ], "body": { "type": "BlockStatement", "start": 4220, "end": 4336, "loc": { "start": { "line": 140, "column": 20 }, "end": { "line": 142, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 4231, "end": 4329, "loc": { "start": { "line": 141, "column": 8 }, "end": { "line": 141, "column": 106 } }, "argument": { "type": "BinaryExpression", "start": 4238, "end": 4328, "loc": { "start": { "line": 141, "column": 15 }, "end": { "line": 141, "column": 105 } }, "left": { "type": "CallExpression", "start": 4238, "end": 4310, "loc": { "start": { "line": 141, "column": 15 }, "end": { "line": 141, "column": 87 } }, "callee": { "type": "MemberExpression", "start": 4238, "end": 4272, "loc": { "start": { "line": 141, "column": 15 }, "end": { "line": 141, "column": 49 } }, "object": { "type": "MemberExpression", "start": 4238, "end": 4251, "loc": { "start": { "line": 141, "column": 15 }, "end": { "line": 141, "column": 28 } }, "object": { "type": "Identifier", "start": 4238, "end": 4242, "loc": { "start": { "line": 141, "column": 15 }, "end": { "line": 141, "column": 19 }, "identifierName": "root" }, "name": "root" }, "property": { "type": "Identifier", "start": 4243, "end": 4251, "loc": { "start": { "line": 141, "column": 20 }, "end": { "line": 141, "column": 28 }, "identifierName": "hubGoals" }, "name": "hubGoals" }, "computed": false }, "property": { "type": "Identifier", "start": 4252, "end": 4272, "loc": { "start": { "line": 141, "column": 29 }, "end": { "line": 141, "column": 49 }, "identifierName": "getShapesStoredByKey" }, "name": "getShapesStoredByKey" }, "computed": false }, "arguments": [ { "type": "CallExpression", "start": 4273, "end": 4309, "loc": { "start": { "line": 141, "column": 50 }, "end": { "line": 141, "column": 86 } }, "callee": { "type": "MemberExpression", "start": 4273, "end": 4307, "loc": { "start": { "line": 141, "column": 50 }, "end": { "line": 141, "column": 84 } }, "object": { "type": "MemberExpression", "start": 4273, "end": 4286, "loc": { "start": { "line": 141, "column": 50 }, "end": { "line": 141, "column": 63 } }, "object": { "type": "Identifier", "start": 4273, "end": 4277, "loc": { "start": { "line": 141, "column": 50 }, "end": { "line": 141, "column": 54 }, "identifierName": "root" }, "name": "root" }, "property": { "type": "Identifier", "start": 4278, "end": 4286, "loc": { "start": { "line": 141, "column": 55 }, "end": { "line": 141, "column": 63 }, "identifierName": "gameMode" }, "name": "gameMode" }, "computed": false }, "property": { "type": "Identifier", "start": 4287, "end": 4307, "loc": { "start": { "line": 141, "column": 64 }, "end": { "line": 141, "column": 84 }, "identifierName": "getBlueprintShapeKey" }, "name": "getBlueprintShapeKey" }, "computed": false }, "arguments": [] } ] }, "operator": ">=", "right": { "type": "CallExpression", "start": 4314, "end": 4328, "loc": { "start": { "line": 141, "column": 91 }, "end": { "line": 141, "column": 105 } }, "callee": { "type": "MemberExpression", "start": 4314, "end": 4326, "loc": { "start": { "line": 141, "column": 91 }, "end": { "line": 141, "column": 103 } }, "object": { "type": "ThisExpression", "start": 4314, "end": 4318, "loc": { "start": { "line": 141, "column": 91 }, "end": { "line": 141, "column": 95 } } }, "property": { "type": "Identifier", "start": 4319, "end": 4326, "loc": { "start": { "line": 141, "column": 96 }, "end": { "line": 141, "column": 103 }, "identifierName": "getCost" }, "name": "getCost" }, "computed": false }, "arguments": [] } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @param {GameRoot} root\r\n ", "start": 4155, "end": 4198, "loc": { "start": { "line": 137, "column": 4 }, "end": { "line": 139, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Attempts to place the blueprint at the given tile\r\n * @param {GameRoot} root\r\n * @param {Vector} tile\r\n ", "start": 4344, "end": 4474, "loc": { "start": { "line": 144, "column": 4 }, "end": { "line": 148, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 4480, "end": 5238, "loc": { "start": { "line": 149, "column": 4 }, "end": { "line": 167, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 4480, "end": 4488, "loc": { "start": { "line": 149, "column": 4 }, "end": { "line": 149, "column": 12 }, "identifierName": "tryPlace" }, "name": "tryPlace", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 4489, "end": 4493, "loc": { "start": { "line": 149, "column": 13 }, "end": { "line": 149, "column": 17 }, "identifierName": "root" }, "name": "root" }, { "type": "Identifier", "start": 4495, "end": 4499, "loc": { "start": { "line": 149, "column": 19 }, "end": { "line": 149, "column": 23 }, "identifierName": "tile" }, "name": "tile" } ], "body": { "type": "BlockStatement", "start": 4501, "end": 5238, "loc": { "start": { "line": 149, "column": 25 }, "end": { "line": 167, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 4512, "end": 5231, "loc": { "start": { "line": 150, "column": 8 }, "end": { "line": 166, "column": 11 } }, "argument": { "type": "CallExpression", "start": 4519, "end": 5230, "loc": { "start": { "line": 150, "column": 15 }, "end": { "line": 166, "column": 10 } }, "callee": { "type": "MemberExpression", "start": 4519, "end": 4550, "loc": { "start": { "line": 150, "column": 15 }, "end": { "line": 150, "column": 46 } }, "object": { "type": "MemberExpression", "start": 4519, "end": 4529, "loc": { "start": { "line": 150, "column": 15 }, "end": { "line": 150, "column": 25 } }, "object": { "type": "Identifier", "start": 4519, "end": 4523, "loc": { "start": { "line": 150, "column": 15 }, "end": { "line": 150, "column": 19 }, "identifierName": "root" }, "name": "root" }, "property": { "type": "Identifier", "start": 4524, "end": 4529, "loc": { "start": { "line": 150, "column": 20 }, "end": { "line": 150, "column": 25 }, "identifierName": "logic" }, "name": "logic" }, "computed": false }, "property": { "type": "Identifier", "start": 4530, "end": 4550, "loc": { "start": { "line": 150, "column": 26 }, "end": { "line": 150, "column": 46 }, "identifierName": "performBulkOperation" }, "name": "performBulkOperation" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 4551, "end": 5229, "loc": { "start": { "line": 150, "column": 47 }, "end": { "line": 166, "column": 9 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 4557, "end": 5229, "loc": { "start": { "line": 150, "column": 53 }, "end": { "line": 166, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 4572, "end": 4594, "loc": { "start": { "line": 151, "column": 12 }, "end": { "line": 151, "column": 34 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4576, "end": 4593, "loc": { "start": { "line": 151, "column": 16 }, "end": { "line": 151, "column": 33 } }, "id": { "type": "Identifier", "start": 4576, "end": 4585, "loc": { "start": { "line": 151, "column": 16 }, "end": { "line": 151, "column": 25 }, "identifierName": "anyPlaced" }, "name": "anyPlaced" }, "init": { "type": "BooleanLiteral", "start": 4588, "end": 4593, "loc": { "start": { "line": 151, "column": 28 }, "end": { "line": 151, "column": 33 } }, "value": false } } ], "kind": "let" }, { "type": "ForStatement", "start": 4608, "end": 5187, "loc": { "start": { "line": 152, "column": 12 }, "end": { "line": 164, "column": 13 } }, "init": { "type": "VariableDeclaration", "start": 4613, "end": 4622, "loc": { "start": { "line": 152, "column": 17 }, "end": { "line": 152, "column": 26 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4617, "end": 4622, "loc": { "start": { "line": 152, "column": 21 }, "end": { "line": 152, "column": 26 } }, "id": { "type": "Identifier", "start": 4617, "end": 4618, "loc": { "start": { "line": 152, "column": 21 }, "end": { "line": 152, "column": 22 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 4621, "end": 4622, "loc": { "start": { "line": 152, "column": 25 }, "end": { "line": 152, "column": 26 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 4624, "end": 4648, "loc": { "start": { "line": 152, "column": 28 }, "end": { "line": 152, "column": 52 } }, "left": { "type": "Identifier", "start": 4624, "end": 4625, "loc": { "start": { "line": 152, "column": 28 }, "end": { "line": 152, "column": 29 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 4628, "end": 4648, "loc": { "start": { "line": 152, "column": 32 }, "end": { "line": 152, "column": 52 } }, "object": { "type": "MemberExpression", "start": 4628, "end": 4641, "loc": { "start": { "line": 152, "column": 32 }, "end": { "line": 152, "column": 45 } }, "object": { "type": "ThisExpression", "start": 4628, "end": 4632, "loc": { "start": { "line": 152, "column": 32 }, "end": { "line": 152, "column": 36 } } }, "property": { "type": "Identifier", "start": 4633, "end": 4641, "loc": { "start": { "line": 152, "column": 37 }, "end": { "line": 152, "column": 45 }, "identifierName": "entities" }, "name": "entities" }, "computed": false }, "property": { "type": "Identifier", "start": 4642, "end": 4648, "loc": { "start": { "line": 152, "column": 46 }, "end": { "line": 152, "column": 52 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 4650, "end": 4653, "loc": { "start": { "line": 152, "column": 54 }, "end": { "line": 152, "column": 57 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 4652, "end": 4653, "loc": { "start": { "line": 152, "column": 56 }, "end": { "line": 152, "column": 57 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 4655, "end": 5187, "loc": { "start": { "line": 152, "column": 59 }, "end": { "line": 164, "column": 13 } }, "body": [ { "type": "VariableDeclaration", "start": 4674, "end": 4706, "loc": { "start": { "line": 153, "column": 16 }, "end": { "line": 153, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4680, "end": 4705, "loc": { "start": { "line": 153, "column": 22 }, "end": { "line": 153, "column": 47 } }, "id": { "type": "Identifier", "start": 4680, "end": 4686, "loc": { "start": { "line": 153, "column": 22 }, "end": { "line": 153, "column": 28 }, "identifierName": "entity" }, "name": "entity" }, "init": { "type": "MemberExpression", "start": 4689, "end": 4705, "loc": { "start": { "line": 153, "column": 31 }, "end": { "line": 153, "column": 47 } }, "object": { "type": "MemberExpression", "start": 4689, "end": 4702, "loc": { "start": { "line": 153, "column": 31 }, "end": { "line": 153, "column": 44 } }, "object": { "type": "ThisExpression", "start": 4689, "end": 4693, "loc": { "start": { "line": 153, "column": 31 }, "end": { "line": 153, "column": 35 } } }, "property": { "type": "Identifier", "start": 4694, "end": 4702, "loc": { "start": { "line": 153, "column": 36 }, "end": { "line": 153, "column": 44 }, "identifierName": "entities" }, "name": "entities" }, "computed": false }, "property": { "type": "Identifier", "start": 4703, "end": 4704, "loc": { "start": { "line": 153, "column": 45 }, "end": { "line": 153, "column": 46 }, "identifierName": "i" }, "name": "i" }, "computed": true } } ], "kind": "const" }, { "type": "IfStatement", "start": 4724, "end": 4832, "loc": { "start": { "line": 154, "column": 16 }, "end": { "line": 156, "column": 17 } }, "test": { "type": "UnaryExpression", "start": 4728, "end": 4779, "loc": { "start": { "line": 154, "column": 20 }, "end": { "line": 154, "column": 71 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 4729, "end": 4779, "loc": { "start": { "line": 154, "column": 21 }, "end": { "line": 154, "column": 71 } }, "callee": { "type": "MemberExpression", "start": 4729, "end": 4759, "loc": { "start": { "line": 154, "column": 21 }, "end": { "line": 154, "column": 51 } }, "object": { "type": "MemberExpression", "start": 4729, "end": 4739, "loc": { "start": { "line": 154, "column": 21 }, "end": { "line": 154, "column": 31 } }, "object": { "type": "Identifier", "start": 4729, "end": 4733, "loc": { "start": { "line": 154, "column": 21 }, "end": { "line": 154, "column": 25 }, "identifierName": "root" }, "name": "root" }, "property": { "type": "Identifier", "start": 4734, "end": 4739, "loc": { "start": { "line": 154, "column": 26 }, "end": { "line": 154, "column": 31 }, "identifierName": "logic" }, "name": "logic" }, "computed": false }, "property": { "type": "Identifier", "start": 4740, "end": 4759, "loc": { "start": { "line": 154, "column": 32 }, "end": { "line": 154, "column": 51 }, "identifierName": "checkCanPlaceEntity" }, "name": "checkCanPlaceEntity" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 4760, "end": 4766, "loc": { "start": { "line": 154, "column": 52 }, "end": { "line": 154, "column": 58 }, "identifierName": "entity" }, "name": "entity" }, { "type": "Identifier", "start": 4768, "end": 4772, "loc": { "start": { "line": 154, "column": 60 }, "end": { "line": 154, "column": 64 }, "identifierName": "tile" }, "name": "tile" }, { "type": "BooleanLiteral", "start": 4774, "end": 4778, "loc": { "start": { "line": 154, "column": 66 }, "end": { "line": 154, "column": 70 } }, "value": true } ] }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 4781, "end": 4832, "loc": { "start": { "line": 154, "column": 73 }, "end": { "line": 156, "column": 17 } }, "body": [ { "type": "ContinueStatement", "start": 4804, "end": 4813, "loc": { "start": { "line": 155, "column": 20 }, "end": { "line": 155, "column": 29 } }, "label": null } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 4852, "end": 4881, "loc": { "start": { "line": 158, "column": 16 }, "end": { "line": 158, "column": 45 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4858, "end": 4880, "loc": { "start": { "line": 158, "column": 22 }, "end": { "line": 158, "column": 44 } }, "id": { "type": "Identifier", "start": 4858, "end": 4863, "loc": { "start": { "line": 158, "column": 22 }, "end": { "line": 158, "column": 27 }, "identifierName": "clone" }, "name": "clone" }, "init": { "type": "CallExpression", "start": 4866, "end": 4880, "loc": { "start": { "line": 158, "column": 30 }, "end": { "line": 158, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 4866, "end": 4878, "loc": { "start": { "line": 158, "column": 30 }, "end": { "line": 158, "column": 42 } }, "object": { "type": "Identifier", "start": 4866, "end": 4872, "loc": { "start": { "line": 158, "column": 30 }, "end": { "line": 158, "column": 36 }, "identifierName": "entity" }, "name": "entity" }, "property": { "type": "Identifier", "start": 4873, "end": 4878, "loc": { "start": { "line": 158, "column": 37 }, "end": { "line": 158, "column": 42 }, "identifierName": "clone" }, "name": "clone" }, "computed": false }, "arguments": [] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 4899, "end": 4956, "loc": { "start": { "line": 159, "column": 16 }, "end": { "line": 159, "column": 73 } }, "expression": { "type": "CallExpression", "start": 4899, "end": 4955, "loc": { "start": { "line": 159, "column": 16 }, "end": { "line": 159, "column": 72 } }, "callee": { "type": "MemberExpression", "start": 4899, "end": 4949, "loc": { "start": { "line": 159, "column": 16 }, "end": { "line": 159, "column": 66 } }, "object": { "type": "MemberExpression", "start": 4899, "end": 4938, "loc": { "start": { "line": 159, "column": 16 }, "end": { "line": 159, "column": 55 } }, "object": { "type": "MemberExpression", "start": 4899, "end": 4931, "loc": { "start": { "line": 159, "column": 16 }, "end": { "line": 159, "column": 48 } }, "object": { "type": "MemberExpression", "start": 4899, "end": 4915, "loc": { "start": { "line": 159, "column": 16 }, "end": { "line": 159, "column": 32 } }, "object": { "type": "Identifier", "start": 4899, "end": 4904, "loc": { "start": { "line": 159, "column": 16 }, "end": { "line": 159, "column": 21 }, "identifierName": "clone" }, "name": "clone" }, "property": { "type": "Identifier", "start": 4905, "end": 4915, "loc": { "start": { "line": 159, "column": 22 }, "end": { "line": 159, "column": 32 }, "identifierName": "components" }, "name": "components" }, "computed": false }, "property": { "type": "Identifier", "start": 4916, "end": 4931, "loc": { "start": { "line": 159, "column": 33 }, "end": { "line": 159, "column": 48 }, "identifierName": "StaticMapEntity" }, "name": "StaticMapEntity" }, "computed": false }, "property": { "type": "Identifier", "start": 4932, "end": 4938, "loc": { "start": { "line": 159, "column": 49 }, "end": { "line": 159, "column": 55 }, "identifierName": "origin" }, "name": "origin" }, "computed": false }, "property": { "type": "Identifier", "start": 4939, "end": 4949, "loc": { "start": { "line": 159, "column": 56 }, "end": { "line": 159, "column": 66 }, "identifierName": "addInplace" }, "name": "addInplace" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 4950, "end": 4954, "loc": { "start": { "line": 159, "column": 67 }, "end": { "line": 159, "column": 71 }, "identifierName": "tile" }, "name": "tile" } ] } }, { "type": "ExpressionStatement", "start": 4974, "end": 5018, "loc": { "start": { "line": 160, "column": 16 }, "end": { "line": 160, "column": 60 } }, "expression": { "type": "CallExpression", "start": 4974, "end": 5017, "loc": { "start": { "line": 160, "column": 16 }, "end": { "line": 160, "column": 59 } }, "callee": { "type": "MemberExpression", "start": 4974, "end": 5010, "loc": { "start": { "line": 160, "column": 16 }, "end": { "line": 160, "column": 52 } }, "object": { "type": "MemberExpression", "start": 4974, "end": 4984, "loc": { "start": { "line": 160, "column": 16 }, "end": { "line": 160, "column": 26 } }, "object": { "type": "Identifier", "start": 4974, "end": 4978, "loc": { "start": { "line": 160, "column": 16 }, "end": { "line": 160, "column": 20 }, "identifierName": "root" }, "name": "root" }, "property": { "type": "Identifier", "start": 4979, "end": 4984, "loc": { "start": { "line": 160, "column": 21 }, "end": { "line": 160, "column": 26 }, "identifierName": "logic" }, "name": "logic" }, "computed": false }, "property": { "type": "Identifier", "start": 4985, "end": 5010, "loc": { "start": { "line": 160, "column": 27 }, "end": { "line": 160, "column": 52 }, "identifierName": "freeEntityAreaBeforeBuild" }, "name": "freeEntityAreaBeforeBuild" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 5011, "end": 5016, "loc": { "start": { "line": 160, "column": 53 }, "end": { "line": 160, "column": 58 }, "identifierName": "clone" }, "name": "clone" } ] } }, { "type": "ExpressionStatement", "start": 5036, "end": 5070, "loc": { "start": { "line": 161, "column": 16 }, "end": { "line": 161, "column": 50 } }, "expression": { "type": "CallExpression", "start": 5036, "end": 5069, "loc": { "start": { "line": 161, "column": 16 }, "end": { "line": 161, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 5036, "end": 5062, "loc": { "start": { "line": 161, "column": 16 }, "end": { "line": 161, "column": 42 } }, "object": { "type": "MemberExpression", "start": 5036, "end": 5044, "loc": { "start": { "line": 161, "column": 16 }, "end": { "line": 161, "column": 24 } }, "object": { "type": "Identifier", "start": 5036, "end": 5040, "loc": { "start": { "line": 161, "column": 16 }, "end": { "line": 161, "column": 20 }, "identifierName": "root" }, "name": "root" }, "property": { "type": "Identifier", "start": 5041, "end": 5044, "loc": { "start": { "line": 161, "column": 21 }, "end": { "line": 161, "column": 24 }, "identifierName": "map" }, "name": "map" }, "computed": false }, "property": { "type": "Identifier", "start": 5045, "end": 5062, "loc": { "start": { "line": 161, "column": 25 }, "end": { "line": 161, "column": 42 }, "identifierName": "placeStaticEntity" }, "name": "placeStaticEntity" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 5063, "end": 5068, "loc": { "start": { "line": 161, "column": 43 }, "end": { "line": 161, "column": 48 }, "identifierName": "clone" }, "name": "clone" } ] } }, { "type": "ExpressionStatement", "start": 5088, "end": 5137, "loc": { "start": { "line": 162, "column": 16 }, "end": { "line": 162, "column": 65 } }, "expression": { "type": "CallExpression", "start": 5088, "end": 5136, "loc": { "start": { "line": 162, "column": 16 }, "end": { "line": 162, "column": 64 } }, "callee": { "type": "MemberExpression", "start": 5088, "end": 5117, "loc": { "start": { "line": 162, "column": 16 }, "end": { "line": 162, "column": 45 } }, "object": { "type": "MemberExpression", "start": 5088, "end": 5102, "loc": { "start": { "line": 162, "column": 16 }, "end": { "line": 162, "column": 30 } }, "object": { "type": "Identifier", "start": 5088, "end": 5092, "loc": { "start": { "line": 162, "column": 16 }, "end": { "line": 162, "column": 20 }, "identifierName": "root" }, "name": "root" }, "property": { "type": "Identifier", "start": 5093, "end": 5102, "loc": { "start": { "line": 162, "column": 21 }, "end": { "line": 162, "column": 30 }, "identifierName": "entityMgr" }, "name": "entityMgr" }, "computed": false }, "property": { "type": "Identifier", "start": 5103, "end": 5117, "loc": { "start": { "line": 162, "column": 31 }, "end": { "line": 162, "column": 45 }, "identifierName": "registerEntity" }, "name": "registerEntity" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 5118, "end": 5123, "loc": { "start": { "line": 162, "column": 46 }, "end": { "line": 162, "column": 51 }, "identifierName": "clone" }, "name": "clone" }, { "type": "NullLiteral", "start": 5125, "end": 5129, "loc": { "start": { "line": 162, "column": 53 }, "end": { "line": 162, "column": 57 } } }, { "type": "BooleanLiteral", "start": 5131, "end": 5135, "loc": { "start": { "line": 162, "column": 59 }, "end": { "line": 162, "column": 63 } }, "value": true } ] } }, { "type": "ExpressionStatement", "start": 5155, "end": 5172, "loc": { "start": { "line": 163, "column": 16 }, "end": { "line": 163, "column": 33 } }, "expression": { "type": "AssignmentExpression", "start": 5155, "end": 5171, "loc": { "start": { "line": 163, "column": 16 }, "end": { "line": 163, "column": 32 } }, "operator": "=", "left": { "type": "Identifier", "start": 5155, "end": 5164, "loc": { "start": { "line": 163, "column": 16 }, "end": { "line": 163, "column": 25 }, "identifierName": "anyPlaced" }, "name": "anyPlaced" }, "right": { "type": "BooleanLiteral", "start": 5167, "end": 5171, "loc": { "start": { "line": 163, "column": 28 }, "end": { "line": 163, "column": 32 } }, "value": true } } } ], "directives": [] } }, { "type": "ReturnStatement", "start": 5201, "end": 5218, "loc": { "start": { "line": 165, "column": 12 }, "end": { "line": 165, "column": 29 } }, "argument": { "type": "Identifier", "start": 5208, "end": 5217, "loc": { "start": { "line": 165, "column": 19 }, "end": { "line": 165, "column": 28 }, "identifierName": "anyPlaced" }, "name": "anyPlaced" } } ], "directives": [] } } ] } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Attempts to place the blueprint at the given tile\r\n * @param {GameRoot} root\r\n * @param {Vector} tile\r\n ", "start": 4344, "end": 4474, "loc": { "start": { "line": 144, "column": 4 }, "end": { "line": 148, "column": 7 } } } ] } ] }, "leadingComments": [], "trailingComments": [] } } ], "directives": [] }, "comments": [ { "type": "CommentBlock", "value": "*\r\n * @param {Array} entities\r\n ", "start": 308, "end": 360, "loc": { "start": { "line": 9, "column": 4 }, "end": { "line": 11, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns the layer of this blueprint\r\n * @returns {Layer}\r\n ", "start": 439, "end": 520, "loc": { "start": { "line": 16, "column": 4 }, "end": { "line": 19, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Creates a new blueprint from the given entity uids\r\n * @param {GameRoot} root\r\n * @param {Array} uids\r\n ", "start": 679, "end": 817, "loc": { "start": { "line": 27, "column": 4 }, "end": { "line": 31, "column": 7 } } }, { "type": "CommentLine", "value": " First, create a copy", "start": 944, "end": 967, "loc": { "start": { "line": 37, "column": 8 }, "end": { "line": 37, "column": 31 } } }, { "type": "CommentLine", "value": " Now, make sure the origin is 0,0", "start": 1693, "end": 1728, "loc": { "start": { "line": 56, "column": 8 }, "end": { "line": 56, "column": 43 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns the cost of this blueprint in shapes\r\n ", "start": 1787, "end": 1852, "loc": { "start": { "line": 60, "column": 4 }, "end": { "line": 62, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Draws the blueprint at the given origin\r\n * @param {DrawParameters} parameters\r\n ", "start": 2061, "end": 2164, "loc": { "start": { "line": 70, "column": 4 }, "end": { "line": 73, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Rotates the blueprint clockwise\r\n ", "start": 2976, "end": 3028, "loc": { "start": { "line": 95, "column": 4 }, "end": { "line": 97, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Rotates the blueprint counter clock wise\r\n ", "start": 3478, "end": 3539, "loc": { "start": { "line": 109, "column": 4 }, "end": { "line": 111, "column": 7 } } }, { "type": "CommentLine", "value": " Well ...", "start": 3568, "end": 3579, "loc": { "start": { "line": 113, "column": 8 }, "end": { "line": 113, "column": 19 } } }, { "type": "CommentBlock", "value": "*\r\n * Checks if the blueprint can be placed at the given tile\r\n * @param {GameRoot} root\r\n * @param {Vector} tile\r\n ", "start": 3674, "end": 3810, "loc": { "start": { "line": 119, "column": 4 }, "end": { "line": 123, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * @param {GameRoot} root\r\n ", "start": 4155, "end": 4198, "loc": { "start": { "line": 137, "column": 4 }, "end": { "line": 139, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Attempts to place the blueprint at the given tile\r\n * @param {GameRoot} root\r\n * @param {Vector} tile\r\n ", "start": 4344, "end": 4474, "loc": { "start": { "line": 144, "column": 4 }, "end": { "line": 148, "column": 7 } } } ], "tokens": [ { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 0, "end": 6, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7, "end": 8, "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 1, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 9, "end": 21, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22, "end": 23, "loc": { "start": { "line": 1, "column": 22 }, "end": { "line": 1, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 24, "end": 28, "loc": { "start": { "line": 1, "column": 24 }, "end": { "line": 1, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../core/config", "start": 29, "end": 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": "DrawParameters", "start": 57, "end": 71, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 23 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 72, "end": 73, "loc": { "start": { "line": 2, "column": 24 }, "end": { "line": 2, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 74, "end": 78, "loc": { "start": { "line": 2, "column": 26 }, "end": { "line": 2, "column": 30 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../core/draw_parameters", "start": 79, "end": 104, "loc": { "start": { "line": 2, "column": 31 }, "end": { "line": 2, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 104, "end": 105, "loc": { "start": { "line": 2, "column": 56 }, "end": { "line": 2, "column": 57 } } }, { "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": 107, "end": 113, "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": 114, "end": 115, "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": "findNiceIntegerValue", "start": 116, "end": 136, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 137, "end": 138, "loc": { "start": { "line": 3, "column": 30 }, "end": { "line": 3, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 139, "end": 143, "loc": { "start": { "line": 3, "column": 32 }, "end": { "line": 3, "column": 36 } } }, { "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": 144, "end": 159, "loc": { "start": { "line": 3, "column": 37 }, "end": { "line": 3, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 159, "end": 160, "loc": { "start": { "line": 3, "column": 52 }, "end": { "line": 3, "column": 53 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 162, "end": 168, "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": 169, "end": 170, "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": "Vector", "start": 171, "end": 177, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 178, "end": 179, "loc": { "start": { "line": 4, "column": 16 }, "end": { "line": 4, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 180, "end": 184, "loc": { "start": { "line": 4, "column": 18 }, "end": { "line": 4, "column": 22 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../core/vector", "start": 185, "end": 201, "loc": { "start": { "line": 4, "column": 23 }, "end": { "line": 4, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 201, "end": 202, "loc": { "start": { "line": 4, "column": 39 }, "end": { "line": 4, "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": 204, "end": 210, "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": 211, "end": 212, "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": "Entity", "start": 213, "end": 219, "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": 220, "end": 221, "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": 222, "end": 226, "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": "./entity", "start": 227, "end": 237, "loc": { "start": { "line": 5, "column": 23 }, "end": { "line": 5, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 237, "end": 238, "loc": { "start": { "line": 5, "column": 33 }, "end": { "line": 5, "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": 240, "end": 246, "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": 247, "end": 248, "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": "GameRoot", "start": 249, "end": 257, "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": 258, "end": 259, "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": 260, "end": 264, "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": "./root", "start": 265, "end": 273, "loc": { "start": { "line": 6, "column": 25 }, "end": { "line": 6, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 273, "end": 274, "loc": { "start": { "line": 6, "column": 33 }, "end": { "line": 6, "column": 34 } } }, { "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": 278, "end": 284, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 8, "column": 6 } } }, { "type": { "label": "class", "keyword": "class", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "class", "start": 285, "end": 290, "loc": { "start": { "line": 8, "column": 7 }, "end": { "line": 8, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Blueprint", "start": 291, "end": 300, "loc": { "start": { "line": 8, "column": 13 }, "end": { "line": 8, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 301, "end": 302, "loc": { "start": { "line": 8, "column": 23 }, "end": { "line": 8, "column": 24 } } }, { "type": "CommentBlock", "value": "*\r\n * @param {Array} entities\r\n ", "start": 308, "end": 360, "loc": { "start": { "line": 9, "column": 4 }, "end": { "line": 11, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 366, "end": 377, "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 12, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 377, "end": 378, "loc": { "start": { "line": 12, "column": 15 }, "end": { "line": 12, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entities", "start": 378, "end": 386, "loc": { "start": { "line": 12, "column": 16 }, "end": { "line": 12, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 386, "end": 387, "loc": { "start": { "line": 12, "column": 24 }, "end": { "line": 12, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 388, "end": 389, "loc": { "start": { "line": 12, "column": 26 }, "end": { "line": 12, "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": 399, "end": 403, "loc": { "start": { "line": 13, "column": 8 }, "end": { "line": 13, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 403, "end": 404, "loc": { "start": { "line": 13, "column": 12 }, "end": { "line": 13, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entities", "start": 404, "end": 412, "loc": { "start": { "line": 13, "column": 13 }, "end": { "line": 13, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 413, "end": 414, "loc": { "start": { "line": 13, "column": 22 }, "end": { "line": 13, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entities", "start": 415, "end": 423, "loc": { "start": { "line": 13, "column": 24 }, "end": { "line": 13, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 423, "end": 424, "loc": { "start": { "line": 13, "column": 32 }, "end": { "line": 13, "column": 33 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 430, "end": 431, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 14, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns the layer of this blueprint\r\n * @returns {Layer}\r\n ", "start": 439, "end": 520, "loc": { "start": { "line": 16, "column": 4 }, "end": { "line": 19, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "get", "start": 526, "end": 529, "loc": { "start": { "line": 20, "column": 4 }, "end": { "line": 20, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layer", "start": 530, "end": 535, "loc": { "start": { "line": 20, "column": 8 }, "end": { "line": 20, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 535, "end": 536, "loc": { "start": { "line": 20, "column": 13 }, "end": { "line": 20, "column": 14 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 536, "end": 537, "loc": { "start": { "line": 20, "column": 14 }, "end": { "line": 20, "column": 15 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 538, "end": 539, "loc": { "start": { "line": 20, "column": 16 }, "end": { "line": 20, "column": 17 } } }, { "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": 549, "end": 551, "loc": { "start": { "line": 21, "column": 8 }, "end": { "line": 21, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 552, "end": 553, "loc": { "start": { "line": 21, "column": 11 }, "end": { "line": 21, "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": 553, "end": 557, "loc": { "start": { "line": 21, "column": 12 }, "end": { "line": 21, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 557, "end": 558, "loc": { "start": { "line": 21, "column": 16 }, "end": { "line": 21, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entities", "start": 558, "end": 566, "loc": { "start": { "line": 21, "column": 17 }, "end": { "line": 21, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 566, "end": 567, "loc": { "start": { "line": 21, "column": 25 }, "end": { "line": 21, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 567, "end": 573, "loc": { "start": { "line": 21, "column": 26 }, "end": { "line": 21, "column": 32 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 574, "end": 577, "loc": { "start": { "line": 21, "column": 33 }, "end": { "line": 21, "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": 578, "end": 579, "loc": { "start": { "line": 21, "column": 37 }, "end": { "line": 21, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 579, "end": 580, "loc": { "start": { "line": 21, "column": 38 }, "end": { "line": 21, "column": 39 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 581, "end": 582, "loc": { "start": { "line": 21, "column": 40 }, "end": { "line": 21, "column": 41 } } }, { "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": 596, "end": 602, "loc": { "start": { "line": 22, "column": 12 }, "end": { "line": 22, "column": 18 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "regular", "start": 603, "end": 612, "loc": { "start": { "line": 22, "column": 19 }, "end": { "line": 22, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 612, "end": 613, "loc": { "start": { "line": 22, "column": 28 }, "end": { "line": 22, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 623, "end": 624, "loc": { "start": { "line": 23, "column": 8 }, "end": { "line": 23, "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": 634, "end": 640, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "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": 641, "end": 645, "loc": { "start": { "line": 24, "column": 15 }, "end": { "line": 24, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 645, "end": 646, "loc": { "start": { "line": 24, "column": 19 }, "end": { "line": 24, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entities", "start": 646, "end": 654, "loc": { "start": { "line": 24, "column": 20 }, "end": { "line": 24, "column": 28 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 654, "end": 655, "loc": { "start": { "line": 24, "column": 28 }, "end": { "line": 24, "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": 655, "end": 656, "loc": { "start": { "line": 24, "column": 29 }, "end": { "line": 24, "column": 30 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 656, "end": 657, "loc": { "start": { "line": 24, "column": 30 }, "end": { "line": 24, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 657, "end": 658, "loc": { "start": { "line": 24, "column": 31 }, "end": { "line": 24, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "layer", "start": 658, "end": 663, "loc": { "start": { "line": 24, "column": 32 }, "end": { "line": 24, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 663, "end": 664, "loc": { "start": { "line": 24, "column": 37 }, "end": { "line": 24, "column": 38 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 670, "end": 671, "loc": { "start": { "line": 25, "column": 4 }, "end": { "line": 25, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Creates a new blueprint from the given entity uids\r\n * @param {GameRoot} root\r\n * @param {Array} uids\r\n ", "start": 679, "end": 817, "loc": { "start": { "line": 27, "column": 4 }, "end": { "line": 31, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "static", "start": 823, "end": 829, "loc": { "start": { "line": 32, "column": 4 }, "end": { "line": 32, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fromUids", "start": 830, "end": 838, "loc": { "start": { "line": 32, "column": 11 }, "end": { "line": 32, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 838, "end": 839, "loc": { "start": { "line": 32, "column": 19 }, "end": { "line": 32, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 839, "end": 843, "loc": { "start": { "line": 32, "column": 20 }, "end": { "line": 32, "column": 24 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 843, "end": 844, "loc": { "start": { "line": 32, "column": 24 }, "end": { "line": 32, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "uids", "start": 845, "end": 849, "loc": { "start": { "line": 32, "column": 26 }, "end": { "line": 32, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 849, "end": 850, "loc": { "start": { "line": 32, "column": 30 }, "end": { "line": 32, "column": 31 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 851, "end": 852, "loc": { "start": { "line": 32, "column": 32 }, "end": { "line": 32, "column": 33 } } }, { "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": 862, "end": 867, "loc": { "start": { "line": 33, "column": 8 }, "end": { "line": 33, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "newEntities", "start": 868, "end": 879, "loc": { "start": { "line": 33, "column": 14 }, "end": { "line": 33, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 880, "end": 881, "loc": { "start": { "line": 33, "column": 26 }, "end": { "line": 33, "column": 27 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 882, "end": 883, "loc": { "start": { "line": 33, "column": 28 }, "end": { "line": 33, "column": 29 } } }, { "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": 33, "column": 29 }, "end": { "line": 33, "column": 30 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 884, "end": 885, "loc": { "start": { "line": 33, "column": 30 }, "end": { "line": 33, "column": 31 } } }, { "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": 897, "end": 900, "loc": { "start": { "line": 35, "column": 8 }, "end": { "line": 35, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "averagePosition", "start": 901, "end": 916, "loc": { "start": { "line": 35, "column": 12 }, "end": { "line": 35, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 917, "end": 918, "loc": { "start": { "line": 35, "column": 28 }, "end": { "line": 35, "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": 919, "end": 922, "loc": { "start": { "line": 35, "column": 30 }, "end": { "line": 35, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Vector", "start": 923, "end": 929, "loc": { "start": { "line": 35, "column": 34 }, "end": { "line": 35, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 929, "end": 930, "loc": { "start": { "line": 35, "column": 40 }, "end": { "line": 35, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 930, "end": 931, "loc": { "start": { "line": 35, "column": 41 }, "end": { "line": 35, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 931, "end": 932, "loc": { "start": { "line": 35, "column": 42 }, "end": { "line": 35, "column": 43 } } }, { "type": "CommentLine", "value": " First, create a copy", "start": 944, "end": 967, "loc": { "start": { "line": 37, "column": 8 }, "end": { "line": 37, "column": 31 } } }, { "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": 977, "end": 980, "loc": { "start": { "line": 38, "column": 8 }, "end": { "line": 38, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 981, "end": 982, "loc": { "start": { "line": 38, "column": 12 }, "end": { "line": 38, "column": 13 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 982, "end": 985, "loc": { "start": { "line": 38, "column": 13 }, "end": { "line": 38, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 986, "end": 987, "loc": { "start": { "line": 38, "column": 17 }, "end": { "line": 38, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 988, "end": 989, "loc": { "start": { "line": 38, "column": 19 }, "end": { "line": 38, "column": 20 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 990, "end": 991, "loc": { "start": { "line": 38, "column": 21 }, "end": { "line": 38, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 991, "end": 992, "loc": { "start": { "line": 38, "column": 22 }, "end": { "line": 38, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 993, "end": 994, "loc": { "start": { "line": 38, "column": 24 }, "end": { "line": 38, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 995, "end": 996, "loc": { "start": { "line": 38, "column": 26 }, "end": { "line": 38, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "uids", "start": 997, "end": 1001, "loc": { "start": { "line": 38, "column": 28 }, "end": { "line": 38, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1001, "end": 1002, "loc": { "start": { "line": 38, "column": 32 }, "end": { "line": 38, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 1002, "end": 1008, "loc": { "start": { "line": 38, "column": 33 }, "end": { "line": 38, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1008, "end": 1009, "loc": { "start": { "line": 38, "column": 39 }, "end": { "line": 38, "column": 40 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 1010, "end": 1012, "loc": { "start": { "line": 38, "column": 41 }, "end": { "line": 38, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 1012, "end": 1013, "loc": { "start": { "line": 38, "column": 43 }, "end": { "line": 38, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1013, "end": 1014, "loc": { "start": { "line": 38, "column": 44 }, "end": { "line": 38, "column": 45 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1015, "end": 1016, "loc": { "start": { "line": 38, "column": 46 }, "end": { "line": 38, "column": 47 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 1030, "end": 1035, "loc": { "start": { "line": 39, "column": 12 }, "end": { "line": 39, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 1036, "end": 1042, "loc": { "start": { "line": 39, "column": 18 }, "end": { "line": 39, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1043, "end": 1044, "loc": { "start": { "line": 39, "column": 25 }, "end": { "line": 39, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 1045, "end": 1049, "loc": { "start": { "line": 39, "column": 27 }, "end": { "line": 39, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1049, "end": 1050, "loc": { "start": { "line": 39, "column": 31 }, "end": { "line": 39, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityMgr", "start": 1050, "end": 1059, "loc": { "start": { "line": 39, "column": 32 }, "end": { "line": 39, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1059, "end": 1060, "loc": { "start": { "line": 39, "column": 41 }, "end": { "line": 39, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "findByUid", "start": 1060, "end": 1069, "loc": { "start": { "line": 39, "column": 42 }, "end": { "line": 39, "column": 51 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1069, "end": 1070, "loc": { "start": { "line": 39, "column": 51 }, "end": { "line": 39, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "uids", "start": 1070, "end": 1074, "loc": { "start": { "line": 39, "column": 52 }, "end": { "line": 39, "column": 56 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1074, "end": 1075, "loc": { "start": { "line": 39, "column": 56 }, "end": { "line": 39, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 1075, "end": 1076, "loc": { "start": { "line": 39, "column": 57 }, "end": { "line": 39, "column": 58 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1076, "end": 1077, "loc": { "start": { "line": 39, "column": 58 }, "end": { "line": 39, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1077, "end": 1078, "loc": { "start": { "line": 39, "column": 59 }, "end": { "line": 39, "column": 60 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1078, "end": 1079, "loc": { "start": { "line": 39, "column": 60 }, "end": { "line": 39, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assert", "start": 1093, "end": 1099, "loc": { "start": { "line": 40, "column": 12 }, "end": { "line": 40, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1099, "end": 1100, "loc": { "start": { "line": 40, "column": 18 }, "end": { "line": 40, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 1100, "end": 1106, "loc": { "start": { "line": 40, "column": 19 }, "end": { "line": 40, "column": 25 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1106, "end": 1107, "loc": { "start": { "line": 40, "column": 25 }, "end": { "line": 40, "column": 26 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Entity for blueprint not found:", "start": 1108, "end": 1141, "loc": { "start": { "line": 40, "column": 27 }, "end": { "line": 40, "column": 60 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 1142, "end": 1143, "loc": { "start": { "line": 40, "column": 61 }, "end": { "line": 40, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "uids", "start": 1144, "end": 1148, "loc": { "start": { "line": 40, "column": 63 }, "end": { "line": 40, "column": 67 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1148, "end": 1149, "loc": { "start": { "line": 40, "column": 67 }, "end": { "line": 40, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 1149, "end": 1150, "loc": { "start": { "line": 40, "column": 68 }, "end": { "line": 40, "column": 69 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1150, "end": 1151, "loc": { "start": { "line": 40, "column": 69 }, "end": { "line": 40, "column": 70 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1151, "end": 1152, "loc": { "start": { "line": 40, "column": 70 }, "end": { "line": 40, "column": 71 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1152, "end": 1153, "loc": { "start": { "line": 40, "column": 71 }, "end": { "line": 40, "column": 72 } } }, { "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": 1169, "end": 1174, "loc": { "start": { "line": 42, "column": 12 }, "end": { "line": 42, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clone", "start": 1175, "end": 1180, "loc": { "start": { "line": 42, "column": 18 }, "end": { "line": 42, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1181, "end": 1182, "loc": { "start": { "line": 42, "column": 24 }, "end": { "line": 42, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 1183, "end": 1189, "loc": { "start": { "line": 42, "column": 26 }, "end": { "line": 42, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1189, "end": 1190, "loc": { "start": { "line": 42, "column": 32 }, "end": { "line": 42, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clone", "start": 1190, "end": 1195, "loc": { "start": { "line": 42, "column": 33 }, "end": { "line": 42, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1195, "end": 1196, "loc": { "start": { "line": 42, "column": 38 }, "end": { "line": 42, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1196, "end": 1197, "loc": { "start": { "line": 42, "column": 39 }, "end": { "line": 42, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1197, "end": 1198, "loc": { "start": { "line": 42, "column": 40 }, "end": { "line": 42, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "newEntities", "start": 1212, "end": 1223, "loc": { "start": { "line": 43, "column": 12 }, "end": { "line": 43, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1223, "end": 1224, "loc": { "start": { "line": 43, "column": 23 }, "end": { "line": 43, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 1224, "end": 1228, "loc": { "start": { "line": 43, "column": 24 }, "end": { "line": 43, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1228, "end": 1229, "loc": { "start": { "line": 43, "column": 28 }, "end": { "line": 43, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clone", "start": 1229, "end": 1234, "loc": { "start": { "line": 43, "column": 29 }, "end": { "line": 43, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1234, "end": 1235, "loc": { "start": { "line": 43, "column": 34 }, "end": { "line": 43, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1235, "end": 1236, "loc": { "start": { "line": 43, "column": 35 }, "end": { "line": 43, "column": 36 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 1252, "end": 1257, "loc": { "start": { "line": 45, "column": 12 }, "end": { "line": 45, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pos", "start": 1258, "end": 1261, "loc": { "start": { "line": 45, "column": 18 }, "end": { "line": 45, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1262, "end": 1263, "loc": { "start": { "line": 45, "column": 22 }, "end": { "line": 45, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 1264, "end": 1270, "loc": { "start": { "line": 45, "column": 24 }, "end": { "line": 45, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1270, "end": 1271, "loc": { "start": { "line": 45, "column": 30 }, "end": { "line": 45, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 1271, "end": 1281, "loc": { "start": { "line": 45, "column": 31 }, "end": { "line": 45, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1281, "end": 1282, "loc": { "start": { "line": 45, "column": 41 }, "end": { "line": 45, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "StaticMapEntity", "start": 1282, "end": 1297, "loc": { "start": { "line": 45, "column": 42 }, "end": { "line": 45, "column": 57 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1297, "end": 1298, "loc": { "start": { "line": 45, "column": 57 }, "end": { "line": 45, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getTileSpaceBounds", "start": 1298, "end": 1316, "loc": { "start": { "line": 45, "column": 58 }, "end": { "line": 45, "column": 76 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1316, "end": 1317, "loc": { "start": { "line": 45, "column": 76 }, "end": { "line": 45, "column": 77 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1317, "end": 1318, "loc": { "start": { "line": 45, "column": 77 }, "end": { "line": 45, "column": 78 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1318, "end": 1319, "loc": { "start": { "line": 45, "column": 78 }, "end": { "line": 45, "column": 79 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getCenter", "start": 1319, "end": 1328, "loc": { "start": { "line": 45, "column": 79 }, "end": { "line": 45, "column": 88 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1328, "end": 1329, "loc": { "start": { "line": 45, "column": 88 }, "end": { "line": 45, "column": 89 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1329, "end": 1330, "loc": { "start": { "line": 45, "column": 89 }, "end": { "line": 45, "column": 90 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1330, "end": 1331, "loc": { "start": { "line": 45, "column": 90 }, "end": { "line": 45, "column": 91 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "averagePosition", "start": 1345, "end": 1360, "loc": { "start": { "line": 46, "column": 12 }, "end": { "line": 46, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1360, "end": 1361, "loc": { "start": { "line": 46, "column": 27 }, "end": { "line": 46, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addInplace", "start": 1361, "end": 1371, "loc": { "start": { "line": 46, "column": 28 }, "end": { "line": 46, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1371, "end": 1372, "loc": { "start": { "line": 46, "column": 38 }, "end": { "line": 46, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pos", "start": 1372, "end": 1375, "loc": { "start": { "line": 46, "column": 39 }, "end": { "line": 46, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1375, "end": 1376, "loc": { "start": { "line": 46, "column": 42 }, "end": { "line": 46, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1376, "end": 1377, "loc": { "start": { "line": 46, "column": 43 }, "end": { "line": 46, "column": 44 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1387, "end": 1388, "loc": { "start": { "line": 47, "column": 8 }, "end": { "line": 47, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "averagePosition", "start": 1400, "end": 1415, "loc": { "start": { "line": 49, "column": 8 }, "end": { "line": 49, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1415, "end": 1416, "loc": { "start": { "line": 49, "column": 23 }, "end": { "line": 49, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "divideScalarInplace", "start": 1416, "end": 1435, "loc": { "start": { "line": 49, "column": 24 }, "end": { "line": 49, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1435, "end": 1436, "loc": { "start": { "line": 49, "column": 43 }, "end": { "line": 49, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "uids", "start": 1436, "end": 1440, "loc": { "start": { "line": 49, "column": 44 }, "end": { "line": 49, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1440, "end": 1441, "loc": { "start": { "line": 49, "column": 48 }, "end": { "line": 49, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 1441, "end": 1447, "loc": { "start": { "line": 49, "column": 49 }, "end": { "line": 49, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1447, "end": 1448, "loc": { "start": { "line": 49, "column": 55 }, "end": { "line": 49, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1448, "end": 1449, "loc": { "start": { "line": 49, "column": 56 }, "end": { "line": 49, "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": 1459, "end": 1464, "loc": { "start": { "line": 50, "column": 8 }, "end": { "line": 50, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "blueprintOrigin", "start": 1465, "end": 1480, "loc": { "start": { "line": 50, "column": 14 }, "end": { "line": 50, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1481, "end": 1482, "loc": { "start": { "line": 50, "column": 30 }, "end": { "line": 50, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "averagePosition", "start": 1483, "end": 1498, "loc": { "start": { "line": 50, "column": 32 }, "end": { "line": 50, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1498, "end": 1499, "loc": { "start": { "line": 50, "column": 47 }, "end": { "line": 50, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subScalars", "start": 1499, "end": 1509, "loc": { "start": { "line": 50, "column": 48 }, "end": { "line": 50, "column": 58 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1509, "end": 1510, "loc": { "start": { "line": 50, "column": 58 }, "end": { "line": 50, "column": 59 } } }, { "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": 1510, "end": 1513, "loc": { "start": { "line": 50, "column": 59 }, "end": { "line": 50, "column": 62 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1513, "end": 1514, "loc": { "start": { "line": 50, "column": 62 }, "end": { "line": 50, "column": 63 } } }, { "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": 1515, "end": 1518, "loc": { "start": { "line": 50, "column": 64 }, "end": { "line": 50, "column": 67 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1518, "end": 1519, "loc": { "start": { "line": 50, "column": 67 }, "end": { "line": 50, "column": 68 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1519, "end": 1520, "loc": { "start": { "line": 50, "column": 68 }, "end": { "line": 50, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "floor", "start": 1520, "end": 1525, "loc": { "start": { "line": 50, "column": 69 }, "end": { "line": 50, "column": 74 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1525, "end": 1526, "loc": { "start": { "line": 50, "column": 74 }, "end": { "line": 50, "column": 75 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1526, "end": 1527, "loc": { "start": { "line": 50, "column": 75 }, "end": { "line": 50, "column": 76 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1527, "end": 1528, "loc": { "start": { "line": 50, "column": 76 }, "end": { "line": 50, "column": 77 } } }, { "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": 1540, "end": 1543, "loc": { "start": { "line": 52, "column": 8 }, "end": { "line": 52, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1544, "end": 1545, "loc": { "start": { "line": 52, "column": 12 }, "end": { "line": 52, "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": 1545, "end": 1548, "loc": { "start": { "line": 52, "column": 13 }, "end": { "line": 52, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 1549, "end": 1550, "loc": { "start": { "line": 52, "column": 17 }, "end": { "line": 52, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1551, "end": 1552, "loc": { "start": { "line": 52, "column": 19 }, "end": { "line": 52, "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": 1553, "end": 1554, "loc": { "start": { "line": 52, "column": 21 }, "end": { "line": 52, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1554, "end": 1555, "loc": { "start": { "line": 52, "column": 22 }, "end": { "line": 52, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 1556, "end": 1557, "loc": { "start": { "line": 52, "column": 24 }, "end": { "line": 52, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 1558, "end": 1559, "loc": { "start": { "line": 52, "column": 26 }, "end": { "line": 52, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "uids", "start": 1560, "end": 1564, "loc": { "start": { "line": 52, "column": 28 }, "end": { "line": 52, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1564, "end": 1565, "loc": { "start": { "line": 52, "column": 32 }, "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": "length", "start": 1565, "end": 1571, "loc": { "start": { "line": 52, "column": 33 }, "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": 1571, "end": 1572, "loc": { "start": { "line": 52, "column": 39 }, "end": { "line": 52, "column": 40 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 1573, "end": 1575, "loc": { "start": { "line": 52, "column": 41 }, "end": { "line": 52, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 1575, "end": 1576, "loc": { "start": { "line": 52, "column": 43 }, "end": { "line": 52, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1576, "end": 1577, "loc": { "start": { "line": 52, "column": 44 }, "end": { "line": 52, "column": 45 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1578, "end": 1579, "loc": { "start": { "line": 52, "column": 46 }, "end": { "line": 52, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "newEntities", "start": 1593, "end": 1604, "loc": { "start": { "line": 53, "column": 12 }, "end": { "line": 53, "column": 23 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1604, "end": 1605, "loc": { "start": { "line": 53, "column": 23 }, "end": { "line": 53, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 1605, "end": 1606, "loc": { "start": { "line": 53, "column": 24 }, "end": { "line": 53, "column": 25 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1606, "end": 1607, "loc": { "start": { "line": 53, "column": 25 }, "end": { "line": 53, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1607, "end": 1608, "loc": { "start": { "line": 53, "column": 26 }, "end": { "line": 53, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 1608, "end": 1618, "loc": { "start": { "line": 53, "column": 27 }, "end": { "line": 53, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1618, "end": 1619, "loc": { "start": { "line": 53, "column": 37 }, "end": { "line": 53, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "StaticMapEntity", "start": 1619, "end": 1634, "loc": { "start": { "line": 53, "column": 38 }, "end": { "line": 53, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1634, "end": 1635, "loc": { "start": { "line": 53, "column": 53 }, "end": { "line": 53, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "origin", "start": 1635, "end": 1641, "loc": { "start": { "line": 53, "column": 54 }, "end": { "line": 53, "column": 60 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1641, "end": 1642, "loc": { "start": { "line": 53, "column": 60 }, "end": { "line": 53, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "subInplace", "start": 1642, "end": 1652, "loc": { "start": { "line": 53, "column": 61 }, "end": { "line": 53, "column": 71 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1652, "end": 1653, "loc": { "start": { "line": 53, "column": 71 }, "end": { "line": 53, "column": 72 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "blueprintOrigin", "start": 1653, "end": 1668, "loc": { "start": { "line": 53, "column": 72 }, "end": { "line": 53, "column": 87 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1668, "end": 1669, "loc": { "start": { "line": 53, "column": 87 }, "end": { "line": 53, "column": 88 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1669, "end": 1670, "loc": { "start": { "line": 53, "column": 88 }, "end": { "line": 53, "column": 89 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1680, "end": 1681, "loc": { "start": { "line": 54, "column": 8 }, "end": { "line": 54, "column": 9 } } }, { "type": "CommentLine", "value": " Now, make sure the origin is 0,0", "start": 1693, "end": 1728, "loc": { "start": { "line": 56, "column": 8 }, "end": { "line": 56, "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": 1738, "end": 1744, "loc": { "start": { "line": 57, "column": 8 }, "end": { "line": 57, "column": 14 } } }, { "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": 1745, "end": 1748, "loc": { "start": { "line": 57, "column": 15 }, "end": { "line": 57, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Blueprint", "start": 1749, "end": 1758, "loc": { "start": { "line": 57, "column": 19 }, "end": { "line": 57, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1758, "end": 1759, "loc": { "start": { "line": 57, "column": 28 }, "end": { "line": 57, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "newEntities", "start": 1759, "end": 1770, "loc": { "start": { "line": 57, "column": 29 }, "end": { "line": 57, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1770, "end": 1771, "loc": { "start": { "line": 57, "column": 40 }, "end": { "line": 57, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1771, "end": 1772, "loc": { "start": { "line": 57, "column": 41 }, "end": { "line": 57, "column": 42 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1778, "end": 1779, "loc": { "start": { "line": 58, "column": 4 }, "end": { "line": 58, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns the cost of this blueprint in shapes\r\n ", "start": 1787, "end": 1852, "loc": { "start": { "line": 60, "column": 4 }, "end": { "line": 62, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getCost", "start": 1858, "end": 1865, "loc": { "start": { "line": 63, "column": 4 }, "end": { "line": 63, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1865, "end": 1866, "loc": { "start": { "line": 63, "column": 11 }, "end": { "line": 63, "column": 12 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1866, "end": 1867, "loc": { "start": { "line": 63, "column": 12 }, "end": { "line": 63, "column": 13 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1868, "end": 1869, "loc": { "start": { "line": 63, "column": 14 }, "end": { "line": 63, "column": 15 } } }, { "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": 1879, "end": 1881, "loc": { "start": { "line": 64, "column": 8 }, "end": { "line": 64, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1882, "end": 1883, "loc": { "start": { "line": 64, "column": 11 }, "end": { "line": 64, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "G_IS_DEV", "start": 1883, "end": 1891, "loc": { "start": { "line": 64, "column": 12 }, "end": { "line": 64, "column": 20 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 1892, "end": 1894, "loc": { "start": { "line": 64, "column": 21 }, "end": { "line": 64, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 1895, "end": 1907, "loc": { "start": { "line": 64, "column": 24 }, "end": { "line": 64, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1907, "end": 1908, "loc": { "start": { "line": 64, "column": 36 }, "end": { "line": 64, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 1908, "end": 1913, "loc": { "start": { "line": 64, "column": 37 }, "end": { "line": 64, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1913, "end": 1914, "loc": { "start": { "line": 64, "column": 42 }, "end": { "line": 64, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "blueprintsNoCost", "start": 1914, "end": 1930, "loc": { "start": { "line": 64, "column": 43 }, "end": { "line": 64, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1930, "end": 1931, "loc": { "start": { "line": 64, "column": 59 }, "end": { "line": 64, "column": 60 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1932, "end": 1933, "loc": { "start": { "line": 64, "column": 61 }, "end": { "line": 64, "column": 62 } } }, { "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": 1947, "end": 1953, "loc": { "start": { "line": 65, "column": 12 }, "end": { "line": 65, "column": 18 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 1954, "end": 1955, "loc": { "start": { "line": 65, "column": 19 }, "end": { "line": 65, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1955, "end": 1956, "loc": { "start": { "line": 65, "column": 20 }, "end": { "line": 65, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1966, "end": 1967, "loc": { "start": { "line": 66, "column": 8 }, "end": { "line": 66, "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": 1977, "end": 1983, "loc": { "start": { "line": 67, "column": 8 }, "end": { "line": 67, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "findNiceIntegerValue", "start": 1984, "end": 2004, "loc": { "start": { "line": 67, "column": 15 }, "end": { "line": 67, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2004, "end": 2005, "loc": { "start": { "line": 67, "column": 35 }, "end": { "line": 67, "column": 36 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 4, "start": 2005, "end": 2006, "loc": { "start": { "line": 67, "column": 36 }, "end": { "line": 67, "column": 37 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 2007, "end": 2008, "loc": { "start": { "line": 67, "column": 38 }, "end": { "line": 67, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 2009, "end": 2013, "loc": { "start": { "line": 67, "column": 40 }, "end": { "line": 67, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2013, "end": 2014, "loc": { "start": { "line": 67, "column": 44 }, "end": { "line": 67, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pow", "start": 2014, "end": 2017, "loc": { "start": { "line": 67, "column": 45 }, "end": { "line": 67, "column": 48 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2017, "end": 2018, "loc": { "start": { "line": 67, "column": 48 }, "end": { "line": 67, "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": 2018, "end": 2022, "loc": { "start": { "line": 67, "column": 49 }, "end": { "line": 67, "column": 53 } } }, { "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": 67, "column": 53 }, "end": { "line": 67, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entities", "start": 2023, "end": 2031, "loc": { "start": { "line": 67, "column": 54 }, "end": { "line": 67, "column": 62 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2031, "end": 2032, "loc": { "start": { "line": 67, "column": 62 }, "end": { "line": 67, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 2032, "end": 2038, "loc": { "start": { "line": 67, "column": 63 }, "end": { "line": 67, "column": 69 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2038, "end": 2039, "loc": { "start": { "line": 67, "column": 69 }, "end": { "line": 67, "column": 70 } } }, { "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": 2040, "end": 2043, "loc": { "start": { "line": 67, "column": 71 }, "end": { "line": 67, "column": 74 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2043, "end": 2044, "loc": { "start": { "line": 67, "column": 74 }, "end": { "line": 67, "column": 75 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2044, "end": 2045, "loc": { "start": { "line": 67, "column": 75 }, "end": { "line": 67, "column": 76 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2045, "end": 2046, "loc": { "start": { "line": 67, "column": 76 }, "end": { "line": 67, "column": 77 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2052, "end": 2053, "loc": { "start": { "line": 68, "column": 4 }, "end": { "line": 68, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Draws the blueprint at the given origin\r\n * @param {DrawParameters} parameters\r\n ", "start": 2061, "end": 2164, "loc": { "start": { "line": 70, "column": 4 }, "end": { "line": 73, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "draw", "start": 2170, "end": 2174, "loc": { "start": { "line": 74, "column": 4 }, "end": { "line": 74, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2174, "end": 2175, "loc": { "start": { "line": 74, "column": 8 }, "end": { "line": 74, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 2175, "end": 2185, "loc": { "start": { "line": 74, "column": 9 }, "end": { "line": 74, "column": 19 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2185, "end": 2186, "loc": { "start": { "line": 74, "column": 19 }, "end": { "line": 74, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tile", "start": 2187, "end": 2191, "loc": { "start": { "line": 74, "column": 21 }, "end": { "line": 74, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2191, "end": 2192, "loc": { "start": { "line": 74, "column": 25 }, "end": { "line": 74, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2193, "end": 2194, "loc": { "start": { "line": 74, "column": 27 }, "end": { "line": 74, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 2204, "end": 2214, "loc": { "start": { "line": 75, "column": 8 }, "end": { "line": 75, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2214, "end": 2215, "loc": { "start": { "line": 75, "column": 18 }, "end": { "line": 75, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 2215, "end": 2222, "loc": { "start": { "line": 75, "column": 19 }, "end": { "line": 75, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2222, "end": 2223, "loc": { "start": { "line": 75, "column": 26 }, "end": { "line": 75, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalAlpha", "start": 2223, "end": 2234, "loc": { "start": { "line": 75, "column": 27 }, "end": { "line": 75, "column": 38 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2235, "end": 2236, "loc": { "start": { "line": 75, "column": 39 }, "end": { "line": 75, "column": 40 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0.8, "start": 2237, "end": 2240, "loc": { "start": { "line": 75, "column": 41 }, "end": { "line": 75, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2240, "end": 2241, "loc": { "start": { "line": 75, "column": 44 }, "end": { "line": 75, "column": 45 } } }, { "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": 2251, "end": 2254, "loc": { "start": { "line": 76, "column": 8 }, "end": { "line": 76, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2255, "end": 2256, "loc": { "start": { "line": 76, "column": 12 }, "end": { "line": 76, "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": 2256, "end": 2259, "loc": { "start": { "line": 76, "column": 13 }, "end": { "line": 76, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 2260, "end": 2261, "loc": { "start": { "line": 76, "column": 17 }, "end": { "line": 76, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2262, "end": 2263, "loc": { "start": { "line": 76, "column": 19 }, "end": { "line": 76, "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": 2264, "end": 2265, "loc": { "start": { "line": 76, "column": 21 }, "end": { "line": 76, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2265, "end": 2266, "loc": { "start": { "line": 76, "column": 22 }, "end": { "line": 76, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 2267, "end": 2268, "loc": { "start": { "line": 76, "column": 24 }, "end": { "line": 76, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 2269, "end": 2270, "loc": { "start": { "line": 76, "column": 26 }, "end": { "line": 76, "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": 2271, "end": 2275, "loc": { "start": { "line": 76, "column": 28 }, "end": { "line": 76, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2275, "end": 2276, "loc": { "start": { "line": 76, "column": 32 }, "end": { "line": 76, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entities", "start": 2276, "end": 2284, "loc": { "start": { "line": 76, "column": 33 }, "end": { "line": 76, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2284, "end": 2285, "loc": { "start": { "line": 76, "column": 41 }, "end": { "line": 76, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 2285, "end": 2291, "loc": { "start": { "line": 76, "column": 42 }, "end": { "line": 76, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2291, "end": 2292, "loc": { "start": { "line": 76, "column": 48 }, "end": { "line": 76, "column": 49 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 2293, "end": 2295, "loc": { "start": { "line": 76, "column": 50 }, "end": { "line": 76, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 2295, "end": 2296, "loc": { "start": { "line": 76, "column": 52 }, "end": { "line": 76, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2296, "end": 2297, "loc": { "start": { "line": 76, "column": 53 }, "end": { "line": 76, "column": 54 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2298, "end": 2299, "loc": { "start": { "line": 76, "column": 55 }, "end": { "line": 76, "column": 56 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 2313, "end": 2318, "loc": { "start": { "line": 77, "column": 12 }, "end": { "line": 77, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 2319, "end": 2325, "loc": { "start": { "line": 77, "column": 18 }, "end": { "line": 77, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2326, "end": 2327, "loc": { "start": { "line": 77, "column": 25 }, "end": { "line": 77, "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": 2328, "end": 2332, "loc": { "start": { "line": 77, "column": 27 }, "end": { "line": 77, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2332, "end": 2333, "loc": { "start": { "line": 77, "column": 31 }, "end": { "line": 77, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entities", "start": 2333, "end": 2341, "loc": { "start": { "line": 77, "column": 32 }, "end": { "line": 77, "column": 40 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2341, "end": 2342, "loc": { "start": { "line": 77, "column": 40 }, "end": { "line": 77, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 2342, "end": 2343, "loc": { "start": { "line": 77, "column": 41 }, "end": { "line": 77, "column": 42 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2343, "end": 2344, "loc": { "start": { "line": 77, "column": 42 }, "end": { "line": 77, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2344, "end": 2345, "loc": { "start": { "line": 77, "column": 43 }, "end": { "line": 77, "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": 2359, "end": 2364, "loc": { "start": { "line": 78, "column": 12 }, "end": { "line": 78, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "staticComp", "start": 2365, "end": 2375, "loc": { "start": { "line": 78, "column": 18 }, "end": { "line": 78, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2376, "end": 2377, "loc": { "start": { "line": 78, "column": 29 }, "end": { "line": 78, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 2378, "end": 2384, "loc": { "start": { "line": 78, "column": 31 }, "end": { "line": 78, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2384, "end": 2385, "loc": { "start": { "line": 78, "column": 37 }, "end": { "line": 78, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 2385, "end": 2395, "loc": { "start": { "line": 78, "column": 38 }, "end": { "line": 78, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2395, "end": 2396, "loc": { "start": { "line": 78, "column": 48 }, "end": { "line": 78, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "StaticMapEntity", "start": 2396, "end": 2411, "loc": { "start": { "line": 78, "column": 49 }, "end": { "line": 78, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2411, "end": 2412, "loc": { "start": { "line": 78, "column": 64 }, "end": { "line": 78, "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": 2426, "end": 2431, "loc": { "start": { "line": 79, "column": 12 }, "end": { "line": 79, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "newPos", "start": 2432, "end": 2438, "loc": { "start": { "line": 79, "column": 18 }, "end": { "line": 79, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2439, "end": 2440, "loc": { "start": { "line": 79, "column": 25 }, "end": { "line": 79, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "staticComp", "start": 2441, "end": 2451, "loc": { "start": { "line": 79, "column": 27 }, "end": { "line": 79, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2451, "end": 2452, "loc": { "start": { "line": 79, "column": 37 }, "end": { "line": 79, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "origin", "start": 2452, "end": 2458, "loc": { "start": { "line": 79, "column": 38 }, "end": { "line": 79, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2458, "end": 2459, "loc": { "start": { "line": 79, "column": 44 }, "end": { "line": 79, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "add", "start": 2459, "end": 2462, "loc": { "start": { "line": 79, "column": 45 }, "end": { "line": 79, "column": 48 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2462, "end": 2463, "loc": { "start": { "line": 79, "column": 48 }, "end": { "line": 79, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tile", "start": 2463, "end": 2467, "loc": { "start": { "line": 79, "column": 49 }, "end": { "line": 79, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2467, "end": 2468, "loc": { "start": { "line": 79, "column": 53 }, "end": { "line": 79, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2468, "end": 2469, "loc": { "start": { "line": 79, "column": 54 }, "end": { "line": 79, "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": 2485, "end": 2490, "loc": { "start": { "line": 81, "column": 12 }, "end": { "line": 81, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rect", "start": 2491, "end": 2495, "loc": { "start": { "line": 81, "column": 18 }, "end": { "line": 81, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2496, "end": 2497, "loc": { "start": { "line": 81, "column": 23 }, "end": { "line": 81, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "staticComp", "start": 2498, "end": 2508, "loc": { "start": { "line": 81, "column": 25 }, "end": { "line": 81, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2508, "end": 2509, "loc": { "start": { "line": 81, "column": 35 }, "end": { "line": 81, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getTileSpaceBounds", "start": 2509, "end": 2527, "loc": { "start": { "line": 81, "column": 36 }, "end": { "line": 81, "column": 54 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2527, "end": 2528, "loc": { "start": { "line": 81, "column": 54 }, "end": { "line": 81, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2528, "end": 2529, "loc": { "start": { "line": 81, "column": 55 }, "end": { "line": 81, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2529, "end": 2530, "loc": { "start": { "line": 81, "column": 56 }, "end": { "line": 81, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rect", "start": 2544, "end": 2548, "loc": { "start": { "line": 82, "column": 12 }, "end": { "line": 82, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2548, "end": 2549, "loc": { "start": { "line": 82, "column": 16 }, "end": { "line": 82, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "moveBy", "start": 2549, "end": 2555, "loc": { "start": { "line": 82, "column": 17 }, "end": { "line": 82, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2555, "end": 2556, "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": "tile", "start": 2556, "end": 2560, "loc": { "start": { "line": 82, "column": 24 }, "end": { "line": 82, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2560, "end": 2561, "loc": { "start": { "line": 82, "column": 28 }, "end": { "line": 82, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 2561, "end": 2562, "loc": { "start": { "line": 82, "column": 29 }, "end": { "line": 82, "column": 30 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2562, "end": 2563, "loc": { "start": { "line": 82, "column": 30 }, "end": { "line": 82, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tile", "start": 2564, "end": 2568, "loc": { "start": { "line": 82, "column": 32 }, "end": { "line": 82, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2568, "end": 2569, "loc": { "start": { "line": 82, "column": 36 }, "end": { "line": 82, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 2569, "end": 2570, "loc": { "start": { "line": 82, "column": 37 }, "end": { "line": 82, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2570, "end": 2571, "loc": { "start": { "line": 82, "column": 38 }, "end": { "line": 82, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2571, "end": 2572, "loc": { "start": { "line": 82, "column": 39 }, "end": { "line": 82, "column": 40 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 2588, "end": 2590, "loc": { "start": { "line": 84, "column": 12 }, "end": { "line": 84, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2591, "end": 2592, "loc": { "start": { "line": 84, "column": 15 }, "end": { "line": 84, "column": 16 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 2592, "end": 2593, "loc": { "start": { "line": 84, "column": 16 }, "end": { "line": 84, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 2593, "end": 2603, "loc": { "start": { "line": 84, "column": 17 }, "end": { "line": 84, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2603, "end": 2604, "loc": { "start": { "line": 84, "column": 27 }, "end": { "line": 84, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 2604, "end": 2608, "loc": { "start": { "line": 84, "column": 28 }, "end": { "line": 84, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2608, "end": 2609, "loc": { "start": { "line": 84, "column": 32 }, "end": { "line": 84, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logic", "start": 2609, "end": 2614, "loc": { "start": { "line": 84, "column": 33 }, "end": { "line": 84, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2614, "end": 2615, "loc": { "start": { "line": 84, "column": 38 }, "end": { "line": 84, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "checkCanPlaceEntity", "start": 2615, "end": 2634, "loc": { "start": { "line": 84, "column": 39 }, "end": { "line": 84, "column": 58 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2634, "end": 2635, "loc": { "start": { "line": 84, "column": 58 }, "end": { "line": 84, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 2635, "end": 2641, "loc": { "start": { "line": 84, "column": 59 }, "end": { "line": 84, "column": 65 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2641, "end": 2642, "loc": { "start": { "line": 84, "column": 65 }, "end": { "line": 84, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tile", "start": 2643, "end": 2647, "loc": { "start": { "line": 84, "column": 67 }, "end": { "line": 84, "column": 71 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2647, "end": 2648, "loc": { "start": { "line": 84, "column": 71 }, "end": { "line": 84, "column": 72 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2648, "end": 2649, "loc": { "start": { "line": 84, "column": 72 }, "end": { "line": 84, "column": 73 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2650, "end": 2651, "loc": { "start": { "line": 84, "column": 74 }, "end": { "line": 84, "column": 75 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 2669, "end": 2679, "loc": { "start": { "line": 85, "column": 16 }, "end": { "line": 85, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2679, "end": 2680, "loc": { "start": { "line": 85, "column": 26 }, "end": { "line": 85, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 2680, "end": 2687, "loc": { "start": { "line": 85, "column": 27 }, "end": { "line": 85, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2687, "end": 2688, "loc": { "start": { "line": 85, "column": 34 }, "end": { "line": 85, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalAlpha", "start": 2688, "end": 2699, "loc": { "start": { "line": 85, "column": 35 }, "end": { "line": 85, "column": 46 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2700, "end": 2701, "loc": { "start": { "line": 85, "column": 47 }, "end": { "line": 85, "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.3, "start": 2702, "end": 2705, "loc": { "start": { "line": 85, "column": 49 }, "end": { "line": 85, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2705, "end": 2706, "loc": { "start": { "line": 85, "column": 52 }, "end": { "line": 85, "column": 53 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2720, "end": 2721, "loc": { "start": { "line": 86, "column": 12 }, "end": { "line": 86, "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": 2722, "end": 2726, "loc": { "start": { "line": 86, "column": 14 }, "end": { "line": 86, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2727, "end": 2728, "loc": { "start": { "line": 86, "column": 19 }, "end": { "line": 86, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 2746, "end": 2756, "loc": { "start": { "line": 87, "column": 16 }, "end": { "line": 87, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2756, "end": 2757, "loc": { "start": { "line": 87, "column": 26 }, "end": { "line": 87, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 2757, "end": 2764, "loc": { "start": { "line": 87, "column": 27 }, "end": { "line": 87, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2764, "end": 2765, "loc": { "start": { "line": 87, "column": 34 }, "end": { "line": 87, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalAlpha", "start": 2765, "end": 2776, "loc": { "start": { "line": 87, "column": 35 }, "end": { "line": 87, "column": 46 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2777, "end": 2778, "loc": { "start": { "line": 87, "column": 47 }, "end": { "line": 87, "column": 48 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 2779, "end": 2780, "loc": { "start": { "line": 87, "column": 49 }, "end": { "line": 87, "column": 50 } } }, { "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": 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 }, "start": 2795, "end": 2796, "loc": { "start": { "line": 88, "column": 12 }, "end": { "line": 88, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "staticComp", "start": 2812, "end": 2822, "loc": { "start": { "line": 90, "column": 12 }, "end": { "line": 90, "column": 22 } } }, { "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": 90, "column": 22 }, "end": { "line": 90, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "drawSpriteOnBoundsClipped", "start": 2823, "end": 2848, "loc": { "start": { "line": 90, "column": 23 }, "end": { "line": 90, "column": 48 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2848, "end": 2849, "loc": { "start": { "line": 90, "column": 48 }, "end": { "line": 90, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 2849, "end": 2859, "loc": { "start": { "line": 90, "column": 49 }, "end": { "line": 90, "column": 59 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2859, "end": 2860, "loc": { "start": { "line": 90, "column": 59 }, "end": { "line": 90, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "staticComp", "start": 2861, "end": 2871, "loc": { "start": { "line": 90, "column": 61 }, "end": { "line": 90, "column": 71 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2871, "end": 2872, "loc": { "start": { "line": 90, "column": 71 }, "end": { "line": 90, "column": 72 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getBlueprintSprite", "start": 2872, "end": 2890, "loc": { "start": { "line": 90, "column": 72 }, "end": { "line": 90, "column": 90 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2890, "end": 2891, "loc": { "start": { "line": 90, "column": 90 }, "end": { "line": 90, "column": 91 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2891, "end": 2892, "loc": { "start": { "line": 90, "column": 91 }, "end": { "line": 90, "column": 92 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2892, "end": 2893, "loc": { "start": { "line": 90, "column": 92 }, "end": { "line": 90, "column": 93 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 2894, "end": 2895, "loc": { "start": { "line": 90, "column": 94 }, "end": { "line": 90, "column": 95 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2895, "end": 2896, "loc": { "start": { "line": 90, "column": 95 }, "end": { "line": 90, "column": 96 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "newPos", "start": 2897, "end": 2903, "loc": { "start": { "line": 90, "column": 97 }, "end": { "line": 90, "column": 103 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2903, "end": 2904, "loc": { "start": { "line": 90, "column": 103 }, "end": { "line": 90, "column": 104 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2904, "end": 2905, "loc": { "start": { "line": 90, "column": 104 }, "end": { "line": 90, "column": 105 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2915, "end": 2916, "loc": { "start": { "line": 91, "column": 8 }, "end": { "line": 91, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 2926, "end": 2936, "loc": { "start": { "line": 92, "column": 8 }, "end": { "line": 92, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2936, "end": 2937, "loc": { "start": { "line": 92, "column": 18 }, "end": { "line": 92, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 2937, "end": 2944, "loc": { "start": { "line": 92, "column": 19 }, "end": { "line": 92, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2944, "end": 2945, "loc": { "start": { "line": 92, "column": 26 }, "end": { "line": 92, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalAlpha", "start": 2945, "end": 2956, "loc": { "start": { "line": 92, "column": 27 }, "end": { "line": 92, "column": 38 } } }, { "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": 92, "column": 39 }, "end": { "line": 92, "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": 2959, "end": 2960, "loc": { "start": { "line": 92, "column": 41 }, "end": { "line": 92, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2960, "end": 2961, "loc": { "start": { "line": 92, "column": 42 }, "end": { "line": 92, "column": 43 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2967, "end": 2968, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 93, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Rotates the blueprint clockwise\r\n ", "start": 2976, "end": 3028, "loc": { "start": { "line": 95, "column": 4 }, "end": { "line": 97, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rotateCw", "start": 3034, "end": 3042, "loc": { "start": { "line": 98, "column": 4 }, "end": { "line": 98, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3042, "end": 3043, "loc": { "start": { "line": 98, "column": 12 }, "end": { "line": 98, "column": 13 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3043, "end": 3044, "loc": { "start": { "line": 98, "column": 13 }, "end": { "line": 98, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3045, "end": 3046, "loc": { "start": { "line": 98, "column": 15 }, "end": { "line": 98, "column": 16 } } }, { "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": 3056, "end": 3059, "loc": { "start": { "line": 99, "column": 8 }, "end": { "line": 99, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3060, "end": 3061, "loc": { "start": { "line": 99, "column": 12 }, "end": { "line": 99, "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": 3061, "end": 3064, "loc": { "start": { "line": 99, "column": 13 }, "end": { "line": 99, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 3065, "end": 3066, "loc": { "start": { "line": 99, "column": 17 }, "end": { "line": 99, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3067, "end": 3068, "loc": { "start": { "line": 99, "column": 19 }, "end": { "line": 99, "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": 3069, "end": 3070, "loc": { "start": { "line": 99, "column": 21 }, "end": { "line": 99, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3070, "end": 3071, "loc": { "start": { "line": 99, "column": 22 }, "end": { "line": 99, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 3072, "end": 3073, "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": 7, "updateContext": null }, "value": "<", "start": 3074, "end": 3075, "loc": { "start": { "line": 99, "column": 26 }, "end": { "line": 99, "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": 3076, "end": 3080, "loc": { "start": { "line": 99, "column": 28 }, "end": { "line": 99, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3080, "end": 3081, "loc": { "start": { "line": 99, "column": 32 }, "end": { "line": 99, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entities", "start": 3081, "end": 3089, "loc": { "start": { "line": 99, "column": 33 }, "end": { "line": 99, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3089, "end": 3090, "loc": { "start": { "line": 99, "column": 41 }, "end": { "line": 99, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 3090, "end": 3096, "loc": { "start": { "line": 99, "column": 42 }, "end": { "line": 99, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3096, "end": 3097, "loc": { "start": { "line": 99, "column": 48 }, "end": { "line": 99, "column": 49 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 3098, "end": 3100, "loc": { "start": { "line": 99, "column": 50 }, "end": { "line": 99, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 3100, "end": 3101, "loc": { "start": { "line": 99, "column": 52 }, "end": { "line": 99, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3101, "end": 3102, "loc": { "start": { "line": 99, "column": 53 }, "end": { "line": 99, "column": 54 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3103, "end": 3104, "loc": { "start": { "line": 99, "column": 55 }, "end": { "line": 99, "column": 56 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 3118, "end": 3123, "loc": { "start": { "line": 100, "column": 12 }, "end": { "line": 100, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 3124, "end": 3130, "loc": { "start": { "line": 100, "column": 18 }, "end": { "line": 100, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3131, "end": 3132, "loc": { "start": { "line": 100, "column": 25 }, "end": { "line": 100, "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": 3133, "end": 3137, "loc": { "start": { "line": 100, "column": 27 }, "end": { "line": 100, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3137, "end": 3138, "loc": { "start": { "line": 100, "column": 31 }, "end": { "line": 100, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entities", "start": 3138, "end": 3146, "loc": { "start": { "line": 100, "column": 32 }, "end": { "line": 100, "column": 40 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3146, "end": 3147, "loc": { "start": { "line": 100, "column": 40 }, "end": { "line": 100, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 3147, "end": 3148, "loc": { "start": { "line": 100, "column": 41 }, "end": { "line": 100, "column": 42 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3148, "end": 3149, "loc": { "start": { "line": 100, "column": 42 }, "end": { "line": 100, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3149, "end": 3150, "loc": { "start": { "line": 100, "column": 43 }, "end": { "line": 100, "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": 3164, "end": 3169, "loc": { "start": { "line": 101, "column": 12 }, "end": { "line": 101, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "staticComp", "start": 3170, "end": 3180, "loc": { "start": { "line": 101, "column": 18 }, "end": { "line": 101, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3181, "end": 3182, "loc": { "start": { "line": 101, "column": 29 }, "end": { "line": 101, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 3183, "end": 3189, "loc": { "start": { "line": 101, "column": 31 }, "end": { "line": 101, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3189, "end": 3190, "loc": { "start": { "line": 101, "column": 37 }, "end": { "line": 101, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 3190, "end": 3200, "loc": { "start": { "line": 101, "column": 38 }, "end": { "line": 101, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3200, "end": 3201, "loc": { "start": { "line": 101, "column": 48 }, "end": { "line": 101, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "StaticMapEntity", "start": 3201, "end": 3216, "loc": { "start": { "line": 101, "column": 49 }, "end": { "line": 101, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3216, "end": 3217, "loc": { "start": { "line": 101, "column": 64 }, "end": { "line": 101, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "staticComp", "start": 3233, "end": 3243, "loc": { "start": { "line": 103, "column": 12 }, "end": { "line": 103, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3243, "end": 3244, "loc": { "start": { "line": 103, "column": 22 }, "end": { "line": 103, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rotation", "start": 3244, "end": 3252, "loc": { "start": { "line": 103, "column": 23 }, "end": { "line": 103, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3253, "end": 3254, "loc": { "start": { "line": 103, "column": 32 }, "end": { "line": 103, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3255, "end": 3256, "loc": { "start": { "line": 103, "column": 34 }, "end": { "line": 103, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "staticComp", "start": 3256, "end": 3266, "loc": { "start": { "line": 103, "column": 35 }, "end": { "line": 103, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3266, "end": 3267, "loc": { "start": { "line": 103, "column": 45 }, "end": { "line": 103, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rotation", "start": 3267, "end": 3275, "loc": { "start": { "line": 103, "column": 46 }, "end": { "line": 103, "column": 54 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 3276, "end": 3277, "loc": { "start": { "line": 103, "column": 55 }, "end": { "line": 103, "column": 56 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 90, "start": 3278, "end": 3280, "loc": { "start": { "line": 103, "column": 57 }, "end": { "line": 103, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3280, "end": 3281, "loc": { "start": { "line": 103, "column": 59 }, "end": { "line": 103, "column": 60 } } }, { "type": { "label": "%", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "%", "start": 3282, "end": 3283, "loc": { "start": { "line": 103, "column": 61 }, "end": { "line": 103, "column": 62 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 360, "start": 3284, "end": 3287, "loc": { "start": { "line": 103, "column": 63 }, "end": { "line": 103, "column": 66 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3287, "end": 3288, "loc": { "start": { "line": 103, "column": 66 }, "end": { "line": 103, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "staticComp", "start": 3302, "end": 3312, "loc": { "start": { "line": 104, "column": 12 }, "end": { "line": 104, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3312, "end": 3313, "loc": { "start": { "line": 104, "column": 22 }, "end": { "line": 104, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "originalRotation", "start": 3313, "end": 3329, "loc": { "start": { "line": 104, "column": 23 }, "end": { "line": 104, "column": 39 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3330, "end": 3331, "loc": { "start": { "line": 104, "column": 40 }, "end": { "line": 104, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3332, "end": 3333, "loc": { "start": { "line": 104, "column": 42 }, "end": { "line": 104, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "staticComp", "start": 3333, "end": 3343, "loc": { "start": { "line": 104, "column": 43 }, "end": { "line": 104, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3343, "end": 3344, "loc": { "start": { "line": 104, "column": 53 }, "end": { "line": 104, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "originalRotation", "start": 3344, "end": 3360, "loc": { "start": { "line": 104, "column": 54 }, "end": { "line": 104, "column": 70 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 3361, "end": 3362, "loc": { "start": { "line": 104, "column": 71 }, "end": { "line": 104, "column": 72 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 90, "start": 3363, "end": 3365, "loc": { "start": { "line": 104, "column": 73 }, "end": { "line": 104, "column": 75 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3365, "end": 3366, "loc": { "start": { "line": 104, "column": 75 }, "end": { "line": 104, "column": 76 } } }, { "type": { "label": "%", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "%", "start": 3367, "end": 3368, "loc": { "start": { "line": 104, "column": 77 }, "end": { "line": 104, "column": 78 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 360, "start": 3369, "end": 3372, "loc": { "start": { "line": 104, "column": 79 }, "end": { "line": 104, "column": 82 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3372, "end": 3373, "loc": { "start": { "line": 104, "column": 82 }, "end": { "line": 104, "column": 83 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "staticComp", "start": 3387, "end": 3397, "loc": { "start": { "line": 105, "column": 12 }, "end": { "line": 105, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3397, "end": 3398, "loc": { "start": { "line": 105, "column": 22 }, "end": { "line": 105, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "origin", "start": 3398, "end": 3404, "loc": { "start": { "line": 105, "column": 23 }, "end": { "line": 105, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3405, "end": 3406, "loc": { "start": { "line": 105, "column": 30 }, "end": { "line": 105, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "staticComp", "start": 3407, "end": 3417, "loc": { "start": { "line": 105, "column": 32 }, "end": { "line": 105, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3417, "end": 3418, "loc": { "start": { "line": 105, "column": 42 }, "end": { "line": 105, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "origin", "start": 3418, "end": 3424, "loc": { "start": { "line": 105, "column": 43 }, "end": { "line": 105, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3424, "end": 3425, "loc": { "start": { "line": 105, "column": 49 }, "end": { "line": 105, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rotateFastMultipleOf90", "start": 3425, "end": 3447, "loc": { "start": { "line": 105, "column": 50 }, "end": { "line": 105, "column": 72 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3447, "end": 3448, "loc": { "start": { "line": 105, "column": 72 }, "end": { "line": 105, "column": 73 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 90, "start": 3448, "end": 3450, "loc": { "start": { "line": 105, "column": 73 }, "end": { "line": 105, "column": 75 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3450, "end": 3451, "loc": { "start": { "line": 105, "column": 75 }, "end": { "line": 105, "column": 76 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3451, "end": 3452, "loc": { "start": { "line": 105, "column": 76 }, "end": { "line": 105, "column": 77 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3462, "end": 3463, "loc": { "start": { "line": 106, "column": 8 }, "end": { "line": 106, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3469, "end": 3470, "loc": { "start": { "line": 107, "column": 4 }, "end": { "line": 107, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Rotates the blueprint counter clock wise\r\n ", "start": 3478, "end": 3539, "loc": { "start": { "line": 109, "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": "rotateCcw", "start": 3545, "end": 3554, "loc": { "start": { "line": 112, "column": 4 }, "end": { "line": 112, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3554, "end": 3555, "loc": { "start": { "line": 112, "column": 13 }, "end": { "line": 112, "column": 14 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3555, "end": 3556, "loc": { "start": { "line": 112, "column": 14 }, "end": { "line": 112, "column": 15 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3557, "end": 3558, "loc": { "start": { "line": 112, "column": 16 }, "end": { "line": 112, "column": 17 } } }, { "type": "CommentLine", "value": " Well ...", "start": 3568, "end": 3579, "loc": { "start": { "line": 113, "column": 8 }, "end": { "line": 113, "column": 19 } } }, { "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": 3589, "end": 3592, "loc": { "start": { "line": 114, "column": 8 }, "end": { "line": 114, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3593, "end": 3594, "loc": { "start": { "line": 114, "column": 12 }, "end": { "line": 114, "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": 3594, "end": 3597, "loc": { "start": { "line": 114, "column": 13 }, "end": { "line": 114, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 3598, "end": 3599, "loc": { "start": { "line": 114, "column": 17 }, "end": { "line": 114, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3600, "end": 3601, "loc": { "start": { "line": 114, "column": 19 }, "end": { "line": 114, "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": 3602, "end": 3603, "loc": { "start": { "line": 114, "column": 21 }, "end": { "line": 114, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3603, "end": 3604, "loc": { "start": { "line": 114, "column": 22 }, "end": { "line": 114, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 3605, "end": 3606, "loc": { "start": { "line": 114, "column": 24 }, "end": { "line": 114, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 3607, "end": 3608, "loc": { "start": { "line": 114, "column": 26 }, "end": { "line": 114, "column": 27 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 3, "start": 3609, "end": 3610, "loc": { "start": { "line": 114, "column": 28 }, "end": { "line": 114, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3610, "end": 3611, "loc": { "start": { "line": 114, "column": 29 }, "end": { "line": 114, "column": 30 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 3612, "end": 3614, "loc": { "start": { "line": 114, "column": 31 }, "end": { "line": 114, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 3614, "end": 3615, "loc": { "start": { "line": 114, "column": 33 }, "end": { "line": 114, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3615, "end": 3616, "loc": { "start": { "line": 114, "column": 34 }, "end": { "line": 114, "column": 35 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3617, "end": 3618, "loc": { "start": { "line": 114, "column": 36 }, "end": { "line": 114, "column": 37 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3632, "end": 3636, "loc": { "start": { "line": 115, "column": 12 }, "end": { "line": 115, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3636, "end": 3637, "loc": { "start": { "line": 115, "column": 16 }, "end": { "line": 115, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "rotateCw", "start": 3637, "end": 3645, "loc": { "start": { "line": 115, "column": 17 }, "end": { "line": 115, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3645, "end": 3646, "loc": { "start": { "line": 115, "column": 25 }, "end": { "line": 115, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3646, "end": 3647, "loc": { "start": { "line": 115, "column": 26 }, "end": { "line": 115, "column": 27 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3647, "end": 3648, "loc": { "start": { "line": 115, "column": 27 }, "end": { "line": 115, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3658, "end": 3659, "loc": { "start": { "line": 116, "column": 8 }, "end": { "line": 116, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3665, "end": 3666, "loc": { "start": { "line": 117, "column": 4 }, "end": { "line": 117, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Checks if the blueprint can be placed at the given tile\r\n * @param {GameRoot} root\r\n * @param {Vector} tile\r\n ", "start": 3674, "end": 3810, "loc": { "start": { "line": 119, "column": 4 }, "end": { "line": 123, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "canPlace", "start": 3816, "end": 3824, "loc": { "start": { "line": 124, "column": 4 }, "end": { "line": 124, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3824, "end": 3825, "loc": { "start": { "line": 124, "column": 12 }, "end": { "line": 124, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 3825, "end": 3829, "loc": { "start": { "line": 124, "column": 13 }, "end": { "line": 124, "column": 17 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3829, "end": 3830, "loc": { "start": { "line": 124, "column": 17 }, "end": { "line": 124, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tile", "start": 3831, "end": 3835, "loc": { "start": { "line": 124, "column": 19 }, "end": { "line": 124, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3835, "end": 3836, "loc": { "start": { "line": 124, "column": 23 }, "end": { "line": 124, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3837, "end": 3838, "loc": { "start": { "line": 124, "column": 25 }, "end": { "line": 124, "column": 26 } } }, { "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": 3848, "end": 3851, "loc": { "start": { "line": 125, "column": 8 }, "end": { "line": 125, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "anyPlaceable", "start": 3852, "end": 3864, "loc": { "start": { "line": 125, "column": 12 }, "end": { "line": 125, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3865, "end": 3866, "loc": { "start": { "line": 125, "column": 25 }, "end": { "line": 125, "column": 26 } } }, { "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": 3867, "end": 3872, "loc": { "start": { "line": 125, "column": 27 }, "end": { "line": 125, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3872, "end": 3873, "loc": { "start": { "line": 125, "column": 32 }, "end": { "line": 125, "column": 33 } } }, { "type": { "label": "for", "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "for", "start": 3885, "end": 3888, "loc": { "start": { "line": 127, "column": 8 }, "end": { "line": 127, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3889, "end": 3890, "loc": { "start": { "line": 127, "column": 12 }, "end": { "line": 127, "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": 3890, "end": 3893, "loc": { "start": { "line": 127, "column": 13 }, "end": { "line": 127, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 3894, "end": 3895, "loc": { "start": { "line": 127, "column": 17 }, "end": { "line": 127, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3896, "end": 3897, "loc": { "start": { "line": 127, "column": 19 }, "end": { "line": 127, "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": 3898, "end": 3899, "loc": { "start": { "line": 127, "column": 21 }, "end": { "line": 127, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3899, "end": 3900, "loc": { "start": { "line": 127, "column": 22 }, "end": { "line": 127, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 3901, "end": 3902, "loc": { "start": { "line": 127, "column": 24 }, "end": { "line": 127, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 3903, "end": 3904, "loc": { "start": { "line": 127, "column": 26 }, "end": { "line": 127, "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": 3905, "end": 3909, "loc": { "start": { "line": 127, "column": 28 }, "end": { "line": 127, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3909, "end": 3910, "loc": { "start": { "line": 127, "column": 32 }, "end": { "line": 127, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entities", "start": 3910, "end": 3918, "loc": { "start": { "line": 127, "column": 33 }, "end": { "line": 127, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3918, "end": 3919, "loc": { "start": { "line": 127, "column": 41 }, "end": { "line": 127, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 3919, "end": 3925, "loc": { "start": { "line": 127, "column": 42 }, "end": { "line": 127, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3925, "end": 3926, "loc": { "start": { "line": 127, "column": 48 }, "end": { "line": 127, "column": 49 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 3927, "end": 3929, "loc": { "start": { "line": 127, "column": 50 }, "end": { "line": 127, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 3929, "end": 3930, "loc": { "start": { "line": 127, "column": 52 }, "end": { "line": 127, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3930, "end": 3931, "loc": { "start": { "line": 127, "column": 53 }, "end": { "line": 127, "column": 54 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3932, "end": 3933, "loc": { "start": { "line": 127, "column": 55 }, "end": { "line": 127, "column": 56 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 3947, "end": 3952, "loc": { "start": { "line": 128, "column": 12 }, "end": { "line": 128, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 3953, "end": 3959, "loc": { "start": { "line": 128, "column": 18 }, "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": 3960, "end": 3961, "loc": { "start": { "line": 128, "column": 25 }, "end": { "line": 128, "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": 3962, "end": 3966, "loc": { "start": { "line": 128, "column": 27 }, "end": { "line": 128, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3966, "end": 3967, "loc": { "start": { "line": 128, "column": 31 }, "end": { "line": 128, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entities", "start": 3967, "end": 3975, "loc": { "start": { "line": 128, "column": 32 }, "end": { "line": 128, "column": 40 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3975, "end": 3976, "loc": { "start": { "line": 128, "column": 40 }, "end": { "line": 128, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 3976, "end": 3977, "loc": { "start": { "line": 128, "column": 41 }, "end": { "line": 128, "column": 42 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3977, "end": 3978, "loc": { "start": { "line": 128, "column": 42 }, "end": { "line": 128, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3978, "end": 3979, "loc": { "start": { "line": 128, "column": 43 }, "end": { "line": 128, "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": 3993, "end": 3995, "loc": { "start": { "line": 129, "column": 12 }, "end": { "line": 129, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3996, "end": 3997, "loc": { "start": { "line": 129, "column": 15 }, "end": { "line": 129, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 3997, "end": 4001, "loc": { "start": { "line": 129, "column": 16 }, "end": { "line": 129, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4001, "end": 4002, "loc": { "start": { "line": 129, "column": 20 }, "end": { "line": 129, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logic", "start": 4002, "end": 4007, "loc": { "start": { "line": 129, "column": 21 }, "end": { "line": 129, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4007, "end": 4008, "loc": { "start": { "line": 129, "column": 26 }, "end": { "line": 129, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "checkCanPlaceEntity", "start": 4008, "end": 4027, "loc": { "start": { "line": 129, "column": 27 }, "end": { "line": 129, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4027, "end": 4028, "loc": { "start": { "line": 129, "column": 46 }, "end": { "line": 129, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 4028, "end": 4034, "loc": { "start": { "line": 129, "column": 47 }, "end": { "line": 129, "column": 53 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4034, "end": 4035, "loc": { "start": { "line": 129, "column": 53 }, "end": { "line": 129, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tile", "start": 4036, "end": 4040, "loc": { "start": { "line": 129, "column": 55 }, "end": { "line": 129, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4040, "end": 4041, "loc": { "start": { "line": 129, "column": 59 }, "end": { "line": 129, "column": 60 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4041, "end": 4042, "loc": { "start": { "line": 129, "column": 60 }, "end": { "line": 129, "column": 61 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4043, "end": 4044, "loc": { "start": { "line": 129, "column": 62 }, "end": { "line": 129, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "anyPlaceable", "start": 4062, "end": 4074, "loc": { "start": { "line": 130, "column": 16 }, "end": { "line": 130, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4075, "end": 4076, "loc": { "start": { "line": 130, "column": 29 }, "end": { "line": 130, "column": 30 } } }, { "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": 4077, "end": 4081, "loc": { "start": { "line": 130, "column": 31 }, "end": { "line": 130, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4081, "end": 4082, "loc": { "start": { "line": 130, "column": 35 }, "end": { "line": 130, "column": 36 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4096, "end": 4097, "loc": { "start": { "line": 131, "column": 12 }, "end": { "line": 131, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4107, "end": 4108, "loc": { "start": { "line": 132, "column": 8 }, "end": { "line": 132, "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": 4120, "end": 4126, "loc": { "start": { "line": 134, "column": 8 }, "end": { "line": 134, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "anyPlaceable", "start": 4127, "end": 4139, "loc": { "start": { "line": 134, "column": 15 }, "end": { "line": 134, "column": 27 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4139, "end": 4140, "loc": { "start": { "line": 134, "column": 27 }, "end": { "line": 134, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4146, "end": 4147, "loc": { "start": { "line": 135, "column": 4 }, "end": { "line": 135, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * @param {GameRoot} root\r\n ", "start": 4155, "end": 4198, "loc": { "start": { "line": 137, "column": 4 }, "end": { "line": 139, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "canAfford", "start": 4204, "end": 4213, "loc": { "start": { "line": 140, "column": 4 }, "end": { "line": 140, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4213, "end": 4214, "loc": { "start": { "line": 140, "column": 13 }, "end": { "line": 140, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 4214, "end": 4218, "loc": { "start": { "line": 140, "column": 14 }, "end": { "line": 140, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4218, "end": 4219, "loc": { "start": { "line": 140, "column": 18 }, "end": { "line": 140, "column": 19 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4220, "end": 4221, "loc": { "start": { "line": 140, "column": 20 }, "end": { "line": 140, "column": 21 } } }, { "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": 4231, "end": 4237, "loc": { "start": { "line": 141, "column": 8 }, "end": { "line": 141, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 4238, "end": 4242, "loc": { "start": { "line": 141, "column": 15 }, "end": { "line": 141, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4242, "end": 4243, "loc": { "start": { "line": 141, "column": 19 }, "end": { "line": 141, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hubGoals", "start": 4243, "end": 4251, "loc": { "start": { "line": 141, "column": 20 }, "end": { "line": 141, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4251, "end": 4252, "loc": { "start": { "line": 141, "column": 28 }, "end": { "line": 141, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getShapesStoredByKey", "start": 4252, "end": 4272, "loc": { "start": { "line": 141, "column": 29 }, "end": { "line": 141, "column": 49 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4272, "end": 4273, "loc": { "start": { "line": 141, "column": 49 }, "end": { "line": 141, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 4273, "end": 4277, "loc": { "start": { "line": 141, "column": 50 }, "end": { "line": 141, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4277, "end": 4278, "loc": { "start": { "line": 141, "column": 54 }, "end": { "line": 141, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "gameMode", "start": 4278, "end": 4286, "loc": { "start": { "line": 141, "column": 55 }, "end": { "line": 141, "column": 63 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4286, "end": 4287, "loc": { "start": { "line": 141, "column": 63 }, "end": { "line": 141, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getBlueprintShapeKey", "start": 4287, "end": 4307, "loc": { "start": { "line": 141, "column": 64 }, "end": { "line": 141, "column": 84 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4307, "end": 4308, "loc": { "start": { "line": 141, "column": 84 }, "end": { "line": 141, "column": 85 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4308, "end": 4309, "loc": { "start": { "line": 141, "column": 85 }, "end": { "line": 141, "column": 86 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4309, "end": 4310, "loc": { "start": { "line": 141, "column": 86 }, "end": { "line": 141, "column": 87 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">=", "start": 4311, "end": 4313, "loc": { "start": { "line": 141, "column": 88 }, "end": { "line": 141, "column": 90 } } }, { "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": 4314, "end": 4318, "loc": { "start": { "line": 141, "column": 91 }, "end": { "line": 141, "column": 95 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4318, "end": 4319, "loc": { "start": { "line": 141, "column": 95 }, "end": { "line": 141, "column": 96 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getCost", "start": 4319, "end": 4326, "loc": { "start": { "line": 141, "column": 96 }, "end": { "line": 141, "column": 103 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4326, "end": 4327, "loc": { "start": { "line": 141, "column": 103 }, "end": { "line": 141, "column": 104 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4327, "end": 4328, "loc": { "start": { "line": 141, "column": 104 }, "end": { "line": 141, "column": 105 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4328, "end": 4329, "loc": { "start": { "line": 141, "column": 105 }, "end": { "line": 141, "column": 106 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4335, "end": 4336, "loc": { "start": { "line": 142, "column": 4 }, "end": { "line": 142, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Attempts to place the blueprint at the given tile\r\n * @param {GameRoot} root\r\n * @param {Vector} tile\r\n ", "start": 4344, "end": 4474, "loc": { "start": { "line": 144, "column": 4 }, "end": { "line": 148, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tryPlace", "start": 4480, "end": 4488, "loc": { "start": { "line": 149, "column": 4 }, "end": { "line": 149, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4488, "end": 4489, "loc": { "start": { "line": 149, "column": 12 }, "end": { "line": 149, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 4489, "end": 4493, "loc": { "start": { "line": 149, "column": 13 }, "end": { "line": 149, "column": 17 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4493, "end": 4494, "loc": { "start": { "line": 149, "column": 17 }, "end": { "line": 149, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tile", "start": 4495, "end": 4499, "loc": { "start": { "line": 149, "column": 19 }, "end": { "line": 149, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4499, "end": 4500, "loc": { "start": { "line": 149, "column": 23 }, "end": { "line": 149, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4501, "end": 4502, "loc": { "start": { "line": 149, "column": 25 }, "end": { "line": 149, "column": 26 } } }, { "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": 4512, "end": 4518, "loc": { "start": { "line": 150, "column": 8 }, "end": { "line": 150, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 4519, "end": 4523, "loc": { "start": { "line": 150, "column": 15 }, "end": { "line": 150, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4523, "end": 4524, "loc": { "start": { "line": 150, "column": 19 }, "end": { "line": 150, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logic", "start": 4524, "end": 4529, "loc": { "start": { "line": 150, "column": 20 }, "end": { "line": 150, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4529, "end": 4530, "loc": { "start": { "line": 150, "column": 25 }, "end": { "line": 150, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "performBulkOperation", "start": 4530, "end": 4550, "loc": { "start": { "line": 150, "column": 26 }, "end": { "line": 150, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4550, "end": 4551, "loc": { "start": { "line": 150, "column": 46 }, "end": { "line": 150, "column": 47 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4551, "end": 4552, "loc": { "start": { "line": 150, "column": 47 }, "end": { "line": 150, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4552, "end": 4553, "loc": { "start": { "line": 150, "column": 48 }, "end": { "line": 150, "column": 49 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4554, "end": 4556, "loc": { "start": { "line": 150, "column": 50 }, "end": { "line": 150, "column": 52 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4557, "end": 4558, "loc": { "start": { "line": 150, "column": 53 }, "end": { "line": 150, "column": 54 } } }, { "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": 4572, "end": 4575, "loc": { "start": { "line": 151, "column": 12 }, "end": { "line": 151, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "anyPlaced", "start": 4576, "end": 4585, "loc": { "start": { "line": 151, "column": 16 }, "end": { "line": 151, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4586, "end": 4587, "loc": { "start": { "line": 151, "column": 26 }, "end": { "line": 151, "column": 27 } } }, { "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": 4588, "end": 4593, "loc": { "start": { "line": 151, "column": 28 }, "end": { "line": 151, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4593, "end": 4594, "loc": { "start": { "line": 151, "column": 33 }, "end": { "line": 151, "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": 4608, "end": 4611, "loc": { "start": { "line": 152, "column": 12 }, "end": { "line": 152, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4612, "end": 4613, "loc": { "start": { "line": 152, "column": 16 }, "end": { "line": 152, "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": 4613, "end": 4616, "loc": { "start": { "line": 152, "column": 17 }, "end": { "line": 152, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 4617, "end": 4618, "loc": { "start": { "line": 152, "column": 21 }, "end": { "line": 152, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4619, "end": 4620, "loc": { "start": { "line": 152, "column": 23 }, "end": { "line": 152, "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": 4621, "end": 4622, "loc": { "start": { "line": 152, "column": 25 }, "end": { "line": 152, "column": 26 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4622, "end": 4623, "loc": { "start": { "line": 152, "column": 26 }, "end": { "line": 152, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 4624, "end": 4625, "loc": { "start": { "line": 152, "column": 28 }, "end": { "line": 152, "column": 29 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 4626, "end": 4627, "loc": { "start": { "line": 152, "column": 30 }, "end": { "line": 152, "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": 4628, "end": 4632, "loc": { "start": { "line": 152, "column": 32 }, "end": { "line": 152, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4632, "end": 4633, "loc": { "start": { "line": 152, "column": 36 }, "end": { "line": 152, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entities", "start": 4633, "end": 4641, "loc": { "start": { "line": 152, "column": 37 }, "end": { "line": 152, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4641, "end": 4642, "loc": { "start": { "line": 152, "column": 45 }, "end": { "line": 152, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 4642, "end": 4648, "loc": { "start": { "line": 152, "column": 46 }, "end": { "line": 152, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4648, "end": 4649, "loc": { "start": { "line": 152, "column": 52 }, "end": { "line": 152, "column": 53 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 4650, "end": 4652, "loc": { "start": { "line": 152, "column": 54 }, "end": { "line": 152, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 4652, "end": 4653, "loc": { "start": { "line": 152, "column": 56 }, "end": { "line": 152, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4653, "end": 4654, "loc": { "start": { "line": 152, "column": 57 }, "end": { "line": 152, "column": 58 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4655, "end": 4656, "loc": { "start": { "line": 152, "column": 59 }, "end": { "line": 152, "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": 4674, "end": 4679, "loc": { "start": { "line": 153, "column": 16 }, "end": { "line": 153, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 4680, "end": 4686, "loc": { "start": { "line": 153, "column": 22 }, "end": { "line": 153, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4687, "end": 4688, "loc": { "start": { "line": 153, "column": 29 }, "end": { "line": 153, "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": 4689, "end": 4693, "loc": { "start": { "line": 153, "column": 31 }, "end": { "line": 153, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4693, "end": 4694, "loc": { "start": { "line": 153, "column": 35 }, "end": { "line": 153, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entities", "start": 4694, "end": 4702, "loc": { "start": { "line": 153, "column": 36 }, "end": { "line": 153, "column": 44 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4702, "end": 4703, "loc": { "start": { "line": 153, "column": 44 }, "end": { "line": 153, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 4703, "end": 4704, "loc": { "start": { "line": 153, "column": 45 }, "end": { "line": 153, "column": 46 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4704, "end": 4705, "loc": { "start": { "line": 153, "column": 46 }, "end": { "line": 153, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4705, "end": 4706, "loc": { "start": { "line": 153, "column": 47 }, "end": { "line": 153, "column": 48 } } }, { "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": 4724, "end": 4726, "loc": { "start": { "line": 154, "column": 16 }, "end": { "line": 154, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4727, "end": 4728, "loc": { "start": { "line": 154, "column": 19 }, "end": { "line": 154, "column": 20 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 4728, "end": 4729, "loc": { "start": { "line": 154, "column": 20 }, "end": { "line": 154, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 4729, "end": 4733, "loc": { "start": { "line": 154, "column": 21 }, "end": { "line": 154, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4733, "end": 4734, "loc": { "start": { "line": 154, "column": 25 }, "end": { "line": 154, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logic", "start": 4734, "end": 4739, "loc": { "start": { "line": 154, "column": 26 }, "end": { "line": 154, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4739, "end": 4740, "loc": { "start": { "line": 154, "column": 31 }, "end": { "line": 154, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "checkCanPlaceEntity", "start": 4740, "end": 4759, "loc": { "start": { "line": 154, "column": 32 }, "end": { "line": 154, "column": 51 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4759, "end": 4760, "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": "entity", "start": 4760, "end": 4766, "loc": { "start": { "line": 154, "column": 52 }, "end": { "line": 154, "column": 58 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4766, "end": 4767, "loc": { "start": { "line": 154, "column": 58 }, "end": { "line": 154, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tile", "start": 4768, "end": 4772, "loc": { "start": { "line": 154, "column": 60 }, "end": { "line": 154, "column": 64 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4772, "end": 4773, "loc": { "start": { "line": 154, "column": 64 }, "end": { "line": 154, "column": 65 } } }, { "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": 4774, "end": 4778, "loc": { "start": { "line": 154, "column": 66 }, "end": { "line": 154, "column": 70 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4778, "end": 4779, "loc": { "start": { "line": 154, "column": 70 }, "end": { "line": 154, "column": 71 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4779, "end": 4780, "loc": { "start": { "line": 154, "column": 71 }, "end": { "line": 154, "column": 72 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4781, "end": 4782, "loc": { "start": { "line": 154, "column": 73 }, "end": { "line": 154, "column": 74 } } }, { "type": { "label": "continue", "keyword": "continue", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "continue", "start": 4804, "end": 4812, "loc": { "start": { "line": 155, "column": 20 }, "end": { "line": 155, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4812, "end": 4813, "loc": { "start": { "line": 155, "column": 28 }, "end": { "line": 155, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4831, "end": 4832, "loc": { "start": { "line": 156, "column": 16 }, "end": { "line": 156, "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": 4852, "end": 4857, "loc": { "start": { "line": 158, "column": 16 }, "end": { "line": 158, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clone", "start": 4858, "end": 4863, "loc": { "start": { "line": 158, "column": 22 }, "end": { "line": 158, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4864, "end": 4865, "loc": { "start": { "line": 158, "column": 28 }, "end": { "line": 158, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entity", "start": 4866, "end": 4872, "loc": { "start": { "line": 158, "column": 30 }, "end": { "line": 158, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4872, "end": 4873, "loc": { "start": { "line": 158, "column": 36 }, "end": { "line": 158, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clone", "start": 4873, "end": 4878, "loc": { "start": { "line": 158, "column": 37 }, "end": { "line": 158, "column": 42 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4878, "end": 4879, "loc": { "start": { "line": 158, "column": 42 }, "end": { "line": 158, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4879, "end": 4880, "loc": { "start": { "line": 158, "column": 43 }, "end": { "line": 158, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4880, "end": 4881, "loc": { "start": { "line": 158, "column": 44 }, "end": { "line": 158, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clone", "start": 4899, "end": 4904, "loc": { "start": { "line": 159, "column": 16 }, "end": { "line": 159, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4904, "end": 4905, "loc": { "start": { "line": 159, "column": 21 }, "end": { "line": 159, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "components", "start": 4905, "end": 4915, "loc": { "start": { "line": 159, "column": 22 }, "end": { "line": 159, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4915, "end": 4916, "loc": { "start": { "line": 159, "column": 32 }, "end": { "line": 159, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "StaticMapEntity", "start": 4916, "end": 4931, "loc": { "start": { "line": 159, "column": 33 }, "end": { "line": 159, "column": 48 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4931, "end": 4932, "loc": { "start": { "line": 159, "column": 48 }, "end": { "line": 159, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "origin", "start": 4932, "end": 4938, "loc": { "start": { "line": 159, "column": 49 }, "end": { "line": 159, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4938, "end": 4939, "loc": { "start": { "line": 159, "column": 55 }, "end": { "line": 159, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addInplace", "start": 4939, "end": 4949, "loc": { "start": { "line": 159, "column": 56 }, "end": { "line": 159, "column": 66 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4949, "end": 4950, "loc": { "start": { "line": 159, "column": 66 }, "end": { "line": 159, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tile", "start": 4950, "end": 4954, "loc": { "start": { "line": 159, "column": 67 }, "end": { "line": 159, "column": 71 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4954, "end": 4955, "loc": { "start": { "line": 159, "column": 71 }, "end": { "line": 159, "column": 72 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4955, "end": 4956, "loc": { "start": { "line": 159, "column": 72 }, "end": { "line": 159, "column": 73 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 4974, "end": 4978, "loc": { "start": { "line": 160, "column": 16 }, "end": { "line": 160, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4978, "end": 4979, "loc": { "start": { "line": 160, "column": 20 }, "end": { "line": 160, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logic", "start": 4979, "end": 4984, "loc": { "start": { "line": 160, "column": 21 }, "end": { "line": 160, "column": 26 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4984, "end": 4985, "loc": { "start": { "line": 160, "column": 26 }, "end": { "line": 160, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "freeEntityAreaBeforeBuild", "start": 4985, "end": 5010, "loc": { "start": { "line": 160, "column": 27 }, "end": { "line": 160, "column": 52 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5010, "end": 5011, "loc": { "start": { "line": 160, "column": 52 }, "end": { "line": 160, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clone", "start": 5011, "end": 5016, "loc": { "start": { "line": 160, "column": 53 }, "end": { "line": 160, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5016, "end": 5017, "loc": { "start": { "line": 160, "column": 58 }, "end": { "line": 160, "column": 59 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5017, "end": 5018, "loc": { "start": { "line": 160, "column": 59 }, "end": { "line": 160, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 5036, "end": 5040, "loc": { "start": { "line": 161, "column": 16 }, "end": { "line": 161, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5040, "end": 5041, "loc": { "start": { "line": 161, "column": 20 }, "end": { "line": 161, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "map", "start": 5041, "end": 5044, "loc": { "start": { "line": 161, "column": 21 }, "end": { "line": 161, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5044, "end": 5045, "loc": { "start": { "line": 161, "column": 24 }, "end": { "line": 161, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "placeStaticEntity", "start": 5045, "end": 5062, "loc": { "start": { "line": 161, "column": 25 }, "end": { "line": 161, "column": 42 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5062, "end": 5063, "loc": { "start": { "line": 161, "column": 42 }, "end": { "line": 161, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clone", "start": 5063, "end": 5068, "loc": { "start": { "line": 161, "column": 43 }, "end": { "line": 161, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5068, "end": 5069, "loc": { "start": { "line": 161, "column": 48 }, "end": { "line": 161, "column": 49 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5069, "end": 5070, "loc": { "start": { "line": 161, "column": 49 }, "end": { "line": 161, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 5088, "end": 5092, "loc": { "start": { "line": 162, "column": 16 }, "end": { "line": 162, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5092, "end": 5093, "loc": { "start": { "line": 162, "column": 20 }, "end": { "line": 162, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "entityMgr", "start": 5093, "end": 5102, "loc": { "start": { "line": 162, "column": 21 }, "end": { "line": 162, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5102, "end": 5103, "loc": { "start": { "line": 162, "column": 30 }, "end": { "line": 162, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "registerEntity", "start": 5103, "end": 5117, "loc": { "start": { "line": 162, "column": 31 }, "end": { "line": 162, "column": 45 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5117, "end": 5118, "loc": { "start": { "line": 162, "column": 45 }, "end": { "line": 162, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clone", "start": 5118, "end": 5123, "loc": { "start": { "line": 162, "column": 46 }, "end": { "line": 162, "column": 51 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5123, "end": 5124, "loc": { "start": { "line": 162, "column": 51 }, "end": { "line": 162, "column": 52 } } }, { "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": 5125, "end": 5129, "loc": { "start": { "line": 162, "column": 53 }, "end": { "line": 162, "column": 57 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5129, "end": 5130, "loc": { "start": { "line": 162, "column": 57 }, "end": { "line": 162, "column": 58 } } }, { "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": 5131, "end": 5135, "loc": { "start": { "line": 162, "column": 59 }, "end": { "line": 162, "column": 63 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5135, "end": 5136, "loc": { "start": { "line": 162, "column": 63 }, "end": { "line": 162, "column": 64 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5136, "end": 5137, "loc": { "start": { "line": 162, "column": 64 }, "end": { "line": 162, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "anyPlaced", "start": 5155, "end": 5164, "loc": { "start": { "line": 163, "column": 16 }, "end": { "line": 163, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5165, "end": 5166, "loc": { "start": { "line": 163, "column": 26 }, "end": { "line": 163, "column": 27 } } }, { "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": 5167, "end": 5171, "loc": { "start": { "line": 163, "column": 28 }, "end": { "line": 163, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5171, "end": 5172, "loc": { "start": { "line": 163, "column": 32 }, "end": { "line": 163, "column": 33 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5186, "end": 5187, "loc": { "start": { "line": 164, "column": 12 }, "end": { "line": 164, "column": 13 } } }, { "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": 5201, "end": 5207, "loc": { "start": { "line": 165, "column": 12 }, "end": { "line": 165, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "anyPlaced", "start": 5208, "end": 5217, "loc": { "start": { "line": 165, "column": 19 }, "end": { "line": 165, "column": 28 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5217, "end": 5218, "loc": { "start": { "line": 165, "column": 28 }, "end": { "line": 165, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5228, "end": 5229, "loc": { "start": { "line": 166, "column": 8 }, "end": { "line": 166, "column": 9 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5229, "end": 5230, "loc": { "start": { "line": 166, "column": 9 }, "end": { "line": 166, "column": 10 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5230, "end": 5231, "loc": { "start": { "line": 166, "column": 10 }, "end": { "line": 166, "column": 11 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5237, "end": 5238, "loc": { "start": { "line": 167, "column": 4 }, "end": { "line": 167, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5240, "end": 5241, "loc": { "start": { "line": 168, "column": 0 }, "end": { "line": 168, "column": 1 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5241, "end": 5241, "loc": { "start": { "line": 168, "column": 1 }, "end": { "line": 168, "column": 1 } } } ] }