{ "type": "File", "start": 0, "end": 2147, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 82, "column": 2 } }, "program": { "type": "Program", "start": 0, "end": 2147, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 82, "column": 2 } }, "sourceType": "module", "body": [ { "type": "ImportDeclaration", "start": 0, "end": 60, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 60 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 9, "end": 23, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 23 } }, "imported": { "type": "Identifier", "start": 9, "end": 23, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 23 }, "identifierName": "DrawParameters" }, "name": "DrawParameters" }, "local": { "type": "Identifier", "start": 9, "end": 23, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 23 }, "identifierName": "DrawParameters" }, "name": "DrawParameters" } } ], "source": { "type": "StringLiteral", "start": 31, "end": 59, "loc": { "start": { "line": 1, "column": 31 }, "end": { "line": 1, "column": 59 } }, "extra": { "rawValue": "../../core/draw_parameters", "raw": "\"../../core/draw_parameters\"" }, "value": "../../core/draw_parameters" } }, { "type": "ImportDeclaration", "start": 62, "end": 115, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 53 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 71, "end": 76, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 14 } }, "imported": { "type": "Identifier", "start": 71, "end": 76, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 14 }, "identifierName": "types" }, "name": "types" }, "local": { "type": "Identifier", "start": 71, "end": 76, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 14 }, "identifierName": "types" }, "name": "types" } } ], "source": { "type": "StringLiteral", "start": 84, "end": 114, "loc": { "start": { "line": 2, "column": 22 }, "end": { "line": 2, "column": 52 } }, "extra": { "rawValue": "../../savegame/serialization", "raw": "\"../../savegame/serialization\"" }, "value": "../../savegame/serialization" } }, { "type": "ImportDeclaration", "start": 117, "end": 157, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 40 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 126, "end": 134, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 17 } }, "imported": { "type": "Identifier", "start": 126, "end": 134, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 17 }, "identifierName": "BaseItem" }, "name": "BaseItem" }, "local": { "type": "Identifier", "start": 126, "end": 134, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 17 }, "identifierName": "BaseItem" }, "name": "BaseItem" } } ], "source": { "type": "StringLiteral", "start": 142, "end": 156, "loc": { "start": { "line": 3, "column": 25 }, "end": { "line": 3, "column": 39 } }, "extra": { "rawValue": "../base_item", "raw": "\"../base_item\"" }, "value": "../base_item" } }, { "type": "ImportDeclaration", "start": 159, "end": 213, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 54 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 168, "end": 183, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 24 } }, "imported": { "type": "Identifier", "start": 168, "end": 183, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 24 }, "identifierName": "ShapeDefinition" }, "name": "ShapeDefinition" }, "local": { "type": "Identifier", "start": 168, "end": 183, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 24 }, "identifierName": "ShapeDefinition" }, "name": "ShapeDefinition" } } ], "source": { "type": "StringLiteral", "start": 191, "end": 212, "loc": { "start": { "line": 4, "column": 32 }, "end": { "line": 4, "column": 53 } }, "extra": { "rawValue": "../shape_definition", "raw": "\"../shape_definition\"" }, "value": "../shape_definition" } }, { "type": "ImportDeclaration", "start": 215, "end": 248, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 33 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 224, "end": 229, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 14 } }, "imported": { "type": "Identifier", "start": 224, "end": 229, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 14 }, "identifierName": "THEME" }, "name": "THEME" }, "local": { "type": "Identifier", "start": 224, "end": 229, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 14 }, "identifierName": "THEME" }, "name": "THEME" } } ], "source": { "type": "StringLiteral", "start": 237, "end": 247, "loc": { "start": { "line": 5, "column": 22 }, "end": { "line": 5, "column": 32 } }, "extra": { "rawValue": "../theme", "raw": "\"../theme\"" }, "value": "../theme" } }, { "type": "ImportDeclaration", "start": 250, "end": 299, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "column": 49 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 259, "end": 271, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 21 } }, "imported": { "type": "Identifier", "start": 259, "end": 271, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 21 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "local": { "type": "Identifier", "start": 259, "end": 271, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 21 }, "identifierName": "globalConfig" }, "name": "globalConfig" } } ], "source": { "type": "StringLiteral", "start": 279, "end": 298, "loc": { "start": { "line": 6, "column": 29 }, "end": { "line": 6, "column": 48 } }, "extra": { "rawValue": "../../core/config", "raw": "\"../../core/config\"" }, "value": "../../core/config" } }, { "type": "ExportNamedDeclaration", "start": 303, "end": 2017, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 78, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "ClassDeclaration", "start": 310, "end": 2017, "loc": { "start": { "line": 8, "column": 7 }, "end": { "line": 78, "column": 1 } }, "id": { "type": "Identifier", "start": 316, "end": 325, "loc": { "start": { "line": 8, "column": 13 }, "end": { "line": 8, "column": 22 }, "identifierName": "ShapeItem" }, "name": "ShapeItem" }, "superClass": { "type": "Identifier", "start": 334, "end": 342, "loc": { "start": { "line": 8, "column": 31 }, "end": { "line": 8, "column": 39 }, "identifierName": "BaseItem" }, "name": "BaseItem" }, "body": { "type": "ClassBody", "start": 343, "end": 2017, "loc": { "start": { "line": 8, "column": 40 }, "end": { "line": 78, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 350, "end": 398, "loc": { "start": { "line": 9, "column": 4 }, "end": { "line": 11, "column": 5 } }, "static": true, "computed": false, "key": { "type": "Identifier", "start": 357, "end": 362, "loc": { "start": { "line": 9, "column": 11 }, "end": { "line": 9, "column": 16 }, "identifierName": "getId" }, "name": "getId" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 365, "end": 398, "loc": { "start": { "line": 9, "column": 19 }, "end": { "line": 11, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 376, "end": 391, "loc": { "start": { "line": 10, "column": 8 }, "end": { "line": 10, "column": 23 } }, "argument": { "type": "StringLiteral", "start": 383, "end": 390, "loc": { "start": { "line": 10, "column": 15 }, "end": { "line": 10, "column": 22 } }, "extra": { "rawValue": "shape", "raw": "\"shape\"" }, "value": "shape" } } ], "directives": [] } }, { "type": "ClassMethod", "start": 406, "end": 463, "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 15, "column": 5 } }, "static": true, "computed": false, "key": { "type": "Identifier", "start": 413, "end": 422, "loc": { "start": { "line": 13, "column": 11 }, "end": { "line": 13, "column": 20 }, "identifierName": "getSchema" }, "name": "getSchema" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 425, "end": 463, "loc": { "start": { "line": 13, "column": 23 }, "end": { "line": 15, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 436, "end": 456, "loc": { "start": { "line": 14, "column": 8 }, "end": { "line": 14, "column": 28 } }, "argument": { "type": "MemberExpression", "start": 443, "end": 455, "loc": { "start": { "line": 14, "column": 15 }, "end": { "line": 14, "column": 27 } }, "object": { "type": "Identifier", "start": 443, "end": 448, "loc": { "start": { "line": 14, "column": 15 }, "end": { "line": 14, "column": 20 }, "identifierName": "types" }, "name": "types" }, "property": { "type": "Identifier", "start": 449, "end": 455, "loc": { "start": { "line": 14, "column": 21 }, "end": { "line": 14, "column": 27 }, "identifierName": "string" }, "name": "string" }, "computed": false } } ], "directives": [] } }, { "type": "ClassMethod", "start": 471, "end": 534, "loc": { "start": { "line": 17, "column": 4 }, "end": { "line": 19, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 471, "end": 480, "loc": { "start": { "line": 17, "column": 4 }, "end": { "line": 17, "column": 13 }, "identifierName": "serialize" }, "name": "serialize" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 483, "end": 534, "loc": { "start": { "line": 17, "column": 16 }, "end": { "line": 19, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 494, "end": 527, "loc": { "start": { "line": 18, "column": 8 }, "end": { "line": 18, "column": 41 } }, "argument": { "type": "CallExpression", "start": 501, "end": 526, "loc": { "start": { "line": 18, "column": 15 }, "end": { "line": 18, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 501, "end": 524, "loc": { "start": { "line": 18, "column": 15 }, "end": { "line": 18, "column": 38 } }, "object": { "type": "MemberExpression", "start": 501, "end": 516, "loc": { "start": { "line": 18, "column": 15 }, "end": { "line": 18, "column": 30 } }, "object": { "type": "ThisExpression", "start": 501, "end": 505, "loc": { "start": { "line": 18, "column": 15 }, "end": { "line": 18, "column": 19 } } }, "property": { "type": "Identifier", "start": 506, "end": 516, "loc": { "start": { "line": 18, "column": 20 }, "end": { "line": 18, "column": 30 }, "identifierName": "definition" }, "name": "definition" }, "computed": false }, "property": { "type": "Identifier", "start": 517, "end": 524, "loc": { "start": { "line": 18, "column": 31 }, "end": { "line": 18, "column": 38 }, "identifierName": "getHash" }, "name": "getHash" }, "computed": false }, "arguments": [] } } ], "directives": [] } }, { "type": "ClassMethod", "start": 542, "end": 631, "loc": { "start": { "line": 21, "column": 4 }, "end": { "line": 23, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 542, "end": 553, "loc": { "start": { "line": 21, "column": 4 }, "end": { "line": 21, "column": 15 }, "identifierName": "deserialize" }, "name": "deserialize" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 554, "end": 558, "loc": { "start": { "line": 21, "column": 16 }, "end": { "line": 21, "column": 20 }, "identifierName": "data" }, "name": "data" } ], "body": { "type": "BlockStatement", "start": 560, "end": 631, "loc": { "start": { "line": 21, "column": 22 }, "end": { "line": 23, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 571, "end": 624, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 61 } }, "expression": { "type": "AssignmentExpression", "start": 571, "end": 623, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 60 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 571, "end": 586, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 23 } }, "object": { "type": "ThisExpression", "start": 571, "end": 575, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 12 } } }, "property": { "type": "Identifier", "start": 576, "end": 586, "loc": { "start": { "line": 22, "column": 13 }, "end": { "line": 22, "column": 23 }, "identifierName": "definition" }, "name": "definition" }, "computed": false }, "right": { "type": "CallExpression", "start": 589, "end": 623, "loc": { "start": { "line": 22, "column": 26 }, "end": { "line": 22, "column": 60 } }, "callee": { "type": "MemberExpression", "start": 589, "end": 617, "loc": { "start": { "line": 22, "column": 26 }, "end": { "line": 22, "column": 54 } }, "object": { "type": "Identifier", "start": 589, "end": 604, "loc": { "start": { "line": 22, "column": 26 }, "end": { "line": 22, "column": 41 }, "identifierName": "ShapeDefinition" }, "name": "ShapeDefinition" }, "property": { "type": "Identifier", "start": 605, "end": 617, "loc": { "start": { "line": 22, "column": 42 }, "end": { "line": 22, "column": 54 }, "identifierName": "fromShortKey" }, "name": "fromShortKey" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 618, "end": 622, "loc": { "start": { "line": 22, "column": 55 }, "end": { "line": 22, "column": 59 }, "identifierName": "data" }, "name": "data" } ] } } } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentBlock", "value": "* @returns {\"shape\"} *", "start": 639, "end": 665, "loc": { "start": { "line": 25, "column": 4 }, "end": { "line": 25, "column": 30 } } } ] }, { "type": "ClassMethod", "start": 671, "end": 718, "loc": { "start": { "line": 26, "column": 4 }, "end": { "line": 28, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 671, "end": 682, "loc": { "start": { "line": 26, "column": 4 }, "end": { "line": 26, "column": 15 }, "identifierName": "getItemType" }, "name": "getItemType", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 685, "end": 718, "loc": { "start": { "line": 26, "column": 18 }, "end": { "line": 28, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 696, "end": 711, "loc": { "start": { "line": 27, "column": 8 }, "end": { "line": 27, "column": 23 } }, "argument": { "type": "StringLiteral", "start": 703, "end": 710, "loc": { "start": { "line": 27, "column": 15 }, "end": { "line": 27, "column": 22 } }, "extra": { "rawValue": "shape", "raw": "\"shape\"" }, "value": "shape" } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "* @returns {\"shape\"} *", "start": 639, "end": 665, "loc": { "start": { "line": 25, "column": 4 }, "end": { "line": 25, "column": 30 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @returns {string}\r\n ", "start": 726, "end": 764, "loc": { "start": { "line": 30, "column": 4 }, "end": { "line": 32, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 770, "end": 840, "loc": { "start": { "line": 33, "column": 4 }, "end": { "line": 35, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 770, "end": 786, "loc": { "start": { "line": 33, "column": 4 }, "end": { "line": 33, "column": 20 }, "identifierName": "getAsCopyableKey" }, "name": "getAsCopyableKey", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 789, "end": 840, "loc": { "start": { "line": 33, "column": 23 }, "end": { "line": 35, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 800, "end": 833, "loc": { "start": { "line": 34, "column": 8 }, "end": { "line": 34, "column": 41 } }, "argument": { "type": "CallExpression", "start": 807, "end": 832, "loc": { "start": { "line": 34, "column": 15 }, "end": { "line": 34, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 807, "end": 830, "loc": { "start": { "line": 34, "column": 15 }, "end": { "line": 34, "column": 38 } }, "object": { "type": "MemberExpression", "start": 807, "end": 822, "loc": { "start": { "line": 34, "column": 15 }, "end": { "line": 34, "column": 30 } }, "object": { "type": "ThisExpression", "start": 807, "end": 811, "loc": { "start": { "line": 34, "column": 15 }, "end": { "line": 34, "column": 19 } } }, "property": { "type": "Identifier", "start": 812, "end": 822, "loc": { "start": { "line": 34, "column": 20 }, "end": { "line": 34, "column": 30 }, "identifierName": "definition" }, "name": "definition" }, "computed": false }, "property": { "type": "Identifier", "start": 823, "end": 830, "loc": { "start": { "line": 34, "column": 31 }, "end": { "line": 34, "column": 38 }, "identifierName": "getHash" }, "name": "getHash" }, "computed": false }, "arguments": [] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @returns {string}\r\n ", "start": 726, "end": 764, "loc": { "start": { "line": 30, "column": 4 }, "end": { "line": 32, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @param {BaseItem} other\r\n ", "start": 848, "end": 892, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 39, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 898, "end": 1025, "loc": { "start": { "line": 40, "column": 4 }, "end": { "line": 42, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 898, "end": 908, "loc": { "start": { "line": 40, "column": 4 }, "end": { "line": 40, "column": 14 }, "identifierName": "equalsImpl" }, "name": "equalsImpl", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 909, "end": 914, "loc": { "start": { "line": 40, "column": 15 }, "end": { "line": 40, "column": 20 }, "identifierName": "other" }, "name": "other" } ], "body": { "type": "BlockStatement", "start": 916, "end": 1025, "loc": { "start": { "line": 40, "column": 22 }, "end": { "line": 42, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 927, "end": 1018, "loc": { "start": { "line": 41, "column": 8 }, "end": { "line": 41, "column": 99 } }, "argument": { "type": "BinaryExpression", "start": 934, "end": 1017, "loc": { "start": { "line": 41, "column": 15 }, "end": { "line": 41, "column": 98 } }, "left": { "type": "CallExpression", "start": 934, "end": 959, "loc": { "start": { "line": 41, "column": 15 }, "end": { "line": 41, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 934, "end": 957, "loc": { "start": { "line": 41, "column": 15 }, "end": { "line": 41, "column": 38 } }, "object": { "type": "MemberExpression", "start": 934, "end": 949, "loc": { "start": { "line": 41, "column": 15 }, "end": { "line": 41, "column": 30 } }, "object": { "type": "ThisExpression", "start": 934, "end": 938, "loc": { "start": { "line": 41, "column": 15 }, "end": { "line": 41, "column": 19 } } }, "property": { "type": "Identifier", "start": 939, "end": 949, "loc": { "start": { "line": 41, "column": 20 }, "end": { "line": 41, "column": 30 }, "identifierName": "definition" }, "name": "definition" }, "computed": false }, "property": { "type": "Identifier", "start": 950, "end": 957, "loc": { "start": { "line": 41, "column": 31 }, "end": { "line": 41, "column": 38 }, "identifierName": "getHash" }, "name": "getHash" }, "computed": false }, "arguments": [] }, "operator": "===", "right": { "type": "CallExpression", "start": 989, "end": 1017, "loc": { "start": { "line": 41, "column": 70 }, "end": { "line": 41, "column": 98 } }, "callee": { "type": "MemberExpression", "start": 989, "end": 1015, "loc": { "start": { "line": 41, "column": 70 }, "end": { "line": 41, "column": 96 } }, "object": { "type": "MemberExpression", "start": 989, "end": 1007, "loc": { "start": { "line": 41, "column": 70 }, "end": { "line": 41, "column": 88 } }, "object": { "type": "Identifier", "start": 990, "end": 995, "loc": { "start": { "line": 41, "column": 71 }, "end": { "line": 41, "column": 76 }, "identifierName": "other" }, "name": "other", "leadingComments": null, "extra": { "parenthesized": true, "parenStart": 989 } }, "property": { "type": "Identifier", "start": 997, "end": 1007, "loc": { "start": { "line": 41, "column": 78 }, "end": { "line": 41, "column": 88 }, "identifierName": "definition" }, "name": "definition" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 1008, "end": 1015, "loc": { "start": { "line": 41, "column": 89 }, "end": { "line": 41, "column": 96 }, "identifierName": "getHash" }, "name": "getHash" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": [ { "type": "CommentBlock", "value": "* @type {ShapeItem} ", "start": 964, "end": 988, "loc": { "start": { "line": 41, "column": 45 }, "end": { "line": 41, "column": 69 } } } ] } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @param {BaseItem} other\r\n ", "start": 848, "end": 892, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 39, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @param {ShapeDefinition} definition\r\n ", "start": 1033, "end": 1089, "loc": { "start": { "line": 44, "column": 4 }, "end": { "line": 46, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 1095, "end": 1333, "loc": { "start": { "line": 47, "column": 4 }, "end": { "line": 54, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 1095, "end": 1106, "loc": { "start": { "line": 47, "column": 4 }, "end": { "line": 47, "column": 15 }, "identifierName": "constructor" }, "name": "constructor", "leadingComments": null }, "kind": "constructor", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 1107, "end": 1117, "loc": { "start": { "line": 47, "column": 16 }, "end": { "line": 47, "column": 26 }, "identifierName": "definition" }, "name": "definition" } ], "body": { "type": "BlockStatement", "start": 1119, "end": 1333, "loc": { "start": { "line": 47, "column": 28 }, "end": { "line": 54, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 1130, "end": 1138, "loc": { "start": { "line": 48, "column": 8 }, "end": { "line": 48, "column": 16 } }, "expression": { "type": "CallExpression", "start": 1130, "end": 1137, "loc": { "start": { "line": 48, "column": 8 }, "end": { "line": 48, "column": 15 } }, "callee": { "type": "Super", "start": 1130, "end": 1135, "loc": { "start": { "line": 48, "column": 8 }, "end": { "line": 48, "column": 13 } } }, "arguments": [] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * This property must not be modified on runtime, you have to clone the class in order to change the definition\r\n ", "start": 1150, "end": 1287, "loc": { "start": { "line": 50, "column": 8 }, "end": { "line": 52, "column": 11 } } } ] }, { "type": "ExpressionStatement", "start": 1297, "end": 1326, "loc": { "start": { "line": 53, "column": 8 }, "end": { "line": 53, "column": 37 } }, "expression": { "type": "AssignmentExpression", "start": 1297, "end": 1325, "loc": { "start": { "line": 53, "column": 8 }, "end": { "line": 53, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1297, "end": 1312, "loc": { "start": { "line": 53, "column": 8 }, "end": { "line": 53, "column": 23 } }, "object": { "type": "ThisExpression", "start": 1297, "end": 1301, "loc": { "start": { "line": 53, "column": 8 }, "end": { "line": 53, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 1302, "end": 1312, "loc": { "start": { "line": 53, "column": 13 }, "end": { "line": 53, "column": 23 }, "identifierName": "definition" }, "name": "definition" }, "computed": false, "leadingComments": null }, "right": { "type": "Identifier", "start": 1315, "end": 1325, "loc": { "start": { "line": 53, "column": 26 }, "end": { "line": 53, "column": 36 }, "identifierName": "definition" }, "name": "definition" }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * This property must not be modified on runtime, you have to clone the class in order to change the definition\r\n ", "start": 1150, "end": 1287, "loc": { "start": { "line": 50, "column": 8 }, "end": { "line": 52, "column": 11 } } } ] } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @param {ShapeDefinition} definition\r\n ", "start": 1033, "end": 1089, "loc": { "start": { "line": 44, "column": 4 }, "end": { "line": 46, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 1341, "end": 1423, "loc": { "start": { "line": 56, "column": 4 }, "end": { "line": 58, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 1341, "end": 1369, "loc": { "start": { "line": 56, "column": 4 }, "end": { "line": 56, "column": 32 }, "identifierName": "getBackgroundColorAsResource" }, "name": "getBackgroundColorAsResource" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 1372, "end": 1423, "loc": { "start": { "line": 56, "column": 35 }, "end": { "line": 58, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 1383, "end": 1416, "loc": { "start": { "line": 57, "column": 8 }, "end": { "line": 57, "column": 41 } }, "argument": { "type": "MemberExpression", "start": 1390, "end": 1415, "loc": { "start": { "line": 57, "column": 15 }, "end": { "line": 57, "column": 40 } }, "object": { "type": "MemberExpression", "start": 1390, "end": 1409, "loc": { "start": { "line": 57, "column": 15 }, "end": { "line": 57, "column": 34 } }, "object": { "type": "MemberExpression", "start": 1390, "end": 1399, "loc": { "start": { "line": 57, "column": 15 }, "end": { "line": 57, "column": 24 } }, "object": { "type": "Identifier", "start": 1390, "end": 1395, "loc": { "start": { "line": 57, "column": 15 }, "end": { "line": 57, "column": 20 }, "identifierName": "THEME" }, "name": "THEME" }, "property": { "type": "Identifier", "start": 1396, "end": 1399, "loc": { "start": { "line": 57, "column": 21 }, "end": { "line": 57, "column": 24 }, "identifierName": "map" }, "name": "map" }, "computed": false }, "property": { "type": "Identifier", "start": 1400, "end": 1409, "loc": { "start": { "line": 57, "column": 25 }, "end": { "line": 57, "column": 34 }, "identifierName": "resources" }, "name": "resources" }, "computed": false }, "property": { "type": "Identifier", "start": 1410, "end": 1415, "loc": { "start": { "line": 57, "column": 35 }, "end": { "line": 57, "column": 40 }, "identifierName": "shape" }, "name": "shape" }, "computed": false } } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Draws the item to a canvas\r\n * @param {CanvasRenderingContext2D} context\r\n * @param {number} size\r\n ", "start": 1431, "end": 1557, "loc": { "start": { "line": 60, "column": 4 }, "end": { "line": 64, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 1563, "end": 1669, "loc": { "start": { "line": 65, "column": 4 }, "end": { "line": 67, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 1563, "end": 1583, "loc": { "start": { "line": 65, "column": 4 }, "end": { "line": 65, "column": 24 }, "identifierName": "drawFullSizeOnCanvas" }, "name": "drawFullSizeOnCanvas", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 1584, "end": 1591, "loc": { "start": { "line": 65, "column": 25 }, "end": { "line": 65, "column": 32 }, "identifierName": "context" }, "name": "context" }, { "type": "Identifier", "start": 1593, "end": 1597, "loc": { "start": { "line": 65, "column": 34 }, "end": { "line": 65, "column": 38 }, "identifierName": "size" }, "name": "size" } ], "body": { "type": "BlockStatement", "start": 1599, "end": 1669, "loc": { "start": { "line": 65, "column": 40 }, "end": { "line": 67, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 1610, "end": 1662, "loc": { "start": { "line": 66, "column": 8 }, "end": { "line": 66, "column": 60 } }, "expression": { "type": "CallExpression", "start": 1610, "end": 1661, "loc": { "start": { "line": 66, "column": 8 }, "end": { "line": 66, "column": 59 } }, "callee": { "type": "MemberExpression", "start": 1610, "end": 1646, "loc": { "start": { "line": 66, "column": 8 }, "end": { "line": 66, "column": 44 } }, "object": { "type": "MemberExpression", "start": 1610, "end": 1625, "loc": { "start": { "line": 66, "column": 8 }, "end": { "line": 66, "column": 23 } }, "object": { "type": "ThisExpression", "start": 1610, "end": 1614, "loc": { "start": { "line": 66, "column": 8 }, "end": { "line": 66, "column": 12 } } }, "property": { "type": "Identifier", "start": 1615, "end": 1625, "loc": { "start": { "line": 66, "column": 13 }, "end": { "line": 66, "column": 23 }, "identifierName": "definition" }, "name": "definition" }, "computed": false }, "property": { "type": "Identifier", "start": 1626, "end": 1646, "loc": { "start": { "line": 66, "column": 24 }, "end": { "line": 66, "column": 44 }, "identifierName": "drawFullSizeOnCanvas" }, "name": "drawFullSizeOnCanvas" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 1647, "end": 1654, "loc": { "start": { "line": 66, "column": 45 }, "end": { "line": 66, "column": 52 }, "identifierName": "context" }, "name": "context" }, { "type": "Identifier", "start": 1656, "end": 1660, "loc": { "start": { "line": 66, "column": 54 }, "end": { "line": 66, "column": 58 }, "identifierName": "size" }, "name": "size" } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Draws the item to a canvas\r\n * @param {CanvasRenderingContext2D} context\r\n * @param {number} size\r\n ", "start": 1431, "end": 1557, "loc": { "start": { "line": 60, "column": 4 }, "end": { "line": 64, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * @param {number} x\r\n * @param {number} y\r\n * @param {DrawParameters} parameters\r\n * @param {number=} diameter\r\n ", "start": 1677, "end": 1818, "loc": { "start": { "line": 69, "column": 4 }, "end": { "line": 74, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 1824, "end": 2014, "loc": { "start": { "line": 75, "column": 4 }, "end": { "line": 77, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 1824, "end": 1844, "loc": { "start": { "line": 75, "column": 4 }, "end": { "line": 75, "column": 24 }, "identifierName": "drawItemCenteredImpl" }, "name": "drawItemCenteredImpl", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 1845, "end": 1846, "loc": { "start": { "line": 75, "column": 25 }, "end": { "line": 75, "column": 26 }, "identifierName": "x" }, "name": "x" }, { "type": "Identifier", "start": 1848, "end": 1849, "loc": { "start": { "line": 75, "column": 28 }, "end": { "line": 75, "column": 29 }, "identifierName": "y" }, "name": "y" }, { "type": "Identifier", "start": 1851, "end": 1861, "loc": { "start": { "line": 75, "column": 31 }, "end": { "line": 75, "column": 41 }, "identifierName": "parameters" }, "name": "parameters" }, { "type": "AssignmentPattern", "start": 1863, "end": 1906, "loc": { "start": { "line": 75, "column": 43 }, "end": { "line": 75, "column": 86 } }, "left": { "type": "Identifier", "start": 1863, "end": 1871, "loc": { "start": { "line": 75, "column": 43 }, "end": { "line": 75, "column": 51 }, "identifierName": "diameter" }, "name": "diameter" }, "right": { "type": "MemberExpression", "start": 1874, "end": 1906, "loc": { "start": { "line": 75, "column": 54 }, "end": { "line": 75, "column": 86 } }, "object": { "type": "Identifier", "start": 1874, "end": 1886, "loc": { "start": { "line": 75, "column": 54 }, "end": { "line": 75, "column": 66 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 1887, "end": 1906, "loc": { "start": { "line": 75, "column": 67 }, "end": { "line": 75, "column": 86 }, "identifierName": "defaultItemDiameter" }, "name": "defaultItemDiameter" }, "computed": false } }, { "type": "AssignmentPattern", "start": 1908, "end": 1925, "loc": { "start": { "line": 75, "column": 88 }, "end": { "line": 75, "column": 105 } }, "left": { "type": "Identifier", "start": 1908, "end": 1918, "loc": { "start": { "line": 75, "column": 88 }, "end": { "line": 75, "column": 98 }, "identifierName": "background" }, "name": "background" }, "right": { "type": "BooleanLiteral", "start": 1921, "end": 1925, "loc": { "start": { "line": 75, "column": 101 }, "end": { "line": 75, "column": 105 } }, "value": true } } ], "body": { "type": "BlockStatement", "start": 1927, "end": 2014, "loc": { "start": { "line": 75, "column": 107 }, "end": { "line": 77, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 1938, "end": 2007, "loc": { "start": { "line": 76, "column": 8 }, "end": { "line": 76, "column": 77 } }, "expression": { "type": "CallExpression", "start": 1938, "end": 2006, "loc": { "start": { "line": 76, "column": 8 }, "end": { "line": 76, "column": 76 } }, "callee": { "type": "MemberExpression", "start": 1938, "end": 1966, "loc": { "start": { "line": 76, "column": 8 }, "end": { "line": 76, "column": 36 } }, "object": { "type": "MemberExpression", "start": 1938, "end": 1953, "loc": { "start": { "line": 76, "column": 8 }, "end": { "line": 76, "column": 23 } }, "object": { "type": "ThisExpression", "start": 1938, "end": 1942, "loc": { "start": { "line": 76, "column": 8 }, "end": { "line": 76, "column": 12 } } }, "property": { "type": "Identifier", "start": 1943, "end": 1953, "loc": { "start": { "line": 76, "column": 13 }, "end": { "line": 76, "column": 23 }, "identifierName": "definition" }, "name": "definition" }, "computed": false }, "property": { "type": "Identifier", "start": 1954, "end": 1966, "loc": { "start": { "line": 76, "column": 24 }, "end": { "line": 76, "column": 36 }, "identifierName": "drawCentered" }, "name": "drawCentered" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 1967, "end": 1968, "loc": { "start": { "line": 76, "column": 37 }, "end": { "line": 76, "column": 38 }, "identifierName": "x" }, "name": "x" }, { "type": "Identifier", "start": 1970, "end": 1971, "loc": { "start": { "line": 76, "column": 40 }, "end": { "line": 76, "column": 41 }, "identifierName": "y" }, "name": "y" }, { "type": "Identifier", "start": 1973, "end": 1983, "loc": { "start": { "line": 76, "column": 43 }, "end": { "line": 76, "column": 53 }, "identifierName": "parameters" }, "name": "parameters" }, { "type": "Identifier", "start": 1985, "end": 1993, "loc": { "start": { "line": 76, "column": 55 }, "end": { "line": 76, "column": 63 }, "identifierName": "diameter" }, "name": "diameter" }, { "type": "Identifier", "start": 1995, "end": 2005, "loc": { "start": { "line": 76, "column": 65 }, "end": { "line": 76, "column": 75 }, "identifierName": "background" }, "name": "background" } ] } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @param {number} x\r\n * @param {number} y\r\n * @param {DrawParameters} parameters\r\n * @param {number=} diameter\r\n ", "start": 1677, "end": 1818, "loc": { "start": { "line": 69, "column": 4 }, "end": { "line": 74, "column": 7 } } } ] } ] }, "leadingComments": [], "trailingComments": [] } }, { "type": "ExpressionStatement", "start": 2021, "end": 2147, "loc": { "start": { "line": 80, "column": 0 }, "end": { "line": 82, "column": 2 } }, "expression": { "type": "AssignmentExpression", "start": 2021, "end": 2146, "loc": { "start": { "line": 80, "column": 0 }, "end": { "line": 82, "column": 1 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 2021, "end": 2047, "loc": { "start": { "line": 80, "column": 0 }, "end": { "line": 80, "column": 26 } }, "object": { "type": "Identifier", "start": 2021, "end": 2030, "loc": { "start": { "line": 80, "column": 0 }, "end": { "line": 80, "column": 9 }, "identifierName": "ShapeItem" }, "name": "ShapeItem" }, "property": { "type": "Identifier", "start": 2031, "end": 2047, "loc": { "start": { "line": 80, "column": 10 }, "end": { "line": 80, "column": 26 }, "identifierName": "resolveSingleton" }, "name": "resolveSingleton" }, "computed": false }, "right": { "type": "ArrowFunctionExpression", "start": 2050, "end": 2146, "loc": { "start": { "line": 80, "column": 29 }, "end": { "line": 82, "column": 1 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2051, "end": 2055, "loc": { "start": { "line": 80, "column": 30 }, "end": { "line": 80, "column": 34 }, "identifierName": "root" }, "name": "root" }, { "type": "Identifier", "start": 2057, "end": 2065, "loc": { "start": { "line": 80, "column": 36 }, "end": { "line": 80, "column": 44 }, "identifierName": "itemData" }, "name": "itemData" } ], "body": { "type": "BlockStatement", "start": 2070, "end": 2146, "loc": { "start": { "line": 80, "column": 49 }, "end": { "line": 82, "column": 1 } }, "body": [ { "type": "ReturnStatement", "start": 2077, "end": 2143, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 70 } }, "argument": { "type": "CallExpression", "start": 2084, "end": 2142, "loc": { "start": { "line": 81, "column": 11 }, "end": { "line": 81, "column": 69 } }, "callee": { "type": "MemberExpression", "start": 2084, "end": 2132, "loc": { "start": { "line": 81, "column": 11 }, "end": { "line": 81, "column": 59 } }, "object": { "type": "MemberExpression", "start": 2084, "end": 2107, "loc": { "start": { "line": 81, "column": 11 }, "end": { "line": 81, "column": 34 } }, "object": { "type": "Identifier", "start": 2084, "end": 2088, "loc": { "start": { "line": 81, "column": 11 }, "end": { "line": 81, "column": 15 }, "identifierName": "root" }, "name": "root" }, "property": { "type": "Identifier", "start": 2089, "end": 2107, "loc": { "start": { "line": 81, "column": 16 }, "end": { "line": 81, "column": 34 }, "identifierName": "shapeDefinitionMgr" }, "name": "shapeDefinitionMgr" }, "computed": false }, "property": { "type": "Identifier", "start": 2108, "end": 2132, "loc": { "start": { "line": 81, "column": 35 }, "end": { "line": 81, "column": 59 }, "identifierName": "getShapeItemFromShortKey" }, "name": "getShapeItemFromShortKey" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 2133, "end": 2141, "loc": { "start": { "line": 81, "column": 60 }, "end": { "line": 81, "column": 68 }, "identifierName": "itemData" }, "name": "itemData" } ] } } ], "directives": [] } } } } ], "directives": [] }, "comments": [ { "type": "CommentBlock", "value": "* @returns {\"shape\"} *", "start": 639, "end": 665, "loc": { "start": { "line": 25, "column": 4 }, "end": { "line": 25, "column": 30 } } }, { "type": "CommentBlock", "value": "*\r\n * @returns {string}\r\n ", "start": 726, "end": 764, "loc": { "start": { "line": 30, "column": 4 }, "end": { "line": 32, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * @param {BaseItem} other\r\n ", "start": 848, "end": 892, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 39, "column": 7 } } }, { "type": "CommentBlock", "value": "* @type {ShapeItem} ", "start": 964, "end": 988, "loc": { "start": { "line": 41, "column": 45 }, "end": { "line": 41, "column": 69 } } }, { "type": "CommentBlock", "value": "*\r\n * @param {ShapeDefinition} definition\r\n ", "start": 1033, "end": 1089, "loc": { "start": { "line": 44, "column": 4 }, "end": { "line": 46, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * This property must not be modified on runtime, you have to clone the class in order to change the definition\r\n ", "start": 1150, "end": 1287, "loc": { "start": { "line": 50, "column": 8 }, "end": { "line": 52, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Draws the item to a canvas\r\n * @param {CanvasRenderingContext2D} context\r\n * @param {number} size\r\n ", "start": 1431, "end": 1557, "loc": { "start": { "line": 60, "column": 4 }, "end": { "line": 64, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * @param {number} x\r\n * @param {number} y\r\n * @param {DrawParameters} parameters\r\n * @param {number=} diameter\r\n ", "start": 1677, "end": 1818, "loc": { "start": { "line": 69, "column": 4 }, "end": { "line": 74, "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": "DrawParameters", "start": 9, "end": 23, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 23 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 24, "end": 25, "loc": { "start": { "line": 1, "column": 24 }, "end": { "line": 1, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 26, "end": 30, "loc": { "start": { "line": 1, "column": 26 }, "end": { "line": 1, "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": 31, "end": 59, "loc": { "start": { "line": 1, "column": 31 }, "end": { "line": 1, "column": 59 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 59, "end": 60, "loc": { "start": { "line": 1, "column": 59 }, "end": { "line": 1, "column": 60 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 62, "end": 68, "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": 69, "end": 70, "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": "types", "start": 71, "end": 76, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 14 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 77, "end": 78, "loc": { "start": { "line": 2, "column": 15 }, "end": { "line": 2, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 79, "end": 83, "loc": { "start": { "line": 2, "column": 17 }, "end": { "line": 2, "column": 21 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../../savegame/serialization", "start": 84, "end": 114, "loc": { "start": { "line": 2, "column": 22 }, "end": { "line": 2, "column": 52 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 114, "end": 115, "loc": { "start": { "line": 2, "column": 52 }, "end": { "line": 2, "column": 53 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 117, "end": 123, "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": 124, "end": 125, "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": "BaseItem", "start": 126, "end": 134, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 135, "end": 136, "loc": { "start": { "line": 3, "column": 18 }, "end": { "line": 3, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 137, "end": 141, "loc": { "start": { "line": 3, "column": 20 }, "end": { "line": 3, "column": 24 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../base_item", "start": 142, "end": 156, "loc": { "start": { "line": 3, "column": 25 }, "end": { "line": 3, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 156, "end": 157, "loc": { "start": { "line": 3, "column": 39 }, "end": { "line": 3, "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": 159, "end": 165, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 166, "end": 167, "loc": { "start": { "line": 4, "column": 7 }, "end": { "line": 4, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ShapeDefinition", "start": 168, "end": 183, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 24 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 184, "end": 185, "loc": { "start": { "line": 4, "column": 25 }, "end": { "line": 4, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 186, "end": 190, "loc": { "start": { "line": 4, "column": 27 }, "end": { "line": 4, "column": 31 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../shape_definition", "start": 191, "end": 212, "loc": { "start": { "line": 4, "column": 32 }, "end": { "line": 4, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 212, "end": 213, "loc": { "start": { "line": 4, "column": 53 }, "end": { "line": 4, "column": 54 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 215, "end": 221, "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": 222, "end": 223, "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": "THEME", "start": 224, "end": 229, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 14 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 230, "end": 231, "loc": { "start": { "line": 5, "column": 15 }, "end": { "line": 5, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 232, "end": 236, "loc": { "start": { "line": 5, "column": 17 }, "end": { "line": 5, "column": 21 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../theme", "start": 237, "end": 247, "loc": { "start": { "line": 5, "column": 22 }, "end": { "line": 5, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 247, "end": 248, "loc": { "start": { "line": 5, "column": 32 }, "end": { "line": 5, "column": 33 } } }, { "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": 250, "end": 256, "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": 257, "end": 258, "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": "globalConfig", "start": 259, "end": 271, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 272, "end": 273, "loc": { "start": { "line": 6, "column": 22 }, "end": { "line": 6, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 274, "end": 278, "loc": { "start": { "line": 6, "column": 24 }, "end": { "line": 6, "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": 279, "end": 298, "loc": { "start": { "line": 6, "column": 29 }, "end": { "line": 6, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 298, "end": 299, "loc": { "start": { "line": 6, "column": 48 }, "end": { "line": 6, "column": 49 } } }, { "type": { "label": "export", "keyword": "export", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "export", "start": 303, "end": 309, "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": 310, "end": 315, "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": "ShapeItem", "start": 316, "end": 325, "loc": { "start": { "line": 8, "column": 13 }, "end": { "line": 8, "column": 22 } } }, { "type": { "label": "extends", "keyword": "extends", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "extends", "start": 326, "end": 333, "loc": { "start": { "line": 8, "column": 23 }, "end": { "line": 8, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "BaseItem", "start": 334, "end": 342, "loc": { "start": { "line": 8, "column": 31 }, "end": { "line": 8, "column": 39 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 343, "end": 344, "loc": { "start": { "line": 8, "column": 40 }, "end": { "line": 8, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "static", "start": 350, "end": 356, "loc": { "start": { "line": 9, "column": 4 }, "end": { "line": 9, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getId", "start": 357, "end": 362, "loc": { "start": { "line": 9, "column": 11 }, "end": { "line": 9, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 362, "end": 363, "loc": { "start": { "line": 9, "column": 16 }, "end": { "line": 9, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 363, "end": 364, "loc": { "start": { "line": 9, "column": 17 }, "end": { "line": 9, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 365, "end": 366, "loc": { "start": { "line": 9, "column": 19 }, "end": { "line": 9, "column": 20 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 376, "end": 382, "loc": { "start": { "line": 10, "column": 8 }, "end": { "line": 10, "column": 14 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "shape", "start": 383, "end": 390, "loc": { "start": { "line": 10, "column": 15 }, "end": { "line": 10, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 390, "end": 391, "loc": { "start": { "line": 10, "column": 22 }, "end": { "line": 10, "column": 23 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 397, "end": 398, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 11, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "static", "start": 406, "end": 412, "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 13, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getSchema", "start": 413, "end": 422, "loc": { "start": { "line": 13, "column": 11 }, "end": { "line": 13, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 422, "end": 423, "loc": { "start": { "line": 13, "column": 20 }, "end": { "line": 13, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 423, "end": 424, "loc": { "start": { "line": 13, "column": 21 }, "end": { "line": 13, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 425, "end": 426, "loc": { "start": { "line": 13, "column": 23 }, "end": { "line": 13, "column": 24 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 436, "end": 442, "loc": { "start": { "line": 14, "column": 8 }, "end": { "line": 14, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "types", "start": 443, "end": 448, "loc": { "start": { "line": 14, "column": 15 }, "end": { "line": 14, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 448, "end": 449, "loc": { "start": { "line": 14, "column": 20 }, "end": { "line": 14, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "string", "start": 449, "end": 455, "loc": { "start": { "line": 14, "column": 21 }, "end": { "line": 14, "column": 27 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 455, "end": 456, "loc": { "start": { "line": 14, "column": 27 }, "end": { "line": 14, "column": 28 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 462, "end": 463, "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 15, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "serialize", "start": 471, "end": 480, "loc": { "start": { "line": 17, "column": 4 }, "end": { "line": 17, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 480, "end": 481, "loc": { "start": { "line": 17, "column": 13 }, "end": { "line": 17, "column": 14 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 481, "end": 482, "loc": { "start": { "line": 17, "column": 14 }, "end": { "line": 17, "column": 15 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 483, "end": 484, "loc": { "start": { "line": 17, "column": 16 }, "end": { "line": 17, "column": 17 } } }, { "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": 494, "end": 500, "loc": { "start": { "line": 18, "column": 8 }, "end": { "line": 18, "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": 501, "end": 505, "loc": { "start": { "line": 18, "column": 15 }, "end": { "line": 18, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 505, "end": 506, "loc": { "start": { "line": 18, "column": 19 }, "end": { "line": 18, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "definition", "start": 506, "end": 516, "loc": { "start": { "line": 18, "column": 20 }, "end": { "line": 18, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 516, "end": 517, "loc": { "start": { "line": 18, "column": 30 }, "end": { "line": 18, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getHash", "start": 517, "end": 524, "loc": { "start": { "line": 18, "column": 31 }, "end": { "line": 18, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 524, "end": 525, "loc": { "start": { "line": 18, "column": 38 }, "end": { "line": 18, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 525, "end": 526, "loc": { "start": { "line": 18, "column": 39 }, "end": { "line": 18, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 526, "end": 527, "loc": { "start": { "line": 18, "column": 40 }, "end": { "line": 18, "column": 41 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 533, "end": 534, "loc": { "start": { "line": 19, "column": 4 }, "end": { "line": 19, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "deserialize", "start": 542, "end": 553, "loc": { "start": { "line": 21, "column": 4 }, "end": { "line": 21, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 553, "end": 554, "loc": { "start": { "line": 21, "column": 15 }, "end": { "line": 21, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 554, "end": 558, "loc": { "start": { "line": 21, "column": 16 }, "end": { "line": 21, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 558, "end": 559, "loc": { "start": { "line": 21, "column": 20 }, "end": { "line": 21, "column": 21 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 560, "end": 561, "loc": { "start": { "line": 21, "column": 22 }, "end": { "line": 21, "column": 23 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 571, "end": 575, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 575, "end": 576, "loc": { "start": { "line": 22, "column": 12 }, "end": { "line": 22, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "definition", "start": 576, "end": 586, "loc": { "start": { "line": 22, "column": 13 }, "end": { "line": 22, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 587, "end": 588, "loc": { "start": { "line": 22, "column": 24 }, "end": { "line": 22, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ShapeDefinition", "start": 589, "end": 604, "loc": { "start": { "line": 22, "column": 26 }, "end": { "line": 22, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 604, "end": 605, "loc": { "start": { "line": 22, "column": 41 }, "end": { "line": 22, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fromShortKey", "start": 605, "end": 617, "loc": { "start": { "line": 22, "column": 42 }, "end": { "line": 22, "column": 54 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 617, "end": 618, "loc": { "start": { "line": 22, "column": 54 }, "end": { "line": 22, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 618, "end": 622, "loc": { "start": { "line": 22, "column": 55 }, "end": { "line": 22, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 622, "end": 623, "loc": { "start": { "line": 22, "column": 59 }, "end": { "line": 22, "column": 60 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 623, "end": 624, "loc": { "start": { "line": 22, "column": 60 }, "end": { "line": 22, "column": 61 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 630, "end": 631, "loc": { "start": { "line": 23, "column": 4 }, "end": { "line": 23, "column": 5 } } }, { "type": "CommentBlock", "value": "* @returns {\"shape\"} *", "start": 639, "end": 665, "loc": { "start": { "line": 25, "column": 4 }, "end": { "line": 25, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getItemType", "start": 671, "end": 682, "loc": { "start": { "line": 26, "column": 4 }, "end": { "line": 26, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 682, "end": 683, "loc": { "start": { "line": 26, "column": 15 }, "end": { "line": 26, "column": 16 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 683, "end": 684, "loc": { "start": { "line": 26, "column": 16 }, "end": { "line": 26, "column": 17 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 685, "end": 686, "loc": { "start": { "line": 26, "column": 18 }, "end": { "line": 26, "column": 19 } } }, { "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": 696, "end": 702, "loc": { "start": { "line": 27, "column": 8 }, "end": { "line": 27, "column": 14 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "shape", "start": 703, "end": 710, "loc": { "start": { "line": 27, "column": 15 }, "end": { "line": 27, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 710, "end": 711, "loc": { "start": { "line": 27, "column": 22 }, "end": { "line": 27, "column": 23 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 717, "end": 718, "loc": { "start": { "line": 28, "column": 4 }, "end": { "line": 28, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * @returns {string}\r\n ", "start": 726, "end": 764, "loc": { "start": { "line": 30, "column": 4 }, "end": { "line": 32, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getAsCopyableKey", "start": 770, "end": 786, "loc": { "start": { "line": 33, "column": 4 }, "end": { "line": 33, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 786, "end": 787, "loc": { "start": { "line": 33, "column": 20 }, "end": { "line": 33, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 787, "end": 788, "loc": { "start": { "line": 33, "column": 21 }, "end": { "line": 33, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 789, "end": 790, "loc": { "start": { "line": 33, "column": 23 }, "end": { "line": 33, "column": 24 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 800, "end": 806, "loc": { "start": { "line": 34, "column": 8 }, "end": { "line": 34, "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": 807, "end": 811, "loc": { "start": { "line": 34, "column": 15 }, "end": { "line": 34, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 811, "end": 812, "loc": { "start": { "line": 34, "column": 19 }, "end": { "line": 34, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "definition", "start": 812, "end": 822, "loc": { "start": { "line": 34, "column": 20 }, "end": { "line": 34, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 822, "end": 823, "loc": { "start": { "line": 34, "column": 30 }, "end": { "line": 34, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getHash", "start": 823, "end": 830, "loc": { "start": { "line": 34, "column": 31 }, "end": { "line": 34, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 830, "end": 831, "loc": { "start": { "line": 34, "column": 38 }, "end": { "line": 34, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 831, "end": 832, "loc": { "start": { "line": 34, "column": 39 }, "end": { "line": 34, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 832, "end": 833, "loc": { "start": { "line": 34, "column": 40 }, "end": { "line": 34, "column": 41 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 839, "end": 840, "loc": { "start": { "line": 35, "column": 4 }, "end": { "line": 35, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * @param {BaseItem} other\r\n ", "start": 848, "end": 892, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 39, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "equalsImpl", "start": 898, "end": 908, "loc": { "start": { "line": 40, "column": 4 }, "end": { "line": 40, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 908, "end": 909, "loc": { "start": { "line": 40, "column": 14 }, "end": { "line": 40, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "other", "start": 909, "end": 914, "loc": { "start": { "line": 40, "column": 15 }, "end": { "line": 40, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 914, "end": 915, "loc": { "start": { "line": 40, "column": 20 }, "end": { "line": 40, "column": 21 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 916, "end": 917, "loc": { "start": { "line": 40, "column": 22 }, "end": { "line": 40, "column": 23 } } }, { "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": 927, "end": 933, "loc": { "start": { "line": 41, "column": 8 }, "end": { "line": 41, "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": 934, "end": 938, "loc": { "start": { "line": 41, "column": 15 }, "end": { "line": 41, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 938, "end": 939, "loc": { "start": { "line": 41, "column": 19 }, "end": { "line": 41, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "definition", "start": 939, "end": 949, "loc": { "start": { "line": 41, "column": 20 }, "end": { "line": 41, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 949, "end": 950, "loc": { "start": { "line": 41, "column": 30 }, "end": { "line": 41, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getHash", "start": 950, "end": 957, "loc": { "start": { "line": 41, "column": 31 }, "end": { "line": 41, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 957, "end": 958, "loc": { "start": { "line": 41, "column": 38 }, "end": { "line": 41, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 958, "end": 959, "loc": { "start": { "line": 41, "column": 39 }, "end": { "line": 41, "column": 40 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 960, "end": 963, "loc": { "start": { "line": 41, "column": 41 }, "end": { "line": 41, "column": 44 } } }, { "type": "CommentBlock", "value": "* @type {ShapeItem} ", "start": 964, "end": 988, "loc": { "start": { "line": 41, "column": 45 }, "end": { "line": 41, "column": 69 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 989, "end": 990, "loc": { "start": { "line": 41, "column": 70 }, "end": { "line": 41, "column": 71 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "other", "start": 990, "end": 995, "loc": { "start": { "line": 41, "column": 71 }, "end": { "line": 41, "column": 76 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 995, "end": 996, "loc": { "start": { "line": 41, "column": 76 }, "end": { "line": 41, "column": 77 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 996, "end": 997, "loc": { "start": { "line": 41, "column": 77 }, "end": { "line": 41, "column": 78 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "definition", "start": 997, "end": 1007, "loc": { "start": { "line": 41, "column": 78 }, "end": { "line": 41, "column": 88 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1007, "end": 1008, "loc": { "start": { "line": 41, "column": 88 }, "end": { "line": 41, "column": 89 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getHash", "start": 1008, "end": 1015, "loc": { "start": { "line": 41, "column": 89 }, "end": { "line": 41, "column": 96 } } }, { "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": 41, "column": 96 }, "end": { "line": 41, "column": 97 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1016, "end": 1017, "loc": { "start": { "line": 41, "column": 97 }, "end": { "line": 41, "column": 98 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1017, "end": 1018, "loc": { "start": { "line": 41, "column": 98 }, "end": { "line": 41, "column": 99 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1024, "end": 1025, "loc": { "start": { "line": 42, "column": 4 }, "end": { "line": 42, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * @param {ShapeDefinition} definition\r\n ", "start": 1033, "end": 1089, "loc": { "start": { "line": 44, "column": 4 }, "end": { "line": 46, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 1095, "end": 1106, "loc": { "start": { "line": 47, "column": 4 }, "end": { "line": 47, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1106, "end": 1107, "loc": { "start": { "line": 47, "column": 15 }, "end": { "line": 47, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "definition", "start": 1107, "end": 1117, "loc": { "start": { "line": 47, "column": 16 }, "end": { "line": 47, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1117, "end": 1118, "loc": { "start": { "line": 47, "column": 26 }, "end": { "line": 47, "column": 27 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1119, "end": 1120, "loc": { "start": { "line": 47, "column": 28 }, "end": { "line": 47, "column": 29 } } }, { "type": { "label": "super", "keyword": "super", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "super", "start": 1130, "end": 1135, "loc": { "start": { "line": 48, "column": 8 }, "end": { "line": 48, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1135, "end": 1136, "loc": { "start": { "line": 48, "column": 13 }, "end": { "line": 48, "column": 14 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1136, "end": 1137, "loc": { "start": { "line": 48, "column": 14 }, "end": { "line": 48, "column": 15 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1137, "end": 1138, "loc": { "start": { "line": 48, "column": 15 }, "end": { "line": 48, "column": 16 } } }, { "type": "CommentBlock", "value": "*\r\n * This property must not be modified on runtime, you have to clone the class in order to change the definition\r\n ", "start": 1150, "end": 1287, "loc": { "start": { "line": 50, "column": 8 }, "end": { "line": 52, "column": 11 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1297, "end": 1301, "loc": { "start": { "line": 53, "column": 8 }, "end": { "line": 53, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1301, "end": 1302, "loc": { "start": { "line": 53, "column": 12 }, "end": { "line": 53, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "definition", "start": 1302, "end": 1312, "loc": { "start": { "line": 53, "column": 13 }, "end": { "line": 53, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1313, "end": 1314, "loc": { "start": { "line": 53, "column": 24 }, "end": { "line": 53, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "definition", "start": 1315, "end": 1325, "loc": { "start": { "line": 53, "column": 26 }, "end": { "line": 53, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1325, "end": 1326, "loc": { "start": { "line": 53, "column": 36 }, "end": { "line": 53, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1332, "end": 1333, "loc": { "start": { "line": 54, "column": 4 }, "end": { "line": 54, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getBackgroundColorAsResource", "start": 1341, "end": 1369, "loc": { "start": { "line": 56, "column": 4 }, "end": { "line": 56, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1369, "end": 1370, "loc": { "start": { "line": 56, "column": 32 }, "end": { "line": 56, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1370, "end": 1371, "loc": { "start": { "line": 56, "column": 33 }, "end": { "line": 56, "column": 34 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1372, "end": 1373, "loc": { "start": { "line": 56, "column": 35 }, "end": { "line": 56, "column": 36 } } }, { "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": 1383, "end": 1389, "loc": { "start": { "line": 57, "column": 8 }, "end": { "line": 57, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "THEME", "start": 1390, "end": 1395, "loc": { "start": { "line": 57, "column": 15 }, "end": { "line": 57, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1395, "end": 1396, "loc": { "start": { "line": 57, "column": 20 }, "end": { "line": 57, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "map", "start": 1396, "end": 1399, "loc": { "start": { "line": 57, "column": 21 }, "end": { "line": 57, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1399, "end": 1400, "loc": { "start": { "line": 57, "column": 24 }, "end": { "line": 57, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "resources", "start": 1400, "end": 1409, "loc": { "start": { "line": 57, "column": 25 }, "end": { "line": 57, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1409, "end": 1410, "loc": { "start": { "line": 57, "column": 34 }, "end": { "line": 57, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shape", "start": 1410, "end": 1415, "loc": { "start": { "line": 57, "column": 35 }, "end": { "line": 57, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1415, "end": 1416, "loc": { "start": { "line": 57, "column": 40 }, "end": { "line": 57, "column": 41 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1422, "end": 1423, "loc": { "start": { "line": 58, "column": 4 }, "end": { "line": 58, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Draws the item to a canvas\r\n * @param {CanvasRenderingContext2D} context\r\n * @param {number} size\r\n ", "start": 1431, "end": 1557, "loc": { "start": { "line": 60, "column": 4 }, "end": { "line": 64, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "drawFullSizeOnCanvas", "start": 1563, "end": 1583, "loc": { "start": { "line": 65, "column": 4 }, "end": { "line": 65, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1583, "end": 1584, "loc": { "start": { "line": 65, "column": 24 }, "end": { "line": 65, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 1584, "end": 1591, "loc": { "start": { "line": 65, "column": 25 }, "end": { "line": 65, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1591, "end": 1592, "loc": { "start": { "line": 65, "column": 32 }, "end": { "line": 65, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "size", "start": 1593, "end": 1597, "loc": { "start": { "line": 65, "column": 34 }, "end": { "line": 65, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1597, "end": 1598, "loc": { "start": { "line": 65, "column": 38 }, "end": { "line": 65, "column": 39 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1599, "end": 1600, "loc": { "start": { "line": 65, "column": 40 }, "end": { "line": 65, "column": 41 } } }, { "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": 1610, "end": 1614, "loc": { "start": { "line": 66, "column": 8 }, "end": { "line": 66, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1614, "end": 1615, "loc": { "start": { "line": 66, "column": 12 }, "end": { "line": 66, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "definition", "start": 1615, "end": 1625, "loc": { "start": { "line": 66, "column": 13 }, "end": { "line": 66, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1625, "end": 1626, "loc": { "start": { "line": 66, "column": 23 }, "end": { "line": 66, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "drawFullSizeOnCanvas", "start": 1626, "end": 1646, "loc": { "start": { "line": 66, "column": 24 }, "end": { "line": 66, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1646, "end": 1647, "loc": { "start": { "line": 66, "column": 44 }, "end": { "line": 66, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "context", "start": 1647, "end": 1654, "loc": { "start": { "line": 66, "column": 45 }, "end": { "line": 66, "column": 52 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1654, "end": 1655, "loc": { "start": { "line": 66, "column": 52 }, "end": { "line": 66, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "size", "start": 1656, "end": 1660, "loc": { "start": { "line": 66, "column": 54 }, "end": { "line": 66, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1660, "end": 1661, "loc": { "start": { "line": 66, "column": 58 }, "end": { "line": 66, "column": 59 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1661, "end": 1662, "loc": { "start": { "line": 66, "column": 59 }, "end": { "line": 66, "column": 60 } } }, { "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": 67, "column": 4 }, "end": { "line": 67, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * @param {number} x\r\n * @param {number} y\r\n * @param {DrawParameters} parameters\r\n * @param {number=} diameter\r\n ", "start": 1677, "end": 1818, "loc": { "start": { "line": 69, "column": 4 }, "end": { "line": 74, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "drawItemCenteredImpl", "start": 1824, "end": 1844, "loc": { "start": { "line": 75, "column": 4 }, "end": { "line": 75, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1844, "end": 1845, "loc": { "start": { "line": 75, "column": 24 }, "end": { "line": 75, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 1845, "end": 1846, "loc": { "start": { "line": 75, "column": 25 }, "end": { "line": 75, "column": 26 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1846, "end": 1847, "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": "y", "start": 1848, "end": 1849, "loc": { "start": { "line": 75, "column": 28 }, "end": { "line": 75, "column": 29 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1849, "end": 1850, "loc": { "start": { "line": 75, "column": 29 }, "end": { "line": 75, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parameters", "start": 1851, "end": 1861, "loc": { "start": { "line": 75, "column": 31 }, "end": { "line": 75, "column": 41 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1861, "end": 1862, "loc": { "start": { "line": 75, "column": 41 }, "end": { "line": 75, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "diameter", "start": 1863, "end": 1871, "loc": { "start": { "line": 75, "column": 43 }, "end": { "line": 75, "column": 51 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1872, "end": 1873, "loc": { "start": { "line": 75, "column": 52 }, "end": { "line": 75, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 1874, "end": 1886, "loc": { "start": { "line": 75, "column": 54 }, "end": { "line": 75, "column": 66 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1886, "end": 1887, "loc": { "start": { "line": 75, "column": 66 }, "end": { "line": 75, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "defaultItemDiameter", "start": 1887, "end": 1906, "loc": { "start": { "line": 75, "column": 67 }, "end": { "line": 75, "column": 86 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1906, "end": 1907, "loc": { "start": { "line": 75, "column": 86 }, "end": { "line": 75, "column": 87 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "background", "start": 1908, "end": 1918, "loc": { "start": { "line": 75, "column": 88 }, "end": { "line": 75, "column": 98 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1919, "end": 1920, "loc": { "start": { "line": 75, "column": 99 }, "end": { "line": 75, "column": 100 } } }, { "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": 1921, "end": 1925, "loc": { "start": { "line": 75, "column": 101 }, "end": { "line": 75, "column": 105 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1925, "end": 1926, "loc": { "start": { "line": 75, "column": 105 }, "end": { "line": 75, "column": 106 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1927, "end": 1928, "loc": { "start": { "line": 75, "column": 107 }, "end": { "line": 75, "column": 108 } } }, { "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": 1938, "end": 1942, "loc": { "start": { "line": 76, "column": 8 }, "end": { "line": 76, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1942, "end": 1943, "loc": { "start": { "line": 76, "column": 12 }, "end": { "line": 76, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "definition", "start": 1943, "end": 1953, "loc": { "start": { "line": 76, "column": 13 }, "end": { "line": 76, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1953, "end": 1954, "loc": { "start": { "line": 76, "column": 23 }, "end": { "line": 76, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "drawCentered", "start": 1954, "end": 1966, "loc": { "start": { "line": 76, "column": 24 }, "end": { "line": 76, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1966, "end": 1967, "loc": { "start": { "line": 76, "column": 36 }, "end": { "line": 76, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 1967, "end": 1968, "loc": { "start": { "line": 76, "column": 37 }, "end": { "line": 76, "column": 38 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1968, "end": 1969, "loc": { "start": { "line": 76, "column": 38 }, "end": { "line": 76, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 1970, "end": 1971, "loc": { "start": { "line": 76, "column": 40 }, "end": { "line": 76, "column": 41 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1971, "end": 1972, "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": "parameters", "start": 1973, "end": 1983, "loc": { "start": { "line": 76, "column": 43 }, "end": { "line": 76, "column": 53 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1983, "end": 1984, "loc": { "start": { "line": 76, "column": 53 }, "end": { "line": 76, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "diameter", "start": 1985, "end": 1993, "loc": { "start": { "line": 76, "column": 55 }, "end": { "line": 76, "column": 63 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1993, "end": 1994, "loc": { "start": { "line": 76, "column": 63 }, "end": { "line": 76, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "background", "start": 1995, "end": 2005, "loc": { "start": { "line": 76, "column": 65 }, "end": { "line": 76, "column": 75 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2005, "end": 2006, "loc": { "start": { "line": 76, "column": 75 }, "end": { "line": 76, "column": 76 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2006, "end": 2007, "loc": { "start": { "line": 76, "column": 76 }, "end": { "line": 76, "column": 77 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2013, "end": 2014, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2016, "end": 2017, "loc": { "start": { "line": 78, "column": 0 }, "end": { "line": 78, "column": 1 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ShapeItem", "start": 2021, "end": 2030, "loc": { "start": { "line": 80, "column": 0 }, "end": { "line": 80, "column": 9 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2030, "end": 2031, "loc": { "start": { "line": 80, "column": 9 }, "end": { "line": 80, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "resolveSingleton", "start": 2031, "end": 2047, "loc": { "start": { "line": 80, "column": 10 }, "end": { "line": 80, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2048, "end": 2049, "loc": { "start": { "line": 80, "column": 27 }, "end": { "line": 80, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2050, "end": 2051, "loc": { "start": { "line": 80, "column": 29 }, "end": { "line": 80, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 2051, "end": 2055, "loc": { "start": { "line": 80, "column": 30 }, "end": { "line": 80, "column": 34 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2055, "end": 2056, "loc": { "start": { "line": 80, "column": 34 }, "end": { "line": 80, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemData", "start": 2057, "end": 2065, "loc": { "start": { "line": 80, "column": 36 }, "end": { "line": 80, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2065, "end": 2066, "loc": { "start": { "line": 80, "column": 44 }, "end": { "line": 80, "column": 45 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2067, "end": 2069, "loc": { "start": { "line": 80, "column": 46 }, "end": { "line": 80, "column": 48 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2070, "end": 2071, "loc": { "start": { "line": 80, "column": 49 }, "end": { "line": 80, "column": 50 } } }, { "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": 2077, "end": 2083, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "root", "start": 2084, "end": 2088, "loc": { "start": { "line": 81, "column": 11 }, "end": { "line": 81, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2088, "end": 2089, "loc": { "start": { "line": 81, "column": 15 }, "end": { "line": 81, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapeDefinitionMgr", "start": 2089, "end": 2107, "loc": { "start": { "line": 81, "column": 16 }, "end": { "line": 81, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2107, "end": 2108, "loc": { "start": { "line": 81, "column": 34 }, "end": { "line": 81, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getShapeItemFromShortKey", "start": 2108, "end": 2132, "loc": { "start": { "line": 81, "column": 35 }, "end": { "line": 81, "column": 59 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2132, "end": 2133, "loc": { "start": { "line": 81, "column": 59 }, "end": { "line": 81, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "itemData", "start": 2133, "end": 2141, "loc": { "start": { "line": 81, "column": 60 }, "end": { "line": 81, "column": 68 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2141, "end": 2142, "loc": { "start": { "line": 81, "column": 68 }, "end": { "line": 81, "column": 69 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2142, "end": 2143, "loc": { "start": { "line": 81, "column": 69 }, "end": { "line": 81, "column": 70 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2145, "end": 2146, "loc": { "start": { "line": 82, "column": 0 }, "end": { "line": 82, "column": 1 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2146, "end": 2147, "loc": { "start": { "line": 82, "column": 1 }, "end": { "line": 82, "column": 2 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2147, "end": 2147, "loc": { "start": { "line": 82, "column": 2 }, "end": { "line": 82, "column": 2 } } } ] }