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

2446 lines
64 KiB
JSON
Raw Normal View History

{
"type": "Script",
"span": {
"start": 99,
"end": 1071,
"ctxt": 0
},
"body": [
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 113,
"end": 114,
"ctxt": 0
},
"value": "B",
"optional": false
},
"declare": true,
"span": {
"start": 99,
"end": 193,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 121,
"end": 135,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 128,
"end": 129,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 129,
"end": 134,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 131,
"end": 134,
"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": 140,
"end": 159,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 147,
"end": 148,
"ctxt": 0
},
"value": "f",
"optional": false
},
"function": {
"params": [],
"decorators": [],
"span": {
"start": 140,
"end": 159,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 150,
"end": 158,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 152,
"end": 158,
"ctxt": 0
},
"kind": "number"
}
}
},
"kind": "method",
"isStatic": true,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false
},
{
"type": "ClassProperty",
"span": {
"start": 164,
"end": 174,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 164,
"end": 165,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 165,
"end": 173,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 167,
"end": 173,
"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": 179,
"end": 191,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 179,
"end": 180,
"ctxt": 0
},
"value": "f",
"optional": false
},
"function": {
"params": [],
"decorators": [],
"span": {
"start": 179,
"end": 191,
"ctxt": 0
},
"body": null,
"generator": false,
"async": false,
"typeParameters": null,
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 182,
"end": 190,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 184,
"end": 190,
"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": 201,
"end": 202,
"ctxt": 0
},
"value": "C",
"optional": false
},
"declare": false,
"span": {
"start": 195,
"end": 1071,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 219,
"end": 246,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 226,
"end": 227,
"ctxt": 0
},
"value": "x",
"optional": false
},
"value": {
"type": "TsNonNullExpression",
"span": {
"start": 235,
"end": 245,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 235,
"end": 244,
"ctxt": 0
},
"value": "undefined",
"optional": false
}
},
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 227,
"end": 232,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 229,
"end": 232,
"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": 251,
"end": 270,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 258,
"end": 260,
"ctxt": 0
},
"value": "y1",
"optional": false
},
"value": {
"type": "MemberExpression",
"span": {
"start": 263,
"end": 269,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 263,
"end": 267,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 268,
"end": 269,
"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": 275,
"end": 296,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 282,
"end": 284,
"ctxt": 0
},
"value": "y2",
"optional": false
},
"value": {
"type": "CallExpression",
"span": {
"start": 287,
"end": 295,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 287,
"end": 293,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 287,
"end": 291,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 292,
"end": 293,
"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": 301,
"end": 323,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 308,
"end": 310,
"ctxt": 0
},
"value": "y3",
"optional": false
},
"value": {
"type": "CallExpression",
"span": {
"start": 313,
"end": 322,
"ctxt": 0
},
"callee": {
"type": "OptionalChainingExpression",
"span": {
"start": 313,
"end": 320,
"ctxt": 0
},
"questionDotToken": {
"start": 317,
"end": 318,
"ctxt": 0
},
"base": {
"type": "MemberExpression",
"span": {
"start": 313,
"end": 320,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 313,
"end": 317,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 319,
"end": 320,
"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": 328,
"end": 354,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 335,
"end": 337,
"ctxt": 0
},
"value": "y4",
"optional": false
},
"value": {
"type": "CallExpression",
"span": {
"start": 340,
"end": 353,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 340,
"end": 351,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 340,
"end": 344,
"ctxt": 0
}
},
"property": {
"type": "Computed",
"span": {
"start": 344,
"end": 351,
"ctxt": 0
},
"expression": {
"type": "ParenthesisExpression",
"span": {
"start": 345,
"end": 350,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 346,
"end": 349,
"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": 359,
"end": 387,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 366,
"end": 368,
"ctxt": 0
},
"value": "y5",
"optional": false
},
"value": {
"type": "CallExpression",
"span": {
"start": 371,
"end": 386,
"ctxt": 0
},
"callee": {
"type": "OptionalChainingExpression",
"span": {
"start": 371,
"end": 384,
"ctxt": 0
},
"questionDotToken": {
"start": 375,
"end": 376,
"ctxt": 0
},
"base": {
"type": "MemberExpression",
"span": {
"start": 371,
"end": 384,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 371,
"end": 375,
"ctxt": 0
}
},
"property": {
"type": "Computed",
"span": {
"start": 377,
"end": 384,
"ctxt": 0
},
"expression": {
"type": "ParenthesisExpression",
"span": {
"start": 378,
"end": 383,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 379,
"end": 382,
"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": 392,
"end": 412,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 399,
"end": 401,
"ctxt": 0
},
"value": "z1",
"optional": false
},
"value": {
"type": "SuperPropExpression",
"span": {
"start": 404,
"end": 411,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 404,
"end": 409,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 410,
"end": 411,
"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": 417,
"end": 440,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 424,
"end": 426,
"ctxt": 0
},
"value": "z2",
"optional": false
},
"value": {
"type": "SuperPropExpression",
"span": {
"start": 429,
"end": 439,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 429,
"end": 434,
"ctxt": 0
}
},
"property": {
"type": "Computed",
"span": {
"start": 434,
"end": 439,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 435,
"end": 438,
"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": 445,
"end": 467,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 452,
"end": 454,
"ctxt": 0
},
"value": "z3",
"optional": false
},
"value": {
"type": "CallExpression",
"span": {
"start": 457,
"end": 466,
"ctxt": 0
},
"callee": {
"type": "SuperPropExpression",
"span": {
"start": 457,
"end": 464,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 457,
"end": 462,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 463,
"end": 464,
"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": 472,
"end": 497,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 479,
"end": 481,
"ctxt": 0
},
"value": "z4",
"optional": false
},
"value": {
"type": "CallExpression",
"span": {
"start": 484,
"end": 496,
"ctxt": 0
},
"callee": {
"type": "SuperPropExpression",
"span": {
"start": 484,
"end": 494,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 484,
"end": 489,
"ctxt": 0
}
},
"property": {
"type": "Computed",
"span": {
"start": 489,
"end": 494,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 490,
"end": 493,
"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": 502,
"end": 526,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 509,
"end": 511,
"ctxt": 0
},
"value": "z5",
"optional": false
},
"value": {
"type": "AssignmentExpression",
"span": {
"start": 514,
"end": 525,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "SuperPropExpression",
"span": {
"start": 514,
"end": 521,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 514,
"end": 519,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 520,
"end": 521,
"ctxt": 0
},
"value": "a",
"optional": false
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 524,
"end": 525,
"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": 531,
"end": 556,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 538,
"end": 540,
"ctxt": 0
},
"value": "z6",
"optional": false
},
"value": {
"type": "AssignmentExpression",
"span": {
"start": 543,
"end": 555,
"ctxt": 0
},
"operator": "+=",
"left": {
"type": "SuperPropExpression",
"span": {
"start": 543,
"end": 550,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 543,
"end": 548,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 549,
"end": 550,
"ctxt": 0
},
"value": "a",
"optional": false
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 554,
"end": 555,
"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": 561,
"end": 600,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 568,
"end": 570,
"ctxt": 0
},
"value": "z7",
"optional": false
},
"value": {
"type": "CallExpression",
"span": {
"start": 573,
"end": 599,
"ctxt": 0
},
"callee": {
"type": "ParenthesisExpression",
"span": {
"start": 573,
"end": 597,
"ctxt": 0
},
"expression": {
"type": "ArrowFunctionExpression",
"span": {
"start": 574,
"end": 596,
"ctxt": 0
},
"params": [],
"body": {
"type": "BlockStatement",
"span": {
"start": 580,
"end": 596,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 582,
"end": 594,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 582,
"end": 593,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "SuperPropExpression",
"span": {
"start": 582,
"end": 589,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 582,
"end": 587,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 588,
"end": 589,
"ctxt": 0
},
"value": "a",
"optional": false
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 592,
"end": 593,
"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": 605,
"end": 633,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 612,
"end": 614,
"ctxt": 0
},
"value": "z8",
"optional": false
},
"value": {
"type": "AssignmentExpression",
"span": {
"start": 617,
"end": 632,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "ArrayPattern",
"span": {
"start": 617,
"end": 626,
"ctxt": 0
},
"elements": [
{
"type": "SuperPropExpression",
"span": {
"start": 618,
"end": 625,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 618,
"end": 623,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 624,
"end": 625,
"ctxt": 0
},
"value": "a",
"optional": false
}
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ArrayExpression",
"span": {
"start": 629,
"end": 632,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 630,
"end": 631,
"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": 638,
"end": 670,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 645,
"end": 647,
"ctxt": 0
},
"value": "z9",
"optional": false
},
"value": {
"type": "AssignmentExpression",
"span": {
"start": 650,
"end": 669,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "ArrayPattern",
"span": {
"start": 650,
"end": 663,
"ctxt": 0
},
"elements": [
{
"type": "AssignmentPattern",
"span": {
"start": 651,
"end": 662,
"ctxt": 0
},
"left": {
"type": "SuperPropExpression",
"span": {
"start": 651,
"end": 658,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 651,
"end": 656,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 657,
"end": 658,
"ctxt": 0
},
"value": "a",
"optional": false
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 661,
"end": 662,
"ctxt": 0
},
"value": 0.0,
"raw": "0"
},
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ArrayExpression",
"span": {
"start": 666,
"end": 669,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 667,
"end": 668,
"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": 675,
"end": 707,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 682,
"end": 685,
"ctxt": 0
},
"value": "z10",
"optional": false
},
"value": {
"type": "AssignmentExpression",
"span": {
"start": 688,
"end": 706,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "ArrayPattern",
"span": {
"start": 688,
"end": 700,
"ctxt": 0
},
"elements": [
{
"type": "RestElement",
"span": {
"start": 692,
"end": 699,
"ctxt": 0
},
"rest": {
"start": 689,
"end": 692,
"ctxt": 0
},
"argument": {
"type": "SuperPropExpression",
"span": {
"start": 692,
"end": 699,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 692,
"end": 697,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 698,
"end": 699,
"ctxt": 0
},
"value": "a",
"optional": false
}
},
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ArrayExpression",
"span": {
"start": 703,
"end": 706,
"ctxt": 0
},
"elements": [
{
"spread": null,
"expression": {
"type": "NumericLiteral",
"span": {
"start": 704,
"end": 705,
"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": 712,
"end": 751,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 719,
"end": 722,
"ctxt": 0
},
"value": "z11",
"optional": false
},
"value": {
"type": "AssignmentExpression",
"span": {
"start": 725,
"end": 750,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "ObjectPattern",
"span": {
"start": 725,
"end": 739,
"ctxt": 0
},
"properties": [
{
"type": "KeyValuePatternProperty",
"key": {
"type": "Identifier",
"span": {
"start": 727,
"end": 728,
"ctxt": 0
},
"value": "x",
"optional": false
},
"value": {
"type": "SuperPropExpression",
"span": {
"start": 730,
"end": 737,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 730,
"end": 735,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 736,
"end": 737,
"ctxt": 0
},
"value": "a",
"optional": false
}
}
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ObjectExpression",
"span": {
"start": 742,
"end": 750,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 744,
"end": 745,
"ctxt": 0
},
"value": "x",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 747,
"end": 748,
"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": 756,
"end": 799,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 763,
"end": 766,
"ctxt": 0
},
"value": "z12",
"optional": false
},
"value": {
"type": "AssignmentExpression",
"span": {
"start": 769,
"end": 798,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "ObjectPattern",
"span": {
"start": 769,
"end": 787,
"ctxt": 0
},
"properties": [
{
"type": "KeyValuePatternProperty",
"key": {
"type": "Identifier",
"span": {
"start": 771,
"end": 772,
"ctxt": 0
},
"value": "x",
"optional": false
},
"value": {
"type": "AssignmentPattern",
"span": {
"start": 774,
"end": 785,
"ctxt": 0
},
"left": {
"type": "SuperPropExpression",
"span": {
"start": 774,
"end": 781,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 774,
"end": 779,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 780,
"end": 781,
"ctxt": 0
},
"value": "a",
"optional": false
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 784,
"end": 785,
"ctxt": 0
},
"value": 0.0,
"raw": "0"
},
"typeAnnotation": null
}
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ObjectExpression",
"span": {
"start": 790,
"end": 798,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 792,
"end": 793,
"ctxt": 0
},
"value": "x",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 795,
"end": 796,
"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": 804,
"end": 843,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 811,
"end": 814,
"ctxt": 0
},
"value": "z13",
"optional": false
},
"value": {
"type": "AssignmentExpression",
"span": {
"start": 817,
"end": 842,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "ObjectPattern",
"span": {
"start": 817,
"end": 831,
"ctxt": 0
},
"properties": [
{
"type": "RestElement",
"span": {
"start": 819,
"end": 829,
"ctxt": 0
},
"rest": {
"start": 819,
"end": 822,
"ctxt": 0
},
"argument": {
"type": "SuperPropExpression",
"span": {
"start": 822,
"end": 829,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 822,
"end": 827,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 828,
"end": 829,
"ctxt": 0
},
"value": "a",
"optional": false
}
},
"typeAnnotation": null
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ObjectExpression",
"span": {
"start": 834,
"end": 842,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 836,
"end": 837,
"ctxt": 0
},
"value": "x",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 839,
"end": 840,
"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": 848,
"end": 871,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 855,
"end": 858,
"ctxt": 0
},
"value": "z14",
"optional": false
},
"value": {
"type": "UpdateExpression",
"span": {
"start": 861,
"end": 870,
"ctxt": 0
},
"operator": "++",
"prefix": true,
"argument": {
"type": "SuperPropExpression",
"span": {
"start": 863,
"end": 870,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 863,
"end": 868,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 869,
"end": 870,
"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": 876,
"end": 899,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 883,
"end": 886,
"ctxt": 0
},
"value": "z15",
"optional": false
},
"value": {
"type": "UpdateExpression",
"span": {
"start": 889,
"end": 898,
"ctxt": 0
},
"operator": "--",
"prefix": true,
"argument": {
"type": "SuperPropExpression",
"span": {
"start": 891,
"end": 898,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 891,
"end": 896,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 897,
"end": 898,
"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": 904,
"end": 932,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 911,
"end": 914,
"ctxt": 0
},
"value": "z16",
"optional": false
},
"value": {
"type": "UpdateExpression",
"span": {
"start": 917,
"end": 931,
"ctxt": 0
},
"operator": "++",
"prefix": true,
"argument": {
"type": "SuperPropExpression",
"span": {
"start": 919,
"end": 931,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 919,
"end": 924,
"ctxt": 0
}
},
"property": {
"type": "Computed",
"span": {
"start": 924,
"end": 931,
"ctxt": 0
},
"expression": {
"type": "ParenthesisExpression",
"span": {
"start": 925,
"end": 930,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 926,
"end": 929,
"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": 937,
"end": 960,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 944,
"end": 947,
"ctxt": 0
},
"value": "z17",
"optional": false
},
"value": {
"type": "UpdateExpression",
"span": {
"start": 950,
"end": 959,
"ctxt": 0
},
"operator": "++",
"prefix": false,
"argument": {
"type": "SuperPropExpression",
"span": {
"start": 950,
"end": 957,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 950,
"end": 955,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 956,
"end": 957,
"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": 965,
"end": 988,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 972,
"end": 975,
"ctxt": 0
},
"value": "z18",
"optional": false
},
"value": {
"type": "TaggedTemplateExpression",
"span": {
"start": 978,
"end": 987,
"ctxt": 0
},
"tag": {
"type": "SuperPropExpression",
"span": {
"start": 978,
"end": 985,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 978,
"end": 983,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 984,
"end": 985,
"ctxt": 0
},
"value": "a",
"optional": false
}
},
"typeParameters": null,
"template": {
"type": "TemplateLiteral",
"span": {
"start": 985,
"end": 987,
"ctxt": 0
},
"expressions": [],
"quasis": [
{
"type": "TemplateElement",
"span": {
"start": 986,
"end": 986,
"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": 1028,
"end": 1034,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 1028,
"end": 1029,
"ctxt": 0
},
"value": "x",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 1032,
"end": 1033,
"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": 1039,
"end": 1050,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 1039,
"end": 1040,
"ctxt": 0
},
"value": "y",
"optional": false
},
"value": {
"type": "MemberExpression",
"span": {
"start": 1043,
"end": 1049,
"ctxt": 0
},
"object": {
"type": "ThisExpression",
"span": {
"start": 1043,
"end": 1047,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 1048,
"end": 1049,
"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": 1055,
"end": 1069,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 1055,
"end": 1056,
"ctxt": 0
},
"value": "z",
"optional": false
},
"value": {
"type": "CallExpression",
"span": {
"start": 1059,
"end": 1068,
"ctxt": 0
},
"callee": {
"type": "SuperPropExpression",
"span": {
"start": 1059,
"end": 1066,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 1059,
"end": 1064,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 1065,
"end": 1066,
"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": 211,
"end": 212,
"ctxt": 0
},
"value": "B",
"optional": false
},
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
}
],
"interpreter": null
}