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

2446 lines
64 KiB
JSON

{
"type": "Script",
"span": {
"start": 100,
"end": 1072,
"ctxt": 0
},
"body": [
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 114,
"end": 115,
"ctxt": 0
},
"value": "B",
"optional": false
},
"declare": true,
"span": {
"start": 100,
"end": 194,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 122,
"end": 136,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 129,
"end": 130,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 130,
"end": 135,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 132,
"end": 135,
"ctxt": 0
},
"kind": "any"
}
},
"isStatic": true,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassMethod",
"span": {
"start": 141,
"end": 160,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 148,
"end": 149,
"ctxt": 0
},
"value": "f",
"optional": false
},
"function": {
"params": [],
"decorators": [],
"span": {
"start": 141,
"end": 160,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 151,
"end": 159,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 153,
"end": 159,
"ctxt": 0
},
"kind": "number"
}
}
},
"kind": "method",
"isStatic": true,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false
},
{
"type": "ClassProperty",
"span": {
"start": 165,
"end": 175,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 165,
"end": 166,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 166,
"end": 174,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 168,
"end": 174,
"ctxt": 0
},
"kind": "number"
}
},
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassMethod",
"span": {
"start": 180,
"end": 192,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 180,
"end": 181,
"ctxt": 0
},
"value": "f",
"optional": false
},
"function": {
"params": [],
"decorators": [],
"span": {
"start": 180,
"end": 192,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 183,
"end": 191,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 185,
"end": 191,
"ctxt": 0
},
"kind": "number"
}
}
},
"kind": "method",
"isStatic": false,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false
}
],
"superClass": null,
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 202,
"end": 203,
"ctxt": 0
},
"value": "C",
"optional": false
},
"declare": false,
"span": {
"start": 196,
"end": 1072,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 220,
"end": 247,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 227,
"end": 228,
"ctxt": 0
},
"value": "x",
"optional": false
},
"value": {
"type": "TsNonNullExpression",
"span": {
"start": 236,
"end": 246,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 236,
"end": 245,
"ctxt": 0
},
"value": "undefined",
"optional": false
}
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 228,
"end": 233,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 230,
"end": 233,
"ctxt": 0
},
"kind": "any"
}
},
"isStatic": true,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 252,
"end": 271,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 259,
"end": 261,
"ctxt": 0
},
"value": "y1",
"optional": false
},
"value": {
"type": "MemberExpression",
"span": {
"start": 264,
"end": 270,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 264,
"end": 268,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 269,
"end": 270,
"ctxt": 0
},
"value": "x",
"optional": false
}
},
"typeAnnotation": null,
"isStatic": true,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 276,
"end": 297,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 283,
"end": 285,
"ctxt": 0
},
"value": "y2",
"optional": false
},
"value": {
"type": "CallExpression",
"span": {
"start": 288,
"end": 296,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 288,
"end": 294,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 288,
"end": 292,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 293,
"end": 294,
"ctxt": 0
},
"value": "x",
"optional": false
}
},
"arguments": [],
"typeArguments": null
},
"typeAnnotation": null,
"isStatic": true,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 302,
"end": 324,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 309,
"end": 311,
"ctxt": 0
},
"value": "y3",
"optional": false
},
"value": {
"type": "CallExpression",
"span": {
"start": 314,
"end": 323,
"ctxt": 0
},
"callee": {
"type": "OptionalChainingExpression",
"span": {
"start": 314,
"end": 321,
"ctxt": 0
},
"questionDotToken": {
"start": 318,
"end": 319,
"ctxt": 0
},
"base": {
"type": "MemberExpression",
"span": {
"start": 314,
"end": 321,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 314,
"end": 318,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 320,
"end": 321,
"ctxt": 0
},
"value": "x",
"optional": false
}
}
},
"arguments": [],
"typeArguments": null
},
"typeAnnotation": null,
"isStatic": true,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 329,
"end": 355,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 336,
"end": 338,
"ctxt": 0
},
"value": "y4",
"optional": false
},
"value": {
"type": "CallExpression",
"span": {
"start": 341,
"end": 354,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 341,
"end": 352,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 341,
"end": 345,
"ctxt": 0
}
},
"property": {
"type": "Computed",
"span": {
"start": 345,
"end": 352,
"ctxt": 0
},
"expression": {
"type": "ParenthesisExpression",
"span": {
"start": 346,
"end": 351,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 347,
"end": 350,
"ctxt": 0
},
"value": "x",
"raw": "\"x\""
}
}
}
},
"arguments": [],
"typeArguments": null
},
"typeAnnotation": null,
"isStatic": true,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 360,
"end": 388,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 367,
"end": 369,
"ctxt": 0
},
"value": "y5",
"optional": false
},
"value": {
"type": "CallExpression",
"span": {
"start": 372,
"end": 387,
"ctxt": 0
},
"callee": {
"type": "OptionalChainingExpression",
"span": {
"start": 372,
"end": 385,
"ctxt": 0
},
"questionDotToken": {
"start": 376,
"end": 377,
"ctxt": 0
},
"base": {
"type": "MemberExpression",
"span": {
"start": 372,
"end": 385,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 372,
"end": 376,
"ctxt": 0
}
},
"property": {
"type": "Computed",
"span": {
"start": 378,
"end": 385,
"ctxt": 0
},
"expression": {
"type": "ParenthesisExpression",
"span": {
"start": 379,
"end": 384,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 380,
"end": 383,
"ctxt": 0
},
"value": "x",
"raw": "\"x\""
}
}
}
}
},
"arguments": [],
"typeArguments": null
},
"typeAnnotation": null,
"isStatic": true,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 393,
"end": 413,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 400,
"end": 402,
"ctxt": 0
},
"value": "z1",
"optional": false
},
"value": {
"type": "SuperPropExpression",
"span": {
"start": 405,
"end": 412,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 405,
"end": 410,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 411,
"end": 412,
"ctxt": 0
},
"value": "a",
"optional": false
}
},
"typeAnnotation": null,
"isStatic": true,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 418,
"end": 441,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 425,
"end": 427,
"ctxt": 0
},
"value": "z2",
"optional": false
},
"value": {
"type": "SuperPropExpression",
"span": {
"start": 430,
"end": 440,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 430,
"end": 435,
"ctxt": 0
}
},
"property": {
"type": "Computed",
"span": {
"start": 435,
"end": 440,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 436,
"end": 439,
"ctxt": 0
},
"value": "a",
"raw": "\"a\""
}
}
},
"typeAnnotation": null,
"isStatic": true,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 446,
"end": 468,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 453,
"end": 455,
"ctxt": 0
},
"value": "z3",
"optional": false
},
"value": {
"type": "CallExpression",
"span": {
"start": 458,
"end": 467,
"ctxt": 0
},
"callee": {
"type": "SuperPropExpression",
"span": {
"start": 458,
"end": 465,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 458,
"end": 463,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 464,
"end": 465,
"ctxt": 0
},
"value": "f",
"optional": false
}
},
"arguments": [],
"typeArguments": null
},
"typeAnnotation": null,
"isStatic": true,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 473,
"end": 498,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 480,
"end": 482,
"ctxt": 0
},
"value": "z4",
"optional": false
},
"value": {
"type": "CallExpression",
"span": {
"start": 485,
"end": 497,
"ctxt": 0
},
"callee": {
"type": "SuperPropExpression",
"span": {
"start": 485,
"end": 495,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 485,
"end": 490,
"ctxt": 0
}
},
"property": {
"type": "Computed",
"span": {
"start": 490,
"end": 495,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 491,
"end": 494,
"ctxt": 0
},
"value": "f",
"raw": "\"f\""
}
}
},
"arguments": [],
"typeArguments": null
},
"typeAnnotation": null,
"isStatic": true,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 503,
"end": 527,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 510,
"end": 512,
"ctxt": 0
},
"value": "z5",
"optional": false
},
"value": {
"type": "AssignmentExpression",
"span": {
"start": 515,
"end": 526,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "SuperPropExpression",
"span": {
"start": 515,
"end": 522,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 515,
"end": 520,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 521,
"end": 522,
"ctxt": 0
},
"value": "a",
"optional": false
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 525,
"end": 526,
"ctxt": 0
},
"value": 0.0,
"raw": "0"
}
},
"typeAnnotation": null,
"isStatic": true,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 532,
"end": 557,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 539,
"end": 541,
"ctxt": 0
},
"value": "z6",
"optional": false
},
"value": {
"type": "AssignmentExpression",
"span": {
"start": 544,
"end": 556,
"ctxt": 0
},
"operator": "+=",
"left": {
"type": "SuperPropExpression",
"span": {
"start": 544,
"end": 551,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 544,
"end": 549,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 550,
"end": 551,
"ctxt": 0
},
"value": "a",
"optional": false
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 555,
"end": 556,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
},
"typeAnnotation": null,
"isStatic": true,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 562,
"end": 601,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 569,
"end": 571,
"ctxt": 0
},
"value": "z7",
"optional": false
},
"value": {
"type": "CallExpression",
"span": {
"start": 574,
"end": 600,
"ctxt": 0
},
"callee": {
"type": "ParenthesisExpression",
"span": {
"start": 574,
"end": 598,
"ctxt": 0
},
"expression": {
"type": "ArrowFunctionExpression",
"span": {
"start": 575,
"end": 597,
"ctxt": 0
},
"params": [],
"body": {
"type": "BlockStatement",
"span": {
"start": 581,
"end": 597,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 583,
"end": 595,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 583,
"end": 594,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "SuperPropExpression",
"span": {
"start": 583,
"end": 590,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 583,
"end": 588,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 589,
"end": 590,
"ctxt": 0
},
"value": "a",
"optional": false
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 593,
"end": 594,
"ctxt": 0
},
"value": 0.0,
"raw": "0"
}
}
}
]
},
"async": false,
"generator": false,
"typeParameters": null,
"returnType": null
}
},
"arguments": [],
"typeArguments": null
},
"typeAnnotation": null,
"isStatic": true,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 606,
"end": 634,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 613,
"end": 615,
"ctxt": 0
},
"value": "z8",
"optional": false
},
"value": {
"type": "AssignmentExpression",
"span": {
"start": 618,
"end": 633,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "ArrayPattern",
"span": {
"start": 618,
"end": 627,
"ctxt": 0
},
"elements": [
{
"type": "SuperPropExpression",
"span": {
"start": 619,
"end": 626,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 619,
"end": 624,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 625,
"end": 626,
"ctxt": 0
},
"value": "a",
"optional": false
}
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ArrayExpression",
"span": {
"start": 630,
"end": 633,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 631,
"end": 632,
"ctxt": 0
},
"value": 0.0,
"raw": "0"
}
}
]
}
},
"typeAnnotation": null,
"isStatic": true,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 639,
"end": 671,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 646,
"end": 648,
"ctxt": 0
},
"value": "z9",
"optional": false
},
"value": {
"type": "AssignmentExpression",
"span": {
"start": 651,
"end": 670,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "ArrayPattern",
"span": {
"start": 651,
"end": 664,
"ctxt": 0
},
"elements": [
{
"type": "AssignmentPattern",
"span": {
"start": 652,
"end": 663,
"ctxt": 0
},
"left": {
"type": "SuperPropExpression",
"span": {
"start": 652,
"end": 659,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 652,
"end": 657,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 658,
"end": 659,
"ctxt": 0
},
"value": "a",
"optional": false
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 662,
"end": 663,
"ctxt": 0
},
"value": 0.0,
"raw": "0"
},
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ArrayExpression",
"span": {
"start": 667,
"end": 670,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 668,
"end": 669,
"ctxt": 0
},
"value": 0.0,
"raw": "0"
}
}
]
}
},
"typeAnnotation": null,
"isStatic": true,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 676,
"end": 708,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 683,
"end": 686,
"ctxt": 0
},
"value": "z10",
"optional": false
},
"value": {
"type": "AssignmentExpression",
"span": {
"start": 689,
"end": 707,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "ArrayPattern",
"span": {
"start": 689,
"end": 701,
"ctxt": 0
},
"elements": [
{
"type": "RestElement",
"span": {
"start": 693,
"end": 700,
"ctxt": 0
},
"rest": {
"start": 690,
"end": 693,
"ctxt": 0
},
"argument": {
"type": "SuperPropExpression",
"span": {
"start": 693,
"end": 700,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 693,
"end": 698,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 699,
"end": 700,
"ctxt": 0
},
"value": "a",
"optional": false
}
},
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ArrayExpression",
"span": {
"start": 704,
"end": 707,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 705,
"end": 706,
"ctxt": 0
},
"value": 0.0,
"raw": "0"
}
}
]
}
},
"typeAnnotation": null,
"isStatic": true,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 713,
"end": 752,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 720,
"end": 723,
"ctxt": 0
},
"value": "z11",
"optional": false
},
"value": {
"type": "AssignmentExpression",
"span": {
"start": 726,
"end": 751,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "ObjectPattern",
"span": {
"start": 726,
"end": 740,
"ctxt": 0
},
"properties": [
{
"type": "KeyValuePatternProperty",
"key": {
"type": "Identifier",
"span": {
"start": 728,
"end": 729,
"ctxt": 0
},
"value": "x",
"optional": false
},
"value": {
"type": "SuperPropExpression",
"span": {
"start": 731,
"end": 738,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 731,
"end": 736,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 737,
"end": 738,
"ctxt": 0
},
"value": "a",
"optional": false
}
}
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ObjectExpression",
"span": {
"start": 743,
"end": 751,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 745,
"end": 746,
"ctxt": 0
},
"value": "x",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 748,
"end": 749,
"ctxt": 0
},
"value": 0.0,
"raw": "0"
}
}
]
}
},
"typeAnnotation": null,
"isStatic": true,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 757,
"end": 800,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 764,
"end": 767,
"ctxt": 0
},
"value": "z12",
"optional": false
},
"value": {
"type": "AssignmentExpression",
"span": {
"start": 770,
"end": 799,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "ObjectPattern",
"span": {
"start": 770,
"end": 788,
"ctxt": 0
},
"properties": [
{
"type": "KeyValuePatternProperty",
"key": {
"type": "Identifier",
"span": {
"start": 772,
"end": 773,
"ctxt": 0
},
"value": "x",
"optional": false
},
"value": {
"type": "AssignmentPattern",
"span": {
"start": 775,
"end": 786,
"ctxt": 0
},
"left": {
"type": "SuperPropExpression",
"span": {
"start": 775,
"end": 782,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 775,
"end": 780,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 781,
"end": 782,
"ctxt": 0
},
"value": "a",
"optional": false
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 785,
"end": 786,
"ctxt": 0
},
"value": 0.0,
"raw": "0"
},
"typeAnnotation": null
}
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ObjectExpression",
"span": {
"start": 791,
"end": 799,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 793,
"end": 794,
"ctxt": 0
},
"value": "x",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 796,
"end": 797,
"ctxt": 0
},
"value": 0.0,
"raw": "0"
}
}
]
}
},
"typeAnnotation": null,
"isStatic": true,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 805,
"end": 844,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 812,
"end": 815,
"ctxt": 0
},
"value": "z13",
"optional": false
},
"value": {
"type": "AssignmentExpression",
"span": {
"start": 818,
"end": 843,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "ObjectPattern",
"span": {
"start": 818,
"end": 832,
"ctxt": 0
},
"properties": [
{
"type": "RestElement",
"span": {
"start": 820,
"end": 830,
"ctxt": 0
},
"rest": {
"start": 820,
"end": 823,
"ctxt": 0
},
"argument": {
"type": "SuperPropExpression",
"span": {
"start": 823,
"end": 830,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 823,
"end": 828,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 829,
"end": 830,
"ctxt": 0
},
"value": "a",
"optional": false
}
},
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ObjectExpression",
"span": {
"start": 835,
"end": 843,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 837,
"end": 838,
"ctxt": 0
},
"value": "x",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 840,
"end": 841,
"ctxt": 0
},
"value": 0.0,
"raw": "0"
}
}
]
}
},
"typeAnnotation": null,
"isStatic": true,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 849,
"end": 872,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 856,
"end": 859,
"ctxt": 0
},
"value": "z14",
"optional": false
},
"value": {
"type": "UpdateExpression",
"span": {
"start": 862,
"end": 871,
"ctxt": 0
},
"operator": "++",
"prefix": true,
"argument": {
"type": "SuperPropExpression",
"span": {
"start": 864,
"end": 871,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 864,
"end": 869,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 870,
"end": 871,
"ctxt": 0
},
"value": "a",
"optional": false
}
}
},
"typeAnnotation": null,
"isStatic": true,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 877,
"end": 900,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 884,
"end": 887,
"ctxt": 0
},
"value": "z15",
"optional": false
},
"value": {
"type": "UpdateExpression",
"span": {
"start": 890,
"end": 899,
"ctxt": 0
},
"operator": "--",
"prefix": true,
"argument": {
"type": "SuperPropExpression",
"span": {
"start": 892,
"end": 899,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 892,
"end": 897,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 898,
"end": 899,
"ctxt": 0
},
"value": "a",
"optional": false
}
}
},
"typeAnnotation": null,
"isStatic": true,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 905,
"end": 933,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 912,
"end": 915,
"ctxt": 0
},
"value": "z16",
"optional": false
},
"value": {
"type": "UpdateExpression",
"span": {
"start": 918,
"end": 932,
"ctxt": 0
},
"operator": "++",
"prefix": true,
"argument": {
"type": "SuperPropExpression",
"span": {
"start": 920,
"end": 932,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 920,
"end": 925,
"ctxt": 0
}
},
"property": {
"type": "Computed",
"span": {
"start": 925,
"end": 932,
"ctxt": 0
},
"expression": {
"type": "ParenthesisExpression",
"span": {
"start": 926,
"end": 931,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 927,
"end": 930,
"ctxt": 0
},
"value": "a",
"raw": "\"a\""
}
}
}
}
},
"typeAnnotation": null,
"isStatic": true,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 938,
"end": 961,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 945,
"end": 948,
"ctxt": 0
},
"value": "z17",
"optional": false
},
"value": {
"type": "UpdateExpression",
"span": {
"start": 951,
"end": 960,
"ctxt": 0
},
"operator": "++",
"prefix": false,
"argument": {
"type": "SuperPropExpression",
"span": {
"start": 951,
"end": 958,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 951,
"end": 956,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 957,
"end": 958,
"ctxt": 0
},
"value": "a",
"optional": false
}
}
},
"typeAnnotation": null,
"isStatic": true,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 966,
"end": 989,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 973,
"end": 976,
"ctxt": 0
},
"value": "z18",
"optional": false
},
"value": {
"type": "TaggedTemplateExpression",
"span": {
"start": 979,
"end": 988,
"ctxt": 0
},
"tag": {
"type": "SuperPropExpression",
"span": {
"start": 979,
"end": 986,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 979,
"end": 984,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 985,
"end": 986,
"ctxt": 0
},
"value": "a",
"optional": false
}
},
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 986,
"end": 988,
"ctxt": 0
},
"expressions": [],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 987,
"end": 987,
"ctxt": 0
},
"tail": true,
"cooked": "",
"raw": ""
}
]
}
},
"typeAnnotation": null,
"isStatic": true,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 1029,
"end": 1035,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 1029,
"end": 1030,
"ctxt": 0
},
"value": "x",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 1033,
"end": 1034,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
},
"typeAnnotation": null,
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 1040,
"end": 1051,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 1040,
"end": 1041,
"ctxt": 0
},
"value": "y",
"optional": false
},
"value": {
"type": "MemberExpression",
"span": {
"start": 1044,
"end": 1050,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 1044,
"end": 1048,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 1049,
"end": 1050,
"ctxt": 0
},
"value": "x",
"optional": false
}
},
"typeAnnotation": null,
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassProperty",
"span": {
"start": 1056,
"end": 1070,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 1056,
"end": 1057,
"ctxt": 0
},
"value": "z",
"optional": false
},
"value": {
"type": "CallExpression",
"span": {
"start": 1060,
"end": 1069,
"ctxt": 0
},
"callee": {
"type": "SuperPropExpression",
"span": {
"start": 1060,
"end": 1067,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 1060,
"end": 1065,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 1066,
"end": 1067,
"ctxt": 0
},
"value": "f",
"optional": false
}
},
"arguments": [],
"typeArguments": null
},
"typeAnnotation": null,
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
}
],
"superClass": {
"type": "Identifier",
"span": {
"start": 212,
"end": 213,
"ctxt": 0
},
"value": "B",
"optional": false
},
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
}
],
"interpreter": null
}