1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-06-13 13:04:03 +00:00
tobspr_shapez.io/docs/ast/source/game/systems/logic_gate.js.json
2021-02-26 15:20:37 +01:00

67319 lines
1.8 MiB

{
"type": "File",
"start": 0,
"end": 12888,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 371,
"column": 1
}
},
"program": {
"type": "Program",
"start": 0,
"end": 12888,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 371,
"column": 1
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 40,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 40
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 9,
"end": 17,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 17
}
},
"imported": {
"type": "Identifier",
"start": 9,
"end": 17,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 17
},
"identifierName": "BaseItem"
},
"name": "BaseItem"
},
"local": {
"type": "Identifier",
"start": 9,
"end": 17,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 17
},
"identifierName": "BaseItem"
},
"name": "BaseItem"
}
}
],
"source": {
"type": "StringLiteral",
"start": 25,
"end": 39,
"loc": {
"start": {
"line": 1,
"column": 25
},
"end": {
"line": 1,
"column": 39
}
},
"extra": {
"rawValue": "../base_item",
"raw": "\"../base_item\""
},
"value": "../base_item"
}
},
{
"type": "ImportDeclaration",
"start": 42,
"end": 81,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 39
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 51,
"end": 61,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 19
}
},
"imported": {
"type": "Identifier",
"start": 51,
"end": 61,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 19
},
"identifierName": "enumColors"
},
"name": "enumColors"
},
"local": {
"type": "Identifier",
"start": 51,
"end": 61,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 19
},
"identifierName": "enumColors"
},
"name": "enumColors"
}
}
],
"source": {
"type": "StringLiteral",
"start": 69,
"end": 80,
"loc": {
"start": {
"line": 2,
"column": 27
},
"end": {
"line": 2,
"column": 38
}
},
"extra": {
"rawValue": "../colors",
"raw": "\"../colors\""
},
"value": "../colors"
}
},
{
"type": "ImportDeclaration",
"start": 83,
"end": 164,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 81
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 92,
"end": 109,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 26
}
},
"imported": {
"type": "Identifier",
"start": 92,
"end": 109,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 26
},
"identifierName": "enumLogicGateType"
},
"name": "enumLogicGateType"
},
"local": {
"type": "Identifier",
"start": 92,
"end": 109,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 26
},
"identifierName": "enumLogicGateType"
},
"name": "enumLogicGateType"
}
},
{
"type": "ImportSpecifier",
"start": 111,
"end": 129,
"loc": {
"start": {
"line": 3,
"column": 28
},
"end": {
"line": 3,
"column": 46
}
},
"imported": {
"type": "Identifier",
"start": 111,
"end": 129,
"loc": {
"start": {
"line": 3,
"column": 28
},
"end": {
"line": 3,
"column": 46
},
"identifierName": "LogicGateComponent"
},
"name": "LogicGateComponent"
},
"local": {
"type": "Identifier",
"start": 111,
"end": 129,
"loc": {
"start": {
"line": 3,
"column": 28
},
"end": {
"line": 3,
"column": 46
},
"identifierName": "LogicGateComponent"
},
"name": "LogicGateComponent"
}
}
],
"source": {
"type": "StringLiteral",
"start": 137,
"end": 163,
"loc": {
"start": {
"line": 3,
"column": 54
},
"end": {
"line": 3,
"column": 80
}
},
"extra": {
"rawValue": "../components/logic_gate",
"raw": "\"../components/logic_gate\""
},
"value": "../components/logic_gate"
}
},
{
"type": "ImportDeclaration",
"start": 166,
"end": 225,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 59
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 175,
"end": 190,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 24
}
},
"imported": {
"type": "Identifier",
"start": 175,
"end": 190,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 24
},
"identifierName": "enumPinSlotType"
},
"name": "enumPinSlotType"
},
"local": {
"type": "Identifier",
"start": 175,
"end": 190,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 24
},
"identifierName": "enumPinSlotType"
},
"name": "enumPinSlotType"
}
}
],
"source": {
"type": "StringLiteral",
"start": 198,
"end": 224,
"loc": {
"start": {
"line": 4,
"column": 32
},
"end": {
"line": 4,
"column": 58
}
},
"extra": {
"rawValue": "../components/wired_pins",
"raw": "\"../components/wired_pins\""
},
"value": "../components/wired_pins"
}
},
{
"type": "ImportDeclaration",
"start": 227,
"end": 293,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 66
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 236,
"end": 256,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 29
}
},
"imported": {
"type": "Identifier",
"start": 236,
"end": 256,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 29
},
"identifierName": "GameSystemWithFilter"
},
"name": "GameSystemWithFilter"
},
"local": {
"type": "Identifier",
"start": 236,
"end": 256,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 29
},
"identifierName": "GameSystemWithFilter"
},
"name": "GameSystemWithFilter"
}
}
],
"source": {
"type": "StringLiteral",
"start": 264,
"end": 292,
"loc": {
"start": {
"line": 5,
"column": 37
},
"end": {
"line": 5,
"column": 65
}
},
"extra": {
"rawValue": "../game_system_with_filter",
"raw": "\"../game_system_with_filter\""
},
"value": "../game_system_with_filter"
}
},
{
"type": "ImportDeclaration",
"start": 295,
"end": 404,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 109
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 304,
"end": 324,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 29
}
},
"imported": {
"type": "Identifier",
"start": 304,
"end": 324,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 29
},
"identifierName": "BOOL_FALSE_SINGLETON"
},
"name": "BOOL_FALSE_SINGLETON"
},
"local": {
"type": "Identifier",
"start": 304,
"end": 324,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 29
},
"identifierName": "BOOL_FALSE_SINGLETON"
},
"name": "BOOL_FALSE_SINGLETON"
}
},
{
"type": "ImportSpecifier",
"start": 326,
"end": 345,
"loc": {
"start": {
"line": 6,
"column": 31
},
"end": {
"line": 6,
"column": 50
}
},
"imported": {
"type": "Identifier",
"start": 326,
"end": 345,
"loc": {
"start": {
"line": 6,
"column": 31
},
"end": {
"line": 6,
"column": 50
},
"identifierName": "BOOL_TRUE_SINGLETON"
},
"name": "BOOL_TRUE_SINGLETON"
},
"local": {
"type": "Identifier",
"start": 326,
"end": 345,
"loc": {
"start": {
"line": 6,
"column": 31
},
"end": {
"line": 6,
"column": 50
},
"identifierName": "BOOL_TRUE_SINGLETON"
},
"name": "BOOL_TRUE_SINGLETON"
}
},
{
"type": "ImportSpecifier",
"start": 347,
"end": 358,
"loc": {
"start": {
"line": 6,
"column": 52
},
"end": {
"line": 6,
"column": 63
}
},
"imported": {
"type": "Identifier",
"start": 347,
"end": 358,
"loc": {
"start": {
"line": 6,
"column": 52
},
"end": {
"line": 6,
"column": 63
},
"identifierName": "BooleanItem"
},
"name": "BooleanItem"
},
"local": {
"type": "Identifier",
"start": 347,
"end": 358,
"loc": {
"start": {
"line": 6,
"column": 52
},
"end": {
"line": 6,
"column": 63
},
"identifierName": "BooleanItem"
},
"name": "BooleanItem"
}
},
{
"type": "ImportSpecifier",
"start": 360,
"end": 372,
"loc": {
"start": {
"line": 6,
"column": 65
},
"end": {
"line": 6,
"column": 77
}
},
"imported": {
"type": "Identifier",
"start": 360,
"end": 372,
"loc": {
"start": {
"line": 6,
"column": 65
},
"end": {
"line": 6,
"column": 77
},
"identifierName": "isTruthyItem"
},
"name": "isTruthyItem"
},
"local": {
"type": "Identifier",
"start": 360,
"end": 372,
"loc": {
"start": {
"line": 6,
"column": 65
},
"end": {
"line": 6,
"column": 77
},
"identifierName": "isTruthyItem"
},
"name": "isTruthyItem"
}
}
],
"source": {
"type": "StringLiteral",
"start": 380,
"end": 403,
"loc": {
"start": {
"line": 6,
"column": 85
},
"end": {
"line": 6,
"column": 108
}
},
"extra": {
"rawValue": "../items/boolean_item",
"raw": "\"../items/boolean_item\""
},
"value": "../items/boolean_item"
}
},
{
"type": "ImportDeclaration",
"start": 406,
"end": 454,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 7,
"column": 48
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 415,
"end": 424,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 18
}
},
"imported": {
"type": "Identifier",
"start": 415,
"end": 424,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 18
},
"identifierName": "ColorItem"
},
"name": "ColorItem"
},
"local": {
"type": "Identifier",
"start": 415,
"end": 424,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 18
},
"identifierName": "ColorItem"
},
"name": "ColorItem"
}
}
],
"source": {
"type": "StringLiteral",
"start": 432,
"end": 453,
"loc": {
"start": {
"line": 7,
"column": 26
},
"end": {
"line": 7,
"column": 47
}
},
"extra": {
"rawValue": "../items/color_item",
"raw": "\"../items/color_item\""
},
"value": "../items/color_item"
}
},
{
"type": "ImportDeclaration",
"start": 456,
"end": 504,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 8,
"column": 48
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 465,
"end": 474,
"loc": {
"start": {
"line": 8,
"column": 9
},
"end": {
"line": 8,
"column": 18
}
},
"imported": {
"type": "Identifier",
"start": 465,
"end": 474,
"loc": {
"start": {
"line": 8,
"column": 9
},
"end": {
"line": 8,
"column": 18
},
"identifierName": "ShapeItem"
},
"name": "ShapeItem"
},
"local": {
"type": "Identifier",
"start": 465,
"end": 474,
"loc": {
"start": {
"line": 8,
"column": 9
},
"end": {
"line": 8,
"column": 18
},
"identifierName": "ShapeItem"
},
"name": "ShapeItem"
}
}
],
"source": {
"type": "StringLiteral",
"start": 482,
"end": 503,
"loc": {
"start": {
"line": 8,
"column": 26
},
"end": {
"line": 8,
"column": 47
}
},
"extra": {
"rawValue": "../items/shape_item",
"raw": "\"../items/shape_item\""
},
"value": "../items/shape_item"
}
},
{
"type": "ImportDeclaration",
"start": 506,
"end": 560,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"column": 54
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 515,
"end": 530,
"loc": {
"start": {
"line": 9,
"column": 9
},
"end": {
"line": 9,
"column": 24
}
},
"imported": {
"type": "Identifier",
"start": 515,
"end": 530,
"loc": {
"start": {
"line": 9,
"column": 9
},
"end": {
"line": 9,
"column": 24
},
"identifierName": "ShapeDefinition"
},
"name": "ShapeDefinition"
},
"local": {
"type": "Identifier",
"start": 515,
"end": 530,
"loc": {
"start": {
"line": 9,
"column": 9
},
"end": {
"line": 9,
"column": 24
},
"identifierName": "ShapeDefinition"
},
"name": "ShapeDefinition"
}
}
],
"source": {
"type": "StringLiteral",
"start": 538,
"end": 559,
"loc": {
"start": {
"line": 9,
"column": 32
},
"end": {
"line": 9,
"column": 53
}
},
"extra": {
"rawValue": "../shape_definition",
"raw": "\"../shape_definition\""
},
"value": "../shape_definition"
}
},
{
"type": "ExportNamedDeclaration",
"start": 564,
"end": 12888,
"loc": {
"start": {
"line": 11,
"column": 0
},
"end": {
"line": 371,
"column": 1
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "ClassDeclaration",
"start": 571,
"end": 12888,
"loc": {
"start": {
"line": 11,
"column": 7
},
"end": {
"line": 371,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 577,
"end": 592,
"loc": {
"start": {
"line": 11,
"column": 13
},
"end": {
"line": 11,
"column": 28
},
"identifierName": "LogicGateSystem"
},
"name": "LogicGateSystem"
},
"superClass": {
"type": "Identifier",
"start": 601,
"end": 621,
"loc": {
"start": {
"line": 11,
"column": 37
},
"end": {
"line": 11,
"column": 57
},
"identifierName": "GameSystemWithFilter"
},
"name": "GameSystemWithFilter"
},
"body": {
"type": "ClassBody",
"start": 622,
"end": 12888,
"loc": {
"start": {
"line": 11,
"column": 58
},
"end": {
"line": 371,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 629,
"end": 1610,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 30,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 629,
"end": 640,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 12,
"column": 15
},
"identifierName": "constructor"
},
"name": "constructor"
},
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 641,
"end": 645,
"loc": {
"start": {
"line": 12,
"column": 16
},
"end": {
"line": 12,
"column": 20
},
"identifierName": "root"
},
"name": "root"
}
],
"body": {
"type": "BlockStatement",
"start": 647,
"end": 1610,
"loc": {
"start": {
"line": 12,
"column": 22
},
"end": {
"line": 30,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 658,
"end": 692,
"loc": {
"start": {
"line": 13,
"column": 8
},
"end": {
"line": 13,
"column": 42
}
},
"expression": {
"type": "CallExpression",
"start": 658,
"end": 691,
"loc": {
"start": {
"line": 13,
"column": 8
},
"end": {
"line": 13,
"column": 41
}
},
"callee": {
"type": "Super",
"start": 658,
"end": 663,
"loc": {
"start": {
"line": 13,
"column": 8
},
"end": {
"line": 13,
"column": 13
}
}
},
"arguments": [
{
"type": "Identifier",
"start": 664,
"end": 668,
"loc": {
"start": {
"line": 13,
"column": 14
},
"end": {
"line": 13,
"column": 18
},
"identifierName": "root"
},
"name": "root"
},
{
"type": "ArrayExpression",
"start": 670,
"end": 690,
"loc": {
"start": {
"line": 13,
"column": 20
},
"end": {
"line": 13,
"column": 40
}
},
"elements": [
{
"type": "Identifier",
"start": 671,
"end": 689,
"loc": {
"start": {
"line": 13,
"column": 21
},
"end": {
"line": 13,
"column": 39
},
"identifierName": "LogicGateComponent"
},
"name": "LogicGateComponent"
}
]
}
]
}
},
{
"type": "ExpressionStatement",
"start": 704,
"end": 1603,
"loc": {
"start": {
"line": 15,
"column": 8
},
"end": {
"line": 29,
"column": 10
}
},
"expression": {
"type": "AssignmentExpression",
"start": 704,
"end": 1602,
"loc": {
"start": {
"line": 15,
"column": 8
},
"end": {
"line": 29,
"column": 9
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 704,
"end": 724,
"loc": {
"start": {
"line": 15,
"column": 8
},
"end": {
"line": 15,
"column": 28
}
},
"object": {
"type": "ThisExpression",
"start": 704,
"end": 708,
"loc": {
"start": {
"line": 15,
"column": 8
},
"end": {
"line": 15,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 709,
"end": 724,
"loc": {
"start": {
"line": 15,
"column": 13
},
"end": {
"line": 15,
"column": 28
},
"identifierName": "boundOperations"
},
"name": "boundOperations"
},
"computed": false
},
"right": {
"type": "ObjectExpression",
"start": 727,
"end": 1602,
"loc": {
"start": {
"line": 15,
"column": 31
},
"end": {
"line": 29,
"column": 9
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 742,
"end": 794,
"loc": {
"start": {
"line": 16,
"column": 12
},
"end": {
"line": 16,
"column": 64
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "MemberExpression",
"start": 743,
"end": 764,
"loc": {
"start": {
"line": 16,
"column": 13
},
"end": {
"line": 16,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 743,
"end": 760,
"loc": {
"start": {
"line": 16,
"column": 13
},
"end": {
"line": 16,
"column": 30
},
"identifierName": "enumLogicGateType"
},
"name": "enumLogicGateType"
},
"property": {
"type": "Identifier",
"start": 761,
"end": 764,
"loc": {
"start": {
"line": 16,
"column": 31
},
"end": {
"line": 16,
"column": 34
},
"identifierName": "and"
},
"name": "and"
},
"computed": false
},
"value": {
"type": "CallExpression",
"start": 767,
"end": 794,
"loc": {
"start": {
"line": 16,
"column": 37
},
"end": {
"line": 16,
"column": 64
}
},
"callee": {
"type": "MemberExpression",
"start": 767,
"end": 788,
"loc": {
"start": {
"line": 16,
"column": 37
},
"end": {
"line": 16,
"column": 58
}
},
"object": {
"type": "MemberExpression",
"start": 767,
"end": 783,
"loc": {
"start": {
"line": 16,
"column": 37
},
"end": {
"line": 16,
"column": 53
}
},
"object": {
"type": "ThisExpression",
"start": 767,
"end": 771,
"loc": {
"start": {
"line": 16,
"column": 37
},
"end": {
"line": 16,
"column": 41
}
}
},
"property": {
"type": "Identifier",
"start": 772,
"end": 783,
"loc": {
"start": {
"line": 16,
"column": 42
},
"end": {
"line": 16,
"column": 53
},
"identifierName": "compute_AND"
},
"name": "compute_AND"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 784,
"end": 788,
"loc": {
"start": {
"line": 16,
"column": 54
},
"end": {
"line": 16,
"column": 58
},
"identifierName": "bind"
},
"name": "bind"
},
"computed": false
},
"arguments": [
{
"type": "ThisExpression",
"start": 789,
"end": 793,
"loc": {
"start": {
"line": 16,
"column": 59
},
"end": {
"line": 16,
"column": 63
}
}
}
]
}
},
{
"type": "ObjectProperty",
"start": 809,
"end": 861,
"loc": {
"start": {
"line": 17,
"column": 12
},
"end": {
"line": 17,
"column": 64
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "MemberExpression",
"start": 810,
"end": 831,
"loc": {
"start": {
"line": 17,
"column": 13
},
"end": {
"line": 17,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 810,
"end": 827,
"loc": {
"start": {
"line": 17,
"column": 13
},
"end": {
"line": 17,
"column": 30
},
"identifierName": "enumLogicGateType"
},
"name": "enumLogicGateType"
},
"property": {
"type": "Identifier",
"start": 828,
"end": 831,
"loc": {
"start": {
"line": 17,
"column": 31
},
"end": {
"line": 17,
"column": 34
},
"identifierName": "not"
},
"name": "not"
},
"computed": false
},
"value": {
"type": "CallExpression",
"start": 834,
"end": 861,
"loc": {
"start": {
"line": 17,
"column": 37
},
"end": {
"line": 17,
"column": 64
}
},
"callee": {
"type": "MemberExpression",
"start": 834,
"end": 855,
"loc": {
"start": {
"line": 17,
"column": 37
},
"end": {
"line": 17,
"column": 58
}
},
"object": {
"type": "MemberExpression",
"start": 834,
"end": 850,
"loc": {
"start": {
"line": 17,
"column": 37
},
"end": {
"line": 17,
"column": 53
}
},
"object": {
"type": "ThisExpression",
"start": 834,
"end": 838,
"loc": {
"start": {
"line": 17,
"column": 37
},
"end": {
"line": 17,
"column": 41
}
}
},
"property": {
"type": "Identifier",
"start": 839,
"end": 850,
"loc": {
"start": {
"line": 17,
"column": 42
},
"end": {
"line": 17,
"column": 53
},
"identifierName": "compute_NOT"
},
"name": "compute_NOT"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 851,
"end": 855,
"loc": {
"start": {
"line": 17,
"column": 54
},
"end": {
"line": 17,
"column": 58
},
"identifierName": "bind"
},
"name": "bind"
},
"computed": false
},
"arguments": [
{
"type": "ThisExpression",
"start": 856,
"end": 860,
"loc": {
"start": {
"line": 17,
"column": 59
},
"end": {
"line": 17,
"column": 63
}
}
}
]
}
},
{
"type": "ObjectProperty",
"start": 876,
"end": 928,
"loc": {
"start": {
"line": 18,
"column": 12
},
"end": {
"line": 18,
"column": 64
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "MemberExpression",
"start": 877,
"end": 898,
"loc": {
"start": {
"line": 18,
"column": 13
},
"end": {
"line": 18,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 877,
"end": 894,
"loc": {
"start": {
"line": 18,
"column": 13
},
"end": {
"line": 18,
"column": 30
},
"identifierName": "enumLogicGateType"
},
"name": "enumLogicGateType"
},
"property": {
"type": "Identifier",
"start": 895,
"end": 898,
"loc": {
"start": {
"line": 18,
"column": 31
},
"end": {
"line": 18,
"column": 34
},
"identifierName": "xor"
},
"name": "xor"
},
"computed": false
},
"value": {
"type": "CallExpression",
"start": 901,
"end": 928,
"loc": {
"start": {
"line": 18,
"column": 37
},
"end": {
"line": 18,
"column": 64
}
},
"callee": {
"type": "MemberExpression",
"start": 901,
"end": 922,
"loc": {
"start": {
"line": 18,
"column": 37
},
"end": {
"line": 18,
"column": 58
}
},
"object": {
"type": "MemberExpression",
"start": 901,
"end": 917,
"loc": {
"start": {
"line": 18,
"column": 37
},
"end": {
"line": 18,
"column": 53
}
},
"object": {
"type": "ThisExpression",
"start": 901,
"end": 905,
"loc": {
"start": {
"line": 18,
"column": 37
},
"end": {
"line": 18,
"column": 41
}
}
},
"property": {
"type": "Identifier",
"start": 906,
"end": 917,
"loc": {
"start": {
"line": 18,
"column": 42
},
"end": {
"line": 18,
"column": 53
},
"identifierName": "compute_XOR"
},
"name": "compute_XOR"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 918,
"end": 922,
"loc": {
"start": {
"line": 18,
"column": 54
},
"end": {
"line": 18,
"column": 58
},
"identifierName": "bind"
},
"name": "bind"
},
"computed": false
},
"arguments": [
{
"type": "ThisExpression",
"start": 923,
"end": 927,
"loc": {
"start": {
"line": 18,
"column": 59
},
"end": {
"line": 18,
"column": 63
}
}
}
]
}
},
{
"type": "ObjectProperty",
"start": 943,
"end": 993,
"loc": {
"start": {
"line": 19,
"column": 12
},
"end": {
"line": 19,
"column": 62
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "MemberExpression",
"start": 944,
"end": 964,
"loc": {
"start": {
"line": 19,
"column": 13
},
"end": {
"line": 19,
"column": 33
}
},
"object": {
"type": "Identifier",
"start": 944,
"end": 961,
"loc": {
"start": {
"line": 19,
"column": 13
},
"end": {
"line": 19,
"column": 30
},
"identifierName": "enumLogicGateType"
},
"name": "enumLogicGateType"
},
"property": {
"type": "Identifier",
"start": 962,
"end": 964,
"loc": {
"start": {
"line": 19,
"column": 31
},
"end": {
"line": 19,
"column": 33
},
"identifierName": "or"
},
"name": "or"
},
"computed": false
},
"value": {
"type": "CallExpression",
"start": 967,
"end": 993,
"loc": {
"start": {
"line": 19,
"column": 36
},
"end": {
"line": 19,
"column": 62
}
},
"callee": {
"type": "MemberExpression",
"start": 967,
"end": 987,
"loc": {
"start": {
"line": 19,
"column": 36
},
"end": {
"line": 19,
"column": 56
}
},
"object": {
"type": "MemberExpression",
"start": 967,
"end": 982,
"loc": {
"start": {
"line": 19,
"column": 36
},
"end": {
"line": 19,
"column": 51
}
},
"object": {
"type": "ThisExpression",
"start": 967,
"end": 971,
"loc": {
"start": {
"line": 19,
"column": 36
},
"end": {
"line": 19,
"column": 40
}
}
},
"property": {
"type": "Identifier",
"start": 972,
"end": 982,
"loc": {
"start": {
"line": 19,
"column": 41
},
"end": {
"line": 19,
"column": 51
},
"identifierName": "compute_OR"
},
"name": "compute_OR"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 983,
"end": 987,
"loc": {
"start": {
"line": 19,
"column": 52
},
"end": {
"line": 19,
"column": 56
},
"identifierName": "bind"
},
"name": "bind"
},
"computed": false
},
"arguments": [
{
"type": "ThisExpression",
"start": 988,
"end": 992,
"loc": {
"start": {
"line": 19,
"column": 57
},
"end": {
"line": 19,
"column": 61
}
}
}
]
}
},
{
"type": "ObjectProperty",
"start": 1008,
"end": 1066,
"loc": {
"start": {
"line": 20,
"column": 12
},
"end": {
"line": 20,
"column": 70
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "MemberExpression",
"start": 1009,
"end": 1037,
"loc": {
"start": {
"line": 20,
"column": 13
},
"end": {
"line": 20,
"column": 41
}
},
"object": {
"type": "Identifier",
"start": 1009,
"end": 1026,
"loc": {
"start": {
"line": 20,
"column": 13
},
"end": {
"line": 20,
"column": 30
},
"identifierName": "enumLogicGateType"
},
"name": "enumLogicGateType"
},
"property": {
"type": "Identifier",
"start": 1027,
"end": 1037,
"loc": {
"start": {
"line": 20,
"column": 31
},
"end": {
"line": 20,
"column": 41
},
"identifierName": "transistor"
},
"name": "transistor"
},
"computed": false
},
"value": {
"type": "CallExpression",
"start": 1040,
"end": 1066,
"loc": {
"start": {
"line": 20,
"column": 44
},
"end": {
"line": 20,
"column": 70
}
},
"callee": {
"type": "MemberExpression",
"start": 1040,
"end": 1060,
"loc": {
"start": {
"line": 20,
"column": 44
},
"end": {
"line": 20,
"column": 64
}
},
"object": {
"type": "MemberExpression",
"start": 1040,
"end": 1055,
"loc": {
"start": {
"line": 20,
"column": 44
},
"end": {
"line": 20,
"column": 59
}
},
"object": {
"type": "ThisExpression",
"start": 1040,
"end": 1044,
"loc": {
"start": {
"line": 20,
"column": 44
},
"end": {
"line": 20,
"column": 48
}
}
},
"property": {
"type": "Identifier",
"start": 1045,
"end": 1055,
"loc": {
"start": {
"line": 20,
"column": 49
},
"end": {
"line": 20,
"column": 59
},
"identifierName": "compute_IF"
},
"name": "compute_IF"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1056,
"end": 1060,
"loc": {
"start": {
"line": 20,
"column": 60
},
"end": {
"line": 20,
"column": 64
},
"identifierName": "bind"
},
"name": "bind"
},
"computed": false
},
"arguments": [
{
"type": "ThisExpression",
"start": 1061,
"end": 1065,
"loc": {
"start": {
"line": 20,
"column": 65
},
"end": {
"line": 20,
"column": 69
}
}
}
]
}
},
{
"type": "ObjectProperty",
"start": 1083,
"end": 1142,
"loc": {
"start": {
"line": 22,
"column": 12
},
"end": {
"line": 22,
"column": 71
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "MemberExpression",
"start": 1084,
"end": 1109,
"loc": {
"start": {
"line": 22,
"column": 13
},
"end": {
"line": 22,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 1084,
"end": 1101,
"loc": {
"start": {
"line": 22,
"column": 13
},
"end": {
"line": 22,
"column": 30
},
"identifierName": "enumLogicGateType"
},
"name": "enumLogicGateType"
},
"property": {
"type": "Identifier",
"start": 1102,
"end": 1109,
"loc": {
"start": {
"line": 22,
"column": 31
},
"end": {
"line": 22,
"column": 38
},
"identifierName": "rotater"
},
"name": "rotater"
},
"computed": false
},
"value": {
"type": "CallExpression",
"start": 1112,
"end": 1142,
"loc": {
"start": {
"line": 22,
"column": 41
},
"end": {
"line": 22,
"column": 71
}
},
"callee": {
"type": "MemberExpression",
"start": 1112,
"end": 1136,
"loc": {
"start": {
"line": 22,
"column": 41
},
"end": {
"line": 22,
"column": 65
}
},
"object": {
"type": "MemberExpression",
"start": 1112,
"end": 1131,
"loc": {
"start": {
"line": 22,
"column": 41
},
"end": {
"line": 22,
"column": 60
}
},
"object": {
"type": "ThisExpression",
"start": 1112,
"end": 1116,
"loc": {
"start": {
"line": 22,
"column": 41
},
"end": {
"line": 22,
"column": 45
}
}
},
"property": {
"type": "Identifier",
"start": 1117,
"end": 1131,
"loc": {
"start": {
"line": 22,
"column": 46
},
"end": {
"line": 22,
"column": 60
},
"identifierName": "compute_ROTATE"
},
"name": "compute_ROTATE"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1132,
"end": 1136,
"loc": {
"start": {
"line": 22,
"column": 61
},
"end": {
"line": 22,
"column": 65
},
"identifierName": "bind"
},
"name": "bind"
},
"computed": false
},
"arguments": [
{
"type": "ThisExpression",
"start": 1137,
"end": 1141,
"loc": {
"start": {
"line": 22,
"column": 66
},
"end": {
"line": 22,
"column": 70
}
}
}
]
}
},
{
"type": "ObjectProperty",
"start": 1157,
"end": 1218,
"loc": {
"start": {
"line": 23,
"column": 12
},
"end": {
"line": 23,
"column": 73
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "MemberExpression",
"start": 1158,
"end": 1184,
"loc": {
"start": {
"line": 23,
"column": 13
},
"end": {
"line": 23,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 1158,
"end": 1175,
"loc": {
"start": {
"line": 23,
"column": 13
},
"end": {
"line": 23,
"column": 30
},
"identifierName": "enumLogicGateType"
},
"name": "enumLogicGateType"
},
"property": {
"type": "Identifier",
"start": 1176,
"end": 1184,
"loc": {
"start": {
"line": 23,
"column": 31
},
"end": {
"line": 23,
"column": 39
},
"identifierName": "analyzer"
},
"name": "analyzer"
},
"computed": false
},
"value": {
"type": "CallExpression",
"start": 1187,
"end": 1218,
"loc": {
"start": {
"line": 23,
"column": 42
},
"end": {
"line": 23,
"column": 73
}
},
"callee": {
"type": "MemberExpression",
"start": 1187,
"end": 1212,
"loc": {
"start": {
"line": 23,
"column": 42
},
"end": {
"line": 23,
"column": 67
}
},
"object": {
"type": "MemberExpression",
"start": 1187,
"end": 1207,
"loc": {
"start": {
"line": 23,
"column": 42
},
"end": {
"line": 23,
"column": 62
}
},
"object": {
"type": "ThisExpression",
"start": 1187,
"end": 1191,
"loc": {
"start": {
"line": 23,
"column": 42
},
"end": {
"line": 23,
"column": 46
}
}
},
"property": {
"type": "Identifier",
"start": 1192,
"end": 1207,
"loc": {
"start": {
"line": 23,
"column": 47
},
"end": {
"line": 23,
"column": 62
},
"identifierName": "compute_ANALYZE"
},
"name": "compute_ANALYZE"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1208,
"end": 1212,
"loc": {
"start": {
"line": 23,
"column": 63
},
"end": {
"line": 23,
"column": 67
},
"identifierName": "bind"
},
"name": "bind"
},
"computed": false
},
"arguments": [
{
"type": "ThisExpression",
"start": 1213,
"end": 1217,
"loc": {
"start": {
"line": 23,
"column": 68
},
"end": {
"line": 23,
"column": 72
}
}
}
]
}
},
{
"type": "ObjectProperty",
"start": 1233,
"end": 1288,
"loc": {
"start": {
"line": 24,
"column": 12
},
"end": {
"line": 24,
"column": 67
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "MemberExpression",
"start": 1234,
"end": 1258,
"loc": {
"start": {
"line": 24,
"column": 13
},
"end": {
"line": 24,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 1234,
"end": 1251,
"loc": {
"start": {
"line": 24,
"column": 13
},
"end": {
"line": 24,
"column": 30
},
"identifierName": "enumLogicGateType"
},
"name": "enumLogicGateType"
},
"property": {
"type": "Identifier",
"start": 1252,
"end": 1258,
"loc": {
"start": {
"line": 24,
"column": 31
},
"end": {
"line": 24,
"column": 37
},
"identifierName": "cutter"
},
"name": "cutter"
},
"computed": false
},
"value": {
"type": "CallExpression",
"start": 1261,
"end": 1288,
"loc": {
"start": {
"line": 24,
"column": 40
},
"end": {
"line": 24,
"column": 67
}
},
"callee": {
"type": "MemberExpression",
"start": 1261,
"end": 1282,
"loc": {
"start": {
"line": 24,
"column": 40
},
"end": {
"line": 24,
"column": 61
}
},
"object": {
"type": "MemberExpression",
"start": 1261,
"end": 1277,
"loc": {
"start": {
"line": 24,
"column": 40
},
"end": {
"line": 24,
"column": 56
}
},
"object": {
"type": "ThisExpression",
"start": 1261,
"end": 1265,
"loc": {
"start": {
"line": 24,
"column": 40
},
"end": {
"line": 24,
"column": 44
}
}
},
"property": {
"type": "Identifier",
"start": 1266,
"end": 1277,
"loc": {
"start": {
"line": 24,
"column": 45
},
"end": {
"line": 24,
"column": 56
},
"identifierName": "compute_CUT"
},
"name": "compute_CUT"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1278,
"end": 1282,
"loc": {
"start": {
"line": 24,
"column": 57
},
"end": {
"line": 24,
"column": 61
},
"identifierName": "bind"
},
"name": "bind"
},
"computed": false
},
"arguments": [
{
"type": "ThisExpression",
"start": 1283,
"end": 1287,
"loc": {
"start": {
"line": 24,
"column": 62
},
"end": {
"line": 24,
"column": 66
}
}
}
]
}
},
{
"type": "ObjectProperty",
"start": 1303,
"end": 1365,
"loc": {
"start": {
"line": 25,
"column": 12
},
"end": {
"line": 25,
"column": 74
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "MemberExpression",
"start": 1304,
"end": 1331,
"loc": {
"start": {
"line": 25,
"column": 13
},
"end": {
"line": 25,
"column": 40
}
},
"object": {
"type": "Identifier",
"start": 1304,
"end": 1321,
"loc": {
"start": {
"line": 25,
"column": 13
},
"end": {
"line": 25,
"column": 30
},
"identifierName": "enumLogicGateType"
},
"name": "enumLogicGateType"
},
"property": {
"type": "Identifier",
"start": 1322,
"end": 1331,
"loc": {
"start": {
"line": 25,
"column": 31
},
"end": {
"line": 25,
"column": 40
},
"identifierName": "unstacker"
},
"name": "unstacker"
},
"computed": false
},
"value": {
"type": "CallExpression",
"start": 1334,
"end": 1365,
"loc": {
"start": {
"line": 25,
"column": 43
},
"end": {
"line": 25,
"column": 74
}
},
"callee": {
"type": "MemberExpression",
"start": 1334,
"end": 1359,
"loc": {
"start": {
"line": 25,
"column": 43
},
"end": {
"line": 25,
"column": 68
}
},
"object": {
"type": "MemberExpression",
"start": 1334,
"end": 1354,
"loc": {
"start": {
"line": 25,
"column": 43
},
"end": {
"line": 25,
"column": 63
}
},
"object": {
"type": "ThisExpression",
"start": 1334,
"end": 1338,
"loc": {
"start": {
"line": 25,
"column": 43
},
"end": {
"line": 25,
"column": 47
}
}
},
"property": {
"type": "Identifier",
"start": 1339,
"end": 1354,
"loc": {
"start": {
"line": 25,
"column": 48
},
"end": {
"line": 25,
"column": 63
},
"identifierName": "compute_UNSTACK"
},
"name": "compute_UNSTACK"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1355,
"end": 1359,
"loc": {
"start": {
"line": 25,
"column": 64
},
"end": {
"line": 25,
"column": 68
},
"identifierName": "bind"
},
"name": "bind"
},
"computed": false
},
"arguments": [
{
"type": "ThisExpression",
"start": 1360,
"end": 1364,
"loc": {
"start": {
"line": 25,
"column": 69
},
"end": {
"line": 25,
"column": 73
}
}
}
]
}
},
{
"type": "ObjectProperty",
"start": 1380,
"end": 1440,
"loc": {
"start": {
"line": 26,
"column": 12
},
"end": {
"line": 26,
"column": 72
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "MemberExpression",
"start": 1381,
"end": 1406,
"loc": {
"start": {
"line": 26,
"column": 13
},
"end": {
"line": 26,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 1381,
"end": 1398,
"loc": {
"start": {
"line": 26,
"column": 13
},
"end": {
"line": 26,
"column": 30
},
"identifierName": "enumLogicGateType"
},
"name": "enumLogicGateType"
},
"property": {
"type": "Identifier",
"start": 1399,
"end": 1406,
"loc": {
"start": {
"line": 26,
"column": 31
},
"end": {
"line": 26,
"column": 38
},
"identifierName": "compare"
},
"name": "compare"
},
"computed": false
},
"value": {
"type": "CallExpression",
"start": 1409,
"end": 1440,
"loc": {
"start": {
"line": 26,
"column": 41
},
"end": {
"line": 26,
"column": 72
}
},
"callee": {
"type": "MemberExpression",
"start": 1409,
"end": 1434,
"loc": {
"start": {
"line": 26,
"column": 41
},
"end": {
"line": 26,
"column": 66
}
},
"object": {
"type": "MemberExpression",
"start": 1409,
"end": 1429,
"loc": {
"start": {
"line": 26,
"column": 41
},
"end": {
"line": 26,
"column": 61
}
},
"object": {
"type": "ThisExpression",
"start": 1409,
"end": 1413,
"loc": {
"start": {
"line": 26,
"column": 41
},
"end": {
"line": 26,
"column": 45
}
}
},
"property": {
"type": "Identifier",
"start": 1414,
"end": 1429,
"loc": {
"start": {
"line": 26,
"column": 46
},
"end": {
"line": 26,
"column": 61
},
"identifierName": "compute_COMPARE"
},
"name": "compute_COMPARE"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1430,
"end": 1434,
"loc": {
"start": {
"line": 26,
"column": 62
},
"end": {
"line": 26,
"column": 66
},
"identifierName": "bind"
},
"name": "bind"
},
"computed": false
},
"arguments": [
{
"type": "ThisExpression",
"start": 1435,
"end": 1439,
"loc": {
"start": {
"line": 26,
"column": 67
},
"end": {
"line": 26,
"column": 71
}
}
}
]
}
},
{
"type": "ObjectProperty",
"start": 1455,
"end": 1515,
"loc": {
"start": {
"line": 27,
"column": 12
},
"end": {
"line": 27,
"column": 72
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "MemberExpression",
"start": 1456,
"end": 1481,
"loc": {
"start": {
"line": 27,
"column": 13
},
"end": {
"line": 27,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 1456,
"end": 1473,
"loc": {
"start": {
"line": 27,
"column": 13
},
"end": {
"line": 27,
"column": 30
},
"identifierName": "enumLogicGateType"
},
"name": "enumLogicGateType"
},
"property": {
"type": "Identifier",
"start": 1474,
"end": 1481,
"loc": {
"start": {
"line": 27,
"column": 31
},
"end": {
"line": 27,
"column": 38
},
"identifierName": "stacker"
},
"name": "stacker"
},
"computed": false
},
"value": {
"type": "CallExpression",
"start": 1484,
"end": 1515,
"loc": {
"start": {
"line": 27,
"column": 41
},
"end": {
"line": 27,
"column": 72
}
},
"callee": {
"type": "MemberExpression",
"start": 1484,
"end": 1509,
"loc": {
"start": {
"line": 27,
"column": 41
},
"end": {
"line": 27,
"column": 66
}
},
"object": {
"type": "MemberExpression",
"start": 1484,
"end": 1504,
"loc": {
"start": {
"line": 27,
"column": 41
},
"end": {
"line": 27,
"column": 61
}
},
"object": {
"type": "ThisExpression",
"start": 1484,
"end": 1488,
"loc": {
"start": {
"line": 27,
"column": 41
},
"end": {
"line": 27,
"column": 45
}
}
},
"property": {
"type": "Identifier",
"start": 1489,
"end": 1504,
"loc": {
"start": {
"line": 27,
"column": 46
},
"end": {
"line": 27,
"column": 61
},
"identifierName": "compute_STACKER"
},
"name": "compute_STACKER"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1505,
"end": 1509,
"loc": {
"start": {
"line": 27,
"column": 62
},
"end": {
"line": 27,
"column": 66
},
"identifierName": "bind"
},
"name": "bind"
},
"computed": false
},
"arguments": [
{
"type": "ThisExpression",
"start": 1510,
"end": 1514,
"loc": {
"start": {
"line": 27,
"column": 67
},
"end": {
"line": 27,
"column": 71
}
}
}
]
}
},
{
"type": "ObjectProperty",
"start": 1530,
"end": 1590,
"loc": {
"start": {
"line": 28,
"column": 12
},
"end": {
"line": 28,
"column": 72
}
},
"method": false,
"shorthand": false,
"computed": true,
"key": {
"type": "MemberExpression",
"start": 1531,
"end": 1556,
"loc": {
"start": {
"line": 28,
"column": 13
},
"end": {
"line": 28,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 1531,
"end": 1548,
"loc": {
"start": {
"line": 28,
"column": 13
},
"end": {
"line": 28,
"column": 30
},
"identifierName": "enumLogicGateType"
},
"name": "enumLogicGateType"
},
"property": {
"type": "Identifier",
"start": 1549,
"end": 1556,
"loc": {
"start": {
"line": 28,
"column": 31
},
"end": {
"line": 28,
"column": 38
},
"identifierName": "painter"
},
"name": "painter"
},
"computed": false
},
"value": {
"type": "CallExpression",
"start": 1559,
"end": 1590,
"loc": {
"start": {
"line": 28,
"column": 41
},
"end": {
"line": 28,
"column": 72
}
},
"callee": {
"type": "MemberExpression",
"start": 1559,
"end": 1584,
"loc": {
"start": {
"line": 28,
"column": 41
},
"end": {
"line": 28,
"column": 66
}
},
"object": {
"type": "MemberExpression",
"start": 1559,
"end": 1579,
"loc": {
"start": {
"line": 28,
"column": 41
},
"end": {
"line": 28,
"column": 61
}
},
"object": {
"type": "ThisExpression",
"start": 1559,
"end": 1563,
"loc": {
"start": {
"line": 28,
"column": 41
},
"end": {
"line": 28,
"column": 45
}
}
},
"property": {
"type": "Identifier",
"start": 1564,
"end": 1579,
"loc": {
"start": {
"line": 28,
"column": 46
},
"end": {
"line": 28,
"column": 61
},
"identifierName": "compute_PAINTER"
},
"name": "compute_PAINTER"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1580,
"end": 1584,
"loc": {
"start": {
"line": 28,
"column": 62
},
"end": {
"line": 28,
"column": 66
},
"identifierName": "bind"
},
"name": "bind"
},
"computed": false
},
"arguments": [
{
"type": "ThisExpression",
"start": 1585,
"end": 1589,
"loc": {
"start": {
"line": 28,
"column": 67
},
"end": {
"line": 28,
"column": 71
}
}
}
]
}
}
]
}
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 1618,
"end": 1670,
"loc": {
"start": {
"line": 32,
"column": 4
},
"end": {
"line": 34,
"column": 5
}
},
"static": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 1625,
"end": 1630,
"loc": {
"start": {
"line": 32,
"column": 11
},
"end": {
"line": 32,
"column": 16
},
"identifierName": "getId"
},
"name": "getId"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1633,
"end": 1670,
"loc": {
"start": {
"line": 32,
"column": 19
},
"end": {
"line": 34,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1644,
"end": 1663,
"loc": {
"start": {
"line": 33,
"column": 8
},
"end": {
"line": 33,
"column": 27
}
},
"argument": {
"type": "StringLiteral",
"start": 1651,
"end": 1662,
"loc": {
"start": {
"line": 33,
"column": 15
},
"end": {
"line": 33,
"column": 26
}
},
"extra": {
"rawValue": "logicGate",
"raw": "\"logicGate\""
},
"value": "logicGate"
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 1678,
"end": 4173,
"loc": {
"start": {
"line": 36,
"column": 4
},
"end": {
"line": 99,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1678,
"end": 1684,
"loc": {
"start": {
"line": 36,
"column": 4
},
"end": {
"line": 36,
"column": 10
},
"identifierName": "update"
},
"name": "update"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1687,
"end": 4173,
"loc": {
"start": {
"line": 36,
"column": 13
},
"end": {
"line": 99,
"column": 5
}
},
"body": [
{
"type": "ForStatement",
"start": 1698,
"end": 4166,
"loc": {
"start": {
"line": 37,
"column": 8
},
"end": {
"line": 98,
"column": 9
}
},
"init": {
"type": "VariableDeclaration",
"start": 1703,
"end": 1712,
"loc": {
"start": {
"line": 37,
"column": 13
},
"end": {
"line": 37,
"column": 22
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1707,
"end": 1712,
"loc": {
"start": {
"line": 37,
"column": 17
},
"end": {
"line": 37,
"column": 22
}
},
"id": {
"type": "Identifier",
"start": 1707,
"end": 1708,
"loc": {
"start": {
"line": 37,
"column": 17
},
"end": {
"line": 37,
"column": 18
},
"identifierName": "i"
},
"name": "i"
},
"init": {
"type": "NumericLiteral",
"start": 1711,
"end": 1712,
"loc": {
"start": {
"line": 37,
"column": 21
},
"end": {
"line": 37,
"column": 22
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
],
"kind": "let"
},
"test": {
"type": "BinaryExpression",
"start": 1714,
"end": 1741,
"loc": {
"start": {
"line": 37,
"column": 24
},
"end": {
"line": 37,
"column": 51
}
},
"left": {
"type": "Identifier",
"start": 1714,
"end": 1715,
"loc": {
"start": {
"line": 37,
"column": 24
},
"end": {
"line": 37,
"column": 25
},
"identifierName": "i"
},
"name": "i"
},
"operator": "<",
"right": {
"type": "MemberExpression",
"start": 1718,
"end": 1741,
"loc": {
"start": {
"line": 37,
"column": 28
},
"end": {
"line": 37,
"column": 51
}
},
"object": {
"type": "MemberExpression",
"start": 1718,
"end": 1734,
"loc": {
"start": {
"line": 37,
"column": 28
},
"end": {
"line": 37,
"column": 44
}
},
"object": {
"type": "ThisExpression",
"start": 1718,
"end": 1722,
"loc": {
"start": {
"line": 37,
"column": 28
},
"end": {
"line": 37,
"column": 32
}
}
},
"property": {
"type": "Identifier",
"start": 1723,
"end": 1734,
"loc": {
"start": {
"line": 37,
"column": 33
},
"end": {
"line": 37,
"column": 44
},
"identifierName": "allEntities"
},
"name": "allEntities"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1735,
"end": 1741,
"loc": {
"start": {
"line": 37,
"column": 45
},
"end": {
"line": 37,
"column": 51
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
}
},
"update": {
"type": "UpdateExpression",
"start": 1743,
"end": 1746,
"loc": {
"start": {
"line": 37,
"column": 53
},
"end": {
"line": 37,
"column": 56
}
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 1745,
"end": 1746,
"loc": {
"start": {
"line": 37,
"column": 55
},
"end": {
"line": 37,
"column": 56
},
"identifierName": "i"
},
"name": "i"
},
"extra": {
"parenthesizedArgument": false
}
},
"body": {
"type": "BlockStatement",
"start": 1748,
"end": 4166,
"loc": {
"start": {
"line": 37,
"column": 58
},
"end": {
"line": 98,
"column": 9
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 1763,
"end": 1798,
"loc": {
"start": {
"line": 38,
"column": 12
},
"end": {
"line": 38,
"column": 47
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1769,
"end": 1797,
"loc": {
"start": {
"line": 38,
"column": 18
},
"end": {
"line": 38,
"column": 46
}
},
"id": {
"type": "Identifier",
"start": 1769,
"end": 1775,
"loc": {
"start": {
"line": 38,
"column": 18
},
"end": {
"line": 38,
"column": 24
},
"identifierName": "entity"
},
"name": "entity"
},
"init": {
"type": "MemberExpression",
"start": 1778,
"end": 1797,
"loc": {
"start": {
"line": 38,
"column": 27
},
"end": {
"line": 38,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 1778,
"end": 1794,
"loc": {
"start": {
"line": 38,
"column": 27
},
"end": {
"line": 38,
"column": 43
}
},
"object": {
"type": "ThisExpression",
"start": 1778,
"end": 1782,
"loc": {
"start": {
"line": 38,
"column": 27
},
"end": {
"line": 38,
"column": 31
}
}
},
"property": {
"type": "Identifier",
"start": 1783,
"end": 1794,
"loc": {
"start": {
"line": 38,
"column": 32
},
"end": {
"line": 38,
"column": 43
},
"identifierName": "allEntities"
},
"name": "allEntities"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1795,
"end": 1796,
"loc": {
"start": {
"line": 38,
"column": 44
},
"end": {
"line": 38,
"column": 45
},
"identifierName": "i"
},
"name": "i"
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 1812,
"end": 1858,
"loc": {
"start": {
"line": 39,
"column": 12
},
"end": {
"line": 39,
"column": 58
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1818,
"end": 1857,
"loc": {
"start": {
"line": 39,
"column": 18
},
"end": {
"line": 39,
"column": 57
}
},
"id": {
"type": "Identifier",
"start": 1818,
"end": 1827,
"loc": {
"start": {
"line": 39,
"column": 18
},
"end": {
"line": 39,
"column": 27
},
"identifierName": "logicComp"
},
"name": "logicComp"
},
"init": {
"type": "MemberExpression",
"start": 1830,
"end": 1857,
"loc": {
"start": {
"line": 39,
"column": 30
},
"end": {
"line": 39,
"column": 57
}
},
"object": {
"type": "MemberExpression",
"start": 1830,
"end": 1847,
"loc": {
"start": {
"line": 39,
"column": 30
},
"end": {
"line": 39,
"column": 47
}
},
"object": {
"type": "Identifier",
"start": 1830,
"end": 1836,
"loc": {
"start": {
"line": 39,
"column": 30
},
"end": {
"line": 39,
"column": 36
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 1837,
"end": 1847,
"loc": {
"start": {
"line": 39,
"column": 37
},
"end": {
"line": 39,
"column": 47
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1848,
"end": 1857,
"loc": {
"start": {
"line": 39,
"column": 48
},
"end": {
"line": 39,
"column": 57
},
"identifierName": "LogicGate"
},
"name": "LogicGate"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 1872,
"end": 1917,
"loc": {
"start": {
"line": 40,
"column": 12
},
"end": {
"line": 40,
"column": 57
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1878,
"end": 1916,
"loc": {
"start": {
"line": 40,
"column": 18
},
"end": {
"line": 40,
"column": 56
}
},
"id": {
"type": "Identifier",
"start": 1878,
"end": 1886,
"loc": {
"start": {
"line": 40,
"column": 18
},
"end": {
"line": 40,
"column": 26
},
"identifierName": "slotComp"
},
"name": "slotComp"
},
"init": {
"type": "MemberExpression",
"start": 1889,
"end": 1916,
"loc": {
"start": {
"line": 40,
"column": 29
},
"end": {
"line": 40,
"column": 56
}
},
"object": {
"type": "MemberExpression",
"start": 1889,
"end": 1906,
"loc": {
"start": {
"line": 40,
"column": 29
},
"end": {
"line": 40,
"column": 46
}
},
"object": {
"type": "Identifier",
"start": 1889,
"end": 1895,
"loc": {
"start": {
"line": 40,
"column": 29
},
"end": {
"line": 40,
"column": 35
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 1896,
"end": 1906,
"loc": {
"start": {
"line": 40,
"column": 36
},
"end": {
"line": 40,
"column": 46
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1907,
"end": 1916,
"loc": {
"start": {
"line": 40,
"column": 47
},
"end": {
"line": 40,
"column": 56
},
"identifierName": "WiredPins"
},
"name": "WiredPins"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 1933,
"end": 1955,
"loc": {
"start": {
"line": 42,
"column": 12
},
"end": {
"line": 42,
"column": 34
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1939,
"end": 1954,
"loc": {
"start": {
"line": 42,
"column": 18
},
"end": {
"line": 42,
"column": 33
}
},
"id": {
"type": "Identifier",
"start": 1939,
"end": 1949,
"loc": {
"start": {
"line": 42,
"column": 18
},
"end": {
"line": 42,
"column": 28
},
"identifierName": "slotValues"
},
"name": "slotValues"
},
"init": {
"type": "ArrayExpression",
"start": 1952,
"end": 1954,
"loc": {
"start": {
"line": 42,
"column": 31
},
"end": {
"line": 42,
"column": 33
}
},
"elements": []
}
}
],
"kind": "const",
"trailingComments": [
{
"type": "CommentLine",
"value": " Store if any conflict was found",
"start": 1971,
"end": 2005,
"loc": {
"start": {
"line": 44,
"column": 12
},
"end": {
"line": 44,
"column": 46
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 2019,
"end": 2043,
"loc": {
"start": {
"line": 45,
"column": 12
},
"end": {
"line": 45,
"column": 36
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2023,
"end": 2042,
"loc": {
"start": {
"line": 45,
"column": 16
},
"end": {
"line": 45,
"column": 35
}
},
"id": {
"type": "Identifier",
"start": 2023,
"end": 2034,
"loc": {
"start": {
"line": 45,
"column": 16
},
"end": {
"line": 45,
"column": 27
},
"identifierName": "anyConflict"
},
"name": "anyConflict",
"leadingComments": null
},
"init": {
"type": "BooleanLiteral",
"start": 2037,
"end": 2042,
"loc": {
"start": {
"line": 45,
"column": 30
},
"end": {
"line": 45,
"column": 35
}
},
"value": false
},
"leadingComments": null
}
],
"kind": "let",
"leadingComments": [
{
"type": "CommentLine",
"value": " Store if any conflict was found",
"start": 1971,
"end": 2005,
"loc": {
"start": {
"line": 44,
"column": 12
},
"end": {
"line": 44,
"column": 46
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " Gather inputs from all connected networks",
"start": 2059,
"end": 2103,
"loc": {
"start": {
"line": 47,
"column": 12
},
"end": {
"line": 47,
"column": 56
}
}
}
]
},
{
"type": "ForStatement",
"start": 2117,
"end": 2734,
"loc": {
"start": {
"line": 48,
"column": 12
},
"end": {
"line": 63,
"column": 13
}
},
"init": {
"type": "VariableDeclaration",
"start": 2122,
"end": 2131,
"loc": {
"start": {
"line": 48,
"column": 17
},
"end": {
"line": 48,
"column": 26
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2126,
"end": 2131,
"loc": {
"start": {
"line": 48,
"column": 21
},
"end": {
"line": 48,
"column": 26
}
},
"id": {
"type": "Identifier",
"start": 2126,
"end": 2127,
"loc": {
"start": {
"line": 48,
"column": 21
},
"end": {
"line": 48,
"column": 22
},
"identifierName": "i"
},
"name": "i",
"leadingComments": null
},
"init": {
"type": "NumericLiteral",
"start": 2130,
"end": 2131,
"loc": {
"start": {
"line": 48,
"column": 25
},
"end": {
"line": 48,
"column": 26
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"leadingComments": null
}
],
"kind": "let",
"leadingComments": null
},
"test": {
"type": "BinaryExpression",
"start": 2133,
"end": 2158,
"loc": {
"start": {
"line": 48,
"column": 28
},
"end": {
"line": 48,
"column": 53
}
},
"left": {
"type": "Identifier",
"start": 2133,
"end": 2134,
"loc": {
"start": {
"line": 48,
"column": 28
},
"end": {
"line": 48,
"column": 29
},
"identifierName": "i"
},
"name": "i"
},
"operator": "<",
"right": {
"type": "MemberExpression",
"start": 2137,
"end": 2158,
"loc": {
"start": {
"line": 48,
"column": 32
},
"end": {
"line": 48,
"column": 53
}
},
"object": {
"type": "MemberExpression",
"start": 2137,
"end": 2151,
"loc": {
"start": {
"line": 48,
"column": 32
},
"end": {
"line": 48,
"column": 46
}
},
"object": {
"type": "Identifier",
"start": 2137,
"end": 2145,
"loc": {
"start": {
"line": 48,
"column": 32
},
"end": {
"line": 48,
"column": 40
},
"identifierName": "slotComp"
},
"name": "slotComp"
},
"property": {
"type": "Identifier",
"start": 2146,
"end": 2151,
"loc": {
"start": {
"line": 48,
"column": 41
},
"end": {
"line": 48,
"column": 46
},
"identifierName": "slots"
},
"name": "slots"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2152,
"end": 2158,
"loc": {
"start": {
"line": 48,
"column": 47
},
"end": {
"line": 48,
"column": 53
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
}
},
"update": {
"type": "UpdateExpression",
"start": 2160,
"end": 2163,
"loc": {
"start": {
"line": 48,
"column": 55
},
"end": {
"line": 48,
"column": 58
}
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 2162,
"end": 2163,
"loc": {
"start": {
"line": 48,
"column": 57
},
"end": {
"line": 48,
"column": 58
},
"identifierName": "i"
},
"name": "i"
},
"extra": {
"parenthesizedArgument": false
}
},
"body": {
"type": "BlockStatement",
"start": 2165,
"end": 2734,
"loc": {
"start": {
"line": 48,
"column": 60
},
"end": {
"line": 63,
"column": 13
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 2184,
"end": 2215,
"loc": {
"start": {
"line": 49,
"column": 16
},
"end": {
"line": 49,
"column": 47
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2190,
"end": 2214,
"loc": {
"start": {
"line": 49,
"column": 22
},
"end": {
"line": 49,
"column": 46
}
},
"id": {
"type": "Identifier",
"start": 2190,
"end": 2194,
"loc": {
"start": {
"line": 49,
"column": 22
},
"end": {
"line": 49,
"column": 26
},
"identifierName": "slot"
},
"name": "slot"
},
"init": {
"type": "MemberExpression",
"start": 2197,
"end": 2214,
"loc": {
"start": {
"line": 49,
"column": 29
},
"end": {
"line": 49,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 2197,
"end": 2211,
"loc": {
"start": {
"line": 49,
"column": 29
},
"end": {
"line": 49,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 2197,
"end": 2205,
"loc": {
"start": {
"line": 49,
"column": 29
},
"end": {
"line": 49,
"column": 37
},
"identifierName": "slotComp"
},
"name": "slotComp"
},
"property": {
"type": "Identifier",
"start": 2206,
"end": 2211,
"loc": {
"start": {
"line": 49,
"column": 38
},
"end": {
"line": 49,
"column": 43
},
"identifierName": "slots"
},
"name": "slots"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2212,
"end": 2213,
"loc": {
"start": {
"line": 49,
"column": 44
},
"end": {
"line": 49,
"column": 45
},
"identifierName": "i"
},
"name": "i"
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 2233,
"end": 2335,
"loc": {
"start": {
"line": 50,
"column": 16
},
"end": {
"line": 52,
"column": 17
}
},
"test": {
"type": "BinaryExpression",
"start": 2237,
"end": 2282,
"loc": {
"start": {
"line": 50,
"column": 20
},
"end": {
"line": 50,
"column": 65
}
},
"left": {
"type": "MemberExpression",
"start": 2237,
"end": 2246,
"loc": {
"start": {
"line": 50,
"column": 20
},
"end": {
"line": 50,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 2237,
"end": 2241,
"loc": {
"start": {
"line": 50,
"column": 20
},
"end": {
"line": 50,
"column": 24
},
"identifierName": "slot"
},
"name": "slot"
},
"property": {
"type": "Identifier",
"start": 2242,
"end": 2246,
"loc": {
"start": {
"line": 50,
"column": 25
},
"end": {
"line": 50,
"column": 29
},
"identifierName": "type"
},
"name": "type"
},
"computed": false
},
"operator": "!==",
"right": {
"type": "MemberExpression",
"start": 2251,
"end": 2282,
"loc": {
"start": {
"line": 50,
"column": 34
},
"end": {
"line": 50,
"column": 65
}
},
"object": {
"type": "Identifier",
"start": 2251,
"end": 2266,
"loc": {
"start": {
"line": 50,
"column": 34
},
"end": {
"line": 50,
"column": 49
},
"identifierName": "enumPinSlotType"
},
"name": "enumPinSlotType"
},
"property": {
"type": "Identifier",
"start": 2267,
"end": 2282,
"loc": {
"start": {
"line": 50,
"column": 50
},
"end": {
"line": 50,
"column": 65
},
"identifierName": "logicalAcceptor"
},
"name": "logicalAcceptor"
},
"computed": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 2284,
"end": 2335,
"loc": {
"start": {
"line": 50,
"column": 67
},
"end": {
"line": 52,
"column": 17
}
},
"body": [
{
"type": "ContinueStatement",
"start": 2307,
"end": 2316,
"loc": {
"start": {
"line": 51,
"column": 20
},
"end": {
"line": 51,
"column": 29
}
},
"label": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 2353,
"end": 2388,
"loc": {
"start": {
"line": 53,
"column": 16
},
"end": {
"line": 53,
"column": 51
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2359,
"end": 2387,
"loc": {
"start": {
"line": 53,
"column": 22
},
"end": {
"line": 53,
"column": 50
}
},
"id": {
"type": "Identifier",
"start": 2359,
"end": 2366,
"loc": {
"start": {
"line": 53,
"column": 22
},
"end": {
"line": 53,
"column": 29
},
"identifierName": "network"
},
"name": "network"
},
"init": {
"type": "MemberExpression",
"start": 2369,
"end": 2387,
"loc": {
"start": {
"line": 53,
"column": 32
},
"end": {
"line": 53,
"column": 50
}
},
"object": {
"type": "Identifier",
"start": 2369,
"end": 2373,
"loc": {
"start": {
"line": 53,
"column": 32
},
"end": {
"line": 53,
"column": 36
},
"identifierName": "slot"
},
"name": "slot"
},
"property": {
"type": "Identifier",
"start": 2374,
"end": 2387,
"loc": {
"start": {
"line": 53,
"column": 37
},
"end": {
"line": 53,
"column": 50
},
"identifierName": "linkedNetwork"
},
"name": "linkedNetwork"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 2406,
"end": 2719,
"loc": {
"start": {
"line": 54,
"column": 16
},
"end": {
"line": 62,
"column": 17
}
},
"test": {
"type": "Identifier",
"start": 2410,
"end": 2417,
"loc": {
"start": {
"line": 54,
"column": 20
},
"end": {
"line": 54,
"column": 27
},
"identifierName": "network"
},
"name": "network"
},
"consequent": {
"type": "BlockStatement",
"start": 2419,
"end": 2649,
"loc": {
"start": {
"line": 54,
"column": 29
},
"end": {
"line": 60,
"column": 17
}
},
"body": [
{
"type": "IfStatement",
"start": 2442,
"end": 2570,
"loc": {
"start": {
"line": 55,
"column": 20
},
"end": {
"line": 58,
"column": 21
}
},
"test": {
"type": "MemberExpression",
"start": 2446,
"end": 2467,
"loc": {
"start": {
"line": 55,
"column": 24
},
"end": {
"line": 55,
"column": 45
}
},
"object": {
"type": "Identifier",
"start": 2446,
"end": 2453,
"loc": {
"start": {
"line": 55,
"column": 24
},
"end": {
"line": 55,
"column": 31
},
"identifierName": "network"
},
"name": "network"
},
"property": {
"type": "Identifier",
"start": 2454,
"end": 2467,
"loc": {
"start": {
"line": 55,
"column": 32
},
"end": {
"line": 55,
"column": 45
},
"identifierName": "valueConflict"
},
"name": "valueConflict"
},
"computed": false
},
"consequent": {
"type": "BlockStatement",
"start": 2469,
"end": 2570,
"loc": {
"start": {
"line": 55,
"column": 47
},
"end": {
"line": 58,
"column": 21
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2496,
"end": 2515,
"loc": {
"start": {
"line": 56,
"column": 24
},
"end": {
"line": 56,
"column": 43
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2496,
"end": 2514,
"loc": {
"start": {
"line": 56,
"column": 24
},
"end": {
"line": 56,
"column": 42
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 2496,
"end": 2507,
"loc": {
"start": {
"line": 56,
"column": 24
},
"end": {
"line": 56,
"column": 35
},
"identifierName": "anyConflict"
},
"name": "anyConflict"
},
"right": {
"type": "BooleanLiteral",
"start": 2510,
"end": 2514,
"loc": {
"start": {
"line": 56,
"column": 38
},
"end": {
"line": 56,
"column": 42
}
},
"value": true
}
}
},
{
"type": "BreakStatement",
"start": 2541,
"end": 2547,
"loc": {
"start": {
"line": 57,
"column": 24
},
"end": {
"line": 57,
"column": 30
}
},
"label": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 2592,
"end": 2630,
"loc": {
"start": {
"line": 59,
"column": 20
},
"end": {
"line": 59,
"column": 58
}
},
"expression": {
"type": "CallExpression",
"start": 2592,
"end": 2629,
"loc": {
"start": {
"line": 59,
"column": 20
},
"end": {
"line": 59,
"column": 57
}
},
"callee": {
"type": "MemberExpression",
"start": 2592,
"end": 2607,
"loc": {
"start": {
"line": 59,
"column": 20
},
"end": {
"line": 59,
"column": 35
}
},
"object": {
"type": "Identifier",
"start": 2592,
"end": 2602,
"loc": {
"start": {
"line": 59,
"column": 20
},
"end": {
"line": 59,
"column": 30
},
"identifierName": "slotValues"
},
"name": "slotValues"
},
"property": {
"type": "Identifier",
"start": 2603,
"end": 2607,
"loc": {
"start": {
"line": 59,
"column": 31
},
"end": {
"line": 59,
"column": 35
},
"identifierName": "push"
},
"name": "push"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 2608,
"end": 2628,
"loc": {
"start": {
"line": 59,
"column": 36
},
"end": {
"line": 59,
"column": 56
}
},
"object": {
"type": "Identifier",
"start": 2608,
"end": 2615,
"loc": {
"start": {
"line": 59,
"column": 36
},
"end": {
"line": 59,
"column": 43
},
"identifierName": "network"
},
"name": "network"
},
"property": {
"type": "Identifier",
"start": 2616,
"end": 2628,
"loc": {
"start": {
"line": 59,
"column": 44
},
"end": {
"line": 59,
"column": 56
},
"identifierName": "currentValue"
},
"name": "currentValue"
},
"computed": false
}
]
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 2655,
"end": 2719,
"loc": {
"start": {
"line": 60,
"column": 23
},
"end": {
"line": 62,
"column": 17
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2678,
"end": 2700,
"loc": {
"start": {
"line": 61,
"column": 20
},
"end": {
"line": 61,
"column": 42
}
},
"expression": {
"type": "CallExpression",
"start": 2678,
"end": 2699,
"loc": {
"start": {
"line": 61,
"column": 20
},
"end": {
"line": 61,
"column": 41
}
},
"callee": {
"type": "MemberExpression",
"start": 2678,
"end": 2693,
"loc": {
"start": {
"line": 61,
"column": 20
},
"end": {
"line": 61,
"column": 35
}
},
"object": {
"type": "Identifier",
"start": 2678,
"end": 2688,
"loc": {
"start": {
"line": 61,
"column": 20
},
"end": {
"line": 61,
"column": 30
},
"identifierName": "slotValues"
},
"name": "slotValues"
},
"property": {
"type": "Identifier",
"start": 2689,
"end": 2693,
"loc": {
"start": {
"line": 61,
"column": 31
},
"end": {
"line": 61,
"column": 35
},
"identifierName": "push"
},
"name": "push"
},
"computed": false
},
"arguments": [
{
"type": "NullLiteral",
"start": 2694,
"end": 2698,
"loc": {
"start": {
"line": 61,
"column": 36
},
"end": {
"line": 61,
"column": 40
}
}
}
]
}
}
],
"directives": []
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Gather inputs from all connected networks",
"start": 2059,
"end": 2103,
"loc": {
"start": {
"line": 47,
"column": 12
},
"end": {
"line": 47,
"column": 56
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " Handle conflicts",
"start": 2750,
"end": 2769,
"loc": {
"start": {
"line": 65,
"column": 12
},
"end": {
"line": 65,
"column": 31
}
}
}
]
},
{
"type": "IfStatement",
"start": 2783,
"end": 3153,
"loc": {
"start": {
"line": 66,
"column": 12
},
"end": {
"line": 75,
"column": 13
}
},
"test": {
"type": "Identifier",
"start": 2787,
"end": 2798,
"loc": {
"start": {
"line": 66,
"column": 16
},
"end": {
"line": 66,
"column": 27
},
"identifierName": "anyConflict"
},
"name": "anyConflict",
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 2800,
"end": 3153,
"loc": {
"start": {
"line": 66,
"column": 29
},
"end": {
"line": 75,
"column": 13
}
},
"body": [
{
"type": "ForStatement",
"start": 2819,
"end": 3111,
"loc": {
"start": {
"line": 67,
"column": 16
},
"end": {
"line": 73,
"column": 17
}
},
"init": {
"type": "VariableDeclaration",
"start": 2824,
"end": 2833,
"loc": {
"start": {
"line": 67,
"column": 21
},
"end": {
"line": 67,
"column": 30
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2828,
"end": 2833,
"loc": {
"start": {
"line": 67,
"column": 25
},
"end": {
"line": 67,
"column": 30
}
},
"id": {
"type": "Identifier",
"start": 2828,
"end": 2829,
"loc": {
"start": {
"line": 67,
"column": 25
},
"end": {
"line": 67,
"column": 26
},
"identifierName": "i"
},
"name": "i"
},
"init": {
"type": "NumericLiteral",
"start": 2832,
"end": 2833,
"loc": {
"start": {
"line": 67,
"column": 29
},
"end": {
"line": 67,
"column": 30
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
],
"kind": "let"
},
"test": {
"type": "BinaryExpression",
"start": 2835,
"end": 2860,
"loc": {
"start": {
"line": 67,
"column": 32
},
"end": {
"line": 67,
"column": 57
}
},
"left": {
"type": "Identifier",
"start": 2835,
"end": 2836,
"loc": {
"start": {
"line": 67,
"column": 32
},
"end": {
"line": 67,
"column": 33
},
"identifierName": "i"
},
"name": "i"
},
"operator": "<",
"right": {
"type": "MemberExpression",
"start": 2839,
"end": 2860,
"loc": {
"start": {
"line": 67,
"column": 36
},
"end": {
"line": 67,
"column": 57
}
},
"object": {
"type": "MemberExpression",
"start": 2839,
"end": 2853,
"loc": {
"start": {
"line": 67,
"column": 36
},
"end": {
"line": 67,
"column": 50
}
},
"object": {
"type": "Identifier",
"start": 2839,
"end": 2847,
"loc": {
"start": {
"line": 67,
"column": 36
},
"end": {
"line": 67,
"column": 44
},
"identifierName": "slotComp"
},
"name": "slotComp"
},
"property": {
"type": "Identifier",
"start": 2848,
"end": 2853,
"loc": {
"start": {
"line": 67,
"column": 45
},
"end": {
"line": 67,
"column": 50
},
"identifierName": "slots"
},
"name": "slots"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2854,
"end": 2860,
"loc": {
"start": {
"line": 67,
"column": 51
},
"end": {
"line": 67,
"column": 57
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
}
},
"update": {
"type": "UpdateExpression",
"start": 2862,
"end": 2865,
"loc": {
"start": {
"line": 67,
"column": 59
},
"end": {
"line": 67,
"column": 62
}
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 2864,
"end": 2865,
"loc": {
"start": {
"line": 67,
"column": 61
},
"end": {
"line": 67,
"column": 62
},
"identifierName": "i"
},
"name": "i"
},
"extra": {
"parenthesizedArgument": false
}
},
"body": {
"type": "BlockStatement",
"start": 2867,
"end": 3111,
"loc": {
"start": {
"line": 67,
"column": 64
},
"end": {
"line": 73,
"column": 17
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 2890,
"end": 2921,
"loc": {
"start": {
"line": 68,
"column": 20
},
"end": {
"line": 68,
"column": 51
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2896,
"end": 2920,
"loc": {
"start": {
"line": 68,
"column": 26
},
"end": {
"line": 68,
"column": 50
}
},
"id": {
"type": "Identifier",
"start": 2896,
"end": 2900,
"loc": {
"start": {
"line": 68,
"column": 26
},
"end": {
"line": 68,
"column": 30
},
"identifierName": "slot"
},
"name": "slot"
},
"init": {
"type": "MemberExpression",
"start": 2903,
"end": 2920,
"loc": {
"start": {
"line": 68,
"column": 33
},
"end": {
"line": 68,
"column": 50
}
},
"object": {
"type": "MemberExpression",
"start": 2903,
"end": 2917,
"loc": {
"start": {
"line": 68,
"column": 33
},
"end": {
"line": 68,
"column": 47
}
},
"object": {
"type": "Identifier",
"start": 2903,
"end": 2911,
"loc": {
"start": {
"line": 68,
"column": 33
},
"end": {
"line": 68,
"column": 41
},
"identifierName": "slotComp"
},
"name": "slotComp"
},
"property": {
"type": "Identifier",
"start": 2912,
"end": 2917,
"loc": {
"start": {
"line": 68,
"column": 42
},
"end": {
"line": 68,
"column": 47
},
"identifierName": "slots"
},
"name": "slots"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2918,
"end": 2919,
"loc": {
"start": {
"line": 68,
"column": 48
},
"end": {
"line": 68,
"column": 49
},
"identifierName": "i"
},
"name": "i"
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 2943,
"end": 3052,
"loc": {
"start": {
"line": 69,
"column": 20
},
"end": {
"line": 71,
"column": 21
}
},
"test": {
"type": "BinaryExpression",
"start": 2947,
"end": 2991,
"loc": {
"start": {
"line": 69,
"column": 24
},
"end": {
"line": 69,
"column": 68
}
},
"left": {
"type": "MemberExpression",
"start": 2947,
"end": 2956,
"loc": {
"start": {
"line": 69,
"column": 24
},
"end": {
"line": 69,
"column": 33
}
},
"object": {
"type": "Identifier",
"start": 2947,
"end": 2951,
"loc": {
"start": {
"line": 69,
"column": 24
},
"end": {
"line": 69,
"column": 28
},
"identifierName": "slot"
},
"name": "slot"
},
"property": {
"type": "Identifier",
"start": 2952,
"end": 2956,
"loc": {
"start": {
"line": 69,
"column": 29
},
"end": {
"line": 69,
"column": 33
},
"identifierName": "type"
},
"name": "type"
},
"computed": false
},
"operator": "!==",
"right": {
"type": "MemberExpression",
"start": 2961,
"end": 2991,
"loc": {
"start": {
"line": 69,
"column": 38
},
"end": {
"line": 69,
"column": 68
}
},
"object": {
"type": "Identifier",
"start": 2961,
"end": 2976,
"loc": {
"start": {
"line": 69,
"column": 38
},
"end": {
"line": 69,
"column": 53
},
"identifierName": "enumPinSlotType"
},
"name": "enumPinSlotType"
},
"property": {
"type": "Identifier",
"start": 2977,
"end": 2991,
"loc": {
"start": {
"line": 69,
"column": 54
},
"end": {
"line": 69,
"column": 68
},
"identifierName": "logicalEjector"
},
"name": "logicalEjector"
},
"computed": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 2993,
"end": 3052,
"loc": {
"start": {
"line": 69,
"column": 70
},
"end": {
"line": 71,
"column": 21
}
},
"body": [
{
"type": "ContinueStatement",
"start": 3020,
"end": 3029,
"loc": {
"start": {
"line": 70,
"column": 24
},
"end": {
"line": 70,
"column": 33
}
},
"label": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 3074,
"end": 3092,
"loc": {
"start": {
"line": 72,
"column": 20
},
"end": {
"line": 72,
"column": 38
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3074,
"end": 3091,
"loc": {
"start": {
"line": 72,
"column": 20
},
"end": {
"line": 72,
"column": 37
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3074,
"end": 3084,
"loc": {
"start": {
"line": 72,
"column": 20
},
"end": {
"line": 72,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 3074,
"end": 3078,
"loc": {
"start": {
"line": 72,
"column": 20
},
"end": {
"line": 72,
"column": 24
},
"identifierName": "slot"
},
"name": "slot"
},
"property": {
"type": "Identifier",
"start": 3079,
"end": 3084,
"loc": {
"start": {
"line": 72,
"column": 25
},
"end": {
"line": 72,
"column": 30
},
"identifierName": "value"
},
"name": "value"
},
"computed": false
},
"right": {
"type": "NullLiteral",
"start": 3087,
"end": 3091,
"loc": {
"start": {
"line": 72,
"column": 33
},
"end": {
"line": 72,
"column": 37
}
}
}
}
}
],
"directives": []
}
},
{
"type": "ContinueStatement",
"start": 3129,
"end": 3138,
"loc": {
"start": {
"line": 74,
"column": 16
},
"end": {
"line": 74,
"column": 25
}
},
"label": null
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Handle conflicts",
"start": 2750,
"end": 2769,
"loc": {
"start": {
"line": 65,
"column": 12
},
"end": {
"line": 65,
"column": 31
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " Compute actual result",
"start": 3169,
"end": 3193,
"loc": {
"start": {
"line": 77,
"column": 12
},
"end": {
"line": 77,
"column": 36
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 3207,
"end": 3271,
"loc": {
"start": {
"line": 78,
"column": 12
},
"end": {
"line": 78,
"column": 76
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3213,
"end": 3270,
"loc": {
"start": {
"line": 78,
"column": 18
},
"end": {
"line": 78,
"column": 75
}
},
"id": {
"type": "Identifier",
"start": 3213,
"end": 3219,
"loc": {
"start": {
"line": 78,
"column": 18
},
"end": {
"line": 78,
"column": 24
},
"identifierName": "result"
},
"name": "result",
"leadingComments": null
},
"init": {
"type": "CallExpression",
"start": 3222,
"end": 3270,
"loc": {
"start": {
"line": 78,
"column": 27
},
"end": {
"line": 78,
"column": 75
}
},
"callee": {
"type": "MemberExpression",
"start": 3222,
"end": 3258,
"loc": {
"start": {
"line": 78,
"column": 27
},
"end": {
"line": 78,
"column": 63
}
},
"object": {
"type": "MemberExpression",
"start": 3222,
"end": 3242,
"loc": {
"start": {
"line": 78,
"column": 27
},
"end": {
"line": 78,
"column": 47
}
},
"object": {
"type": "ThisExpression",
"start": 3222,
"end": 3226,
"loc": {
"start": {
"line": 78,
"column": 27
},
"end": {
"line": 78,
"column": 31
}
}
},
"property": {
"type": "Identifier",
"start": 3227,
"end": 3242,
"loc": {
"start": {
"line": 78,
"column": 32
},
"end": {
"line": 78,
"column": 47
},
"identifierName": "boundOperations"
},
"name": "boundOperations"
},
"computed": false
},
"property": {
"type": "MemberExpression",
"start": 3243,
"end": 3257,
"loc": {
"start": {
"line": 78,
"column": 48
},
"end": {
"line": 78,
"column": 62
}
},
"object": {
"type": "Identifier",
"start": 3243,
"end": 3252,
"loc": {
"start": {
"line": 78,
"column": 48
},
"end": {
"line": 78,
"column": 57
},
"identifierName": "logicComp"
},
"name": "logicComp"
},
"property": {
"type": "Identifier",
"start": 3253,
"end": 3257,
"loc": {
"start": {
"line": 78,
"column": 58
},
"end": {
"line": 78,
"column": 62
},
"identifierName": "type"
},
"name": "type"
},
"computed": false
},
"computed": true
},
"arguments": [
{
"type": "Identifier",
"start": 3259,
"end": 3269,
"loc": {
"start": {
"line": 78,
"column": 64
},
"end": {
"line": 78,
"column": 74
},
"identifierName": "slotValues"
},
"name": "slotValues"
}
]
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentLine",
"value": " Compute actual result",
"start": 3169,
"end": 3193,
"loc": {
"start": {
"line": 77,
"column": 12
},
"end": {
"line": 77,
"column": 36
}
}
}
]
},
{
"type": "IfStatement",
"start": 3287,
"end": 4155,
"loc": {
"start": {
"line": 80,
"column": 12
},
"end": {
"line": 97,
"column": 13
}
},
"test": {
"type": "CallExpression",
"start": 3291,
"end": 3312,
"loc": {
"start": {
"line": 80,
"column": 16
},
"end": {
"line": 80,
"column": 37
}
},
"callee": {
"type": "MemberExpression",
"start": 3291,
"end": 3304,
"loc": {
"start": {
"line": 80,
"column": 16
},
"end": {
"line": 80,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 3291,
"end": 3296,
"loc": {
"start": {
"line": 80,
"column": 16
},
"end": {
"line": 80,
"column": 21
},
"identifierName": "Array"
},
"name": "Array"
},
"property": {
"type": "Identifier",
"start": 3297,
"end": 3304,
"loc": {
"start": {
"line": 80,
"column": 22
},
"end": {
"line": 80,
"column": 29
},
"identifierName": "isArray"
},
"name": "isArray"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 3305,
"end": 3311,
"loc": {
"start": {
"line": 80,
"column": 30
},
"end": {
"line": 80,
"column": 36
},
"identifierName": "result"
},
"name": "result"
}
]
},
"consequent": {
"type": "BlockStatement",
"start": 3314,
"end": 3695,
"loc": {
"start": {
"line": 80,
"column": 39
},
"end": {
"line": 89,
"column": 13
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 3333,
"end": 3353,
"loc": {
"start": {
"line": 81,
"column": 16
},
"end": {
"line": 81,
"column": 36
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3337,
"end": 3352,
"loc": {
"start": {
"line": 81,
"column": 20
},
"end": {
"line": 81,
"column": 35
}
},
"id": {
"type": "Identifier",
"start": 3337,
"end": 3348,
"loc": {
"start": {
"line": 81,
"column": 20
},
"end": {
"line": 81,
"column": 31
},
"identifierName": "resultIndex"
},
"name": "resultIndex"
},
"init": {
"type": "NumericLiteral",
"start": 3351,
"end": 3352,
"loc": {
"start": {
"line": 81,
"column": 34
},
"end": {
"line": 81,
"column": 35
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
],
"kind": "let"
},
{
"type": "ForStatement",
"start": 3371,
"end": 3680,
"loc": {
"start": {
"line": 82,
"column": 16
},
"end": {
"line": 88,
"column": 17
}
},
"init": {
"type": "VariableDeclaration",
"start": 3376,
"end": 3385,
"loc": {
"start": {
"line": 82,
"column": 21
},
"end": {
"line": 82,
"column": 30
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3380,
"end": 3385,
"loc": {
"start": {
"line": 82,
"column": 25
},
"end": {
"line": 82,
"column": 30
}
},
"id": {
"type": "Identifier",
"start": 3380,
"end": 3381,
"loc": {
"start": {
"line": 82,
"column": 25
},
"end": {
"line": 82,
"column": 26
},
"identifierName": "i"
},
"name": "i"
},
"init": {
"type": "NumericLiteral",
"start": 3384,
"end": 3385,
"loc": {
"start": {
"line": 82,
"column": 29
},
"end": {
"line": 82,
"column": 30
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
],
"kind": "let"
},
"test": {
"type": "BinaryExpression",
"start": 3387,
"end": 3412,
"loc": {
"start": {
"line": 82,
"column": 32
},
"end": {
"line": 82,
"column": 57
}
},
"left": {
"type": "Identifier",
"start": 3387,
"end": 3388,
"loc": {
"start": {
"line": 82,
"column": 32
},
"end": {
"line": 82,
"column": 33
},
"identifierName": "i"
},
"name": "i"
},
"operator": "<",
"right": {
"type": "MemberExpression",
"start": 3391,
"end": 3412,
"loc": {
"start": {
"line": 82,
"column": 36
},
"end": {
"line": 82,
"column": 57
}
},
"object": {
"type": "MemberExpression",
"start": 3391,
"end": 3405,
"loc": {
"start": {
"line": 82,
"column": 36
},
"end": {
"line": 82,
"column": 50
}
},
"object": {
"type": "Identifier",
"start": 3391,
"end": 3399,
"loc": {
"start": {
"line": 82,
"column": 36
},
"end": {
"line": 82,
"column": 44
},
"identifierName": "slotComp"
},
"name": "slotComp"
},
"property": {
"type": "Identifier",
"start": 3400,
"end": 3405,
"loc": {
"start": {
"line": 82,
"column": 45
},
"end": {
"line": 82,
"column": 50
},
"identifierName": "slots"
},
"name": "slots"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3406,
"end": 3412,
"loc": {
"start": {
"line": 82,
"column": 51
},
"end": {
"line": 82,
"column": 57
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
}
},
"update": {
"type": "UpdateExpression",
"start": 3414,
"end": 3417,
"loc": {
"start": {
"line": 82,
"column": 59
},
"end": {
"line": 82,
"column": 62
}
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 3416,
"end": 3417,
"loc": {
"start": {
"line": 82,
"column": 61
},
"end": {
"line": 82,
"column": 62
},
"identifierName": "i"
},
"name": "i"
},
"extra": {
"parenthesizedArgument": false
}
},
"body": {
"type": "BlockStatement",
"start": 3419,
"end": 3680,
"loc": {
"start": {
"line": 82,
"column": 64
},
"end": {
"line": 88,
"column": 17
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 3442,
"end": 3473,
"loc": {
"start": {
"line": 83,
"column": 20
},
"end": {
"line": 83,
"column": 51
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3448,
"end": 3472,
"loc": {
"start": {
"line": 83,
"column": 26
},
"end": {
"line": 83,
"column": 50
}
},
"id": {
"type": "Identifier",
"start": 3448,
"end": 3452,
"loc": {
"start": {
"line": 83,
"column": 26
},
"end": {
"line": 83,
"column": 30
},
"identifierName": "slot"
},
"name": "slot"
},
"init": {
"type": "MemberExpression",
"start": 3455,
"end": 3472,
"loc": {
"start": {
"line": 83,
"column": 33
},
"end": {
"line": 83,
"column": 50
}
},
"object": {
"type": "MemberExpression",
"start": 3455,
"end": 3469,
"loc": {
"start": {
"line": 83,
"column": 33
},
"end": {
"line": 83,
"column": 47
}
},
"object": {
"type": "Identifier",
"start": 3455,
"end": 3463,
"loc": {
"start": {
"line": 83,
"column": 33
},
"end": {
"line": 83,
"column": 41
},
"identifierName": "slotComp"
},
"name": "slotComp"
},
"property": {
"type": "Identifier",
"start": 3464,
"end": 3469,
"loc": {
"start": {
"line": 83,
"column": 42
},
"end": {
"line": 83,
"column": 47
},
"identifierName": "slots"
},
"name": "slots"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3470,
"end": 3471,
"loc": {
"start": {
"line": 83,
"column": 48
},
"end": {
"line": 83,
"column": 49
},
"identifierName": "i"
},
"name": "i"
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 3495,
"end": 3604,
"loc": {
"start": {
"line": 84,
"column": 20
},
"end": {
"line": 86,
"column": 21
}
},
"test": {
"type": "BinaryExpression",
"start": 3499,
"end": 3543,
"loc": {
"start": {
"line": 84,
"column": 24
},
"end": {
"line": 84,
"column": 68
}
},
"left": {
"type": "MemberExpression",
"start": 3499,
"end": 3508,
"loc": {
"start": {
"line": 84,
"column": 24
},
"end": {
"line": 84,
"column": 33
}
},
"object": {
"type": "Identifier",
"start": 3499,
"end": 3503,
"loc": {
"start": {
"line": 84,
"column": 24
},
"end": {
"line": 84,
"column": 28
},
"identifierName": "slot"
},
"name": "slot"
},
"property": {
"type": "Identifier",
"start": 3504,
"end": 3508,
"loc": {
"start": {
"line": 84,
"column": 29
},
"end": {
"line": 84,
"column": 33
},
"identifierName": "type"
},
"name": "type"
},
"computed": false
},
"operator": "!==",
"right": {
"type": "MemberExpression",
"start": 3513,
"end": 3543,
"loc": {
"start": {
"line": 84,
"column": 38
},
"end": {
"line": 84,
"column": 68
}
},
"object": {
"type": "Identifier",
"start": 3513,
"end": 3528,
"loc": {
"start": {
"line": 84,
"column": 38
},
"end": {
"line": 84,
"column": 53
},
"identifierName": "enumPinSlotType"
},
"name": "enumPinSlotType"
},
"property": {
"type": "Identifier",
"start": 3529,
"end": 3543,
"loc": {
"start": {
"line": 84,
"column": 54
},
"end": {
"line": 84,
"column": 68
},
"identifierName": "logicalEjector"
},
"name": "logicalEjector"
},
"computed": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 3545,
"end": 3604,
"loc": {
"start": {
"line": 84,
"column": 70
},
"end": {
"line": 86,
"column": 21
}
},
"body": [
{
"type": "ContinueStatement",
"start": 3572,
"end": 3581,
"loc": {
"start": {
"line": 85,
"column": 24
},
"end": {
"line": 85,
"column": 33
}
},
"label": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 3626,
"end": 3661,
"loc": {
"start": {
"line": 87,
"column": 20
},
"end": {
"line": 87,
"column": 55
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3626,
"end": 3660,
"loc": {
"start": {
"line": 87,
"column": 20
},
"end": {
"line": 87,
"column": 54
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3626,
"end": 3636,
"loc": {
"start": {
"line": 87,
"column": 20
},
"end": {
"line": 87,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 3626,
"end": 3630,
"loc": {
"start": {
"line": 87,
"column": 20
},
"end": {
"line": 87,
"column": 24
},
"identifierName": "slot"
},
"name": "slot"
},
"property": {
"type": "Identifier",
"start": 3631,
"end": 3636,
"loc": {
"start": {
"line": 87,
"column": 25
},
"end": {
"line": 87,
"column": 30
},
"identifierName": "value"
},
"name": "value"
},
"computed": false
},
"right": {
"type": "MemberExpression",
"start": 3639,
"end": 3660,
"loc": {
"start": {
"line": 87,
"column": 33
},
"end": {
"line": 87,
"column": 54
}
},
"object": {
"type": "Identifier",
"start": 3639,
"end": 3645,
"loc": {
"start": {
"line": 87,
"column": 33
},
"end": {
"line": 87,
"column": 39
},
"identifierName": "result"
},
"name": "result"
},
"property": {
"type": "UpdateExpression",
"start": 3646,
"end": 3659,
"loc": {
"start": {
"line": 87,
"column": 40
},
"end": {
"line": 87,
"column": 53
}
},
"operator": "++",
"prefix": false,
"argument": {
"type": "Identifier",
"start": 3646,
"end": 3657,
"loc": {
"start": {
"line": 87,
"column": 40
},
"end": {
"line": 87,
"column": 51
},
"identifierName": "resultIndex"
},
"name": "resultIndex"
}
},
"computed": true
}
}
}
],
"directives": []
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 3701,
"end": 4155,
"loc": {
"start": {
"line": 89,
"column": 19
},
"end": {
"line": 97,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 3797,
"end": 3977,
"loc": {
"start": {
"line": 91,
"column": 16
},
"end": {
"line": 94,
"column": 18
}
},
"expression": {
"type": "CallExpression",
"start": 3797,
"end": 3976,
"loc": {
"start": {
"line": 91,
"column": 16
},
"end": {
"line": 94,
"column": 17
}
},
"callee": {
"type": "Identifier",
"start": 3797,
"end": 3803,
"loc": {
"start": {
"line": 91,
"column": 16
},
"end": {
"line": 91,
"column": 22
},
"identifierName": "assert"
},
"name": "assert",
"leadingComments": null
},
"arguments": [
{
"type": "BinaryExpression",
"start": 3826,
"end": 3873,
"loc": {
"start": {
"line": 92,
"column": 20
},
"end": {
"line": 92,
"column": 67
}
},
"left": {
"type": "MemberExpression",
"start": 3826,
"end": 3843,
"loc": {
"start": {
"line": 92,
"column": 20
},
"end": {
"line": 92,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 3826,
"end": 3836,
"loc": {
"start": {
"line": 92,
"column": 20
},
"end": {
"line": 92,
"column": 30
},
"identifierName": "slotValues"
},
"name": "slotValues"
},
"property": {
"type": "Identifier",
"start": 3837,
"end": 3843,
"loc": {
"start": {
"line": 92,
"column": 31
},
"end": {
"line": 92,
"column": 37
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
},
"operator": "===",
"right": {
"type": "BinaryExpression",
"start": 3848,
"end": 3873,
"loc": {
"start": {
"line": 92,
"column": 42
},
"end": {
"line": 92,
"column": 67
}
},
"left": {
"type": "MemberExpression",
"start": 3848,
"end": 3869,
"loc": {
"start": {
"line": 92,
"column": 42
},
"end": {
"line": 92,
"column": 63
}
},
"object": {
"type": "MemberExpression",
"start": 3848,
"end": 3862,
"loc": {
"start": {
"line": 92,
"column": 42
},
"end": {
"line": 92,
"column": 56
}
},
"object": {
"type": "Identifier",
"start": 3848,
"end": 3856,
"loc": {
"start": {
"line": 92,
"column": 42
},
"end": {
"line": 92,
"column": 50
},
"identifierName": "slotComp"
},
"name": "slotComp"
},
"property": {
"type": "Identifier",
"start": 3857,
"end": 3862,
"loc": {
"start": {
"line": 92,
"column": 51
},
"end": {
"line": 92,
"column": 56
},
"identifierName": "slots"
},
"name": "slots"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3863,
"end": 3869,
"loc": {
"start": {
"line": 92,
"column": 57
},
"end": {
"line": 92,
"column": 63
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
},
"operator": "-",
"right": {
"type": "NumericLiteral",
"start": 3872,
"end": 3873,
"loc": {
"start": {
"line": 92,
"column": 66
},
"end": {
"line": 92,
"column": 67
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
}
},
{
"type": "StringLiteral",
"start": 3896,
"end": 3957,
"loc": {
"start": {
"line": 93,
"column": 20
},
"end": {
"line": 93,
"column": 81
}
},
"extra": {
"rawValue": "Bad slot config, should have N acceptor slots and 1 ejector",
"raw": "\"Bad slot config, should have N acceptor slots and 1 ejector\""
},
"value": "Bad slot config, should have N acceptor slots and 1 ejector"
}
],
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " @TODO: For now we hardcode the value to always be slot 0",
"start": 3720,
"end": 3779,
"loc": {
"start": {
"line": 90,
"column": 16
},
"end": {
"line": 90,
"column": 75
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 3995,
"end": 4089,
"loc": {
"start": {
"line": 95,
"column": 16
},
"end": {
"line": 95,
"column": 110
}
},
"expression": {
"type": "CallExpression",
"start": 3995,
"end": 4088,
"loc": {
"start": {
"line": 95,
"column": 16
},
"end": {
"line": 95,
"column": 109
}
},
"callee": {
"type": "Identifier",
"start": 3995,
"end": 4001,
"loc": {
"start": {
"line": 95,
"column": 16
},
"end": {
"line": 95,
"column": 22
},
"identifierName": "assert"
},
"name": "assert"
},
"arguments": [
{
"type": "BinaryExpression",
"start": 4002,
"end": 4059,
"loc": {
"start": {
"line": 95,
"column": 23
},
"end": {
"line": 95,
"column": 80
}
},
"left": {
"type": "MemberExpression",
"start": 4002,
"end": 4024,
"loc": {
"start": {
"line": 95,
"column": 23
},
"end": {
"line": 95,
"column": 45
}
},
"object": {
"type": "MemberExpression",
"start": 4002,
"end": 4019,
"loc": {
"start": {
"line": 95,
"column": 23
},
"end": {
"line": 95,
"column": 40
}
},
"object": {
"type": "MemberExpression",
"start": 4002,
"end": 4016,
"loc": {
"start": {
"line": 95,
"column": 23
},
"end": {
"line": 95,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 4002,
"end": 4010,
"loc": {
"start": {
"line": 95,
"column": 23
},
"end": {
"line": 95,
"column": 31
},
"identifierName": "slotComp"
},
"name": "slotComp"
},
"property": {
"type": "Identifier",
"start": 4011,
"end": 4016,
"loc": {
"start": {
"line": 95,
"column": 32
},
"end": {
"line": 95,
"column": 37
},
"identifierName": "slots"
},
"name": "slots"
},
"computed": false
},
"property": {
"type": "NumericLiteral",
"start": 4017,
"end": 4018,
"loc": {
"start": {
"line": 95,
"column": 38
},
"end": {
"line": 95,
"column": 39
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
},
"property": {
"type": "Identifier",
"start": 4020,
"end": 4024,
"loc": {
"start": {
"line": 95,
"column": 41
},
"end": {
"line": 95,
"column": 45
},
"identifierName": "type"
},
"name": "type"
},
"computed": false
},
"operator": "===",
"right": {
"type": "MemberExpression",
"start": 4029,
"end": 4059,
"loc": {
"start": {
"line": 95,
"column": 50
},
"end": {
"line": 95,
"column": 80
}
},
"object": {
"type": "Identifier",
"start": 4029,
"end": 4044,
"loc": {
"start": {
"line": 95,
"column": 50
},
"end": {
"line": 95,
"column": 65
},
"identifierName": "enumPinSlotType"
},
"name": "enumPinSlotType"
},
"property": {
"type": "Identifier",
"start": 4045,
"end": 4059,
"loc": {
"start": {
"line": 95,
"column": 66
},
"end": {
"line": 95,
"column": 80
},
"identifierName": "logicalEjector"
},
"name": "logicalEjector"
},
"computed": false
}
},
{
"type": "StringLiteral",
"start": 4061,
"end": 4087,
"loc": {
"start": {
"line": 95,
"column": 82
},
"end": {
"line": 95,
"column": 108
}
},
"extra": {
"rawValue": "Slot 0 should be ejector",
"raw": "\"Slot 0 should be ejector\""
},
"value": "Slot 0 should be ejector"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 4107,
"end": 4140,
"loc": {
"start": {
"line": 96,
"column": 16
},
"end": {
"line": 96,
"column": 49
}
},
"expression": {
"type": "AssignmentExpression",
"start": 4107,
"end": 4139,
"loc": {
"start": {
"line": 96,
"column": 16
},
"end": {
"line": 96,
"column": 48
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 4107,
"end": 4130,
"loc": {
"start": {
"line": 96,
"column": 16
},
"end": {
"line": 96,
"column": 39
}
},
"object": {
"type": "MemberExpression",
"start": 4107,
"end": 4124,
"loc": {
"start": {
"line": 96,
"column": 16
},
"end": {
"line": 96,
"column": 33
}
},
"object": {
"type": "MemberExpression",
"start": 4107,
"end": 4121,
"loc": {
"start": {
"line": 96,
"column": 16
},
"end": {
"line": 96,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 4107,
"end": 4115,
"loc": {
"start": {
"line": 96,
"column": 16
},
"end": {
"line": 96,
"column": 24
},
"identifierName": "slotComp"
},
"name": "slotComp"
},
"property": {
"type": "Identifier",
"start": 4116,
"end": 4121,
"loc": {
"start": {
"line": 96,
"column": 25
},
"end": {
"line": 96,
"column": 30
},
"identifierName": "slots"
},
"name": "slots"
},
"computed": false
},
"property": {
"type": "NumericLiteral",
"start": 4122,
"end": 4123,
"loc": {
"start": {
"line": 96,
"column": 31
},
"end": {
"line": 96,
"column": 32
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
},
"property": {
"type": "Identifier",
"start": 4125,
"end": 4130,
"loc": {
"start": {
"line": 96,
"column": 34
},
"end": {
"line": 96,
"column": 39
},
"identifierName": "value"
},
"name": "value"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 4133,
"end": 4139,
"loc": {
"start": {
"line": 96,
"column": 42
},
"end": {
"line": 96,
"column": 48
},
"identifierName": "result"
},
"name": "result"
}
}
}
],
"directives": []
}
}
],
"directives": []
}
}
],
"directives": [],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {Array<BaseItem|null>} parameters\r\n * @returns {BaseItem}\r\n ",
"start": 4181,
"end": 4270,
"loc": {
"start": {
"line": 101,
"column": 4
},
"end": {
"line": 104,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 4276,
"end": 4528,
"loc": {
"start": {
"line": 105,
"column": 4
},
"end": {
"line": 110,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 4276,
"end": 4287,
"loc": {
"start": {
"line": 105,
"column": 4
},
"end": {
"line": 105,
"column": 15
},
"identifierName": "compute_AND"
},
"name": "compute_AND",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 4288,
"end": 4298,
"loc": {
"start": {
"line": 105,
"column": 16
},
"end": {
"line": 105,
"column": 26
},
"identifierName": "parameters"
},
"name": "parameters"
}
],
"body": {
"type": "BlockStatement",
"start": 4300,
"end": 4528,
"loc": {
"start": {
"line": 105,
"column": 28
},
"end": {
"line": 110,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 4311,
"end": 4374,
"loc": {
"start": {
"line": 106,
"column": 8
},
"end": {
"line": 106,
"column": 71
}
},
"expression": {
"type": "CallExpression",
"start": 4311,
"end": 4373,
"loc": {
"start": {
"line": 106,
"column": 8
},
"end": {
"line": 106,
"column": 70
}
},
"callee": {
"type": "Identifier",
"start": 4311,
"end": 4317,
"loc": {
"start": {
"line": 106,
"column": 8
},
"end": {
"line": 106,
"column": 14
},
"identifierName": "assert"
},
"name": "assert"
},
"arguments": [
{
"type": "BinaryExpression",
"start": 4318,
"end": 4341,
"loc": {
"start": {
"line": 106,
"column": 15
},
"end": {
"line": 106,
"column": 38
}
},
"left": {
"type": "MemberExpression",
"start": 4318,
"end": 4335,
"loc": {
"start": {
"line": 106,
"column": 15
},
"end": {
"line": 106,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 4318,
"end": 4328,
"loc": {
"start": {
"line": 106,
"column": 15
},
"end": {
"line": 106,
"column": 25
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "Identifier",
"start": 4329,
"end": 4335,
"loc": {
"start": {
"line": 106,
"column": 26
},
"end": {
"line": 106,
"column": 32
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
},
"operator": "===",
"right": {
"type": "NumericLiteral",
"start": 4340,
"end": 4341,
"loc": {
"start": {
"line": 106,
"column": 37
},
"end": {
"line": 106,
"column": 38
}
},
"extra": {
"rawValue": 2,
"raw": "2"
},
"value": 2
}
},
{
"type": "StringLiteral",
"start": 4343,
"end": 4372,
"loc": {
"start": {
"line": 106,
"column": 40
},
"end": {
"line": 106,
"column": 69
}
},
"extra": {
"rawValue": "bad parameter count for AND",
"raw": "\"bad parameter count for AND\""
},
"value": "bad parameter count for AND"
}
]
}
},
{
"type": "ReturnStatement",
"start": 4384,
"end": 4521,
"loc": {
"start": {
"line": 107,
"column": 8
},
"end": {
"line": 109,
"column": 33
}
},
"argument": {
"type": "ConditionalExpression",
"start": 4391,
"end": 4520,
"loc": {
"start": {
"line": 107,
"column": 15
},
"end": {
"line": 109,
"column": 32
}
},
"test": {
"type": "LogicalExpression",
"start": 4391,
"end": 4449,
"loc": {
"start": {
"line": 107,
"column": 15
},
"end": {
"line": 107,
"column": 73
}
},
"left": {
"type": "CallExpression",
"start": 4391,
"end": 4418,
"loc": {
"start": {
"line": 107,
"column": 15
},
"end": {
"line": 107,
"column": 42
}
},
"callee": {
"type": "Identifier",
"start": 4391,
"end": 4403,
"loc": {
"start": {
"line": 107,
"column": 15
},
"end": {
"line": 107,
"column": 27
},
"identifierName": "isTruthyItem"
},
"name": "isTruthyItem"
},
"arguments": [
{
"type": "MemberExpression",
"start": 4404,
"end": 4417,
"loc": {
"start": {
"line": 107,
"column": 28
},
"end": {
"line": 107,
"column": 41
}
},
"object": {
"type": "Identifier",
"start": 4404,
"end": 4414,
"loc": {
"start": {
"line": 107,
"column": 28
},
"end": {
"line": 107,
"column": 38
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "NumericLiteral",
"start": 4415,
"end": 4416,
"loc": {
"start": {
"line": 107,
"column": 39
},
"end": {
"line": 107,
"column": 40
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
}
]
},
"operator": "&&",
"right": {
"type": "CallExpression",
"start": 4422,
"end": 4449,
"loc": {
"start": {
"line": 107,
"column": 46
},
"end": {
"line": 107,
"column": 73
}
},
"callee": {
"type": "Identifier",
"start": 4422,
"end": 4434,
"loc": {
"start": {
"line": 107,
"column": 46
},
"end": {
"line": 107,
"column": 58
},
"identifierName": "isTruthyItem"
},
"name": "isTruthyItem"
},
"arguments": [
{
"type": "MemberExpression",
"start": 4435,
"end": 4448,
"loc": {
"start": {
"line": 107,
"column": 59
},
"end": {
"line": 107,
"column": 72
}
},
"object": {
"type": "Identifier",
"start": 4435,
"end": 4445,
"loc": {
"start": {
"line": 107,
"column": 59
},
"end": {
"line": 107,
"column": 69
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "NumericLiteral",
"start": 4446,
"end": 4447,
"loc": {
"start": {
"line": 107,
"column": 70
},
"end": {
"line": 107,
"column": 71
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"computed": true
}
]
}
},
"consequent": {
"type": "Identifier",
"start": 4465,
"end": 4484,
"loc": {
"start": {
"line": 108,
"column": 12
},
"end": {
"line": 108,
"column": 31
},
"identifierName": "BOOL_TRUE_SINGLETON"
},
"name": "BOOL_TRUE_SINGLETON"
},
"alternate": {
"type": "Identifier",
"start": 4500,
"end": 4520,
"loc": {
"start": {
"line": 109,
"column": 12
},
"end": {
"line": 109,
"column": 32
},
"identifierName": "BOOL_FALSE_SINGLETON"
},
"name": "BOOL_FALSE_SINGLETON"
}
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {Array<BaseItem|null>} parameters\r\n * @returns {BaseItem}\r\n ",
"start": 4181,
"end": 4270,
"loc": {
"start": {
"line": 101,
"column": 4
},
"end": {
"line": 104,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {Array<BaseItem|null>} parameters\r\n * @returns {BaseItem}\r\n ",
"start": 4536,
"end": 4625,
"loc": {
"start": {
"line": 112,
"column": 4
},
"end": {
"line": 115,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 4631,
"end": 4753,
"loc": {
"start": {
"line": 116,
"column": 4
},
"end": {
"line": 118,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 4631,
"end": 4642,
"loc": {
"start": {
"line": 116,
"column": 4
},
"end": {
"line": 116,
"column": 15
},
"identifierName": "compute_NOT"
},
"name": "compute_NOT",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 4643,
"end": 4653,
"loc": {
"start": {
"line": 116,
"column": 16
},
"end": {
"line": 116,
"column": 26
},
"identifierName": "parameters"
},
"name": "parameters"
}
],
"body": {
"type": "BlockStatement",
"start": 4655,
"end": 4753,
"loc": {
"start": {
"line": 116,
"column": 28
},
"end": {
"line": 118,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 4666,
"end": 4746,
"loc": {
"start": {
"line": 117,
"column": 8
},
"end": {
"line": 117,
"column": 88
}
},
"argument": {
"type": "ConditionalExpression",
"start": 4673,
"end": 4745,
"loc": {
"start": {
"line": 117,
"column": 15
},
"end": {
"line": 117,
"column": 87
}
},
"test": {
"type": "CallExpression",
"start": 4673,
"end": 4700,
"loc": {
"start": {
"line": 117,
"column": 15
},
"end": {
"line": 117,
"column": 42
}
},
"callee": {
"type": "Identifier",
"start": 4673,
"end": 4685,
"loc": {
"start": {
"line": 117,
"column": 15
},
"end": {
"line": 117,
"column": 27
},
"identifierName": "isTruthyItem"
},
"name": "isTruthyItem"
},
"arguments": [
{
"type": "MemberExpression",
"start": 4686,
"end": 4699,
"loc": {
"start": {
"line": 117,
"column": 28
},
"end": {
"line": 117,
"column": 41
}
},
"object": {
"type": "Identifier",
"start": 4686,
"end": 4696,
"loc": {
"start": {
"line": 117,
"column": 28
},
"end": {
"line": 117,
"column": 38
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "NumericLiteral",
"start": 4697,
"end": 4698,
"loc": {
"start": {
"line": 117,
"column": 39
},
"end": {
"line": 117,
"column": 40
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
}
]
},
"consequent": {
"type": "Identifier",
"start": 4703,
"end": 4723,
"loc": {
"start": {
"line": 117,
"column": 45
},
"end": {
"line": 117,
"column": 65
},
"identifierName": "BOOL_FALSE_SINGLETON"
},
"name": "BOOL_FALSE_SINGLETON"
},
"alternate": {
"type": "Identifier",
"start": 4726,
"end": 4745,
"loc": {
"start": {
"line": 117,
"column": 68
},
"end": {
"line": 117,
"column": 87
},
"identifierName": "BOOL_TRUE_SINGLETON"
},
"name": "BOOL_TRUE_SINGLETON"
}
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {Array<BaseItem|null>} parameters\r\n * @returns {BaseItem}\r\n ",
"start": 4536,
"end": 4625,
"loc": {
"start": {
"line": 112,
"column": 4
},
"end": {
"line": 115,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {Array<BaseItem|null>} parameters\r\n * @returns {BaseItem}\r\n ",
"start": 4761,
"end": 4850,
"loc": {
"start": {
"line": 120,
"column": 4
},
"end": {
"line": 123,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 4856,
"end": 5109,
"loc": {
"start": {
"line": 124,
"column": 4
},
"end": {
"line": 129,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 4856,
"end": 4867,
"loc": {
"start": {
"line": 124,
"column": 4
},
"end": {
"line": 124,
"column": 15
},
"identifierName": "compute_XOR"
},
"name": "compute_XOR",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 4868,
"end": 4878,
"loc": {
"start": {
"line": 124,
"column": 16
},
"end": {
"line": 124,
"column": 26
},
"identifierName": "parameters"
},
"name": "parameters"
}
],
"body": {
"type": "BlockStatement",
"start": 4880,
"end": 5109,
"loc": {
"start": {
"line": 124,
"column": 28
},
"end": {
"line": 129,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 4891,
"end": 4954,
"loc": {
"start": {
"line": 125,
"column": 8
},
"end": {
"line": 125,
"column": 71
}
},
"expression": {
"type": "CallExpression",
"start": 4891,
"end": 4953,
"loc": {
"start": {
"line": 125,
"column": 8
},
"end": {
"line": 125,
"column": 70
}
},
"callee": {
"type": "Identifier",
"start": 4891,
"end": 4897,
"loc": {
"start": {
"line": 125,
"column": 8
},
"end": {
"line": 125,
"column": 14
},
"identifierName": "assert"
},
"name": "assert"
},
"arguments": [
{
"type": "BinaryExpression",
"start": 4898,
"end": 4921,
"loc": {
"start": {
"line": 125,
"column": 15
},
"end": {
"line": 125,
"column": 38
}
},
"left": {
"type": "MemberExpression",
"start": 4898,
"end": 4915,
"loc": {
"start": {
"line": 125,
"column": 15
},
"end": {
"line": 125,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 4898,
"end": 4908,
"loc": {
"start": {
"line": 125,
"column": 15
},
"end": {
"line": 125,
"column": 25
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "Identifier",
"start": 4909,
"end": 4915,
"loc": {
"start": {
"line": 125,
"column": 26
},
"end": {
"line": 125,
"column": 32
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
},
"operator": "===",
"right": {
"type": "NumericLiteral",
"start": 4920,
"end": 4921,
"loc": {
"start": {
"line": 125,
"column": 37
},
"end": {
"line": 125,
"column": 38
}
},
"extra": {
"rawValue": 2,
"raw": "2"
},
"value": 2
}
},
{
"type": "StringLiteral",
"start": 4923,
"end": 4952,
"loc": {
"start": {
"line": 125,
"column": 40
},
"end": {
"line": 125,
"column": 69
}
},
"extra": {
"rawValue": "bad parameter count for XOR",
"raw": "\"bad parameter count for XOR\""
},
"value": "bad parameter count for XOR"
}
]
}
},
{
"type": "ReturnStatement",
"start": 4964,
"end": 5102,
"loc": {
"start": {
"line": 126,
"column": 8
},
"end": {
"line": 128,
"column": 33
}
},
"argument": {
"type": "ConditionalExpression",
"start": 4971,
"end": 5101,
"loc": {
"start": {
"line": 126,
"column": 15
},
"end": {
"line": 128,
"column": 32
}
},
"test": {
"type": "BinaryExpression",
"start": 4971,
"end": 5030,
"loc": {
"start": {
"line": 126,
"column": 15
},
"end": {
"line": 126,
"column": 74
}
},
"left": {
"type": "CallExpression",
"start": 4971,
"end": 4998,
"loc": {
"start": {
"line": 126,
"column": 15
},
"end": {
"line": 126,
"column": 42
}
},
"callee": {
"type": "Identifier",
"start": 4971,
"end": 4983,
"loc": {
"start": {
"line": 126,
"column": 15
},
"end": {
"line": 126,
"column": 27
},
"identifierName": "isTruthyItem"
},
"name": "isTruthyItem"
},
"arguments": [
{
"type": "MemberExpression",
"start": 4984,
"end": 4997,
"loc": {
"start": {
"line": 126,
"column": 28
},
"end": {
"line": 126,
"column": 41
}
},
"object": {
"type": "Identifier",
"start": 4984,
"end": 4994,
"loc": {
"start": {
"line": 126,
"column": 28
},
"end": {
"line": 126,
"column": 38
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "NumericLiteral",
"start": 4995,
"end": 4996,
"loc": {
"start": {
"line": 126,
"column": 39
},
"end": {
"line": 126,
"column": 40
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
}
]
},
"operator": "!==",
"right": {
"type": "CallExpression",
"start": 5003,
"end": 5030,
"loc": {
"start": {
"line": 126,
"column": 47
},
"end": {
"line": 126,
"column": 74
}
},
"callee": {
"type": "Identifier",
"start": 5003,
"end": 5015,
"loc": {
"start": {
"line": 126,
"column": 47
},
"end": {
"line": 126,
"column": 59
},
"identifierName": "isTruthyItem"
},
"name": "isTruthyItem"
},
"arguments": [
{
"type": "MemberExpression",
"start": 5016,
"end": 5029,
"loc": {
"start": {
"line": 126,
"column": 60
},
"end": {
"line": 126,
"column": 73
}
},
"object": {
"type": "Identifier",
"start": 5016,
"end": 5026,
"loc": {
"start": {
"line": 126,
"column": 60
},
"end": {
"line": 126,
"column": 70
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "NumericLiteral",
"start": 5027,
"end": 5028,
"loc": {
"start": {
"line": 126,
"column": 71
},
"end": {
"line": 126,
"column": 72
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"computed": true
}
]
}
},
"consequent": {
"type": "Identifier",
"start": 5046,
"end": 5065,
"loc": {
"start": {
"line": 127,
"column": 12
},
"end": {
"line": 127,
"column": 31
},
"identifierName": "BOOL_TRUE_SINGLETON"
},
"name": "BOOL_TRUE_SINGLETON"
},
"alternate": {
"type": "Identifier",
"start": 5081,
"end": 5101,
"loc": {
"start": {
"line": 128,
"column": 12
},
"end": {
"line": 128,
"column": 32
},
"identifierName": "BOOL_FALSE_SINGLETON"
},
"name": "BOOL_FALSE_SINGLETON"
}
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {Array<BaseItem|null>} parameters\r\n * @returns {BaseItem}\r\n ",
"start": 4761,
"end": 4850,
"loc": {
"start": {
"line": 120,
"column": 4
},
"end": {
"line": 123,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {Array<BaseItem|null>} parameters\r\n * @returns {BaseItem}\r\n ",
"start": 5117,
"end": 5206,
"loc": {
"start": {
"line": 131,
"column": 4
},
"end": {
"line": 134,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 5212,
"end": 5462,
"loc": {
"start": {
"line": 135,
"column": 4
},
"end": {
"line": 140,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 5212,
"end": 5222,
"loc": {
"start": {
"line": 135,
"column": 4
},
"end": {
"line": 135,
"column": 14
},
"identifierName": "compute_OR"
},
"name": "compute_OR",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 5223,
"end": 5233,
"loc": {
"start": {
"line": 135,
"column": 15
},
"end": {
"line": 135,
"column": 25
},
"identifierName": "parameters"
},
"name": "parameters"
}
],
"body": {
"type": "BlockStatement",
"start": 5235,
"end": 5462,
"loc": {
"start": {
"line": 135,
"column": 27
},
"end": {
"line": 140,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 5246,
"end": 5308,
"loc": {
"start": {
"line": 136,
"column": 8
},
"end": {
"line": 136,
"column": 70
}
},
"expression": {
"type": "CallExpression",
"start": 5246,
"end": 5307,
"loc": {
"start": {
"line": 136,
"column": 8
},
"end": {
"line": 136,
"column": 69
}
},
"callee": {
"type": "Identifier",
"start": 5246,
"end": 5252,
"loc": {
"start": {
"line": 136,
"column": 8
},
"end": {
"line": 136,
"column": 14
},
"identifierName": "assert"
},
"name": "assert"
},
"arguments": [
{
"type": "BinaryExpression",
"start": 5253,
"end": 5276,
"loc": {
"start": {
"line": 136,
"column": 15
},
"end": {
"line": 136,
"column": 38
}
},
"left": {
"type": "MemberExpression",
"start": 5253,
"end": 5270,
"loc": {
"start": {
"line": 136,
"column": 15
},
"end": {
"line": 136,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 5253,
"end": 5263,
"loc": {
"start": {
"line": 136,
"column": 15
},
"end": {
"line": 136,
"column": 25
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "Identifier",
"start": 5264,
"end": 5270,
"loc": {
"start": {
"line": 136,
"column": 26
},
"end": {
"line": 136,
"column": 32
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
},
"operator": "===",
"right": {
"type": "NumericLiteral",
"start": 5275,
"end": 5276,
"loc": {
"start": {
"line": 136,
"column": 37
},
"end": {
"line": 136,
"column": 38
}
},
"extra": {
"rawValue": 2,
"raw": "2"
},
"value": 2
}
},
{
"type": "StringLiteral",
"start": 5278,
"end": 5306,
"loc": {
"start": {
"line": 136,
"column": 40
},
"end": {
"line": 136,
"column": 68
}
},
"extra": {
"rawValue": "bad parameter count for OR",
"raw": "\"bad parameter count for OR\""
},
"value": "bad parameter count for OR"
}
]
}
},
{
"type": "ReturnStatement",
"start": 5318,
"end": 5455,
"loc": {
"start": {
"line": 137,
"column": 8
},
"end": {
"line": 139,
"column": 33
}
},
"argument": {
"type": "ConditionalExpression",
"start": 5325,
"end": 5454,
"loc": {
"start": {
"line": 137,
"column": 15
},
"end": {
"line": 139,
"column": 32
}
},
"test": {
"type": "LogicalExpression",
"start": 5325,
"end": 5383,
"loc": {
"start": {
"line": 137,
"column": 15
},
"end": {
"line": 137,
"column": 73
}
},
"left": {
"type": "CallExpression",
"start": 5325,
"end": 5352,
"loc": {
"start": {
"line": 137,
"column": 15
},
"end": {
"line": 137,
"column": 42
}
},
"callee": {
"type": "Identifier",
"start": 5325,
"end": 5337,
"loc": {
"start": {
"line": 137,
"column": 15
},
"end": {
"line": 137,
"column": 27
},
"identifierName": "isTruthyItem"
},
"name": "isTruthyItem"
},
"arguments": [
{
"type": "MemberExpression",
"start": 5338,
"end": 5351,
"loc": {
"start": {
"line": 137,
"column": 28
},
"end": {
"line": 137,
"column": 41
}
},
"object": {
"type": "Identifier",
"start": 5338,
"end": 5348,
"loc": {
"start": {
"line": 137,
"column": 28
},
"end": {
"line": 137,
"column": 38
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "NumericLiteral",
"start": 5349,
"end": 5350,
"loc": {
"start": {
"line": 137,
"column": 39
},
"end": {
"line": 137,
"column": 40
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
}
]
},
"operator": "||",
"right": {
"type": "CallExpression",
"start": 5356,
"end": 5383,
"loc": {
"start": {
"line": 137,
"column": 46
},
"end": {
"line": 137,
"column": 73
}
},
"callee": {
"type": "Identifier",
"start": 5356,
"end": 5368,
"loc": {
"start": {
"line": 137,
"column": 46
},
"end": {
"line": 137,
"column": 58
},
"identifierName": "isTruthyItem"
},
"name": "isTruthyItem"
},
"arguments": [
{
"type": "MemberExpression",
"start": 5369,
"end": 5382,
"loc": {
"start": {
"line": 137,
"column": 59
},
"end": {
"line": 137,
"column": 72
}
},
"object": {
"type": "Identifier",
"start": 5369,
"end": 5379,
"loc": {
"start": {
"line": 137,
"column": 59
},
"end": {
"line": 137,
"column": 69
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "NumericLiteral",
"start": 5380,
"end": 5381,
"loc": {
"start": {
"line": 137,
"column": 70
},
"end": {
"line": 137,
"column": 71
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"computed": true
}
]
}
},
"consequent": {
"type": "Identifier",
"start": 5399,
"end": 5418,
"loc": {
"start": {
"line": 138,
"column": 12
},
"end": {
"line": 138,
"column": 31
},
"identifierName": "BOOL_TRUE_SINGLETON"
},
"name": "BOOL_TRUE_SINGLETON"
},
"alternate": {
"type": "Identifier",
"start": 5434,
"end": 5454,
"loc": {
"start": {
"line": 139,
"column": 12
},
"end": {
"line": 139,
"column": 32
},
"identifierName": "BOOL_FALSE_SINGLETON"
},
"name": "BOOL_FALSE_SINGLETON"
}
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {Array<BaseItem|null>} parameters\r\n * @returns {BaseItem}\r\n ",
"start": 5117,
"end": 5206,
"loc": {
"start": {
"line": 131,
"column": 4
},
"end": {
"line": 134,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {Array<BaseItem|null>} parameters\r\n * @returns {BaseItem}\r\n ",
"start": 5470,
"end": 5559,
"loc": {
"start": {
"line": 142,
"column": 4
},
"end": {
"line": 145,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 5565,
"end": 5872,
"loc": {
"start": {
"line": 146,
"column": 4
},
"end": {
"line": 157,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 5565,
"end": 5575,
"loc": {
"start": {
"line": 146,
"column": 4
},
"end": {
"line": 146,
"column": 14
},
"identifierName": "compute_IF"
},
"name": "compute_IF",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 5576,
"end": 5586,
"loc": {
"start": {
"line": 146,
"column": 15
},
"end": {
"line": 146,
"column": 25
},
"identifierName": "parameters"
},
"name": "parameters"
}
],
"body": {
"type": "BlockStatement",
"start": 5588,
"end": 5872,
"loc": {
"start": {
"line": 146,
"column": 27
},
"end": {
"line": 157,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 5599,
"end": 5661,
"loc": {
"start": {
"line": 147,
"column": 8
},
"end": {
"line": 147,
"column": 70
}
},
"expression": {
"type": "CallExpression",
"start": 5599,
"end": 5660,
"loc": {
"start": {
"line": 147,
"column": 8
},
"end": {
"line": 147,
"column": 69
}
},
"callee": {
"type": "Identifier",
"start": 5599,
"end": 5605,
"loc": {
"start": {
"line": 147,
"column": 8
},
"end": {
"line": 147,
"column": 14
},
"identifierName": "assert"
},
"name": "assert"
},
"arguments": [
{
"type": "BinaryExpression",
"start": 5606,
"end": 5629,
"loc": {
"start": {
"line": 147,
"column": 15
},
"end": {
"line": 147,
"column": 38
}
},
"left": {
"type": "MemberExpression",
"start": 5606,
"end": 5623,
"loc": {
"start": {
"line": 147,
"column": 15
},
"end": {
"line": 147,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 5606,
"end": 5616,
"loc": {
"start": {
"line": 147,
"column": 15
},
"end": {
"line": 147,
"column": 25
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "Identifier",
"start": 5617,
"end": 5623,
"loc": {
"start": {
"line": 147,
"column": 26
},
"end": {
"line": 147,
"column": 32
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
},
"operator": "===",
"right": {
"type": "NumericLiteral",
"start": 5628,
"end": 5629,
"loc": {
"start": {
"line": 147,
"column": 37
},
"end": {
"line": 147,
"column": 38
}
},
"extra": {
"rawValue": 2,
"raw": "2"
},
"value": 2
}
},
{
"type": "StringLiteral",
"start": 5631,
"end": 5659,
"loc": {
"start": {
"line": 147,
"column": 40
},
"end": {
"line": 147,
"column": 68
}
},
"extra": {
"rawValue": "bad parameter count for IF",
"raw": "\"bad parameter count for IF\""
},
"value": "bad parameter count for IF"
}
]
}
},
{
"type": "VariableDeclaration",
"start": 5671,
"end": 5698,
"loc": {
"start": {
"line": 148,
"column": 8
},
"end": {
"line": 148,
"column": 35
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5677,
"end": 5697,
"loc": {
"start": {
"line": 148,
"column": 14
},
"end": {
"line": 148,
"column": 34
}
},
"id": {
"type": "Identifier",
"start": 5677,
"end": 5681,
"loc": {
"start": {
"line": 148,
"column": 14
},
"end": {
"line": 148,
"column": 18
},
"identifierName": "flag"
},
"name": "flag"
},
"init": {
"type": "MemberExpression",
"start": 5684,
"end": 5697,
"loc": {
"start": {
"line": 148,
"column": 21
},
"end": {
"line": 148,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 5684,
"end": 5694,
"loc": {
"start": {
"line": 148,
"column": 21
},
"end": {
"line": 148,
"column": 31
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "NumericLiteral",
"start": 5695,
"end": 5696,
"loc": {
"start": {
"line": 148,
"column": 32
},
"end": {
"line": 148,
"column": 33
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 5708,
"end": 5736,
"loc": {
"start": {
"line": 149,
"column": 8
},
"end": {
"line": 149,
"column": 36
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5714,
"end": 5735,
"loc": {
"start": {
"line": 149,
"column": 14
},
"end": {
"line": 149,
"column": 35
}
},
"id": {
"type": "Identifier",
"start": 5714,
"end": 5719,
"loc": {
"start": {
"line": 149,
"column": 14
},
"end": {
"line": 149,
"column": 19
},
"identifierName": "value"
},
"name": "value"
},
"init": {
"type": "MemberExpression",
"start": 5722,
"end": 5735,
"loc": {
"start": {
"line": 149,
"column": 22
},
"end": {
"line": 149,
"column": 35
}
},
"object": {
"type": "Identifier",
"start": 5722,
"end": 5732,
"loc": {
"start": {
"line": 149,
"column": 22
},
"end": {
"line": 149,
"column": 32
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "NumericLiteral",
"start": 5733,
"end": 5734,
"loc": {
"start": {
"line": 149,
"column": 33
},
"end": {
"line": 149,
"column": 34
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"computed": true
}
}
],
"kind": "const",
"trailingComments": [
{
"type": "CommentLine",
"value": " pass through item",
"start": 5748,
"end": 5768,
"loc": {
"start": {
"line": 151,
"column": 8
},
"end": {
"line": 151,
"column": 28
}
}
}
]
},
{
"type": "IfStatement",
"start": 5778,
"end": 5841,
"loc": {
"start": {
"line": 152,
"column": 8
},
"end": {
"line": 154,
"column": 9
}
},
"test": {
"type": "CallExpression",
"start": 5782,
"end": 5800,
"loc": {
"start": {
"line": 152,
"column": 12
},
"end": {
"line": 152,
"column": 30
}
},
"callee": {
"type": "Identifier",
"start": 5782,
"end": 5794,
"loc": {
"start": {
"line": 152,
"column": 12
},
"end": {
"line": 152,
"column": 24
},
"identifierName": "isTruthyItem"
},
"name": "isTruthyItem",
"leadingComments": null
},
"arguments": [
{
"type": "Identifier",
"start": 5795,
"end": 5799,
"loc": {
"start": {
"line": 152,
"column": 25
},
"end": {
"line": 152,
"column": 29
},
"identifierName": "flag"
},
"name": "flag"
}
],
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 5802,
"end": 5841,
"loc": {
"start": {
"line": 152,
"column": 32
},
"end": {
"line": 154,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 5817,
"end": 5830,
"loc": {
"start": {
"line": 153,
"column": 12
},
"end": {
"line": 153,
"column": 25
}
},
"argument": {
"type": "Identifier",
"start": 5824,
"end": 5829,
"loc": {
"start": {
"line": 153,
"column": 19
},
"end": {
"line": 153,
"column": 24
},
"identifierName": "value"
},
"name": "value"
}
}
],
"directives": []
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " pass through item",
"start": 5748,
"end": 5768,
"loc": {
"start": {
"line": 151,
"column": 8
},
"end": {
"line": 151,
"column": 28
}
}
}
]
},
{
"type": "ReturnStatement",
"start": 5853,
"end": 5865,
"loc": {
"start": {
"line": 156,
"column": 8
},
"end": {
"line": 156,
"column": 20
}
},
"argument": {
"type": "NullLiteral",
"start": 5860,
"end": 5864,
"loc": {
"start": {
"line": 156,
"column": 15
},
"end": {
"line": 156,
"column": 19
}
}
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {Array<BaseItem|null>} parameters\r\n * @returns {BaseItem}\r\n ",
"start": 5470,
"end": 5559,
"loc": {
"start": {
"line": 142,
"column": 4
},
"end": {
"line": 145,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {Array<BaseItem|null>} parameters\r\n * @returns {BaseItem}\r\n ",
"start": 5880,
"end": 5969,
"loc": {
"start": {
"line": 159,
"column": 4
},
"end": {
"line": 162,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 5975,
"end": 6435,
"loc": {
"start": {
"line": 163,
"column": 4
},
"end": {
"line": 173,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 5975,
"end": 5989,
"loc": {
"start": {
"line": 163,
"column": 4
},
"end": {
"line": 163,
"column": 18
},
"identifierName": "compute_ROTATE"
},
"name": "compute_ROTATE",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 5990,
"end": 6000,
"loc": {
"start": {
"line": 163,
"column": 19
},
"end": {
"line": 163,
"column": 29
},
"identifierName": "parameters"
},
"name": "parameters"
}
],
"body": {
"type": "BlockStatement",
"start": 6002,
"end": 6435,
"loc": {
"start": {
"line": 163,
"column": 31
},
"end": {
"line": 173,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 6013,
"end": 6040,
"loc": {
"start": {
"line": 164,
"column": 8
},
"end": {
"line": 164,
"column": 35
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6019,
"end": 6039,
"loc": {
"start": {
"line": 164,
"column": 14
},
"end": {
"line": 164,
"column": 34
}
},
"id": {
"type": "Identifier",
"start": 6019,
"end": 6023,
"loc": {
"start": {
"line": 164,
"column": 14
},
"end": {
"line": 164,
"column": 18
},
"identifierName": "item"
},
"name": "item"
},
"init": {
"type": "MemberExpression",
"start": 6026,
"end": 6039,
"loc": {
"start": {
"line": 164,
"column": 21
},
"end": {
"line": 164,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 6026,
"end": 6036,
"loc": {
"start": {
"line": 164,
"column": 21
},
"end": {
"line": 164,
"column": 31
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "NumericLiteral",
"start": 6037,
"end": 6038,
"loc": {
"start": {
"line": 164,
"column": 32
},
"end": {
"line": 164,
"column": 33
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 6050,
"end": 6161,
"loc": {
"start": {
"line": 165,
"column": 8
},
"end": {
"line": 168,
"column": 9
}
},
"test": {
"type": "LogicalExpression",
"start": 6054,
"end": 6093,
"loc": {
"start": {
"line": 165,
"column": 12
},
"end": {
"line": 165,
"column": 51
}
},
"left": {
"type": "UnaryExpression",
"start": 6054,
"end": 6059,
"loc": {
"start": {
"line": 165,
"column": 12
},
"end": {
"line": 165,
"column": 17
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 6055,
"end": 6059,
"loc": {
"start": {
"line": 165,
"column": 13
},
"end": {
"line": 165,
"column": 17
},
"identifierName": "item"
},
"name": "item"
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "||",
"right": {
"type": "BinaryExpression",
"start": 6063,
"end": 6093,
"loc": {
"start": {
"line": 165,
"column": 21
},
"end": {
"line": 165,
"column": 51
}
},
"left": {
"type": "CallExpression",
"start": 6063,
"end": 6081,
"loc": {
"start": {
"line": 165,
"column": 21
},
"end": {
"line": 165,
"column": 39
}
},
"callee": {
"type": "MemberExpression",
"start": 6063,
"end": 6079,
"loc": {
"start": {
"line": 165,
"column": 21
},
"end": {
"line": 165,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 6063,
"end": 6067,
"loc": {
"start": {
"line": 165,
"column": 21
},
"end": {
"line": 165,
"column": 25
},
"identifierName": "item"
},
"name": "item"
},
"property": {
"type": "Identifier",
"start": 6068,
"end": 6079,
"loc": {
"start": {
"line": 165,
"column": 26
},
"end": {
"line": 165,
"column": 37
},
"identifierName": "getItemType"
},
"name": "getItemType"
},
"computed": false
},
"arguments": []
},
"operator": "!==",
"right": {
"type": "StringLiteral",
"start": 6086,
"end": 6093,
"loc": {
"start": {
"line": 165,
"column": 44
},
"end": {
"line": 165,
"column": 51
}
},
"extra": {
"rawValue": "shape",
"raw": "\"shape\""
},
"value": "shape"
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 6095,
"end": 6161,
"loc": {
"start": {
"line": 165,
"column": 53
},
"end": {
"line": 168,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 6138,
"end": 6150,
"loc": {
"start": {
"line": 167,
"column": 12
},
"end": {
"line": 167,
"column": 24
}
},
"argument": {
"type": "NullLiteral",
"start": 6145,
"end": 6149,
"loc": {
"start": {
"line": 167,
"column": 19
},
"end": {
"line": 167,
"column": 23
}
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Not a shape",
"start": 6110,
"end": 6124,
"loc": {
"start": {
"line": 166,
"column": 12
},
"end": {
"line": 166,
"column": 26
}
}
}
]
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 6173,
"end": 6235,
"loc": {
"start": {
"line": 170,
"column": 8
},
"end": {
"line": 170,
"column": 70
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6179,
"end": 6234,
"loc": {
"start": {
"line": 170,
"column": 14
},
"end": {
"line": 170,
"column": 69
}
},
"id": {
"type": "Identifier",
"start": 6179,
"end": 6189,
"loc": {
"start": {
"line": 170,
"column": 14
},
"end": {
"line": 170,
"column": 24
},
"identifierName": "definition"
},
"name": "definition"
},
"init": {
"type": "MemberExpression",
"start": 6217,
"end": 6234,
"loc": {
"start": {
"line": 170,
"column": 52
},
"end": {
"line": 170,
"column": 69
}
},
"object": {
"type": "Identifier",
"start": 6218,
"end": 6222,
"loc": {
"start": {
"line": 170,
"column": 53
},
"end": {
"line": 170,
"column": 57
},
"identifierName": "item"
},
"name": "item",
"leadingComments": null,
"extra": {
"parenthesized": true,
"parenStart": 6217
}
},
"property": {
"type": "Identifier",
"start": 6224,
"end": 6234,
"loc": {
"start": {
"line": 170,
"column": 59
},
"end": {
"line": 170,
"column": 69
},
"identifierName": "definition"
},
"name": "definition"
},
"computed": false,
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @type {ShapeItem} ",
"start": 6192,
"end": 6216,
"loc": {
"start": {
"line": 170,
"column": 27
},
"end": {
"line": 170,
"column": 51
}
}
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 6245,
"end": 6334,
"loc": {
"start": {
"line": 171,
"column": 8
},
"end": {
"line": 171,
"column": 97
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6251,
"end": 6333,
"loc": {
"start": {
"line": 171,
"column": 14
},
"end": {
"line": 171,
"column": 96
}
},
"id": {
"type": "Identifier",
"start": 6251,
"end": 6270,
"loc": {
"start": {
"line": 171,
"column": 14
},
"end": {
"line": 171,
"column": 33
},
"identifierName": "rotatedDefinitionCW"
},
"name": "rotatedDefinitionCW"
},
"init": {
"type": "CallExpression",
"start": 6273,
"end": 6333,
"loc": {
"start": {
"line": 171,
"column": 36
},
"end": {
"line": 171,
"column": 96
}
},
"callee": {
"type": "MemberExpression",
"start": 6273,
"end": 6321,
"loc": {
"start": {
"line": 171,
"column": 36
},
"end": {
"line": 171,
"column": 84
}
},
"object": {
"type": "MemberExpression",
"start": 6273,
"end": 6301,
"loc": {
"start": {
"line": 171,
"column": 36
},
"end": {
"line": 171,
"column": 64
}
},
"object": {
"type": "MemberExpression",
"start": 6273,
"end": 6282,
"loc": {
"start": {
"line": 171,
"column": 36
},
"end": {
"line": 171,
"column": 45
}
},
"object": {
"type": "ThisExpression",
"start": 6273,
"end": 6277,
"loc": {
"start": {
"line": 171,
"column": 36
},
"end": {
"line": 171,
"column": 40
}
}
},
"property": {
"type": "Identifier",
"start": 6278,
"end": 6282,
"loc": {
"start": {
"line": 171,
"column": 41
},
"end": {
"line": 171,
"column": 45
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6283,
"end": 6301,
"loc": {
"start": {
"line": 171,
"column": 46
},
"end": {
"line": 171,
"column": 64
},
"identifierName": "shapeDefinitionMgr"
},
"name": "shapeDefinitionMgr"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6302,
"end": 6321,
"loc": {
"start": {
"line": 171,
"column": 65
},
"end": {
"line": 171,
"column": 84
},
"identifierName": "shapeActionRotateCW"
},
"name": "shapeActionRotateCW"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 6322,
"end": 6332,
"loc": {
"start": {
"line": 171,
"column": 85
},
"end": {
"line": 171,
"column": 95
},
"identifierName": "definition"
},
"name": "definition"
}
]
}
}
],
"kind": "const"
},
{
"type": "ReturnStatement",
"start": 6344,
"end": 6428,
"loc": {
"start": {
"line": 172,
"column": 8
},
"end": {
"line": 172,
"column": 92
}
},
"argument": {
"type": "CallExpression",
"start": 6351,
"end": 6427,
"loc": {
"start": {
"line": 172,
"column": 15
},
"end": {
"line": 172,
"column": 91
}
},
"callee": {
"type": "MemberExpression",
"start": 6351,
"end": 6406,
"loc": {
"start": {
"line": 172,
"column": 15
},
"end": {
"line": 172,
"column": 70
}
},
"object": {
"type": "MemberExpression",
"start": 6351,
"end": 6379,
"loc": {
"start": {
"line": 172,
"column": 15
},
"end": {
"line": 172,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 6351,
"end": 6360,
"loc": {
"start": {
"line": 172,
"column": 15
},
"end": {
"line": 172,
"column": 24
}
},
"object": {
"type": "ThisExpression",
"start": 6351,
"end": 6355,
"loc": {
"start": {
"line": 172,
"column": 15
},
"end": {
"line": 172,
"column": 19
}
}
},
"property": {
"type": "Identifier",
"start": 6356,
"end": 6360,
"loc": {
"start": {
"line": 172,
"column": 20
},
"end": {
"line": 172,
"column": 24
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6361,
"end": 6379,
"loc": {
"start": {
"line": 172,
"column": 25
},
"end": {
"line": 172,
"column": 43
},
"identifierName": "shapeDefinitionMgr"
},
"name": "shapeDefinitionMgr"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6380,
"end": 6406,
"loc": {
"start": {
"line": 172,
"column": 44
},
"end": {
"line": 172,
"column": 70
},
"identifierName": "getShapeItemFromDefinition"
},
"name": "getShapeItemFromDefinition"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 6407,
"end": 6426,
"loc": {
"start": {
"line": 172,
"column": 71
},
"end": {
"line": 172,
"column": 90
},
"identifierName": "rotatedDefinitionCW"
},
"name": "rotatedDefinitionCW"
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {Array<BaseItem|null>} parameters\r\n * @returns {BaseItem}\r\n ",
"start": 5880,
"end": 5969,
"loc": {
"start": {
"line": 159,
"column": 4
},
"end": {
"line": 162,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {Array<BaseItem|null>} parameters\r\n * @returns {[BaseItem, BaseItem]}\r\n ",
"start": 6443,
"end": 6544,
"loc": {
"start": {
"line": 175,
"column": 4
},
"end": {
"line": 178,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 6550,
"end": 7860,
"loc": {
"start": {
"line": 179,
"column": 4
},
"end": {
"line": 213,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 6550,
"end": 6565,
"loc": {
"start": {
"line": 179,
"column": 4
},
"end": {
"line": 179,
"column": 19
},
"identifierName": "compute_ANALYZE"
},
"name": "compute_ANALYZE",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 6566,
"end": 6576,
"loc": {
"start": {
"line": 179,
"column": 20
},
"end": {
"line": 179,
"column": 30
},
"identifierName": "parameters"
},
"name": "parameters"
}
],
"body": {
"type": "BlockStatement",
"start": 6578,
"end": 7860,
"loc": {
"start": {
"line": 179,
"column": 32
},
"end": {
"line": 213,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 6589,
"end": 6616,
"loc": {
"start": {
"line": 180,
"column": 8
},
"end": {
"line": 180,
"column": 35
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6595,
"end": 6615,
"loc": {
"start": {
"line": 180,
"column": 14
},
"end": {
"line": 180,
"column": 34
}
},
"id": {
"type": "Identifier",
"start": 6595,
"end": 6599,
"loc": {
"start": {
"line": 180,
"column": 14
},
"end": {
"line": 180,
"column": 18
},
"identifierName": "item"
},
"name": "item"
},
"init": {
"type": "MemberExpression",
"start": 6602,
"end": 6615,
"loc": {
"start": {
"line": 180,
"column": 21
},
"end": {
"line": 180,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 6602,
"end": 6612,
"loc": {
"start": {
"line": 180,
"column": 21
},
"end": {
"line": 180,
"column": 31
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "NumericLiteral",
"start": 6613,
"end": 6614,
"loc": {
"start": {
"line": 180,
"column": 32
},
"end": {
"line": 180,
"column": 33
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 6626,
"end": 6745,
"loc": {
"start": {
"line": 181,
"column": 8
},
"end": {
"line": 184,
"column": 9
}
},
"test": {
"type": "LogicalExpression",
"start": 6630,
"end": 6669,
"loc": {
"start": {
"line": 181,
"column": 12
},
"end": {
"line": 181,
"column": 51
}
},
"left": {
"type": "UnaryExpression",
"start": 6630,
"end": 6635,
"loc": {
"start": {
"line": 181,
"column": 12
},
"end": {
"line": 181,
"column": 17
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 6631,
"end": 6635,
"loc": {
"start": {
"line": 181,
"column": 13
},
"end": {
"line": 181,
"column": 17
},
"identifierName": "item"
},
"name": "item"
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "||",
"right": {
"type": "BinaryExpression",
"start": 6639,
"end": 6669,
"loc": {
"start": {
"line": 181,
"column": 21
},
"end": {
"line": 181,
"column": 51
}
},
"left": {
"type": "CallExpression",
"start": 6639,
"end": 6657,
"loc": {
"start": {
"line": 181,
"column": 21
},
"end": {
"line": 181,
"column": 39
}
},
"callee": {
"type": "MemberExpression",
"start": 6639,
"end": 6655,
"loc": {
"start": {
"line": 181,
"column": 21
},
"end": {
"line": 181,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 6639,
"end": 6643,
"loc": {
"start": {
"line": 181,
"column": 21
},
"end": {
"line": 181,
"column": 25
},
"identifierName": "item"
},
"name": "item"
},
"property": {
"type": "Identifier",
"start": 6644,
"end": 6655,
"loc": {
"start": {
"line": 181,
"column": 26
},
"end": {
"line": 181,
"column": 37
},
"identifierName": "getItemType"
},
"name": "getItemType"
},
"computed": false
},
"arguments": []
},
"operator": "!==",
"right": {
"type": "StringLiteral",
"start": 6662,
"end": 6669,
"loc": {
"start": {
"line": 181,
"column": 44
},
"end": {
"line": 181,
"column": 51
}
},
"extra": {
"rawValue": "shape",
"raw": "\"shape\""
},
"value": "shape"
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 6671,
"end": 6745,
"loc": {
"start": {
"line": 181,
"column": 53
},
"end": {
"line": 184,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 6714,
"end": 6734,
"loc": {
"start": {
"line": 183,
"column": 12
},
"end": {
"line": 183,
"column": 32
}
},
"argument": {
"type": "ArrayExpression",
"start": 6721,
"end": 6733,
"loc": {
"start": {
"line": 183,
"column": 19
},
"end": {
"line": 183,
"column": 31
}
},
"elements": [
{
"type": "NullLiteral",
"start": 6722,
"end": 6726,
"loc": {
"start": {
"line": 183,
"column": 20
},
"end": {
"line": 183,
"column": 24
}
},
"leadingComments": null
},
{
"type": "NullLiteral",
"start": 6728,
"end": 6732,
"loc": {
"start": {
"line": 183,
"column": 26
},
"end": {
"line": 183,
"column": 30
}
}
}
],
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Not a shape",
"start": 6686,
"end": 6700,
"loc": {
"start": {
"line": 182,
"column": 12
},
"end": {
"line": 182,
"column": 26
}
}
}
]
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 6757,
"end": 6819,
"loc": {
"start": {
"line": 186,
"column": 8
},
"end": {
"line": 186,
"column": 70
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6763,
"end": 6818,
"loc": {
"start": {
"line": 186,
"column": 14
},
"end": {
"line": 186,
"column": 69
}
},
"id": {
"type": "Identifier",
"start": 6763,
"end": 6773,
"loc": {
"start": {
"line": 186,
"column": 14
},
"end": {
"line": 186,
"column": 24
},
"identifierName": "definition"
},
"name": "definition"
},
"init": {
"type": "MemberExpression",
"start": 6801,
"end": 6818,
"loc": {
"start": {
"line": 186,
"column": 52
},
"end": {
"line": 186,
"column": 69
}
},
"object": {
"type": "Identifier",
"start": 6802,
"end": 6806,
"loc": {
"start": {
"line": 186,
"column": 53
},
"end": {
"line": 186,
"column": 57
},
"identifierName": "item"
},
"name": "item",
"leadingComments": null,
"extra": {
"parenthesized": true,
"parenStart": 6801
}
},
"property": {
"type": "Identifier",
"start": 6808,
"end": 6818,
"loc": {
"start": {
"line": 186,
"column": 59
},
"end": {
"line": 186,
"column": 69
},
"identifierName": "definition"
},
"name": "definition"
},
"computed": false,
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @type {ShapeItem} ",
"start": 6776,
"end": 6800,
"loc": {
"start": {
"line": 186,
"column": 27
},
"end": {
"line": 186,
"column": 51
}
}
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 6829,
"end": 6927,
"loc": {
"start": {
"line": 187,
"column": 8
},
"end": {
"line": 187,
"column": 106
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6835,
"end": 6926,
"loc": {
"start": {
"line": 187,
"column": 14
},
"end": {
"line": 187,
"column": 105
}
},
"id": {
"type": "Identifier",
"start": 6835,
"end": 6845,
"loc": {
"start": {
"line": 187,
"column": 14
},
"end": {
"line": 187,
"column": 24
},
"identifierName": "lowerLayer"
},
"name": "lowerLayer"
},
"init": {
"type": "MemberExpression",
"start": 6905,
"end": 6925,
"loc": {
"start": {
"line": 187,
"column": 84
},
"end": {
"line": 187,
"column": 104
}
},
"object": {
"type": "MemberExpression",
"start": 6905,
"end": 6922,
"loc": {
"start": {
"line": 187,
"column": 84
},
"end": {
"line": 187,
"column": 101
}
},
"object": {
"type": "Identifier",
"start": 6905,
"end": 6915,
"loc": {
"start": {
"line": 187,
"column": 84
},
"end": {
"line": 187,
"column": 94
},
"identifierName": "definition"
},
"name": "definition",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 6916,
"end": 6922,
"loc": {
"start": {
"line": 187,
"column": 95
},
"end": {
"line": 187,
"column": 101
},
"identifierName": "layers"
},
"name": "layers"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "NumericLiteral",
"start": 6923,
"end": 6924,
"loc": {
"start": {
"line": 187,
"column": 102
},
"end": {
"line": 187,
"column": 103
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true,
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @type {import(\"../shape_definition\").ShapeLayer} ",
"start": 6848,
"end": 6903,
"loc": {
"start": {
"line": 187,
"column": 27
},
"end": {
"line": 187,
"column": 82
}
}
}
],
"extra": {
"parenthesized": true,
"parenStart": 6904
}
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 6937,
"end": 7000,
"loc": {
"start": {
"line": 188,
"column": 8
},
"end": {
"line": 190,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 6941,
"end": 6952,
"loc": {
"start": {
"line": 188,
"column": 12
},
"end": {
"line": 188,
"column": 23
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 6942,
"end": 6952,
"loc": {
"start": {
"line": 188,
"column": 13
},
"end": {
"line": 188,
"column": 23
},
"identifierName": "lowerLayer"
},
"name": "lowerLayer"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 6954,
"end": 7000,
"loc": {
"start": {
"line": 188,
"column": 25
},
"end": {
"line": 190,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 6969,
"end": 6989,
"loc": {
"start": {
"line": 189,
"column": 12
},
"end": {
"line": 189,
"column": 32
}
},
"argument": {
"type": "ArrayExpression",
"start": 6976,
"end": 6988,
"loc": {
"start": {
"line": 189,
"column": 19
},
"end": {
"line": 189,
"column": 31
}
},
"elements": [
{
"type": "NullLiteral",
"start": 6977,
"end": 6981,
"loc": {
"start": {
"line": 189,
"column": 20
},
"end": {
"line": 189,
"column": 24
}
}
},
{
"type": "NullLiteral",
"start": 6983,
"end": 6987,
"loc": {
"start": {
"line": 189,
"column": 26
},
"end": {
"line": 189,
"column": 30
}
}
}
]
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 7012,
"end": 7050,
"loc": {
"start": {
"line": 192,
"column": 8
},
"end": {
"line": 192,
"column": 46
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 7018,
"end": 7049,
"loc": {
"start": {
"line": 192,
"column": 14
},
"end": {
"line": 192,
"column": 45
}
},
"id": {
"type": "Identifier",
"start": 7018,
"end": 7033,
"loc": {
"start": {
"line": 192,
"column": 14
},
"end": {
"line": 192,
"column": 29
},
"identifierName": "topRightContent"
},
"name": "topRightContent"
},
"init": {
"type": "MemberExpression",
"start": 7036,
"end": 7049,
"loc": {
"start": {
"line": 192,
"column": 32
},
"end": {
"line": 192,
"column": 45
}
},
"object": {
"type": "Identifier",
"start": 7036,
"end": 7046,
"loc": {
"start": {
"line": 192,
"column": 32
},
"end": {
"line": 192,
"column": 42
},
"identifierName": "lowerLayer"
},
"name": "lowerLayer"
},
"property": {
"type": "NumericLiteral",
"start": 7047,
"end": 7048,
"loc": {
"start": {
"line": 192,
"column": 43
},
"end": {
"line": 192,
"column": 44
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 7062,
"end": 7167,
"loc": {
"start": {
"line": 194,
"column": 8
},
"end": {
"line": 196,
"column": 9
}
},
"test": {
"type": "LogicalExpression",
"start": 7066,
"end": 7119,
"loc": {
"start": {
"line": 194,
"column": 12
},
"end": {
"line": 194,
"column": 65
}
},
"left": {
"type": "UnaryExpression",
"start": 7066,
"end": 7082,
"loc": {
"start": {
"line": 194,
"column": 12
},
"end": {
"line": 194,
"column": 28
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 7067,
"end": 7082,
"loc": {
"start": {
"line": 194,
"column": 13
},
"end": {
"line": 194,
"column": 28
},
"identifierName": "topRightContent"
},
"name": "topRightContent"
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "||",
"right": {
"type": "BinaryExpression",
"start": 7086,
"end": 7119,
"loc": {
"start": {
"line": 194,
"column": 32
},
"end": {
"line": 194,
"column": 65
}
},
"left": {
"type": "MemberExpression",
"start": 7086,
"end": 7110,
"loc": {
"start": {
"line": 194,
"column": 32
},
"end": {
"line": 194,
"column": 56
}
},
"object": {
"type": "Identifier",
"start": 7086,
"end": 7101,
"loc": {
"start": {
"line": 194,
"column": 32
},
"end": {
"line": 194,
"column": 47
},
"identifierName": "topRightContent"
},
"name": "topRightContent"
},
"property": {
"type": "Identifier",
"start": 7102,
"end": 7110,
"loc": {
"start": {
"line": 194,
"column": 48
},
"end": {
"line": 194,
"column": 56
},
"identifierName": "subShape"
},
"name": "subShape"
},
"computed": false
},
"operator": "===",
"right": {
"type": "NullLiteral",
"start": 7115,
"end": 7119,
"loc": {
"start": {
"line": 194,
"column": 61
},
"end": {
"line": 194,
"column": 65
}
}
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 7121,
"end": 7167,
"loc": {
"start": {
"line": 194,
"column": 67
},
"end": {
"line": 196,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 7136,
"end": 7156,
"loc": {
"start": {
"line": 195,
"column": 12
},
"end": {
"line": 195,
"column": 32
}
},
"argument": {
"type": "ArrayExpression",
"start": 7143,
"end": 7155,
"loc": {
"start": {
"line": 195,
"column": 19
},
"end": {
"line": 195,
"column": 31
}
},
"elements": [
{
"type": "NullLiteral",
"start": 7144,
"end": 7148,
"loc": {
"start": {
"line": 195,
"column": 20
},
"end": {
"line": 195,
"column": 24
}
}
},
{
"type": "NullLiteral",
"start": 7150,
"end": 7154,
"loc": {
"start": {
"line": 195,
"column": 26
},
"end": {
"line": 195,
"column": 30
}
}
}
]
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 7179,
"end": 7673,
"loc": {
"start": {
"line": 198,
"column": 8
},
"end": {
"line": 207,
"column": 11
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 7185,
"end": 7672,
"loc": {
"start": {
"line": 198,
"column": 14
},
"end": {
"line": 207,
"column": 10
}
},
"id": {
"type": "Identifier",
"start": 7185,
"end": 7198,
"loc": {
"start": {
"line": 198,
"column": 14
},
"end": {
"line": 198,
"column": 27
},
"identifierName": "newDefinition"
},
"name": "newDefinition"
},
"init": {
"type": "NewExpression",
"start": 7201,
"end": 7672,
"loc": {
"start": {
"line": 198,
"column": 30
},
"end": {
"line": 207,
"column": 10
}
},
"callee": {
"type": "Identifier",
"start": 7205,
"end": 7220,
"loc": {
"start": {
"line": 198,
"column": 34
},
"end": {
"line": 198,
"column": 49
},
"identifierName": "ShapeDefinition"
},
"name": "ShapeDefinition"
},
"arguments": [
{
"type": "ObjectExpression",
"start": 7221,
"end": 7671,
"loc": {
"start": {
"line": 198,
"column": 50
},
"end": {
"line": 207,
"column": 9
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 7236,
"end": 7659,
"loc": {
"start": {
"line": 199,
"column": 12
},
"end": {
"line": 206,
"column": 13
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 7236,
"end": 7242,
"loc": {
"start": {
"line": 199,
"column": 12
},
"end": {
"line": 199,
"column": 18
},
"identifierName": "layers"
},
"name": "layers"
},
"value": {
"type": "ArrayExpression",
"start": 7244,
"end": 7659,
"loc": {
"start": {
"line": 199,
"column": 20
},
"end": {
"line": 206,
"column": 13
}
},
"elements": [
{
"type": "ArrayExpression",
"start": 7263,
"end": 7643,
"loc": {
"start": {
"line": 200,
"column": 16
},
"end": {
"line": 205,
"column": 17
}
},
"elements": [
{
"type": "ObjectExpression",
"start": 7286,
"end": 7353,
"loc": {
"start": {
"line": 201,
"column": 20
},
"end": {
"line": 201,
"column": 87
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 7288,
"end": 7322,
"loc": {
"start": {
"line": 201,
"column": 22
},
"end": {
"line": 201,
"column": 56
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 7288,
"end": 7296,
"loc": {
"start": {
"line": 201,
"column": 22
},
"end": {
"line": 201,
"column": 30
},
"identifierName": "subShape"
},
"name": "subShape"
},
"value": {
"type": "MemberExpression",
"start": 7298,
"end": 7322,
"loc": {
"start": {
"line": 201,
"column": 32
},
"end": {
"line": 201,
"column": 56
}
},
"object": {
"type": "Identifier",
"start": 7298,
"end": 7313,
"loc": {
"start": {
"line": 201,
"column": 32
},
"end": {
"line": 201,
"column": 47
},
"identifierName": "topRightContent"
},
"name": "topRightContent"
},
"property": {
"type": "Identifier",
"start": 7314,
"end": 7322,
"loc": {
"start": {
"line": 201,
"column": 48
},
"end": {
"line": 201,
"column": 56
},
"identifierName": "subShape"
},
"name": "subShape"
},
"computed": false
}
},
{
"type": "ObjectProperty",
"start": 7324,
"end": 7351,
"loc": {
"start": {
"line": 201,
"column": 58
},
"end": {
"line": 201,
"column": 85
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 7324,
"end": 7329,
"loc": {
"start": {
"line": 201,
"column": 58
},
"end": {
"line": 201,
"column": 63
},
"identifierName": "color"
},
"name": "color"
},
"value": {
"type": "MemberExpression",
"start": 7331,
"end": 7351,
"loc": {
"start": {
"line": 201,
"column": 65
},
"end": {
"line": 201,
"column": 85
}
},
"object": {
"type": "Identifier",
"start": 7331,
"end": 7341,
"loc": {
"start": {
"line": 201,
"column": 65
},
"end": {
"line": 201,
"column": 75
},
"identifierName": "enumColors"
},
"name": "enumColors"
},
"property": {
"type": "Identifier",
"start": 7342,
"end": 7351,
"loc": {
"start": {
"line": 201,
"column": 76
},
"end": {
"line": 201,
"column": 85
},
"identifierName": "uncolored"
},
"name": "uncolored"
},
"computed": false
}
}
]
},
{
"type": "ObjectExpression",
"start": 7376,
"end": 7443,
"loc": {
"start": {
"line": 202,
"column": 20
},
"end": {
"line": 202,
"column": 87
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 7378,
"end": 7412,
"loc": {
"start": {
"line": 202,
"column": 22
},
"end": {
"line": 202,
"column": 56
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 7378,
"end": 7386,
"loc": {
"start": {
"line": 202,
"column": 22
},
"end": {
"line": 202,
"column": 30
},
"identifierName": "subShape"
},
"name": "subShape"
},
"value": {
"type": "MemberExpression",
"start": 7388,
"end": 7412,
"loc": {
"start": {
"line": 202,
"column": 32
},
"end": {
"line": 202,
"column": 56
}
},
"object": {
"type": "Identifier",
"start": 7388,
"end": 7403,
"loc": {
"start": {
"line": 202,
"column": 32
},
"end": {
"line": 202,
"column": 47
},
"identifierName": "topRightContent"
},
"name": "topRightContent"
},
"property": {
"type": "Identifier",
"start": 7404,
"end": 7412,
"loc": {
"start": {
"line": 202,
"column": 48
},
"end": {
"line": 202,
"column": 56
},
"identifierName": "subShape"
},
"name": "subShape"
},
"computed": false
}
},
{
"type": "ObjectProperty",
"start": 7414,
"end": 7441,
"loc": {
"start": {
"line": 202,
"column": 58
},
"end": {
"line": 202,
"column": 85
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 7414,
"end": 7419,
"loc": {
"start": {
"line": 202,
"column": 58
},
"end": {
"line": 202,
"column": 63
},
"identifierName": "color"
},
"name": "color"
},
"value": {
"type": "MemberExpression",
"start": 7421,
"end": 7441,
"loc": {
"start": {
"line": 202,
"column": 65
},
"end": {
"line": 202,
"column": 85
}
},
"object": {
"type": "Identifier",
"start": 7421,
"end": 7431,
"loc": {
"start": {
"line": 202,
"column": 65
},
"end": {
"line": 202,
"column": 75
},
"identifierName": "enumColors"
},
"name": "enumColors"
},
"property": {
"type": "Identifier",
"start": 7432,
"end": 7441,
"loc": {
"start": {
"line": 202,
"column": 76
},
"end": {
"line": 202,
"column": 85
},
"identifierName": "uncolored"
},
"name": "uncolored"
},
"computed": false
}
}
]
},
{
"type": "ObjectExpression",
"start": 7466,
"end": 7533,
"loc": {
"start": {
"line": 203,
"column": 20
},
"end": {
"line": 203,
"column": 87
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 7468,
"end": 7502,
"loc": {
"start": {
"line": 203,
"column": 22
},
"end": {
"line": 203,
"column": 56
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 7468,
"end": 7476,
"loc": {
"start": {
"line": 203,
"column": 22
},
"end": {
"line": 203,
"column": 30
},
"identifierName": "subShape"
},
"name": "subShape"
},
"value": {
"type": "MemberExpression",
"start": 7478,
"end": 7502,
"loc": {
"start": {
"line": 203,
"column": 32
},
"end": {
"line": 203,
"column": 56
}
},
"object": {
"type": "Identifier",
"start": 7478,
"end": 7493,
"loc": {
"start": {
"line": 203,
"column": 32
},
"end": {
"line": 203,
"column": 47
},
"identifierName": "topRightContent"
},
"name": "topRightContent"
},
"property": {
"type": "Identifier",
"start": 7494,
"end": 7502,
"loc": {
"start": {
"line": 203,
"column": 48
},
"end": {
"line": 203,
"column": 56
},
"identifierName": "subShape"
},
"name": "subShape"
},
"computed": false
}
},
{
"type": "ObjectProperty",
"start": 7504,
"end": 7531,
"loc": {
"start": {
"line": 203,
"column": 58
},
"end": {
"line": 203,
"column": 85
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 7504,
"end": 7509,
"loc": {
"start": {
"line": 203,
"column": 58
},
"end": {
"line": 203,
"column": 63
},
"identifierName": "color"
},
"name": "color"
},
"value": {
"type": "MemberExpression",
"start": 7511,
"end": 7531,
"loc": {
"start": {
"line": 203,
"column": 65
},
"end": {
"line": 203,
"column": 85
}
},
"object": {
"type": "Identifier",
"start": 7511,
"end": 7521,
"loc": {
"start": {
"line": 203,
"column": 65
},
"end": {
"line": 203,
"column": 75
},
"identifierName": "enumColors"
},
"name": "enumColors"
},
"property": {
"type": "Identifier",
"start": 7522,
"end": 7531,
"loc": {
"start": {
"line": 203,
"column": 76
},
"end": {
"line": 203,
"column": 85
},
"identifierName": "uncolored"
},
"name": "uncolored"
},
"computed": false
}
}
]
},
{
"type": "ObjectExpression",
"start": 7556,
"end": 7623,
"loc": {
"start": {
"line": 204,
"column": 20
},
"end": {
"line": 204,
"column": 87
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 7558,
"end": 7592,
"loc": {
"start": {
"line": 204,
"column": 22
},
"end": {
"line": 204,
"column": 56
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 7558,
"end": 7566,
"loc": {
"start": {
"line": 204,
"column": 22
},
"end": {
"line": 204,
"column": 30
},
"identifierName": "subShape"
},
"name": "subShape"
},
"value": {
"type": "MemberExpression",
"start": 7568,
"end": 7592,
"loc": {
"start": {
"line": 204,
"column": 32
},
"end": {
"line": 204,
"column": 56
}
},
"object": {
"type": "Identifier",
"start": 7568,
"end": 7583,
"loc": {
"start": {
"line": 204,
"column": 32
},
"end": {
"line": 204,
"column": 47
},
"identifierName": "topRightContent"
},
"name": "topRightContent"
},
"property": {
"type": "Identifier",
"start": 7584,
"end": 7592,
"loc": {
"start": {
"line": 204,
"column": 48
},
"end": {
"line": 204,
"column": 56
},
"identifierName": "subShape"
},
"name": "subShape"
},
"computed": false
}
},
{
"type": "ObjectProperty",
"start": 7594,
"end": 7621,
"loc": {
"start": {
"line": 204,
"column": 58
},
"end": {
"line": 204,
"column": 85
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 7594,
"end": 7599,
"loc": {
"start": {
"line": 204,
"column": 58
},
"end": {
"line": 204,
"column": 63
},
"identifierName": "color"
},
"name": "color"
},
"value": {
"type": "MemberExpression",
"start": 7601,
"end": 7621,
"loc": {
"start": {
"line": 204,
"column": 65
},
"end": {
"line": 204,
"column": 85
}
},
"object": {
"type": "Identifier",
"start": 7601,
"end": 7611,
"loc": {
"start": {
"line": 204,
"column": 65
},
"end": {
"line": 204,
"column": 75
},
"identifierName": "enumColors"
},
"name": "enumColors"
},
"property": {
"type": "Identifier",
"start": 7612,
"end": 7621,
"loc": {
"start": {
"line": 204,
"column": 76
},
"end": {
"line": 204,
"column": 85
},
"identifierName": "uncolored"
},
"name": "uncolored"
},
"computed": false
}
}
]
}
]
}
]
}
}
]
}
]
}
}
],
"kind": "const"
},
{
"type": "ReturnStatement",
"start": 7685,
"end": 7853,
"loc": {
"start": {
"line": 209,
"column": 8
},
"end": {
"line": 212,
"column": 10
}
},
"argument": {
"type": "ArrayExpression",
"start": 7692,
"end": 7852,
"loc": {
"start": {
"line": 209,
"column": 15
},
"end": {
"line": 212,
"column": 9
}
},
"elements": [
{
"type": "MemberExpression",
"start": 7707,
"end": 7755,
"loc": {
"start": {
"line": 210,
"column": 12
},
"end": {
"line": 210,
"column": 60
}
},
"object": {
"type": "MemberExpression",
"start": 7707,
"end": 7732,
"loc": {
"start": {
"line": 210,
"column": 12
},
"end": {
"line": 210,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 7707,
"end": 7716,
"loc": {
"start": {
"line": 210,
"column": 12
},
"end": {
"line": 210,
"column": 21
},
"identifierName": "ColorItem"
},
"name": "ColorItem"
},
"property": {
"type": "Identifier",
"start": 7717,
"end": 7732,
"loc": {
"start": {
"line": 210,
"column": 22
},
"end": {
"line": 210,
"column": 37
},
"identifierName": "ITEM_SINGLETONS"
},
"name": "ITEM_SINGLETONS"
},
"computed": false
},
"property": {
"type": "MemberExpression",
"start": 7733,
"end": 7754,
"loc": {
"start": {
"line": 210,
"column": 38
},
"end": {
"line": 210,
"column": 59
}
},
"object": {
"type": "Identifier",
"start": 7733,
"end": 7748,
"loc": {
"start": {
"line": 210,
"column": 38
},
"end": {
"line": 210,
"column": 53
},
"identifierName": "topRightContent"
},
"name": "topRightContent"
},
"property": {
"type": "Identifier",
"start": 7749,
"end": 7754,
"loc": {
"start": {
"line": 210,
"column": 54
},
"end": {
"line": 210,
"column": 59
},
"identifierName": "color"
},
"name": "color"
},
"computed": false
},
"computed": true
},
{
"type": "CallExpression",
"start": 7770,
"end": 7840,
"loc": {
"start": {
"line": 211,
"column": 12
},
"end": {
"line": 211,
"column": 82
}
},
"callee": {
"type": "MemberExpression",
"start": 7770,
"end": 7825,
"loc": {
"start": {
"line": 211,
"column": 12
},
"end": {
"line": 211,
"column": 67
}
},
"object": {
"type": "MemberExpression",
"start": 7770,
"end": 7798,
"loc": {
"start": {
"line": 211,
"column": 12
},
"end": {
"line": 211,
"column": 40
}
},
"object": {
"type": "MemberExpression",
"start": 7770,
"end": 7779,
"loc": {
"start": {
"line": 211,
"column": 12
},
"end": {
"line": 211,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 7770,
"end": 7774,
"loc": {
"start": {
"line": 211,
"column": 12
},
"end": {
"line": 211,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 7775,
"end": 7779,
"loc": {
"start": {
"line": 211,
"column": 17
},
"end": {
"line": 211,
"column": 21
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7780,
"end": 7798,
"loc": {
"start": {
"line": 211,
"column": 22
},
"end": {
"line": 211,
"column": 40
},
"identifierName": "shapeDefinitionMgr"
},
"name": "shapeDefinitionMgr"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7799,
"end": 7825,
"loc": {
"start": {
"line": 211,
"column": 41
},
"end": {
"line": 211,
"column": 67
},
"identifierName": "getShapeItemFromDefinition"
},
"name": "getShapeItemFromDefinition"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 7826,
"end": 7839,
"loc": {
"start": {
"line": 211,
"column": 68
},
"end": {
"line": 211,
"column": 81
},
"identifierName": "newDefinition"
},
"name": "newDefinition"
}
]
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {Array<BaseItem|null>} parameters\r\n * @returns {[BaseItem, BaseItem]}\r\n ",
"start": 6443,
"end": 6544,
"loc": {
"start": {
"line": 175,
"column": 4
},
"end": {
"line": 178,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {Array<BaseItem|null>} parameters\r\n * @returns {[BaseItem, BaseItem]}\r\n ",
"start": 7868,
"end": 7969,
"loc": {
"start": {
"line": 215,
"column": 4
},
"end": {
"line": 218,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 7975,
"end": 8650,
"loc": {
"start": {
"line": 219,
"column": 4
},
"end": {
"line": 236,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 7975,
"end": 7986,
"loc": {
"start": {
"line": 219,
"column": 4
},
"end": {
"line": 219,
"column": 15
},
"identifierName": "compute_CUT"
},
"name": "compute_CUT",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 7987,
"end": 7997,
"loc": {
"start": {
"line": 219,
"column": 16
},
"end": {
"line": 219,
"column": 26
},
"identifierName": "parameters"
},
"name": "parameters"
}
],
"body": {
"type": "BlockStatement",
"start": 7999,
"end": 8650,
"loc": {
"start": {
"line": 219,
"column": 28
},
"end": {
"line": 236,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 8010,
"end": 8037,
"loc": {
"start": {
"line": 220,
"column": 8
},
"end": {
"line": 220,
"column": 35
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 8016,
"end": 8036,
"loc": {
"start": {
"line": 220,
"column": 14
},
"end": {
"line": 220,
"column": 34
}
},
"id": {
"type": "Identifier",
"start": 8016,
"end": 8020,
"loc": {
"start": {
"line": 220,
"column": 14
},
"end": {
"line": 220,
"column": 18
},
"identifierName": "item"
},
"name": "item"
},
"init": {
"type": "MemberExpression",
"start": 8023,
"end": 8036,
"loc": {
"start": {
"line": 220,
"column": 21
},
"end": {
"line": 220,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 8023,
"end": 8033,
"loc": {
"start": {
"line": 220,
"column": 21
},
"end": {
"line": 220,
"column": 31
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "NumericLiteral",
"start": 8034,
"end": 8035,
"loc": {
"start": {
"line": 220,
"column": 32
},
"end": {
"line": 220,
"column": 33
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 8047,
"end": 8166,
"loc": {
"start": {
"line": 221,
"column": 8
},
"end": {
"line": 224,
"column": 9
}
},
"test": {
"type": "LogicalExpression",
"start": 8051,
"end": 8090,
"loc": {
"start": {
"line": 221,
"column": 12
},
"end": {
"line": 221,
"column": 51
}
},
"left": {
"type": "UnaryExpression",
"start": 8051,
"end": 8056,
"loc": {
"start": {
"line": 221,
"column": 12
},
"end": {
"line": 221,
"column": 17
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 8052,
"end": 8056,
"loc": {
"start": {
"line": 221,
"column": 13
},
"end": {
"line": 221,
"column": 17
},
"identifierName": "item"
},
"name": "item"
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "||",
"right": {
"type": "BinaryExpression",
"start": 8060,
"end": 8090,
"loc": {
"start": {
"line": 221,
"column": 21
},
"end": {
"line": 221,
"column": 51
}
},
"left": {
"type": "CallExpression",
"start": 8060,
"end": 8078,
"loc": {
"start": {
"line": 221,
"column": 21
},
"end": {
"line": 221,
"column": 39
}
},
"callee": {
"type": "MemberExpression",
"start": 8060,
"end": 8076,
"loc": {
"start": {
"line": 221,
"column": 21
},
"end": {
"line": 221,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 8060,
"end": 8064,
"loc": {
"start": {
"line": 221,
"column": 21
},
"end": {
"line": 221,
"column": 25
},
"identifierName": "item"
},
"name": "item"
},
"property": {
"type": "Identifier",
"start": 8065,
"end": 8076,
"loc": {
"start": {
"line": 221,
"column": 26
},
"end": {
"line": 221,
"column": 37
},
"identifierName": "getItemType"
},
"name": "getItemType"
},
"computed": false
},
"arguments": []
},
"operator": "!==",
"right": {
"type": "StringLiteral",
"start": 8083,
"end": 8090,
"loc": {
"start": {
"line": 221,
"column": 44
},
"end": {
"line": 221,
"column": 51
}
},
"extra": {
"rawValue": "shape",
"raw": "\"shape\""
},
"value": "shape"
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 8092,
"end": 8166,
"loc": {
"start": {
"line": 221,
"column": 53
},
"end": {
"line": 224,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 8135,
"end": 8155,
"loc": {
"start": {
"line": 223,
"column": 12
},
"end": {
"line": 223,
"column": 32
}
},
"argument": {
"type": "ArrayExpression",
"start": 8142,
"end": 8154,
"loc": {
"start": {
"line": 223,
"column": 19
},
"end": {
"line": 223,
"column": 31
}
},
"elements": [
{
"type": "NullLiteral",
"start": 8143,
"end": 8147,
"loc": {
"start": {
"line": 223,
"column": 20
},
"end": {
"line": 223,
"column": 24
}
},
"leadingComments": null
},
{
"type": "NullLiteral",
"start": 8149,
"end": 8153,
"loc": {
"start": {
"line": 223,
"column": 26
},
"end": {
"line": 223,
"column": 30
}
}
}
],
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Not a shape",
"start": 8107,
"end": 8121,
"loc": {
"start": {
"line": 222,
"column": 12
},
"end": {
"line": 222,
"column": 26
}
}
}
]
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 8178,
"end": 8240,
"loc": {
"start": {
"line": 226,
"column": 8
},
"end": {
"line": 226,
"column": 70
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 8184,
"end": 8239,
"loc": {
"start": {
"line": 226,
"column": 14
},
"end": {
"line": 226,
"column": 69
}
},
"id": {
"type": "Identifier",
"start": 8184,
"end": 8194,
"loc": {
"start": {
"line": 226,
"column": 14
},
"end": {
"line": 226,
"column": 24
},
"identifierName": "definition"
},
"name": "definition"
},
"init": {
"type": "MemberExpression",
"start": 8222,
"end": 8239,
"loc": {
"start": {
"line": 226,
"column": 52
},
"end": {
"line": 226,
"column": 69
}
},
"object": {
"type": "Identifier",
"start": 8223,
"end": 8227,
"loc": {
"start": {
"line": 226,
"column": 53
},
"end": {
"line": 226,
"column": 57
},
"identifierName": "item"
},
"name": "item",
"leadingComments": null,
"extra": {
"parenthesized": true,
"parenStart": 8222
}
},
"property": {
"type": "Identifier",
"start": 8229,
"end": 8239,
"loc": {
"start": {
"line": 226,
"column": 59
},
"end": {
"line": 226,
"column": 69
},
"identifierName": "definition"
},
"name": "definition"
},
"computed": false,
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @type {ShapeItem} ",
"start": 8197,
"end": 8221,
"loc": {
"start": {
"line": 226,
"column": 27
},
"end": {
"line": 226,
"column": 51
}
}
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 8250,
"end": 8325,
"loc": {
"start": {
"line": 227,
"column": 8
},
"end": {
"line": 227,
"column": 83
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 8256,
"end": 8324,
"loc": {
"start": {
"line": 227,
"column": 14
},
"end": {
"line": 227,
"column": 82
}
},
"id": {
"type": "Identifier",
"start": 8256,
"end": 8262,
"loc": {
"start": {
"line": 227,
"column": 14
},
"end": {
"line": 227,
"column": 20
},
"identifierName": "result"
},
"name": "result"
},
"init": {
"type": "CallExpression",
"start": 8265,
"end": 8324,
"loc": {
"start": {
"line": 227,
"column": 23
},
"end": {
"line": 227,
"column": 82
}
},
"callee": {
"type": "MemberExpression",
"start": 8265,
"end": 8312,
"loc": {
"start": {
"line": 227,
"column": 23
},
"end": {
"line": 227,
"column": 70
}
},
"object": {
"type": "MemberExpression",
"start": 8265,
"end": 8293,
"loc": {
"start": {
"line": 227,
"column": 23
},
"end": {
"line": 227,
"column": 51
}
},
"object": {
"type": "MemberExpression",
"start": 8265,
"end": 8274,
"loc": {
"start": {
"line": 227,
"column": 23
},
"end": {
"line": 227,
"column": 32
}
},
"object": {
"type": "ThisExpression",
"start": 8265,
"end": 8269,
"loc": {
"start": {
"line": 227,
"column": 23
},
"end": {
"line": 227,
"column": 27
}
}
},
"property": {
"type": "Identifier",
"start": 8270,
"end": 8274,
"loc": {
"start": {
"line": 227,
"column": 28
},
"end": {
"line": 227,
"column": 32
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 8275,
"end": 8293,
"loc": {
"start": {
"line": 227,
"column": 33
},
"end": {
"line": 227,
"column": 51
},
"identifierName": "shapeDefinitionMgr"
},
"name": "shapeDefinitionMgr"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 8294,
"end": 8312,
"loc": {
"start": {
"line": 227,
"column": 52
},
"end": {
"line": 227,
"column": 70
},
"identifierName": "shapeActionCutHalf"
},
"name": "shapeActionCutHalf"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 8313,
"end": 8323,
"loc": {
"start": {
"line": 227,
"column": 71
},
"end": {
"line": 227,
"column": 81
},
"identifierName": "definition"
},
"name": "definition"
}
]
}
}
],
"kind": "const"
},
{
"type": "ReturnStatement",
"start": 8335,
"end": 8643,
"loc": {
"start": {
"line": 228,
"column": 8
},
"end": {
"line": 235,
"column": 10
}
},
"argument": {
"type": "ArrayExpression",
"start": 8342,
"end": 8642,
"loc": {
"start": {
"line": 228,
"column": 15
},
"end": {
"line": 235,
"column": 9
}
},
"elements": [
{
"type": "ConditionalExpression",
"start": 8357,
"end": 8486,
"loc": {
"start": {
"line": 229,
"column": 12
},
"end": {
"line": 231,
"column": 78
}
},
"test": {
"type": "CallExpression",
"start": 8357,
"end": 8384,
"loc": {
"start": {
"line": 229,
"column": 12
},
"end": {
"line": 229,
"column": 39
}
},
"callee": {
"type": "MemberExpression",
"start": 8357,
"end": 8382,
"loc": {
"start": {
"line": 229,
"column": 12
},
"end": {
"line": 229,
"column": 37
}
},
"object": {
"type": "MemberExpression",
"start": 8357,
"end": 8366,
"loc": {
"start": {
"line": 229,
"column": 12
},
"end": {
"line": 229,
"column": 21
}
},
"object": {
"type": "Identifier",
"start": 8357,
"end": 8363,
"loc": {
"start": {
"line": 229,
"column": 12
},
"end": {
"line": 229,
"column": 18
},
"identifierName": "result"
},
"name": "result"
},
"property": {
"type": "NumericLiteral",
"start": 8364,
"end": 8365,
"loc": {
"start": {
"line": 229,
"column": 19
},
"end": {
"line": 229,
"column": 20
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
},
"property": {
"type": "Identifier",
"start": 8367,
"end": 8382,
"loc": {
"start": {
"line": 229,
"column": 22
},
"end": {
"line": 229,
"column": 37
},
"identifierName": "isEntirelyEmpty"
},
"name": "isEntirelyEmpty"
},
"computed": false
},
"arguments": []
},
"consequent": {
"type": "NullLiteral",
"start": 8400,
"end": 8404,
"loc": {
"start": {
"line": 230,
"column": 12
},
"end": {
"line": 230,
"column": 16
}
}
},
"alternate": {
"type": "CallExpression",
"start": 8420,
"end": 8486,
"loc": {
"start": {
"line": 231,
"column": 12
},
"end": {
"line": 231,
"column": 78
}
},
"callee": {
"type": "MemberExpression",
"start": 8420,
"end": 8475,
"loc": {
"start": {
"line": 231,
"column": 12
},
"end": {
"line": 231,
"column": 67
}
},
"object": {
"type": "MemberExpression",
"start": 8420,
"end": 8448,
"loc": {
"start": {
"line": 231,
"column": 12
},
"end": {
"line": 231,
"column": 40
}
},
"object": {
"type": "MemberExpression",
"start": 8420,
"end": 8429,
"loc": {
"start": {
"line": 231,
"column": 12
},
"end": {
"line": 231,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 8420,
"end": 8424,
"loc": {
"start": {
"line": 231,
"column": 12
},
"end": {
"line": 231,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 8425,
"end": 8429,
"loc": {
"start": {
"line": 231,
"column": 17
},
"end": {
"line": 231,
"column": 21
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 8430,
"end": 8448,
"loc": {
"start": {
"line": 231,
"column": 22
},
"end": {
"line": 231,
"column": 40
},
"identifierName": "shapeDefinitionMgr"
},
"name": "shapeDefinitionMgr"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 8449,
"end": 8475,
"loc": {
"start": {
"line": 231,
"column": 41
},
"end": {
"line": 231,
"column": 67
},
"identifierName": "getShapeItemFromDefinition"
},
"name": "getShapeItemFromDefinition"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 8476,
"end": 8485,
"loc": {
"start": {
"line": 231,
"column": 68
},
"end": {
"line": 231,
"column": 77
}
},
"object": {
"type": "Identifier",
"start": 8476,
"end": 8482,
"loc": {
"start": {
"line": 231,
"column": 68
},
"end": {
"line": 231,
"column": 74
},
"identifierName": "result"
},
"name": "result"
},
"property": {
"type": "NumericLiteral",
"start": 8483,
"end": 8484,
"loc": {
"start": {
"line": 231,
"column": 75
},
"end": {
"line": 231,
"column": 76
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
}
]
}
},
{
"type": "ConditionalExpression",
"start": 8501,
"end": 8630,
"loc": {
"start": {
"line": 232,
"column": 12
},
"end": {
"line": 234,
"column": 78
}
},
"test": {
"type": "CallExpression",
"start": 8501,
"end": 8528,
"loc": {
"start": {
"line": 232,
"column": 12
},
"end": {
"line": 232,
"column": 39
}
},
"callee": {
"type": "MemberExpression",
"start": 8501,
"end": 8526,
"loc": {
"start": {
"line": 232,
"column": 12
},
"end": {
"line": 232,
"column": 37
}
},
"object": {
"type": "MemberExpression",
"start": 8501,
"end": 8510,
"loc": {
"start": {
"line": 232,
"column": 12
},
"end": {
"line": 232,
"column": 21
}
},
"object": {
"type": "Identifier",
"start": 8501,
"end": 8507,
"loc": {
"start": {
"line": 232,
"column": 12
},
"end": {
"line": 232,
"column": 18
},
"identifierName": "result"
},
"name": "result"
},
"property": {
"type": "NumericLiteral",
"start": 8508,
"end": 8509,
"loc": {
"start": {
"line": 232,
"column": 19
},
"end": {
"line": 232,
"column": 20
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"computed": true
},
"property": {
"type": "Identifier",
"start": 8511,
"end": 8526,
"loc": {
"start": {
"line": 232,
"column": 22
},
"end": {
"line": 232,
"column": 37
},
"identifierName": "isEntirelyEmpty"
},
"name": "isEntirelyEmpty"
},
"computed": false
},
"arguments": []
},
"consequent": {
"type": "NullLiteral",
"start": 8544,
"end": 8548,
"loc": {
"start": {
"line": 233,
"column": 12
},
"end": {
"line": 233,
"column": 16
}
}
},
"alternate": {
"type": "CallExpression",
"start": 8564,
"end": 8630,
"loc": {
"start": {
"line": 234,
"column": 12
},
"end": {
"line": 234,
"column": 78
}
},
"callee": {
"type": "MemberExpression",
"start": 8564,
"end": 8619,
"loc": {
"start": {
"line": 234,
"column": 12
},
"end": {
"line": 234,
"column": 67
}
},
"object": {
"type": "MemberExpression",
"start": 8564,
"end": 8592,
"loc": {
"start": {
"line": 234,
"column": 12
},
"end": {
"line": 234,
"column": 40
}
},
"object": {
"type": "MemberExpression",
"start": 8564,
"end": 8573,
"loc": {
"start": {
"line": 234,
"column": 12
},
"end": {
"line": 234,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 8564,
"end": 8568,
"loc": {
"start": {
"line": 234,
"column": 12
},
"end": {
"line": 234,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 8569,
"end": 8573,
"loc": {
"start": {
"line": 234,
"column": 17
},
"end": {
"line": 234,
"column": 21
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 8574,
"end": 8592,
"loc": {
"start": {
"line": 234,
"column": 22
},
"end": {
"line": 234,
"column": 40
},
"identifierName": "shapeDefinitionMgr"
},
"name": "shapeDefinitionMgr"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 8593,
"end": 8619,
"loc": {
"start": {
"line": 234,
"column": 41
},
"end": {
"line": 234,
"column": 67
},
"identifierName": "getShapeItemFromDefinition"
},
"name": "getShapeItemFromDefinition"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 8620,
"end": 8629,
"loc": {
"start": {
"line": 234,
"column": 68
},
"end": {
"line": 234,
"column": 77
}
},
"object": {
"type": "Identifier",
"start": 8620,
"end": 8626,
"loc": {
"start": {
"line": 234,
"column": 68
},
"end": {
"line": 234,
"column": 74
},
"identifierName": "result"
},
"name": "result"
},
"property": {
"type": "NumericLiteral",
"start": 8627,
"end": 8628,
"loc": {
"start": {
"line": 234,
"column": 75
},
"end": {
"line": 234,
"column": 76
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"computed": true
}
]
}
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {Array<BaseItem|null>} parameters\r\n * @returns {[BaseItem, BaseItem]}\r\n ",
"start": 7868,
"end": 7969,
"loc": {
"start": {
"line": 215,
"column": 4
},
"end": {
"line": 218,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {Array<BaseItem|null>} parameters\r\n * @returns {[BaseItem, BaseItem]}\r\n ",
"start": 8658,
"end": 8759,
"loc": {
"start": {
"line": 238,
"column": 4
},
"end": {
"line": 241,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 8765,
"end": 9743,
"loc": {
"start": {
"line": 242,
"column": 4
},
"end": {
"line": 266,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 8765,
"end": 8780,
"loc": {
"start": {
"line": 242,
"column": 4
},
"end": {
"line": 242,
"column": 19
},
"identifierName": "compute_UNSTACK"
},
"name": "compute_UNSTACK",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 8781,
"end": 8791,
"loc": {
"start": {
"line": 242,
"column": 20
},
"end": {
"line": 242,
"column": 30
},
"identifierName": "parameters"
},
"name": "parameters"
}
],
"body": {
"type": "BlockStatement",
"start": 8793,
"end": 9743,
"loc": {
"start": {
"line": 242,
"column": 32
},
"end": {
"line": 266,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 8804,
"end": 8831,
"loc": {
"start": {
"line": 243,
"column": 8
},
"end": {
"line": 243,
"column": 35
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 8810,
"end": 8830,
"loc": {
"start": {
"line": 243,
"column": 14
},
"end": {
"line": 243,
"column": 34
}
},
"id": {
"type": "Identifier",
"start": 8810,
"end": 8814,
"loc": {
"start": {
"line": 243,
"column": 14
},
"end": {
"line": 243,
"column": 18
},
"identifierName": "item"
},
"name": "item"
},
"init": {
"type": "MemberExpression",
"start": 8817,
"end": 8830,
"loc": {
"start": {
"line": 243,
"column": 21
},
"end": {
"line": 243,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 8817,
"end": 8827,
"loc": {
"start": {
"line": 243,
"column": 21
},
"end": {
"line": 243,
"column": 31
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "NumericLiteral",
"start": 8828,
"end": 8829,
"loc": {
"start": {
"line": 243,
"column": 32
},
"end": {
"line": 243,
"column": 33
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 8841,
"end": 8960,
"loc": {
"start": {
"line": 244,
"column": 8
},
"end": {
"line": 247,
"column": 9
}
},
"test": {
"type": "LogicalExpression",
"start": 8845,
"end": 8884,
"loc": {
"start": {
"line": 244,
"column": 12
},
"end": {
"line": 244,
"column": 51
}
},
"left": {
"type": "UnaryExpression",
"start": 8845,
"end": 8850,
"loc": {
"start": {
"line": 244,
"column": 12
},
"end": {
"line": 244,
"column": 17
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 8846,
"end": 8850,
"loc": {
"start": {
"line": 244,
"column": 13
},
"end": {
"line": 244,
"column": 17
},
"identifierName": "item"
},
"name": "item"
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "||",
"right": {
"type": "BinaryExpression",
"start": 8854,
"end": 8884,
"loc": {
"start": {
"line": 244,
"column": 21
},
"end": {
"line": 244,
"column": 51
}
},
"left": {
"type": "CallExpression",
"start": 8854,
"end": 8872,
"loc": {
"start": {
"line": 244,
"column": 21
},
"end": {
"line": 244,
"column": 39
}
},
"callee": {
"type": "MemberExpression",
"start": 8854,
"end": 8870,
"loc": {
"start": {
"line": 244,
"column": 21
},
"end": {
"line": 244,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 8854,
"end": 8858,
"loc": {
"start": {
"line": 244,
"column": 21
},
"end": {
"line": 244,
"column": 25
},
"identifierName": "item"
},
"name": "item"
},
"property": {
"type": "Identifier",
"start": 8859,
"end": 8870,
"loc": {
"start": {
"line": 244,
"column": 26
},
"end": {
"line": 244,
"column": 37
},
"identifierName": "getItemType"
},
"name": "getItemType"
},
"computed": false
},
"arguments": []
},
"operator": "!==",
"right": {
"type": "StringLiteral",
"start": 8877,
"end": 8884,
"loc": {
"start": {
"line": 244,
"column": 44
},
"end": {
"line": 244,
"column": 51
}
},
"extra": {
"rawValue": "shape",
"raw": "\"shape\""
},
"value": "shape"
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 8886,
"end": 8960,
"loc": {
"start": {
"line": 244,
"column": 53
},
"end": {
"line": 247,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 8929,
"end": 8949,
"loc": {
"start": {
"line": 246,
"column": 12
},
"end": {
"line": 246,
"column": 32
}
},
"argument": {
"type": "ArrayExpression",
"start": 8936,
"end": 8948,
"loc": {
"start": {
"line": 246,
"column": 19
},
"end": {
"line": 246,
"column": 31
}
},
"elements": [
{
"type": "NullLiteral",
"start": 8937,
"end": 8941,
"loc": {
"start": {
"line": 246,
"column": 20
},
"end": {
"line": 246,
"column": 24
}
},
"leadingComments": null
},
{
"type": "NullLiteral",
"start": 8943,
"end": 8947,
"loc": {
"start": {
"line": 246,
"column": 26
},
"end": {
"line": 246,
"column": 30
}
}
}
],
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Not a shape",
"start": 8901,
"end": 8915,
"loc": {
"start": {
"line": 245,
"column": 12
},
"end": {
"line": 245,
"column": 26
}
}
}
]
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 8972,
"end": 9034,
"loc": {
"start": {
"line": 249,
"column": 8
},
"end": {
"line": 249,
"column": 70
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 8978,
"end": 9033,
"loc": {
"start": {
"line": 249,
"column": 14
},
"end": {
"line": 249,
"column": 69
}
},
"id": {
"type": "Identifier",
"start": 8978,
"end": 8988,
"loc": {
"start": {
"line": 249,
"column": 14
},
"end": {
"line": 249,
"column": 24
},
"identifierName": "definition"
},
"name": "definition"
},
"init": {
"type": "MemberExpression",
"start": 9016,
"end": 9033,
"loc": {
"start": {
"line": 249,
"column": 52
},
"end": {
"line": 249,
"column": 69
}
},
"object": {
"type": "Identifier",
"start": 9017,
"end": 9021,
"loc": {
"start": {
"line": 249,
"column": 53
},
"end": {
"line": 249,
"column": 57
},
"identifierName": "item"
},
"name": "item",
"leadingComments": null,
"extra": {
"parenthesized": true,
"parenStart": 9016
}
},
"property": {
"type": "Identifier",
"start": 9023,
"end": 9033,
"loc": {
"start": {
"line": 249,
"column": 59
},
"end": {
"line": 249,
"column": 69
},
"identifierName": "definition"
},
"name": "definition"
},
"computed": false,
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @type {ShapeItem} ",
"start": 8991,
"end": 9015,
"loc": {
"start": {
"line": 249,
"column": 27
},
"end": {
"line": 249,
"column": 51
}
}
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 9044,
"end": 9143,
"loc": {
"start": {
"line": 250,
"column": 8
},
"end": {
"line": 250,
"column": 107
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 9050,
"end": 9142,
"loc": {
"start": {
"line": 250,
"column": 14
},
"end": {
"line": 250,
"column": 106
}
},
"id": {
"type": "Identifier",
"start": 9050,
"end": 9056,
"loc": {
"start": {
"line": 250,
"column": 14
},
"end": {
"line": 250,
"column": 20
},
"identifierName": "layers"
},
"name": "layers"
},
"init": {
"type": "MemberExpression",
"start": 9124,
"end": 9141,
"loc": {
"start": {
"line": 250,
"column": 88
},
"end": {
"line": 250,
"column": 105
}
},
"object": {
"type": "Identifier",
"start": 9124,
"end": 9134,
"loc": {
"start": {
"line": 250,
"column": 88
},
"end": {
"line": 250,
"column": 98
},
"identifierName": "definition"
},
"name": "definition",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 9135,
"end": 9141,
"loc": {
"start": {
"line": 250,
"column": 99
},
"end": {
"line": 250,
"column": 105
},
"identifierName": "layers"
},
"name": "layers"
},
"computed": false,
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @type {Array<import(\"../shape_definition\").ShapeLayer>} ",
"start": 9059,
"end": 9122,
"loc": {
"start": {
"line": 250,
"column": 23
},
"end": {
"line": 250,
"column": 86
}
}
}
],
"extra": {
"parenthesized": true,
"parenStart": 9123
}
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 9155,
"end": 9268,
"loc": {
"start": {
"line": 252,
"column": 8
},
"end": {
"line": 254,
"column": 11
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 9161,
"end": 9267,
"loc": {
"start": {
"line": 252,
"column": 14
},
"end": {
"line": 254,
"column": 10
}
},
"id": {
"type": "Identifier",
"start": 9161,
"end": 9181,
"loc": {
"start": {
"line": 252,
"column": 14
},
"end": {
"line": 252,
"column": 34
},
"identifierName": "upperLayerDefinition"
},
"name": "upperLayerDefinition"
},
"init": {
"type": "NewExpression",
"start": 9184,
"end": 9267,
"loc": {
"start": {
"line": 252,
"column": 37
},
"end": {
"line": 254,
"column": 10
}
},
"callee": {
"type": "Identifier",
"start": 9188,
"end": 9203,
"loc": {
"start": {
"line": 252,
"column": 41
},
"end": {
"line": 252,
"column": 56
},
"identifierName": "ShapeDefinition"
},
"name": "ShapeDefinition"
},
"arguments": [
{
"type": "ObjectExpression",
"start": 9204,
"end": 9266,
"loc": {
"start": {
"line": 252,
"column": 57
},
"end": {
"line": 254,
"column": 9
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 9219,
"end": 9254,
"loc": {
"start": {
"line": 253,
"column": 12
},
"end": {
"line": 253,
"column": 47
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 9219,
"end": 9225,
"loc": {
"start": {
"line": 253,
"column": 12
},
"end": {
"line": 253,
"column": 18
},
"identifierName": "layers"
},
"name": "layers"
},
"value": {
"type": "ArrayExpression",
"start": 9227,
"end": 9254,
"loc": {
"start": {
"line": 253,
"column": 20
},
"end": {
"line": 253,
"column": 47
}
},
"elements": [
{
"type": "MemberExpression",
"start": 9228,
"end": 9253,
"loc": {
"start": {
"line": 253,
"column": 21
},
"end": {
"line": 253,
"column": 46
}
},
"object": {
"type": "Identifier",
"start": 9228,
"end": 9234,
"loc": {
"start": {
"line": 253,
"column": 21
},
"end": {
"line": 253,
"column": 27
},
"identifierName": "layers"
},
"name": "layers"
},
"property": {
"type": "BinaryExpression",
"start": 9235,
"end": 9252,
"loc": {
"start": {
"line": 253,
"column": 28
},
"end": {
"line": 253,
"column": 45
}
},
"left": {
"type": "MemberExpression",
"start": 9235,
"end": 9248,
"loc": {
"start": {
"line": 253,
"column": 28
},
"end": {
"line": 253,
"column": 41
}
},
"object": {
"type": "Identifier",
"start": 9235,
"end": 9241,
"loc": {
"start": {
"line": 253,
"column": 28
},
"end": {
"line": 253,
"column": 34
},
"identifierName": "layers"
},
"name": "layers"
},
"property": {
"type": "Identifier",
"start": 9242,
"end": 9248,
"loc": {
"start": {
"line": 253,
"column": 35
},
"end": {
"line": 253,
"column": 41
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
},
"operator": "-",
"right": {
"type": "NumericLiteral",
"start": 9251,
"end": 9252,
"loc": {
"start": {
"line": 253,
"column": 44
},
"end": {
"line": 253,
"column": 45
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
},
"computed": true
}
]
}
}
]
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 9280,
"end": 9335,
"loc": {
"start": {
"line": 256,
"column": 8
},
"end": {
"line": 256,
"column": 63
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 9286,
"end": 9334,
"loc": {
"start": {
"line": 256,
"column": 14
},
"end": {
"line": 256,
"column": 62
}
},
"id": {
"type": "Identifier",
"start": 9286,
"end": 9297,
"loc": {
"start": {
"line": 256,
"column": 14
},
"end": {
"line": 256,
"column": 25
},
"identifierName": "lowerLayers"
},
"name": "lowerLayers"
},
"init": {
"type": "CallExpression",
"start": 9300,
"end": 9334,
"loc": {
"start": {
"line": 256,
"column": 28
},
"end": {
"line": 256,
"column": 62
}
},
"callee": {
"type": "MemberExpression",
"start": 9300,
"end": 9312,
"loc": {
"start": {
"line": 256,
"column": 28
},
"end": {
"line": 256,
"column": 40
}
},
"object": {
"type": "Identifier",
"start": 9300,
"end": 9306,
"loc": {
"start": {
"line": 256,
"column": 28
},
"end": {
"line": 256,
"column": 34
},
"identifierName": "layers"
},
"name": "layers"
},
"property": {
"type": "Identifier",
"start": 9307,
"end": 9312,
"loc": {
"start": {
"line": 256,
"column": 35
},
"end": {
"line": 256,
"column": 40
},
"identifierName": "slice"
},
"name": "slice"
},
"computed": false
},
"arguments": [
{
"type": "NumericLiteral",
"start": 9313,
"end": 9314,
"loc": {
"start": {
"line": 256,
"column": 41
},
"end": {
"line": 256,
"column": 42
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
{
"type": "BinaryExpression",
"start": 9316,
"end": 9333,
"loc": {
"start": {
"line": 256,
"column": 44
},
"end": {
"line": 256,
"column": 61
}
},
"left": {
"type": "MemberExpression",
"start": 9316,
"end": 9329,
"loc": {
"start": {
"line": 256,
"column": 44
},
"end": {
"line": 256,
"column": 57
}
},
"object": {
"type": "Identifier",
"start": 9316,
"end": 9322,
"loc": {
"start": {
"line": 256,
"column": 44
},
"end": {
"line": 256,
"column": 50
},
"identifierName": "layers"
},
"name": "layers"
},
"property": {
"type": "Identifier",
"start": 9323,
"end": 9329,
"loc": {
"start": {
"line": 256,
"column": 51
},
"end": {
"line": 256,
"column": 57
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
},
"operator": "-",
"right": {
"type": "NumericLiteral",
"start": 9332,
"end": 9333,
"loc": {
"start": {
"line": 256,
"column": 60
},
"end": {
"line": 256,
"column": 61
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 9345,
"end": 9464,
"loc": {
"start": {
"line": 257,
"column": 8
},
"end": {
"line": 258,
"column": 89
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 9351,
"end": 9463,
"loc": {
"start": {
"line": 257,
"column": 14
},
"end": {
"line": 258,
"column": 88
}
},
"id": {
"type": "Identifier",
"start": 9351,
"end": 9371,
"loc": {
"start": {
"line": 257,
"column": 14
},
"end": {
"line": 257,
"column": 34
},
"identifierName": "lowerLayerDefinition"
},
"name": "lowerLayerDefinition"
},
"init": {
"type": "ConditionalExpression",
"start": 9387,
"end": 9463,
"loc": {
"start": {
"line": 258,
"column": 12
},
"end": {
"line": 258,
"column": 88
}
},
"test": {
"type": "BinaryExpression",
"start": 9387,
"end": 9409,
"loc": {
"start": {
"line": 258,
"column": 12
},
"end": {
"line": 258,
"column": 34
}
},
"left": {
"type": "MemberExpression",
"start": 9387,
"end": 9405,
"loc": {
"start": {
"line": 258,
"column": 12
},
"end": {
"line": 258,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 9387,
"end": 9398,
"loc": {
"start": {
"line": 258,
"column": 12
},
"end": {
"line": 258,
"column": 23
},
"identifierName": "lowerLayers"
},
"name": "lowerLayers"
},
"property": {
"type": "Identifier",
"start": 9399,
"end": 9405,
"loc": {
"start": {
"line": 258,
"column": 24
},
"end": {
"line": 258,
"column": 30
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
},
"operator": ">",
"right": {
"type": "NumericLiteral",
"start": 9408,
"end": 9409,
"loc": {
"start": {
"line": 258,
"column": 33
},
"end": {
"line": 258,
"column": 34
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
},
"consequent": {
"type": "NewExpression",
"start": 9412,
"end": 9456,
"loc": {
"start": {
"line": 258,
"column": 37
},
"end": {
"line": 258,
"column": 81
}
},
"callee": {
"type": "Identifier",
"start": 9416,
"end": 9431,
"loc": {
"start": {
"line": 258,
"column": 41
},
"end": {
"line": 258,
"column": 56
},
"identifierName": "ShapeDefinition"
},
"name": "ShapeDefinition"
},
"arguments": [
{
"type": "ObjectExpression",
"start": 9432,
"end": 9455,
"loc": {
"start": {
"line": 258,
"column": 57
},
"end": {
"line": 258,
"column": 80
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 9434,
"end": 9453,
"loc": {
"start": {
"line": 258,
"column": 59
},
"end": {
"line": 258,
"column": 78
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 9434,
"end": 9440,
"loc": {
"start": {
"line": 258,
"column": 59
},
"end": {
"line": 258,
"column": 65
},
"identifierName": "layers"
},
"name": "layers"
},
"value": {
"type": "Identifier",
"start": 9442,
"end": 9453,
"loc": {
"start": {
"line": 258,
"column": 67
},
"end": {
"line": 258,
"column": 78
},
"identifierName": "lowerLayers"
},
"name": "lowerLayers"
}
}
]
}
]
},
"alternate": {
"type": "NullLiteral",
"start": 9459,
"end": 9463,
"loc": {
"start": {
"line": 258,
"column": 84
},
"end": {
"line": 258,
"column": 88
}
}
}
}
}
],
"kind": "const"
},
{
"type": "ReturnStatement",
"start": 9476,
"end": 9736,
"loc": {
"start": {
"line": 260,
"column": 8
},
"end": {
"line": 265,
"column": 10
}
},
"argument": {
"type": "ArrayExpression",
"start": 9483,
"end": 9735,
"loc": {
"start": {
"line": 260,
"column": 15
},
"end": {
"line": 265,
"column": 9
}
},
"elements": [
{
"type": "ConditionalExpression",
"start": 9498,
"end": 9631,
"loc": {
"start": {
"line": 261,
"column": 12
},
"end": {
"line": 263,
"column": 16
}
},
"test": {
"type": "Identifier",
"start": 9498,
"end": 9518,
"loc": {
"start": {
"line": 261,
"column": 12
},
"end": {
"line": 261,
"column": 32
},
"identifierName": "lowerLayerDefinition"
},
"name": "lowerLayerDefinition"
},
"consequent": {
"type": "CallExpression",
"start": 9534,
"end": 9611,
"loc": {
"start": {
"line": 262,
"column": 12
},
"end": {
"line": 262,
"column": 89
}
},
"callee": {
"type": "MemberExpression",
"start": 9534,
"end": 9589,
"loc": {
"start": {
"line": 262,
"column": 12
},
"end": {
"line": 262,
"column": 67
}
},
"object": {
"type": "MemberExpression",
"start": 9534,
"end": 9562,
"loc": {
"start": {
"line": 262,
"column": 12
},
"end": {
"line": 262,
"column": 40
}
},
"object": {
"type": "MemberExpression",
"start": 9534,
"end": 9543,
"loc": {
"start": {
"line": 262,
"column": 12
},
"end": {
"line": 262,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 9534,
"end": 9538,
"loc": {
"start": {
"line": 262,
"column": 12
},
"end": {
"line": 262,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 9539,
"end": 9543,
"loc": {
"start": {
"line": 262,
"column": 17
},
"end": {
"line": 262,
"column": 21
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 9544,
"end": 9562,
"loc": {
"start": {
"line": 262,
"column": 22
},
"end": {
"line": 262,
"column": 40
},
"identifierName": "shapeDefinitionMgr"
},
"name": "shapeDefinitionMgr"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 9563,
"end": 9589,
"loc": {
"start": {
"line": 262,
"column": 41
},
"end": {
"line": 262,
"column": 67
},
"identifierName": "getShapeItemFromDefinition"
},
"name": "getShapeItemFromDefinition"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 9590,
"end": 9610,
"loc": {
"start": {
"line": 262,
"column": 68
},
"end": {
"line": 262,
"column": 88
},
"identifierName": "lowerLayerDefinition"
},
"name": "lowerLayerDefinition"
}
]
},
"alternate": {
"type": "NullLiteral",
"start": 9627,
"end": 9631,
"loc": {
"start": {
"line": 263,
"column": 12
},
"end": {
"line": 263,
"column": 16
}
}
}
},
{
"type": "CallExpression",
"start": 9646,
"end": 9723,
"loc": {
"start": {
"line": 264,
"column": 12
},
"end": {
"line": 264,
"column": 89
}
},
"callee": {
"type": "MemberExpression",
"start": 9646,
"end": 9701,
"loc": {
"start": {
"line": 264,
"column": 12
},
"end": {
"line": 264,
"column": 67
}
},
"object": {
"type": "MemberExpression",
"start": 9646,
"end": 9674,
"loc": {
"start": {
"line": 264,
"column": 12
},
"end": {
"line": 264,
"column": 40
}
},
"object": {
"type": "MemberExpression",
"start": 9646,
"end": 9655,
"loc": {
"start": {
"line": 264,
"column": 12
},
"end": {
"line": 264,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 9646,
"end": 9650,
"loc": {
"start": {
"line": 264,
"column": 12
},
"end": {
"line": 264,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 9651,
"end": 9655,
"loc": {
"start": {
"line": 264,
"column": 17
},
"end": {
"line": 264,
"column": 21
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 9656,
"end": 9674,
"loc": {
"start": {
"line": 264,
"column": 22
},
"end": {
"line": 264,
"column": 40
},
"identifierName": "shapeDefinitionMgr"
},
"name": "shapeDefinitionMgr"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 9675,
"end": 9701,
"loc": {
"start": {
"line": 264,
"column": 41
},
"end": {
"line": 264,
"column": 67
},
"identifierName": "getShapeItemFromDefinition"
},
"name": "getShapeItemFromDefinition"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 9702,
"end": 9722,
"loc": {
"start": {
"line": 264,
"column": 68
},
"end": {
"line": 264,
"column": 88
},
"identifierName": "upperLayerDefinition"
},
"name": "upperLayerDefinition"
}
]
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {Array<BaseItem|null>} parameters\r\n * @returns {[BaseItem, BaseItem]}\r\n ",
"start": 8658,
"end": 8759,
"loc": {
"start": {
"line": 238,
"column": 4
},
"end": {
"line": 241,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {Array<BaseItem|null>} parameters\r\n * @returns {BaseItem}\r\n ",
"start": 9751,
"end": 9840,
"loc": {
"start": {
"line": 268,
"column": 4
},
"end": {
"line": 271,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 9846,
"end": 10552,
"loc": {
"start": {
"line": 272,
"column": 4
},
"end": {
"line": 294,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 9846,
"end": 9861,
"loc": {
"start": {
"line": 272,
"column": 4
},
"end": {
"line": 272,
"column": 19
},
"identifierName": "compute_STACKER"
},
"name": "compute_STACKER",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 9862,
"end": 9872,
"loc": {
"start": {
"line": 272,
"column": 20
},
"end": {
"line": 272,
"column": 30
},
"identifierName": "parameters"
},
"name": "parameters"
}
],
"body": {
"type": "BlockStatement",
"start": 9874,
"end": 10552,
"loc": {
"start": {
"line": 272,
"column": 32
},
"end": {
"line": 294,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 9885,
"end": 9917,
"loc": {
"start": {
"line": 273,
"column": 8
},
"end": {
"line": 273,
"column": 40
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 9891,
"end": 9916,
"loc": {
"start": {
"line": 273,
"column": 14
},
"end": {
"line": 273,
"column": 39
}
},
"id": {
"type": "Identifier",
"start": 9891,
"end": 9900,
"loc": {
"start": {
"line": 273,
"column": 14
},
"end": {
"line": 273,
"column": 23
},
"identifierName": "lowerItem"
},
"name": "lowerItem"
},
"init": {
"type": "MemberExpression",
"start": 9903,
"end": 9916,
"loc": {
"start": {
"line": 273,
"column": 26
},
"end": {
"line": 273,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 9903,
"end": 9913,
"loc": {
"start": {
"line": 273,
"column": 26
},
"end": {
"line": 273,
"column": 36
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "NumericLiteral",
"start": 9914,
"end": 9915,
"loc": {
"start": {
"line": 273,
"column": 37
},
"end": {
"line": 273,
"column": 38
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 9927,
"end": 9959,
"loc": {
"start": {
"line": 274,
"column": 8
},
"end": {
"line": 274,
"column": 40
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 9933,
"end": 9958,
"loc": {
"start": {
"line": 274,
"column": 14
},
"end": {
"line": 274,
"column": 39
}
},
"id": {
"type": "Identifier",
"start": 9933,
"end": 9942,
"loc": {
"start": {
"line": 274,
"column": 14
},
"end": {
"line": 274,
"column": 23
},
"identifierName": "upperItem"
},
"name": "upperItem"
},
"init": {
"type": "MemberExpression",
"start": 9945,
"end": 9958,
"loc": {
"start": {
"line": 274,
"column": 26
},
"end": {
"line": 274,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 9945,
"end": 9955,
"loc": {
"start": {
"line": 274,
"column": 26
},
"end": {
"line": 274,
"column": 36
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "NumericLiteral",
"start": 9956,
"end": 9957,
"loc": {
"start": {
"line": 274,
"column": 37
},
"end": {
"line": 274,
"column": 38
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 9971,
"end": 10061,
"loc": {
"start": {
"line": 276,
"column": 8
},
"end": {
"line": 279,
"column": 9
}
},
"test": {
"type": "LogicalExpression",
"start": 9975,
"end": 9999,
"loc": {
"start": {
"line": 276,
"column": 12
},
"end": {
"line": 276,
"column": 36
}
},
"left": {
"type": "UnaryExpression",
"start": 9975,
"end": 9985,
"loc": {
"start": {
"line": 276,
"column": 12
},
"end": {
"line": 276,
"column": 22
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 9976,
"end": 9985,
"loc": {
"start": {
"line": 276,
"column": 13
},
"end": {
"line": 276,
"column": 22
},
"identifierName": "lowerItem"
},
"name": "lowerItem"
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "||",
"right": {
"type": "UnaryExpression",
"start": 9989,
"end": 9999,
"loc": {
"start": {
"line": 276,
"column": 26
},
"end": {
"line": 276,
"column": 36
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 9990,
"end": 9999,
"loc": {
"start": {
"line": 276,
"column": 27
},
"end": {
"line": 276,
"column": 36
},
"identifierName": "upperItem"
},
"name": "upperItem"
},
"extra": {
"parenthesizedArgument": false
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 10001,
"end": 10061,
"loc": {
"start": {
"line": 276,
"column": 38
},
"end": {
"line": 279,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 10038,
"end": 10050,
"loc": {
"start": {
"line": 278,
"column": 12
},
"end": {
"line": 278,
"column": 24
}
},
"argument": {
"type": "NullLiteral",
"start": 10045,
"end": 10049,
"loc": {
"start": {
"line": 278,
"column": 19
},
"end": {
"line": 278,
"column": 23
}
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Empty",
"start": 10016,
"end": 10024,
"loc": {
"start": {
"line": 277,
"column": 12
},
"end": {
"line": 277,
"column": 20
}
}
}
]
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 10073,
"end": 10216,
"loc": {
"start": {
"line": 281,
"column": 8
},
"end": {
"line": 284,
"column": 9
}
},
"test": {
"type": "LogicalExpression",
"start": 10077,
"end": 10151,
"loc": {
"start": {
"line": 281,
"column": 12
},
"end": {
"line": 281,
"column": 86
}
},
"left": {
"type": "BinaryExpression",
"start": 10077,
"end": 10112,
"loc": {
"start": {
"line": 281,
"column": 12
},
"end": {
"line": 281,
"column": 47
}
},
"left": {
"type": "CallExpression",
"start": 10077,
"end": 10100,
"loc": {
"start": {
"line": 281,
"column": 12
},
"end": {
"line": 281,
"column": 35
}
},
"callee": {
"type": "MemberExpression",
"start": 10077,
"end": 10098,
"loc": {
"start": {
"line": 281,
"column": 12
},
"end": {
"line": 281,
"column": 33
}
},
"object": {
"type": "Identifier",
"start": 10077,
"end": 10086,
"loc": {
"start": {
"line": 281,
"column": 12
},
"end": {
"line": 281,
"column": 21
},
"identifierName": "lowerItem"
},
"name": "lowerItem"
},
"property": {
"type": "Identifier",
"start": 10087,
"end": 10098,
"loc": {
"start": {
"line": 281,
"column": 22
},
"end": {
"line": 281,
"column": 33
},
"identifierName": "getItemType"
},
"name": "getItemType"
},
"computed": false
},
"arguments": []
},
"operator": "!==",
"right": {
"type": "StringLiteral",
"start": 10105,
"end": 10112,
"loc": {
"start": {
"line": 281,
"column": 40
},
"end": {
"line": 281,
"column": 47
}
},
"extra": {
"rawValue": "shape",
"raw": "\"shape\""
},
"value": "shape"
}
},
"operator": "||",
"right": {
"type": "BinaryExpression",
"start": 10116,
"end": 10151,
"loc": {
"start": {
"line": 281,
"column": 51
},
"end": {
"line": 281,
"column": 86
}
},
"left": {
"type": "CallExpression",
"start": 10116,
"end": 10139,
"loc": {
"start": {
"line": 281,
"column": 51
},
"end": {
"line": 281,
"column": 74
}
},
"callee": {
"type": "MemberExpression",
"start": 10116,
"end": 10137,
"loc": {
"start": {
"line": 281,
"column": 51
},
"end": {
"line": 281,
"column": 72
}
},
"object": {
"type": "Identifier",
"start": 10116,
"end": 10125,
"loc": {
"start": {
"line": 281,
"column": 51
},
"end": {
"line": 281,
"column": 60
},
"identifierName": "upperItem"
},
"name": "upperItem"
},
"property": {
"type": "Identifier",
"start": 10126,
"end": 10137,
"loc": {
"start": {
"line": 281,
"column": 61
},
"end": {
"line": 281,
"column": 72
},
"identifierName": "getItemType"
},
"name": "getItemType"
},
"computed": false
},
"arguments": []
},
"operator": "!==",
"right": {
"type": "StringLiteral",
"start": 10144,
"end": 10151,
"loc": {
"start": {
"line": 281,
"column": 79
},
"end": {
"line": 281,
"column": 86
}
},
"extra": {
"rawValue": "shape",
"raw": "\"shape\""
},
"value": "shape"
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 10153,
"end": 10216,
"loc": {
"start": {
"line": 281,
"column": 88
},
"end": {
"line": 284,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 10193,
"end": 10205,
"loc": {
"start": {
"line": 283,
"column": 12
},
"end": {
"line": 283,
"column": 24
}
},
"argument": {
"type": "NullLiteral",
"start": 10200,
"end": 10204,
"loc": {
"start": {
"line": 283,
"column": 19
},
"end": {
"line": 283,
"column": 23
}
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Bad type",
"start": 10168,
"end": 10179,
"loc": {
"start": {
"line": 282,
"column": 12
},
"end": {
"line": 282,
"column": 23
}
}
}
]
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 10228,
"end": 10456,
"loc": {
"start": {
"line": 286,
"column": 8
},
"end": {
"line": 291,
"column": 10
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 10234,
"end": 10455,
"loc": {
"start": {
"line": 286,
"column": 14
},
"end": {
"line": 291,
"column": 9
}
},
"id": {
"type": "Identifier",
"start": 10234,
"end": 10246,
"loc": {
"start": {
"line": 286,
"column": 14
},
"end": {
"line": 286,
"column": 26
},
"identifierName": "stackedShape"
},
"name": "stackedShape"
},
"init": {
"type": "CallExpression",
"start": 10249,
"end": 10455,
"loc": {
"start": {
"line": 286,
"column": 29
},
"end": {
"line": 291,
"column": 9
}
},
"callee": {
"type": "MemberExpression",
"start": 10249,
"end": 10294,
"loc": {
"start": {
"line": 286,
"column": 29
},
"end": {
"line": 286,
"column": 74
}
},
"object": {
"type": "MemberExpression",
"start": 10249,
"end": 10277,
"loc": {
"start": {
"line": 286,
"column": 29
},
"end": {
"line": 286,
"column": 57
}
},
"object": {
"type": "MemberExpression",
"start": 10249,
"end": 10258,
"loc": {
"start": {
"line": 286,
"column": 29
},
"end": {
"line": 286,
"column": 38
}
},
"object": {
"type": "ThisExpression",
"start": 10249,
"end": 10253,
"loc": {
"start": {
"line": 286,
"column": 29
},
"end": {
"line": 286,
"column": 33
}
}
},
"property": {
"type": "Identifier",
"start": 10254,
"end": 10258,
"loc": {
"start": {
"line": 286,
"column": 34
},
"end": {
"line": 286,
"column": 38
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 10259,
"end": 10277,
"loc": {
"start": {
"line": 286,
"column": 39
},
"end": {
"line": 286,
"column": 57
},
"identifierName": "shapeDefinitionMgr"
},
"name": "shapeDefinitionMgr"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 10278,
"end": 10294,
"loc": {
"start": {
"line": 286,
"column": 58
},
"end": {
"line": 286,
"column": 74
},
"identifierName": "shapeActionStack"
},
"name": "shapeActionStack"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 10347,
"end": 10369,
"loc": {
"start": {
"line": 288,
"column": 12
},
"end": {
"line": 288,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 10348,
"end": 10357,
"loc": {
"start": {
"line": 288,
"column": 13
},
"end": {
"line": 288,
"column": 22
},
"identifierName": "lowerItem"
},
"name": "lowerItem",
"leadingComments": null,
"extra": {
"parenthesized": true,
"parenStart": 10347
}
},
"property": {
"type": "Identifier",
"start": 10359,
"end": 10369,
"loc": {
"start": {
"line": 288,
"column": 24
},
"end": {
"line": 288,
"column": 34
},
"identifierName": "definition"
},
"name": "definition"
},
"computed": false,
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @type {ShapeItem} ",
"start": 10309,
"end": 10333,
"loc": {
"start": {
"line": 287,
"column": 12
},
"end": {
"line": 287,
"column": 36
}
}
}
]
},
{
"type": "MemberExpression",
"start": 10422,
"end": 10444,
"loc": {
"start": {
"line": 290,
"column": 12
},
"end": {
"line": 290,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 10423,
"end": 10432,
"loc": {
"start": {
"line": 290,
"column": 13
},
"end": {
"line": 290,
"column": 22
},
"identifierName": "upperItem"
},
"name": "upperItem",
"leadingComments": null,
"extra": {
"parenthesized": true,
"parenStart": 10422
}
},
"property": {
"type": "Identifier",
"start": 10434,
"end": 10444,
"loc": {
"start": {
"line": 290,
"column": 24
},
"end": {
"line": 290,
"column": 34
},
"identifierName": "definition"
},
"name": "definition"
},
"computed": false,
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @type {ShapeItem} ",
"start": 10384,
"end": 10408,
"loc": {
"start": {
"line": 289,
"column": 12
},
"end": {
"line": 289,
"column": 36
}
}
}
]
}
]
}
}
],
"kind": "const"
},
{
"type": "ReturnStatement",
"start": 10468,
"end": 10545,
"loc": {
"start": {
"line": 293,
"column": 8
},
"end": {
"line": 293,
"column": 85
}
},
"argument": {
"type": "CallExpression",
"start": 10475,
"end": 10544,
"loc": {
"start": {
"line": 293,
"column": 15
},
"end": {
"line": 293,
"column": 84
}
},
"callee": {
"type": "MemberExpression",
"start": 10475,
"end": 10530,
"loc": {
"start": {
"line": 293,
"column": 15
},
"end": {
"line": 293,
"column": 70
}
},
"object": {
"type": "MemberExpression",
"start": 10475,
"end": 10503,
"loc": {
"start": {
"line": 293,
"column": 15
},
"end": {
"line": 293,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 10475,
"end": 10484,
"loc": {
"start": {
"line": 293,
"column": 15
},
"end": {
"line": 293,
"column": 24
}
},
"object": {
"type": "ThisExpression",
"start": 10475,
"end": 10479,
"loc": {
"start": {
"line": 293,
"column": 15
},
"end": {
"line": 293,
"column": 19
}
}
},
"property": {
"type": "Identifier",
"start": 10480,
"end": 10484,
"loc": {
"start": {
"line": 293,
"column": 20
},
"end": {
"line": 293,
"column": 24
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 10485,
"end": 10503,
"loc": {
"start": {
"line": 293,
"column": 25
},
"end": {
"line": 293,
"column": 43
},
"identifierName": "shapeDefinitionMgr"
},
"name": "shapeDefinitionMgr"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 10504,
"end": 10530,
"loc": {
"start": {
"line": 293,
"column": 44
},
"end": {
"line": 293,
"column": 70
},
"identifierName": "getShapeItemFromDefinition"
},
"name": "getShapeItemFromDefinition"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 10531,
"end": 10543,
"loc": {
"start": {
"line": 293,
"column": 71
},
"end": {
"line": 293,
"column": 83
},
"identifierName": "stackedShape"
},
"name": "stackedShape"
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {Array<BaseItem|null>} parameters\r\n * @returns {BaseItem}\r\n ",
"start": 9751,
"end": 9840,
"loc": {
"start": {
"line": 268,
"column": 4
},
"end": {
"line": 271,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {Array<BaseItem|null>} parameters\r\n * @returns {BaseItem}\r\n ",
"start": 10560,
"end": 10649,
"loc": {
"start": {
"line": 296,
"column": 4
},
"end": {
"line": 299,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 10655,
"end": 11328,
"loc": {
"start": {
"line": 300,
"column": 4
},
"end": {
"line": 322,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 10655,
"end": 10670,
"loc": {
"start": {
"line": 300,
"column": 4
},
"end": {
"line": 300,
"column": 19
},
"identifierName": "compute_PAINTER"
},
"name": "compute_PAINTER",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 10671,
"end": 10681,
"loc": {
"start": {
"line": 300,
"column": 20
},
"end": {
"line": 300,
"column": 30
},
"identifierName": "parameters"
},
"name": "parameters"
}
],
"body": {
"type": "BlockStatement",
"start": 10683,
"end": 11328,
"loc": {
"start": {
"line": 300,
"column": 32
},
"end": {
"line": 322,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 10694,
"end": 10722,
"loc": {
"start": {
"line": 301,
"column": 8
},
"end": {
"line": 301,
"column": 36
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 10700,
"end": 10721,
"loc": {
"start": {
"line": 301,
"column": 14
},
"end": {
"line": 301,
"column": 35
}
},
"id": {
"type": "Identifier",
"start": 10700,
"end": 10705,
"loc": {
"start": {
"line": 301,
"column": 14
},
"end": {
"line": 301,
"column": 19
},
"identifierName": "shape"
},
"name": "shape"
},
"init": {
"type": "MemberExpression",
"start": 10708,
"end": 10721,
"loc": {
"start": {
"line": 301,
"column": 22
},
"end": {
"line": 301,
"column": 35
}
},
"object": {
"type": "Identifier",
"start": 10708,
"end": 10718,
"loc": {
"start": {
"line": 301,
"column": 22
},
"end": {
"line": 301,
"column": 32
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "NumericLiteral",
"start": 10719,
"end": 10720,
"loc": {
"start": {
"line": 301,
"column": 33
},
"end": {
"line": 301,
"column": 34
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 10732,
"end": 10760,
"loc": {
"start": {
"line": 302,
"column": 8
},
"end": {
"line": 302,
"column": 36
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 10738,
"end": 10759,
"loc": {
"start": {
"line": 302,
"column": 14
},
"end": {
"line": 302,
"column": 35
}
},
"id": {
"type": "Identifier",
"start": 10738,
"end": 10743,
"loc": {
"start": {
"line": 302,
"column": 14
},
"end": {
"line": 302,
"column": 19
},
"identifierName": "color"
},
"name": "color"
},
"init": {
"type": "MemberExpression",
"start": 10746,
"end": 10759,
"loc": {
"start": {
"line": 302,
"column": 22
},
"end": {
"line": 302,
"column": 35
}
},
"object": {
"type": "Identifier",
"start": 10746,
"end": 10756,
"loc": {
"start": {
"line": 302,
"column": 22
},
"end": {
"line": 302,
"column": 32
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "NumericLiteral",
"start": 10757,
"end": 10758,
"loc": {
"start": {
"line": 302,
"column": 33
},
"end": {
"line": 302,
"column": 34
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 10772,
"end": 10854,
"loc": {
"start": {
"line": 304,
"column": 8
},
"end": {
"line": 307,
"column": 9
}
},
"test": {
"type": "LogicalExpression",
"start": 10776,
"end": 10792,
"loc": {
"start": {
"line": 304,
"column": 12
},
"end": {
"line": 304,
"column": 28
}
},
"left": {
"type": "UnaryExpression",
"start": 10776,
"end": 10782,
"loc": {
"start": {
"line": 304,
"column": 12
},
"end": {
"line": 304,
"column": 18
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 10777,
"end": 10782,
"loc": {
"start": {
"line": 304,
"column": 13
},
"end": {
"line": 304,
"column": 18
},
"identifierName": "shape"
},
"name": "shape"
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "||",
"right": {
"type": "UnaryExpression",
"start": 10786,
"end": 10792,
"loc": {
"start": {
"line": 304,
"column": 22
},
"end": {
"line": 304,
"column": 28
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 10787,
"end": 10792,
"loc": {
"start": {
"line": 304,
"column": 23
},
"end": {
"line": 304,
"column": 28
},
"identifierName": "color"
},
"name": "color"
},
"extra": {
"parenthesizedArgument": false
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 10794,
"end": 10854,
"loc": {
"start": {
"line": 304,
"column": 30
},
"end": {
"line": 307,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 10831,
"end": 10843,
"loc": {
"start": {
"line": 306,
"column": 12
},
"end": {
"line": 306,
"column": 24
}
},
"argument": {
"type": "NullLiteral",
"start": 10838,
"end": 10842,
"loc": {
"start": {
"line": 306,
"column": 19
},
"end": {
"line": 306,
"column": 23
}
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Empty",
"start": 10809,
"end": 10817,
"loc": {
"start": {
"line": 305,
"column": 12
},
"end": {
"line": 305,
"column": 20
}
}
}
]
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 10866,
"end": 11001,
"loc": {
"start": {
"line": 309,
"column": 8
},
"end": {
"line": 312,
"column": 9
}
},
"test": {
"type": "LogicalExpression",
"start": 10870,
"end": 10936,
"loc": {
"start": {
"line": 309,
"column": 12
},
"end": {
"line": 309,
"column": 78
}
},
"left": {
"type": "BinaryExpression",
"start": 10870,
"end": 10901,
"loc": {
"start": {
"line": 309,
"column": 12
},
"end": {
"line": 309,
"column": 43
}
},
"left": {
"type": "CallExpression",
"start": 10870,
"end": 10889,
"loc": {
"start": {
"line": 309,
"column": 12
},
"end": {
"line": 309,
"column": 31
}
},
"callee": {
"type": "MemberExpression",
"start": 10870,
"end": 10887,
"loc": {
"start": {
"line": 309,
"column": 12
},
"end": {
"line": 309,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 10870,
"end": 10875,
"loc": {
"start": {
"line": 309,
"column": 12
},
"end": {
"line": 309,
"column": 17
},
"identifierName": "shape"
},
"name": "shape"
},
"property": {
"type": "Identifier",
"start": 10876,
"end": 10887,
"loc": {
"start": {
"line": 309,
"column": 18
},
"end": {
"line": 309,
"column": 29
},
"identifierName": "getItemType"
},
"name": "getItemType"
},
"computed": false
},
"arguments": []
},
"operator": "!==",
"right": {
"type": "StringLiteral",
"start": 10894,
"end": 10901,
"loc": {
"start": {
"line": 309,
"column": 36
},
"end": {
"line": 309,
"column": 43
}
},
"extra": {
"rawValue": "shape",
"raw": "\"shape\""
},
"value": "shape"
}
},
"operator": "||",
"right": {
"type": "BinaryExpression",
"start": 10905,
"end": 10936,
"loc": {
"start": {
"line": 309,
"column": 47
},
"end": {
"line": 309,
"column": 78
}
},
"left": {
"type": "CallExpression",
"start": 10905,
"end": 10924,
"loc": {
"start": {
"line": 309,
"column": 47
},
"end": {
"line": 309,
"column": 66
}
},
"callee": {
"type": "MemberExpression",
"start": 10905,
"end": 10922,
"loc": {
"start": {
"line": 309,
"column": 47
},
"end": {
"line": 309,
"column": 64
}
},
"object": {
"type": "Identifier",
"start": 10905,
"end": 10910,
"loc": {
"start": {
"line": 309,
"column": 47
},
"end": {
"line": 309,
"column": 52
},
"identifierName": "color"
},
"name": "color"
},
"property": {
"type": "Identifier",
"start": 10911,
"end": 10922,
"loc": {
"start": {
"line": 309,
"column": 53
},
"end": {
"line": 309,
"column": 64
},
"identifierName": "getItemType"
},
"name": "getItemType"
},
"computed": false
},
"arguments": []
},
"operator": "!==",
"right": {
"type": "StringLiteral",
"start": 10929,
"end": 10936,
"loc": {
"start": {
"line": 309,
"column": 71
},
"end": {
"line": 309,
"column": 78
}
},
"extra": {
"rawValue": "color",
"raw": "\"color\""
},
"value": "color"
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 10938,
"end": 11001,
"loc": {
"start": {
"line": 309,
"column": 80
},
"end": {
"line": 312,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 10978,
"end": 10990,
"loc": {
"start": {
"line": 311,
"column": 12
},
"end": {
"line": 311,
"column": 24
}
},
"argument": {
"type": "NullLiteral",
"start": 10985,
"end": 10989,
"loc": {
"start": {
"line": 311,
"column": 19
},
"end": {
"line": 311,
"column": 23
}
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Bad type",
"start": 10953,
"end": 10964,
"loc": {
"start": {
"line": 310,
"column": 12
},
"end": {
"line": 310,
"column": 23
}
}
}
]
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 11013,
"end": 11232,
"loc": {
"start": {
"line": 314,
"column": 8
},
"end": {
"line": 319,
"column": 10
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 11019,
"end": 11231,
"loc": {
"start": {
"line": 314,
"column": 14
},
"end": {
"line": 319,
"column": 9
}
},
"id": {
"type": "Identifier",
"start": 11019,
"end": 11031,
"loc": {
"start": {
"line": 314,
"column": 14
},
"end": {
"line": 314,
"column": 26
},
"identifierName": "coloredShape"
},
"name": "coloredShape"
},
"init": {
"type": "CallExpression",
"start": 11034,
"end": 11231,
"loc": {
"start": {
"line": 314,
"column": 29
},
"end": {
"line": 319,
"column": 9
}
},
"callee": {
"type": "MemberExpression",
"start": 11034,
"end": 11083,
"loc": {
"start": {
"line": 314,
"column": 29
},
"end": {
"line": 314,
"column": 78
}
},
"object": {
"type": "MemberExpression",
"start": 11034,
"end": 11062,
"loc": {
"start": {
"line": 314,
"column": 29
},
"end": {
"line": 314,
"column": 57
}
},
"object": {
"type": "MemberExpression",
"start": 11034,
"end": 11043,
"loc": {
"start": {
"line": 314,
"column": 29
},
"end": {
"line": 314,
"column": 38
}
},
"object": {
"type": "ThisExpression",
"start": 11034,
"end": 11038,
"loc": {
"start": {
"line": 314,
"column": 29
},
"end": {
"line": 314,
"column": 33
}
}
},
"property": {
"type": "Identifier",
"start": 11039,
"end": 11043,
"loc": {
"start": {
"line": 314,
"column": 34
},
"end": {
"line": 314,
"column": 38
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 11044,
"end": 11062,
"loc": {
"start": {
"line": 314,
"column": 39
},
"end": {
"line": 314,
"column": 57
},
"identifierName": "shapeDefinitionMgr"
},
"name": "shapeDefinitionMgr"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 11063,
"end": 11083,
"loc": {
"start": {
"line": 314,
"column": 58
},
"end": {
"line": 314,
"column": 78
},
"identifierName": "shapeActionPaintWith"
},
"name": "shapeActionPaintWith"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 11136,
"end": 11154,
"loc": {
"start": {
"line": 316,
"column": 12
},
"end": {
"line": 316,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 11137,
"end": 11142,
"loc": {
"start": {
"line": 316,
"column": 13
},
"end": {
"line": 316,
"column": 18
},
"identifierName": "shape"
},
"name": "shape",
"leadingComments": null,
"extra": {
"parenthesized": true,
"parenStart": 11136
}
},
"property": {
"type": "Identifier",
"start": 11144,
"end": 11154,
"loc": {
"start": {
"line": 316,
"column": 20
},
"end": {
"line": 316,
"column": 30
},
"identifierName": "definition"
},
"name": "definition"
},
"computed": false,
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @type {ShapeItem} ",
"start": 11098,
"end": 11122,
"loc": {
"start": {
"line": 315,
"column": 12
},
"end": {
"line": 315,
"column": 36
}
}
}
]
},
{
"type": "MemberExpression",
"start": 11207,
"end": 11220,
"loc": {
"start": {
"line": 318,
"column": 12
},
"end": {
"line": 318,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 11208,
"end": 11213,
"loc": {
"start": {
"line": 318,
"column": 13
},
"end": {
"line": 318,
"column": 18
},
"identifierName": "color"
},
"name": "color",
"leadingComments": null,
"extra": {
"parenthesized": true,
"parenStart": 11207
}
},
"property": {
"type": "Identifier",
"start": 11215,
"end": 11220,
"loc": {
"start": {
"line": 318,
"column": 20
},
"end": {
"line": 318,
"column": 25
},
"identifierName": "color"
},
"name": "color"
},
"computed": false,
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @type {ColorItem} ",
"start": 11169,
"end": 11193,
"loc": {
"start": {
"line": 317,
"column": 12
},
"end": {
"line": 317,
"column": 36
}
}
}
]
}
]
}
}
],
"kind": "const"
},
{
"type": "ReturnStatement",
"start": 11244,
"end": 11321,
"loc": {
"start": {
"line": 321,
"column": 8
},
"end": {
"line": 321,
"column": 85
}
},
"argument": {
"type": "CallExpression",
"start": 11251,
"end": 11320,
"loc": {
"start": {
"line": 321,
"column": 15
},
"end": {
"line": 321,
"column": 84
}
},
"callee": {
"type": "MemberExpression",
"start": 11251,
"end": 11306,
"loc": {
"start": {
"line": 321,
"column": 15
},
"end": {
"line": 321,
"column": 70
}
},
"object": {
"type": "MemberExpression",
"start": 11251,
"end": 11279,
"loc": {
"start": {
"line": 321,
"column": 15
},
"end": {
"line": 321,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 11251,
"end": 11260,
"loc": {
"start": {
"line": 321,
"column": 15
},
"end": {
"line": 321,
"column": 24
}
},
"object": {
"type": "ThisExpression",
"start": 11251,
"end": 11255,
"loc": {
"start": {
"line": 321,
"column": 15
},
"end": {
"line": 321,
"column": 19
}
}
},
"property": {
"type": "Identifier",
"start": 11256,
"end": 11260,
"loc": {
"start": {
"line": 321,
"column": 20
},
"end": {
"line": 321,
"column": 24
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 11261,
"end": 11279,
"loc": {
"start": {
"line": 321,
"column": 25
},
"end": {
"line": 321,
"column": 43
},
"identifierName": "shapeDefinitionMgr"
},
"name": "shapeDefinitionMgr"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 11280,
"end": 11306,
"loc": {
"start": {
"line": 321,
"column": 44
},
"end": {
"line": 321,
"column": 70
},
"identifierName": "getShapeItemFromDefinition"
},
"name": "getShapeItemFromDefinition"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 11307,
"end": 11319,
"loc": {
"start": {
"line": 321,
"column": 71
},
"end": {
"line": 321,
"column": 83
},
"identifierName": "coloredShape"
},
"name": "coloredShape"
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {Array<BaseItem|null>} parameters\r\n * @returns {BaseItem}\r\n ",
"start": 10560,
"end": 10649,
"loc": {
"start": {
"line": 296,
"column": 4
},
"end": {
"line": 299,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {Array<BaseItem|null>} parameters\r\n * @returns {BaseItem}\r\n ",
"start": 11336,
"end": 11425,
"loc": {
"start": {
"line": 324,
"column": 4
},
"end": {
"line": 327,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 11431,
"end": 12885,
"loc": {
"start": {
"line": 328,
"column": 4
},
"end": {
"line": 370,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 11431,
"end": 11446,
"loc": {
"start": {
"line": 328,
"column": 4
},
"end": {
"line": 328,
"column": 19
},
"identifierName": "compute_COMPARE"
},
"name": "compute_COMPARE",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 11447,
"end": 11457,
"loc": {
"start": {
"line": 328,
"column": 20
},
"end": {
"line": 328,
"column": 30
},
"identifierName": "parameters"
},
"name": "parameters"
}
],
"body": {
"type": "BlockStatement",
"start": 11459,
"end": 12885,
"loc": {
"start": {
"line": 328,
"column": 32
},
"end": {
"line": 370,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 11470,
"end": 11498,
"loc": {
"start": {
"line": 329,
"column": 8
},
"end": {
"line": 329,
"column": 36
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 11476,
"end": 11497,
"loc": {
"start": {
"line": 329,
"column": 14
},
"end": {
"line": 329,
"column": 35
}
},
"id": {
"type": "Identifier",
"start": 11476,
"end": 11481,
"loc": {
"start": {
"line": 329,
"column": 14
},
"end": {
"line": 329,
"column": 19
},
"identifierName": "itemA"
},
"name": "itemA"
},
"init": {
"type": "MemberExpression",
"start": 11484,
"end": 11497,
"loc": {
"start": {
"line": 329,
"column": 22
},
"end": {
"line": 329,
"column": 35
}
},
"object": {
"type": "Identifier",
"start": 11484,
"end": 11494,
"loc": {
"start": {
"line": 329,
"column": 22
},
"end": {
"line": 329,
"column": 32
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "NumericLiteral",
"start": 11495,
"end": 11496,
"loc": {
"start": {
"line": 329,
"column": 33
},
"end": {
"line": 329,
"column": 34
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 11508,
"end": 11536,
"loc": {
"start": {
"line": 330,
"column": 8
},
"end": {
"line": 330,
"column": 36
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 11514,
"end": 11535,
"loc": {
"start": {
"line": 330,
"column": 14
},
"end": {
"line": 330,
"column": 35
}
},
"id": {
"type": "Identifier",
"start": 11514,
"end": 11519,
"loc": {
"start": {
"line": 330,
"column": 14
},
"end": {
"line": 330,
"column": 19
},
"identifierName": "itemB"
},
"name": "itemB"
},
"init": {
"type": "MemberExpression",
"start": 11522,
"end": 11535,
"loc": {
"start": {
"line": 330,
"column": 22
},
"end": {
"line": 330,
"column": 35
}
},
"object": {
"type": "Identifier",
"start": 11522,
"end": 11532,
"loc": {
"start": {
"line": 330,
"column": 22
},
"end": {
"line": 330,
"column": 32
},
"identifierName": "parameters"
},
"name": "parameters"
},
"property": {
"type": "NumericLiteral",
"start": 11533,
"end": 11534,
"loc": {
"start": {
"line": 330,
"column": 33
},
"end": {
"line": 330,
"column": 34
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 11548,
"end": 11630,
"loc": {
"start": {
"line": 332,
"column": 8
},
"end": {
"line": 335,
"column": 9
}
},
"test": {
"type": "LogicalExpression",
"start": 11552,
"end": 11568,
"loc": {
"start": {
"line": 332,
"column": 12
},
"end": {
"line": 332,
"column": 28
}
},
"left": {
"type": "UnaryExpression",
"start": 11552,
"end": 11558,
"loc": {
"start": {
"line": 332,
"column": 12
},
"end": {
"line": 332,
"column": 18
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 11553,
"end": 11558,
"loc": {
"start": {
"line": 332,
"column": 13
},
"end": {
"line": 332,
"column": 18
},
"identifierName": "itemA"
},
"name": "itemA"
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "||",
"right": {
"type": "UnaryExpression",
"start": 11562,
"end": 11568,
"loc": {
"start": {
"line": 332,
"column": 22
},
"end": {
"line": 332,
"column": 28
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 11563,
"end": 11568,
"loc": {
"start": {
"line": 332,
"column": 23
},
"end": {
"line": 332,
"column": 28
},
"identifierName": "itemB"
},
"name": "itemB"
},
"extra": {
"parenthesizedArgument": false
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 11570,
"end": 11630,
"loc": {
"start": {
"line": 332,
"column": 30
},
"end": {
"line": 335,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 11607,
"end": 11619,
"loc": {
"start": {
"line": 334,
"column": 12
},
"end": {
"line": 334,
"column": 24
}
},
"argument": {
"type": "NullLiteral",
"start": 11614,
"end": 11618,
"loc": {
"start": {
"line": 334,
"column": 19
},
"end": {
"line": 334,
"column": 23
}
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Empty",
"start": 11585,
"end": 11593,
"loc": {
"start": {
"line": 333,
"column": 12
},
"end": {
"line": 333,
"column": 20
}
}
}
]
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 11642,
"end": 11779,
"loc": {
"start": {
"line": 337,
"column": 8
},
"end": {
"line": 340,
"column": 9
}
},
"test": {
"type": "BinaryExpression",
"start": 11646,
"end": 11689,
"loc": {
"start": {
"line": 337,
"column": 12
},
"end": {
"line": 337,
"column": 55
}
},
"left": {
"type": "CallExpression",
"start": 11646,
"end": 11665,
"loc": {
"start": {
"line": 337,
"column": 12
},
"end": {
"line": 337,
"column": 31
}
},
"callee": {
"type": "MemberExpression",
"start": 11646,
"end": 11663,
"loc": {
"start": {
"line": 337,
"column": 12
},
"end": {
"line": 337,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 11646,
"end": 11651,
"loc": {
"start": {
"line": 337,
"column": 12
},
"end": {
"line": 337,
"column": 17
},
"identifierName": "itemA"
},
"name": "itemA"
},
"property": {
"type": "Identifier",
"start": 11652,
"end": 11663,
"loc": {
"start": {
"line": 337,
"column": 18
},
"end": {
"line": 337,
"column": 29
},
"identifierName": "getItemType"
},
"name": "getItemType"
},
"computed": false
},
"arguments": []
},
"operator": "!==",
"right": {
"type": "CallExpression",
"start": 11670,
"end": 11689,
"loc": {
"start": {
"line": 337,
"column": 36
},
"end": {
"line": 337,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 11670,
"end": 11687,
"loc": {
"start": {
"line": 337,
"column": 36
},
"end": {
"line": 337,
"column": 53
}
},
"object": {
"type": "Identifier",
"start": 11670,
"end": 11675,
"loc": {
"start": {
"line": 337,
"column": 36
},
"end": {
"line": 337,
"column": 41
},
"identifierName": "itemB"
},
"name": "itemB"
},
"property": {
"type": "Identifier",
"start": 11676,
"end": 11687,
"loc": {
"start": {
"line": 337,
"column": 42
},
"end": {
"line": 337,
"column": 53
},
"identifierName": "getItemType"
},
"name": "getItemType"
},
"computed": false
},
"arguments": []
}
},
"consequent": {
"type": "BlockStatement",
"start": 11691,
"end": 11779,
"loc": {
"start": {
"line": 337,
"column": 57
},
"end": {
"line": 340,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 11740,
"end": 11768,
"loc": {
"start": {
"line": 339,
"column": 12
},
"end": {
"line": 339,
"column": 40
}
},
"argument": {
"type": "Identifier",
"start": 11747,
"end": 11767,
"loc": {
"start": {
"line": 339,
"column": 19
},
"end": {
"line": 339,
"column": 39
},
"identifierName": "BOOL_FALSE_SINGLETON"
},
"name": "BOOL_FALSE_SINGLETON",
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Not the same type",
"start": 11706,
"end": 11726,
"loc": {
"start": {
"line": 338,
"column": 12
},
"end": {
"line": 338,
"column": 32
}
}
}
]
}
],
"directives": []
},
"alternate": null
},
{
"type": "SwitchStatement",
"start": 11791,
"end": 12878,
"loc": {
"start": {
"line": 342,
"column": 8
},
"end": {
"line": 369,
"column": 9
}
},
"discriminant": {
"type": "CallExpression",
"start": 11799,
"end": 11818,
"loc": {
"start": {
"line": 342,
"column": 16
},
"end": {
"line": 342,
"column": 35
}
},
"callee": {
"type": "MemberExpression",
"start": 11799,
"end": 11816,
"loc": {
"start": {
"line": 342,
"column": 16
},
"end": {
"line": 342,
"column": 33
}
},
"object": {
"type": "Identifier",
"start": 11799,
"end": 11804,
"loc": {
"start": {
"line": 342,
"column": 16
},
"end": {
"line": 342,
"column": 21
},
"identifierName": "itemA"
},
"name": "itemA"
},
"property": {
"type": "Identifier",
"start": 11805,
"end": 11816,
"loc": {
"start": {
"line": 342,
"column": 22
},
"end": {
"line": 342,
"column": 33
},
"identifierName": "getItemType"
},
"name": "getItemType"
},
"computed": false
},
"arguments": []
},
"cases": [
{
"type": "SwitchCase",
"start": 11835,
"end": 12172,
"loc": {
"start": {
"line": 343,
"column": 12
},
"end": {
"line": 350,
"column": 17
}
},
"consequent": [
{
"type": "BlockStatement",
"start": 11866,
"end": 12172,
"loc": {
"start": {
"line": 344,
"column": 16
},
"end": {
"line": 350,
"column": 17
}
},
"body": [
{
"type": "ReturnStatement",
"start": 11889,
"end": 12153,
"loc": {
"start": {
"line": 345,
"column": 20
},
"end": {
"line": 349,
"column": 45
}
},
"argument": {
"type": "ConditionalExpression",
"start": 11921,
"end": 12152,
"loc": {
"start": {
"line": 345,
"column": 52
},
"end": {
"line": 349,
"column": 44
}
},
"test": {
"type": "BinaryExpression",
"start": 11921,
"end": 12057,
"loc": {
"start": {
"line": 345,
"column": 52
},
"end": {
"line": 347,
"column": 52
}
},
"left": {
"type": "CallExpression",
"start": 11921,
"end": 11949,
"loc": {
"start": {
"line": 345,
"column": 52
},
"end": {
"line": 345,
"column": 80
}
},
"callee": {
"type": "MemberExpression",
"start": 11921,
"end": 11947,
"loc": {
"start": {
"line": 345,
"column": 52
},
"end": {
"line": 345,
"column": 78
}
},
"object": {
"type": "MemberExpression",
"start": 11921,
"end": 11939,
"loc": {
"start": {
"line": 345,
"column": 52
},
"end": {
"line": 345,
"column": 70
}
},
"object": {
"type": "Identifier",
"start": 11922,
"end": 11927,
"loc": {
"start": {
"line": 345,
"column": 53
},
"end": {
"line": 345,
"column": 58
},
"identifierName": "itemA"
},
"name": "itemA",
"leadingComments": null,
"extra": {
"parenthesized": true,
"parenStart": 11921
}
},
"property": {
"type": "Identifier",
"start": 11929,
"end": 11939,
"loc": {
"start": {
"line": 345,
"column": 60
},
"end": {
"line": 345,
"column": 70
},
"identifierName": "definition"
},
"name": "definition"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 11940,
"end": 11947,
"loc": {
"start": {
"line": 345,
"column": 71
},
"end": {
"line": 345,
"column": 78
},
"identifierName": "getHash"
},
"name": "getHash"
},
"computed": false,
"leadingComments": null
},
"arguments": [],
"leadingComments": null
},
"operator": "===",
"right": {
"type": "CallExpression",
"start": 12029,
"end": 12057,
"loc": {
"start": {
"line": 347,
"column": 24
},
"end": {
"line": 347,
"column": 52
}
},
"callee": {
"type": "MemberExpression",
"start": 12029,
"end": 12055,
"loc": {
"start": {
"line": 347,
"column": 24
},
"end": {
"line": 347,
"column": 50
}
},
"object": {
"type": "MemberExpression",
"start": 12029,
"end": 12047,
"loc": {
"start": {
"line": 347,
"column": 24
},
"end": {
"line": 347,
"column": 42
}
},
"object": {
"type": "Identifier",
"start": 12030,
"end": 12035,
"loc": {
"start": {
"line": 347,
"column": 25
},
"end": {
"line": 347,
"column": 30
},
"identifierName": "itemB"
},
"name": "itemB",
"leadingComments": null,
"extra": {
"parenthesized": true,
"parenStart": 12029
}
},
"property": {
"type": "Identifier",
"start": 12037,
"end": 12047,
"loc": {
"start": {
"line": 347,
"column": 32
},
"end": {
"line": 347,
"column": 42
},
"identifierName": "definition"
},
"name": "definition"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 12048,
"end": 12055,
"loc": {
"start": {
"line": 347,
"column": 43
},
"end": {
"line": 347,
"column": 50
},
"identifierName": "getHash"
},
"name": "getHash"
},
"computed": false,
"leadingComments": null
},
"arguments": [],
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @type {ShapeItem} ",
"start": 11979,
"end": 12003,
"loc": {
"start": {
"line": 346,
"column": 24
},
"end": {
"line": 346,
"column": 48
}
}
}
]
},
"leadingComments": null
},
"consequent": {
"type": "Identifier",
"start": 12085,
"end": 12104,
"loc": {
"start": {
"line": 348,
"column": 24
},
"end": {
"line": 348,
"column": 43
},
"identifierName": "BOOL_TRUE_SINGLETON"
},
"name": "BOOL_TRUE_SINGLETON"
},
"alternate": {
"type": "Identifier",
"start": 12132,
"end": 12152,
"loc": {
"start": {
"line": 349,
"column": 24
},
"end": {
"line": 349,
"column": 44
},
"identifierName": "BOOL_FALSE_SINGLETON"
},
"name": "BOOL_FALSE_SINGLETON"
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @type {ShapeItem} ",
"start": 11896,
"end": 11920,
"loc": {
"start": {
"line": 345,
"column": 27
},
"end": {
"line": 345,
"column": 51
}
}
}
]
}
}
],
"directives": []
}
],
"test": {
"type": "StringLiteral",
"start": 11840,
"end": 11847,
"loc": {
"start": {
"line": 343,
"column": 17
},
"end": {
"line": 343,
"column": 24
}
},
"extra": {
"rawValue": "shape",
"raw": "\"shape\""
},
"value": "shape"
}
},
{
"type": "SwitchCase",
"start": 12186,
"end": 12443,
"loc": {
"start": {
"line": 351,
"column": 12
},
"end": {
"line": 356,
"column": 17
}
},
"consequent": [
{
"type": "BlockStatement",
"start": 12217,
"end": 12443,
"loc": {
"start": {
"line": 352,
"column": 16
},
"end": {
"line": 356,
"column": 17
}
},
"body": [
{
"type": "ReturnStatement",
"start": 12240,
"end": 12424,
"loc": {
"start": {
"line": 353,
"column": 20
},
"end": {
"line": 355,
"column": 45
}
},
"argument": {
"type": "ConditionalExpression",
"start": 12272,
"end": 12423,
"loc": {
"start": {
"line": 353,
"column": 52
},
"end": {
"line": 355,
"column": 44
}
},
"test": {
"type": "BinaryExpression",
"start": 12272,
"end": 12328,
"loc": {
"start": {
"line": 353,
"column": 52
},
"end": {
"line": 353,
"column": 108
}
},
"left": {
"type": "MemberExpression",
"start": 12272,
"end": 12285,
"loc": {
"start": {
"line": 353,
"column": 52
},
"end": {
"line": 353,
"column": 65
}
},
"object": {
"type": "Identifier",
"start": 12273,
"end": 12278,
"loc": {
"start": {
"line": 353,
"column": 53
},
"end": {
"line": 353,
"column": 58
},
"identifierName": "itemA"
},
"name": "itemA",
"leadingComments": null,
"extra": {
"parenthesized": true,
"parenStart": 12272
}
},
"property": {
"type": "Identifier",
"start": 12280,
"end": 12285,
"loc": {
"start": {
"line": 353,
"column": 60
},
"end": {
"line": 353,
"column": 65
},
"identifierName": "color"
},
"name": "color"
},
"computed": false,
"leadingComments": null
},
"operator": "===",
"right": {
"type": "MemberExpression",
"start": 12315,
"end": 12328,
"loc": {
"start": {
"line": 353,
"column": 95
},
"end": {
"line": 353,
"column": 108
}
},
"object": {
"type": "Identifier",
"start": 12316,
"end": 12321,
"loc": {
"start": {
"line": 353,
"column": 96
},
"end": {
"line": 353,
"column": 101
},
"identifierName": "itemB"
},
"name": "itemB",
"leadingComments": null,
"extra": {
"parenthesized": true,
"parenStart": 12315
}
},
"property": {
"type": "Identifier",
"start": 12323,
"end": 12328,
"loc": {
"start": {
"line": 353,
"column": 103
},
"end": {
"line": 353,
"column": 108
},
"identifierName": "color"
},
"name": "color"
},
"computed": false,
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @type {ColorItem} ",
"start": 12290,
"end": 12314,
"loc": {
"start": {
"line": 353,
"column": 70
},
"end": {
"line": 353,
"column": 94
}
}
}
]
},
"leadingComments": null
},
"consequent": {
"type": "Identifier",
"start": 12356,
"end": 12375,
"loc": {
"start": {
"line": 354,
"column": 24
},
"end": {
"line": 354,
"column": 43
},
"identifierName": "BOOL_TRUE_SINGLETON"
},
"name": "BOOL_TRUE_SINGLETON"
},
"alternate": {
"type": "Identifier",
"start": 12403,
"end": 12423,
"loc": {
"start": {
"line": 355,
"column": 24
},
"end": {
"line": 355,
"column": 44
},
"identifierName": "BOOL_FALSE_SINGLETON"
},
"name": "BOOL_FALSE_SINGLETON"
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @type {ColorItem} ",
"start": 12247,
"end": 12271,
"loc": {
"start": {
"line": 353,
"column": 27
},
"end": {
"line": 353,
"column": 51
}
}
}
]
}
}
],
"directives": []
}
],
"test": {
"type": "StringLiteral",
"start": 12191,
"end": 12198,
"loc": {
"start": {
"line": 351,
"column": 17
},
"end": {
"line": 351,
"column": 24
}
},
"extra": {
"rawValue": "color",
"raw": "\"color\""
},
"value": "color"
}
},
{
"type": "SwitchCase",
"start": 12459,
"end": 12722,
"loc": {
"start": {
"line": 358,
"column": 12
},
"end": {
"line": 363,
"column": 17
}
},
"consequent": [
{
"type": "BlockStatement",
"start": 12492,
"end": 12722,
"loc": {
"start": {
"line": 359,
"column": 16
},
"end": {
"line": 363,
"column": 17
}
},
"body": [
{
"type": "ReturnStatement",
"start": 12515,
"end": 12703,
"loc": {
"start": {
"line": 360,
"column": 20
},
"end": {
"line": 362,
"column": 45
}
},
"argument": {
"type": "ConditionalExpression",
"start": 12549,
"end": 12702,
"loc": {
"start": {
"line": 360,
"column": 54
},
"end": {
"line": 362,
"column": 44
}
},
"test": {
"type": "BinaryExpression",
"start": 12549,
"end": 12607,
"loc": {
"start": {
"line": 360,
"column": 54
},
"end": {
"line": 360,
"column": 112
}
},
"left": {
"type": "MemberExpression",
"start": 12549,
"end": 12562,
"loc": {
"start": {
"line": 360,
"column": 54
},
"end": {
"line": 360,
"column": 67
}
},
"object": {
"type": "Identifier",
"start": 12550,
"end": 12555,
"loc": {
"start": {
"line": 360,
"column": 55
},
"end": {
"line": 360,
"column": 60
},
"identifierName": "itemA"
},
"name": "itemA",
"leadingComments": null,
"extra": {
"parenthesized": true,
"parenStart": 12549
}
},
"property": {
"type": "Identifier",
"start": 12557,
"end": 12562,
"loc": {
"start": {
"line": 360,
"column": 62
},
"end": {
"line": 360,
"column": 67
},
"identifierName": "value"
},
"name": "value"
},
"computed": false,
"leadingComments": null
},
"operator": "===",
"right": {
"type": "MemberExpression",
"start": 12594,
"end": 12607,
"loc": {
"start": {
"line": 360,
"column": 99
},
"end": {
"line": 360,
"column": 112
}
},
"object": {
"type": "Identifier",
"start": 12595,
"end": 12600,
"loc": {
"start": {
"line": 360,
"column": 100
},
"end": {
"line": 360,
"column": 105
},
"identifierName": "itemB"
},
"name": "itemB",
"leadingComments": null,
"extra": {
"parenthesized": true,
"parenStart": 12594
}
},
"property": {
"type": "Identifier",
"start": 12602,
"end": 12607,
"loc": {
"start": {
"line": 360,
"column": 107
},
"end": {
"line": 360,
"column": 112
},
"identifierName": "value"
},
"name": "value"
},
"computed": false,
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @type {BooleanItem} ",
"start": 12567,
"end": 12593,
"loc": {
"start": {
"line": 360,
"column": 72
},
"end": {
"line": 360,
"column": 98
}
}
}
]
},
"leadingComments": null
},
"consequent": {
"type": "Identifier",
"start": 12635,
"end": 12654,
"loc": {
"start": {
"line": 361,
"column": 24
},
"end": {
"line": 361,
"column": 43
},
"identifierName": "BOOL_TRUE_SINGLETON"
},
"name": "BOOL_TRUE_SINGLETON"
},
"alternate": {
"type": "Identifier",
"start": 12682,
"end": 12702,
"loc": {
"start": {
"line": 362,
"column": 24
},
"end": {
"line": 362,
"column": 44
},
"identifierName": "BOOL_FALSE_SINGLETON"
},
"name": "BOOL_FALSE_SINGLETON"
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @type {BooleanItem} ",
"start": 12522,
"end": 12548,
"loc": {
"start": {
"line": 360,
"column": 27
},
"end": {
"line": 360,
"column": 53
}
}
}
]
}
}
],
"directives": []
}
],
"test": {
"type": "StringLiteral",
"start": 12464,
"end": 12473,
"loc": {
"start": {
"line": 358,
"column": 17
},
"end": {
"line": 358,
"column": 26
}
},
"extra": {
"rawValue": "boolean",
"raw": "\"boolean\""
},
"value": "boolean"
}
},
{
"type": "SwitchCase",
"start": 12738,
"end": 12867,
"loc": {
"start": {
"line": 365,
"column": 12
},
"end": {
"line": 368,
"column": 17
}
},
"consequent": [
{
"type": "BlockStatement",
"start": 12764,
"end": 12867,
"loc": {
"start": {
"line": 366,
"column": 16
},
"end": {
"line": 368,
"column": 17
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 12787,
"end": 12848,
"loc": {
"start": {
"line": 367,
"column": 20
},
"end": {
"line": 367,
"column": 81
}
},
"expression": {
"type": "CallExpression",
"start": 12787,
"end": 12847,
"loc": {
"start": {
"line": 367,
"column": 20
},
"end": {
"line": 367,
"column": 80
}
},
"callee": {
"type": "Identifier",
"start": 12787,
"end": 12799,
"loc": {
"start": {
"line": 367,
"column": 20
},
"end": {
"line": 367,
"column": 32
},
"identifierName": "assertAlways"
},
"name": "assertAlways"
},
"arguments": [
{
"type": "BooleanLiteral",
"start": 12800,
"end": 12805,
"loc": {
"start": {
"line": 367,
"column": 33
},
"end": {
"line": 367,
"column": 38
}
},
"value": false
},
{
"type": "BinaryExpression",
"start": 12807,
"end": 12846,
"loc": {
"start": {
"line": 367,
"column": 40
},
"end": {
"line": 367,
"column": 79
}
},
"left": {
"type": "StringLiteral",
"start": 12807,
"end": 12824,
"loc": {
"start": {
"line": 367,
"column": 40
},
"end": {
"line": 367,
"column": 57
}
},
"extra": {
"rawValue": "Bad item type: ",
"raw": "\"Bad item type: \""
},
"value": "Bad item type: "
},
"operator": "+",
"right": {
"type": "CallExpression",
"start": 12827,
"end": 12846,
"loc": {
"start": {
"line": 367,
"column": 60
},
"end": {
"line": 367,
"column": 79
}
},
"callee": {
"type": "MemberExpression",
"start": 12827,
"end": 12844,
"loc": {
"start": {
"line": 367,
"column": 60
},
"end": {
"line": 367,
"column": 77
}
},
"object": {
"type": "Identifier",
"start": 12827,
"end": 12832,
"loc": {
"start": {
"line": 367,
"column": 60
},
"end": {
"line": 367,
"column": 65
},
"identifierName": "itemA"
},
"name": "itemA"
},
"property": {
"type": "Identifier",
"start": 12833,
"end": 12844,
"loc": {
"start": {
"line": 367,
"column": 66
},
"end": {
"line": 367,
"column": 77
},
"identifierName": "getItemType"
},
"name": "getItemType"
},
"computed": false
},
"arguments": []
}
}
]
}
}
],
"directives": []
}
],
"test": null
}
]
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {Array<BaseItem|null>} parameters\r\n * @returns {BaseItem}\r\n ",
"start": 11336,
"end": 11425,
"loc": {
"start": {
"line": 324,
"column": 4
},
"end": {
"line": 327,
"column": 7
}
}
}
]
}
]
},
"leadingComments": [],
"trailingComments": []
}
}
],
"directives": []
},
"comments": [
{
"type": "CommentLine",
"value": " Store if any conflict was found",
"start": 1971,
"end": 2005,
"loc": {
"start": {
"line": 44,
"column": 12
},
"end": {
"line": 44,
"column": 46
}
}
},
{
"type": "CommentLine",
"value": " Gather inputs from all connected networks",
"start": 2059,
"end": 2103,
"loc": {
"start": {
"line": 47,
"column": 12
},
"end": {
"line": 47,
"column": 56
}
}
},
{
"type": "CommentLine",
"value": " Handle conflicts",
"start": 2750,
"end": 2769,
"loc": {
"start": {
"line": 65,
"column": 12
},
"end": {
"line": 65,
"column": 31
}
}
},
{
"type": "CommentLine",
"value": " Compute actual result",
"start": 3169,
"end": 3193,
"loc": {
"start": {
"line": 77,
"column": 12
},
"end": {
"line": 77,
"column": 36
}
}
},
{
"type": "CommentLine",
"value": " @TODO: For now we hardcode the value to always be slot 0",
"start": 3720,
"end": 3779,
"loc": {
"start": {
"line": 90,
"column": 16
},
"end": {
"line": 90,
"column": 75
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {Array<BaseItem|null>} parameters\r\n * @returns {BaseItem}\r\n ",
"start": 4181,
"end": 4270,
"loc": {
"start": {
"line": 101,
"column": 4
},
"end": {
"line": 104,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {Array<BaseItem|null>} parameters\r\n * @returns {BaseItem}\r\n ",
"start": 4536,
"end": 4625,
"loc": {
"start": {
"line": 112,
"column": 4
},
"end": {
"line": 115,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {Array<BaseItem|null>} parameters\r\n * @returns {BaseItem}\r\n ",
"start": 4761,
"end": 4850,
"loc": {
"start": {
"line": 120,
"column": 4
},
"end": {
"line": 123,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {Array<BaseItem|null>} parameters\r\n * @returns {BaseItem}\r\n ",
"start": 5117,
"end": 5206,
"loc": {
"start": {
"line": 131,
"column": 4
},
"end": {
"line": 134,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {Array<BaseItem|null>} parameters\r\n * @returns {BaseItem}\r\n ",
"start": 5470,
"end": 5559,
"loc": {
"start": {
"line": 142,
"column": 4
},
"end": {
"line": 145,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " pass through item",
"start": 5748,
"end": 5768,
"loc": {
"start": {
"line": 151,
"column": 8
},
"end": {
"line": 151,
"column": 28
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {Array<BaseItem|null>} parameters\r\n * @returns {BaseItem}\r\n ",
"start": 5880,
"end": 5969,
"loc": {
"start": {
"line": 159,
"column": 4
},
"end": {
"line": 162,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " Not a shape",
"start": 6110,
"end": 6124,
"loc": {
"start": {
"line": 166,
"column": 12
},
"end": {
"line": 166,
"column": 26
}
}
},
{
"type": "CommentBlock",
"value": "* @type {ShapeItem} ",
"start": 6192,
"end": 6216,
"loc": {
"start": {
"line": 170,
"column": 27
},
"end": {
"line": 170,
"column": 51
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {Array<BaseItem|null>} parameters\r\n * @returns {[BaseItem, BaseItem]}\r\n ",
"start": 6443,
"end": 6544,
"loc": {
"start": {
"line": 175,
"column": 4
},
"end": {
"line": 178,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " Not a shape",
"start": 6686,
"end": 6700,
"loc": {
"start": {
"line": 182,
"column": 12
},
"end": {
"line": 182,
"column": 26
}
}
},
{
"type": "CommentBlock",
"value": "* @type {ShapeItem} ",
"start": 6776,
"end": 6800,
"loc": {
"start": {
"line": 186,
"column": 27
},
"end": {
"line": 186,
"column": 51
}
}
},
{
"type": "CommentBlock",
"value": "* @type {import(\"../shape_definition\").ShapeLayer} ",
"start": 6848,
"end": 6903,
"loc": {
"start": {
"line": 187,
"column": 27
},
"end": {
"line": 187,
"column": 82
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {Array<BaseItem|null>} parameters\r\n * @returns {[BaseItem, BaseItem]}\r\n ",
"start": 7868,
"end": 7969,
"loc": {
"start": {
"line": 215,
"column": 4
},
"end": {
"line": 218,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " Not a shape",
"start": 8107,
"end": 8121,
"loc": {
"start": {
"line": 222,
"column": 12
},
"end": {
"line": 222,
"column": 26
}
}
},
{
"type": "CommentBlock",
"value": "* @type {ShapeItem} ",
"start": 8197,
"end": 8221,
"loc": {
"start": {
"line": 226,
"column": 27
},
"end": {
"line": 226,
"column": 51
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {Array<BaseItem|null>} parameters\r\n * @returns {[BaseItem, BaseItem]}\r\n ",
"start": 8658,
"end": 8759,
"loc": {
"start": {
"line": 238,
"column": 4
},
"end": {
"line": 241,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " Not a shape",
"start": 8901,
"end": 8915,
"loc": {
"start": {
"line": 245,
"column": 12
},
"end": {
"line": 245,
"column": 26
}
}
},
{
"type": "CommentBlock",
"value": "* @type {ShapeItem} ",
"start": 8991,
"end": 9015,
"loc": {
"start": {
"line": 249,
"column": 27
},
"end": {
"line": 249,
"column": 51
}
}
},
{
"type": "CommentBlock",
"value": "* @type {Array<import(\"../shape_definition\").ShapeLayer>} ",
"start": 9059,
"end": 9122,
"loc": {
"start": {
"line": 250,
"column": 23
},
"end": {
"line": 250,
"column": 86
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {Array<BaseItem|null>} parameters\r\n * @returns {BaseItem}\r\n ",
"start": 9751,
"end": 9840,
"loc": {
"start": {
"line": 268,
"column": 4
},
"end": {
"line": 271,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " Empty",
"start": 10016,
"end": 10024,
"loc": {
"start": {
"line": 277,
"column": 12
},
"end": {
"line": 277,
"column": 20
}
}
},
{
"type": "CommentLine",
"value": " Bad type",
"start": 10168,
"end": 10179,
"loc": {
"start": {
"line": 282,
"column": 12
},
"end": {
"line": 282,
"column": 23
}
}
},
{
"type": "CommentBlock",
"value": "* @type {ShapeItem} ",
"start": 10309,
"end": 10333,
"loc": {
"start": {
"line": 287,
"column": 12
},
"end": {
"line": 287,
"column": 36
}
}
},
{
"type": "CommentBlock",
"value": "* @type {ShapeItem} ",
"start": 10384,
"end": 10408,
"loc": {
"start": {
"line": 289,
"column": 12
},
"end": {
"line": 289,
"column": 36
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {Array<BaseItem|null>} parameters\r\n * @returns {BaseItem}\r\n ",
"start": 10560,
"end": 10649,
"loc": {
"start": {
"line": 296,
"column": 4
},
"end": {
"line": 299,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " Empty",
"start": 10809,
"end": 10817,
"loc": {
"start": {
"line": 305,
"column": 12
},
"end": {
"line": 305,
"column": 20
}
}
},
{
"type": "CommentLine",
"value": " Bad type",
"start": 10953,
"end": 10964,
"loc": {
"start": {
"line": 310,
"column": 12
},
"end": {
"line": 310,
"column": 23
}
}
},
{
"type": "CommentBlock",
"value": "* @type {ShapeItem} ",
"start": 11098,
"end": 11122,
"loc": {
"start": {
"line": 315,
"column": 12
},
"end": {
"line": 315,
"column": 36
}
}
},
{
"type": "CommentBlock",
"value": "* @type {ColorItem} ",
"start": 11169,
"end": 11193,
"loc": {
"start": {
"line": 317,
"column": 12
},
"end": {
"line": 317,
"column": 36
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {Array<BaseItem|null>} parameters\r\n * @returns {BaseItem}\r\n ",
"start": 11336,
"end": 11425,
"loc": {
"start": {
"line": 324,
"column": 4
},
"end": {
"line": 327,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " Empty",
"start": 11585,
"end": 11593,
"loc": {
"start": {
"line": 333,
"column": 12
},
"end": {
"line": 333,
"column": 20
}
}
},
{
"type": "CommentLine",
"value": " Not the same type",
"start": 11706,
"end": 11726,
"loc": {
"start": {
"line": 338,
"column": 12
},
"end": {
"line": 338,
"column": 32
}
}
},
{
"type": "CommentBlock",
"value": "* @type {ShapeItem} ",
"start": 11896,
"end": 11920,
"loc": {
"start": {
"line": 345,
"column": 27
},
"end": {
"line": 345,
"column": 51
}
}
},
{
"type": "CommentBlock",
"value": "* @type {ShapeItem} ",
"start": 11979,
"end": 12003,
"loc": {
"start": {
"line": 346,
"column": 24
},
"end": {
"line": 346,
"column": 48
}
}
},
{
"type": "CommentBlock",
"value": "* @type {ColorItem} ",
"start": 12247,
"end": 12271,
"loc": {
"start": {
"line": 353,
"column": 27
},
"end": {
"line": 353,
"column": 51
}
}
},
{
"type": "CommentBlock",
"value": "* @type {ColorItem} ",
"start": 12290,
"end": 12314,
"loc": {
"start": {
"line": 353,
"column": 70
},
"end": {
"line": 353,
"column": 94
}
}
},
{
"type": "CommentBlock",
"value": "* @type {BooleanItem} ",
"start": 12522,
"end": 12548,
"loc": {
"start": {
"line": 360,
"column": 27
},
"end": {
"line": 360,
"column": 53
}
}
},
{
"type": "CommentBlock",
"value": "* @type {BooleanItem} ",
"start": 12567,
"end": 12593,
"loc": {
"start": {
"line": 360,
"column": 72
},
"end": {
"line": 360,
"column": 98
}
}
}
],
"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": "BaseItem",
"start": 9,
"end": 17,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 18,
"end": 19,
"loc": {
"start": {
"line": 1,
"column": 18
},
"end": {
"line": 1,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 20,
"end": 24,
"loc": {
"start": {
"line": 1,
"column": 20
},
"end": {
"line": 1,
"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": 25,
"end": 39,
"loc": {
"start": {
"line": 1,
"column": 25
},
"end": {
"line": 1,
"column": 39
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 39,
"end": 40,
"loc": {
"start": {
"line": 1,
"column": 39
},
"end": {
"line": 1,
"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": 42,
"end": 48,
"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": 49,
"end": 50,
"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": "enumColors",
"start": 51,
"end": 61,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 19
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 62,
"end": 63,
"loc": {
"start": {
"line": 2,
"column": 20
},
"end": {
"line": 2,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 64,
"end": 68,
"loc": {
"start": {
"line": 2,
"column": 22
},
"end": {
"line": 2,
"column": 26
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../colors",
"start": 69,
"end": 80,
"loc": {
"start": {
"line": 2,
"column": 27
},
"end": {
"line": 2,
"column": 38
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 80,
"end": 81,
"loc": {
"start": {
"line": 2,
"column": 38
},
"end": {
"line": 2,
"column": 39
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 83,
"end": 89,
"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": 90,
"end": 91,
"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": "enumLogicGateType",
"start": 92,
"end": 109,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 26
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 109,
"end": 110,
"loc": {
"start": {
"line": 3,
"column": 26
},
"end": {
"line": 3,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "LogicGateComponent",
"start": 111,
"end": 129,
"loc": {
"start": {
"line": 3,
"column": 28
},
"end": {
"line": 3,
"column": 46
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 130,
"end": 131,
"loc": {
"start": {
"line": 3,
"column": 47
},
"end": {
"line": 3,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 132,
"end": 136,
"loc": {
"start": {
"line": 3,
"column": 49
},
"end": {
"line": 3,
"column": 53
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../components/logic_gate",
"start": 137,
"end": 163,
"loc": {
"start": {
"line": 3,
"column": 54
},
"end": {
"line": 3,
"column": 80
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 163,
"end": 164,
"loc": {
"start": {
"line": 3,
"column": 80
},
"end": {
"line": 3,
"column": 81
}
}
},
{
"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": 166,
"end": 172,
"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": 173,
"end": 174,
"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": "enumPinSlotType",
"start": 175,
"end": 190,
"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": 191,
"end": 192,
"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": 193,
"end": 197,
"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": "../components/wired_pins",
"start": 198,
"end": 224,
"loc": {
"start": {
"line": 4,
"column": 32
},
"end": {
"line": 4,
"column": 58
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 224,
"end": 225,
"loc": {
"start": {
"line": 4,
"column": 58
},
"end": {
"line": 4,
"column": 59
}
}
},
{
"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": 227,
"end": 233,
"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": 234,
"end": 235,
"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": "GameSystemWithFilter",
"start": 236,
"end": 256,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 29
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 257,
"end": 258,
"loc": {
"start": {
"line": 5,
"column": 30
},
"end": {
"line": 5,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 259,
"end": 263,
"loc": {
"start": {
"line": 5,
"column": 32
},
"end": {
"line": 5,
"column": 36
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../game_system_with_filter",
"start": 264,
"end": 292,
"loc": {
"start": {
"line": 5,
"column": 37
},
"end": {
"line": 5,
"column": 65
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 292,
"end": 293,
"loc": {
"start": {
"line": 5,
"column": 65
},
"end": {
"line": 5,
"column": 66
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 295,
"end": 301,
"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": 302,
"end": 303,
"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": "BOOL_FALSE_SINGLETON",
"start": 304,
"end": 324,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 29
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 324,
"end": 325,
"loc": {
"start": {
"line": 6,
"column": 29
},
"end": {
"line": 6,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "BOOL_TRUE_SINGLETON",
"start": 326,
"end": 345,
"loc": {
"start": {
"line": 6,
"column": 31
},
"end": {
"line": 6,
"column": 50
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 345,
"end": 346,
"loc": {
"start": {
"line": 6,
"column": 50
},
"end": {
"line": 6,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "BooleanItem",
"start": 347,
"end": 358,
"loc": {
"start": {
"line": 6,
"column": 52
},
"end": {
"line": 6,
"column": 63
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 358,
"end": 359,
"loc": {
"start": {
"line": 6,
"column": 63
},
"end": {
"line": 6,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isTruthyItem",
"start": 360,
"end": 372,
"loc": {
"start": {
"line": 6,
"column": 65
},
"end": {
"line": 6,
"column": 77
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 373,
"end": 374,
"loc": {
"start": {
"line": 6,
"column": 78
},
"end": {
"line": 6,
"column": 79
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 375,
"end": 379,
"loc": {
"start": {
"line": 6,
"column": 80
},
"end": {
"line": 6,
"column": 84
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../items/boolean_item",
"start": 380,
"end": 403,
"loc": {
"start": {
"line": 6,
"column": 85
},
"end": {
"line": 6,
"column": 108
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 403,
"end": 404,
"loc": {
"start": {
"line": 6,
"column": 108
},
"end": {
"line": 6,
"column": 109
}
}
},
{
"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": 406,
"end": 412,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 7,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 413,
"end": 414,
"loc": {
"start": {
"line": 7,
"column": 7
},
"end": {
"line": 7,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ColorItem",
"start": 415,
"end": 424,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 18
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 425,
"end": 426,
"loc": {
"start": {
"line": 7,
"column": 19
},
"end": {
"line": 7,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 427,
"end": 431,
"loc": {
"start": {
"line": 7,
"column": 21
},
"end": {
"line": 7,
"column": 25
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../items/color_item",
"start": 432,
"end": 453,
"loc": {
"start": {
"line": 7,
"column": 26
},
"end": {
"line": 7,
"column": 47
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 453,
"end": 454,
"loc": {
"start": {
"line": 7,
"column": 47
},
"end": {
"line": 7,
"column": 48
}
}
},
{
"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": 456,
"end": 462,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 8,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 463,
"end": 464,
"loc": {
"start": {
"line": 8,
"column": 7
},
"end": {
"line": 8,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ShapeItem",
"start": 465,
"end": 474,
"loc": {
"start": {
"line": 8,
"column": 9
},
"end": {
"line": 8,
"column": 18
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 475,
"end": 476,
"loc": {
"start": {
"line": 8,
"column": 19
},
"end": {
"line": 8,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 477,
"end": 481,
"loc": {
"start": {
"line": 8,
"column": 21
},
"end": {
"line": 8,
"column": 25
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../items/shape_item",
"start": 482,
"end": 503,
"loc": {
"start": {
"line": 8,
"column": 26
},
"end": {
"line": 8,
"column": 47
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 503,
"end": 504,
"loc": {
"start": {
"line": 8,
"column": 47
},
"end": {
"line": 8,
"column": 48
}
}
},
{
"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": 506,
"end": 512,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 513,
"end": 514,
"loc": {
"start": {
"line": 9,
"column": 7
},
"end": {
"line": 9,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ShapeDefinition",
"start": 515,
"end": 530,
"loc": {
"start": {
"line": 9,
"column": 9
},
"end": {
"line": 9,
"column": 24
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 531,
"end": 532,
"loc": {
"start": {
"line": 9,
"column": 25
},
"end": {
"line": 9,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 533,
"end": 537,
"loc": {
"start": {
"line": 9,
"column": 27
},
"end": {
"line": 9,
"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": 538,
"end": 559,
"loc": {
"start": {
"line": 9,
"column": 32
},
"end": {
"line": 9,
"column": 53
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 559,
"end": 560,
"loc": {
"start": {
"line": 9,
"column": 53
},
"end": {
"line": 9,
"column": 54
}
}
},
{
"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": 564,
"end": 570,
"loc": {
"start": {
"line": 11,
"column": 0
},
"end": {
"line": 11,
"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": 571,
"end": 576,
"loc": {
"start": {
"line": 11,
"column": 7
},
"end": {
"line": 11,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "LogicGateSystem",
"start": 577,
"end": 592,
"loc": {
"start": {
"line": 11,
"column": 13
},
"end": {
"line": 11,
"column": 28
}
}
},
{
"type": {
"label": "extends",
"keyword": "extends",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "extends",
"start": 593,
"end": 600,
"loc": {
"start": {
"line": 11,
"column": 29
},
"end": {
"line": 11,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "GameSystemWithFilter",
"start": 601,
"end": 621,
"loc": {
"start": {
"line": 11,
"column": 37
},
"end": {
"line": 11,
"column": 57
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 622,
"end": 623,
"loc": {
"start": {
"line": 11,
"column": 58
},
"end": {
"line": 11,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 629,
"end": 640,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 12,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 640,
"end": 641,
"loc": {
"start": {
"line": 12,
"column": 15
},
"end": {
"line": 12,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 641,
"end": 645,
"loc": {
"start": {
"line": 12,
"column": 16
},
"end": {
"line": 12,
"column": 20
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 645,
"end": 646,
"loc": {
"start": {
"line": 12,
"column": 20
},
"end": {
"line": 12,
"column": 21
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 647,
"end": 648,
"loc": {
"start": {
"line": 12,
"column": 22
},
"end": {
"line": 12,
"column": 23
}
}
},
{
"type": {
"label": "super",
"keyword": "super",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "super",
"start": 658,
"end": 663,
"loc": {
"start": {
"line": 13,
"column": 8
},
"end": {
"line": 13,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 663,
"end": 664,
"loc": {
"start": {
"line": 13,
"column": 13
},
"end": {
"line": 13,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 664,
"end": 668,
"loc": {
"start": {
"line": 13,
"column": 14
},
"end": {
"line": 13,
"column": 18
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 668,
"end": 669,
"loc": {
"start": {
"line": 13,
"column": 18
},
"end": {
"line": 13,
"column": 19
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 670,
"end": 671,
"loc": {
"start": {
"line": 13,
"column": 20
},
"end": {
"line": 13,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "LogicGateComponent",
"start": 671,
"end": 689,
"loc": {
"start": {
"line": 13,
"column": 21
},
"end": {
"line": 13,
"column": 39
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 689,
"end": 690,
"loc": {
"start": {
"line": 13,
"column": 39
},
"end": {
"line": 13,
"column": 40
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 690,
"end": 691,
"loc": {
"start": {
"line": 13,
"column": 40
},
"end": {
"line": 13,
"column": 41
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 691,
"end": 692,
"loc": {
"start": {
"line": 13,
"column": 41
},
"end": {
"line": 13,
"column": 42
}
}
},
{
"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": 704,
"end": 708,
"loc": {
"start": {
"line": 15,
"column": 8
},
"end": {
"line": 15,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 708,
"end": 709,
"loc": {
"start": {
"line": 15,
"column": 12
},
"end": {
"line": 15,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "boundOperations",
"start": 709,
"end": 724,
"loc": {
"start": {
"line": 15,
"column": 13
},
"end": {
"line": 15,
"column": 28
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 725,
"end": 726,
"loc": {
"start": {
"line": 15,
"column": 29
},
"end": {
"line": 15,
"column": 30
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 727,
"end": 728,
"loc": {
"start": {
"line": 15,
"column": 31
},
"end": {
"line": 15,
"column": 32
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 742,
"end": 743,
"loc": {
"start": {
"line": 16,
"column": 12
},
"end": {
"line": 16,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumLogicGateType",
"start": 743,
"end": 760,
"loc": {
"start": {
"line": 16,
"column": 13
},
"end": {
"line": 16,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 760,
"end": 761,
"loc": {
"start": {
"line": 16,
"column": 30
},
"end": {
"line": 16,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "and",
"start": 761,
"end": 764,
"loc": {
"start": {
"line": 16,
"column": 31
},
"end": {
"line": 16,
"column": 34
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 764,
"end": 765,
"loc": {
"start": {
"line": 16,
"column": 34
},
"end": {
"line": 16,
"column": 35
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 765,
"end": 766,
"loc": {
"start": {
"line": 16,
"column": 35
},
"end": {
"line": 16,
"column": 36
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 767,
"end": 771,
"loc": {
"start": {
"line": 16,
"column": 37
},
"end": {
"line": 16,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 771,
"end": 772,
"loc": {
"start": {
"line": 16,
"column": 41
},
"end": {
"line": 16,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "compute_AND",
"start": 772,
"end": 783,
"loc": {
"start": {
"line": 16,
"column": 42
},
"end": {
"line": 16,
"column": 53
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 783,
"end": 784,
"loc": {
"start": {
"line": 16,
"column": 53
},
"end": {
"line": 16,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bind",
"start": 784,
"end": 788,
"loc": {
"start": {
"line": 16,
"column": 54
},
"end": {
"line": 16,
"column": 58
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 788,
"end": 789,
"loc": {
"start": {
"line": 16,
"column": 58
},
"end": {
"line": 16,
"column": 59
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 789,
"end": 793,
"loc": {
"start": {
"line": 16,
"column": 59
},
"end": {
"line": 16,
"column": 63
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 793,
"end": 794,
"loc": {
"start": {
"line": 16,
"column": 63
},
"end": {
"line": 16,
"column": 64
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 794,
"end": 795,
"loc": {
"start": {
"line": 16,
"column": 64
},
"end": {
"line": 16,
"column": 65
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 809,
"end": 810,
"loc": {
"start": {
"line": 17,
"column": 12
},
"end": {
"line": 17,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumLogicGateType",
"start": 810,
"end": 827,
"loc": {
"start": {
"line": 17,
"column": 13
},
"end": {
"line": 17,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 827,
"end": 828,
"loc": {
"start": {
"line": 17,
"column": 30
},
"end": {
"line": 17,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "not",
"start": 828,
"end": 831,
"loc": {
"start": {
"line": 17,
"column": 31
},
"end": {
"line": 17,
"column": 34
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 831,
"end": 832,
"loc": {
"start": {
"line": 17,
"column": 34
},
"end": {
"line": 17,
"column": 35
}
}
},
{
"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": 17,
"column": 35
},
"end": {
"line": 17,
"column": 36
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 834,
"end": 838,
"loc": {
"start": {
"line": 17,
"column": 37
},
"end": {
"line": 17,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 838,
"end": 839,
"loc": {
"start": {
"line": 17,
"column": 41
},
"end": {
"line": 17,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "compute_NOT",
"start": 839,
"end": 850,
"loc": {
"start": {
"line": 17,
"column": 42
},
"end": {
"line": 17,
"column": 53
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 850,
"end": 851,
"loc": {
"start": {
"line": 17,
"column": 53
},
"end": {
"line": 17,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bind",
"start": 851,
"end": 855,
"loc": {
"start": {
"line": 17,
"column": 54
},
"end": {
"line": 17,
"column": 58
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 855,
"end": 856,
"loc": {
"start": {
"line": 17,
"column": 58
},
"end": {
"line": 17,
"column": 59
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 856,
"end": 860,
"loc": {
"start": {
"line": 17,
"column": 59
},
"end": {
"line": 17,
"column": 63
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 860,
"end": 861,
"loc": {
"start": {
"line": 17,
"column": 63
},
"end": {
"line": 17,
"column": 64
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 861,
"end": 862,
"loc": {
"start": {
"line": 17,
"column": 64
},
"end": {
"line": 17,
"column": 65
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 876,
"end": 877,
"loc": {
"start": {
"line": 18,
"column": 12
},
"end": {
"line": 18,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumLogicGateType",
"start": 877,
"end": 894,
"loc": {
"start": {
"line": 18,
"column": 13
},
"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": 894,
"end": 895,
"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": "xor",
"start": 895,
"end": 898,
"loc": {
"start": {
"line": 18,
"column": 31
},
"end": {
"line": 18,
"column": 34
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 898,
"end": 899,
"loc": {
"start": {
"line": 18,
"column": 34
},
"end": {
"line": 18,
"column": 35
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 899,
"end": 900,
"loc": {
"start": {
"line": 18,
"column": 35
},
"end": {
"line": 18,
"column": 36
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 901,
"end": 905,
"loc": {
"start": {
"line": 18,
"column": 37
},
"end": {
"line": 18,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 905,
"end": 906,
"loc": {
"start": {
"line": 18,
"column": 41
},
"end": {
"line": 18,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "compute_XOR",
"start": 906,
"end": 917,
"loc": {
"start": {
"line": 18,
"column": 42
},
"end": {
"line": 18,
"column": 53
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 917,
"end": 918,
"loc": {
"start": {
"line": 18,
"column": 53
},
"end": {
"line": 18,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bind",
"start": 918,
"end": 922,
"loc": {
"start": {
"line": 18,
"column": 54
},
"end": {
"line": 18,
"column": 58
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 922,
"end": 923,
"loc": {
"start": {
"line": 18,
"column": 58
},
"end": {
"line": 18,
"column": 59
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 923,
"end": 927,
"loc": {
"start": {
"line": 18,
"column": 59
},
"end": {
"line": 18,
"column": 63
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 927,
"end": 928,
"loc": {
"start": {
"line": 18,
"column": 63
},
"end": {
"line": 18,
"column": 64
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 928,
"end": 929,
"loc": {
"start": {
"line": 18,
"column": 64
},
"end": {
"line": 18,
"column": 65
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 943,
"end": 944,
"loc": {
"start": {
"line": 19,
"column": 12
},
"end": {
"line": 19,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumLogicGateType",
"start": 944,
"end": 961,
"loc": {
"start": {
"line": 19,
"column": 13
},
"end": {
"line": 19,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 961,
"end": 962,
"loc": {
"start": {
"line": 19,
"column": 30
},
"end": {
"line": 19,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "or",
"start": 962,
"end": 964,
"loc": {
"start": {
"line": 19,
"column": 31
},
"end": {
"line": 19,
"column": 33
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 964,
"end": 965,
"loc": {
"start": {
"line": 19,
"column": 33
},
"end": {
"line": 19,
"column": 34
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 965,
"end": 966,
"loc": {
"start": {
"line": 19,
"column": 34
},
"end": {
"line": 19,
"column": 35
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 967,
"end": 971,
"loc": {
"start": {
"line": 19,
"column": 36
},
"end": {
"line": 19,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 971,
"end": 972,
"loc": {
"start": {
"line": 19,
"column": 40
},
"end": {
"line": 19,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "compute_OR",
"start": 972,
"end": 982,
"loc": {
"start": {
"line": 19,
"column": 41
},
"end": {
"line": 19,
"column": 51
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 982,
"end": 983,
"loc": {
"start": {
"line": 19,
"column": 51
},
"end": {
"line": 19,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bind",
"start": 983,
"end": 987,
"loc": {
"start": {
"line": 19,
"column": 52
},
"end": {
"line": 19,
"column": 56
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 987,
"end": 988,
"loc": {
"start": {
"line": 19,
"column": 56
},
"end": {
"line": 19,
"column": 57
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 988,
"end": 992,
"loc": {
"start": {
"line": 19,
"column": 57
},
"end": {
"line": 19,
"column": 61
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 992,
"end": 993,
"loc": {
"start": {
"line": 19,
"column": 61
},
"end": {
"line": 19,
"column": 62
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 993,
"end": 994,
"loc": {
"start": {
"line": 19,
"column": 62
},
"end": {
"line": 19,
"column": 63
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1008,
"end": 1009,
"loc": {
"start": {
"line": 20,
"column": 12
},
"end": {
"line": 20,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumLogicGateType",
"start": 1009,
"end": 1026,
"loc": {
"start": {
"line": 20,
"column": 13
},
"end": {
"line": 20,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1026,
"end": 1027,
"loc": {
"start": {
"line": 20,
"column": 30
},
"end": {
"line": 20,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "transistor",
"start": 1027,
"end": 1037,
"loc": {
"start": {
"line": 20,
"column": 31
},
"end": {
"line": 20,
"column": 41
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1037,
"end": 1038,
"loc": {
"start": {
"line": 20,
"column": 41
},
"end": {
"line": 20,
"column": 42
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1038,
"end": 1039,
"loc": {
"start": {
"line": 20,
"column": 42
},
"end": {
"line": 20,
"column": 43
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1040,
"end": 1044,
"loc": {
"start": {
"line": 20,
"column": 44
},
"end": {
"line": 20,
"column": 48
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1044,
"end": 1045,
"loc": {
"start": {
"line": 20,
"column": 48
},
"end": {
"line": 20,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "compute_IF",
"start": 1045,
"end": 1055,
"loc": {
"start": {
"line": 20,
"column": 49
},
"end": {
"line": 20,
"column": 59
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1055,
"end": 1056,
"loc": {
"start": {
"line": 20,
"column": 59
},
"end": {
"line": 20,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bind",
"start": 1056,
"end": 1060,
"loc": {
"start": {
"line": 20,
"column": 60
},
"end": {
"line": 20,
"column": 64
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1060,
"end": 1061,
"loc": {
"start": {
"line": 20,
"column": 64
},
"end": {
"line": 20,
"column": 65
}
}
},
{
"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": 1061,
"end": 1065,
"loc": {
"start": {
"line": 20,
"column": 65
},
"end": {
"line": 20,
"column": 69
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1065,
"end": 1066,
"loc": {
"start": {
"line": 20,
"column": 69
},
"end": {
"line": 20,
"column": 70
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1066,
"end": 1067,
"loc": {
"start": {
"line": 20,
"column": 70
},
"end": {
"line": 20,
"column": 71
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1083,
"end": 1084,
"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": "enumLogicGateType",
"start": 1084,
"end": 1101,
"loc": {
"start": {
"line": 22,
"column": 13
},
"end": {
"line": 22,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1101,
"end": 1102,
"loc": {
"start": {
"line": 22,
"column": 30
},
"end": {
"line": 22,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotater",
"start": 1102,
"end": 1109,
"loc": {
"start": {
"line": 22,
"column": 31
},
"end": {
"line": 22,
"column": 38
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1109,
"end": 1110,
"loc": {
"start": {
"line": 22,
"column": 38
},
"end": {
"line": 22,
"column": 39
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1110,
"end": 1111,
"loc": {
"start": {
"line": 22,
"column": 39
},
"end": {
"line": 22,
"column": 40
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1112,
"end": 1116,
"loc": {
"start": {
"line": 22,
"column": 41
},
"end": {
"line": 22,
"column": 45
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1116,
"end": 1117,
"loc": {
"start": {
"line": 22,
"column": 45
},
"end": {
"line": 22,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "compute_ROTATE",
"start": 1117,
"end": 1131,
"loc": {
"start": {
"line": 22,
"column": 46
},
"end": {
"line": 22,
"column": 60
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1131,
"end": 1132,
"loc": {
"start": {
"line": 22,
"column": 60
},
"end": {
"line": 22,
"column": 61
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bind",
"start": 1132,
"end": 1136,
"loc": {
"start": {
"line": 22,
"column": 61
},
"end": {
"line": 22,
"column": 65
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1136,
"end": 1137,
"loc": {
"start": {
"line": 22,
"column": 65
},
"end": {
"line": 22,
"column": 66
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1137,
"end": 1141,
"loc": {
"start": {
"line": 22,
"column": 66
},
"end": {
"line": 22,
"column": 70
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1141,
"end": 1142,
"loc": {
"start": {
"line": 22,
"column": 70
},
"end": {
"line": 22,
"column": 71
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1142,
"end": 1143,
"loc": {
"start": {
"line": 22,
"column": 71
},
"end": {
"line": 22,
"column": 72
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1157,
"end": 1158,
"loc": {
"start": {
"line": 23,
"column": 12
},
"end": {
"line": 23,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumLogicGateType",
"start": 1158,
"end": 1175,
"loc": {
"start": {
"line": 23,
"column": 13
},
"end": {
"line": 23,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1175,
"end": 1176,
"loc": {
"start": {
"line": 23,
"column": 30
},
"end": {
"line": 23,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "analyzer",
"start": 1176,
"end": 1184,
"loc": {
"start": {
"line": 23,
"column": 31
},
"end": {
"line": 23,
"column": 39
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1184,
"end": 1185,
"loc": {
"start": {
"line": 23,
"column": 39
},
"end": {
"line": 23,
"column": 40
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1185,
"end": 1186,
"loc": {
"start": {
"line": 23,
"column": 40
},
"end": {
"line": 23,
"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": 1187,
"end": 1191,
"loc": {
"start": {
"line": 23,
"column": 42
},
"end": {
"line": 23,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1191,
"end": 1192,
"loc": {
"start": {
"line": 23,
"column": 46
},
"end": {
"line": 23,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "compute_ANALYZE",
"start": 1192,
"end": 1207,
"loc": {
"start": {
"line": 23,
"column": 47
},
"end": {
"line": 23,
"column": 62
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1207,
"end": 1208,
"loc": {
"start": {
"line": 23,
"column": 62
},
"end": {
"line": 23,
"column": 63
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bind",
"start": 1208,
"end": 1212,
"loc": {
"start": {
"line": 23,
"column": 63
},
"end": {
"line": 23,
"column": 67
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1212,
"end": 1213,
"loc": {
"start": {
"line": 23,
"column": 67
},
"end": {
"line": 23,
"column": 68
}
}
},
{
"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": 1213,
"end": 1217,
"loc": {
"start": {
"line": 23,
"column": 68
},
"end": {
"line": 23,
"column": 72
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1217,
"end": 1218,
"loc": {
"start": {
"line": 23,
"column": 72
},
"end": {
"line": 23,
"column": 73
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1218,
"end": 1219,
"loc": {
"start": {
"line": 23,
"column": 73
},
"end": {
"line": 23,
"column": 74
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1233,
"end": 1234,
"loc": {
"start": {
"line": 24,
"column": 12
},
"end": {
"line": 24,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumLogicGateType",
"start": 1234,
"end": 1251,
"loc": {
"start": {
"line": 24,
"column": 13
},
"end": {
"line": 24,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1251,
"end": 1252,
"loc": {
"start": {
"line": 24,
"column": 30
},
"end": {
"line": 24,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cutter",
"start": 1252,
"end": 1258,
"loc": {
"start": {
"line": 24,
"column": 31
},
"end": {
"line": 24,
"column": 37
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1258,
"end": 1259,
"loc": {
"start": {
"line": 24,
"column": 37
},
"end": {
"line": 24,
"column": 38
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1259,
"end": 1260,
"loc": {
"start": {
"line": 24,
"column": 38
},
"end": {
"line": 24,
"column": 39
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1261,
"end": 1265,
"loc": {
"start": {
"line": 24,
"column": 40
},
"end": {
"line": 24,
"column": 44
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1265,
"end": 1266,
"loc": {
"start": {
"line": 24,
"column": 44
},
"end": {
"line": 24,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "compute_CUT",
"start": 1266,
"end": 1277,
"loc": {
"start": {
"line": 24,
"column": 45
},
"end": {
"line": 24,
"column": 56
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1277,
"end": 1278,
"loc": {
"start": {
"line": 24,
"column": 56
},
"end": {
"line": 24,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bind",
"start": 1278,
"end": 1282,
"loc": {
"start": {
"line": 24,
"column": 57
},
"end": {
"line": 24,
"column": 61
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1282,
"end": 1283,
"loc": {
"start": {
"line": 24,
"column": 61
},
"end": {
"line": 24,
"column": 62
}
}
},
{
"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": 1283,
"end": 1287,
"loc": {
"start": {
"line": 24,
"column": 62
},
"end": {
"line": 24,
"column": 66
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1287,
"end": 1288,
"loc": {
"start": {
"line": 24,
"column": 66
},
"end": {
"line": 24,
"column": 67
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1288,
"end": 1289,
"loc": {
"start": {
"line": 24,
"column": 67
},
"end": {
"line": 24,
"column": 68
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1303,
"end": 1304,
"loc": {
"start": {
"line": 25,
"column": 12
},
"end": {
"line": 25,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumLogicGateType",
"start": 1304,
"end": 1321,
"loc": {
"start": {
"line": 25,
"column": 13
},
"end": {
"line": 25,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1321,
"end": 1322,
"loc": {
"start": {
"line": 25,
"column": 30
},
"end": {
"line": 25,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "unstacker",
"start": 1322,
"end": 1331,
"loc": {
"start": {
"line": 25,
"column": 31
},
"end": {
"line": 25,
"column": 40
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1331,
"end": 1332,
"loc": {
"start": {
"line": 25,
"column": 40
},
"end": {
"line": 25,
"column": 41
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1332,
"end": 1333,
"loc": {
"start": {
"line": 25,
"column": 41
},
"end": {
"line": 25,
"column": 42
}
}
},
{
"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": 1334,
"end": 1338,
"loc": {
"start": {
"line": 25,
"column": 43
},
"end": {
"line": 25,
"column": 47
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1338,
"end": 1339,
"loc": {
"start": {
"line": 25,
"column": 47
},
"end": {
"line": 25,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "compute_UNSTACK",
"start": 1339,
"end": 1354,
"loc": {
"start": {
"line": 25,
"column": 48
},
"end": {
"line": 25,
"column": 63
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1354,
"end": 1355,
"loc": {
"start": {
"line": 25,
"column": 63
},
"end": {
"line": 25,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bind",
"start": 1355,
"end": 1359,
"loc": {
"start": {
"line": 25,
"column": 64
},
"end": {
"line": 25,
"column": 68
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1359,
"end": 1360,
"loc": {
"start": {
"line": 25,
"column": 68
},
"end": {
"line": 25,
"column": 69
}
}
},
{
"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": 1360,
"end": 1364,
"loc": {
"start": {
"line": 25,
"column": 69
},
"end": {
"line": 25,
"column": 73
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1364,
"end": 1365,
"loc": {
"start": {
"line": 25,
"column": 73
},
"end": {
"line": 25,
"column": 74
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1365,
"end": 1366,
"loc": {
"start": {
"line": 25,
"column": 74
},
"end": {
"line": 25,
"column": 75
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1380,
"end": 1381,
"loc": {
"start": {
"line": 26,
"column": 12
},
"end": {
"line": 26,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumLogicGateType",
"start": 1381,
"end": 1398,
"loc": {
"start": {
"line": 26,
"column": 13
},
"end": {
"line": 26,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1398,
"end": 1399,
"loc": {
"start": {
"line": 26,
"column": 30
},
"end": {
"line": 26,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "compare",
"start": 1399,
"end": 1406,
"loc": {
"start": {
"line": 26,
"column": 31
},
"end": {
"line": 26,
"column": 38
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1406,
"end": 1407,
"loc": {
"start": {
"line": 26,
"column": 38
},
"end": {
"line": 26,
"column": 39
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1407,
"end": 1408,
"loc": {
"start": {
"line": 26,
"column": 39
},
"end": {
"line": 26,
"column": 40
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1409,
"end": 1413,
"loc": {
"start": {
"line": 26,
"column": 41
},
"end": {
"line": 26,
"column": 45
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1413,
"end": 1414,
"loc": {
"start": {
"line": 26,
"column": 45
},
"end": {
"line": 26,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "compute_COMPARE",
"start": 1414,
"end": 1429,
"loc": {
"start": {
"line": 26,
"column": 46
},
"end": {
"line": 26,
"column": 61
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1429,
"end": 1430,
"loc": {
"start": {
"line": 26,
"column": 61
},
"end": {
"line": 26,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bind",
"start": 1430,
"end": 1434,
"loc": {
"start": {
"line": 26,
"column": 62
},
"end": {
"line": 26,
"column": 66
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1434,
"end": 1435,
"loc": {
"start": {
"line": 26,
"column": 66
},
"end": {
"line": 26,
"column": 67
}
}
},
{
"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": 1435,
"end": 1439,
"loc": {
"start": {
"line": 26,
"column": 67
},
"end": {
"line": 26,
"column": 71
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1439,
"end": 1440,
"loc": {
"start": {
"line": 26,
"column": 71
},
"end": {
"line": 26,
"column": 72
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1440,
"end": 1441,
"loc": {
"start": {
"line": 26,
"column": 72
},
"end": {
"line": 26,
"column": 73
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1455,
"end": 1456,
"loc": {
"start": {
"line": 27,
"column": 12
},
"end": {
"line": 27,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumLogicGateType",
"start": 1456,
"end": 1473,
"loc": {
"start": {
"line": 27,
"column": 13
},
"end": {
"line": 27,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1473,
"end": 1474,
"loc": {
"start": {
"line": 27,
"column": 30
},
"end": {
"line": 27,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stacker",
"start": 1474,
"end": 1481,
"loc": {
"start": {
"line": 27,
"column": 31
},
"end": {
"line": 27,
"column": 38
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1481,
"end": 1482,
"loc": {
"start": {
"line": 27,
"column": 38
},
"end": {
"line": 27,
"column": 39
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1482,
"end": 1483,
"loc": {
"start": {
"line": 27,
"column": 39
},
"end": {
"line": 27,
"column": 40
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1484,
"end": 1488,
"loc": {
"start": {
"line": 27,
"column": 41
},
"end": {
"line": 27,
"column": 45
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1488,
"end": 1489,
"loc": {
"start": {
"line": 27,
"column": 45
},
"end": {
"line": 27,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "compute_STACKER",
"start": 1489,
"end": 1504,
"loc": {
"start": {
"line": 27,
"column": 46
},
"end": {
"line": 27,
"column": 61
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1504,
"end": 1505,
"loc": {
"start": {
"line": 27,
"column": 61
},
"end": {
"line": 27,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bind",
"start": 1505,
"end": 1509,
"loc": {
"start": {
"line": 27,
"column": 62
},
"end": {
"line": 27,
"column": 66
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1509,
"end": 1510,
"loc": {
"start": {
"line": 27,
"column": 66
},
"end": {
"line": 27,
"column": 67
}
}
},
{
"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": 1510,
"end": 1514,
"loc": {
"start": {
"line": 27,
"column": 67
},
"end": {
"line": 27,
"column": 71
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1514,
"end": 1515,
"loc": {
"start": {
"line": 27,
"column": 71
},
"end": {
"line": 27,
"column": 72
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1515,
"end": 1516,
"loc": {
"start": {
"line": 27,
"column": 72
},
"end": {
"line": 27,
"column": 73
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1530,
"end": 1531,
"loc": {
"start": {
"line": 28,
"column": 12
},
"end": {
"line": 28,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumLogicGateType",
"start": 1531,
"end": 1548,
"loc": {
"start": {
"line": 28,
"column": 13
},
"end": {
"line": 28,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1548,
"end": 1549,
"loc": {
"start": {
"line": 28,
"column": 30
},
"end": {
"line": 28,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "painter",
"start": 1549,
"end": 1556,
"loc": {
"start": {
"line": 28,
"column": 31
},
"end": {
"line": 28,
"column": 38
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1556,
"end": 1557,
"loc": {
"start": {
"line": 28,
"column": 38
},
"end": {
"line": 28,
"column": 39
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1557,
"end": 1558,
"loc": {
"start": {
"line": 28,
"column": 39
},
"end": {
"line": 28,
"column": 40
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1559,
"end": 1563,
"loc": {
"start": {
"line": 28,
"column": 41
},
"end": {
"line": 28,
"column": 45
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1563,
"end": 1564,
"loc": {
"start": {
"line": 28,
"column": 45
},
"end": {
"line": 28,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "compute_PAINTER",
"start": 1564,
"end": 1579,
"loc": {
"start": {
"line": 28,
"column": 46
},
"end": {
"line": 28,
"column": 61
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1579,
"end": 1580,
"loc": {
"start": {
"line": 28,
"column": 61
},
"end": {
"line": 28,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bind",
"start": 1580,
"end": 1584,
"loc": {
"start": {
"line": 28,
"column": 62
},
"end": {
"line": 28,
"column": 66
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1584,
"end": 1585,
"loc": {
"start": {
"line": 28,
"column": 66
},
"end": {
"line": 28,
"column": 67
}
}
},
{
"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": 1585,
"end": 1589,
"loc": {
"start": {
"line": 28,
"column": 67
},
"end": {
"line": 28,
"column": 71
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1589,
"end": 1590,
"loc": {
"start": {
"line": 28,
"column": 71
},
"end": {
"line": 28,
"column": 72
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1590,
"end": 1591,
"loc": {
"start": {
"line": 28,
"column": 72
},
"end": {
"line": 28,
"column": 73
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1601,
"end": 1602,
"loc": {
"start": {
"line": 29,
"column": 8
},
"end": {
"line": 29,
"column": 9
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1602,
"end": 1603,
"loc": {
"start": {
"line": 29,
"column": 9
},
"end": {
"line": 29,
"column": 10
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1609,
"end": 1610,
"loc": {
"start": {
"line": 30,
"column": 4
},
"end": {
"line": 30,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "static",
"start": 1618,
"end": 1624,
"loc": {
"start": {
"line": 32,
"column": 4
},
"end": {
"line": 32,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getId",
"start": 1625,
"end": 1630,
"loc": {
"start": {
"line": 32,
"column": 11
},
"end": {
"line": 32,
"column": 16
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1630,
"end": 1631,
"loc": {
"start": {
"line": 32,
"column": 16
},
"end": {
"line": 32,
"column": 17
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1631,
"end": 1632,
"loc": {
"start": {
"line": 32,
"column": 17
},
"end": {
"line": 32,
"column": 18
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1633,
"end": 1634,
"loc": {
"start": {
"line": 32,
"column": 19
},
"end": {
"line": 32,
"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": 1644,
"end": 1650,
"loc": {
"start": {
"line": 33,
"column": 8
},
"end": {
"line": 33,
"column": 14
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "logicGate",
"start": 1651,
"end": 1662,
"loc": {
"start": {
"line": 33,
"column": 15
},
"end": {
"line": 33,
"column": 26
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1662,
"end": 1663,
"loc": {
"start": {
"line": 33,
"column": 26
},
"end": {
"line": 33,
"column": 27
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1669,
"end": 1670,
"loc": {
"start": {
"line": 34,
"column": 4
},
"end": {
"line": 34,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "update",
"start": 1678,
"end": 1684,
"loc": {
"start": {
"line": 36,
"column": 4
},
"end": {
"line": 36,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1684,
"end": 1685,
"loc": {
"start": {
"line": 36,
"column": 10
},
"end": {
"line": 36,
"column": 11
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1685,
"end": 1686,
"loc": {
"start": {
"line": 36,
"column": 11
},
"end": {
"line": 36,
"column": 12
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1687,
"end": 1688,
"loc": {
"start": {
"line": 36,
"column": 13
},
"end": {
"line": 36,
"column": 14
}
}
},
{
"type": {
"label": "for",
"keyword": "for",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": true,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "for",
"start": 1698,
"end": 1701,
"loc": {
"start": {
"line": 37,
"column": 8
},
"end": {
"line": 37,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1702,
"end": 1703,
"loc": {
"start": {
"line": 37,
"column": 12
},
"end": {
"line": 37,
"column": 13
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 1703,
"end": 1706,
"loc": {
"start": {
"line": 37,
"column": 13
},
"end": {
"line": 37,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 1707,
"end": 1708,
"loc": {
"start": {
"line": 37,
"column": 17
},
"end": {
"line": 37,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1709,
"end": 1710,
"loc": {
"start": {
"line": 37,
"column": 19
},
"end": {
"line": 37,
"column": 20
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 1711,
"end": 1712,
"loc": {
"start": {
"line": 37,
"column": 21
},
"end": {
"line": 37,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1712,
"end": 1713,
"loc": {
"start": {
"line": 37,
"column": 22
},
"end": {
"line": 37,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 1714,
"end": 1715,
"loc": {
"start": {
"line": 37,
"column": 24
},
"end": {
"line": 37,
"column": 25
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 1716,
"end": 1717,
"loc": {
"start": {
"line": 37,
"column": 26
},
"end": {
"line": 37,
"column": 27
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1718,
"end": 1722,
"loc": {
"start": {
"line": 37,
"column": 28
},
"end": {
"line": 37,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1722,
"end": 1723,
"loc": {
"start": {
"line": 37,
"column": 32
},
"end": {
"line": 37,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "allEntities",
"start": 1723,
"end": 1734,
"loc": {
"start": {
"line": 37,
"column": 33
},
"end": {
"line": 37,
"column": 44
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1734,
"end": 1735,
"loc": {
"start": {
"line": 37,
"column": 44
},
"end": {
"line": 37,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 1735,
"end": 1741,
"loc": {
"start": {
"line": 37,
"column": 45
},
"end": {
"line": 37,
"column": 51
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1741,
"end": 1742,
"loc": {
"start": {
"line": 37,
"column": 51
},
"end": {
"line": 37,
"column": 52
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 1743,
"end": 1745,
"loc": {
"start": {
"line": 37,
"column": 53
},
"end": {
"line": 37,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 1745,
"end": 1746,
"loc": {
"start": {
"line": 37,
"column": 55
},
"end": {
"line": 37,
"column": 56
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1746,
"end": 1747,
"loc": {
"start": {
"line": 37,
"column": 56
},
"end": {
"line": 37,
"column": 57
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1748,
"end": 1749,
"loc": {
"start": {
"line": 37,
"column": 58
},
"end": {
"line": 37,
"column": 59
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 1763,
"end": 1768,
"loc": {
"start": {
"line": 38,
"column": 12
},
"end": {
"line": 38,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 1769,
"end": 1775,
"loc": {
"start": {
"line": 38,
"column": 18
},
"end": {
"line": 38,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1776,
"end": 1777,
"loc": {
"start": {
"line": 38,
"column": 25
},
"end": {
"line": 38,
"column": 26
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1778,
"end": 1782,
"loc": {
"start": {
"line": 38,
"column": 27
},
"end": {
"line": 38,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1782,
"end": 1783,
"loc": {
"start": {
"line": 38,
"column": 31
},
"end": {
"line": 38,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "allEntities",
"start": 1783,
"end": 1794,
"loc": {
"start": {
"line": 38,
"column": 32
},
"end": {
"line": 38,
"column": 43
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1794,
"end": 1795,
"loc": {
"start": {
"line": 38,
"column": 43
},
"end": {
"line": 38,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 1795,
"end": 1796,
"loc": {
"start": {
"line": 38,
"column": 44
},
"end": {
"line": 38,
"column": 45
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1796,
"end": 1797,
"loc": {
"start": {
"line": 38,
"column": 45
},
"end": {
"line": 38,
"column": 46
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1797,
"end": 1798,
"loc": {
"start": {
"line": 38,
"column": 46
},
"end": {
"line": 38,
"column": 47
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 1812,
"end": 1817,
"loc": {
"start": {
"line": 39,
"column": 12
},
"end": {
"line": 39,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logicComp",
"start": 1818,
"end": 1827,
"loc": {
"start": {
"line": 39,
"column": 18
},
"end": {
"line": 39,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1828,
"end": 1829,
"loc": {
"start": {
"line": 39,
"column": 28
},
"end": {
"line": 39,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 1830,
"end": 1836,
"loc": {
"start": {
"line": 39,
"column": 30
},
"end": {
"line": 39,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1836,
"end": 1837,
"loc": {
"start": {
"line": 39,
"column": 36
},
"end": {
"line": 39,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 1837,
"end": 1847,
"loc": {
"start": {
"line": 39,
"column": 37
},
"end": {
"line": 39,
"column": 47
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1847,
"end": 1848,
"loc": {
"start": {
"line": 39,
"column": 47
},
"end": {
"line": 39,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "LogicGate",
"start": 1848,
"end": 1857,
"loc": {
"start": {
"line": 39,
"column": 48
},
"end": {
"line": 39,
"column": 57
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1857,
"end": 1858,
"loc": {
"start": {
"line": 39,
"column": 57
},
"end": {
"line": 39,
"column": 58
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 1872,
"end": 1877,
"loc": {
"start": {
"line": 40,
"column": 12
},
"end": {
"line": 40,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slotComp",
"start": 1878,
"end": 1886,
"loc": {
"start": {
"line": 40,
"column": 18
},
"end": {
"line": 40,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1887,
"end": 1888,
"loc": {
"start": {
"line": 40,
"column": 27
},
"end": {
"line": 40,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 1889,
"end": 1895,
"loc": {
"start": {
"line": 40,
"column": 29
},
"end": {
"line": 40,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1895,
"end": 1896,
"loc": {
"start": {
"line": 40,
"column": 35
},
"end": {
"line": 40,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 1896,
"end": 1906,
"loc": {
"start": {
"line": 40,
"column": 36
},
"end": {
"line": 40,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1906,
"end": 1907,
"loc": {
"start": {
"line": 40,
"column": 46
},
"end": {
"line": 40,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "WiredPins",
"start": 1907,
"end": 1916,
"loc": {
"start": {
"line": 40,
"column": 47
},
"end": {
"line": 40,
"column": 56
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1916,
"end": 1917,
"loc": {
"start": {
"line": 40,
"column": 56
},
"end": {
"line": 40,
"column": 57
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 1933,
"end": 1938,
"loc": {
"start": {
"line": 42,
"column": 12
},
"end": {
"line": 42,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slotValues",
"start": 1939,
"end": 1949,
"loc": {
"start": {
"line": 42,
"column": 18
},
"end": {
"line": 42,
"column": 28
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1950,
"end": 1951,
"loc": {
"start": {
"line": 42,
"column": 29
},
"end": {
"line": 42,
"column": 30
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1952,
"end": 1953,
"loc": {
"start": {
"line": 42,
"column": 31
},
"end": {
"line": 42,
"column": 32
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1953,
"end": 1954,
"loc": {
"start": {
"line": 42,
"column": 32
},
"end": {
"line": 42,
"column": 33
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1954,
"end": 1955,
"loc": {
"start": {
"line": 42,
"column": 33
},
"end": {
"line": 42,
"column": 34
}
}
},
{
"type": "CommentLine",
"value": " Store if any conflict was found",
"start": 1971,
"end": 2005,
"loc": {
"start": {
"line": 44,
"column": 12
},
"end": {
"line": 44,
"column": 46
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 2019,
"end": 2022,
"loc": {
"start": {
"line": 45,
"column": 12
},
"end": {
"line": 45,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "anyConflict",
"start": 2023,
"end": 2034,
"loc": {
"start": {
"line": 45,
"column": 16
},
"end": {
"line": 45,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2035,
"end": 2036,
"loc": {
"start": {
"line": 45,
"column": 28
},
"end": {
"line": 45,
"column": 29
}
}
},
{
"type": {
"label": "false",
"keyword": "false",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "false",
"start": 2037,
"end": 2042,
"loc": {
"start": {
"line": 45,
"column": 30
},
"end": {
"line": 45,
"column": 35
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2042,
"end": 2043,
"loc": {
"start": {
"line": 45,
"column": 35
},
"end": {
"line": 45,
"column": 36
}
}
},
{
"type": "CommentLine",
"value": " Gather inputs from all connected networks",
"start": 2059,
"end": 2103,
"loc": {
"start": {
"line": 47,
"column": 12
},
"end": {
"line": 47,
"column": 56
}
}
},
{
"type": {
"label": "for",
"keyword": "for",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": true,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "for",
"start": 2117,
"end": 2120,
"loc": {
"start": {
"line": 48,
"column": 12
},
"end": {
"line": 48,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2121,
"end": 2122,
"loc": {
"start": {
"line": 48,
"column": 16
},
"end": {
"line": 48,
"column": 17
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 2122,
"end": 2125,
"loc": {
"start": {
"line": 48,
"column": 17
},
"end": {
"line": 48,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 2126,
"end": 2127,
"loc": {
"start": {
"line": 48,
"column": 21
},
"end": {
"line": 48,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2128,
"end": 2129,
"loc": {
"start": {
"line": 48,
"column": 23
},
"end": {
"line": 48,
"column": 24
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 2130,
"end": 2131,
"loc": {
"start": {
"line": 48,
"column": 25
},
"end": {
"line": 48,
"column": 26
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2131,
"end": 2132,
"loc": {
"start": {
"line": 48,
"column": 26
},
"end": {
"line": 48,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 2133,
"end": 2134,
"loc": {
"start": {
"line": 48,
"column": 28
},
"end": {
"line": 48,
"column": 29
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 2135,
"end": 2136,
"loc": {
"start": {
"line": 48,
"column": 30
},
"end": {
"line": 48,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slotComp",
"start": 2137,
"end": 2145,
"loc": {
"start": {
"line": 48,
"column": 32
},
"end": {
"line": 48,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2145,
"end": 2146,
"loc": {
"start": {
"line": 48,
"column": 40
},
"end": {
"line": 48,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slots",
"start": 2146,
"end": 2151,
"loc": {
"start": {
"line": 48,
"column": 41
},
"end": {
"line": 48,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2151,
"end": 2152,
"loc": {
"start": {
"line": 48,
"column": 46
},
"end": {
"line": 48,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 2152,
"end": 2158,
"loc": {
"start": {
"line": 48,
"column": 47
},
"end": {
"line": 48,
"column": 53
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2158,
"end": 2159,
"loc": {
"start": {
"line": 48,
"column": 53
},
"end": {
"line": 48,
"column": 54
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 2160,
"end": 2162,
"loc": {
"start": {
"line": 48,
"column": 55
},
"end": {
"line": 48,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 2162,
"end": 2163,
"loc": {
"start": {
"line": 48,
"column": 57
},
"end": {
"line": 48,
"column": 58
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2163,
"end": 2164,
"loc": {
"start": {
"line": 48,
"column": 58
},
"end": {
"line": 48,
"column": 59
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2165,
"end": 2166,
"loc": {
"start": {
"line": 48,
"column": 60
},
"end": {
"line": 48,
"column": 61
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 2184,
"end": 2189,
"loc": {
"start": {
"line": 49,
"column": 16
},
"end": {
"line": 49,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slot",
"start": 2190,
"end": 2194,
"loc": {
"start": {
"line": 49,
"column": 22
},
"end": {
"line": 49,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2195,
"end": 2196,
"loc": {
"start": {
"line": 49,
"column": 27
},
"end": {
"line": 49,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slotComp",
"start": 2197,
"end": 2205,
"loc": {
"start": {
"line": 49,
"column": 29
},
"end": {
"line": 49,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2205,
"end": 2206,
"loc": {
"start": {
"line": 49,
"column": 37
},
"end": {
"line": 49,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slots",
"start": 2206,
"end": 2211,
"loc": {
"start": {
"line": 49,
"column": 38
},
"end": {
"line": 49,
"column": 43
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2211,
"end": 2212,
"loc": {
"start": {
"line": 49,
"column": 43
},
"end": {
"line": 49,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 2212,
"end": 2213,
"loc": {
"start": {
"line": 49,
"column": 44
},
"end": {
"line": 49,
"column": 45
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2213,
"end": 2214,
"loc": {
"start": {
"line": 49,
"column": 45
},
"end": {
"line": 49,
"column": 46
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2214,
"end": 2215,
"loc": {
"start": {
"line": 49,
"column": 46
},
"end": {
"line": 49,
"column": 47
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 2233,
"end": 2235,
"loc": {
"start": {
"line": 50,
"column": 16
},
"end": {
"line": 50,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2236,
"end": 2237,
"loc": {
"start": {
"line": 50,
"column": 19
},
"end": {
"line": 50,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slot",
"start": 2237,
"end": 2241,
"loc": {
"start": {
"line": 50,
"column": 20
},
"end": {
"line": 50,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2241,
"end": 2242,
"loc": {
"start": {
"line": 50,
"column": 24
},
"end": {
"line": 50,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "type",
"start": 2242,
"end": 2246,
"loc": {
"start": {
"line": 50,
"column": 25
},
"end": {
"line": 50,
"column": 29
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 2247,
"end": 2250,
"loc": {
"start": {
"line": 50,
"column": 30
},
"end": {
"line": 50,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumPinSlotType",
"start": 2251,
"end": 2266,
"loc": {
"start": {
"line": 50,
"column": 34
},
"end": {
"line": 50,
"column": 49
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2266,
"end": 2267,
"loc": {
"start": {
"line": 50,
"column": 49
},
"end": {
"line": 50,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logicalAcceptor",
"start": 2267,
"end": 2282,
"loc": {
"start": {
"line": 50,
"column": 50
},
"end": {
"line": 50,
"column": 65
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2282,
"end": 2283,
"loc": {
"start": {
"line": 50,
"column": 65
},
"end": {
"line": 50,
"column": 66
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2284,
"end": 2285,
"loc": {
"start": {
"line": 50,
"column": 67
},
"end": {
"line": 50,
"column": 68
}
}
},
{
"type": {
"label": "continue",
"keyword": "continue",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "continue",
"start": 2307,
"end": 2315,
"loc": {
"start": {
"line": 51,
"column": 20
},
"end": {
"line": 51,
"column": 28
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2315,
"end": 2316,
"loc": {
"start": {
"line": 51,
"column": 28
},
"end": {
"line": 51,
"column": 29
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2334,
"end": 2335,
"loc": {
"start": {
"line": 52,
"column": 16
},
"end": {
"line": 52,
"column": 17
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 2353,
"end": 2358,
"loc": {
"start": {
"line": 53,
"column": 16
},
"end": {
"line": 53,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "network",
"start": 2359,
"end": 2366,
"loc": {
"start": {
"line": 53,
"column": 22
},
"end": {
"line": 53,
"column": 29
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2367,
"end": 2368,
"loc": {
"start": {
"line": 53,
"column": 30
},
"end": {
"line": 53,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slot",
"start": 2369,
"end": 2373,
"loc": {
"start": {
"line": 53,
"column": 32
},
"end": {
"line": 53,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2373,
"end": 2374,
"loc": {
"start": {
"line": 53,
"column": 36
},
"end": {
"line": 53,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "linkedNetwork",
"start": 2374,
"end": 2387,
"loc": {
"start": {
"line": 53,
"column": 37
},
"end": {
"line": 53,
"column": 50
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2387,
"end": 2388,
"loc": {
"start": {
"line": 53,
"column": 50
},
"end": {
"line": 53,
"column": 51
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 2406,
"end": 2408,
"loc": {
"start": {
"line": 54,
"column": 16
},
"end": {
"line": 54,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2409,
"end": 2410,
"loc": {
"start": {
"line": 54,
"column": 19
},
"end": {
"line": 54,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "network",
"start": 2410,
"end": 2417,
"loc": {
"start": {
"line": 54,
"column": 20
},
"end": {
"line": 54,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2417,
"end": 2418,
"loc": {
"start": {
"line": 54,
"column": 27
},
"end": {
"line": 54,
"column": 28
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2419,
"end": 2420,
"loc": {
"start": {
"line": 54,
"column": 29
},
"end": {
"line": 54,
"column": 30
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 2442,
"end": 2444,
"loc": {
"start": {
"line": 55,
"column": 20
},
"end": {
"line": 55,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2445,
"end": 2446,
"loc": {
"start": {
"line": 55,
"column": 23
},
"end": {
"line": 55,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "network",
"start": 2446,
"end": 2453,
"loc": {
"start": {
"line": 55,
"column": 24
},
"end": {
"line": 55,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2453,
"end": 2454,
"loc": {
"start": {
"line": 55,
"column": 31
},
"end": {
"line": 55,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "valueConflict",
"start": 2454,
"end": 2467,
"loc": {
"start": {
"line": 55,
"column": 32
},
"end": {
"line": 55,
"column": 45
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2467,
"end": 2468,
"loc": {
"start": {
"line": 55,
"column": 45
},
"end": {
"line": 55,
"column": 46
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2469,
"end": 2470,
"loc": {
"start": {
"line": 55,
"column": 47
},
"end": {
"line": 55,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "anyConflict",
"start": 2496,
"end": 2507,
"loc": {
"start": {
"line": 56,
"column": 24
},
"end": {
"line": 56,
"column": 35
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2508,
"end": 2509,
"loc": {
"start": {
"line": 56,
"column": 36
},
"end": {
"line": 56,
"column": 37
}
}
},
{
"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": 2510,
"end": 2514,
"loc": {
"start": {
"line": 56,
"column": 38
},
"end": {
"line": 56,
"column": 42
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2514,
"end": 2515,
"loc": {
"start": {
"line": 56,
"column": 42
},
"end": {
"line": 56,
"column": 43
}
}
},
{
"type": {
"label": "break",
"keyword": "break",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "break",
"start": 2541,
"end": 2546,
"loc": {
"start": {
"line": 57,
"column": 24
},
"end": {
"line": 57,
"column": 29
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2546,
"end": 2547,
"loc": {
"start": {
"line": 57,
"column": 29
},
"end": {
"line": 57,
"column": 30
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2569,
"end": 2570,
"loc": {
"start": {
"line": 58,
"column": 20
},
"end": {
"line": 58,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slotValues",
"start": 2592,
"end": 2602,
"loc": {
"start": {
"line": 59,
"column": 20
},
"end": {
"line": 59,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2602,
"end": 2603,
"loc": {
"start": {
"line": 59,
"column": 30
},
"end": {
"line": 59,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "push",
"start": 2603,
"end": 2607,
"loc": {
"start": {
"line": 59,
"column": 31
},
"end": {
"line": 59,
"column": 35
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2607,
"end": 2608,
"loc": {
"start": {
"line": 59,
"column": 35
},
"end": {
"line": 59,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "network",
"start": 2608,
"end": 2615,
"loc": {
"start": {
"line": 59,
"column": 36
},
"end": {
"line": 59,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2615,
"end": 2616,
"loc": {
"start": {
"line": 59,
"column": 43
},
"end": {
"line": 59,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentValue",
"start": 2616,
"end": 2628,
"loc": {
"start": {
"line": 59,
"column": 44
},
"end": {
"line": 59,
"column": 56
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2628,
"end": 2629,
"loc": {
"start": {
"line": 59,
"column": 56
},
"end": {
"line": 59,
"column": 57
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2629,
"end": 2630,
"loc": {
"start": {
"line": 59,
"column": 57
},
"end": {
"line": 59,
"column": 58
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2648,
"end": 2649,
"loc": {
"start": {
"line": 60,
"column": 16
},
"end": {
"line": 60,
"column": 17
}
}
},
{
"type": {
"label": "else",
"keyword": "else",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "else",
"start": 2650,
"end": 2654,
"loc": {
"start": {
"line": 60,
"column": 18
},
"end": {
"line": 60,
"column": 22
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2655,
"end": 2656,
"loc": {
"start": {
"line": 60,
"column": 23
},
"end": {
"line": 60,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slotValues",
"start": 2678,
"end": 2688,
"loc": {
"start": {
"line": 61,
"column": 20
},
"end": {
"line": 61,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2688,
"end": 2689,
"loc": {
"start": {
"line": 61,
"column": 30
},
"end": {
"line": 61,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "push",
"start": 2689,
"end": 2693,
"loc": {
"start": {
"line": 61,
"column": 31
},
"end": {
"line": 61,
"column": 35
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2693,
"end": 2694,
"loc": {
"start": {
"line": 61,
"column": 35
},
"end": {
"line": 61,
"column": 36
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 2694,
"end": 2698,
"loc": {
"start": {
"line": 61,
"column": 36
},
"end": {
"line": 61,
"column": 40
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2698,
"end": 2699,
"loc": {
"start": {
"line": 61,
"column": 40
},
"end": {
"line": 61,
"column": 41
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2699,
"end": 2700,
"loc": {
"start": {
"line": 61,
"column": 41
},
"end": {
"line": 61,
"column": 42
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2718,
"end": 2719,
"loc": {
"start": {
"line": 62,
"column": 16
},
"end": {
"line": 62,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2733,
"end": 2734,
"loc": {
"start": {
"line": 63,
"column": 12
},
"end": {
"line": 63,
"column": 13
}
}
},
{
"type": "CommentLine",
"value": " Handle conflicts",
"start": 2750,
"end": 2769,
"loc": {
"start": {
"line": 65,
"column": 12
},
"end": {
"line": 65,
"column": 31
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 2783,
"end": 2785,
"loc": {
"start": {
"line": 66,
"column": 12
},
"end": {
"line": 66,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2786,
"end": 2787,
"loc": {
"start": {
"line": 66,
"column": 15
},
"end": {
"line": 66,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "anyConflict",
"start": 2787,
"end": 2798,
"loc": {
"start": {
"line": 66,
"column": 16
},
"end": {
"line": 66,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2798,
"end": 2799,
"loc": {
"start": {
"line": 66,
"column": 27
},
"end": {
"line": 66,
"column": 28
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2800,
"end": 2801,
"loc": {
"start": {
"line": 66,
"column": 29
},
"end": {
"line": 66,
"column": 30
}
}
},
{
"type": {
"label": "for",
"keyword": "for",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": true,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "for",
"start": 2819,
"end": 2822,
"loc": {
"start": {
"line": 67,
"column": 16
},
"end": {
"line": 67,
"column": 19
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2823,
"end": 2824,
"loc": {
"start": {
"line": 67,
"column": 20
},
"end": {
"line": 67,
"column": 21
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 2824,
"end": 2827,
"loc": {
"start": {
"line": 67,
"column": 21
},
"end": {
"line": 67,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 2828,
"end": 2829,
"loc": {
"start": {
"line": 67,
"column": 25
},
"end": {
"line": 67,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2830,
"end": 2831,
"loc": {
"start": {
"line": 67,
"column": 27
},
"end": {
"line": 67,
"column": 28
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 2832,
"end": 2833,
"loc": {
"start": {
"line": 67,
"column": 29
},
"end": {
"line": 67,
"column": 30
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2833,
"end": 2834,
"loc": {
"start": {
"line": 67,
"column": 30
},
"end": {
"line": 67,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 2835,
"end": 2836,
"loc": {
"start": {
"line": 67,
"column": 32
},
"end": {
"line": 67,
"column": 33
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 2837,
"end": 2838,
"loc": {
"start": {
"line": 67,
"column": 34
},
"end": {
"line": 67,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slotComp",
"start": 2839,
"end": 2847,
"loc": {
"start": {
"line": 67,
"column": 36
},
"end": {
"line": 67,
"column": 44
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2847,
"end": 2848,
"loc": {
"start": {
"line": 67,
"column": 44
},
"end": {
"line": 67,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slots",
"start": 2848,
"end": 2853,
"loc": {
"start": {
"line": 67,
"column": 45
},
"end": {
"line": 67,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2853,
"end": 2854,
"loc": {
"start": {
"line": 67,
"column": 50
},
"end": {
"line": 67,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 2854,
"end": 2860,
"loc": {
"start": {
"line": 67,
"column": 51
},
"end": {
"line": 67,
"column": 57
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2860,
"end": 2861,
"loc": {
"start": {
"line": 67,
"column": 57
},
"end": {
"line": 67,
"column": 58
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 2862,
"end": 2864,
"loc": {
"start": {
"line": 67,
"column": 59
},
"end": {
"line": 67,
"column": 61
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 2864,
"end": 2865,
"loc": {
"start": {
"line": 67,
"column": 61
},
"end": {
"line": 67,
"column": 62
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2865,
"end": 2866,
"loc": {
"start": {
"line": 67,
"column": 62
},
"end": {
"line": 67,
"column": 63
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2867,
"end": 2868,
"loc": {
"start": {
"line": 67,
"column": 64
},
"end": {
"line": 67,
"column": 65
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 2890,
"end": 2895,
"loc": {
"start": {
"line": 68,
"column": 20
},
"end": {
"line": 68,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slot",
"start": 2896,
"end": 2900,
"loc": {
"start": {
"line": 68,
"column": 26
},
"end": {
"line": 68,
"column": 30
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2901,
"end": 2902,
"loc": {
"start": {
"line": 68,
"column": 31
},
"end": {
"line": 68,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slotComp",
"start": 2903,
"end": 2911,
"loc": {
"start": {
"line": 68,
"column": 33
},
"end": {
"line": 68,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2911,
"end": 2912,
"loc": {
"start": {
"line": 68,
"column": 41
},
"end": {
"line": 68,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slots",
"start": 2912,
"end": 2917,
"loc": {
"start": {
"line": 68,
"column": 42
},
"end": {
"line": 68,
"column": 47
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2917,
"end": 2918,
"loc": {
"start": {
"line": 68,
"column": 47
},
"end": {
"line": 68,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 2918,
"end": 2919,
"loc": {
"start": {
"line": 68,
"column": 48
},
"end": {
"line": 68,
"column": 49
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2919,
"end": 2920,
"loc": {
"start": {
"line": 68,
"column": 49
},
"end": {
"line": 68,
"column": 50
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2920,
"end": 2921,
"loc": {
"start": {
"line": 68,
"column": 50
},
"end": {
"line": 68,
"column": 51
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 2943,
"end": 2945,
"loc": {
"start": {
"line": 69,
"column": 20
},
"end": {
"line": 69,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2946,
"end": 2947,
"loc": {
"start": {
"line": 69,
"column": 23
},
"end": {
"line": 69,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slot",
"start": 2947,
"end": 2951,
"loc": {
"start": {
"line": 69,
"column": 24
},
"end": {
"line": 69,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2951,
"end": 2952,
"loc": {
"start": {
"line": 69,
"column": 28
},
"end": {
"line": 69,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "type",
"start": 2952,
"end": 2956,
"loc": {
"start": {
"line": 69,
"column": 29
},
"end": {
"line": 69,
"column": 33
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 2957,
"end": 2960,
"loc": {
"start": {
"line": 69,
"column": 34
},
"end": {
"line": 69,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumPinSlotType",
"start": 2961,
"end": 2976,
"loc": {
"start": {
"line": 69,
"column": 38
},
"end": {
"line": 69,
"column": 53
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2976,
"end": 2977,
"loc": {
"start": {
"line": 69,
"column": 53
},
"end": {
"line": 69,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logicalEjector",
"start": 2977,
"end": 2991,
"loc": {
"start": {
"line": 69,
"column": 54
},
"end": {
"line": 69,
"column": 68
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2991,
"end": 2992,
"loc": {
"start": {
"line": 69,
"column": 68
},
"end": {
"line": 69,
"column": 69
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2993,
"end": 2994,
"loc": {
"start": {
"line": 69,
"column": 70
},
"end": {
"line": 69,
"column": 71
}
}
},
{
"type": {
"label": "continue",
"keyword": "continue",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "continue",
"start": 3020,
"end": 3028,
"loc": {
"start": {
"line": 70,
"column": 24
},
"end": {
"line": 70,
"column": 32
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3028,
"end": 3029,
"loc": {
"start": {
"line": 70,
"column": 32
},
"end": {
"line": 70,
"column": 33
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3051,
"end": 3052,
"loc": {
"start": {
"line": 71,
"column": 20
},
"end": {
"line": 71,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slot",
"start": 3074,
"end": 3078,
"loc": {
"start": {
"line": 72,
"column": 20
},
"end": {
"line": 72,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3078,
"end": 3079,
"loc": {
"start": {
"line": 72,
"column": 24
},
"end": {
"line": 72,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "value",
"start": 3079,
"end": 3084,
"loc": {
"start": {
"line": 72,
"column": 25
},
"end": {
"line": 72,
"column": 30
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3085,
"end": 3086,
"loc": {
"start": {
"line": 72,
"column": 31
},
"end": {
"line": 72,
"column": 32
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 3087,
"end": 3091,
"loc": {
"start": {
"line": 72,
"column": 33
},
"end": {
"line": 72,
"column": 37
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3091,
"end": 3092,
"loc": {
"start": {
"line": 72,
"column": 37
},
"end": {
"line": 72,
"column": 38
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3110,
"end": 3111,
"loc": {
"start": {
"line": 73,
"column": 16
},
"end": {
"line": 73,
"column": 17
}
}
},
{
"type": {
"label": "continue",
"keyword": "continue",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "continue",
"start": 3129,
"end": 3137,
"loc": {
"start": {
"line": 74,
"column": 16
},
"end": {
"line": 74,
"column": 24
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3137,
"end": 3138,
"loc": {
"start": {
"line": 74,
"column": 24
},
"end": {
"line": 74,
"column": 25
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3152,
"end": 3153,
"loc": {
"start": {
"line": 75,
"column": 12
},
"end": {
"line": 75,
"column": 13
}
}
},
{
"type": "CommentLine",
"value": " Compute actual result",
"start": 3169,
"end": 3193,
"loc": {
"start": {
"line": 77,
"column": 12
},
"end": {
"line": 77,
"column": 36
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 3207,
"end": 3212,
"loc": {
"start": {
"line": 78,
"column": 12
},
"end": {
"line": 78,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "result",
"start": 3213,
"end": 3219,
"loc": {
"start": {
"line": 78,
"column": 18
},
"end": {
"line": 78,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3220,
"end": 3221,
"loc": {
"start": {
"line": 78,
"column": 25
},
"end": {
"line": 78,
"column": 26
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 3222,
"end": 3226,
"loc": {
"start": {
"line": 78,
"column": 27
},
"end": {
"line": 78,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3226,
"end": 3227,
"loc": {
"start": {
"line": 78,
"column": 31
},
"end": {
"line": 78,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "boundOperations",
"start": 3227,
"end": 3242,
"loc": {
"start": {
"line": 78,
"column": 32
},
"end": {
"line": 78,
"column": 47
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3242,
"end": 3243,
"loc": {
"start": {
"line": 78,
"column": 47
},
"end": {
"line": 78,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logicComp",
"start": 3243,
"end": 3252,
"loc": {
"start": {
"line": 78,
"column": 48
},
"end": {
"line": 78,
"column": 57
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3252,
"end": 3253,
"loc": {
"start": {
"line": 78,
"column": 57
},
"end": {
"line": 78,
"column": 58
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "type",
"start": 3253,
"end": 3257,
"loc": {
"start": {
"line": 78,
"column": 58
},
"end": {
"line": 78,
"column": 62
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3257,
"end": 3258,
"loc": {
"start": {
"line": 78,
"column": 62
},
"end": {
"line": 78,
"column": 63
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3258,
"end": 3259,
"loc": {
"start": {
"line": 78,
"column": 63
},
"end": {
"line": 78,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slotValues",
"start": 3259,
"end": 3269,
"loc": {
"start": {
"line": 78,
"column": 64
},
"end": {
"line": 78,
"column": 74
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3269,
"end": 3270,
"loc": {
"start": {
"line": 78,
"column": 74
},
"end": {
"line": 78,
"column": 75
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3270,
"end": 3271,
"loc": {
"start": {
"line": 78,
"column": 75
},
"end": {
"line": 78,
"column": 76
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 3287,
"end": 3289,
"loc": {
"start": {
"line": 80,
"column": 12
},
"end": {
"line": 80,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3290,
"end": 3291,
"loc": {
"start": {
"line": 80,
"column": 15
},
"end": {
"line": 80,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Array",
"start": 3291,
"end": 3296,
"loc": {
"start": {
"line": 80,
"column": 16
},
"end": {
"line": 80,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3296,
"end": 3297,
"loc": {
"start": {
"line": 80,
"column": 21
},
"end": {
"line": 80,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isArray",
"start": 3297,
"end": 3304,
"loc": {
"start": {
"line": 80,
"column": 22
},
"end": {
"line": 80,
"column": 29
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3304,
"end": 3305,
"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": "result",
"start": 3305,
"end": 3311,
"loc": {
"start": {
"line": 80,
"column": 30
},
"end": {
"line": 80,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3311,
"end": 3312,
"loc": {
"start": {
"line": 80,
"column": 36
},
"end": {
"line": 80,
"column": 37
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3312,
"end": 3313,
"loc": {
"start": {
"line": 80,
"column": 37
},
"end": {
"line": 80,
"column": 38
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3314,
"end": 3315,
"loc": {
"start": {
"line": 80,
"column": 39
},
"end": {
"line": 80,
"column": 40
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 3333,
"end": 3336,
"loc": {
"start": {
"line": 81,
"column": 16
},
"end": {
"line": 81,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "resultIndex",
"start": 3337,
"end": 3348,
"loc": {
"start": {
"line": 81,
"column": 20
},
"end": {
"line": 81,
"column": 31
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3349,
"end": 3350,
"loc": {
"start": {
"line": 81,
"column": 32
},
"end": {
"line": 81,
"column": 33
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 3351,
"end": 3352,
"loc": {
"start": {
"line": 81,
"column": 34
},
"end": {
"line": 81,
"column": 35
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3352,
"end": 3353,
"loc": {
"start": {
"line": 81,
"column": 35
},
"end": {
"line": 81,
"column": 36
}
}
},
{
"type": {
"label": "for",
"keyword": "for",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": true,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "for",
"start": 3371,
"end": 3374,
"loc": {
"start": {
"line": 82,
"column": 16
},
"end": {
"line": 82,
"column": 19
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3375,
"end": 3376,
"loc": {
"start": {
"line": 82,
"column": 20
},
"end": {
"line": 82,
"column": 21
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 3376,
"end": 3379,
"loc": {
"start": {
"line": 82,
"column": 21
},
"end": {
"line": 82,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 3380,
"end": 3381,
"loc": {
"start": {
"line": 82,
"column": 25
},
"end": {
"line": 82,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3382,
"end": 3383,
"loc": {
"start": {
"line": 82,
"column": 27
},
"end": {
"line": 82,
"column": 28
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 3384,
"end": 3385,
"loc": {
"start": {
"line": 82,
"column": 29
},
"end": {
"line": 82,
"column": 30
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3385,
"end": 3386,
"loc": {
"start": {
"line": 82,
"column": 30
},
"end": {
"line": 82,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 3387,
"end": 3388,
"loc": {
"start": {
"line": 82,
"column": 32
},
"end": {
"line": 82,
"column": 33
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 3389,
"end": 3390,
"loc": {
"start": {
"line": 82,
"column": 34
},
"end": {
"line": 82,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slotComp",
"start": 3391,
"end": 3399,
"loc": {
"start": {
"line": 82,
"column": 36
},
"end": {
"line": 82,
"column": 44
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3399,
"end": 3400,
"loc": {
"start": {
"line": 82,
"column": 44
},
"end": {
"line": 82,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slots",
"start": 3400,
"end": 3405,
"loc": {
"start": {
"line": 82,
"column": 45
},
"end": {
"line": 82,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3405,
"end": 3406,
"loc": {
"start": {
"line": 82,
"column": 50
},
"end": {
"line": 82,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 3406,
"end": 3412,
"loc": {
"start": {
"line": 82,
"column": 51
},
"end": {
"line": 82,
"column": 57
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3412,
"end": 3413,
"loc": {
"start": {
"line": 82,
"column": 57
},
"end": {
"line": 82,
"column": 58
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 3414,
"end": 3416,
"loc": {
"start": {
"line": 82,
"column": 59
},
"end": {
"line": 82,
"column": 61
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 3416,
"end": 3417,
"loc": {
"start": {
"line": 82,
"column": 61
},
"end": {
"line": 82,
"column": 62
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3417,
"end": 3418,
"loc": {
"start": {
"line": 82,
"column": 62
},
"end": {
"line": 82,
"column": 63
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3419,
"end": 3420,
"loc": {
"start": {
"line": 82,
"column": 64
},
"end": {
"line": 82,
"column": 65
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 3442,
"end": 3447,
"loc": {
"start": {
"line": 83,
"column": 20
},
"end": {
"line": 83,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slot",
"start": 3448,
"end": 3452,
"loc": {
"start": {
"line": 83,
"column": 26
},
"end": {
"line": 83,
"column": 30
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3453,
"end": 3454,
"loc": {
"start": {
"line": 83,
"column": 31
},
"end": {
"line": 83,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slotComp",
"start": 3455,
"end": 3463,
"loc": {
"start": {
"line": 83,
"column": 33
},
"end": {
"line": 83,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3463,
"end": 3464,
"loc": {
"start": {
"line": 83,
"column": 41
},
"end": {
"line": 83,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slots",
"start": 3464,
"end": 3469,
"loc": {
"start": {
"line": 83,
"column": 42
},
"end": {
"line": 83,
"column": 47
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3469,
"end": 3470,
"loc": {
"start": {
"line": 83,
"column": 47
},
"end": {
"line": 83,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 3470,
"end": 3471,
"loc": {
"start": {
"line": 83,
"column": 48
},
"end": {
"line": 83,
"column": 49
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3471,
"end": 3472,
"loc": {
"start": {
"line": 83,
"column": 49
},
"end": {
"line": 83,
"column": 50
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3472,
"end": 3473,
"loc": {
"start": {
"line": 83,
"column": 50
},
"end": {
"line": 83,
"column": 51
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 3495,
"end": 3497,
"loc": {
"start": {
"line": 84,
"column": 20
},
"end": {
"line": 84,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3498,
"end": 3499,
"loc": {
"start": {
"line": 84,
"column": 23
},
"end": {
"line": 84,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slot",
"start": 3499,
"end": 3503,
"loc": {
"start": {
"line": 84,
"column": 24
},
"end": {
"line": 84,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3503,
"end": 3504,
"loc": {
"start": {
"line": 84,
"column": 28
},
"end": {
"line": 84,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "type",
"start": 3504,
"end": 3508,
"loc": {
"start": {
"line": 84,
"column": 29
},
"end": {
"line": 84,
"column": 33
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 3509,
"end": 3512,
"loc": {
"start": {
"line": 84,
"column": 34
},
"end": {
"line": 84,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumPinSlotType",
"start": 3513,
"end": 3528,
"loc": {
"start": {
"line": 84,
"column": 38
},
"end": {
"line": 84,
"column": 53
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3528,
"end": 3529,
"loc": {
"start": {
"line": 84,
"column": 53
},
"end": {
"line": 84,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logicalEjector",
"start": 3529,
"end": 3543,
"loc": {
"start": {
"line": 84,
"column": 54
},
"end": {
"line": 84,
"column": 68
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3543,
"end": 3544,
"loc": {
"start": {
"line": 84,
"column": 68
},
"end": {
"line": 84,
"column": 69
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3545,
"end": 3546,
"loc": {
"start": {
"line": 84,
"column": 70
},
"end": {
"line": 84,
"column": 71
}
}
},
{
"type": {
"label": "continue",
"keyword": "continue",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "continue",
"start": 3572,
"end": 3580,
"loc": {
"start": {
"line": 85,
"column": 24
},
"end": {
"line": 85,
"column": 32
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3580,
"end": 3581,
"loc": {
"start": {
"line": 85,
"column": 32
},
"end": {
"line": 85,
"column": 33
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3603,
"end": 3604,
"loc": {
"start": {
"line": 86,
"column": 20
},
"end": {
"line": 86,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slot",
"start": 3626,
"end": 3630,
"loc": {
"start": {
"line": 87,
"column": 20
},
"end": {
"line": 87,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3630,
"end": 3631,
"loc": {
"start": {
"line": 87,
"column": 24
},
"end": {
"line": 87,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "value",
"start": 3631,
"end": 3636,
"loc": {
"start": {
"line": 87,
"column": 25
},
"end": {
"line": 87,
"column": 30
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3637,
"end": 3638,
"loc": {
"start": {
"line": 87,
"column": 31
},
"end": {
"line": 87,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "result",
"start": 3639,
"end": 3645,
"loc": {
"start": {
"line": 87,
"column": 33
},
"end": {
"line": 87,
"column": 39
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3645,
"end": 3646,
"loc": {
"start": {
"line": 87,
"column": 39
},
"end": {
"line": 87,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "resultIndex",
"start": 3646,
"end": 3657,
"loc": {
"start": {
"line": 87,
"column": 40
},
"end": {
"line": 87,
"column": 51
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 3657,
"end": 3659,
"loc": {
"start": {
"line": 87,
"column": 51
},
"end": {
"line": 87,
"column": 53
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3659,
"end": 3660,
"loc": {
"start": {
"line": 87,
"column": 53
},
"end": {
"line": 87,
"column": 54
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3660,
"end": 3661,
"loc": {
"start": {
"line": 87,
"column": 54
},
"end": {
"line": 87,
"column": 55
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3679,
"end": 3680,
"loc": {
"start": {
"line": 88,
"column": 16
},
"end": {
"line": 88,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3694,
"end": 3695,
"loc": {
"start": {
"line": 89,
"column": 12
},
"end": {
"line": 89,
"column": 13
}
}
},
{
"type": {
"label": "else",
"keyword": "else",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "else",
"start": 3696,
"end": 3700,
"loc": {
"start": {
"line": 89,
"column": 14
},
"end": {
"line": 89,
"column": 18
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3701,
"end": 3702,
"loc": {
"start": {
"line": 89,
"column": 19
},
"end": {
"line": 89,
"column": 20
}
}
},
{
"type": "CommentLine",
"value": " @TODO: For now we hardcode the value to always be slot 0",
"start": 3720,
"end": 3779,
"loc": {
"start": {
"line": 90,
"column": 16
},
"end": {
"line": 90,
"column": 75
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "assert",
"start": 3797,
"end": 3803,
"loc": {
"start": {
"line": 91,
"column": 16
},
"end": {
"line": 91,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3803,
"end": 3804,
"loc": {
"start": {
"line": 91,
"column": 22
},
"end": {
"line": 91,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slotValues",
"start": 3826,
"end": 3836,
"loc": {
"start": {
"line": 92,
"column": 20
},
"end": {
"line": 92,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3836,
"end": 3837,
"loc": {
"start": {
"line": 92,
"column": 30
},
"end": {
"line": 92,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 3837,
"end": 3843,
"loc": {
"start": {
"line": 92,
"column": 31
},
"end": {
"line": 92,
"column": 37
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 3844,
"end": 3847,
"loc": {
"start": {
"line": 92,
"column": 38
},
"end": {
"line": 92,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slotComp",
"start": 3848,
"end": 3856,
"loc": {
"start": {
"line": 92,
"column": 42
},
"end": {
"line": 92,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3856,
"end": 3857,
"loc": {
"start": {
"line": 92,
"column": 50
},
"end": {
"line": 92,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slots",
"start": 3857,
"end": 3862,
"loc": {
"start": {
"line": 92,
"column": 51
},
"end": {
"line": 92,
"column": 56
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3862,
"end": 3863,
"loc": {
"start": {
"line": 92,
"column": 56
},
"end": {
"line": 92,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 3863,
"end": 3869,
"loc": {
"start": {
"line": 92,
"column": 57
},
"end": {
"line": 92,
"column": 63
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 3870,
"end": 3871,
"loc": {
"start": {
"line": 92,
"column": 64
},
"end": {
"line": 92,
"column": 65
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 3872,
"end": 3873,
"loc": {
"start": {
"line": 92,
"column": 66
},
"end": {
"line": 92,
"column": 67
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3873,
"end": 3874,
"loc": {
"start": {
"line": 92,
"column": 67
},
"end": {
"line": 92,
"column": 68
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Bad slot config, should have N acceptor slots and 1 ejector",
"start": 3896,
"end": 3957,
"loc": {
"start": {
"line": 93,
"column": 20
},
"end": {
"line": 93,
"column": 81
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3975,
"end": 3976,
"loc": {
"start": {
"line": 94,
"column": 16
},
"end": {
"line": 94,
"column": 17
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3976,
"end": 3977,
"loc": {
"start": {
"line": 94,
"column": 17
},
"end": {
"line": 94,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "assert",
"start": 3995,
"end": 4001,
"loc": {
"start": {
"line": 95,
"column": 16
},
"end": {
"line": 95,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4001,
"end": 4002,
"loc": {
"start": {
"line": 95,
"column": 22
},
"end": {
"line": 95,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slotComp",
"start": 4002,
"end": 4010,
"loc": {
"start": {
"line": 95,
"column": 23
},
"end": {
"line": 95,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4010,
"end": 4011,
"loc": {
"start": {
"line": 95,
"column": 31
},
"end": {
"line": 95,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slots",
"start": 4011,
"end": 4016,
"loc": {
"start": {
"line": 95,
"column": 32
},
"end": {
"line": 95,
"column": 37
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4016,
"end": 4017,
"loc": {
"start": {
"line": 95,
"column": 37
},
"end": {
"line": 95,
"column": 38
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 4017,
"end": 4018,
"loc": {
"start": {
"line": 95,
"column": 38
},
"end": {
"line": 95,
"column": 39
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4018,
"end": 4019,
"loc": {
"start": {
"line": 95,
"column": 39
},
"end": {
"line": 95,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4019,
"end": 4020,
"loc": {
"start": {
"line": 95,
"column": 40
},
"end": {
"line": 95,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "type",
"start": 4020,
"end": 4024,
"loc": {
"start": {
"line": 95,
"column": 41
},
"end": {
"line": 95,
"column": 45
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 4025,
"end": 4028,
"loc": {
"start": {
"line": 95,
"column": 46
},
"end": {
"line": 95,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumPinSlotType",
"start": 4029,
"end": 4044,
"loc": {
"start": {
"line": 95,
"column": 50
},
"end": {
"line": 95,
"column": 65
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4044,
"end": 4045,
"loc": {
"start": {
"line": 95,
"column": 65
},
"end": {
"line": 95,
"column": 66
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logicalEjector",
"start": 4045,
"end": 4059,
"loc": {
"start": {
"line": 95,
"column": 66
},
"end": {
"line": 95,
"column": 80
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4059,
"end": 4060,
"loc": {
"start": {
"line": 95,
"column": 80
},
"end": {
"line": 95,
"column": 81
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Slot 0 should be ejector",
"start": 4061,
"end": 4087,
"loc": {
"start": {
"line": 95,
"column": 82
},
"end": {
"line": 95,
"column": 108
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4087,
"end": 4088,
"loc": {
"start": {
"line": 95,
"column": 108
},
"end": {
"line": 95,
"column": 109
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4088,
"end": 4089,
"loc": {
"start": {
"line": 95,
"column": 109
},
"end": {
"line": 95,
"column": 110
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slotComp",
"start": 4107,
"end": 4115,
"loc": {
"start": {
"line": 96,
"column": 16
},
"end": {
"line": 96,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4115,
"end": 4116,
"loc": {
"start": {
"line": 96,
"column": 24
},
"end": {
"line": 96,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slots",
"start": 4116,
"end": 4121,
"loc": {
"start": {
"line": 96,
"column": 25
},
"end": {
"line": 96,
"column": 30
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4121,
"end": 4122,
"loc": {
"start": {
"line": 96,
"column": 30
},
"end": {
"line": 96,
"column": 31
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 4122,
"end": 4123,
"loc": {
"start": {
"line": 96,
"column": 31
},
"end": {
"line": 96,
"column": 32
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4123,
"end": 4124,
"loc": {
"start": {
"line": 96,
"column": 32
},
"end": {
"line": 96,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4124,
"end": 4125,
"loc": {
"start": {
"line": 96,
"column": 33
},
"end": {
"line": 96,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "value",
"start": 4125,
"end": 4130,
"loc": {
"start": {
"line": 96,
"column": 34
},
"end": {
"line": 96,
"column": 39
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4131,
"end": 4132,
"loc": {
"start": {
"line": 96,
"column": 40
},
"end": {
"line": 96,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "result",
"start": 4133,
"end": 4139,
"loc": {
"start": {
"line": 96,
"column": 42
},
"end": {
"line": 96,
"column": 48
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4139,
"end": 4140,
"loc": {
"start": {
"line": 96,
"column": 48
},
"end": {
"line": 96,
"column": 49
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4154,
"end": 4155,
"loc": {
"start": {
"line": 97,
"column": 12
},
"end": {
"line": 97,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4165,
"end": 4166,
"loc": {
"start": {
"line": 98,
"column": 8
},
"end": {
"line": 98,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4172,
"end": 4173,
"loc": {
"start": {
"line": 99,
"column": 4
},
"end": {
"line": 99,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {Array<BaseItem|null>} parameters\r\n * @returns {BaseItem}\r\n ",
"start": 4181,
"end": 4270,
"loc": {
"start": {
"line": 101,
"column": 4
},
"end": {
"line": 104,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "compute_AND",
"start": 4276,
"end": 4287,
"loc": {
"start": {
"line": 105,
"column": 4
},
"end": {
"line": 105,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4287,
"end": 4288,
"loc": {
"start": {
"line": 105,
"column": 15
},
"end": {
"line": 105,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 4288,
"end": 4298,
"loc": {
"start": {
"line": 105,
"column": 16
},
"end": {
"line": 105,
"column": 26
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4298,
"end": 4299,
"loc": {
"start": {
"line": 105,
"column": 26
},
"end": {
"line": 105,
"column": 27
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4300,
"end": 4301,
"loc": {
"start": {
"line": 105,
"column": 28
},
"end": {
"line": 105,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "assert",
"start": 4311,
"end": 4317,
"loc": {
"start": {
"line": 106,
"column": 8
},
"end": {
"line": 106,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4317,
"end": 4318,
"loc": {
"start": {
"line": 106,
"column": 14
},
"end": {
"line": 106,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 4318,
"end": 4328,
"loc": {
"start": {
"line": 106,
"column": 15
},
"end": {
"line": 106,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4328,
"end": 4329,
"loc": {
"start": {
"line": 106,
"column": 25
},
"end": {
"line": 106,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 4329,
"end": 4335,
"loc": {
"start": {
"line": 106,
"column": 26
},
"end": {
"line": 106,
"column": 32
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 4336,
"end": 4339,
"loc": {
"start": {
"line": 106,
"column": 33
},
"end": {
"line": 106,
"column": 36
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 2,
"start": 4340,
"end": 4341,
"loc": {
"start": {
"line": 106,
"column": 37
},
"end": {
"line": 106,
"column": 38
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4341,
"end": 4342,
"loc": {
"start": {
"line": 106,
"column": 38
},
"end": {
"line": 106,
"column": 39
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "bad parameter count for AND",
"start": 4343,
"end": 4372,
"loc": {
"start": {
"line": 106,
"column": 40
},
"end": {
"line": 106,
"column": 69
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4372,
"end": 4373,
"loc": {
"start": {
"line": 106,
"column": 69
},
"end": {
"line": 106,
"column": 70
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4373,
"end": 4374,
"loc": {
"start": {
"line": 106,
"column": 70
},
"end": {
"line": 106,
"column": 71
}
}
},
{
"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": 4384,
"end": 4390,
"loc": {
"start": {
"line": 107,
"column": 8
},
"end": {
"line": 107,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isTruthyItem",
"start": 4391,
"end": 4403,
"loc": {
"start": {
"line": 107,
"column": 15
},
"end": {
"line": 107,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4403,
"end": 4404,
"loc": {
"start": {
"line": 107,
"column": 27
},
"end": {
"line": 107,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 4404,
"end": 4414,
"loc": {
"start": {
"line": 107,
"column": 28
},
"end": {
"line": 107,
"column": 38
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4414,
"end": 4415,
"loc": {
"start": {
"line": 107,
"column": 38
},
"end": {
"line": 107,
"column": 39
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 4415,
"end": 4416,
"loc": {
"start": {
"line": 107,
"column": 39
},
"end": {
"line": 107,
"column": 40
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4416,
"end": 4417,
"loc": {
"start": {
"line": 107,
"column": 40
},
"end": {
"line": 107,
"column": 41
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4417,
"end": 4418,
"loc": {
"start": {
"line": 107,
"column": 41
},
"end": {
"line": 107,
"column": 42
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 4419,
"end": 4421,
"loc": {
"start": {
"line": 107,
"column": 43
},
"end": {
"line": 107,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isTruthyItem",
"start": 4422,
"end": 4434,
"loc": {
"start": {
"line": 107,
"column": 46
},
"end": {
"line": 107,
"column": 58
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4434,
"end": 4435,
"loc": {
"start": {
"line": 107,
"column": 58
},
"end": {
"line": 107,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 4435,
"end": 4445,
"loc": {
"start": {
"line": 107,
"column": 59
},
"end": {
"line": 107,
"column": 69
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4445,
"end": 4446,
"loc": {
"start": {
"line": 107,
"column": 69
},
"end": {
"line": 107,
"column": 70
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 4446,
"end": 4447,
"loc": {
"start": {
"line": 107,
"column": 70
},
"end": {
"line": 107,
"column": 71
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4447,
"end": 4448,
"loc": {
"start": {
"line": 107,
"column": 71
},
"end": {
"line": 107,
"column": 72
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4448,
"end": 4449,
"loc": {
"start": {
"line": 107,
"column": 72
},
"end": {
"line": 107,
"column": 73
}
}
},
{
"type": {
"label": "?",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4450,
"end": 4451,
"loc": {
"start": {
"line": 107,
"column": 74
},
"end": {
"line": 107,
"column": 75
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "BOOL_TRUE_SINGLETON",
"start": 4465,
"end": 4484,
"loc": {
"start": {
"line": 108,
"column": 12
},
"end": {
"line": 108,
"column": 31
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4485,
"end": 4486,
"loc": {
"start": {
"line": 108,
"column": 32
},
"end": {
"line": 108,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "BOOL_FALSE_SINGLETON",
"start": 4500,
"end": 4520,
"loc": {
"start": {
"line": 109,
"column": 12
},
"end": {
"line": 109,
"column": 32
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4520,
"end": 4521,
"loc": {
"start": {
"line": 109,
"column": 32
},
"end": {
"line": 109,
"column": 33
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4527,
"end": 4528,
"loc": {
"start": {
"line": 110,
"column": 4
},
"end": {
"line": 110,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {Array<BaseItem|null>} parameters\r\n * @returns {BaseItem}\r\n ",
"start": 4536,
"end": 4625,
"loc": {
"start": {
"line": 112,
"column": 4
},
"end": {
"line": 115,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "compute_NOT",
"start": 4631,
"end": 4642,
"loc": {
"start": {
"line": 116,
"column": 4
},
"end": {
"line": 116,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4642,
"end": 4643,
"loc": {
"start": {
"line": 116,
"column": 15
},
"end": {
"line": 116,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 4643,
"end": 4653,
"loc": {
"start": {
"line": 116,
"column": 16
},
"end": {
"line": 116,
"column": 26
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4653,
"end": 4654,
"loc": {
"start": {
"line": 116,
"column": 26
},
"end": {
"line": 116,
"column": 27
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4655,
"end": 4656,
"loc": {
"start": {
"line": 116,
"column": 28
},
"end": {
"line": 116,
"column": 29
}
}
},
{
"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": 4666,
"end": 4672,
"loc": {
"start": {
"line": 117,
"column": 8
},
"end": {
"line": 117,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isTruthyItem",
"start": 4673,
"end": 4685,
"loc": {
"start": {
"line": 117,
"column": 15
},
"end": {
"line": 117,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4685,
"end": 4686,
"loc": {
"start": {
"line": 117,
"column": 27
},
"end": {
"line": 117,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 4686,
"end": 4696,
"loc": {
"start": {
"line": 117,
"column": 28
},
"end": {
"line": 117,
"column": 38
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4696,
"end": 4697,
"loc": {
"start": {
"line": 117,
"column": 38
},
"end": {
"line": 117,
"column": 39
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 4697,
"end": 4698,
"loc": {
"start": {
"line": 117,
"column": 39
},
"end": {
"line": 117,
"column": 40
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4698,
"end": 4699,
"loc": {
"start": {
"line": 117,
"column": 40
},
"end": {
"line": 117,
"column": 41
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4699,
"end": 4700,
"loc": {
"start": {
"line": 117,
"column": 41
},
"end": {
"line": 117,
"column": 42
}
}
},
{
"type": {
"label": "?",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4701,
"end": 4702,
"loc": {
"start": {
"line": 117,
"column": 43
},
"end": {
"line": 117,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "BOOL_FALSE_SINGLETON",
"start": 4703,
"end": 4723,
"loc": {
"start": {
"line": 117,
"column": 45
},
"end": {
"line": 117,
"column": 65
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4724,
"end": 4725,
"loc": {
"start": {
"line": 117,
"column": 66
},
"end": {
"line": 117,
"column": 67
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "BOOL_TRUE_SINGLETON",
"start": 4726,
"end": 4745,
"loc": {
"start": {
"line": 117,
"column": 68
},
"end": {
"line": 117,
"column": 87
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4745,
"end": 4746,
"loc": {
"start": {
"line": 117,
"column": 87
},
"end": {
"line": 117,
"column": 88
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4752,
"end": 4753,
"loc": {
"start": {
"line": 118,
"column": 4
},
"end": {
"line": 118,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {Array<BaseItem|null>} parameters\r\n * @returns {BaseItem}\r\n ",
"start": 4761,
"end": 4850,
"loc": {
"start": {
"line": 120,
"column": 4
},
"end": {
"line": 123,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "compute_XOR",
"start": 4856,
"end": 4867,
"loc": {
"start": {
"line": 124,
"column": 4
},
"end": {
"line": 124,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4867,
"end": 4868,
"loc": {
"start": {
"line": 124,
"column": 15
},
"end": {
"line": 124,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 4868,
"end": 4878,
"loc": {
"start": {
"line": 124,
"column": 16
},
"end": {
"line": 124,
"column": 26
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4878,
"end": 4879,
"loc": {
"start": {
"line": 124,
"column": 26
},
"end": {
"line": 124,
"column": 27
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4880,
"end": 4881,
"loc": {
"start": {
"line": 124,
"column": 28
},
"end": {
"line": 124,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "assert",
"start": 4891,
"end": 4897,
"loc": {
"start": {
"line": 125,
"column": 8
},
"end": {
"line": 125,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4897,
"end": 4898,
"loc": {
"start": {
"line": 125,
"column": 14
},
"end": {
"line": 125,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 4898,
"end": 4908,
"loc": {
"start": {
"line": 125,
"column": 15
},
"end": {
"line": 125,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4908,
"end": 4909,
"loc": {
"start": {
"line": 125,
"column": 25
},
"end": {
"line": 125,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 4909,
"end": 4915,
"loc": {
"start": {
"line": 125,
"column": 26
},
"end": {
"line": 125,
"column": 32
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 4916,
"end": 4919,
"loc": {
"start": {
"line": 125,
"column": 33
},
"end": {
"line": 125,
"column": 36
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 2,
"start": 4920,
"end": 4921,
"loc": {
"start": {
"line": 125,
"column": 37
},
"end": {
"line": 125,
"column": 38
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4921,
"end": 4922,
"loc": {
"start": {
"line": 125,
"column": 38
},
"end": {
"line": 125,
"column": 39
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "bad parameter count for XOR",
"start": 4923,
"end": 4952,
"loc": {
"start": {
"line": 125,
"column": 40
},
"end": {
"line": 125,
"column": 69
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4952,
"end": 4953,
"loc": {
"start": {
"line": 125,
"column": 69
},
"end": {
"line": 125,
"column": 70
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4953,
"end": 4954,
"loc": {
"start": {
"line": 125,
"column": 70
},
"end": {
"line": 125,
"column": 71
}
}
},
{
"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": 4964,
"end": 4970,
"loc": {
"start": {
"line": 126,
"column": 8
},
"end": {
"line": 126,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isTruthyItem",
"start": 4971,
"end": 4983,
"loc": {
"start": {
"line": 126,
"column": 15
},
"end": {
"line": 126,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4983,
"end": 4984,
"loc": {
"start": {
"line": 126,
"column": 27
},
"end": {
"line": 126,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 4984,
"end": 4994,
"loc": {
"start": {
"line": 126,
"column": 28
},
"end": {
"line": 126,
"column": 38
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4994,
"end": 4995,
"loc": {
"start": {
"line": 126,
"column": 38
},
"end": {
"line": 126,
"column": 39
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 4995,
"end": 4996,
"loc": {
"start": {
"line": 126,
"column": 39
},
"end": {
"line": 126,
"column": 40
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4996,
"end": 4997,
"loc": {
"start": {
"line": 126,
"column": 40
},
"end": {
"line": 126,
"column": 41
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4997,
"end": 4998,
"loc": {
"start": {
"line": 126,
"column": 41
},
"end": {
"line": 126,
"column": 42
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 4999,
"end": 5002,
"loc": {
"start": {
"line": 126,
"column": 43
},
"end": {
"line": 126,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isTruthyItem",
"start": 5003,
"end": 5015,
"loc": {
"start": {
"line": 126,
"column": 47
},
"end": {
"line": 126,
"column": 59
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5015,
"end": 5016,
"loc": {
"start": {
"line": 126,
"column": 59
},
"end": {
"line": 126,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 5016,
"end": 5026,
"loc": {
"start": {
"line": 126,
"column": 60
},
"end": {
"line": 126,
"column": 70
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5026,
"end": 5027,
"loc": {
"start": {
"line": 126,
"column": 70
},
"end": {
"line": 126,
"column": 71
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 5027,
"end": 5028,
"loc": {
"start": {
"line": 126,
"column": 71
},
"end": {
"line": 126,
"column": 72
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5028,
"end": 5029,
"loc": {
"start": {
"line": 126,
"column": 72
},
"end": {
"line": 126,
"column": 73
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5029,
"end": 5030,
"loc": {
"start": {
"line": 126,
"column": 73
},
"end": {
"line": 126,
"column": 74
}
}
},
{
"type": {
"label": "?",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5031,
"end": 5032,
"loc": {
"start": {
"line": 126,
"column": 75
},
"end": {
"line": 126,
"column": 76
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "BOOL_TRUE_SINGLETON",
"start": 5046,
"end": 5065,
"loc": {
"start": {
"line": 127,
"column": 12
},
"end": {
"line": 127,
"column": 31
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5066,
"end": 5067,
"loc": {
"start": {
"line": 127,
"column": 32
},
"end": {
"line": 127,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "BOOL_FALSE_SINGLETON",
"start": 5081,
"end": 5101,
"loc": {
"start": {
"line": 128,
"column": 12
},
"end": {
"line": 128,
"column": 32
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5101,
"end": 5102,
"loc": {
"start": {
"line": 128,
"column": 32
},
"end": {
"line": 128,
"column": 33
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5108,
"end": 5109,
"loc": {
"start": {
"line": 129,
"column": 4
},
"end": {
"line": 129,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {Array<BaseItem|null>} parameters\r\n * @returns {BaseItem}\r\n ",
"start": 5117,
"end": 5206,
"loc": {
"start": {
"line": 131,
"column": 4
},
"end": {
"line": 134,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "compute_OR",
"start": 5212,
"end": 5222,
"loc": {
"start": {
"line": 135,
"column": 4
},
"end": {
"line": 135,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5222,
"end": 5223,
"loc": {
"start": {
"line": 135,
"column": 14
},
"end": {
"line": 135,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 5223,
"end": 5233,
"loc": {
"start": {
"line": 135,
"column": 15
},
"end": {
"line": 135,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5233,
"end": 5234,
"loc": {
"start": {
"line": 135,
"column": 25
},
"end": {
"line": 135,
"column": 26
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5235,
"end": 5236,
"loc": {
"start": {
"line": 135,
"column": 27
},
"end": {
"line": 135,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "assert",
"start": 5246,
"end": 5252,
"loc": {
"start": {
"line": 136,
"column": 8
},
"end": {
"line": 136,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5252,
"end": 5253,
"loc": {
"start": {
"line": 136,
"column": 14
},
"end": {
"line": 136,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 5253,
"end": 5263,
"loc": {
"start": {
"line": 136,
"column": 15
},
"end": {
"line": 136,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5263,
"end": 5264,
"loc": {
"start": {
"line": 136,
"column": 25
},
"end": {
"line": 136,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 5264,
"end": 5270,
"loc": {
"start": {
"line": 136,
"column": 26
},
"end": {
"line": 136,
"column": 32
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 5271,
"end": 5274,
"loc": {
"start": {
"line": 136,
"column": 33
},
"end": {
"line": 136,
"column": 36
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 2,
"start": 5275,
"end": 5276,
"loc": {
"start": {
"line": 136,
"column": 37
},
"end": {
"line": 136,
"column": 38
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5276,
"end": 5277,
"loc": {
"start": {
"line": 136,
"column": 38
},
"end": {
"line": 136,
"column": 39
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "bad parameter count for OR",
"start": 5278,
"end": 5306,
"loc": {
"start": {
"line": 136,
"column": 40
},
"end": {
"line": 136,
"column": 68
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5306,
"end": 5307,
"loc": {
"start": {
"line": 136,
"column": 68
},
"end": {
"line": 136,
"column": 69
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5307,
"end": 5308,
"loc": {
"start": {
"line": 136,
"column": 69
},
"end": {
"line": 136,
"column": 70
}
}
},
{
"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": 5318,
"end": 5324,
"loc": {
"start": {
"line": 137,
"column": 8
},
"end": {
"line": 137,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isTruthyItem",
"start": 5325,
"end": 5337,
"loc": {
"start": {
"line": 137,
"column": 15
},
"end": {
"line": 137,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5337,
"end": 5338,
"loc": {
"start": {
"line": 137,
"column": 27
},
"end": {
"line": 137,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 5338,
"end": 5348,
"loc": {
"start": {
"line": 137,
"column": 28
},
"end": {
"line": 137,
"column": 38
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5348,
"end": 5349,
"loc": {
"start": {
"line": 137,
"column": 38
},
"end": {
"line": 137,
"column": 39
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 5349,
"end": 5350,
"loc": {
"start": {
"line": 137,
"column": 39
},
"end": {
"line": 137,
"column": 40
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5350,
"end": 5351,
"loc": {
"start": {
"line": 137,
"column": 40
},
"end": {
"line": 137,
"column": 41
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5351,
"end": 5352,
"loc": {
"start": {
"line": 137,
"column": 41
},
"end": {
"line": 137,
"column": 42
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 5353,
"end": 5355,
"loc": {
"start": {
"line": 137,
"column": 43
},
"end": {
"line": 137,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isTruthyItem",
"start": 5356,
"end": 5368,
"loc": {
"start": {
"line": 137,
"column": 46
},
"end": {
"line": 137,
"column": 58
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5368,
"end": 5369,
"loc": {
"start": {
"line": 137,
"column": 58
},
"end": {
"line": 137,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 5369,
"end": 5379,
"loc": {
"start": {
"line": 137,
"column": 59
},
"end": {
"line": 137,
"column": 69
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5379,
"end": 5380,
"loc": {
"start": {
"line": 137,
"column": 69
},
"end": {
"line": 137,
"column": 70
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 5380,
"end": 5381,
"loc": {
"start": {
"line": 137,
"column": 70
},
"end": {
"line": 137,
"column": 71
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5381,
"end": 5382,
"loc": {
"start": {
"line": 137,
"column": 71
},
"end": {
"line": 137,
"column": 72
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5382,
"end": 5383,
"loc": {
"start": {
"line": 137,
"column": 72
},
"end": {
"line": 137,
"column": 73
}
}
},
{
"type": {
"label": "?",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5384,
"end": 5385,
"loc": {
"start": {
"line": 137,
"column": 74
},
"end": {
"line": 137,
"column": 75
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "BOOL_TRUE_SINGLETON",
"start": 5399,
"end": 5418,
"loc": {
"start": {
"line": 138,
"column": 12
},
"end": {
"line": 138,
"column": 31
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5419,
"end": 5420,
"loc": {
"start": {
"line": 138,
"column": 32
},
"end": {
"line": 138,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "BOOL_FALSE_SINGLETON",
"start": 5434,
"end": 5454,
"loc": {
"start": {
"line": 139,
"column": 12
},
"end": {
"line": 139,
"column": 32
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5454,
"end": 5455,
"loc": {
"start": {
"line": 139,
"column": 32
},
"end": {
"line": 139,
"column": 33
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5461,
"end": 5462,
"loc": {
"start": {
"line": 140,
"column": 4
},
"end": {
"line": 140,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {Array<BaseItem|null>} parameters\r\n * @returns {BaseItem}\r\n ",
"start": 5470,
"end": 5559,
"loc": {
"start": {
"line": 142,
"column": 4
},
"end": {
"line": 145,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "compute_IF",
"start": 5565,
"end": 5575,
"loc": {
"start": {
"line": 146,
"column": 4
},
"end": {
"line": 146,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5575,
"end": 5576,
"loc": {
"start": {
"line": 146,
"column": 14
},
"end": {
"line": 146,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 5576,
"end": 5586,
"loc": {
"start": {
"line": 146,
"column": 15
},
"end": {
"line": 146,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5586,
"end": 5587,
"loc": {
"start": {
"line": 146,
"column": 25
},
"end": {
"line": 146,
"column": 26
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5588,
"end": 5589,
"loc": {
"start": {
"line": 146,
"column": 27
},
"end": {
"line": 146,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "assert",
"start": 5599,
"end": 5605,
"loc": {
"start": {
"line": 147,
"column": 8
},
"end": {
"line": 147,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5605,
"end": 5606,
"loc": {
"start": {
"line": 147,
"column": 14
},
"end": {
"line": 147,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 5606,
"end": 5616,
"loc": {
"start": {
"line": 147,
"column": 15
},
"end": {
"line": 147,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5616,
"end": 5617,
"loc": {
"start": {
"line": 147,
"column": 25
},
"end": {
"line": 147,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 5617,
"end": 5623,
"loc": {
"start": {
"line": 147,
"column": 26
},
"end": {
"line": 147,
"column": 32
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 5624,
"end": 5627,
"loc": {
"start": {
"line": 147,
"column": 33
},
"end": {
"line": 147,
"column": 36
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 2,
"start": 5628,
"end": 5629,
"loc": {
"start": {
"line": 147,
"column": 37
},
"end": {
"line": 147,
"column": 38
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5629,
"end": 5630,
"loc": {
"start": {
"line": 147,
"column": 38
},
"end": {
"line": 147,
"column": 39
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "bad parameter count for IF",
"start": 5631,
"end": 5659,
"loc": {
"start": {
"line": 147,
"column": 40
},
"end": {
"line": 147,
"column": 68
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5659,
"end": 5660,
"loc": {
"start": {
"line": 147,
"column": 68
},
"end": {
"line": 147,
"column": 69
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5660,
"end": 5661,
"loc": {
"start": {
"line": 147,
"column": 69
},
"end": {
"line": 147,
"column": 70
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 5671,
"end": 5676,
"loc": {
"start": {
"line": 148,
"column": 8
},
"end": {
"line": 148,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "flag",
"start": 5677,
"end": 5681,
"loc": {
"start": {
"line": 148,
"column": 14
},
"end": {
"line": 148,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5682,
"end": 5683,
"loc": {
"start": {
"line": 148,
"column": 19
},
"end": {
"line": 148,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 5684,
"end": 5694,
"loc": {
"start": {
"line": 148,
"column": 21
},
"end": {
"line": 148,
"column": 31
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5694,
"end": 5695,
"loc": {
"start": {
"line": 148,
"column": 31
},
"end": {
"line": 148,
"column": 32
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 5695,
"end": 5696,
"loc": {
"start": {
"line": 148,
"column": 32
},
"end": {
"line": 148,
"column": 33
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5696,
"end": 5697,
"loc": {
"start": {
"line": 148,
"column": 33
},
"end": {
"line": 148,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5697,
"end": 5698,
"loc": {
"start": {
"line": 148,
"column": 34
},
"end": {
"line": 148,
"column": 35
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 5708,
"end": 5713,
"loc": {
"start": {
"line": 149,
"column": 8
},
"end": {
"line": 149,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "value",
"start": 5714,
"end": 5719,
"loc": {
"start": {
"line": 149,
"column": 14
},
"end": {
"line": 149,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5720,
"end": 5721,
"loc": {
"start": {
"line": 149,
"column": 20
},
"end": {
"line": 149,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 5722,
"end": 5732,
"loc": {
"start": {
"line": 149,
"column": 22
},
"end": {
"line": 149,
"column": 32
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5732,
"end": 5733,
"loc": {
"start": {
"line": 149,
"column": 32
},
"end": {
"line": 149,
"column": 33
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 5733,
"end": 5734,
"loc": {
"start": {
"line": 149,
"column": 33
},
"end": {
"line": 149,
"column": 34
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5734,
"end": 5735,
"loc": {
"start": {
"line": 149,
"column": 34
},
"end": {
"line": 149,
"column": 35
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5735,
"end": 5736,
"loc": {
"start": {
"line": 149,
"column": 35
},
"end": {
"line": 149,
"column": 36
}
}
},
{
"type": "CommentLine",
"value": " pass through item",
"start": 5748,
"end": 5768,
"loc": {
"start": {
"line": 151,
"column": 8
},
"end": {
"line": 151,
"column": 28
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 5778,
"end": 5780,
"loc": {
"start": {
"line": 152,
"column": 8
},
"end": {
"line": 152,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5781,
"end": 5782,
"loc": {
"start": {
"line": 152,
"column": 11
},
"end": {
"line": 152,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isTruthyItem",
"start": 5782,
"end": 5794,
"loc": {
"start": {
"line": 152,
"column": 12
},
"end": {
"line": 152,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5794,
"end": 5795,
"loc": {
"start": {
"line": 152,
"column": 24
},
"end": {
"line": 152,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "flag",
"start": 5795,
"end": 5799,
"loc": {
"start": {
"line": 152,
"column": 25
},
"end": {
"line": 152,
"column": 29
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5799,
"end": 5800,
"loc": {
"start": {
"line": 152,
"column": 29
},
"end": {
"line": 152,
"column": 30
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5800,
"end": 5801,
"loc": {
"start": {
"line": 152,
"column": 30
},
"end": {
"line": 152,
"column": 31
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5802,
"end": 5803,
"loc": {
"start": {
"line": 152,
"column": 32
},
"end": {
"line": 152,
"column": 33
}
}
},
{
"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": 5817,
"end": 5823,
"loc": {
"start": {
"line": 153,
"column": 12
},
"end": {
"line": 153,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "value",
"start": 5824,
"end": 5829,
"loc": {
"start": {
"line": 153,
"column": 19
},
"end": {
"line": 153,
"column": 24
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5829,
"end": 5830,
"loc": {
"start": {
"line": 153,
"column": 24
},
"end": {
"line": 153,
"column": 25
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5840,
"end": 5841,
"loc": {
"start": {
"line": 154,
"column": 8
},
"end": {
"line": 154,
"column": 9
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 5853,
"end": 5859,
"loc": {
"start": {
"line": 156,
"column": 8
},
"end": {
"line": 156,
"column": 14
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 5860,
"end": 5864,
"loc": {
"start": {
"line": 156,
"column": 15
},
"end": {
"line": 156,
"column": 19
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5864,
"end": 5865,
"loc": {
"start": {
"line": 156,
"column": 19
},
"end": {
"line": 156,
"column": 20
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5871,
"end": 5872,
"loc": {
"start": {
"line": 157,
"column": 4
},
"end": {
"line": 157,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {Array<BaseItem|null>} parameters\r\n * @returns {BaseItem}\r\n ",
"start": 5880,
"end": 5969,
"loc": {
"start": {
"line": 159,
"column": 4
},
"end": {
"line": 162,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "compute_ROTATE",
"start": 5975,
"end": 5989,
"loc": {
"start": {
"line": 163,
"column": 4
},
"end": {
"line": 163,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5989,
"end": 5990,
"loc": {
"start": {
"line": 163,
"column": 18
},
"end": {
"line": 163,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 5990,
"end": 6000,
"loc": {
"start": {
"line": 163,
"column": 19
},
"end": {
"line": 163,
"column": 29
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6000,
"end": 6001,
"loc": {
"start": {
"line": 163,
"column": 29
},
"end": {
"line": 163,
"column": 30
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6002,
"end": 6003,
"loc": {
"start": {
"line": 163,
"column": 31
},
"end": {
"line": 163,
"column": 32
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 6013,
"end": 6018,
"loc": {
"start": {
"line": 164,
"column": 8
},
"end": {
"line": 164,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "item",
"start": 6019,
"end": 6023,
"loc": {
"start": {
"line": 164,
"column": 14
},
"end": {
"line": 164,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6024,
"end": 6025,
"loc": {
"start": {
"line": 164,
"column": 19
},
"end": {
"line": 164,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 6026,
"end": 6036,
"loc": {
"start": {
"line": 164,
"column": 21
},
"end": {
"line": 164,
"column": 31
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6036,
"end": 6037,
"loc": {
"start": {
"line": 164,
"column": 31
},
"end": {
"line": 164,
"column": 32
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 6037,
"end": 6038,
"loc": {
"start": {
"line": 164,
"column": 32
},
"end": {
"line": 164,
"column": 33
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6038,
"end": 6039,
"loc": {
"start": {
"line": 164,
"column": 33
},
"end": {
"line": 164,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6039,
"end": 6040,
"loc": {
"start": {
"line": 164,
"column": 34
},
"end": {
"line": 164,
"column": 35
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 6050,
"end": 6052,
"loc": {
"start": {
"line": 165,
"column": 8
},
"end": {
"line": 165,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6053,
"end": 6054,
"loc": {
"start": {
"line": 165,
"column": 11
},
"end": {
"line": 165,
"column": 12
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 6054,
"end": 6055,
"loc": {
"start": {
"line": 165,
"column": 12
},
"end": {
"line": 165,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "item",
"start": 6055,
"end": 6059,
"loc": {
"start": {
"line": 165,
"column": 13
},
"end": {
"line": 165,
"column": 17
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 6060,
"end": 6062,
"loc": {
"start": {
"line": 165,
"column": 18
},
"end": {
"line": 165,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "item",
"start": 6063,
"end": 6067,
"loc": {
"start": {
"line": 165,
"column": 21
},
"end": {
"line": 165,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6067,
"end": 6068,
"loc": {
"start": {
"line": 165,
"column": 25
},
"end": {
"line": 165,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getItemType",
"start": 6068,
"end": 6079,
"loc": {
"start": {
"line": 165,
"column": 26
},
"end": {
"line": 165,
"column": 37
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6079,
"end": 6080,
"loc": {
"start": {
"line": 165,
"column": 37
},
"end": {
"line": 165,
"column": 38
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6080,
"end": 6081,
"loc": {
"start": {
"line": 165,
"column": 38
},
"end": {
"line": 165,
"column": 39
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 6082,
"end": 6085,
"loc": {
"start": {
"line": 165,
"column": 40
},
"end": {
"line": 165,
"column": 43
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "shape",
"start": 6086,
"end": 6093,
"loc": {
"start": {
"line": 165,
"column": 44
},
"end": {
"line": 165,
"column": 51
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6093,
"end": 6094,
"loc": {
"start": {
"line": 165,
"column": 51
},
"end": {
"line": 165,
"column": 52
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6095,
"end": 6096,
"loc": {
"start": {
"line": 165,
"column": 53
},
"end": {
"line": 165,
"column": 54
}
}
},
{
"type": "CommentLine",
"value": " Not a shape",
"start": 6110,
"end": 6124,
"loc": {
"start": {
"line": 166,
"column": 12
},
"end": {
"line": 166,
"column": 26
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 6138,
"end": 6144,
"loc": {
"start": {
"line": 167,
"column": 12
},
"end": {
"line": 167,
"column": 18
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 6145,
"end": 6149,
"loc": {
"start": {
"line": 167,
"column": 19
},
"end": {
"line": 167,
"column": 23
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6149,
"end": 6150,
"loc": {
"start": {
"line": 167,
"column": 23
},
"end": {
"line": 167,
"column": 24
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6160,
"end": 6161,
"loc": {
"start": {
"line": 168,
"column": 8
},
"end": {
"line": 168,
"column": 9
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 6173,
"end": 6178,
"loc": {
"start": {
"line": 170,
"column": 8
},
"end": {
"line": 170,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "definition",
"start": 6179,
"end": 6189,
"loc": {
"start": {
"line": 170,
"column": 14
},
"end": {
"line": 170,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6190,
"end": 6191,
"loc": {
"start": {
"line": 170,
"column": 25
},
"end": {
"line": 170,
"column": 26
}
}
},
{
"type": "CommentBlock",
"value": "* @type {ShapeItem} ",
"start": 6192,
"end": 6216,
"loc": {
"start": {
"line": 170,
"column": 27
},
"end": {
"line": 170,
"column": 51
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6217,
"end": 6218,
"loc": {
"start": {
"line": 170,
"column": 52
},
"end": {
"line": 170,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "item",
"start": 6218,
"end": 6222,
"loc": {
"start": {
"line": 170,
"column": 53
},
"end": {
"line": 170,
"column": 57
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6222,
"end": 6223,
"loc": {
"start": {
"line": 170,
"column": 57
},
"end": {
"line": 170,
"column": 58
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6223,
"end": 6224,
"loc": {
"start": {
"line": 170,
"column": 58
},
"end": {
"line": 170,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "definition",
"start": 6224,
"end": 6234,
"loc": {
"start": {
"line": 170,
"column": 59
},
"end": {
"line": 170,
"column": 69
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6234,
"end": 6235,
"loc": {
"start": {
"line": 170,
"column": 69
},
"end": {
"line": 170,
"column": 70
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 6245,
"end": 6250,
"loc": {
"start": {
"line": 171,
"column": 8
},
"end": {
"line": 171,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotatedDefinitionCW",
"start": 6251,
"end": 6270,
"loc": {
"start": {
"line": 171,
"column": 14
},
"end": {
"line": 171,
"column": 33
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6271,
"end": 6272,
"loc": {
"start": {
"line": 171,
"column": 34
},
"end": {
"line": 171,
"column": 35
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 6273,
"end": 6277,
"loc": {
"start": {
"line": 171,
"column": 36
},
"end": {
"line": 171,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6277,
"end": 6278,
"loc": {
"start": {
"line": 171,
"column": 40
},
"end": {
"line": 171,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 6278,
"end": 6282,
"loc": {
"start": {
"line": 171,
"column": 41
},
"end": {
"line": 171,
"column": 45
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6282,
"end": 6283,
"loc": {
"start": {
"line": 171,
"column": 45
},
"end": {
"line": 171,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "shapeDefinitionMgr",
"start": 6283,
"end": 6301,
"loc": {
"start": {
"line": 171,
"column": 46
},
"end": {
"line": 171,
"column": 64
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6301,
"end": 6302,
"loc": {
"start": {
"line": 171,
"column": 64
},
"end": {
"line": 171,
"column": 65
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "shapeActionRotateCW",
"start": 6302,
"end": 6321,
"loc": {
"start": {
"line": 171,
"column": 65
},
"end": {
"line": 171,
"column": 84
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6321,
"end": 6322,
"loc": {
"start": {
"line": 171,
"column": 84
},
"end": {
"line": 171,
"column": 85
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "definition",
"start": 6322,
"end": 6332,
"loc": {
"start": {
"line": 171,
"column": 85
},
"end": {
"line": 171,
"column": 95
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6332,
"end": 6333,
"loc": {
"start": {
"line": 171,
"column": 95
},
"end": {
"line": 171,
"column": 96
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6333,
"end": 6334,
"loc": {
"start": {
"line": 171,
"column": 96
},
"end": {
"line": 171,
"column": 97
}
}
},
{
"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": 6344,
"end": 6350,
"loc": {
"start": {
"line": 172,
"column": 8
},
"end": {
"line": 172,
"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": 6351,
"end": 6355,
"loc": {
"start": {
"line": 172,
"column": 15
},
"end": {
"line": 172,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6355,
"end": 6356,
"loc": {
"start": {
"line": 172,
"column": 19
},
"end": {
"line": 172,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 6356,
"end": 6360,
"loc": {
"start": {
"line": 172,
"column": 20
},
"end": {
"line": 172,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6360,
"end": 6361,
"loc": {
"start": {
"line": 172,
"column": 24
},
"end": {
"line": 172,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "shapeDefinitionMgr",
"start": 6361,
"end": 6379,
"loc": {
"start": {
"line": 172,
"column": 25
},
"end": {
"line": 172,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6379,
"end": 6380,
"loc": {
"start": {
"line": 172,
"column": 43
},
"end": {
"line": 172,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getShapeItemFromDefinition",
"start": 6380,
"end": 6406,
"loc": {
"start": {
"line": 172,
"column": 44
},
"end": {
"line": 172,
"column": 70
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6406,
"end": 6407,
"loc": {
"start": {
"line": 172,
"column": 70
},
"end": {
"line": 172,
"column": 71
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotatedDefinitionCW",
"start": 6407,
"end": 6426,
"loc": {
"start": {
"line": 172,
"column": 71
},
"end": {
"line": 172,
"column": 90
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6426,
"end": 6427,
"loc": {
"start": {
"line": 172,
"column": 90
},
"end": {
"line": 172,
"column": 91
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6427,
"end": 6428,
"loc": {
"start": {
"line": 172,
"column": 91
},
"end": {
"line": 172,
"column": 92
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6434,
"end": 6435,
"loc": {
"start": {
"line": 173,
"column": 4
},
"end": {
"line": 173,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {Array<BaseItem|null>} parameters\r\n * @returns {[BaseItem, BaseItem]}\r\n ",
"start": 6443,
"end": 6544,
"loc": {
"start": {
"line": 175,
"column": 4
},
"end": {
"line": 178,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "compute_ANALYZE",
"start": 6550,
"end": 6565,
"loc": {
"start": {
"line": 179,
"column": 4
},
"end": {
"line": 179,
"column": 19
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6565,
"end": 6566,
"loc": {
"start": {
"line": 179,
"column": 19
},
"end": {
"line": 179,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 6566,
"end": 6576,
"loc": {
"start": {
"line": 179,
"column": 20
},
"end": {
"line": 179,
"column": 30
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6576,
"end": 6577,
"loc": {
"start": {
"line": 179,
"column": 30
},
"end": {
"line": 179,
"column": 31
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6578,
"end": 6579,
"loc": {
"start": {
"line": 179,
"column": 32
},
"end": {
"line": 179,
"column": 33
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 6589,
"end": 6594,
"loc": {
"start": {
"line": 180,
"column": 8
},
"end": {
"line": 180,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "item",
"start": 6595,
"end": 6599,
"loc": {
"start": {
"line": 180,
"column": 14
},
"end": {
"line": 180,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6600,
"end": 6601,
"loc": {
"start": {
"line": 180,
"column": 19
},
"end": {
"line": 180,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 6602,
"end": 6612,
"loc": {
"start": {
"line": 180,
"column": 21
},
"end": {
"line": 180,
"column": 31
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6612,
"end": 6613,
"loc": {
"start": {
"line": 180,
"column": 31
},
"end": {
"line": 180,
"column": 32
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 6613,
"end": 6614,
"loc": {
"start": {
"line": 180,
"column": 32
},
"end": {
"line": 180,
"column": 33
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6614,
"end": 6615,
"loc": {
"start": {
"line": 180,
"column": 33
},
"end": {
"line": 180,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6615,
"end": 6616,
"loc": {
"start": {
"line": 180,
"column": 34
},
"end": {
"line": 180,
"column": 35
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 6626,
"end": 6628,
"loc": {
"start": {
"line": 181,
"column": 8
},
"end": {
"line": 181,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6629,
"end": 6630,
"loc": {
"start": {
"line": 181,
"column": 11
},
"end": {
"line": 181,
"column": 12
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 6630,
"end": 6631,
"loc": {
"start": {
"line": 181,
"column": 12
},
"end": {
"line": 181,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "item",
"start": 6631,
"end": 6635,
"loc": {
"start": {
"line": 181,
"column": 13
},
"end": {
"line": 181,
"column": 17
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 6636,
"end": 6638,
"loc": {
"start": {
"line": 181,
"column": 18
},
"end": {
"line": 181,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "item",
"start": 6639,
"end": 6643,
"loc": {
"start": {
"line": 181,
"column": 21
},
"end": {
"line": 181,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6643,
"end": 6644,
"loc": {
"start": {
"line": 181,
"column": 25
},
"end": {
"line": 181,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getItemType",
"start": 6644,
"end": 6655,
"loc": {
"start": {
"line": 181,
"column": 26
},
"end": {
"line": 181,
"column": 37
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6655,
"end": 6656,
"loc": {
"start": {
"line": 181,
"column": 37
},
"end": {
"line": 181,
"column": 38
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6656,
"end": 6657,
"loc": {
"start": {
"line": 181,
"column": 38
},
"end": {
"line": 181,
"column": 39
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 6658,
"end": 6661,
"loc": {
"start": {
"line": 181,
"column": 40
},
"end": {
"line": 181,
"column": 43
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "shape",
"start": 6662,
"end": 6669,
"loc": {
"start": {
"line": 181,
"column": 44
},
"end": {
"line": 181,
"column": 51
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6669,
"end": 6670,
"loc": {
"start": {
"line": 181,
"column": 51
},
"end": {
"line": 181,
"column": 52
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6671,
"end": 6672,
"loc": {
"start": {
"line": 181,
"column": 53
},
"end": {
"line": 181,
"column": 54
}
}
},
{
"type": "CommentLine",
"value": " Not a shape",
"start": 6686,
"end": 6700,
"loc": {
"start": {
"line": 182,
"column": 12
},
"end": {
"line": 182,
"column": 26
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 6714,
"end": 6720,
"loc": {
"start": {
"line": 183,
"column": 12
},
"end": {
"line": 183,
"column": 18
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6721,
"end": 6722,
"loc": {
"start": {
"line": 183,
"column": 19
},
"end": {
"line": 183,
"column": 20
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 6722,
"end": 6726,
"loc": {
"start": {
"line": 183,
"column": 20
},
"end": {
"line": 183,
"column": 24
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6726,
"end": 6727,
"loc": {
"start": {
"line": 183,
"column": 24
},
"end": {
"line": 183,
"column": 25
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 6728,
"end": 6732,
"loc": {
"start": {
"line": 183,
"column": 26
},
"end": {
"line": 183,
"column": 30
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6732,
"end": 6733,
"loc": {
"start": {
"line": 183,
"column": 30
},
"end": {
"line": 183,
"column": 31
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6733,
"end": 6734,
"loc": {
"start": {
"line": 183,
"column": 31
},
"end": {
"line": 183,
"column": 32
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6744,
"end": 6745,
"loc": {
"start": {
"line": 184,
"column": 8
},
"end": {
"line": 184,
"column": 9
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 6757,
"end": 6762,
"loc": {
"start": {
"line": 186,
"column": 8
},
"end": {
"line": 186,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "definition",
"start": 6763,
"end": 6773,
"loc": {
"start": {
"line": 186,
"column": 14
},
"end": {
"line": 186,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6774,
"end": 6775,
"loc": {
"start": {
"line": 186,
"column": 25
},
"end": {
"line": 186,
"column": 26
}
}
},
{
"type": "CommentBlock",
"value": "* @type {ShapeItem} ",
"start": 6776,
"end": 6800,
"loc": {
"start": {
"line": 186,
"column": 27
},
"end": {
"line": 186,
"column": 51
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6801,
"end": 6802,
"loc": {
"start": {
"line": 186,
"column": 52
},
"end": {
"line": 186,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "item",
"start": 6802,
"end": 6806,
"loc": {
"start": {
"line": 186,
"column": 53
},
"end": {
"line": 186,
"column": 57
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6806,
"end": 6807,
"loc": {
"start": {
"line": 186,
"column": 57
},
"end": {
"line": 186,
"column": 58
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6807,
"end": 6808,
"loc": {
"start": {
"line": 186,
"column": 58
},
"end": {
"line": 186,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "definition",
"start": 6808,
"end": 6818,
"loc": {
"start": {
"line": 186,
"column": 59
},
"end": {
"line": 186,
"column": 69
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6818,
"end": 6819,
"loc": {
"start": {
"line": 186,
"column": 69
},
"end": {
"line": 186,
"column": 70
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 6829,
"end": 6834,
"loc": {
"start": {
"line": 187,
"column": 8
},
"end": {
"line": 187,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "lowerLayer",
"start": 6835,
"end": 6845,
"loc": {
"start": {
"line": 187,
"column": 14
},
"end": {
"line": 187,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6846,
"end": 6847,
"loc": {
"start": {
"line": 187,
"column": 25
},
"end": {
"line": 187,
"column": 26
}
}
},
{
"type": "CommentBlock",
"value": "* @type {import(\"../shape_definition\").ShapeLayer} ",
"start": 6848,
"end": 6903,
"loc": {
"start": {
"line": 187,
"column": 27
},
"end": {
"line": 187,
"column": 82
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6904,
"end": 6905,
"loc": {
"start": {
"line": 187,
"column": 83
},
"end": {
"line": 187,
"column": 84
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "definition",
"start": 6905,
"end": 6915,
"loc": {
"start": {
"line": 187,
"column": 84
},
"end": {
"line": 187,
"column": 94
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6915,
"end": 6916,
"loc": {
"start": {
"line": 187,
"column": 94
},
"end": {
"line": 187,
"column": 95
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "layers",
"start": 6916,
"end": 6922,
"loc": {
"start": {
"line": 187,
"column": 95
},
"end": {
"line": 187,
"column": 101
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6922,
"end": 6923,
"loc": {
"start": {
"line": 187,
"column": 101
},
"end": {
"line": 187,
"column": 102
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 6923,
"end": 6924,
"loc": {
"start": {
"line": 187,
"column": 102
},
"end": {
"line": 187,
"column": 103
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6924,
"end": 6925,
"loc": {
"start": {
"line": 187,
"column": 103
},
"end": {
"line": 187,
"column": 104
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6925,
"end": 6926,
"loc": {
"start": {
"line": 187,
"column": 104
},
"end": {
"line": 187,
"column": 105
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6926,
"end": 6927,
"loc": {
"start": {
"line": 187,
"column": 105
},
"end": {
"line": 187,
"column": 106
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 6937,
"end": 6939,
"loc": {
"start": {
"line": 188,
"column": 8
},
"end": {
"line": 188,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6940,
"end": 6941,
"loc": {
"start": {
"line": 188,
"column": 11
},
"end": {
"line": 188,
"column": 12
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 6941,
"end": 6942,
"loc": {
"start": {
"line": 188,
"column": 12
},
"end": {
"line": 188,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "lowerLayer",
"start": 6942,
"end": 6952,
"loc": {
"start": {
"line": 188,
"column": 13
},
"end": {
"line": 188,
"column": 23
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6952,
"end": 6953,
"loc": {
"start": {
"line": 188,
"column": 23
},
"end": {
"line": 188,
"column": 24
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6954,
"end": 6955,
"loc": {
"start": {
"line": 188,
"column": 25
},
"end": {
"line": 188,
"column": 26
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 6969,
"end": 6975,
"loc": {
"start": {
"line": 189,
"column": 12
},
"end": {
"line": 189,
"column": 18
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6976,
"end": 6977,
"loc": {
"start": {
"line": 189,
"column": 19
},
"end": {
"line": 189,
"column": 20
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 6977,
"end": 6981,
"loc": {
"start": {
"line": 189,
"column": 20
},
"end": {
"line": 189,
"column": 24
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6981,
"end": 6982,
"loc": {
"start": {
"line": 189,
"column": 24
},
"end": {
"line": 189,
"column": 25
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 6983,
"end": 6987,
"loc": {
"start": {
"line": 189,
"column": 26
},
"end": {
"line": 189,
"column": 30
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6987,
"end": 6988,
"loc": {
"start": {
"line": 189,
"column": 30
},
"end": {
"line": 189,
"column": 31
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6988,
"end": 6989,
"loc": {
"start": {
"line": 189,
"column": 31
},
"end": {
"line": 189,
"column": 32
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6999,
"end": 7000,
"loc": {
"start": {
"line": 190,
"column": 8
},
"end": {
"line": 190,
"column": 9
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 7012,
"end": 7017,
"loc": {
"start": {
"line": 192,
"column": 8
},
"end": {
"line": 192,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "topRightContent",
"start": 7018,
"end": 7033,
"loc": {
"start": {
"line": 192,
"column": 14
},
"end": {
"line": 192,
"column": 29
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7034,
"end": 7035,
"loc": {
"start": {
"line": 192,
"column": 30
},
"end": {
"line": 192,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "lowerLayer",
"start": 7036,
"end": 7046,
"loc": {
"start": {
"line": 192,
"column": 32
},
"end": {
"line": 192,
"column": 42
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7046,
"end": 7047,
"loc": {
"start": {
"line": 192,
"column": 42
},
"end": {
"line": 192,
"column": 43
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 7047,
"end": 7048,
"loc": {
"start": {
"line": 192,
"column": 43
},
"end": {
"line": 192,
"column": 44
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7048,
"end": 7049,
"loc": {
"start": {
"line": 192,
"column": 44
},
"end": {
"line": 192,
"column": 45
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7049,
"end": 7050,
"loc": {
"start": {
"line": 192,
"column": 45
},
"end": {
"line": 192,
"column": 46
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 7062,
"end": 7064,
"loc": {
"start": {
"line": 194,
"column": 8
},
"end": {
"line": 194,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7065,
"end": 7066,
"loc": {
"start": {
"line": 194,
"column": 11
},
"end": {
"line": 194,
"column": 12
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 7066,
"end": 7067,
"loc": {
"start": {
"line": 194,
"column": 12
},
"end": {
"line": 194,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "topRightContent",
"start": 7067,
"end": 7082,
"loc": {
"start": {
"line": 194,
"column": 13
},
"end": {
"line": 194,
"column": 28
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 7083,
"end": 7085,
"loc": {
"start": {
"line": 194,
"column": 29
},
"end": {
"line": 194,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "topRightContent",
"start": 7086,
"end": 7101,
"loc": {
"start": {
"line": 194,
"column": 32
},
"end": {
"line": 194,
"column": 47
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7101,
"end": 7102,
"loc": {
"start": {
"line": 194,
"column": 47
},
"end": {
"line": 194,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "subShape",
"start": 7102,
"end": 7110,
"loc": {
"start": {
"line": 194,
"column": 48
},
"end": {
"line": 194,
"column": 56
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 7111,
"end": 7114,
"loc": {
"start": {
"line": 194,
"column": 57
},
"end": {
"line": 194,
"column": 60
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 7115,
"end": 7119,
"loc": {
"start": {
"line": 194,
"column": 61
},
"end": {
"line": 194,
"column": 65
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7119,
"end": 7120,
"loc": {
"start": {
"line": 194,
"column": 65
},
"end": {
"line": 194,
"column": 66
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7121,
"end": 7122,
"loc": {
"start": {
"line": 194,
"column": 67
},
"end": {
"line": 194,
"column": 68
}
}
},
{
"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": 7136,
"end": 7142,
"loc": {
"start": {
"line": 195,
"column": 12
},
"end": {
"line": 195,
"column": 18
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7143,
"end": 7144,
"loc": {
"start": {
"line": 195,
"column": 19
},
"end": {
"line": 195,
"column": 20
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 7144,
"end": 7148,
"loc": {
"start": {
"line": 195,
"column": 20
},
"end": {
"line": 195,
"column": 24
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7148,
"end": 7149,
"loc": {
"start": {
"line": 195,
"column": 24
},
"end": {
"line": 195,
"column": 25
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 7150,
"end": 7154,
"loc": {
"start": {
"line": 195,
"column": 26
},
"end": {
"line": 195,
"column": 30
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7154,
"end": 7155,
"loc": {
"start": {
"line": 195,
"column": 30
},
"end": {
"line": 195,
"column": 31
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7155,
"end": 7156,
"loc": {
"start": {
"line": 195,
"column": 31
},
"end": {
"line": 195,
"column": 32
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7166,
"end": 7167,
"loc": {
"start": {
"line": 196,
"column": 8
},
"end": {
"line": 196,
"column": 9
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 7179,
"end": 7184,
"loc": {
"start": {
"line": 198,
"column": 8
},
"end": {
"line": 198,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "newDefinition",
"start": 7185,
"end": 7198,
"loc": {
"start": {
"line": 198,
"column": 14
},
"end": {
"line": 198,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7199,
"end": 7200,
"loc": {
"start": {
"line": 198,
"column": 28
},
"end": {
"line": 198,
"column": 29
}
}
},
{
"type": {
"label": "new",
"keyword": "new",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "new",
"start": 7201,
"end": 7204,
"loc": {
"start": {
"line": 198,
"column": 30
},
"end": {
"line": 198,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ShapeDefinition",
"start": 7205,
"end": 7220,
"loc": {
"start": {
"line": 198,
"column": 34
},
"end": {
"line": 198,
"column": 49
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7220,
"end": 7221,
"loc": {
"start": {
"line": 198,
"column": 49
},
"end": {
"line": 198,
"column": 50
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7221,
"end": 7222,
"loc": {
"start": {
"line": 198,
"column": 50
},
"end": {
"line": 198,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "layers",
"start": 7236,
"end": 7242,
"loc": {
"start": {
"line": 199,
"column": 12
},
"end": {
"line": 199,
"column": 18
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7242,
"end": 7243,
"loc": {
"start": {
"line": 199,
"column": 18
},
"end": {
"line": 199,
"column": 19
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7244,
"end": 7245,
"loc": {
"start": {
"line": 199,
"column": 20
},
"end": {
"line": 199,
"column": 21
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7263,
"end": 7264,
"loc": {
"start": {
"line": 200,
"column": 16
},
"end": {
"line": 200,
"column": 17
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7286,
"end": 7287,
"loc": {
"start": {
"line": 201,
"column": 20
},
"end": {
"line": 201,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "subShape",
"start": 7288,
"end": 7296,
"loc": {
"start": {
"line": 201,
"column": 22
},
"end": {
"line": 201,
"column": 30
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7296,
"end": 7297,
"loc": {
"start": {
"line": 201,
"column": 30
},
"end": {
"line": 201,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "topRightContent",
"start": 7298,
"end": 7313,
"loc": {
"start": {
"line": 201,
"column": 32
},
"end": {
"line": 201,
"column": 47
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7313,
"end": 7314,
"loc": {
"start": {
"line": 201,
"column": 47
},
"end": {
"line": 201,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "subShape",
"start": 7314,
"end": 7322,
"loc": {
"start": {
"line": 201,
"column": 48
},
"end": {
"line": 201,
"column": 56
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7322,
"end": 7323,
"loc": {
"start": {
"line": 201,
"column": 56
},
"end": {
"line": 201,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "color",
"start": 7324,
"end": 7329,
"loc": {
"start": {
"line": 201,
"column": 58
},
"end": {
"line": 201,
"column": 63
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7329,
"end": 7330,
"loc": {
"start": {
"line": 201,
"column": 63
},
"end": {
"line": 201,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumColors",
"start": 7331,
"end": 7341,
"loc": {
"start": {
"line": 201,
"column": 65
},
"end": {
"line": 201,
"column": 75
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7341,
"end": 7342,
"loc": {
"start": {
"line": 201,
"column": 75
},
"end": {
"line": 201,
"column": 76
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "uncolored",
"start": 7342,
"end": 7351,
"loc": {
"start": {
"line": 201,
"column": 76
},
"end": {
"line": 201,
"column": 85
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7352,
"end": 7353,
"loc": {
"start": {
"line": 201,
"column": 86
},
"end": {
"line": 201,
"column": 87
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7353,
"end": 7354,
"loc": {
"start": {
"line": 201,
"column": 87
},
"end": {
"line": 201,
"column": 88
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7376,
"end": 7377,
"loc": {
"start": {
"line": 202,
"column": 20
},
"end": {
"line": 202,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "subShape",
"start": 7378,
"end": 7386,
"loc": {
"start": {
"line": 202,
"column": 22
},
"end": {
"line": 202,
"column": 30
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7386,
"end": 7387,
"loc": {
"start": {
"line": 202,
"column": 30
},
"end": {
"line": 202,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "topRightContent",
"start": 7388,
"end": 7403,
"loc": {
"start": {
"line": 202,
"column": 32
},
"end": {
"line": 202,
"column": 47
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7403,
"end": 7404,
"loc": {
"start": {
"line": 202,
"column": 47
},
"end": {
"line": 202,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "subShape",
"start": 7404,
"end": 7412,
"loc": {
"start": {
"line": 202,
"column": 48
},
"end": {
"line": 202,
"column": 56
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7412,
"end": 7413,
"loc": {
"start": {
"line": 202,
"column": 56
},
"end": {
"line": 202,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "color",
"start": 7414,
"end": 7419,
"loc": {
"start": {
"line": 202,
"column": 58
},
"end": {
"line": 202,
"column": 63
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7419,
"end": 7420,
"loc": {
"start": {
"line": 202,
"column": 63
},
"end": {
"line": 202,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumColors",
"start": 7421,
"end": 7431,
"loc": {
"start": {
"line": 202,
"column": 65
},
"end": {
"line": 202,
"column": 75
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7431,
"end": 7432,
"loc": {
"start": {
"line": 202,
"column": 75
},
"end": {
"line": 202,
"column": 76
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "uncolored",
"start": 7432,
"end": 7441,
"loc": {
"start": {
"line": 202,
"column": 76
},
"end": {
"line": 202,
"column": 85
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7442,
"end": 7443,
"loc": {
"start": {
"line": 202,
"column": 86
},
"end": {
"line": 202,
"column": 87
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7443,
"end": 7444,
"loc": {
"start": {
"line": 202,
"column": 87
},
"end": {
"line": 202,
"column": 88
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7466,
"end": 7467,
"loc": {
"start": {
"line": 203,
"column": 20
},
"end": {
"line": 203,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "subShape",
"start": 7468,
"end": 7476,
"loc": {
"start": {
"line": 203,
"column": 22
},
"end": {
"line": 203,
"column": 30
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7476,
"end": 7477,
"loc": {
"start": {
"line": 203,
"column": 30
},
"end": {
"line": 203,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "topRightContent",
"start": 7478,
"end": 7493,
"loc": {
"start": {
"line": 203,
"column": 32
},
"end": {
"line": 203,
"column": 47
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7493,
"end": 7494,
"loc": {
"start": {
"line": 203,
"column": 47
},
"end": {
"line": 203,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "subShape",
"start": 7494,
"end": 7502,
"loc": {
"start": {
"line": 203,
"column": 48
},
"end": {
"line": 203,
"column": 56
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7502,
"end": 7503,
"loc": {
"start": {
"line": 203,
"column": 56
},
"end": {
"line": 203,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "color",
"start": 7504,
"end": 7509,
"loc": {
"start": {
"line": 203,
"column": 58
},
"end": {
"line": 203,
"column": 63
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7509,
"end": 7510,
"loc": {
"start": {
"line": 203,
"column": 63
},
"end": {
"line": 203,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumColors",
"start": 7511,
"end": 7521,
"loc": {
"start": {
"line": 203,
"column": 65
},
"end": {
"line": 203,
"column": 75
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7521,
"end": 7522,
"loc": {
"start": {
"line": 203,
"column": 75
},
"end": {
"line": 203,
"column": 76
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "uncolored",
"start": 7522,
"end": 7531,
"loc": {
"start": {
"line": 203,
"column": 76
},
"end": {
"line": 203,
"column": 85
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7532,
"end": 7533,
"loc": {
"start": {
"line": 203,
"column": 86
},
"end": {
"line": 203,
"column": 87
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7533,
"end": 7534,
"loc": {
"start": {
"line": 203,
"column": 87
},
"end": {
"line": 203,
"column": 88
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7556,
"end": 7557,
"loc": {
"start": {
"line": 204,
"column": 20
},
"end": {
"line": 204,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "subShape",
"start": 7558,
"end": 7566,
"loc": {
"start": {
"line": 204,
"column": 22
},
"end": {
"line": 204,
"column": 30
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7566,
"end": 7567,
"loc": {
"start": {
"line": 204,
"column": 30
},
"end": {
"line": 204,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "topRightContent",
"start": 7568,
"end": 7583,
"loc": {
"start": {
"line": 204,
"column": 32
},
"end": {
"line": 204,
"column": 47
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7583,
"end": 7584,
"loc": {
"start": {
"line": 204,
"column": 47
},
"end": {
"line": 204,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "subShape",
"start": 7584,
"end": 7592,
"loc": {
"start": {
"line": 204,
"column": 48
},
"end": {
"line": 204,
"column": 56
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7592,
"end": 7593,
"loc": {
"start": {
"line": 204,
"column": 56
},
"end": {
"line": 204,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "color",
"start": 7594,
"end": 7599,
"loc": {
"start": {
"line": 204,
"column": 58
},
"end": {
"line": 204,
"column": 63
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7599,
"end": 7600,
"loc": {
"start": {
"line": 204,
"column": 63
},
"end": {
"line": 204,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumColors",
"start": 7601,
"end": 7611,
"loc": {
"start": {
"line": 204,
"column": 65
},
"end": {
"line": 204,
"column": 75
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7611,
"end": 7612,
"loc": {
"start": {
"line": 204,
"column": 75
},
"end": {
"line": 204,
"column": 76
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "uncolored",
"start": 7612,
"end": 7621,
"loc": {
"start": {
"line": 204,
"column": 76
},
"end": {
"line": 204,
"column": 85
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7622,
"end": 7623,
"loc": {
"start": {
"line": 204,
"column": 86
},
"end": {
"line": 204,
"column": 87
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7623,
"end": 7624,
"loc": {
"start": {
"line": 204,
"column": 87
},
"end": {
"line": 204,
"column": 88
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7642,
"end": 7643,
"loc": {
"start": {
"line": 205,
"column": 16
},
"end": {
"line": 205,
"column": 17
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7643,
"end": 7644,
"loc": {
"start": {
"line": 205,
"column": 17
},
"end": {
"line": 205,
"column": 18
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7658,
"end": 7659,
"loc": {
"start": {
"line": 206,
"column": 12
},
"end": {
"line": 206,
"column": 13
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7659,
"end": 7660,
"loc": {
"start": {
"line": 206,
"column": 13
},
"end": {
"line": 206,
"column": 14
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7670,
"end": 7671,
"loc": {
"start": {
"line": 207,
"column": 8
},
"end": {
"line": 207,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7671,
"end": 7672,
"loc": {
"start": {
"line": 207,
"column": 9
},
"end": {
"line": 207,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7672,
"end": 7673,
"loc": {
"start": {
"line": 207,
"column": 10
},
"end": {
"line": 207,
"column": 11
}
}
},
{
"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": 7685,
"end": 7691,
"loc": {
"start": {
"line": 209,
"column": 8
},
"end": {
"line": 209,
"column": 14
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7692,
"end": 7693,
"loc": {
"start": {
"line": 209,
"column": 15
},
"end": {
"line": 209,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ColorItem",
"start": 7707,
"end": 7716,
"loc": {
"start": {
"line": 210,
"column": 12
},
"end": {
"line": 210,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7716,
"end": 7717,
"loc": {
"start": {
"line": 210,
"column": 21
},
"end": {
"line": 210,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ITEM_SINGLETONS",
"start": 7717,
"end": 7732,
"loc": {
"start": {
"line": 210,
"column": 22
},
"end": {
"line": 210,
"column": 37
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7732,
"end": 7733,
"loc": {
"start": {
"line": 210,
"column": 37
},
"end": {
"line": 210,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "topRightContent",
"start": 7733,
"end": 7748,
"loc": {
"start": {
"line": 210,
"column": 38
},
"end": {
"line": 210,
"column": 53
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7748,
"end": 7749,
"loc": {
"start": {
"line": 210,
"column": 53
},
"end": {
"line": 210,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "color",
"start": 7749,
"end": 7754,
"loc": {
"start": {
"line": 210,
"column": 54
},
"end": {
"line": 210,
"column": 59
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7754,
"end": 7755,
"loc": {
"start": {
"line": 210,
"column": 59
},
"end": {
"line": 210,
"column": 60
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7755,
"end": 7756,
"loc": {
"start": {
"line": 210,
"column": 60
},
"end": {
"line": 210,
"column": 61
}
}
},
{
"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": 7770,
"end": 7774,
"loc": {
"start": {
"line": 211,
"column": 12
},
"end": {
"line": 211,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7774,
"end": 7775,
"loc": {
"start": {
"line": 211,
"column": 16
},
"end": {
"line": 211,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 7775,
"end": 7779,
"loc": {
"start": {
"line": 211,
"column": 17
},
"end": {
"line": 211,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7779,
"end": 7780,
"loc": {
"start": {
"line": 211,
"column": 21
},
"end": {
"line": 211,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "shapeDefinitionMgr",
"start": 7780,
"end": 7798,
"loc": {
"start": {
"line": 211,
"column": 22
},
"end": {
"line": 211,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7798,
"end": 7799,
"loc": {
"start": {
"line": 211,
"column": 40
},
"end": {
"line": 211,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getShapeItemFromDefinition",
"start": 7799,
"end": 7825,
"loc": {
"start": {
"line": 211,
"column": 41
},
"end": {
"line": 211,
"column": 67
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7825,
"end": 7826,
"loc": {
"start": {
"line": 211,
"column": 67
},
"end": {
"line": 211,
"column": 68
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "newDefinition",
"start": 7826,
"end": 7839,
"loc": {
"start": {
"line": 211,
"column": 68
},
"end": {
"line": 211,
"column": 81
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7839,
"end": 7840,
"loc": {
"start": {
"line": 211,
"column": 81
},
"end": {
"line": 211,
"column": 82
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7840,
"end": 7841,
"loc": {
"start": {
"line": 211,
"column": 82
},
"end": {
"line": 211,
"column": 83
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7851,
"end": 7852,
"loc": {
"start": {
"line": 212,
"column": 8
},
"end": {
"line": 212,
"column": 9
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7852,
"end": 7853,
"loc": {
"start": {
"line": 212,
"column": 9
},
"end": {
"line": 212,
"column": 10
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7859,
"end": 7860,
"loc": {
"start": {
"line": 213,
"column": 4
},
"end": {
"line": 213,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {Array<BaseItem|null>} parameters\r\n * @returns {[BaseItem, BaseItem]}\r\n ",
"start": 7868,
"end": 7969,
"loc": {
"start": {
"line": 215,
"column": 4
},
"end": {
"line": 218,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "compute_CUT",
"start": 7975,
"end": 7986,
"loc": {
"start": {
"line": 219,
"column": 4
},
"end": {
"line": 219,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7986,
"end": 7987,
"loc": {
"start": {
"line": 219,
"column": 15
},
"end": {
"line": 219,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 7987,
"end": 7997,
"loc": {
"start": {
"line": 219,
"column": 16
},
"end": {
"line": 219,
"column": 26
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7997,
"end": 7998,
"loc": {
"start": {
"line": 219,
"column": 26
},
"end": {
"line": 219,
"column": 27
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7999,
"end": 8000,
"loc": {
"start": {
"line": 219,
"column": 28
},
"end": {
"line": 219,
"column": 29
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 8010,
"end": 8015,
"loc": {
"start": {
"line": 220,
"column": 8
},
"end": {
"line": 220,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "item",
"start": 8016,
"end": 8020,
"loc": {
"start": {
"line": 220,
"column": 14
},
"end": {
"line": 220,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 8021,
"end": 8022,
"loc": {
"start": {
"line": 220,
"column": 19
},
"end": {
"line": 220,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 8023,
"end": 8033,
"loc": {
"start": {
"line": 220,
"column": 21
},
"end": {
"line": 220,
"column": 31
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8033,
"end": 8034,
"loc": {
"start": {
"line": 220,
"column": 31
},
"end": {
"line": 220,
"column": 32
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 8034,
"end": 8035,
"loc": {
"start": {
"line": 220,
"column": 32
},
"end": {
"line": 220,
"column": 33
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8035,
"end": 8036,
"loc": {
"start": {
"line": 220,
"column": 33
},
"end": {
"line": 220,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8036,
"end": 8037,
"loc": {
"start": {
"line": 220,
"column": 34
},
"end": {
"line": 220,
"column": 35
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 8047,
"end": 8049,
"loc": {
"start": {
"line": 221,
"column": 8
},
"end": {
"line": 221,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8050,
"end": 8051,
"loc": {
"start": {
"line": 221,
"column": 11
},
"end": {
"line": 221,
"column": 12
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 8051,
"end": 8052,
"loc": {
"start": {
"line": 221,
"column": 12
},
"end": {
"line": 221,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "item",
"start": 8052,
"end": 8056,
"loc": {
"start": {
"line": 221,
"column": 13
},
"end": {
"line": 221,
"column": 17
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 8057,
"end": 8059,
"loc": {
"start": {
"line": 221,
"column": 18
},
"end": {
"line": 221,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "item",
"start": 8060,
"end": 8064,
"loc": {
"start": {
"line": 221,
"column": 21
},
"end": {
"line": 221,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8064,
"end": 8065,
"loc": {
"start": {
"line": 221,
"column": 25
},
"end": {
"line": 221,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getItemType",
"start": 8065,
"end": 8076,
"loc": {
"start": {
"line": 221,
"column": 26
},
"end": {
"line": 221,
"column": 37
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8076,
"end": 8077,
"loc": {
"start": {
"line": 221,
"column": 37
},
"end": {
"line": 221,
"column": 38
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8077,
"end": 8078,
"loc": {
"start": {
"line": 221,
"column": 38
},
"end": {
"line": 221,
"column": 39
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 8079,
"end": 8082,
"loc": {
"start": {
"line": 221,
"column": 40
},
"end": {
"line": 221,
"column": 43
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "shape",
"start": 8083,
"end": 8090,
"loc": {
"start": {
"line": 221,
"column": 44
},
"end": {
"line": 221,
"column": 51
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8090,
"end": 8091,
"loc": {
"start": {
"line": 221,
"column": 51
},
"end": {
"line": 221,
"column": 52
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8092,
"end": 8093,
"loc": {
"start": {
"line": 221,
"column": 53
},
"end": {
"line": 221,
"column": 54
}
}
},
{
"type": "CommentLine",
"value": " Not a shape",
"start": 8107,
"end": 8121,
"loc": {
"start": {
"line": 222,
"column": 12
},
"end": {
"line": 222,
"column": 26
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 8135,
"end": 8141,
"loc": {
"start": {
"line": 223,
"column": 12
},
"end": {
"line": 223,
"column": 18
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8142,
"end": 8143,
"loc": {
"start": {
"line": 223,
"column": 19
},
"end": {
"line": 223,
"column": 20
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 8143,
"end": 8147,
"loc": {
"start": {
"line": 223,
"column": 20
},
"end": {
"line": 223,
"column": 24
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8147,
"end": 8148,
"loc": {
"start": {
"line": 223,
"column": 24
},
"end": {
"line": 223,
"column": 25
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 8149,
"end": 8153,
"loc": {
"start": {
"line": 223,
"column": 26
},
"end": {
"line": 223,
"column": 30
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8153,
"end": 8154,
"loc": {
"start": {
"line": 223,
"column": 30
},
"end": {
"line": 223,
"column": 31
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8154,
"end": 8155,
"loc": {
"start": {
"line": 223,
"column": 31
},
"end": {
"line": 223,
"column": 32
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8165,
"end": 8166,
"loc": {
"start": {
"line": 224,
"column": 8
},
"end": {
"line": 224,
"column": 9
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 8178,
"end": 8183,
"loc": {
"start": {
"line": 226,
"column": 8
},
"end": {
"line": 226,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "definition",
"start": 8184,
"end": 8194,
"loc": {
"start": {
"line": 226,
"column": 14
},
"end": {
"line": 226,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 8195,
"end": 8196,
"loc": {
"start": {
"line": 226,
"column": 25
},
"end": {
"line": 226,
"column": 26
}
}
},
{
"type": "CommentBlock",
"value": "* @type {ShapeItem} ",
"start": 8197,
"end": 8221,
"loc": {
"start": {
"line": 226,
"column": 27
},
"end": {
"line": 226,
"column": 51
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8222,
"end": 8223,
"loc": {
"start": {
"line": 226,
"column": 52
},
"end": {
"line": 226,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "item",
"start": 8223,
"end": 8227,
"loc": {
"start": {
"line": 226,
"column": 53
},
"end": {
"line": 226,
"column": 57
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8227,
"end": 8228,
"loc": {
"start": {
"line": 226,
"column": 57
},
"end": {
"line": 226,
"column": 58
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8228,
"end": 8229,
"loc": {
"start": {
"line": 226,
"column": 58
},
"end": {
"line": 226,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "definition",
"start": 8229,
"end": 8239,
"loc": {
"start": {
"line": 226,
"column": 59
},
"end": {
"line": 226,
"column": 69
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8239,
"end": 8240,
"loc": {
"start": {
"line": 226,
"column": 69
},
"end": {
"line": 226,
"column": 70
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 8250,
"end": 8255,
"loc": {
"start": {
"line": 227,
"column": 8
},
"end": {
"line": 227,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "result",
"start": 8256,
"end": 8262,
"loc": {
"start": {
"line": 227,
"column": 14
},
"end": {
"line": 227,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 8263,
"end": 8264,
"loc": {
"start": {
"line": 227,
"column": 21
},
"end": {
"line": 227,
"column": 22
}
}
},
{
"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": 8265,
"end": 8269,
"loc": {
"start": {
"line": 227,
"column": 23
},
"end": {
"line": 227,
"column": 27
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8269,
"end": 8270,
"loc": {
"start": {
"line": 227,
"column": 27
},
"end": {
"line": 227,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 8270,
"end": 8274,
"loc": {
"start": {
"line": 227,
"column": 28
},
"end": {
"line": 227,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8274,
"end": 8275,
"loc": {
"start": {
"line": 227,
"column": 32
},
"end": {
"line": 227,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "shapeDefinitionMgr",
"start": 8275,
"end": 8293,
"loc": {
"start": {
"line": 227,
"column": 33
},
"end": {
"line": 227,
"column": 51
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8293,
"end": 8294,
"loc": {
"start": {
"line": 227,
"column": 51
},
"end": {
"line": 227,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "shapeActionCutHalf",
"start": 8294,
"end": 8312,
"loc": {
"start": {
"line": 227,
"column": 52
},
"end": {
"line": 227,
"column": 70
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8312,
"end": 8313,
"loc": {
"start": {
"line": 227,
"column": 70
},
"end": {
"line": 227,
"column": 71
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "definition",
"start": 8313,
"end": 8323,
"loc": {
"start": {
"line": 227,
"column": 71
},
"end": {
"line": 227,
"column": 81
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8323,
"end": 8324,
"loc": {
"start": {
"line": 227,
"column": 81
},
"end": {
"line": 227,
"column": 82
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8324,
"end": 8325,
"loc": {
"start": {
"line": 227,
"column": 82
},
"end": {
"line": 227,
"column": 83
}
}
},
{
"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": 8335,
"end": 8341,
"loc": {
"start": {
"line": 228,
"column": 8
},
"end": {
"line": 228,
"column": 14
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8342,
"end": 8343,
"loc": {
"start": {
"line": 228,
"column": 15
},
"end": {
"line": 228,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "result",
"start": 8357,
"end": 8363,
"loc": {
"start": {
"line": 229,
"column": 12
},
"end": {
"line": 229,
"column": 18
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8363,
"end": 8364,
"loc": {
"start": {
"line": 229,
"column": 18
},
"end": {
"line": 229,
"column": 19
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 8364,
"end": 8365,
"loc": {
"start": {
"line": 229,
"column": 19
},
"end": {
"line": 229,
"column": 20
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8365,
"end": 8366,
"loc": {
"start": {
"line": 229,
"column": 20
},
"end": {
"line": 229,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8366,
"end": 8367,
"loc": {
"start": {
"line": 229,
"column": 21
},
"end": {
"line": 229,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isEntirelyEmpty",
"start": 8367,
"end": 8382,
"loc": {
"start": {
"line": 229,
"column": 22
},
"end": {
"line": 229,
"column": 37
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8382,
"end": 8383,
"loc": {
"start": {
"line": 229,
"column": 37
},
"end": {
"line": 229,
"column": 38
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8383,
"end": 8384,
"loc": {
"start": {
"line": 229,
"column": 38
},
"end": {
"line": 229,
"column": 39
}
}
},
{
"type": {
"label": "?",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8385,
"end": 8386,
"loc": {
"start": {
"line": 229,
"column": 40
},
"end": {
"line": 229,
"column": 41
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 8400,
"end": 8404,
"loc": {
"start": {
"line": 230,
"column": 12
},
"end": {
"line": 230,
"column": 16
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8405,
"end": 8406,
"loc": {
"start": {
"line": 230,
"column": 17
},
"end": {
"line": 230,
"column": 18
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 8420,
"end": 8424,
"loc": {
"start": {
"line": 231,
"column": 12
},
"end": {
"line": 231,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8424,
"end": 8425,
"loc": {
"start": {
"line": 231,
"column": 16
},
"end": {
"line": 231,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 8425,
"end": 8429,
"loc": {
"start": {
"line": 231,
"column": 17
},
"end": {
"line": 231,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8429,
"end": 8430,
"loc": {
"start": {
"line": 231,
"column": 21
},
"end": {
"line": 231,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "shapeDefinitionMgr",
"start": 8430,
"end": 8448,
"loc": {
"start": {
"line": 231,
"column": 22
},
"end": {
"line": 231,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8448,
"end": 8449,
"loc": {
"start": {
"line": 231,
"column": 40
},
"end": {
"line": 231,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getShapeItemFromDefinition",
"start": 8449,
"end": 8475,
"loc": {
"start": {
"line": 231,
"column": 41
},
"end": {
"line": 231,
"column": 67
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8475,
"end": 8476,
"loc": {
"start": {
"line": 231,
"column": 67
},
"end": {
"line": 231,
"column": 68
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "result",
"start": 8476,
"end": 8482,
"loc": {
"start": {
"line": 231,
"column": 68
},
"end": {
"line": 231,
"column": 74
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8482,
"end": 8483,
"loc": {
"start": {
"line": 231,
"column": 74
},
"end": {
"line": 231,
"column": 75
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 8483,
"end": 8484,
"loc": {
"start": {
"line": 231,
"column": 75
},
"end": {
"line": 231,
"column": 76
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8484,
"end": 8485,
"loc": {
"start": {
"line": 231,
"column": 76
},
"end": {
"line": 231,
"column": 77
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8485,
"end": 8486,
"loc": {
"start": {
"line": 231,
"column": 77
},
"end": {
"line": 231,
"column": 78
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8486,
"end": 8487,
"loc": {
"start": {
"line": 231,
"column": 78
},
"end": {
"line": 231,
"column": 79
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "result",
"start": 8501,
"end": 8507,
"loc": {
"start": {
"line": 232,
"column": 12
},
"end": {
"line": 232,
"column": 18
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8507,
"end": 8508,
"loc": {
"start": {
"line": 232,
"column": 18
},
"end": {
"line": 232,
"column": 19
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 8508,
"end": 8509,
"loc": {
"start": {
"line": 232,
"column": 19
},
"end": {
"line": 232,
"column": 20
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8509,
"end": 8510,
"loc": {
"start": {
"line": 232,
"column": 20
},
"end": {
"line": 232,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8510,
"end": 8511,
"loc": {
"start": {
"line": 232,
"column": 21
},
"end": {
"line": 232,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isEntirelyEmpty",
"start": 8511,
"end": 8526,
"loc": {
"start": {
"line": 232,
"column": 22
},
"end": {
"line": 232,
"column": 37
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8526,
"end": 8527,
"loc": {
"start": {
"line": 232,
"column": 37
},
"end": {
"line": 232,
"column": 38
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8527,
"end": 8528,
"loc": {
"start": {
"line": 232,
"column": 38
},
"end": {
"line": 232,
"column": 39
}
}
},
{
"type": {
"label": "?",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8529,
"end": 8530,
"loc": {
"start": {
"line": 232,
"column": 40
},
"end": {
"line": 232,
"column": 41
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 8544,
"end": 8548,
"loc": {
"start": {
"line": 233,
"column": 12
},
"end": {
"line": 233,
"column": 16
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8549,
"end": 8550,
"loc": {
"start": {
"line": 233,
"column": 17
},
"end": {
"line": 233,
"column": 18
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 8564,
"end": 8568,
"loc": {
"start": {
"line": 234,
"column": 12
},
"end": {
"line": 234,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8568,
"end": 8569,
"loc": {
"start": {
"line": 234,
"column": 16
},
"end": {
"line": 234,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 8569,
"end": 8573,
"loc": {
"start": {
"line": 234,
"column": 17
},
"end": {
"line": 234,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8573,
"end": 8574,
"loc": {
"start": {
"line": 234,
"column": 21
},
"end": {
"line": 234,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "shapeDefinitionMgr",
"start": 8574,
"end": 8592,
"loc": {
"start": {
"line": 234,
"column": 22
},
"end": {
"line": 234,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8592,
"end": 8593,
"loc": {
"start": {
"line": 234,
"column": 40
},
"end": {
"line": 234,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getShapeItemFromDefinition",
"start": 8593,
"end": 8619,
"loc": {
"start": {
"line": 234,
"column": 41
},
"end": {
"line": 234,
"column": 67
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8619,
"end": 8620,
"loc": {
"start": {
"line": 234,
"column": 67
},
"end": {
"line": 234,
"column": 68
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "result",
"start": 8620,
"end": 8626,
"loc": {
"start": {
"line": 234,
"column": 68
},
"end": {
"line": 234,
"column": 74
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8626,
"end": 8627,
"loc": {
"start": {
"line": 234,
"column": 74
},
"end": {
"line": 234,
"column": 75
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 8627,
"end": 8628,
"loc": {
"start": {
"line": 234,
"column": 75
},
"end": {
"line": 234,
"column": 76
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8628,
"end": 8629,
"loc": {
"start": {
"line": 234,
"column": 76
},
"end": {
"line": 234,
"column": 77
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8629,
"end": 8630,
"loc": {
"start": {
"line": 234,
"column": 77
},
"end": {
"line": 234,
"column": 78
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8630,
"end": 8631,
"loc": {
"start": {
"line": 234,
"column": 78
},
"end": {
"line": 234,
"column": 79
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8641,
"end": 8642,
"loc": {
"start": {
"line": 235,
"column": 8
},
"end": {
"line": 235,
"column": 9
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8642,
"end": 8643,
"loc": {
"start": {
"line": 235,
"column": 9
},
"end": {
"line": 235,
"column": 10
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8649,
"end": 8650,
"loc": {
"start": {
"line": 236,
"column": 4
},
"end": {
"line": 236,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {Array<BaseItem|null>} parameters\r\n * @returns {[BaseItem, BaseItem]}\r\n ",
"start": 8658,
"end": 8759,
"loc": {
"start": {
"line": 238,
"column": 4
},
"end": {
"line": 241,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "compute_UNSTACK",
"start": 8765,
"end": 8780,
"loc": {
"start": {
"line": 242,
"column": 4
},
"end": {
"line": 242,
"column": 19
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8780,
"end": 8781,
"loc": {
"start": {
"line": 242,
"column": 19
},
"end": {
"line": 242,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 8781,
"end": 8791,
"loc": {
"start": {
"line": 242,
"column": 20
},
"end": {
"line": 242,
"column": 30
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8791,
"end": 8792,
"loc": {
"start": {
"line": 242,
"column": 30
},
"end": {
"line": 242,
"column": 31
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8793,
"end": 8794,
"loc": {
"start": {
"line": 242,
"column": 32
},
"end": {
"line": 242,
"column": 33
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 8804,
"end": 8809,
"loc": {
"start": {
"line": 243,
"column": 8
},
"end": {
"line": 243,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "item",
"start": 8810,
"end": 8814,
"loc": {
"start": {
"line": 243,
"column": 14
},
"end": {
"line": 243,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 8815,
"end": 8816,
"loc": {
"start": {
"line": 243,
"column": 19
},
"end": {
"line": 243,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 8817,
"end": 8827,
"loc": {
"start": {
"line": 243,
"column": 21
},
"end": {
"line": 243,
"column": 31
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8827,
"end": 8828,
"loc": {
"start": {
"line": 243,
"column": 31
},
"end": {
"line": 243,
"column": 32
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 8828,
"end": 8829,
"loc": {
"start": {
"line": 243,
"column": 32
},
"end": {
"line": 243,
"column": 33
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8829,
"end": 8830,
"loc": {
"start": {
"line": 243,
"column": 33
},
"end": {
"line": 243,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8830,
"end": 8831,
"loc": {
"start": {
"line": 243,
"column": 34
},
"end": {
"line": 243,
"column": 35
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 8841,
"end": 8843,
"loc": {
"start": {
"line": 244,
"column": 8
},
"end": {
"line": 244,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8844,
"end": 8845,
"loc": {
"start": {
"line": 244,
"column": 11
},
"end": {
"line": 244,
"column": 12
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 8845,
"end": 8846,
"loc": {
"start": {
"line": 244,
"column": 12
},
"end": {
"line": 244,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "item",
"start": 8846,
"end": 8850,
"loc": {
"start": {
"line": 244,
"column": 13
},
"end": {
"line": 244,
"column": 17
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 8851,
"end": 8853,
"loc": {
"start": {
"line": 244,
"column": 18
},
"end": {
"line": 244,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "item",
"start": 8854,
"end": 8858,
"loc": {
"start": {
"line": 244,
"column": 21
},
"end": {
"line": 244,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8858,
"end": 8859,
"loc": {
"start": {
"line": 244,
"column": 25
},
"end": {
"line": 244,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getItemType",
"start": 8859,
"end": 8870,
"loc": {
"start": {
"line": 244,
"column": 26
},
"end": {
"line": 244,
"column": 37
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8870,
"end": 8871,
"loc": {
"start": {
"line": 244,
"column": 37
},
"end": {
"line": 244,
"column": 38
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8871,
"end": 8872,
"loc": {
"start": {
"line": 244,
"column": 38
},
"end": {
"line": 244,
"column": 39
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 8873,
"end": 8876,
"loc": {
"start": {
"line": 244,
"column": 40
},
"end": {
"line": 244,
"column": 43
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "shape",
"start": 8877,
"end": 8884,
"loc": {
"start": {
"line": 244,
"column": 44
},
"end": {
"line": 244,
"column": 51
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8884,
"end": 8885,
"loc": {
"start": {
"line": 244,
"column": 51
},
"end": {
"line": 244,
"column": 52
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8886,
"end": 8887,
"loc": {
"start": {
"line": 244,
"column": 53
},
"end": {
"line": 244,
"column": 54
}
}
},
{
"type": "CommentLine",
"value": " Not a shape",
"start": 8901,
"end": 8915,
"loc": {
"start": {
"line": 245,
"column": 12
},
"end": {
"line": 245,
"column": 26
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 8929,
"end": 8935,
"loc": {
"start": {
"line": 246,
"column": 12
},
"end": {
"line": 246,
"column": 18
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8936,
"end": 8937,
"loc": {
"start": {
"line": 246,
"column": 19
},
"end": {
"line": 246,
"column": 20
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 8937,
"end": 8941,
"loc": {
"start": {
"line": 246,
"column": 20
},
"end": {
"line": 246,
"column": 24
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8941,
"end": 8942,
"loc": {
"start": {
"line": 246,
"column": 24
},
"end": {
"line": 246,
"column": 25
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 8943,
"end": 8947,
"loc": {
"start": {
"line": 246,
"column": 26
},
"end": {
"line": 246,
"column": 30
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8947,
"end": 8948,
"loc": {
"start": {
"line": 246,
"column": 30
},
"end": {
"line": 246,
"column": 31
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8948,
"end": 8949,
"loc": {
"start": {
"line": 246,
"column": 31
},
"end": {
"line": 246,
"column": 32
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8959,
"end": 8960,
"loc": {
"start": {
"line": 247,
"column": 8
},
"end": {
"line": 247,
"column": 9
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 8972,
"end": 8977,
"loc": {
"start": {
"line": 249,
"column": 8
},
"end": {
"line": 249,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "definition",
"start": 8978,
"end": 8988,
"loc": {
"start": {
"line": 249,
"column": 14
},
"end": {
"line": 249,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 8989,
"end": 8990,
"loc": {
"start": {
"line": 249,
"column": 25
},
"end": {
"line": 249,
"column": 26
}
}
},
{
"type": "CommentBlock",
"value": "* @type {ShapeItem} ",
"start": 8991,
"end": 9015,
"loc": {
"start": {
"line": 249,
"column": 27
},
"end": {
"line": 249,
"column": 51
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9016,
"end": 9017,
"loc": {
"start": {
"line": 249,
"column": 52
},
"end": {
"line": 249,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "item",
"start": 9017,
"end": 9021,
"loc": {
"start": {
"line": 249,
"column": 53
},
"end": {
"line": 249,
"column": 57
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9021,
"end": 9022,
"loc": {
"start": {
"line": 249,
"column": 57
},
"end": {
"line": 249,
"column": 58
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9022,
"end": 9023,
"loc": {
"start": {
"line": 249,
"column": 58
},
"end": {
"line": 249,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "definition",
"start": 9023,
"end": 9033,
"loc": {
"start": {
"line": 249,
"column": 59
},
"end": {
"line": 249,
"column": 69
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9033,
"end": 9034,
"loc": {
"start": {
"line": 249,
"column": 69
},
"end": {
"line": 249,
"column": 70
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 9044,
"end": 9049,
"loc": {
"start": {
"line": 250,
"column": 8
},
"end": {
"line": 250,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "layers",
"start": 9050,
"end": 9056,
"loc": {
"start": {
"line": 250,
"column": 14
},
"end": {
"line": 250,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 9057,
"end": 9058,
"loc": {
"start": {
"line": 250,
"column": 21
},
"end": {
"line": 250,
"column": 22
}
}
},
{
"type": "CommentBlock",
"value": "* @type {Array<import(\"../shape_definition\").ShapeLayer>} ",
"start": 9059,
"end": 9122,
"loc": {
"start": {
"line": 250,
"column": 23
},
"end": {
"line": 250,
"column": 86
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9123,
"end": 9124,
"loc": {
"start": {
"line": 250,
"column": 87
},
"end": {
"line": 250,
"column": 88
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "definition",
"start": 9124,
"end": 9134,
"loc": {
"start": {
"line": 250,
"column": 88
},
"end": {
"line": 250,
"column": 98
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9134,
"end": 9135,
"loc": {
"start": {
"line": 250,
"column": 98
},
"end": {
"line": 250,
"column": 99
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "layers",
"start": 9135,
"end": 9141,
"loc": {
"start": {
"line": 250,
"column": 99
},
"end": {
"line": 250,
"column": 105
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9141,
"end": 9142,
"loc": {
"start": {
"line": 250,
"column": 105
},
"end": {
"line": 250,
"column": 106
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9142,
"end": 9143,
"loc": {
"start": {
"line": 250,
"column": 106
},
"end": {
"line": 250,
"column": 107
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 9155,
"end": 9160,
"loc": {
"start": {
"line": 252,
"column": 8
},
"end": {
"line": 252,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "upperLayerDefinition",
"start": 9161,
"end": 9181,
"loc": {
"start": {
"line": 252,
"column": 14
},
"end": {
"line": 252,
"column": 34
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 9182,
"end": 9183,
"loc": {
"start": {
"line": 252,
"column": 35
},
"end": {
"line": 252,
"column": 36
}
}
},
{
"type": {
"label": "new",
"keyword": "new",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "new",
"start": 9184,
"end": 9187,
"loc": {
"start": {
"line": 252,
"column": 37
},
"end": {
"line": 252,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ShapeDefinition",
"start": 9188,
"end": 9203,
"loc": {
"start": {
"line": 252,
"column": 41
},
"end": {
"line": 252,
"column": 56
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9203,
"end": 9204,
"loc": {
"start": {
"line": 252,
"column": 56
},
"end": {
"line": 252,
"column": 57
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9204,
"end": 9205,
"loc": {
"start": {
"line": 252,
"column": 57
},
"end": {
"line": 252,
"column": 58
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "layers",
"start": 9219,
"end": 9225,
"loc": {
"start": {
"line": 253,
"column": 12
},
"end": {
"line": 253,
"column": 18
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9225,
"end": 9226,
"loc": {
"start": {
"line": 253,
"column": 18
},
"end": {
"line": 253,
"column": 19
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9227,
"end": 9228,
"loc": {
"start": {
"line": 253,
"column": 20
},
"end": {
"line": 253,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "layers",
"start": 9228,
"end": 9234,
"loc": {
"start": {
"line": 253,
"column": 21
},
"end": {
"line": 253,
"column": 27
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9234,
"end": 9235,
"loc": {
"start": {
"line": 253,
"column": 27
},
"end": {
"line": 253,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "layers",
"start": 9235,
"end": 9241,
"loc": {
"start": {
"line": 253,
"column": 28
},
"end": {
"line": 253,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9241,
"end": 9242,
"loc": {
"start": {
"line": 253,
"column": 34
},
"end": {
"line": 253,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 9242,
"end": 9248,
"loc": {
"start": {
"line": 253,
"column": 35
},
"end": {
"line": 253,
"column": 41
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 9249,
"end": 9250,
"loc": {
"start": {
"line": 253,
"column": 42
},
"end": {
"line": 253,
"column": 43
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 9251,
"end": 9252,
"loc": {
"start": {
"line": 253,
"column": 44
},
"end": {
"line": 253,
"column": 45
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9252,
"end": 9253,
"loc": {
"start": {
"line": 253,
"column": 45
},
"end": {
"line": 253,
"column": 46
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9253,
"end": 9254,
"loc": {
"start": {
"line": 253,
"column": 46
},
"end": {
"line": 253,
"column": 47
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9254,
"end": 9255,
"loc": {
"start": {
"line": 253,
"column": 47
},
"end": {
"line": 253,
"column": 48
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9265,
"end": 9266,
"loc": {
"start": {
"line": 254,
"column": 8
},
"end": {
"line": 254,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9266,
"end": 9267,
"loc": {
"start": {
"line": 254,
"column": 9
},
"end": {
"line": 254,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9267,
"end": 9268,
"loc": {
"start": {
"line": 254,
"column": 10
},
"end": {
"line": 254,
"column": 11
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 9280,
"end": 9285,
"loc": {
"start": {
"line": 256,
"column": 8
},
"end": {
"line": 256,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "lowerLayers",
"start": 9286,
"end": 9297,
"loc": {
"start": {
"line": 256,
"column": 14
},
"end": {
"line": 256,
"column": 25
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 9298,
"end": 9299,
"loc": {
"start": {
"line": 256,
"column": 26
},
"end": {
"line": 256,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "layers",
"start": 9300,
"end": 9306,
"loc": {
"start": {
"line": 256,
"column": 28
},
"end": {
"line": 256,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9306,
"end": 9307,
"loc": {
"start": {
"line": 256,
"column": 34
},
"end": {
"line": 256,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "slice",
"start": 9307,
"end": 9312,
"loc": {
"start": {
"line": 256,
"column": 35
},
"end": {
"line": 256,
"column": 40
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9312,
"end": 9313,
"loc": {
"start": {
"line": 256,
"column": 40
},
"end": {
"line": 256,
"column": 41
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 9313,
"end": 9314,
"loc": {
"start": {
"line": 256,
"column": 41
},
"end": {
"line": 256,
"column": 42
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9314,
"end": 9315,
"loc": {
"start": {
"line": 256,
"column": 42
},
"end": {
"line": 256,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "layers",
"start": 9316,
"end": 9322,
"loc": {
"start": {
"line": 256,
"column": 44
},
"end": {
"line": 256,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9322,
"end": 9323,
"loc": {
"start": {
"line": 256,
"column": 50
},
"end": {
"line": 256,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 9323,
"end": 9329,
"loc": {
"start": {
"line": 256,
"column": 51
},
"end": {
"line": 256,
"column": 57
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 9330,
"end": 9331,
"loc": {
"start": {
"line": 256,
"column": 58
},
"end": {
"line": 256,
"column": 59
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 9332,
"end": 9333,
"loc": {
"start": {
"line": 256,
"column": 60
},
"end": {
"line": 256,
"column": 61
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9333,
"end": 9334,
"loc": {
"start": {
"line": 256,
"column": 61
},
"end": {
"line": 256,
"column": 62
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9334,
"end": 9335,
"loc": {
"start": {
"line": 256,
"column": 62
},
"end": {
"line": 256,
"column": 63
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 9345,
"end": 9350,
"loc": {
"start": {
"line": 257,
"column": 8
},
"end": {
"line": 257,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "lowerLayerDefinition",
"start": 9351,
"end": 9371,
"loc": {
"start": {
"line": 257,
"column": 14
},
"end": {
"line": 257,
"column": 34
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 9372,
"end": 9373,
"loc": {
"start": {
"line": 257,
"column": 35
},
"end": {
"line": 257,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "lowerLayers",
"start": 9387,
"end": 9398,
"loc": {
"start": {
"line": 258,
"column": 12
},
"end": {
"line": 258,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9398,
"end": 9399,
"loc": {
"start": {
"line": 258,
"column": 23
},
"end": {
"line": 258,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 9399,
"end": 9405,
"loc": {
"start": {
"line": 258,
"column": 24
},
"end": {
"line": 258,
"column": 30
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": ">",
"start": 9406,
"end": 9407,
"loc": {
"start": {
"line": 258,
"column": 31
},
"end": {
"line": 258,
"column": 32
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 9408,
"end": 9409,
"loc": {
"start": {
"line": 258,
"column": 33
},
"end": {
"line": 258,
"column": 34
}
}
},
{
"type": {
"label": "?",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9410,
"end": 9411,
"loc": {
"start": {
"line": 258,
"column": 35
},
"end": {
"line": 258,
"column": 36
}
}
},
{
"type": {
"label": "new",
"keyword": "new",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "new",
"start": 9412,
"end": 9415,
"loc": {
"start": {
"line": 258,
"column": 37
},
"end": {
"line": 258,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ShapeDefinition",
"start": 9416,
"end": 9431,
"loc": {
"start": {
"line": 258,
"column": 41
},
"end": {
"line": 258,
"column": 56
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9431,
"end": 9432,
"loc": {
"start": {
"line": 258,
"column": 56
},
"end": {
"line": 258,
"column": 57
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9432,
"end": 9433,
"loc": {
"start": {
"line": 258,
"column": 57
},
"end": {
"line": 258,
"column": 58
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "layers",
"start": 9434,
"end": 9440,
"loc": {
"start": {
"line": 258,
"column": 59
},
"end": {
"line": 258,
"column": 65
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9440,
"end": 9441,
"loc": {
"start": {
"line": 258,
"column": 65
},
"end": {
"line": 258,
"column": 66
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "lowerLayers",
"start": 9442,
"end": 9453,
"loc": {
"start": {
"line": 258,
"column": 67
},
"end": {
"line": 258,
"column": 78
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9454,
"end": 9455,
"loc": {
"start": {
"line": 258,
"column": 79
},
"end": {
"line": 258,
"column": 80
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9455,
"end": 9456,
"loc": {
"start": {
"line": 258,
"column": 80
},
"end": {
"line": 258,
"column": 81
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9457,
"end": 9458,
"loc": {
"start": {
"line": 258,
"column": 82
},
"end": {
"line": 258,
"column": 83
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 9459,
"end": 9463,
"loc": {
"start": {
"line": 258,
"column": 84
},
"end": {
"line": 258,
"column": 88
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9463,
"end": 9464,
"loc": {
"start": {
"line": 258,
"column": 88
},
"end": {
"line": 258,
"column": 89
}
}
},
{
"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": 9476,
"end": 9482,
"loc": {
"start": {
"line": 260,
"column": 8
},
"end": {
"line": 260,
"column": 14
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9483,
"end": 9484,
"loc": {
"start": {
"line": 260,
"column": 15
},
"end": {
"line": 260,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "lowerLayerDefinition",
"start": 9498,
"end": 9518,
"loc": {
"start": {
"line": 261,
"column": 12
},
"end": {
"line": 261,
"column": 32
}
}
},
{
"type": {
"label": "?",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9519,
"end": 9520,
"loc": {
"start": {
"line": 261,
"column": 33
},
"end": {
"line": 261,
"column": 34
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 9534,
"end": 9538,
"loc": {
"start": {
"line": 262,
"column": 12
},
"end": {
"line": 262,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9538,
"end": 9539,
"loc": {
"start": {
"line": 262,
"column": 16
},
"end": {
"line": 262,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 9539,
"end": 9543,
"loc": {
"start": {
"line": 262,
"column": 17
},
"end": {
"line": 262,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9543,
"end": 9544,
"loc": {
"start": {
"line": 262,
"column": 21
},
"end": {
"line": 262,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "shapeDefinitionMgr",
"start": 9544,
"end": 9562,
"loc": {
"start": {
"line": 262,
"column": 22
},
"end": {
"line": 262,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9562,
"end": 9563,
"loc": {
"start": {
"line": 262,
"column": 40
},
"end": {
"line": 262,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getShapeItemFromDefinition",
"start": 9563,
"end": 9589,
"loc": {
"start": {
"line": 262,
"column": 41
},
"end": {
"line": 262,
"column": 67
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9589,
"end": 9590,
"loc": {
"start": {
"line": 262,
"column": 67
},
"end": {
"line": 262,
"column": 68
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "lowerLayerDefinition",
"start": 9590,
"end": 9610,
"loc": {
"start": {
"line": 262,
"column": 68
},
"end": {
"line": 262,
"column": 88
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9610,
"end": 9611,
"loc": {
"start": {
"line": 262,
"column": 88
},
"end": {
"line": 262,
"column": 89
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9612,
"end": 9613,
"loc": {
"start": {
"line": 262,
"column": 90
},
"end": {
"line": 262,
"column": 91
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 9627,
"end": 9631,
"loc": {
"start": {
"line": 263,
"column": 12
},
"end": {
"line": 263,
"column": 16
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9631,
"end": 9632,
"loc": {
"start": {
"line": 263,
"column": 16
},
"end": {
"line": 263,
"column": 17
}
}
},
{
"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": 9646,
"end": 9650,
"loc": {
"start": {
"line": 264,
"column": 12
},
"end": {
"line": 264,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9650,
"end": 9651,
"loc": {
"start": {
"line": 264,
"column": 16
},
"end": {
"line": 264,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 9651,
"end": 9655,
"loc": {
"start": {
"line": 264,
"column": 17
},
"end": {
"line": 264,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9655,
"end": 9656,
"loc": {
"start": {
"line": 264,
"column": 21
},
"end": {
"line": 264,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "shapeDefinitionMgr",
"start": 9656,
"end": 9674,
"loc": {
"start": {
"line": 264,
"column": 22
},
"end": {
"line": 264,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9674,
"end": 9675,
"loc": {
"start": {
"line": 264,
"column": 40
},
"end": {
"line": 264,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getShapeItemFromDefinition",
"start": 9675,
"end": 9701,
"loc": {
"start": {
"line": 264,
"column": 41
},
"end": {
"line": 264,
"column": 67
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9701,
"end": 9702,
"loc": {
"start": {
"line": 264,
"column": 67
},
"end": {
"line": 264,
"column": 68
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "upperLayerDefinition",
"start": 9702,
"end": 9722,
"loc": {
"start": {
"line": 264,
"column": 68
},
"end": {
"line": 264,
"column": 88
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9722,
"end": 9723,
"loc": {
"start": {
"line": 264,
"column": 88
},
"end": {
"line": 264,
"column": 89
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9723,
"end": 9724,
"loc": {
"start": {
"line": 264,
"column": 89
},
"end": {
"line": 264,
"column": 90
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9734,
"end": 9735,
"loc": {
"start": {
"line": 265,
"column": 8
},
"end": {
"line": 265,
"column": 9
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9735,
"end": 9736,
"loc": {
"start": {
"line": 265,
"column": 9
},
"end": {
"line": 265,
"column": 10
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9742,
"end": 9743,
"loc": {
"start": {
"line": 266,
"column": 4
},
"end": {
"line": 266,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {Array<BaseItem|null>} parameters\r\n * @returns {BaseItem}\r\n ",
"start": 9751,
"end": 9840,
"loc": {
"start": {
"line": 268,
"column": 4
},
"end": {
"line": 271,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "compute_STACKER",
"start": 9846,
"end": 9861,
"loc": {
"start": {
"line": 272,
"column": 4
},
"end": {
"line": 272,
"column": 19
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9861,
"end": 9862,
"loc": {
"start": {
"line": 272,
"column": 19
},
"end": {
"line": 272,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 9862,
"end": 9872,
"loc": {
"start": {
"line": 272,
"column": 20
},
"end": {
"line": 272,
"column": 30
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9872,
"end": 9873,
"loc": {
"start": {
"line": 272,
"column": 30
},
"end": {
"line": 272,
"column": 31
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9874,
"end": 9875,
"loc": {
"start": {
"line": 272,
"column": 32
},
"end": {
"line": 272,
"column": 33
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 9885,
"end": 9890,
"loc": {
"start": {
"line": 273,
"column": 8
},
"end": {
"line": 273,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "lowerItem",
"start": 9891,
"end": 9900,
"loc": {
"start": {
"line": 273,
"column": 14
},
"end": {
"line": 273,
"column": 23
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 9901,
"end": 9902,
"loc": {
"start": {
"line": 273,
"column": 24
},
"end": {
"line": 273,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 9903,
"end": 9913,
"loc": {
"start": {
"line": 273,
"column": 26
},
"end": {
"line": 273,
"column": 36
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9913,
"end": 9914,
"loc": {
"start": {
"line": 273,
"column": 36
},
"end": {
"line": 273,
"column": 37
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 9914,
"end": 9915,
"loc": {
"start": {
"line": 273,
"column": 37
},
"end": {
"line": 273,
"column": 38
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9915,
"end": 9916,
"loc": {
"start": {
"line": 273,
"column": 38
},
"end": {
"line": 273,
"column": 39
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9916,
"end": 9917,
"loc": {
"start": {
"line": 273,
"column": 39
},
"end": {
"line": 273,
"column": 40
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 9927,
"end": 9932,
"loc": {
"start": {
"line": 274,
"column": 8
},
"end": {
"line": 274,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "upperItem",
"start": 9933,
"end": 9942,
"loc": {
"start": {
"line": 274,
"column": 14
},
"end": {
"line": 274,
"column": 23
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 9943,
"end": 9944,
"loc": {
"start": {
"line": 274,
"column": 24
},
"end": {
"line": 274,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 9945,
"end": 9955,
"loc": {
"start": {
"line": 274,
"column": 26
},
"end": {
"line": 274,
"column": 36
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9955,
"end": 9956,
"loc": {
"start": {
"line": 274,
"column": 36
},
"end": {
"line": 274,
"column": 37
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 9956,
"end": 9957,
"loc": {
"start": {
"line": 274,
"column": 37
},
"end": {
"line": 274,
"column": 38
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9957,
"end": 9958,
"loc": {
"start": {
"line": 274,
"column": 38
},
"end": {
"line": 274,
"column": 39
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9958,
"end": 9959,
"loc": {
"start": {
"line": 274,
"column": 39
},
"end": {
"line": 274,
"column": 40
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 9971,
"end": 9973,
"loc": {
"start": {
"line": 276,
"column": 8
},
"end": {
"line": 276,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9974,
"end": 9975,
"loc": {
"start": {
"line": 276,
"column": 11
},
"end": {
"line": 276,
"column": 12
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 9975,
"end": 9976,
"loc": {
"start": {
"line": 276,
"column": 12
},
"end": {
"line": 276,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "lowerItem",
"start": 9976,
"end": 9985,
"loc": {
"start": {
"line": 276,
"column": 13
},
"end": {
"line": 276,
"column": 22
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 9986,
"end": 9988,
"loc": {
"start": {
"line": 276,
"column": 23
},
"end": {
"line": 276,
"column": 25
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 9989,
"end": 9990,
"loc": {
"start": {
"line": 276,
"column": 26
},
"end": {
"line": 276,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "upperItem",
"start": 9990,
"end": 9999,
"loc": {
"start": {
"line": 276,
"column": 27
},
"end": {
"line": 276,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9999,
"end": 10000,
"loc": {
"start": {
"line": 276,
"column": 36
},
"end": {
"line": 276,
"column": 37
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10001,
"end": 10002,
"loc": {
"start": {
"line": 276,
"column": 38
},
"end": {
"line": 276,
"column": 39
}
}
},
{
"type": "CommentLine",
"value": " Empty",
"start": 10016,
"end": 10024,
"loc": {
"start": {
"line": 277,
"column": 12
},
"end": {
"line": 277,
"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": 10038,
"end": 10044,
"loc": {
"start": {
"line": 278,
"column": 12
},
"end": {
"line": 278,
"column": 18
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 10045,
"end": 10049,
"loc": {
"start": {
"line": 278,
"column": 19
},
"end": {
"line": 278,
"column": 23
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10049,
"end": 10050,
"loc": {
"start": {
"line": 278,
"column": 23
},
"end": {
"line": 278,
"column": 24
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10060,
"end": 10061,
"loc": {
"start": {
"line": 279,
"column": 8
},
"end": {
"line": 279,
"column": 9
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 10073,
"end": 10075,
"loc": {
"start": {
"line": 281,
"column": 8
},
"end": {
"line": 281,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10076,
"end": 10077,
"loc": {
"start": {
"line": 281,
"column": 11
},
"end": {
"line": 281,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "lowerItem",
"start": 10077,
"end": 10086,
"loc": {
"start": {
"line": 281,
"column": 12
},
"end": {
"line": 281,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10086,
"end": 10087,
"loc": {
"start": {
"line": 281,
"column": 21
},
"end": {
"line": 281,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getItemType",
"start": 10087,
"end": 10098,
"loc": {
"start": {
"line": 281,
"column": 22
},
"end": {
"line": 281,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10098,
"end": 10099,
"loc": {
"start": {
"line": 281,
"column": 33
},
"end": {
"line": 281,
"column": 34
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10099,
"end": 10100,
"loc": {
"start": {
"line": 281,
"column": 34
},
"end": {
"line": 281,
"column": 35
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 10101,
"end": 10104,
"loc": {
"start": {
"line": 281,
"column": 36
},
"end": {
"line": 281,
"column": 39
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "shape",
"start": 10105,
"end": 10112,
"loc": {
"start": {
"line": 281,
"column": 40
},
"end": {
"line": 281,
"column": 47
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 10113,
"end": 10115,
"loc": {
"start": {
"line": 281,
"column": 48
},
"end": {
"line": 281,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "upperItem",
"start": 10116,
"end": 10125,
"loc": {
"start": {
"line": 281,
"column": 51
},
"end": {
"line": 281,
"column": 60
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10125,
"end": 10126,
"loc": {
"start": {
"line": 281,
"column": 60
},
"end": {
"line": 281,
"column": 61
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getItemType",
"start": 10126,
"end": 10137,
"loc": {
"start": {
"line": 281,
"column": 61
},
"end": {
"line": 281,
"column": 72
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10137,
"end": 10138,
"loc": {
"start": {
"line": 281,
"column": 72
},
"end": {
"line": 281,
"column": 73
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10138,
"end": 10139,
"loc": {
"start": {
"line": 281,
"column": 73
},
"end": {
"line": 281,
"column": 74
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 10140,
"end": 10143,
"loc": {
"start": {
"line": 281,
"column": 75
},
"end": {
"line": 281,
"column": 78
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "shape",
"start": 10144,
"end": 10151,
"loc": {
"start": {
"line": 281,
"column": 79
},
"end": {
"line": 281,
"column": 86
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10151,
"end": 10152,
"loc": {
"start": {
"line": 281,
"column": 86
},
"end": {
"line": 281,
"column": 87
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10153,
"end": 10154,
"loc": {
"start": {
"line": 281,
"column": 88
},
"end": {
"line": 281,
"column": 89
}
}
},
{
"type": "CommentLine",
"value": " Bad type",
"start": 10168,
"end": 10179,
"loc": {
"start": {
"line": 282,
"column": 12
},
"end": {
"line": 282,
"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": 10193,
"end": 10199,
"loc": {
"start": {
"line": 283,
"column": 12
},
"end": {
"line": 283,
"column": 18
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 10200,
"end": 10204,
"loc": {
"start": {
"line": 283,
"column": 19
},
"end": {
"line": 283,
"column": 23
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10204,
"end": 10205,
"loc": {
"start": {
"line": 283,
"column": 23
},
"end": {
"line": 283,
"column": 24
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10215,
"end": 10216,
"loc": {
"start": {
"line": 284,
"column": 8
},
"end": {
"line": 284,
"column": 9
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 10228,
"end": 10233,
"loc": {
"start": {
"line": 286,
"column": 8
},
"end": {
"line": 286,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stackedShape",
"start": 10234,
"end": 10246,
"loc": {
"start": {
"line": 286,
"column": 14
},
"end": {
"line": 286,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 10247,
"end": 10248,
"loc": {
"start": {
"line": 286,
"column": 27
},
"end": {
"line": 286,
"column": 28
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 10249,
"end": 10253,
"loc": {
"start": {
"line": 286,
"column": 29
},
"end": {
"line": 286,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10253,
"end": 10254,
"loc": {
"start": {
"line": 286,
"column": 33
},
"end": {
"line": 286,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 10254,
"end": 10258,
"loc": {
"start": {
"line": 286,
"column": 34
},
"end": {
"line": 286,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10258,
"end": 10259,
"loc": {
"start": {
"line": 286,
"column": 38
},
"end": {
"line": 286,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "shapeDefinitionMgr",
"start": 10259,
"end": 10277,
"loc": {
"start": {
"line": 286,
"column": 39
},
"end": {
"line": 286,
"column": 57
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10277,
"end": 10278,
"loc": {
"start": {
"line": 286,
"column": 57
},
"end": {
"line": 286,
"column": 58
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "shapeActionStack",
"start": 10278,
"end": 10294,
"loc": {
"start": {
"line": 286,
"column": 58
},
"end": {
"line": 286,
"column": 74
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10294,
"end": 10295,
"loc": {
"start": {
"line": 286,
"column": 74
},
"end": {
"line": 286,
"column": 75
}
}
},
{
"type": "CommentBlock",
"value": "* @type {ShapeItem} ",
"start": 10309,
"end": 10333,
"loc": {
"start": {
"line": 287,
"column": 12
},
"end": {
"line": 287,
"column": 36
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10347,
"end": 10348,
"loc": {
"start": {
"line": 288,
"column": 12
},
"end": {
"line": 288,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "lowerItem",
"start": 10348,
"end": 10357,
"loc": {
"start": {
"line": 288,
"column": 13
},
"end": {
"line": 288,
"column": 22
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10357,
"end": 10358,
"loc": {
"start": {
"line": 288,
"column": 22
},
"end": {
"line": 288,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10358,
"end": 10359,
"loc": {
"start": {
"line": 288,
"column": 23
},
"end": {
"line": 288,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "definition",
"start": 10359,
"end": 10369,
"loc": {
"start": {
"line": 288,
"column": 24
},
"end": {
"line": 288,
"column": 34
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10369,
"end": 10370,
"loc": {
"start": {
"line": 288,
"column": 34
},
"end": {
"line": 288,
"column": 35
}
}
},
{
"type": "CommentBlock",
"value": "* @type {ShapeItem} ",
"start": 10384,
"end": 10408,
"loc": {
"start": {
"line": 289,
"column": 12
},
"end": {
"line": 289,
"column": 36
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10422,
"end": 10423,
"loc": {
"start": {
"line": 290,
"column": 12
},
"end": {
"line": 290,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "upperItem",
"start": 10423,
"end": 10432,
"loc": {
"start": {
"line": 290,
"column": 13
},
"end": {
"line": 290,
"column": 22
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10432,
"end": 10433,
"loc": {
"start": {
"line": 290,
"column": 22
},
"end": {
"line": 290,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10433,
"end": 10434,
"loc": {
"start": {
"line": 290,
"column": 23
},
"end": {
"line": 290,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "definition",
"start": 10434,
"end": 10444,
"loc": {
"start": {
"line": 290,
"column": 24
},
"end": {
"line": 290,
"column": 34
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10454,
"end": 10455,
"loc": {
"start": {
"line": 291,
"column": 8
},
"end": {
"line": 291,
"column": 9
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10455,
"end": 10456,
"loc": {
"start": {
"line": 291,
"column": 9
},
"end": {
"line": 291,
"column": 10
}
}
},
{
"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": 10468,
"end": 10474,
"loc": {
"start": {
"line": 293,
"column": 8
},
"end": {
"line": 293,
"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": 10475,
"end": 10479,
"loc": {
"start": {
"line": 293,
"column": 15
},
"end": {
"line": 293,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10479,
"end": 10480,
"loc": {
"start": {
"line": 293,
"column": 19
},
"end": {
"line": 293,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 10480,
"end": 10484,
"loc": {
"start": {
"line": 293,
"column": 20
},
"end": {
"line": 293,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10484,
"end": 10485,
"loc": {
"start": {
"line": 293,
"column": 24
},
"end": {
"line": 293,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "shapeDefinitionMgr",
"start": 10485,
"end": 10503,
"loc": {
"start": {
"line": 293,
"column": 25
},
"end": {
"line": 293,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10503,
"end": 10504,
"loc": {
"start": {
"line": 293,
"column": 43
},
"end": {
"line": 293,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getShapeItemFromDefinition",
"start": 10504,
"end": 10530,
"loc": {
"start": {
"line": 293,
"column": 44
},
"end": {
"line": 293,
"column": 70
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10530,
"end": 10531,
"loc": {
"start": {
"line": 293,
"column": 70
},
"end": {
"line": 293,
"column": 71
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stackedShape",
"start": 10531,
"end": 10543,
"loc": {
"start": {
"line": 293,
"column": 71
},
"end": {
"line": 293,
"column": 83
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10543,
"end": 10544,
"loc": {
"start": {
"line": 293,
"column": 83
},
"end": {
"line": 293,
"column": 84
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10544,
"end": 10545,
"loc": {
"start": {
"line": 293,
"column": 84
},
"end": {
"line": 293,
"column": 85
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10551,
"end": 10552,
"loc": {
"start": {
"line": 294,
"column": 4
},
"end": {
"line": 294,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {Array<BaseItem|null>} parameters\r\n * @returns {BaseItem}\r\n ",
"start": 10560,
"end": 10649,
"loc": {
"start": {
"line": 296,
"column": 4
},
"end": {
"line": 299,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "compute_PAINTER",
"start": 10655,
"end": 10670,
"loc": {
"start": {
"line": 300,
"column": 4
},
"end": {
"line": 300,
"column": 19
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10670,
"end": 10671,
"loc": {
"start": {
"line": 300,
"column": 19
},
"end": {
"line": 300,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 10671,
"end": 10681,
"loc": {
"start": {
"line": 300,
"column": 20
},
"end": {
"line": 300,
"column": 30
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10681,
"end": 10682,
"loc": {
"start": {
"line": 300,
"column": 30
},
"end": {
"line": 300,
"column": 31
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10683,
"end": 10684,
"loc": {
"start": {
"line": 300,
"column": 32
},
"end": {
"line": 300,
"column": 33
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 10694,
"end": 10699,
"loc": {
"start": {
"line": 301,
"column": 8
},
"end": {
"line": 301,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "shape",
"start": 10700,
"end": 10705,
"loc": {
"start": {
"line": 301,
"column": 14
},
"end": {
"line": 301,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 10706,
"end": 10707,
"loc": {
"start": {
"line": 301,
"column": 20
},
"end": {
"line": 301,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 10708,
"end": 10718,
"loc": {
"start": {
"line": 301,
"column": 22
},
"end": {
"line": 301,
"column": 32
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10718,
"end": 10719,
"loc": {
"start": {
"line": 301,
"column": 32
},
"end": {
"line": 301,
"column": 33
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 10719,
"end": 10720,
"loc": {
"start": {
"line": 301,
"column": 33
},
"end": {
"line": 301,
"column": 34
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10720,
"end": 10721,
"loc": {
"start": {
"line": 301,
"column": 34
},
"end": {
"line": 301,
"column": 35
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10721,
"end": 10722,
"loc": {
"start": {
"line": 301,
"column": 35
},
"end": {
"line": 301,
"column": 36
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 10732,
"end": 10737,
"loc": {
"start": {
"line": 302,
"column": 8
},
"end": {
"line": 302,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "color",
"start": 10738,
"end": 10743,
"loc": {
"start": {
"line": 302,
"column": 14
},
"end": {
"line": 302,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 10744,
"end": 10745,
"loc": {
"start": {
"line": 302,
"column": 20
},
"end": {
"line": 302,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 10746,
"end": 10756,
"loc": {
"start": {
"line": 302,
"column": 22
},
"end": {
"line": 302,
"column": 32
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10756,
"end": 10757,
"loc": {
"start": {
"line": 302,
"column": 32
},
"end": {
"line": 302,
"column": 33
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 10757,
"end": 10758,
"loc": {
"start": {
"line": 302,
"column": 33
},
"end": {
"line": 302,
"column": 34
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10758,
"end": 10759,
"loc": {
"start": {
"line": 302,
"column": 34
},
"end": {
"line": 302,
"column": 35
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10759,
"end": 10760,
"loc": {
"start": {
"line": 302,
"column": 35
},
"end": {
"line": 302,
"column": 36
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 10772,
"end": 10774,
"loc": {
"start": {
"line": 304,
"column": 8
},
"end": {
"line": 304,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10775,
"end": 10776,
"loc": {
"start": {
"line": 304,
"column": 11
},
"end": {
"line": 304,
"column": 12
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 10776,
"end": 10777,
"loc": {
"start": {
"line": 304,
"column": 12
},
"end": {
"line": 304,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "shape",
"start": 10777,
"end": 10782,
"loc": {
"start": {
"line": 304,
"column": 13
},
"end": {
"line": 304,
"column": 18
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 10783,
"end": 10785,
"loc": {
"start": {
"line": 304,
"column": 19
},
"end": {
"line": 304,
"column": 21
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 10786,
"end": 10787,
"loc": {
"start": {
"line": 304,
"column": 22
},
"end": {
"line": 304,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "color",
"start": 10787,
"end": 10792,
"loc": {
"start": {
"line": 304,
"column": 23
},
"end": {
"line": 304,
"column": 28
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10792,
"end": 10793,
"loc": {
"start": {
"line": 304,
"column": 28
},
"end": {
"line": 304,
"column": 29
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10794,
"end": 10795,
"loc": {
"start": {
"line": 304,
"column": 30
},
"end": {
"line": 304,
"column": 31
}
}
},
{
"type": "CommentLine",
"value": " Empty",
"start": 10809,
"end": 10817,
"loc": {
"start": {
"line": 305,
"column": 12
},
"end": {
"line": 305,
"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": 10831,
"end": 10837,
"loc": {
"start": {
"line": 306,
"column": 12
},
"end": {
"line": 306,
"column": 18
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 10838,
"end": 10842,
"loc": {
"start": {
"line": 306,
"column": 19
},
"end": {
"line": 306,
"column": 23
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10842,
"end": 10843,
"loc": {
"start": {
"line": 306,
"column": 23
},
"end": {
"line": 306,
"column": 24
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10853,
"end": 10854,
"loc": {
"start": {
"line": 307,
"column": 8
},
"end": {
"line": 307,
"column": 9
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 10866,
"end": 10868,
"loc": {
"start": {
"line": 309,
"column": 8
},
"end": {
"line": 309,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10869,
"end": 10870,
"loc": {
"start": {
"line": 309,
"column": 11
},
"end": {
"line": 309,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "shape",
"start": 10870,
"end": 10875,
"loc": {
"start": {
"line": 309,
"column": 12
},
"end": {
"line": 309,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10875,
"end": 10876,
"loc": {
"start": {
"line": 309,
"column": 17
},
"end": {
"line": 309,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getItemType",
"start": 10876,
"end": 10887,
"loc": {
"start": {
"line": 309,
"column": 18
},
"end": {
"line": 309,
"column": 29
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10887,
"end": 10888,
"loc": {
"start": {
"line": 309,
"column": 29
},
"end": {
"line": 309,
"column": 30
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10888,
"end": 10889,
"loc": {
"start": {
"line": 309,
"column": 30
},
"end": {
"line": 309,
"column": 31
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 10890,
"end": 10893,
"loc": {
"start": {
"line": 309,
"column": 32
},
"end": {
"line": 309,
"column": 35
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "shape",
"start": 10894,
"end": 10901,
"loc": {
"start": {
"line": 309,
"column": 36
},
"end": {
"line": 309,
"column": 43
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 10902,
"end": 10904,
"loc": {
"start": {
"line": 309,
"column": 44
},
"end": {
"line": 309,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "color",
"start": 10905,
"end": 10910,
"loc": {
"start": {
"line": 309,
"column": 47
},
"end": {
"line": 309,
"column": 52
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10910,
"end": 10911,
"loc": {
"start": {
"line": 309,
"column": 52
},
"end": {
"line": 309,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getItemType",
"start": 10911,
"end": 10922,
"loc": {
"start": {
"line": 309,
"column": 53
},
"end": {
"line": 309,
"column": 64
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10922,
"end": 10923,
"loc": {
"start": {
"line": 309,
"column": 64
},
"end": {
"line": 309,
"column": 65
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10923,
"end": 10924,
"loc": {
"start": {
"line": 309,
"column": 65
},
"end": {
"line": 309,
"column": 66
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 10925,
"end": 10928,
"loc": {
"start": {
"line": 309,
"column": 67
},
"end": {
"line": 309,
"column": 70
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "color",
"start": 10929,
"end": 10936,
"loc": {
"start": {
"line": 309,
"column": 71
},
"end": {
"line": 309,
"column": 78
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10936,
"end": 10937,
"loc": {
"start": {
"line": 309,
"column": 78
},
"end": {
"line": 309,
"column": 79
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10938,
"end": 10939,
"loc": {
"start": {
"line": 309,
"column": 80
},
"end": {
"line": 309,
"column": 81
}
}
},
{
"type": "CommentLine",
"value": " Bad type",
"start": 10953,
"end": 10964,
"loc": {
"start": {
"line": 310,
"column": 12
},
"end": {
"line": 310,
"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": 10978,
"end": 10984,
"loc": {
"start": {
"line": 311,
"column": 12
},
"end": {
"line": 311,
"column": 18
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 10985,
"end": 10989,
"loc": {
"start": {
"line": 311,
"column": 19
},
"end": {
"line": 311,
"column": 23
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10989,
"end": 10990,
"loc": {
"start": {
"line": 311,
"column": 23
},
"end": {
"line": 311,
"column": 24
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11000,
"end": 11001,
"loc": {
"start": {
"line": 312,
"column": 8
},
"end": {
"line": 312,
"column": 9
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 11013,
"end": 11018,
"loc": {
"start": {
"line": 314,
"column": 8
},
"end": {
"line": 314,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "coloredShape",
"start": 11019,
"end": 11031,
"loc": {
"start": {
"line": 314,
"column": 14
},
"end": {
"line": 314,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 11032,
"end": 11033,
"loc": {
"start": {
"line": 314,
"column": 27
},
"end": {
"line": 314,
"column": 28
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 11034,
"end": 11038,
"loc": {
"start": {
"line": 314,
"column": 29
},
"end": {
"line": 314,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11038,
"end": 11039,
"loc": {
"start": {
"line": 314,
"column": 33
},
"end": {
"line": 314,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 11039,
"end": 11043,
"loc": {
"start": {
"line": 314,
"column": 34
},
"end": {
"line": 314,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11043,
"end": 11044,
"loc": {
"start": {
"line": 314,
"column": 38
},
"end": {
"line": 314,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "shapeDefinitionMgr",
"start": 11044,
"end": 11062,
"loc": {
"start": {
"line": 314,
"column": 39
},
"end": {
"line": 314,
"column": 57
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11062,
"end": 11063,
"loc": {
"start": {
"line": 314,
"column": 57
},
"end": {
"line": 314,
"column": 58
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "shapeActionPaintWith",
"start": 11063,
"end": 11083,
"loc": {
"start": {
"line": 314,
"column": 58
},
"end": {
"line": 314,
"column": 78
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11083,
"end": 11084,
"loc": {
"start": {
"line": 314,
"column": 78
},
"end": {
"line": 314,
"column": 79
}
}
},
{
"type": "CommentBlock",
"value": "* @type {ShapeItem} ",
"start": 11098,
"end": 11122,
"loc": {
"start": {
"line": 315,
"column": 12
},
"end": {
"line": 315,
"column": 36
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11136,
"end": 11137,
"loc": {
"start": {
"line": 316,
"column": 12
},
"end": {
"line": 316,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "shape",
"start": 11137,
"end": 11142,
"loc": {
"start": {
"line": 316,
"column": 13
},
"end": {
"line": 316,
"column": 18
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11142,
"end": 11143,
"loc": {
"start": {
"line": 316,
"column": 18
},
"end": {
"line": 316,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11143,
"end": 11144,
"loc": {
"start": {
"line": 316,
"column": 19
},
"end": {
"line": 316,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "definition",
"start": 11144,
"end": 11154,
"loc": {
"start": {
"line": 316,
"column": 20
},
"end": {
"line": 316,
"column": 30
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11154,
"end": 11155,
"loc": {
"start": {
"line": 316,
"column": 30
},
"end": {
"line": 316,
"column": 31
}
}
},
{
"type": "CommentBlock",
"value": "* @type {ColorItem} ",
"start": 11169,
"end": 11193,
"loc": {
"start": {
"line": 317,
"column": 12
},
"end": {
"line": 317,
"column": 36
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11207,
"end": 11208,
"loc": {
"start": {
"line": 318,
"column": 12
},
"end": {
"line": 318,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "color",
"start": 11208,
"end": 11213,
"loc": {
"start": {
"line": 318,
"column": 13
},
"end": {
"line": 318,
"column": 18
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11213,
"end": 11214,
"loc": {
"start": {
"line": 318,
"column": 18
},
"end": {
"line": 318,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11214,
"end": 11215,
"loc": {
"start": {
"line": 318,
"column": 19
},
"end": {
"line": 318,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "color",
"start": 11215,
"end": 11220,
"loc": {
"start": {
"line": 318,
"column": 20
},
"end": {
"line": 318,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11230,
"end": 11231,
"loc": {
"start": {
"line": 319,
"column": 8
},
"end": {
"line": 319,
"column": 9
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11231,
"end": 11232,
"loc": {
"start": {
"line": 319,
"column": 9
},
"end": {
"line": 319,
"column": 10
}
}
},
{
"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": 11244,
"end": 11250,
"loc": {
"start": {
"line": 321,
"column": 8
},
"end": {
"line": 321,
"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": 11251,
"end": 11255,
"loc": {
"start": {
"line": 321,
"column": 15
},
"end": {
"line": 321,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11255,
"end": 11256,
"loc": {
"start": {
"line": 321,
"column": 19
},
"end": {
"line": 321,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 11256,
"end": 11260,
"loc": {
"start": {
"line": 321,
"column": 20
},
"end": {
"line": 321,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11260,
"end": 11261,
"loc": {
"start": {
"line": 321,
"column": 24
},
"end": {
"line": 321,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "shapeDefinitionMgr",
"start": 11261,
"end": 11279,
"loc": {
"start": {
"line": 321,
"column": 25
},
"end": {
"line": 321,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11279,
"end": 11280,
"loc": {
"start": {
"line": 321,
"column": 43
},
"end": {
"line": 321,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getShapeItemFromDefinition",
"start": 11280,
"end": 11306,
"loc": {
"start": {
"line": 321,
"column": 44
},
"end": {
"line": 321,
"column": 70
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11306,
"end": 11307,
"loc": {
"start": {
"line": 321,
"column": 70
},
"end": {
"line": 321,
"column": 71
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "coloredShape",
"start": 11307,
"end": 11319,
"loc": {
"start": {
"line": 321,
"column": 71
},
"end": {
"line": 321,
"column": 83
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11319,
"end": 11320,
"loc": {
"start": {
"line": 321,
"column": 83
},
"end": {
"line": 321,
"column": 84
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11320,
"end": 11321,
"loc": {
"start": {
"line": 321,
"column": 84
},
"end": {
"line": 321,
"column": 85
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11327,
"end": 11328,
"loc": {
"start": {
"line": 322,
"column": 4
},
"end": {
"line": 322,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {Array<BaseItem|null>} parameters\r\n * @returns {BaseItem}\r\n ",
"start": 11336,
"end": 11425,
"loc": {
"start": {
"line": 324,
"column": 4
},
"end": {
"line": 327,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "compute_COMPARE",
"start": 11431,
"end": 11446,
"loc": {
"start": {
"line": 328,
"column": 4
},
"end": {
"line": 328,
"column": 19
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11446,
"end": 11447,
"loc": {
"start": {
"line": 328,
"column": 19
},
"end": {
"line": 328,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 11447,
"end": 11457,
"loc": {
"start": {
"line": 328,
"column": 20
},
"end": {
"line": 328,
"column": 30
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11457,
"end": 11458,
"loc": {
"start": {
"line": 328,
"column": 30
},
"end": {
"line": 328,
"column": 31
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11459,
"end": 11460,
"loc": {
"start": {
"line": 328,
"column": 32
},
"end": {
"line": 328,
"column": 33
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 11470,
"end": 11475,
"loc": {
"start": {
"line": 329,
"column": 8
},
"end": {
"line": 329,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "itemA",
"start": 11476,
"end": 11481,
"loc": {
"start": {
"line": 329,
"column": 14
},
"end": {
"line": 329,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 11482,
"end": 11483,
"loc": {
"start": {
"line": 329,
"column": 20
},
"end": {
"line": 329,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 11484,
"end": 11494,
"loc": {
"start": {
"line": 329,
"column": 22
},
"end": {
"line": 329,
"column": 32
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11494,
"end": 11495,
"loc": {
"start": {
"line": 329,
"column": 32
},
"end": {
"line": 329,
"column": 33
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 11495,
"end": 11496,
"loc": {
"start": {
"line": 329,
"column": 33
},
"end": {
"line": 329,
"column": 34
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11496,
"end": 11497,
"loc": {
"start": {
"line": 329,
"column": 34
},
"end": {
"line": 329,
"column": 35
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11497,
"end": 11498,
"loc": {
"start": {
"line": 329,
"column": 35
},
"end": {
"line": 329,
"column": 36
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 11508,
"end": 11513,
"loc": {
"start": {
"line": 330,
"column": 8
},
"end": {
"line": 330,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "itemB",
"start": 11514,
"end": 11519,
"loc": {
"start": {
"line": 330,
"column": 14
},
"end": {
"line": 330,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 11520,
"end": 11521,
"loc": {
"start": {
"line": 330,
"column": 20
},
"end": {
"line": 330,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parameters",
"start": 11522,
"end": 11532,
"loc": {
"start": {
"line": 330,
"column": 22
},
"end": {
"line": 330,
"column": 32
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11532,
"end": 11533,
"loc": {
"start": {
"line": 330,
"column": 32
},
"end": {
"line": 330,
"column": 33
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 11533,
"end": 11534,
"loc": {
"start": {
"line": 330,
"column": 33
},
"end": {
"line": 330,
"column": 34
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11534,
"end": 11535,
"loc": {
"start": {
"line": 330,
"column": 34
},
"end": {
"line": 330,
"column": 35
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11535,
"end": 11536,
"loc": {
"start": {
"line": 330,
"column": 35
},
"end": {
"line": 330,
"column": 36
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 11548,
"end": 11550,
"loc": {
"start": {
"line": 332,
"column": 8
},
"end": {
"line": 332,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11551,
"end": 11552,
"loc": {
"start": {
"line": 332,
"column": 11
},
"end": {
"line": 332,
"column": 12
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 11552,
"end": 11553,
"loc": {
"start": {
"line": 332,
"column": 12
},
"end": {
"line": 332,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "itemA",
"start": 11553,
"end": 11558,
"loc": {
"start": {
"line": 332,
"column": 13
},
"end": {
"line": 332,
"column": 18
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 11559,
"end": 11561,
"loc": {
"start": {
"line": 332,
"column": 19
},
"end": {
"line": 332,
"column": 21
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 11562,
"end": 11563,
"loc": {
"start": {
"line": 332,
"column": 22
},
"end": {
"line": 332,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "itemB",
"start": 11563,
"end": 11568,
"loc": {
"start": {
"line": 332,
"column": 23
},
"end": {
"line": 332,
"column": 28
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11568,
"end": 11569,
"loc": {
"start": {
"line": 332,
"column": 28
},
"end": {
"line": 332,
"column": 29
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11570,
"end": 11571,
"loc": {
"start": {
"line": 332,
"column": 30
},
"end": {
"line": 332,
"column": 31
}
}
},
{
"type": "CommentLine",
"value": " Empty",
"start": 11585,
"end": 11593,
"loc": {
"start": {
"line": 333,
"column": 12
},
"end": {
"line": 333,
"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": 11607,
"end": 11613,
"loc": {
"start": {
"line": 334,
"column": 12
},
"end": {
"line": 334,
"column": 18
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 11614,
"end": 11618,
"loc": {
"start": {
"line": 334,
"column": 19
},
"end": {
"line": 334,
"column": 23
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11618,
"end": 11619,
"loc": {
"start": {
"line": 334,
"column": 23
},
"end": {
"line": 334,
"column": 24
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11629,
"end": 11630,
"loc": {
"start": {
"line": 335,
"column": 8
},
"end": {
"line": 335,
"column": 9
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 11642,
"end": 11644,
"loc": {
"start": {
"line": 337,
"column": 8
},
"end": {
"line": 337,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11645,
"end": 11646,
"loc": {
"start": {
"line": 337,
"column": 11
},
"end": {
"line": 337,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "itemA",
"start": 11646,
"end": 11651,
"loc": {
"start": {
"line": 337,
"column": 12
},
"end": {
"line": 337,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11651,
"end": 11652,
"loc": {
"start": {
"line": 337,
"column": 17
},
"end": {
"line": 337,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getItemType",
"start": 11652,
"end": 11663,
"loc": {
"start": {
"line": 337,
"column": 18
},
"end": {
"line": 337,
"column": 29
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11663,
"end": 11664,
"loc": {
"start": {
"line": 337,
"column": 29
},
"end": {
"line": 337,
"column": 30
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11664,
"end": 11665,
"loc": {
"start": {
"line": 337,
"column": 30
},
"end": {
"line": 337,
"column": 31
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 11666,
"end": 11669,
"loc": {
"start": {
"line": 337,
"column": 32
},
"end": {
"line": 337,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "itemB",
"start": 11670,
"end": 11675,
"loc": {
"start": {
"line": 337,
"column": 36
},
"end": {
"line": 337,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11675,
"end": 11676,
"loc": {
"start": {
"line": 337,
"column": 41
},
"end": {
"line": 337,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getItemType",
"start": 11676,
"end": 11687,
"loc": {
"start": {
"line": 337,
"column": 42
},
"end": {
"line": 337,
"column": 53
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11687,
"end": 11688,
"loc": {
"start": {
"line": 337,
"column": 53
},
"end": {
"line": 337,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11688,
"end": 11689,
"loc": {
"start": {
"line": 337,
"column": 54
},
"end": {
"line": 337,
"column": 55
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11689,
"end": 11690,
"loc": {
"start": {
"line": 337,
"column": 55
},
"end": {
"line": 337,
"column": 56
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11691,
"end": 11692,
"loc": {
"start": {
"line": 337,
"column": 57
},
"end": {
"line": 337,
"column": 58
}
}
},
{
"type": "CommentLine",
"value": " Not the same type",
"start": 11706,
"end": 11726,
"loc": {
"start": {
"line": 338,
"column": 12
},
"end": {
"line": 338,
"column": 32
}
}
},
{
"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": 11740,
"end": 11746,
"loc": {
"start": {
"line": 339,
"column": 12
},
"end": {
"line": 339,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "BOOL_FALSE_SINGLETON",
"start": 11747,
"end": 11767,
"loc": {
"start": {
"line": 339,
"column": 19
},
"end": {
"line": 339,
"column": 39
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11767,
"end": 11768,
"loc": {
"start": {
"line": 339,
"column": 39
},
"end": {
"line": 339,
"column": 40
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11778,
"end": 11779,
"loc": {
"start": {
"line": 340,
"column": 8
},
"end": {
"line": 340,
"column": 9
}
}
},
{
"type": {
"label": "switch",
"keyword": "switch",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "switch",
"start": 11791,
"end": 11797,
"loc": {
"start": {
"line": 342,
"column": 8
},
"end": {
"line": 342,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11798,
"end": 11799,
"loc": {
"start": {
"line": 342,
"column": 15
},
"end": {
"line": 342,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "itemA",
"start": 11799,
"end": 11804,
"loc": {
"start": {
"line": 342,
"column": 16
},
"end": {
"line": 342,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11804,
"end": 11805,
"loc": {
"start": {
"line": 342,
"column": 21
},
"end": {
"line": 342,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getItemType",
"start": 11805,
"end": 11816,
"loc": {
"start": {
"line": 342,
"column": 22
},
"end": {
"line": 342,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11816,
"end": 11817,
"loc": {
"start": {
"line": 342,
"column": 33
},
"end": {
"line": 342,
"column": 34
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11817,
"end": 11818,
"loc": {
"start": {
"line": 342,
"column": 34
},
"end": {
"line": 342,
"column": 35
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11818,
"end": 11819,
"loc": {
"start": {
"line": 342,
"column": 35
},
"end": {
"line": 342,
"column": 36
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11820,
"end": 11821,
"loc": {
"start": {
"line": 342,
"column": 37
},
"end": {
"line": 342,
"column": 38
}
}
},
{
"type": {
"label": "case",
"keyword": "case",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "case",
"start": 11835,
"end": 11839,
"loc": {
"start": {
"line": 343,
"column": 12
},
"end": {
"line": 343,
"column": 16
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "shape",
"start": 11840,
"end": 11847,
"loc": {
"start": {
"line": 343,
"column": 17
},
"end": {
"line": 343,
"column": 24
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11847,
"end": 11848,
"loc": {
"start": {
"line": 343,
"column": 24
},
"end": {
"line": 343,
"column": 25
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11866,
"end": 11867,
"loc": {
"start": {
"line": 344,
"column": 16
},
"end": {
"line": 344,
"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": 11889,
"end": 11895,
"loc": {
"start": {
"line": 345,
"column": 20
},
"end": {
"line": 345,
"column": 26
}
}
},
{
"type": "CommentBlock",
"value": "* @type {ShapeItem} ",
"start": 11896,
"end": 11920,
"loc": {
"start": {
"line": 345,
"column": 27
},
"end": {
"line": 345,
"column": 51
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11921,
"end": 11922,
"loc": {
"start": {
"line": 345,
"column": 52
},
"end": {
"line": 345,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "itemA",
"start": 11922,
"end": 11927,
"loc": {
"start": {
"line": 345,
"column": 53
},
"end": {
"line": 345,
"column": 58
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11927,
"end": 11928,
"loc": {
"start": {
"line": 345,
"column": 58
},
"end": {
"line": 345,
"column": 59
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11928,
"end": 11929,
"loc": {
"start": {
"line": 345,
"column": 59
},
"end": {
"line": 345,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "definition",
"start": 11929,
"end": 11939,
"loc": {
"start": {
"line": 345,
"column": 60
},
"end": {
"line": 345,
"column": 70
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11939,
"end": 11940,
"loc": {
"start": {
"line": 345,
"column": 70
},
"end": {
"line": 345,
"column": 71
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getHash",
"start": 11940,
"end": 11947,
"loc": {
"start": {
"line": 345,
"column": 71
},
"end": {
"line": 345,
"column": 78
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11947,
"end": 11948,
"loc": {
"start": {
"line": 345,
"column": 78
},
"end": {
"line": 345,
"column": 79
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11948,
"end": 11949,
"loc": {
"start": {
"line": 345,
"column": 79
},
"end": {
"line": 345,
"column": 80
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 11950,
"end": 11953,
"loc": {
"start": {
"line": 345,
"column": 81
},
"end": {
"line": 345,
"column": 84
}
}
},
{
"type": "CommentBlock",
"value": "* @type {ShapeItem} ",
"start": 11979,
"end": 12003,
"loc": {
"start": {
"line": 346,
"column": 24
},
"end": {
"line": 346,
"column": 48
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12029,
"end": 12030,
"loc": {
"start": {
"line": 347,
"column": 24
},
"end": {
"line": 347,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "itemB",
"start": 12030,
"end": 12035,
"loc": {
"start": {
"line": 347,
"column": 25
},
"end": {
"line": 347,
"column": 30
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12035,
"end": 12036,
"loc": {
"start": {
"line": 347,
"column": 30
},
"end": {
"line": 347,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12036,
"end": 12037,
"loc": {
"start": {
"line": 347,
"column": 31
},
"end": {
"line": 347,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "definition",
"start": 12037,
"end": 12047,
"loc": {
"start": {
"line": 347,
"column": 32
},
"end": {
"line": 347,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12047,
"end": 12048,
"loc": {
"start": {
"line": 347,
"column": 42
},
"end": {
"line": 347,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getHash",
"start": 12048,
"end": 12055,
"loc": {
"start": {
"line": 347,
"column": 43
},
"end": {
"line": 347,
"column": 50
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12055,
"end": 12056,
"loc": {
"start": {
"line": 347,
"column": 50
},
"end": {
"line": 347,
"column": 51
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12056,
"end": 12057,
"loc": {
"start": {
"line": 347,
"column": 51
},
"end": {
"line": 347,
"column": 52
}
}
},
{
"type": {
"label": "?",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12058,
"end": 12059,
"loc": {
"start": {
"line": 347,
"column": 53
},
"end": {
"line": 347,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "BOOL_TRUE_SINGLETON",
"start": 12085,
"end": 12104,
"loc": {
"start": {
"line": 348,
"column": 24
},
"end": {
"line": 348,
"column": 43
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12105,
"end": 12106,
"loc": {
"start": {
"line": 348,
"column": 44
},
"end": {
"line": 348,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "BOOL_FALSE_SINGLETON",
"start": 12132,
"end": 12152,
"loc": {
"start": {
"line": 349,
"column": 24
},
"end": {
"line": 349,
"column": 44
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12152,
"end": 12153,
"loc": {
"start": {
"line": 349,
"column": 44
},
"end": {
"line": 349,
"column": 45
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12171,
"end": 12172,
"loc": {
"start": {
"line": 350,
"column": 16
},
"end": {
"line": 350,
"column": 17
}
}
},
{
"type": {
"label": "case",
"keyword": "case",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "case",
"start": 12186,
"end": 12190,
"loc": {
"start": {
"line": 351,
"column": 12
},
"end": {
"line": 351,
"column": 16
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "color",
"start": 12191,
"end": 12198,
"loc": {
"start": {
"line": 351,
"column": 17
},
"end": {
"line": 351,
"column": 24
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12198,
"end": 12199,
"loc": {
"start": {
"line": 351,
"column": 24
},
"end": {
"line": 351,
"column": 25
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12217,
"end": 12218,
"loc": {
"start": {
"line": 352,
"column": 16
},
"end": {
"line": 352,
"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": 12240,
"end": 12246,
"loc": {
"start": {
"line": 353,
"column": 20
},
"end": {
"line": 353,
"column": 26
}
}
},
{
"type": "CommentBlock",
"value": "* @type {ColorItem} ",
"start": 12247,
"end": 12271,
"loc": {
"start": {
"line": 353,
"column": 27
},
"end": {
"line": 353,
"column": 51
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12272,
"end": 12273,
"loc": {
"start": {
"line": 353,
"column": 52
},
"end": {
"line": 353,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "itemA",
"start": 12273,
"end": 12278,
"loc": {
"start": {
"line": 353,
"column": 53
},
"end": {
"line": 353,
"column": 58
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12278,
"end": 12279,
"loc": {
"start": {
"line": 353,
"column": 58
},
"end": {
"line": 353,
"column": 59
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12279,
"end": 12280,
"loc": {
"start": {
"line": 353,
"column": 59
},
"end": {
"line": 353,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "color",
"start": 12280,
"end": 12285,
"loc": {
"start": {
"line": 353,
"column": 60
},
"end": {
"line": 353,
"column": 65
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 12286,
"end": 12289,
"loc": {
"start": {
"line": 353,
"column": 66
},
"end": {
"line": 353,
"column": 69
}
}
},
{
"type": "CommentBlock",
"value": "* @type {ColorItem} ",
"start": 12290,
"end": 12314,
"loc": {
"start": {
"line": 353,
"column": 70
},
"end": {
"line": 353,
"column": 94
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12315,
"end": 12316,
"loc": {
"start": {
"line": 353,
"column": 95
},
"end": {
"line": 353,
"column": 96
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "itemB",
"start": 12316,
"end": 12321,
"loc": {
"start": {
"line": 353,
"column": 96
},
"end": {
"line": 353,
"column": 101
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12321,
"end": 12322,
"loc": {
"start": {
"line": 353,
"column": 101
},
"end": {
"line": 353,
"column": 102
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12322,
"end": 12323,
"loc": {
"start": {
"line": 353,
"column": 102
},
"end": {
"line": 353,
"column": 103
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "color",
"start": 12323,
"end": 12328,
"loc": {
"start": {
"line": 353,
"column": 103
},
"end": {
"line": 353,
"column": 108
}
}
},
{
"type": {
"label": "?",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12329,
"end": 12330,
"loc": {
"start": {
"line": 353,
"column": 109
},
"end": {
"line": 353,
"column": 110
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "BOOL_TRUE_SINGLETON",
"start": 12356,
"end": 12375,
"loc": {
"start": {
"line": 354,
"column": 24
},
"end": {
"line": 354,
"column": 43
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12376,
"end": 12377,
"loc": {
"start": {
"line": 354,
"column": 44
},
"end": {
"line": 354,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "BOOL_FALSE_SINGLETON",
"start": 12403,
"end": 12423,
"loc": {
"start": {
"line": 355,
"column": 24
},
"end": {
"line": 355,
"column": 44
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12423,
"end": 12424,
"loc": {
"start": {
"line": 355,
"column": 44
},
"end": {
"line": 355,
"column": 45
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12442,
"end": 12443,
"loc": {
"start": {
"line": 356,
"column": 16
},
"end": {
"line": 356,
"column": 17
}
}
},
{
"type": {
"label": "case",
"keyword": "case",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "case",
"start": 12459,
"end": 12463,
"loc": {
"start": {
"line": 358,
"column": 12
},
"end": {
"line": 358,
"column": 16
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "boolean",
"start": 12464,
"end": 12473,
"loc": {
"start": {
"line": 358,
"column": 17
},
"end": {
"line": 358,
"column": 26
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12473,
"end": 12474,
"loc": {
"start": {
"line": 358,
"column": 26
},
"end": {
"line": 358,
"column": 27
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12492,
"end": 12493,
"loc": {
"start": {
"line": 359,
"column": 16
},
"end": {
"line": 359,
"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": 12515,
"end": 12521,
"loc": {
"start": {
"line": 360,
"column": 20
},
"end": {
"line": 360,
"column": 26
}
}
},
{
"type": "CommentBlock",
"value": "* @type {BooleanItem} ",
"start": 12522,
"end": 12548,
"loc": {
"start": {
"line": 360,
"column": 27
},
"end": {
"line": 360,
"column": 53
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12549,
"end": 12550,
"loc": {
"start": {
"line": 360,
"column": 54
},
"end": {
"line": 360,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "itemA",
"start": 12550,
"end": 12555,
"loc": {
"start": {
"line": 360,
"column": 55
},
"end": {
"line": 360,
"column": 60
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12555,
"end": 12556,
"loc": {
"start": {
"line": 360,
"column": 60
},
"end": {
"line": 360,
"column": 61
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12556,
"end": 12557,
"loc": {
"start": {
"line": 360,
"column": 61
},
"end": {
"line": 360,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "value",
"start": 12557,
"end": 12562,
"loc": {
"start": {
"line": 360,
"column": 62
},
"end": {
"line": 360,
"column": 67
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 12563,
"end": 12566,
"loc": {
"start": {
"line": 360,
"column": 68
},
"end": {
"line": 360,
"column": 71
}
}
},
{
"type": "CommentBlock",
"value": "* @type {BooleanItem} ",
"start": 12567,
"end": 12593,
"loc": {
"start": {
"line": 360,
"column": 72
},
"end": {
"line": 360,
"column": 98
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12594,
"end": 12595,
"loc": {
"start": {
"line": 360,
"column": 99
},
"end": {
"line": 360,
"column": 100
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "itemB",
"start": 12595,
"end": 12600,
"loc": {
"start": {
"line": 360,
"column": 100
},
"end": {
"line": 360,
"column": 105
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12600,
"end": 12601,
"loc": {
"start": {
"line": 360,
"column": 105
},
"end": {
"line": 360,
"column": 106
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12601,
"end": 12602,
"loc": {
"start": {
"line": 360,
"column": 106
},
"end": {
"line": 360,
"column": 107
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "value",
"start": 12602,
"end": 12607,
"loc": {
"start": {
"line": 360,
"column": 107
},
"end": {
"line": 360,
"column": 112
}
}
},
{
"type": {
"label": "?",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12608,
"end": 12609,
"loc": {
"start": {
"line": 360,
"column": 113
},
"end": {
"line": 360,
"column": 114
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "BOOL_TRUE_SINGLETON",
"start": 12635,
"end": 12654,
"loc": {
"start": {
"line": 361,
"column": 24
},
"end": {
"line": 361,
"column": 43
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12655,
"end": 12656,
"loc": {
"start": {
"line": 361,
"column": 44
},
"end": {
"line": 361,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "BOOL_FALSE_SINGLETON",
"start": 12682,
"end": 12702,
"loc": {
"start": {
"line": 362,
"column": 24
},
"end": {
"line": 362,
"column": 44
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12702,
"end": 12703,
"loc": {
"start": {
"line": 362,
"column": 44
},
"end": {
"line": 362,
"column": 45
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12721,
"end": 12722,
"loc": {
"start": {
"line": 363,
"column": 16
},
"end": {
"line": 363,
"column": 17
}
}
},
{
"type": {
"label": "default",
"keyword": "default",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "default",
"start": 12738,
"end": 12745,
"loc": {
"start": {
"line": 365,
"column": 12
},
"end": {
"line": 365,
"column": 19
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12745,
"end": 12746,
"loc": {
"start": {
"line": 365,
"column": 19
},
"end": {
"line": 365,
"column": 20
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12764,
"end": 12765,
"loc": {
"start": {
"line": 366,
"column": 16
},
"end": {
"line": 366,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "assertAlways",
"start": 12787,
"end": 12799,
"loc": {
"start": {
"line": 367,
"column": 20
},
"end": {
"line": 367,
"column": 32
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12799,
"end": 12800,
"loc": {
"start": {
"line": 367,
"column": 32
},
"end": {
"line": 367,
"column": 33
}
}
},
{
"type": {
"label": "false",
"keyword": "false",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "false",
"start": 12800,
"end": 12805,
"loc": {
"start": {
"line": 367,
"column": 33
},
"end": {
"line": 367,
"column": 38
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12805,
"end": 12806,
"loc": {
"start": {
"line": 367,
"column": 38
},
"end": {
"line": 367,
"column": 39
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Bad item type: ",
"start": 12807,
"end": 12824,
"loc": {
"start": {
"line": 367,
"column": 40
},
"end": {
"line": 367,
"column": 57
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 12825,
"end": 12826,
"loc": {
"start": {
"line": 367,
"column": 58
},
"end": {
"line": 367,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "itemA",
"start": 12827,
"end": 12832,
"loc": {
"start": {
"line": 367,
"column": 60
},
"end": {
"line": 367,
"column": 65
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12832,
"end": 12833,
"loc": {
"start": {
"line": 367,
"column": 65
},
"end": {
"line": 367,
"column": 66
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getItemType",
"start": 12833,
"end": 12844,
"loc": {
"start": {
"line": 367,
"column": 66
},
"end": {
"line": 367,
"column": 77
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12844,
"end": 12845,
"loc": {
"start": {
"line": 367,
"column": 77
},
"end": {
"line": 367,
"column": 78
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12845,
"end": 12846,
"loc": {
"start": {
"line": 367,
"column": 78
},
"end": {
"line": 367,
"column": 79
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12846,
"end": 12847,
"loc": {
"start": {
"line": 367,
"column": 79
},
"end": {
"line": 367,
"column": 80
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12847,
"end": 12848,
"loc": {
"start": {
"line": 367,
"column": 80
},
"end": {
"line": 367,
"column": 81
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12866,
"end": 12867,
"loc": {
"start": {
"line": 368,
"column": 16
},
"end": {
"line": 368,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12877,
"end": 12878,
"loc": {
"start": {
"line": 369,
"column": 8
},
"end": {
"line": 369,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12884,
"end": 12885,
"loc": {
"start": {
"line": 370,
"column": 4
},
"end": {
"line": 370,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12887,
"end": 12888,
"loc": {
"start": {
"line": 371,
"column": 0
},
"end": {
"line": 371,
"column": 1
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12888,
"end": 12888,
"loc": {
"start": {
"line": 371,
"column": 1
},
"end": {
"line": 371,
"column": 1
}
}
}
]
}