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

4234 lines
98 KiB
JSON

{
"type": "File",
"start": 0,
"end": 945,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 36,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 945,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 36,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 61,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 61
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 9,
"end": 22,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 22
}
},
"imported": {
"type": "Identifier",
"start": 9,
"end": 22,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 22
},
"identifierName": "gItemRegistry"
},
"name": "gItemRegistry"
},
"local": {
"type": "Identifier",
"start": 9,
"end": 22,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 22
},
"identifierName": "gItemRegistry"
},
"name": "gItemRegistry"
}
}
],
"source": {
"type": "StringLiteral",
"start": 30,
"end": 60,
"loc": {
"start": {
"line": 1,
"column": 30
},
"end": {
"line": 1,
"column": 60
}
},
"extra": {
"rawValue": "../../core/global_registries",
"raw": "\"../../core/global_registries\""
},
"value": "../../core/global_registries"
}
},
{
"type": "ImportDeclaration",
"start": 63,
"end": 116,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 53
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 72,
"end": 77,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 14
}
},
"imported": {
"type": "Identifier",
"start": 72,
"end": 77,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 14
},
"identifierName": "types"
},
"name": "types"
},
"local": {
"type": "Identifier",
"start": 72,
"end": 77,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 14
},
"identifierName": "types"
},
"name": "types"
}
}
],
"source": {
"type": "StringLiteral",
"start": 85,
"end": 115,
"loc": {
"start": {
"line": 2,
"column": 22
},
"end": {
"line": 2,
"column": 52
}
},
"extra": {
"rawValue": "../../savegame/serialization",
"raw": "\"../../savegame/serialization\""
},
"value": "../../savegame/serialization"
}
},
{
"type": "ImportDeclaration",
"start": 118,
"end": 159,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 41
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 127,
"end": 136,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 18
}
},
"imported": {
"type": "Identifier",
"start": 127,
"end": 136,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 18
},
"identifierName": "Component"
},
"name": "Component"
},
"local": {
"type": "Identifier",
"start": 127,
"end": 136,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 18
},
"identifierName": "Component"
},
"name": "Component"
}
}
],
"source": {
"type": "StringLiteral",
"start": 144,
"end": 158,
"loc": {
"start": {
"line": 3,
"column": 26
},
"end": {
"line": 3,
"column": 40
}
},
"extra": {
"rawValue": "../component",
"raw": "\"../component\""
},
"value": "../component"
}
},
{
"type": "ImportDeclaration",
"start": 161,
"end": 201,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 40
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 170,
"end": 178,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 17
}
},
"imported": {
"type": "Identifier",
"start": 170,
"end": 178,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 17
},
"identifierName": "BaseItem"
},
"name": "BaseItem"
},
"local": {
"type": "Identifier",
"start": 170,
"end": 178,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 17
},
"identifierName": "BaseItem"
},
"name": "BaseItem"
}
}
],
"source": {
"type": "StringLiteral",
"start": 186,
"end": 200,
"loc": {
"start": {
"line": 4,
"column": 25
},
"end": {
"line": 4,
"column": 39
}
},
"extra": {
"rawValue": "../base_item",
"raw": "\"../base_item\""
},
"value": "../base_item"
}
},
{
"type": "ImportDeclaration",
"start": 203,
"end": 256,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 53
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 212,
"end": 229,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 26
}
},
"imported": {
"type": "Identifier",
"start": 212,
"end": 229,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 26
},
"identifierName": "typeItemSingleton"
},
"name": "typeItemSingleton"
},
"local": {
"type": "Identifier",
"start": 212,
"end": 229,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 26
},
"identifierName": "typeItemSingleton"
},
"name": "typeItemSingleton"
}
}
],
"source": {
"type": "StringLiteral",
"start": 237,
"end": 255,
"loc": {
"start": {
"line": 5,
"column": 34
},
"end": {
"line": 5,
"column": 52
}
},
"extra": {
"rawValue": "../item_resolver",
"raw": "\"../item_resolver\""
},
"value": "../item_resolver"
}
},
{
"type": "ExportNamedDeclaration",
"start": 260,
"end": 943,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 35,
"column": 1
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "ClassDeclaration",
"start": 267,
"end": 943,
"loc": {
"start": {
"line": 7,
"column": 7
},
"end": {
"line": 35,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 273,
"end": 296,
"loc": {
"start": {
"line": 7,
"column": 13
},
"end": {
"line": 7,
"column": 36
},
"identifierName": "ConstantSignalComponent"
},
"name": "ConstantSignalComponent"
},
"superClass": {
"type": "Identifier",
"start": 305,
"end": 314,
"loc": {
"start": {
"line": 7,
"column": 45
},
"end": {
"line": 7,
"column": 54
},
"identifierName": "Component"
},
"name": "Component"
},
"body": {
"type": "ClassBody",
"start": 315,
"end": 943,
"loc": {
"start": {
"line": 7,
"column": 55
},
"end": {
"line": 35,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 322,
"end": 379,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 10,
"column": 5
}
},
"static": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 329,
"end": 334,
"loc": {
"start": {
"line": 8,
"column": 11
},
"end": {
"line": 8,
"column": 16
},
"identifierName": "getId"
},
"name": "getId"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 337,
"end": 379,
"loc": {
"start": {
"line": 8,
"column": 19
},
"end": {
"line": 10,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 348,
"end": 372,
"loc": {
"start": {
"line": 9,
"column": 8
},
"end": {
"line": 9,
"column": 32
}
},
"argument": {
"type": "StringLiteral",
"start": 355,
"end": 371,
"loc": {
"start": {
"line": 9,
"column": 15
},
"end": {
"line": 9,
"column": 31
}
},
"extra": {
"rawValue": "ConstantSignal",
"raw": "\"ConstantSignal\""
},
"value": "ConstantSignal"
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 387,
"end": 500,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 16,
"column": 5
}
},
"static": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 394,
"end": 403,
"loc": {
"start": {
"line": 12,
"column": 11
},
"end": {
"line": 12,
"column": 20
},
"identifierName": "getSchema"
},
"name": "getSchema"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 406,
"end": 500,
"loc": {
"start": {
"line": 12,
"column": 23
},
"end": {
"line": 16,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 417,
"end": 493,
"loc": {
"start": {
"line": 13,
"column": 8
},
"end": {
"line": 15,
"column": 10
}
},
"argument": {
"type": "ObjectExpression",
"start": 424,
"end": 492,
"loc": {
"start": {
"line": 13,
"column": 15
},
"end": {
"line": 15,
"column": 9
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 439,
"end": 480,
"loc": {
"start": {
"line": 14,
"column": 12
},
"end": {
"line": 14,
"column": 53
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 439,
"end": 445,
"loc": {
"start": {
"line": 14,
"column": 12
},
"end": {
"line": 14,
"column": 18
},
"identifierName": "signal"
},
"name": "signal"
},
"value": {
"type": "CallExpression",
"start": 447,
"end": 480,
"loc": {
"start": {
"line": 14,
"column": 20
},
"end": {
"line": 14,
"column": 53
}
},
"callee": {
"type": "MemberExpression",
"start": 447,
"end": 461,
"loc": {
"start": {
"line": 14,
"column": 20
},
"end": {
"line": 14,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 447,
"end": 452,
"loc": {
"start": {
"line": 14,
"column": 20
},
"end": {
"line": 14,
"column": 25
},
"identifierName": "types"
},
"name": "types"
},
"property": {
"type": "Identifier",
"start": 453,
"end": 461,
"loc": {
"start": {
"line": 14,
"column": 26
},
"end": {
"line": 14,
"column": 34
},
"identifierName": "nullable"
},
"name": "nullable"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 462,
"end": 479,
"loc": {
"start": {
"line": 14,
"column": 35
},
"end": {
"line": 14,
"column": 52
},
"identifierName": "typeItemSingleton"
},
"name": "typeItemSingleton"
}
]
}
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Copy the current state to another component\r\n * @param {ConstantSignalComponent} otherComponent\r\n ",
"start": 508,
"end": 628,
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 21,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 634,
"end": 726,
"loc": {
"start": {
"line": 22,
"column": 4
},
"end": {
"line": 24,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 634,
"end": 655,
"loc": {
"start": {
"line": 22,
"column": 4
},
"end": {
"line": 22,
"column": 25
},
"identifierName": "copyAdditionalStateTo"
},
"name": "copyAdditionalStateTo",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 656,
"end": 670,
"loc": {
"start": {
"line": 22,
"column": 26
},
"end": {
"line": 22,
"column": 40
},
"identifierName": "otherComponent"
},
"name": "otherComponent"
}
],
"body": {
"type": "BlockStatement",
"start": 672,
"end": 726,
"loc": {
"start": {
"line": 22,
"column": 42
},
"end": {
"line": 24,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 683,
"end": 719,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 23,
"column": 44
}
},
"expression": {
"type": "AssignmentExpression",
"start": 683,
"end": 718,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 23,
"column": 43
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 683,
"end": 704,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 23,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 683,
"end": 697,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 23,
"column": 22
},
"identifierName": "otherComponent"
},
"name": "otherComponent"
},
"property": {
"type": "Identifier",
"start": 698,
"end": 704,
"loc": {
"start": {
"line": 23,
"column": 23
},
"end": {
"line": 23,
"column": 29
},
"identifierName": "signal"
},
"name": "signal"
},
"computed": false
},
"right": {
"type": "MemberExpression",
"start": 707,
"end": 718,
"loc": {
"start": {
"line": 23,
"column": 32
},
"end": {
"line": 23,
"column": 43
}
},
"object": {
"type": "ThisExpression",
"start": 707,
"end": 711,
"loc": {
"start": {
"line": 23,
"column": 32
},
"end": {
"line": 23,
"column": 36
}
}
},
"property": {
"type": "Identifier",
"start": 712,
"end": 718,
"loc": {
"start": {
"line": 23,
"column": 37
},
"end": {
"line": 23,
"column": 43
},
"identifierName": "signal"
},
"name": "signal"
},
"computed": false
}
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Copy the current state to another component\r\n * @param {ConstantSignalComponent} otherComponent\r\n ",
"start": 508,
"end": 628,
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 21,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {object} param0\r\n * @param {BaseItem=} param0.signal The signal to store\r\n ",
"start": 734,
"end": 846,
"loc": {
"start": {
"line": 26,
"column": 4
},
"end": {
"line": 30,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 852,
"end": 940,
"loc": {
"start": {
"line": 31,
"column": 4
},
"end": {
"line": 34,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 852,
"end": 863,
"loc": {
"start": {
"line": 31,
"column": 4
},
"end": {
"line": 31,
"column": 15
},
"identifierName": "constructor"
},
"name": "constructor",
"leadingComments": null
},
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "ObjectPattern",
"start": 864,
"end": 881,
"loc": {
"start": {
"line": 31,
"column": 16
},
"end": {
"line": 31,
"column": 33
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 866,
"end": 879,
"loc": {
"start": {
"line": 31,
"column": 18
},
"end": {
"line": 31,
"column": 31
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 866,
"end": 872,
"loc": {
"start": {
"line": 31,
"column": 18
},
"end": {
"line": 31,
"column": 24
},
"identifierName": "signal"
},
"name": "signal"
},
"value": {
"type": "AssignmentPattern",
"start": 866,
"end": 879,
"loc": {
"start": {
"line": 31,
"column": 18
},
"end": {
"line": 31,
"column": 31
}
},
"left": {
"type": "Identifier",
"start": 866,
"end": 872,
"loc": {
"start": {
"line": 31,
"column": 18
},
"end": {
"line": 31,
"column": 24
},
"identifierName": "signal"
},
"name": "signal"
},
"right": {
"type": "NullLiteral",
"start": 875,
"end": 879,
"loc": {
"start": {
"line": 31,
"column": 27
},
"end": {
"line": 31,
"column": 31
}
}
}
},
"extra": {
"shorthand": true
}
}
]
}
],
"body": {
"type": "BlockStatement",
"start": 883,
"end": 940,
"loc": {
"start": {
"line": 31,
"column": 35
},
"end": {
"line": 34,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 894,
"end": 902,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 16
}
},
"expression": {
"type": "CallExpression",
"start": 894,
"end": 901,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 15
}
},
"callee": {
"type": "Super",
"start": 894,
"end": 899,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 13
}
}
},
"arguments": []
}
},
{
"type": "ExpressionStatement",
"start": 912,
"end": 933,
"loc": {
"start": {
"line": 33,
"column": 8
},
"end": {
"line": 33,
"column": 29
}
},
"expression": {
"type": "AssignmentExpression",
"start": 912,
"end": 932,
"loc": {
"start": {
"line": 33,
"column": 8
},
"end": {
"line": 33,
"column": 28
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 912,
"end": 923,
"loc": {
"start": {
"line": 33,
"column": 8
},
"end": {
"line": 33,
"column": 19
}
},
"object": {
"type": "ThisExpression",
"start": 912,
"end": 916,
"loc": {
"start": {
"line": 33,
"column": 8
},
"end": {
"line": 33,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 917,
"end": 923,
"loc": {
"start": {
"line": 33,
"column": 13
},
"end": {
"line": 33,
"column": 19
},
"identifierName": "signal"
},
"name": "signal"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 926,
"end": 932,
"loc": {
"start": {
"line": 33,
"column": 22
},
"end": {
"line": 33,
"column": 28
},
"identifierName": "signal"
},
"name": "signal"
}
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {object} param0\r\n * @param {BaseItem=} param0.signal The signal to store\r\n ",
"start": 734,
"end": 846,
"loc": {
"start": {
"line": 26,
"column": 4
},
"end": {
"line": 30,
"column": 7
}
}
}
]
}
]
},
"leadingComments": [],
"trailingComments": []
}
}
],
"directives": []
},
"comments": [
{
"type": "CommentBlock",
"value": "*\r\n * Copy the current state to another component\r\n * @param {ConstantSignalComponent} otherComponent\r\n ",
"start": 508,
"end": 628,
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 21,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {object} param0\r\n * @param {BaseItem=} param0.signal The signal to store\r\n ",
"start": 734,
"end": 846,
"loc": {
"start": {
"line": 26,
"column": 4
},
"end": {
"line": 30,
"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": "gItemRegistry",
"start": 9,
"end": 22,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 22
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 23,
"end": 24,
"loc": {
"start": {
"line": 1,
"column": 23
},
"end": {
"line": 1,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 25,
"end": 29,
"loc": {
"start": {
"line": 1,
"column": 25
},
"end": {
"line": 1,
"column": 29
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../core/global_registries",
"start": 30,
"end": 60,
"loc": {
"start": {
"line": 1,
"column": 30
},
"end": {
"line": 1,
"column": 60
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 60,
"end": 61,
"loc": {
"start": {
"line": 1,
"column": 60
},
"end": {
"line": 1,
"column": 61
}
}
},
{
"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": 63,
"end": 69,
"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": 70,
"end": 71,
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "types",
"start": 72,
"end": 77,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 14
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 78,
"end": 79,
"loc": {
"start": {
"line": 2,
"column": 15
},
"end": {
"line": 2,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 80,
"end": 84,
"loc": {
"start": {
"line": 2,
"column": 17
},
"end": {
"line": 2,
"column": 21
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../savegame/serialization",
"start": 85,
"end": 115,
"loc": {
"start": {
"line": 2,
"column": 22
},
"end": {
"line": 2,
"column": 52
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 115,
"end": 116,
"loc": {
"start": {
"line": 2,
"column": 52
},
"end": {
"line": 2,
"column": 53
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 118,
"end": 124,
"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": 125,
"end": 126,
"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": "Component",
"start": 127,
"end": 136,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 18
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 137,
"end": 138,
"loc": {
"start": {
"line": 3,
"column": 19
},
"end": {
"line": 3,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 139,
"end": 143,
"loc": {
"start": {
"line": 3,
"column": 21
},
"end": {
"line": 3,
"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": 144,
"end": 158,
"loc": {
"start": {
"line": 3,
"column": 26
},
"end": {
"line": 3,
"column": 40
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 158,
"end": 159,
"loc": {
"start": {
"line": 3,
"column": 40
},
"end": {
"line": 3,
"column": 41
}
}
},
{
"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": 161,
"end": 167,
"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": 168,
"end": 169,
"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": "BaseItem",
"start": 170,
"end": 178,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 179,
"end": 180,
"loc": {
"start": {
"line": 4,
"column": 18
},
"end": {
"line": 4,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 181,
"end": 185,
"loc": {
"start": {
"line": 4,
"column": 20
},
"end": {
"line": 4,
"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": 186,
"end": 200,
"loc": {
"start": {
"line": 4,
"column": 25
},
"end": {
"line": 4,
"column": 39
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 200,
"end": 201,
"loc": {
"start": {
"line": 4,
"column": 39
},
"end": {
"line": 4,
"column": 40
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 203,
"end": 209,
"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": 210,
"end": 211,
"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": "typeItemSingleton",
"start": 212,
"end": 229,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 26
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 230,
"end": 231,
"loc": {
"start": {
"line": 5,
"column": 27
},
"end": {
"line": 5,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 232,
"end": 236,
"loc": {
"start": {
"line": 5,
"column": 29
},
"end": {
"line": 5,
"column": 33
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../item_resolver",
"start": 237,
"end": 255,
"loc": {
"start": {
"line": 5,
"column": 34
},
"end": {
"line": 5,
"column": 52
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 255,
"end": 256,
"loc": {
"start": {
"line": 5,
"column": 52
},
"end": {
"line": 5,
"column": 53
}
}
},
{
"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": 260,
"end": 266,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 7,
"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": 267,
"end": 272,
"loc": {
"start": {
"line": 7,
"column": 7
},
"end": {
"line": 7,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ConstantSignalComponent",
"start": 273,
"end": 296,
"loc": {
"start": {
"line": 7,
"column": 13
},
"end": {
"line": 7,
"column": 36
}
}
},
{
"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": 297,
"end": 304,
"loc": {
"start": {
"line": 7,
"column": 37
},
"end": {
"line": 7,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Component",
"start": 305,
"end": 314,
"loc": {
"start": {
"line": 7,
"column": 45
},
"end": {
"line": 7,
"column": 54
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 315,
"end": 316,
"loc": {
"start": {
"line": 7,
"column": 55
},
"end": {
"line": 7,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "static",
"start": 322,
"end": 328,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getId",
"start": 329,
"end": 334,
"loc": {
"start": {
"line": 8,
"column": 11
},
"end": {
"line": 8,
"column": 16
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 334,
"end": 335,
"loc": {
"start": {
"line": 8,
"column": 16
},
"end": {
"line": 8,
"column": 17
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 335,
"end": 336,
"loc": {
"start": {
"line": 8,
"column": 17
},
"end": {
"line": 8,
"column": 18
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 337,
"end": 338,
"loc": {
"start": {
"line": 8,
"column": 19
},
"end": {
"line": 8,
"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": 348,
"end": 354,
"loc": {
"start": {
"line": 9,
"column": 8
},
"end": {
"line": 9,
"column": 14
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "ConstantSignal",
"start": 355,
"end": 371,
"loc": {
"start": {
"line": 9,
"column": 15
},
"end": {
"line": 9,
"column": 31
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 371,
"end": 372,
"loc": {
"start": {
"line": 9,
"column": 31
},
"end": {
"line": 9,
"column": 32
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 378,
"end": 379,
"loc": {
"start": {
"line": 10,
"column": 4
},
"end": {
"line": 10,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "static",
"start": 387,
"end": 393,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 12,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getSchema",
"start": 394,
"end": 403,
"loc": {
"start": {
"line": 12,
"column": 11
},
"end": {
"line": 12,
"column": 20
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 403,
"end": 404,
"loc": {
"start": {
"line": 12,
"column": 20
},
"end": {
"line": 12,
"column": 21
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 404,
"end": 405,
"loc": {
"start": {
"line": 12,
"column": 21
},
"end": {
"line": 12,
"column": 22
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 406,
"end": 407,
"loc": {
"start": {
"line": 12,
"column": 23
},
"end": {
"line": 12,
"column": 24
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 417,
"end": 423,
"loc": {
"start": {
"line": 13,
"column": 8
},
"end": {
"line": 13,
"column": 14
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 424,
"end": 425,
"loc": {
"start": {
"line": 13,
"column": 15
},
"end": {
"line": 13,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "signal",
"start": 439,
"end": 445,
"loc": {
"start": {
"line": 14,
"column": 12
},
"end": {
"line": 14,
"column": 18
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 445,
"end": 446,
"loc": {
"start": {
"line": 14,
"column": 18
},
"end": {
"line": 14,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "types",
"start": 447,
"end": 452,
"loc": {
"start": {
"line": 14,
"column": 20
},
"end": {
"line": 14,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 452,
"end": 453,
"loc": {
"start": {
"line": 14,
"column": 25
},
"end": {
"line": 14,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "nullable",
"start": 453,
"end": 461,
"loc": {
"start": {
"line": 14,
"column": 26
},
"end": {
"line": 14,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 461,
"end": 462,
"loc": {
"start": {
"line": 14,
"column": 34
},
"end": {
"line": 14,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "typeItemSingleton",
"start": 462,
"end": 479,
"loc": {
"start": {
"line": 14,
"column": 35
},
"end": {
"line": 14,
"column": 52
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 479,
"end": 480,
"loc": {
"start": {
"line": 14,
"column": 52
},
"end": {
"line": 14,
"column": 53
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 480,
"end": 481,
"loc": {
"start": {
"line": 14,
"column": 53
},
"end": {
"line": 14,
"column": 54
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 491,
"end": 492,
"loc": {
"start": {
"line": 15,
"column": 8
},
"end": {
"line": 15,
"column": 9
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 492,
"end": 493,
"loc": {
"start": {
"line": 15,
"column": 9
},
"end": {
"line": 15,
"column": 10
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 499,
"end": 500,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 16,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Copy the current state to another component\r\n * @param {ConstantSignalComponent} otherComponent\r\n ",
"start": 508,
"end": 628,
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 21,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "copyAdditionalStateTo",
"start": 634,
"end": 655,
"loc": {
"start": {
"line": 22,
"column": 4
},
"end": {
"line": 22,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 655,
"end": 656,
"loc": {
"start": {
"line": 22,
"column": 25
},
"end": {
"line": 22,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "otherComponent",
"start": 656,
"end": 670,
"loc": {
"start": {
"line": 22,
"column": 26
},
"end": {
"line": 22,
"column": 40
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 670,
"end": 671,
"loc": {
"start": {
"line": 22,
"column": 40
},
"end": {
"line": 22,
"column": 41
}
}
},
{
"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": 22,
"column": 42
},
"end": {
"line": 22,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "otherComponent",
"start": 683,
"end": 697,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 23,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 697,
"end": 698,
"loc": {
"start": {
"line": 23,
"column": 22
},
"end": {
"line": 23,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "signal",
"start": 698,
"end": 704,
"loc": {
"start": {
"line": 23,
"column": 23
},
"end": {
"line": 23,
"column": 29
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 705,
"end": 706,
"loc": {
"start": {
"line": 23,
"column": 30
},
"end": {
"line": 23,
"column": 31
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 707,
"end": 711,
"loc": {
"start": {
"line": 23,
"column": 32
},
"end": {
"line": 23,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 711,
"end": 712,
"loc": {
"start": {
"line": 23,
"column": 36
},
"end": {
"line": 23,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "signal",
"start": 712,
"end": 718,
"loc": {
"start": {
"line": 23,
"column": 37
},
"end": {
"line": 23,
"column": 43
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 718,
"end": 719,
"loc": {
"start": {
"line": 23,
"column": 43
},
"end": {
"line": 23,
"column": 44
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 725,
"end": 726,
"loc": {
"start": {
"line": 24,
"column": 4
},
"end": {
"line": 24,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {object} param0\r\n * @param {BaseItem=} param0.signal The signal to store\r\n ",
"start": 734,
"end": 846,
"loc": {
"start": {
"line": 26,
"column": 4
},
"end": {
"line": 30,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 852,
"end": 863,
"loc": {
"start": {
"line": 31,
"column": 4
},
"end": {
"line": 31,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 863,
"end": 864,
"loc": {
"start": {
"line": 31,
"column": 15
},
"end": {
"line": 31,
"column": 16
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 864,
"end": 865,
"loc": {
"start": {
"line": 31,
"column": 16
},
"end": {
"line": 31,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "signal",
"start": 866,
"end": 872,
"loc": {
"start": {
"line": 31,
"column": 18
},
"end": {
"line": 31,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 873,
"end": 874,
"loc": {
"start": {
"line": 31,
"column": 25
},
"end": {
"line": 31,
"column": 26
}
}
},
{
"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": 875,
"end": 879,
"loc": {
"start": {
"line": 31,
"column": 27
},
"end": {
"line": 31,
"column": 31
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 880,
"end": 881,
"loc": {
"start": {
"line": 31,
"column": 32
},
"end": {
"line": 31,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 881,
"end": 882,
"loc": {
"start": {
"line": 31,
"column": 33
},
"end": {
"line": 31,
"column": 34
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 883,
"end": 884,
"loc": {
"start": {
"line": 31,
"column": 35
},
"end": {
"line": 31,
"column": 36
}
}
},
{
"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": 894,
"end": 899,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 899,
"end": 900,
"loc": {
"start": {
"line": 32,
"column": 13
},
"end": {
"line": 32,
"column": 14
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 900,
"end": 901,
"loc": {
"start": {
"line": 32,
"column": 14
},
"end": {
"line": 32,
"column": 15
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 901,
"end": 902,
"loc": {
"start": {
"line": 32,
"column": 15
},
"end": {
"line": 32,
"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": 912,
"end": 916,
"loc": {
"start": {
"line": 33,
"column": 8
},
"end": {
"line": 33,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 916,
"end": 917,
"loc": {
"start": {
"line": 33,
"column": 12
},
"end": {
"line": 33,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "signal",
"start": 917,
"end": 923,
"loc": {
"start": {
"line": 33,
"column": 13
},
"end": {
"line": 33,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 924,
"end": 925,
"loc": {
"start": {
"line": 33,
"column": 20
},
"end": {
"line": 33,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "signal",
"start": 926,
"end": 932,
"loc": {
"start": {
"line": 33,
"column": 22
},
"end": {
"line": 33,
"column": 28
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 932,
"end": 933,
"loc": {
"start": {
"line": 33,
"column": 28
},
"end": {
"line": 33,
"column": 29
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 939,
"end": 940,
"loc": {
"start": {
"line": 34,
"column": 4
},
"end": {
"line": 34,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 942,
"end": 943,
"loc": {
"start": {
"line": 35,
"column": 0
},
"end": {
"line": 35,
"column": 1
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 945,
"end": 945,
"loc": {
"start": {
"line": 36,
"column": 0
},
"end": {
"line": 36,
"column": 0
}
}
}
]
}