swc/crates/swc_ecma_parser/tests/tsc/inferringClassMembersFromAssignments.json

4112 lines
130 KiB
JSON

{
"type": "Script",
"span": {
"start": 127,
"end": 3346,
"ctxt": 0
},
"body": [
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 133,
"end": 134,
"ctxt": 0
},
"value": "C",
"optional": false
},
"declare": false,
"span": {
"start": 127,
"end": 2382,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "Constructor",
"span": {
"start": 141,
"end": 333,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 141,
"end": 152,
"ctxt": 0
},
"value": "constructor",
"optional": false
},
"params": [],
"body": {
"type": "BlockStatement",
"span": {
"start": 155,
"end": 333,
"ctxt": 0
},
"stmts": [
{
"type": "IfStatement",
"span": {
"start": 165,
"end": 298,
"ctxt": 0
},
"test": {
"type": "CallExpression",
"span": {
"start": 169,
"end": 182,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 169,
"end": 180,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 169,
"end": 173,
"ctxt": 0
},
"value": "Math",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 174,
"end": 180,
"ctxt": 0
},
"value": "random",
"optional": false
}
},
"arguments": [],
"typeArguments": null
},
"consequent": {
"type": "BlockStatement",
"span": {
"start": 184,
"end": 231,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 198,
"end": 221,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 198,
"end": 220,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 198,
"end": 216,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 198,
"end": 202,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 203,
"end": 216,
"ctxt": 0
},
"value": "inConstructor",
"optional": false
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 219,
"end": 220,
"ctxt": 0
},
"value": 0.0,
"raw": "0"
}
}
}
]
},
"alternate": {
"type": "BlockStatement",
"span": {
"start": 245,
"end": 298,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 259,
"end": 288,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 259,
"end": 288,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 259,
"end": 277,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 259,
"end": 263,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 264,
"end": 277,
"ctxt": 0
},
"value": "inConstructor",
"optional": false
}
},
"right": {
"type": "StringLiteral",
"span": {
"start": 280,
"end": 288,
"ctxt": 0
},
"value": "string",
"raw": "\"string\""
}
}
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 307,
"end": 327,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 307,
"end": 326,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 307,
"end": 322,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 307,
"end": 311,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 312,
"end": 322,
"ctxt": 0
},
"value": "inMultiple",
"optional": false
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 325,
"end": 326,
"ctxt": 0
},
"value": 0.0,
"raw": "0"
}
}
}
]
},
"accessibility": null,
"isOptional": false
},
{
"type": "ClassMethod",
"span": {
"start": 338,
"end": 877,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 338,
"end": 344,
"ctxt": 0
},
"value": "method",
"optional": false
},
"function": {
"params": [],
"decorators": [],
"span": {
"start": 338,
"end": 877,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 347,
"end": 877,
"ctxt": 0
},
"stmts": [
{
"type": "IfStatement",
"span": {
"start": 357,
"end": 569,
"ctxt": 0
},
"test": {
"type": "CallExpression",
"span": {
"start": 361,
"end": 374,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 361,
"end": 372,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 361,
"end": 365,
"ctxt": 0
},
"value": "Math",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 366,
"end": 372,
"ctxt": 0
},
"value": "random",
"optional": false
}
},
"arguments": [],
"typeArguments": null
},
"consequent": {
"type": "BlockStatement",
"span": {
"start": 376,
"end": 460,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 390,
"end": 408,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 390,
"end": 407,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 390,
"end": 403,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 390,
"end": 394,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 395,
"end": 403,
"ctxt": 0
},
"value": "inMethod",
"optional": false
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 406,
"end": 407,
"ctxt": 0
},
"value": 0.0,
"raw": "0"
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 421,
"end": 450,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 421,
"end": 449,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 421,
"end": 442,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 421,
"end": 425,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 426,
"end": 442,
"ctxt": 0
},
"value": "inMethodNullable",
"optional": false
}
},
"right": {
"type": "NullLiteral",
"span": {
"start": 445,
"end": 449,
"ctxt": 0
}
}
}
}
]
},
"alternate": {
"type": "BlockStatement",
"span": {
"start": 474,
"end": 569,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 488,
"end": 512,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 488,
"end": 512,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 488,
"end": 501,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 488,
"end": 492,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 493,
"end": 501,
"ctxt": 0
},
"value": "inMethod",
"optional": false
}
},
"right": {
"type": "StringLiteral",
"span": {
"start": 504,
"end": 512,
"ctxt": 0
},
"value": "string",
"raw": "\"string\""
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 525,
"end": 559,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 525,
"end": 558,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 525,
"end": 546,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 525,
"end": 529,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 530,
"end": 546,
"ctxt": 0
},
"value": "inMethodNullable",
"optional": false
}
},
"right": {
"type": "Identifier",
"span": {
"start": 549,
"end": 558,
"ctxt": 0
},
"value": "undefined",
"optional": false
}
}
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 578,
"end": 605,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 578,
"end": 604,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 578,
"end": 593,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 578,
"end": 582,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 583,
"end": 593,
"ctxt": 0
},
"value": "inMultiple",
"optional": false
}
},
"right": {
"type": "StringLiteral",
"span": {
"start": 596,
"end": 604,
"ctxt": 0
},
"value": "string",
"raw": "\"string\""
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 614,
"end": 648,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 614,
"end": 647,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 614,
"end": 636,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 614,
"end": 618,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 619,
"end": 636,
"ctxt": 0
},
"value": "inMultipleMethods",
"optional": false
}
},
"right": {
"type": "StringLiteral",
"span": {
"start": 639,
"end": 647,
"ctxt": 0
},
"value": "string",
"raw": "\"string\""
}
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 658,
"end": 871,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 662,
"end": 870,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 662,
"end": 668,
"ctxt": 0
},
"value": "action",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrowFunctionExpression",
"span": {
"start": 671,
"end": 870,
"ctxt": 0
},
"params": [],
"body": {
"type": "BlockStatement",
"span": {
"start": 677,
"end": 870,
"ctxt": 0
},
"stmts": [
{
"type": "IfStatement",
"span": {
"start": 691,
"end": 860,
"ctxt": 0
},
"test": {
"type": "CallExpression",
"span": {
"start": 695,
"end": 708,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 695,
"end": 706,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 695,
"end": 699,
"ctxt": 0
},
"value": "Math",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 700,
"end": 706,
"ctxt": 0
},
"value": "random",
"optional": false
}
},
"arguments": [],
"typeArguments": null
},
"consequent": {
"type": "BlockStatement",
"span": {
"start": 710,
"end": 773,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 728,
"end": 759,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 728,
"end": 758,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 728,
"end": 754,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 728,
"end": 732,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 733,
"end": 754,
"ctxt": 0
},
"value": "inNestedArrowFunction",
"optional": false
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 757,
"end": 758,
"ctxt": 0
},
"value": 0.0,
"raw": "0"
}
}
}
]
},
"alternate": {
"type": "BlockStatement",
"span": {
"start": 791,
"end": 860,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 809,
"end": 846,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 809,
"end": 846,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 809,
"end": 835,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 809,
"end": 813,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 814,
"end": 835,
"ctxt": 0
},
"value": "inNestedArrowFunction",
"optional": false
}
},
"right": {
"type": "StringLiteral",
"span": {
"start": 838,
"end": 846,
"ctxt": 0
},
"value": "string",
"raw": "\"string\""
}
}
}
]
}
}
]
},
"async": false,
"generator": false,
"typeParameters": null,
"returnType": null
},
"definite": false
}
]
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
"kind": "method",
"isStatic": false,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false
},
{
"type": "ClassMethod",
"span": {
"start": 882,
"end": 1100,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 882,
"end": 885,
"ctxt": 0
},
"value": "get",
"optional": false
},
"function": {
"params": [],
"decorators": [],
"span": {
"start": 882,
"end": 1100,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 888,
"end": 1100,
"ctxt": 0
},
"stmts": [
{
"type": "IfStatement",
"span": {
"start": 898,
"end": 1021,
"ctxt": 0
},
"test": {
"type": "CallExpression",
"span": {
"start": 902,
"end": 915,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 902,
"end": 913,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 902,
"end": 906,
"ctxt": 0
},
"value": "Math",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 907,
"end": 913,
"ctxt": 0
},
"value": "random",
"optional": false
}
},
"arguments": [],
"typeArguments": null
},
"consequent": {
"type": "BlockStatement",
"span": {
"start": 917,
"end": 959,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 931,
"end": 949,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 931,
"end": 948,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 931,
"end": 944,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 931,
"end": 935,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 936,
"end": 944,
"ctxt": 0
},
"value": "inGetter",
"optional": false
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 947,
"end": 948,
"ctxt": 0
},
"value": 0.0,
"raw": "0"
}
}
}
]
},
"alternate": {
"type": "BlockStatement",
"span": {
"start": 973,
"end": 1021,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 987,
"end": 1011,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 987,
"end": 1011,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 987,
"end": 1000,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 987,
"end": 991,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 992,
"end": 1000,
"ctxt": 0
},
"value": "inGetter",
"optional": false
}
},
"right": {
"type": "StringLiteral",
"span": {
"start": 1003,
"end": 1011,
"ctxt": 0
},
"value": "string",
"raw": "\"string\""
}
}
}
]
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1030,
"end": 1054,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1030,
"end": 1053,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 1030,
"end": 1045,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 1030,
"end": 1034,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 1035,
"end": 1045,
"ctxt": 0
},
"value": "inMultiple",
"optional": false
}
},
"right": {
"type": "BooleanLiteral",
"span": {
"start": 1048,
"end": 1053,
"ctxt": 0
},
"value": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1063,
"end": 1094,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1063,
"end": 1093,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 1063,
"end": 1085,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 1063,
"end": 1067,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 1068,
"end": 1085,
"ctxt": 0
},
"value": "inMultipleMethods",
"optional": false
}
},
"right": {
"type": "BooleanLiteral",
"span": {
"start": 1088,
"end": 1093,
"ctxt": 0
},
"value": false
}
}
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
"kind": "method",
"isStatic": false,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false
},
{
"type": "ClassMethod",
"span": {
"start": 1105,
"end": 1250,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 1105,
"end": 1108,
"ctxt": 0
},
"value": "set",
"optional": false
},
"function": {
"params": [],
"decorators": [],
"span": {
"start": 1105,
"end": 1250,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 1111,
"end": 1250,
"ctxt": 0
},
"stmts": [
{
"type": "IfStatement",
"span": {
"start": 1121,
"end": 1244,
"ctxt": 0
},
"test": {
"type": "CallExpression",
"span": {
"start": 1125,
"end": 1138,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 1125,
"end": 1136,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1125,
"end": 1129,
"ctxt": 0
},
"value": "Math",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 1130,
"end": 1136,
"ctxt": 0
},
"value": "random",
"optional": false
}
},
"arguments": [],
"typeArguments": null
},
"consequent": {
"type": "BlockStatement",
"span": {
"start": 1140,
"end": 1182,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 1154,
"end": 1172,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1154,
"end": 1171,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 1154,
"end": 1167,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 1154,
"end": 1158,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 1159,
"end": 1167,
"ctxt": 0
},
"value": "inSetter",
"optional": false
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 1170,
"end": 1171,
"ctxt": 0
},
"value": 0.0,
"raw": "0"
}
}
}
]
},
"alternate": {
"type": "BlockStatement",
"span": {
"start": 1196,
"end": 1244,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 1210,
"end": 1234,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1210,
"end": 1234,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 1210,
"end": 1223,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 1210,
"end": 1214,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 1215,
"end": 1223,
"ctxt": 0
},
"value": "inSetter",
"optional": false
}
},
"right": {
"type": "StringLiteral",
"span": {
"start": 1226,
"end": 1234,
"ctxt": 0
},
"value": "string",
"raw": "\"string\""
}
}
}
]
}
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
"kind": "method",
"isStatic": false,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false
},
{
"type": "ClassProperty",
"span": {
"start": 1255,
"end": 1433,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 1255,
"end": 1259,
"ctxt": 0
},
"value": "prop",
"optional": false
},
"value": {
"type": "ArrowFunctionExpression",
"span": {
"start": 1262,
"end": 1433,
"ctxt": 0
},
"params": [],
"body": {
"type": "BlockStatement",
"span": {
"start": 1268,
"end": 1433,
"ctxt": 0
},
"stmts": [
{
"type": "IfStatement",
"span": {
"start": 1278,
"end": 1427,
"ctxt": 0
},
"test": {
"type": "CallExpression",
"span": {
"start": 1282,
"end": 1295,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 1282,
"end": 1293,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1282,
"end": 1286,
"ctxt": 0
},
"value": "Math",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 1287,
"end": 1293,
"ctxt": 0
},
"value": "random",
"optional": false
}
},
"arguments": [],
"typeArguments": null
},
"consequent": {
"type": "BlockStatement",
"span": {
"start": 1297,
"end": 1352,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 1311,
"end": 1342,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1311,
"end": 1341,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 1311,
"end": 1337,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 1311,
"end": 1315,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 1316,
"end": 1337,
"ctxt": 0
},
"value": "inPropertyDeclaration",
"optional": false
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 1340,
"end": 1341,
"ctxt": 0
},
"value": 0.0,
"raw": "0"
}
}
}
]
},
"alternate": {
"type": "BlockStatement",
"span": {
"start": 1366,
"end": 1427,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 1380,
"end": 1417,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1380,
"end": 1417,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 1380,
"end": 1406,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 1380,
"end": 1384,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 1385,
"end": 1406,
"ctxt": 0
},
"value": "inPropertyDeclaration",
"optional": false
}
},
"right": {
"type": "StringLiteral",
"span": {
"start": 1409,
"end": 1417,
"ctxt": 0
},
"value": "string",
"raw": "\"string\""
}
}
}
]
}
}
]
},
"async": false,
"generator": false,
"typeParameters": null,
"returnType": null
},
"typeAnnotation": null,
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassMethod",
"span": {
"start": 1438,
"end": 1840,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 1445,
"end": 1451,
"ctxt": 0
},
"value": "method",
"optional": false
},
"function": {
"params": [],
"decorators": [],
"span": {
"start": 1438,
"end": 1840,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 1454,
"end": 1840,
"ctxt": 0
},
"stmts": [
{
"type": "IfStatement",
"span": {
"start": 1464,
"end": 1599,
"ctxt": 0
},
"test": {
"type": "CallExpression",
"span": {
"start": 1468,
"end": 1481,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 1468,
"end": 1479,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1468,
"end": 1472,
"ctxt": 0
},
"value": "Math",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 1473,
"end": 1479,
"ctxt": 0
},
"value": "random",
"optional": false
}
},
"arguments": [],
"typeArguments": null
},
"consequent": {
"type": "BlockStatement",
"span": {
"start": 1483,
"end": 1531,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 1497,
"end": 1521,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1497,
"end": 1520,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 1497,
"end": 1516,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 1497,
"end": 1501,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 1502,
"end": 1516,
"ctxt": 0
},
"value": "inStaticMethod",
"optional": false
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 1519,
"end": 1520,
"ctxt": 0
},
"value": 0.0,
"raw": "0"
}
}
}
]
},
"alternate": {
"type": "BlockStatement",
"span": {
"start": 1545,
"end": 1599,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 1559,
"end": 1589,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1559,
"end": 1589,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 1559,
"end": 1578,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 1559,
"end": 1563,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 1564,
"end": 1578,
"ctxt": 0
},
"value": "inStaticMethod",
"optional": false
}
},
"right": {
"type": "StringLiteral",
"span": {
"start": 1581,
"end": 1589,
"ctxt": 0
},
"value": "string",
"raw": "\"string\""
}
}
}
]
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 1609,
"end": 1834,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1613,
"end": 1833,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1613,
"end": 1619,
"ctxt": 0
},
"value": "action",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrowFunctionExpression",
"span": {
"start": 1622,
"end": 1833,
"ctxt": 0
},
"params": [],
"body": {
"type": "BlockStatement",
"span": {
"start": 1628,
"end": 1833,
"ctxt": 0
},
"stmts": [
{
"type": "IfStatement",
"span": {
"start": 1642,
"end": 1823,
"ctxt": 0
},
"test": {
"type": "CallExpression",
"span": {
"start": 1646,
"end": 1659,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 1646,
"end": 1657,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1646,
"end": 1650,
"ctxt": 0
},
"value": "Math",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 1651,
"end": 1657,
"ctxt": 0
},
"value": "random",
"optional": false
}
},
"arguments": [],
"typeArguments": null
},
"consequent": {
"type": "BlockStatement",
"span": {
"start": 1661,
"end": 1730,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 1679,
"end": 1716,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1679,
"end": 1715,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 1679,
"end": 1711,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 1679,
"end": 1683,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 1684,
"end": 1711,
"ctxt": 0
},
"value": "inStaticNestedArrowFunction",
"optional": false
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 1714,
"end": 1715,
"ctxt": 0
},
"value": 0.0,
"raw": "0"
}
}
}
]
},
"alternate": {
"type": "BlockStatement",
"span": {
"start": 1748,
"end": 1823,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 1766,
"end": 1809,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1766,
"end": 1809,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 1766,
"end": 1798,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 1766,
"end": 1770,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 1771,
"end": 1798,
"ctxt": 0
},
"value": "inStaticNestedArrowFunction",
"optional": false
}
},
"right": {
"type": "StringLiteral",
"span": {
"start": 1801,
"end": 1809,
"ctxt": 0
},
"value": "string",
"raw": "\"string\""
}
}
}
]
}
}
]
},
"async": false,
"generator": false,
"typeParameters": null,
"returnType": null
},
"definite": false
}
]
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
"kind": "method",
"isStatic": true,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false
},
{
"type": "ClassMethod",
"span": {
"start": 1845,
"end": 2009,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 1852,
"end": 1855,
"ctxt": 0
},
"value": "get",
"optional": false
},
"function": {
"params": [],
"decorators": [],
"span": {
"start": 1845,
"end": 2009,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 1858,
"end": 2009,
"ctxt": 0
},
"stmts": [
{
"type": "IfStatement",
"span": {
"start": 1868,
"end": 2003,
"ctxt": 0
},
"test": {
"type": "CallExpression",
"span": {
"start": 1872,
"end": 1885,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 1872,
"end": 1883,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1872,
"end": 1876,
"ctxt": 0
},
"value": "Math",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 1877,
"end": 1883,
"ctxt": 0
},
"value": "random",
"optional": false
}
},
"arguments": [],
"typeArguments": null
},
"consequent": {
"type": "BlockStatement",
"span": {
"start": 1887,
"end": 1935,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 1901,
"end": 1925,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1901,
"end": 1924,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 1901,
"end": 1920,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 1901,
"end": 1905,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 1906,
"end": 1920,
"ctxt": 0
},
"value": "inStaticGetter",
"optional": false
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 1923,
"end": 1924,
"ctxt": 0
},
"value": 0.0,
"raw": "0"
}
}
}
]
},
"alternate": {
"type": "BlockStatement",
"span": {
"start": 1949,
"end": 2003,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 1963,
"end": 1993,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1963,
"end": 1993,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 1963,
"end": 1982,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 1963,
"end": 1967,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 1968,
"end": 1982,
"ctxt": 0
},
"value": "inStaticGetter",
"optional": false
}
},
"right": {
"type": "StringLiteral",
"span": {
"start": 1985,
"end": 1993,
"ctxt": 0
},
"value": "string",
"raw": "\"string\""
}
}
}
]
}
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
"kind": "method",
"isStatic": true,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false
},
{
"type": "ClassMethod",
"span": {
"start": 2014,
"end": 2178,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 2021,
"end": 2024,
"ctxt": 0
},
"value": "set",
"optional": false
},
"function": {
"params": [],
"decorators": [],
"span": {
"start": 2014,
"end": 2178,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 2027,
"end": 2178,
"ctxt": 0
},
"stmts": [
{
"type": "IfStatement",
"span": {
"start": 2037,
"end": 2172,
"ctxt": 0
},
"test": {
"type": "CallExpression",
"span": {
"start": 2041,
"end": 2054,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 2041,
"end": 2052,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 2041,
"end": 2045,
"ctxt": 0
},
"value": "Math",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 2046,
"end": 2052,
"ctxt": 0
},
"value": "random",
"optional": false
}
},
"arguments": [],
"typeArguments": null
},
"consequent": {
"type": "BlockStatement",
"span": {
"start": 2056,
"end": 2104,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 2070,
"end": 2094,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 2070,
"end": 2093,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 2070,
"end": 2089,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 2070,
"end": 2074,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 2075,
"end": 2089,
"ctxt": 0
},
"value": "inStaticSetter",
"optional": false
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 2092,
"end": 2093,
"ctxt": 0
},
"value": 0.0,
"raw": "0"
}
}
}
]
},
"alternate": {
"type": "BlockStatement",
"span": {
"start": 2118,
"end": 2172,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 2132,
"end": 2162,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 2132,
"end": 2162,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 2132,
"end": 2151,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 2132,
"end": 2136,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 2137,
"end": 2151,
"ctxt": 0
},
"value": "inStaticSetter",
"optional": false
}
},
"right": {
"type": "StringLiteral",
"span": {
"start": 2154,
"end": 2162,
"ctxt": 0
},
"value": "string",
"raw": "\"string\""
}
}
}
]
}
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
"kind": "method",
"isStatic": true,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false
},
{
"type": "ClassProperty",
"span": {
"start": 2183,
"end": 2380,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 2190,
"end": 2194,
"ctxt": 0
},
"value": "prop",
"optional": false
},
"value": {
"type": "ArrowFunctionExpression",
"span": {
"start": 2197,
"end": 2380,
"ctxt": 0
},
"params": [],
"body": {
"type": "BlockStatement",
"span": {
"start": 2203,
"end": 2380,
"ctxt": 0
},
"stmts": [
{
"type": "IfStatement",
"span": {
"start": 2213,
"end": 2374,
"ctxt": 0
},
"test": {
"type": "CallExpression",
"span": {
"start": 2217,
"end": 2230,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 2217,
"end": 2228,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 2217,
"end": 2221,
"ctxt": 0
},
"value": "Math",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 2222,
"end": 2228,
"ctxt": 0
},
"value": "random",
"optional": false
}
},
"arguments": [],
"typeArguments": null
},
"consequent": {
"type": "BlockStatement",
"span": {
"start": 2232,
"end": 2293,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 2246,
"end": 2283,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 2246,
"end": 2282,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 2246,
"end": 2278,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 2246,
"end": 2250,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 2251,
"end": 2278,
"ctxt": 0
},
"value": "inStaticPropertyDeclaration",
"optional": false
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 2281,
"end": 2282,
"ctxt": 0
},
"value": 0.0,
"raw": "0"
}
}
}
]
},
"alternate": {
"type": "BlockStatement",
"span": {
"start": 2307,
"end": 2374,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 2321,
"end": 2364,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 2321,
"end": 2364,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 2321,
"end": 2353,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 2321,
"end": 2325,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 2326,
"end": 2353,
"ctxt": 0
},
"value": "inStaticPropertyDeclaration",
"optional": false
}
},
"right": {
"type": "StringLiteral",
"span": {
"start": 2356,
"end": 2364,
"ctxt": 0
},
"value": "string",
"raw": "\"string\""
}
}
}
]
}
}
]
},
"async": false,
"generator": false,
"typeParameters": null,
"returnType": null
},
"typeAnnotation": null,
"isStatic": true,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
}
],
"superClass": null,
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "VariableDeclaration",
"span": {
"start": 2403,
"end": 2419,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2407,
"end": 2418,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2407,
"end": 2408,
"ctxt": 0
},
"value": "c",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "NewExpression",
"span": {
"start": 2411,
"end": 2418,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 2415,
"end": 2416,
"ctxt": 0
},
"value": "C",
"optional": false
},
"arguments": [],
"typeArguments": null
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2421,
"end": 2457,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2425,
"end": 2456,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2425,
"end": 2439,
"ctxt": 0
},
"value": "stringOrNumber",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2439,
"end": 2456,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsUnionType",
"span": {
"start": 2441,
"end": 2456,
"ctxt": 0
},
"types": [
{
"type": "TsKeywordType",
"span": {
"start": 2441,
"end": 2447,
"ctxt": 0
},
"kind": "string"
},
{
"type": "TsKeywordType",
"span": {
"start": 2450,
"end": 2456,
"ctxt": 0
},
"kind": "number"
}
]
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2458,
"end": 2495,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2462,
"end": 2494,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2462,
"end": 2476,
"ctxt": 0
},
"value": "stringOrNumber",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 2479,
"end": 2494,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 2479,
"end": 2480,
"ctxt": 0
},
"value": "c",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 2481,
"end": 2494,
"ctxt": 0
},
"value": "inConstructor",
"optional": false
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2497,
"end": 2556,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2501,
"end": 2555,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2501,
"end": 2526,
"ctxt": 0
},
"value": "stringOrNumberOrUndefined",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2526,
"end": 2555,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsUnionType",
"span": {
"start": 2528,
"end": 2555,
"ctxt": 0
},
"types": [
{
"type": "TsKeywordType",
"span": {
"start": 2528,
"end": 2534,
"ctxt": 0
},
"kind": "string"
},
{
"type": "TsKeywordType",
"span": {
"start": 2537,
"end": 2543,
"ctxt": 0
},
"kind": "number"
},
{
"type": "TsKeywordType",
"span": {
"start": 2546,
"end": 2555,
"ctxt": 0
},
"kind": "undefined"
}
]
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2558,
"end": 2601,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2562,
"end": 2600,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2562,
"end": 2587,
"ctxt": 0
},
"value": "stringOrNumberOrUndefined",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 2590,
"end": 2600,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 2590,
"end": 2591,
"ctxt": 0
},
"value": "c",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 2592,
"end": 2600,
"ctxt": 0
},
"value": "inMethod",
"optional": false
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2602,
"end": 2645,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2606,
"end": 2644,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2606,
"end": 2631,
"ctxt": 0
},
"value": "stringOrNumberOrUndefined",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 2634,
"end": 2644,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 2634,
"end": 2635,
"ctxt": 0
},
"value": "c",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 2636,
"end": 2644,
"ctxt": 0
},
"value": "inGetter",
"optional": false
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2646,
"end": 2689,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2650,
"end": 2688,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2650,
"end": 2675,
"ctxt": 0
},
"value": "stringOrNumberOrUndefined",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 2678,
"end": 2688,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 2678,
"end": 2679,
"ctxt": 0
},
"value": "c",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 2680,
"end": 2688,
"ctxt": 0
},
"value": "inSetter",
"optional": false
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2690,
"end": 2746,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2694,
"end": 2745,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2694,
"end": 2719,
"ctxt": 0
},
"value": "stringOrNumberOrUndefined",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 2722,
"end": 2745,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 2722,
"end": 2723,
"ctxt": 0
},
"value": "c",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 2724,
"end": 2745,
"ctxt": 0
},
"value": "inPropertyDeclaration",
"optional": false
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2747,
"end": 2802,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2751,
"end": 2802,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2751,
"end": 2776,
"ctxt": 0
},
"value": "stringOrNumberOrUndefined",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 2779,
"end": 2802,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 2779,
"end": 2780,
"ctxt": 0
},
"value": "c",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 2781,
"end": 2802,
"ctxt": 0
},
"value": "inNestedArrowFunction",
"optional": false
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2804,
"end": 2859,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2808,
"end": 2858,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2808,
"end": 2831,
"ctxt": 0
},
"value": "stringOrNumberOrBoolean",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2831,
"end": 2858,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsUnionType",
"span": {
"start": 2833,
"end": 2858,
"ctxt": 0
},
"types": [
{
"type": "TsKeywordType",
"span": {
"start": 2833,
"end": 2839,
"ctxt": 0
},
"kind": "string"
},
{
"type": "TsKeywordType",
"span": {
"start": 2842,
"end": 2848,
"ctxt": 0
},
"kind": "number"
},
{
"type": "TsKeywordType",
"span": {
"start": 2851,
"end": 2858,
"ctxt": 0
},
"kind": "boolean"
}
]
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2861,
"end": 2880,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2865,
"end": 2879,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2865,
"end": 2871,
"ctxt": 0
},
"value": "number",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2871,
"end": 2879,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2873,
"end": 2879,
"ctxt": 0
},
"kind": "number"
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2881,
"end": 2907,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2885,
"end": 2906,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2885,
"end": 2891,
"ctxt": 0
},
"value": "number",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 2894,
"end": 2906,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 2894,
"end": 2895,
"ctxt": 0
},
"value": "c",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 2896,
"end": 2906,
"ctxt": 0
},
"value": "inMultiple",
"optional": false
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2908,
"end": 2970,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2912,
"end": 2969,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2912,
"end": 2938,
"ctxt": 0
},
"value": "stringOrBooleanOrUndefined",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2939,
"end": 2969,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsUnionType",
"span": {
"start": 2941,
"end": 2969,
"ctxt": 0
},
"types": [
{
"type": "TsKeywordType",
"span": {
"start": 2941,
"end": 2947,
"ctxt": 0
},
"kind": "string"
},
{
"type": "TsKeywordType",
"span": {
"start": 2950,
"end": 2957,
"ctxt": 0
},
"kind": "boolean"
},
{
"type": "TsKeywordType",
"span": {
"start": 2960,
"end": 2969,
"ctxt": 0
},
"kind": "undefined"
}
]
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2971,
"end": 3024,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2975,
"end": 3023,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2975,
"end": 3001,
"ctxt": 0
},
"value": "stringOrBooleanOrUndefined",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 3004,
"end": 3023,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 3004,
"end": 3005,
"ctxt": 0
},
"value": "c",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 3006,
"end": 3023,
"ctxt": 0
},
"value": "inMultipleMethods",
"optional": false
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3025,
"end": 3038,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3029,
"end": 3037,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3029,
"end": 3032,
"ctxt": 0
},
"value": "any",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3032,
"end": 3037,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3034,
"end": 3037,
"ctxt": 0
},
"kind": "any"
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3039,
"end": 3068,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3043,
"end": 3067,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3043,
"end": 3046,
"ctxt": 0
},
"value": "any",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 3049,
"end": 3067,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 3049,
"end": 3050,
"ctxt": 0
},
"value": "c",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 3051,
"end": 3067,
"ctxt": 0
},
"value": "inMethodNullable",
"optional": false
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3071,
"end": 3120,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3075,
"end": 3119,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3075,
"end": 3100,
"ctxt": 0
},
"value": "stringOrNumberOrUndefined",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 3103,
"end": 3119,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 3103,
"end": 3104,
"ctxt": 0
},
"value": "C",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 3105,
"end": 3119,
"ctxt": 0
},
"value": "inStaticMethod",
"optional": false
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3121,
"end": 3170,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3125,
"end": 3169,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3125,
"end": 3150,
"ctxt": 0
},
"value": "stringOrNumberOrUndefined",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 3153,
"end": 3169,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 3153,
"end": 3154,
"ctxt": 0
},
"value": "C",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 3155,
"end": 3169,
"ctxt": 0
},
"value": "inStaticGetter",
"optional": false
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3171,
"end": 3220,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3175,
"end": 3219,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3175,
"end": 3200,
"ctxt": 0
},
"value": "stringOrNumberOrUndefined",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 3203,
"end": 3219,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 3203,
"end": 3204,
"ctxt": 0
},
"value": "C",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 3205,
"end": 3219,
"ctxt": 0
},
"value": "inStaticSetter",
"optional": false
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3221,
"end": 3283,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3225,
"end": 3282,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3225,
"end": 3250,
"ctxt": 0
},
"value": "stringOrNumberOrUndefined",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 3253,
"end": 3282,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 3253,
"end": 3254,
"ctxt": 0
},
"value": "C",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 3255,
"end": 3282,
"ctxt": 0
},
"value": "inStaticPropertyDeclaration",
"optional": false
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3284,
"end": 3346,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3288,
"end": 3345,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3288,
"end": 3313,
"ctxt": 0
},
"value": "stringOrNumberOrUndefined",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 3316,
"end": 3345,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 3316,
"end": 3317,
"ctxt": 0
},
"value": "C",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 3318,
"end": 3345,
"ctxt": 0
},
"value": "inStaticNestedArrowFunction",
"optional": false
}
},
"definite": false
}
]
}
],
"interpreter": null
}