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/components/logic_gate.js.json
2021-02-26 15:20:37 +01:00

4186 lines
98 KiB
JSON

{
"type": "File",
"start": 0,
"end": 714,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 35,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 714,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 35,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 41,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 41
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 9,
"end": 18,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 18
}
},
"imported": {
"type": "Identifier",
"start": 9,
"end": 18,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 18
},
"identifierName": "Component"
},
"name": "Component"
},
"local": {
"type": "Identifier",
"start": 9,
"end": 18,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 18
},
"identifierName": "Component"
},
"name": "Component"
}
}
],
"source": {
"type": "StringLiteral",
"start": 26,
"end": 40,
"loc": {
"start": {
"line": 1,
"column": 26
},
"end": {
"line": 1,
"column": 40
}
},
"extra": {
"rawValue": "../component",
"raw": "\"../component\""
},
"value": "../component"
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "* @enum {string} ",
"start": 45,
"end": 66,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 21
}
}
}
]
},
{
"type": "ExportNamedDeclaration",
"start": 68,
"end": 384,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 18,
"column": 2
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "VariableDeclaration",
"start": 75,
"end": 384,
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
"line": 18,
"column": 2
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 81,
"end": 383,
"loc": {
"start": {
"line": 4,
"column": 13
},
"end": {
"line": 18,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 81,
"end": 98,
"loc": {
"start": {
"line": 4,
"column": 13
},
"end": {
"line": 4,
"column": 30
},
"identifierName": "enumLogicGateType"
},
"name": "enumLogicGateType",
"leadingComments": null
},
"init": {
"type": "ObjectExpression",
"start": 101,
"end": 383,
"loc": {
"start": {
"line": 4,
"column": 33
},
"end": {
"line": 18,
"column": 1
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 108,
"end": 118,
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 5,
"column": 14
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 108,
"end": 111,
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 5,
"column": 7
},
"identifierName": "and"
},
"name": "and"
},
"value": {
"type": "StringLiteral",
"start": 113,
"end": 118,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 14
}
},
"extra": {
"rawValue": "and",
"raw": "\"and\""
},
"value": "and"
}
},
{
"type": "ObjectProperty",
"start": 125,
"end": 135,
"loc": {
"start": {
"line": 6,
"column": 4
},
"end": {
"line": 6,
"column": 14
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 125,
"end": 128,
"loc": {
"start": {
"line": 6,
"column": 4
},
"end": {
"line": 6,
"column": 7
},
"identifierName": "not"
},
"name": "not"
},
"value": {
"type": "StringLiteral",
"start": 130,
"end": 135,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 14
}
},
"extra": {
"rawValue": "not",
"raw": "\"not\""
},
"value": "not"
}
},
{
"type": "ObjectProperty",
"start": 142,
"end": 152,
"loc": {
"start": {
"line": 7,
"column": 4
},
"end": {
"line": 7,
"column": 14
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 142,
"end": 145,
"loc": {
"start": {
"line": 7,
"column": 4
},
"end": {
"line": 7,
"column": 7
},
"identifierName": "xor"
},
"name": "xor"
},
"value": {
"type": "StringLiteral",
"start": 147,
"end": 152,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 14
}
},
"extra": {
"rawValue": "xor",
"raw": "\"xor\""
},
"value": "xor"
}
},
{
"type": "ObjectProperty",
"start": 159,
"end": 167,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 12
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 159,
"end": 161,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 6
},
"identifierName": "or"
},
"name": "or"
},
"value": {
"type": "StringLiteral",
"start": 163,
"end": 167,
"loc": {
"start": {
"line": 8,
"column": 8
},
"end": {
"line": 8,
"column": 12
}
},
"extra": {
"rawValue": "or",
"raw": "\"or\""
},
"value": "or"
}
},
{
"type": "ObjectProperty",
"start": 174,
"end": 198,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 9,
"column": 28
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 174,
"end": 184,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 9,
"column": 14
},
"identifierName": "transistor"
},
"name": "transistor"
},
"value": {
"type": "StringLiteral",
"start": 186,
"end": 198,
"loc": {
"start": {
"line": 9,
"column": 16
},
"end": {
"line": 9,
"column": 28
}
},
"extra": {
"rawValue": "transistor",
"raw": "\"transistor\""
},
"value": "transistor"
}
},
{
"type": "ObjectProperty",
"start": 207,
"end": 227,
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 11,
"column": 24
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 207,
"end": 215,
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 11,
"column": 12
},
"identifierName": "analyzer"
},
"name": "analyzer"
},
"value": {
"type": "StringLiteral",
"start": 217,
"end": 227,
"loc": {
"start": {
"line": 11,
"column": 14
},
"end": {
"line": 11,
"column": 24
}
},
"extra": {
"rawValue": "analyzer",
"raw": "\"analyzer\""
},
"value": "analyzer"
}
},
{
"type": "ObjectProperty",
"start": 234,
"end": 252,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 12,
"column": 22
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 234,
"end": 241,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 12,
"column": 11
},
"identifierName": "rotater"
},
"name": "rotater"
},
"value": {
"type": "StringLiteral",
"start": 243,
"end": 252,
"loc": {
"start": {
"line": 12,
"column": 13
},
"end": {
"line": 12,
"column": 22
}
},
"extra": {
"rawValue": "rotater",
"raw": "\"rotater\""
},
"value": "rotater"
}
},
{
"type": "ObjectProperty",
"start": 259,
"end": 281,
"loc": {
"start": {
"line": 13,
"column": 4
},
"end": {
"line": 13,
"column": 26
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 259,
"end": 268,
"loc": {
"start": {
"line": 13,
"column": 4
},
"end": {
"line": 13,
"column": 13
},
"identifierName": "unstacker"
},
"name": "unstacker"
},
"value": {
"type": "StringLiteral",
"start": 270,
"end": 281,
"loc": {
"start": {
"line": 13,
"column": 15
},
"end": {
"line": 13,
"column": 26
}
},
"extra": {
"rawValue": "unstacker",
"raw": "\"unstacker\""
},
"value": "unstacker"
}
},
{
"type": "ObjectProperty",
"start": 288,
"end": 304,
"loc": {
"start": {
"line": 14,
"column": 4
},
"end": {
"line": 14,
"column": 20
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 288,
"end": 294,
"loc": {
"start": {
"line": 14,
"column": 4
},
"end": {
"line": 14,
"column": 10
},
"identifierName": "cutter"
},
"name": "cutter"
},
"value": {
"type": "StringLiteral",
"start": 296,
"end": 304,
"loc": {
"start": {
"line": 14,
"column": 12
},
"end": {
"line": 14,
"column": 20
}
},
"extra": {
"rawValue": "cutter",
"raw": "\"cutter\""
},
"value": "cutter"
}
},
{
"type": "ObjectProperty",
"start": 311,
"end": 329,
"loc": {
"start": {
"line": 15,
"column": 4
},
"end": {
"line": 15,
"column": 22
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 311,
"end": 318,
"loc": {
"start": {
"line": 15,
"column": 4
},
"end": {
"line": 15,
"column": 11
},
"identifierName": "compare"
},
"name": "compare"
},
"value": {
"type": "StringLiteral",
"start": 320,
"end": 329,
"loc": {
"start": {
"line": 15,
"column": 13
},
"end": {
"line": 15,
"column": 22
}
},
"extra": {
"rawValue": "compare",
"raw": "\"compare\""
},
"value": "compare"
}
},
{
"type": "ObjectProperty",
"start": 336,
"end": 354,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 16,
"column": 22
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 336,
"end": 343,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 16,
"column": 11
},
"identifierName": "stacker"
},
"name": "stacker"
},
"value": {
"type": "StringLiteral",
"start": 345,
"end": 354,
"loc": {
"start": {
"line": 16,
"column": 13
},
"end": {
"line": 16,
"column": 22
}
},
"extra": {
"rawValue": "stacker",
"raw": "\"stacker\""
},
"value": "stacker"
}
},
{
"type": "ObjectProperty",
"start": 361,
"end": 379,
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 17,
"column": 22
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 361,
"end": 368,
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 17,
"column": 11
},
"identifierName": "painter"
},
"name": "painter"
},
"value": {
"type": "StringLiteral",
"start": 370,
"end": 379,
"loc": {
"start": {
"line": 17,
"column": 13
},
"end": {
"line": 17,
"column": 22
}
},
"extra": {
"rawValue": "painter",
"raw": "\"painter\""
},
"value": "painter"
}
}
]
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @enum {string} ",
"start": 45,
"end": 66,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 21
}
}
}
],
"trailingComments": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @enum {string} ",
"start": 45,
"end": 66,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 21
}
}
}
]
},
{
"type": "ExportNamedDeclaration",
"start": 388,
"end": 712,
"loc": {
"start": {
"line": 20,
"column": 0
},
"end": {
"line": 34,
"column": 1
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "ClassDeclaration",
"start": 395,
"end": 712,
"loc": {
"start": {
"line": 20,
"column": 7
},
"end": {
"line": 34,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 401,
"end": 419,
"loc": {
"start": {
"line": 20,
"column": 13
},
"end": {
"line": 20,
"column": 31
},
"identifierName": "LogicGateComponent"
},
"name": "LogicGateComponent"
},
"superClass": {
"type": "Identifier",
"start": 428,
"end": 437,
"loc": {
"start": {
"line": 20,
"column": 40
},
"end": {
"line": 20,
"column": 49
},
"identifierName": "Component"
},
"name": "Component"
},
"body": {
"type": "ClassBody",
"start": 438,
"end": 712,
"loc": {
"start": {
"line": 20,
"column": 50
},
"end": {
"line": 34,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 445,
"end": 497,
"loc": {
"start": {
"line": 21,
"column": 4
},
"end": {
"line": 23,
"column": 5
}
},
"static": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 452,
"end": 457,
"loc": {
"start": {
"line": 21,
"column": 11
},
"end": {
"line": 21,
"column": 16
},
"identifierName": "getId"
},
"name": "getId"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 460,
"end": 497,
"loc": {
"start": {
"line": 21,
"column": 19
},
"end": {
"line": 23,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 471,
"end": 490,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 22,
"column": 27
}
},
"argument": {
"type": "StringLiteral",
"start": 478,
"end": 489,
"loc": {
"start": {
"line": 22,
"column": 15
},
"end": {
"line": 22,
"column": 26
}
},
"extra": {
"rawValue": "LogicGate",
"raw": "\"LogicGate\""
},
"value": "LogicGate"
}
}
],
"directives": [],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {object} param0\r\n * @param {enumLogicGateType=} param0.type\r\n ",
"start": 505,
"end": 604,
"loc": {
"start": {
"line": 25,
"column": 4
},
"end": {
"line": 29,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 610,
"end": 709,
"loc": {
"start": {
"line": 30,
"column": 4
},
"end": {
"line": 33,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 610,
"end": 621,
"loc": {
"start": {
"line": 30,
"column": 4
},
"end": {
"line": 30,
"column": 15
},
"identifierName": "constructor"
},
"name": "constructor",
"leadingComments": null
},
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "ObjectPattern",
"start": 622,
"end": 654,
"loc": {
"start": {
"line": 30,
"column": 16
},
"end": {
"line": 30,
"column": 48
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 624,
"end": 652,
"loc": {
"start": {
"line": 30,
"column": 18
},
"end": {
"line": 30,
"column": 46
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 624,
"end": 628,
"loc": {
"start": {
"line": 30,
"column": 18
},
"end": {
"line": 30,
"column": 22
},
"identifierName": "type"
},
"name": "type"
},
"value": {
"type": "AssignmentPattern",
"start": 624,
"end": 652,
"loc": {
"start": {
"line": 30,
"column": 18
},
"end": {
"line": 30,
"column": 46
}
},
"left": {
"type": "Identifier",
"start": 624,
"end": 628,
"loc": {
"start": {
"line": 30,
"column": 18
},
"end": {
"line": 30,
"column": 22
},
"identifierName": "type"
},
"name": "type"
},
"right": {
"type": "MemberExpression",
"start": 631,
"end": 652,
"loc": {
"start": {
"line": 30,
"column": 25
},
"end": {
"line": 30,
"column": 46
}
},
"object": {
"type": "Identifier",
"start": 631,
"end": 648,
"loc": {
"start": {
"line": 30,
"column": 25
},
"end": {
"line": 30,
"column": 42
},
"identifierName": "enumLogicGateType"
},
"name": "enumLogicGateType"
},
"property": {
"type": "Identifier",
"start": 649,
"end": 652,
"loc": {
"start": {
"line": 30,
"column": 43
},
"end": {
"line": 30,
"column": 46
},
"identifierName": "and"
},
"name": "and"
},
"computed": false
}
},
"extra": {
"shorthand": true
}
}
]
}
],
"body": {
"type": "BlockStatement",
"start": 656,
"end": 709,
"loc": {
"start": {
"line": 30,
"column": 50
},
"end": {
"line": 33,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 667,
"end": 675,
"loc": {
"start": {
"line": 31,
"column": 8
},
"end": {
"line": 31,
"column": 16
}
},
"expression": {
"type": "CallExpression",
"start": 667,
"end": 674,
"loc": {
"start": {
"line": 31,
"column": 8
},
"end": {
"line": 31,
"column": 15
}
},
"callee": {
"type": "Super",
"start": 667,
"end": 672,
"loc": {
"start": {
"line": 31,
"column": 8
},
"end": {
"line": 31,
"column": 13
}
}
},
"arguments": []
}
},
{
"type": "ExpressionStatement",
"start": 685,
"end": 702,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 25
}
},
"expression": {
"type": "AssignmentExpression",
"start": 685,
"end": 701,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 24
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 685,
"end": 694,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 17
}
},
"object": {
"type": "ThisExpression",
"start": 685,
"end": 689,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 690,
"end": 694,
"loc": {
"start": {
"line": 32,
"column": 13
},
"end": {
"line": 32,
"column": 17
},
"identifierName": "type"
},
"name": "type"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 697,
"end": 701,
"loc": {
"start": {
"line": 32,
"column": 20
},
"end": {
"line": 32,
"column": 24
},
"identifierName": "type"
},
"name": "type"
}
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {object} param0\r\n * @param {enumLogicGateType=} param0.type\r\n ",
"start": 505,
"end": 604,
"loc": {
"start": {
"line": 25,
"column": 4
},
"end": {
"line": 29,
"column": 7
}
}
}
]
}
]
},
"leadingComments": [],
"trailingComments": []
}
}
],
"directives": []
},
"comments": [
{
"type": "CommentBlock",
"value": "* @enum {string} ",
"start": 45,
"end": 66,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 21
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {object} param0\r\n * @param {enumLogicGateType=} param0.type\r\n ",
"start": 505,
"end": 604,
"loc": {
"start": {
"line": 25,
"column": 4
},
"end": {
"line": 29,
"column": 7
}
}
}
],
"tokens": [
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 0,
"end": 6,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7,
"end": 8,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Component",
"start": 9,
"end": 18,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 18
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 19,
"end": 20,
"loc": {
"start": {
"line": 1,
"column": 19
},
"end": {
"line": 1,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 21,
"end": 25,
"loc": {
"start": {
"line": 1,
"column": 21
},
"end": {
"line": 1,
"column": 25
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../component",
"start": 26,
"end": 40,
"loc": {
"start": {
"line": 1,
"column": 26
},
"end": {
"line": 1,
"column": 40
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 40,
"end": 41,
"loc": {
"start": {
"line": 1,
"column": 40
},
"end": {
"line": 1,
"column": 41
}
}
},
{
"type": "CommentBlock",
"value": "* @enum {string} ",
"start": 45,
"end": 66,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 21
}
}
},
{
"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": 68,
"end": 74,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 6
}
}
},
{
"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": 75,
"end": 80,
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
"line": 4,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumLogicGateType",
"start": 81,
"end": 98,
"loc": {
"start": {
"line": 4,
"column": 13
},
"end": {
"line": 4,
"column": 30
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 99,
"end": 100,
"loc": {
"start": {
"line": 4,
"column": 31
},
"end": {
"line": 4,
"column": 32
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 101,
"end": 102,
"loc": {
"start": {
"line": 4,
"column": 33
},
"end": {
"line": 4,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "and",
"start": 108,
"end": 111,
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 5,
"column": 7
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 111,
"end": 112,
"loc": {
"start": {
"line": 5,
"column": 7
},
"end": {
"line": 5,
"column": 8
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "and",
"start": 113,
"end": 118,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 14
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 118,
"end": 119,
"loc": {
"start": {
"line": 5,
"column": 14
},
"end": {
"line": 5,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "not",
"start": 125,
"end": 128,
"loc": {
"start": {
"line": 6,
"column": 4
},
"end": {
"line": 6,
"column": 7
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 128,
"end": 129,
"loc": {
"start": {
"line": 6,
"column": 7
},
"end": {
"line": 6,
"column": 8
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "not",
"start": 130,
"end": 135,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 14
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 135,
"end": 136,
"loc": {
"start": {
"line": 6,
"column": 14
},
"end": {
"line": 6,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "xor",
"start": 142,
"end": 145,
"loc": {
"start": {
"line": 7,
"column": 4
},
"end": {
"line": 7,
"column": 7
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 145,
"end": 146,
"loc": {
"start": {
"line": 7,
"column": 7
},
"end": {
"line": 7,
"column": 8
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "xor",
"start": 147,
"end": 152,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 14
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 152,
"end": 153,
"loc": {
"start": {
"line": 7,
"column": 14
},
"end": {
"line": 7,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "or",
"start": 159,
"end": 161,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 6
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 161,
"end": 162,
"loc": {
"start": {
"line": 8,
"column": 6
},
"end": {
"line": 8,
"column": 7
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "or",
"start": 163,
"end": 167,
"loc": {
"start": {
"line": 8,
"column": 8
},
"end": {
"line": 8,
"column": 12
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 167,
"end": 168,
"loc": {
"start": {
"line": 8,
"column": 12
},
"end": {
"line": 8,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "transistor",
"start": 174,
"end": 184,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 9,
"column": 14
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 184,
"end": 185,
"loc": {
"start": {
"line": 9,
"column": 14
},
"end": {
"line": 9,
"column": 15
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "transistor",
"start": 186,
"end": 198,
"loc": {
"start": {
"line": 9,
"column": 16
},
"end": {
"line": 9,
"column": 28
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 198,
"end": 199,
"loc": {
"start": {
"line": 9,
"column": 28
},
"end": {
"line": 9,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "analyzer",
"start": 207,
"end": 215,
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 11,
"column": 12
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 215,
"end": 216,
"loc": {
"start": {
"line": 11,
"column": 12
},
"end": {
"line": 11,
"column": 13
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "analyzer",
"start": 217,
"end": 227,
"loc": {
"start": {
"line": 11,
"column": 14
},
"end": {
"line": 11,
"column": 24
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 227,
"end": 228,
"loc": {
"start": {
"line": 11,
"column": 24
},
"end": {
"line": 11,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotater",
"start": 234,
"end": 241,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 12,
"column": 11
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 241,
"end": 242,
"loc": {
"start": {
"line": 12,
"column": 11
},
"end": {
"line": 12,
"column": 12
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "rotater",
"start": 243,
"end": 252,
"loc": {
"start": {
"line": 12,
"column": 13
},
"end": {
"line": 12,
"column": 22
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 252,
"end": 253,
"loc": {
"start": {
"line": 12,
"column": 22
},
"end": {
"line": 12,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "unstacker",
"start": 259,
"end": 268,
"loc": {
"start": {
"line": 13,
"column": 4
},
"end": {
"line": 13,
"column": 13
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 268,
"end": 269,
"loc": {
"start": {
"line": 13,
"column": 13
},
"end": {
"line": 13,
"column": 14
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "unstacker",
"start": 270,
"end": 281,
"loc": {
"start": {
"line": 13,
"column": 15
},
"end": {
"line": 13,
"column": 26
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 281,
"end": 282,
"loc": {
"start": {
"line": 13,
"column": 26
},
"end": {
"line": 13,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cutter",
"start": 288,
"end": 294,
"loc": {
"start": {
"line": 14,
"column": 4
},
"end": {
"line": 14,
"column": 10
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 294,
"end": 295,
"loc": {
"start": {
"line": 14,
"column": 10
},
"end": {
"line": 14,
"column": 11
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "cutter",
"start": 296,
"end": 304,
"loc": {
"start": {
"line": 14,
"column": 12
},
"end": {
"line": 14,
"column": 20
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 304,
"end": 305,
"loc": {
"start": {
"line": 14,
"column": 20
},
"end": {
"line": 14,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "compare",
"start": 311,
"end": 318,
"loc": {
"start": {
"line": 15,
"column": 4
},
"end": {
"line": 15,
"column": 11
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 318,
"end": 319,
"loc": {
"start": {
"line": 15,
"column": 11
},
"end": {
"line": 15,
"column": 12
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "compare",
"start": 320,
"end": 329,
"loc": {
"start": {
"line": 15,
"column": 13
},
"end": {
"line": 15,
"column": 22
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 329,
"end": 330,
"loc": {
"start": {
"line": 15,
"column": 22
},
"end": {
"line": 15,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stacker",
"start": 336,
"end": 343,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 16,
"column": 11
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 343,
"end": 344,
"loc": {
"start": {
"line": 16,
"column": 11
},
"end": {
"line": 16,
"column": 12
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "stacker",
"start": 345,
"end": 354,
"loc": {
"start": {
"line": 16,
"column": 13
},
"end": {
"line": 16,
"column": 22
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 354,
"end": 355,
"loc": {
"start": {
"line": 16,
"column": 22
},
"end": {
"line": 16,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "painter",
"start": 361,
"end": 368,
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 17,
"column": 11
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 368,
"end": 369,
"loc": {
"start": {
"line": 17,
"column": 11
},
"end": {
"line": 17,
"column": 12
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "painter",
"start": 370,
"end": 379,
"loc": {
"start": {
"line": 17,
"column": 13
},
"end": {
"line": 17,
"column": 22
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 379,
"end": 380,
"loc": {
"start": {
"line": 17,
"column": 22
},
"end": {
"line": 17,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 382,
"end": 383,
"loc": {
"start": {
"line": 18,
"column": 0
},
"end": {
"line": 18,
"column": 1
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 383,
"end": 384,
"loc": {
"start": {
"line": 18,
"column": 1
},
"end": {
"line": 18,
"column": 2
}
}
},
{
"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": 388,
"end": 394,
"loc": {
"start": {
"line": 20,
"column": 0
},
"end": {
"line": 20,
"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": 395,
"end": 400,
"loc": {
"start": {
"line": 20,
"column": 7
},
"end": {
"line": 20,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "LogicGateComponent",
"start": 401,
"end": 419,
"loc": {
"start": {
"line": 20,
"column": 13
},
"end": {
"line": 20,
"column": 31
}
}
},
{
"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": 420,
"end": 427,
"loc": {
"start": {
"line": 20,
"column": 32
},
"end": {
"line": 20,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Component",
"start": 428,
"end": 437,
"loc": {
"start": {
"line": 20,
"column": 40
},
"end": {
"line": 20,
"column": 49
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 438,
"end": 439,
"loc": {
"start": {
"line": 20,
"column": 50
},
"end": {
"line": 20,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "static",
"start": 445,
"end": 451,
"loc": {
"start": {
"line": 21,
"column": 4
},
"end": {
"line": 21,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getId",
"start": 452,
"end": 457,
"loc": {
"start": {
"line": 21,
"column": 11
},
"end": {
"line": 21,
"column": 16
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 457,
"end": 458,
"loc": {
"start": {
"line": 21,
"column": 16
},
"end": {
"line": 21,
"column": 17
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 458,
"end": 459,
"loc": {
"start": {
"line": 21,
"column": 17
},
"end": {
"line": 21,
"column": 18
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 460,
"end": 461,
"loc": {
"start": {
"line": 21,
"column": 19
},
"end": {
"line": 21,
"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": 471,
"end": 477,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 22,
"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": 478,
"end": 489,
"loc": {
"start": {
"line": 22,
"column": 15
},
"end": {
"line": 22,
"column": 26
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 489,
"end": 490,
"loc": {
"start": {
"line": 22,
"column": 26
},
"end": {
"line": 22,
"column": 27
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 496,
"end": 497,
"loc": {
"start": {
"line": 23,
"column": 4
},
"end": {
"line": 23,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {object} param0\r\n * @param {enumLogicGateType=} param0.type\r\n ",
"start": 505,
"end": 604,
"loc": {
"start": {
"line": 25,
"column": 4
},
"end": {
"line": 29,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 610,
"end": 621,
"loc": {
"start": {
"line": 30,
"column": 4
},
"end": {
"line": 30,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 621,
"end": 622,
"loc": {
"start": {
"line": 30,
"column": 15
},
"end": {
"line": 30,
"column": 16
}
}
},
{
"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": 30,
"column": 16
},
"end": {
"line": 30,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "type",
"start": 624,
"end": 628,
"loc": {
"start": {
"line": 30,
"column": 18
},
"end": {
"line": 30,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 629,
"end": 630,
"loc": {
"start": {
"line": 30,
"column": 23
},
"end": {
"line": 30,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enumLogicGateType",
"start": 631,
"end": 648,
"loc": {
"start": {
"line": 30,
"column": 25
},
"end": {
"line": 30,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 648,
"end": 649,
"loc": {
"start": {
"line": 30,
"column": 42
},
"end": {
"line": 30,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "and",
"start": 649,
"end": 652,
"loc": {
"start": {
"line": 30,
"column": 43
},
"end": {
"line": 30,
"column": 46
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 653,
"end": 654,
"loc": {
"start": {
"line": 30,
"column": 47
},
"end": {
"line": 30,
"column": 48
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 654,
"end": 655,
"loc": {
"start": {
"line": 30,
"column": 48
},
"end": {
"line": 30,
"column": 49
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 656,
"end": 657,
"loc": {
"start": {
"line": 30,
"column": 50
},
"end": {
"line": 30,
"column": 51
}
}
},
{
"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": 667,
"end": 672,
"loc": {
"start": {
"line": 31,
"column": 8
},
"end": {
"line": 31,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 672,
"end": 673,
"loc": {
"start": {
"line": 31,
"column": 13
},
"end": {
"line": 31,
"column": 14
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 673,
"end": 674,
"loc": {
"start": {
"line": 31,
"column": 14
},
"end": {
"line": 31,
"column": 15
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 674,
"end": 675,
"loc": {
"start": {
"line": 31,
"column": 15
},
"end": {
"line": 31,
"column": 16
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 685,
"end": 689,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 12
}
}
},
{
"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": 32,
"column": 12
},
"end": {
"line": 32,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "type",
"start": 690,
"end": 694,
"loc": {
"start": {
"line": 32,
"column": 13
},
"end": {
"line": 32,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 695,
"end": 696,
"loc": {
"start": {
"line": 32,
"column": 18
},
"end": {
"line": 32,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "type",
"start": 697,
"end": 701,
"loc": {
"start": {
"line": 32,
"column": 20
},
"end": {
"line": 32,
"column": 24
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 701,
"end": 702,
"loc": {
"start": {
"line": 32,
"column": 24
},
"end": {
"line": 32,
"column": 25
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 708,
"end": 709,
"loc": {
"start": {
"line": 33,
"column": 4
},
"end": {
"line": 33,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 711,
"end": 712,
"loc": {
"start": {
"line": 34,
"column": 0
},
"end": {
"line": 34,
"column": 1
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 714,
"end": 714,
"loc": {
"start": {
"line": 35,
"column": 0
},
"end": {
"line": 35,
"column": 0
}
}
}
]
}