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

3304 lines
96 KiB
JSON

{
"type": "Script",
"span": {
"start": 237,
"end": 3434,
"ctxt": 0
},
"body": [
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 243,
"end": 249,
"ctxt": 0
},
"value": "NoBase",
"optional": false
},
"declare": false,
"span": {
"start": 237,
"end": 937,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "Constructor",
"span": {
"start": 256,
"end": 352,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 256,
"end": 267,
"ctxt": 0
},
"value": "constructor",
"optional": false
},
"params": [],
"body": {
"type": "BlockStatement",
"span": {
"start": 270,
"end": 352,
"ctxt": 0
},
"stmts": [
{
"type": "VariableDeclaration",
"span": {
"start": 280,
"end": 304,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 284,
"end": 303,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 284,
"end": 285,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "SuperPropExpression",
"span": {
"start": 288,
"end": 303,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 288,
"end": 293,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 294,
"end": 303,
"ctxt": 0
},
"value": "prototype",
"optional": false
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 313,
"end": 346,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 317,
"end": 345,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 317,
"end": 318,
"ctxt": 0
},
"value": "b",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 321,
"end": 345,
"ctxt": 0
},
"callee": {
"type": "SuperPropExpression",
"span": {
"start": 321,
"end": 341,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 321,
"end": 326,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 327,
"end": 341,
"ctxt": 0
},
"value": "hasOwnProperty",
"optional": false
}
},
"arguments": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 342,
"end": 344,
"ctxt": 0
},
"value": "",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
],
"typeArguments": null
},
"definite": false
}
]
}
]
},
"accessibility": null,
"isOptional": false
},
{
"type": "ClassMethod",
"span": {
"start": 358,
"end": 445,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 358,
"end": 360,
"ctxt": 0
},
"value": "fn",
"optional": false
},
"function": {
"params": [],
"decorators": [],
"span": {
"start": 358,
"end": 445,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 363,
"end": 445,
"ctxt": 0
},
"stmts": [
{
"type": "VariableDeclaration",
"span": {
"start": 373,
"end": 397,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 377,
"end": 396,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 377,
"end": 378,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "SuperPropExpression",
"span": {
"start": 381,
"end": 396,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 381,
"end": 386,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 387,
"end": 396,
"ctxt": 0
},
"value": "prototype",
"optional": false
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 406,
"end": 439,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 410,
"end": 438,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 410,
"end": 411,
"ctxt": 0
},
"value": "b",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "CallExpression",
"span": {
"start": 414,
"end": 438,
"ctxt": 0
},
"callee": {
"type": "SuperPropExpression",
"span": {
"start": 414,
"end": 434,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 414,
"end": 419,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 420,
"end": 434,
"ctxt": 0
},
"value": "hasOwnProperty",
"optional": false
}
},
"arguments": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 435,
"end": 437,
"ctxt": 0
},
"value": "",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
],
"typeArguments": null
},
"definite": false
}
]
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
"kind": "method",
"isStatic": false,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false
},
{
"type": "ClassProperty",
"span": {
"start": 451,
"end": 471,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 451,
"end": 452,
"ctxt": 0
},
"value": "m",
"optional": false
},
"value": {
"type": "SuperPropExpression",
"span": {
"start": 455,
"end": 470,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 455,
"end": 460,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 461,
"end": 470,
"ctxt": 0
},
"value": "prototype",
"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": 476,
"end": 505,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 476,
"end": 477,
"ctxt": 0
},
"value": "n",
"optional": false
},
"value": {
"type": "CallExpression",
"span": {
"start": 480,
"end": 504,
"ctxt": 0
},
"callee": {
"type": "SuperPropExpression",
"span": {
"start": 480,
"end": 500,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 480,
"end": 485,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 486,
"end": 500,
"ctxt": 0
},
"value": "hasOwnProperty",
"optional": false
}
},
"arguments": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 501,
"end": 503,
"ctxt": 0
},
"value": "",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
],
"typeArguments": null
},
"typeAnnotation": null,
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassMethod",
"span": {
"start": 700,
"end": 765,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 714,
"end": 721,
"ctxt": 0
},
"value": "static1",
"optional": false
},
"function": {
"params": [],
"decorators": [],
"span": {
"start": 700,
"end": 765,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 724,
"end": 765,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 734,
"end": 759,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 734,
"end": 758,
"ctxt": 0
},
"callee": {
"type": "SuperPropExpression",
"span": {
"start": 734,
"end": 754,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 734,
"end": 739,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 740,
"end": 754,
"ctxt": 0
},
"value": "hasOwnProperty",
"optional": false
}
},
"arguments": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 755,
"end": 757,
"ctxt": 0
},
"value": "",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
],
"typeArguments": null
}
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
"kind": "method",
"isStatic": true,
"accessibility": "public",
"isAbstract": false,
"isOptional": false,
"isOverride": false
},
{
"type": "ClassMethod",
"span": {
"start": 771,
"end": 859,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 789,
"end": 796,
"ctxt": 0
},
"value": "static2",
"optional": false
},
"function": {
"params": [],
"decorators": [],
"span": {
"start": 771,
"end": 859,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 799,
"end": 859,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 809,
"end": 834,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 809,
"end": 833,
"ctxt": 0
},
"callee": {
"type": "SuperPropExpression",
"span": {
"start": 809,
"end": 829,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 809,
"end": 814,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 815,
"end": 829,
"ctxt": 0
},
"value": "hasOwnProperty",
"optional": false
}
},
"arguments": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 830,
"end": 832,
"ctxt": 0
},
"value": "",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
],
"typeArguments": null
}
},
{
"type": "ReturnStatement",
"span": {
"start": 843,
"end": 853,
"ctxt": 0
},
"argument": {
"type": "StringLiteral",
"span": {
"start": 850,
"end": 852,
"ctxt": 0
},
"value": "",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
"kind": "getter",
"isStatic": true,
"accessibility": "public",
"isAbstract": false,
"isOptional": false,
"isOverride": false
},
{
"type": "ClassMethod",
"span": {
"start": 865,
"end": 935,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 883,
"end": 890,
"ctxt": 0
},
"value": "static2",
"optional": false
},
"function": {
"params": [
{
"type": "Parameter",
"span": {
"start": 891,
"end": 892,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 891,
"end": 892,
"ctxt": 0
},
"value": "n",
"optional": false,
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 865,
"end": 935,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 894,
"end": 935,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 904,
"end": 929,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 904,
"end": 928,
"ctxt": 0
},
"callee": {
"type": "SuperPropExpression",
"span": {
"start": 904,
"end": 924,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 904,
"end": 909,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 910,
"end": 924,
"ctxt": 0
},
"value": "hasOwnProperty",
"optional": false
}
},
"arguments": [
{
"spread": null,
"expression": {
"type": "StringLiteral",
"span": {
"start": 925,
"end": 927,
"ctxt": 0
},
"value": "",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
],
"typeArguments": null
}
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
"kind": "setter",
"isStatic": true,
"accessibility": "public",
"isAbstract": false,
"isOptional": false,
"isOverride": false
}
],
"superClass": null,
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 945,
"end": 953,
"ctxt": 0
},
"value": "SomeBase",
"optional": false
},
"declare": false,
"span": {
"start": 939,
"end": 1249,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassMethod",
"span": {
"start": 960,
"end": 985,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 968,
"end": 979,
"ctxt": 0
},
"value": "privateFunc",
"optional": false
},
"function": {
"params": [],
"decorators": [],
"span": {
"start": 960,
"end": 985,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 982,
"end": 985,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
"kind": "method",
"isStatic": false,
"accessibility": "private",
"isAbstract": false,
"isOptional": false,
"isOverride": false
},
{
"type": "ClassProperty",
"span": {
"start": 990,
"end": 1016,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 998,
"end": 1011,
"ctxt": 0
},
"value": "privateMember",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 1014,
"end": 1015,
"ctxt": 0
},
"value": 0.0
},
"typeAnnotation": null,
"isStatic": false,
"decorators": [],
"accessibility": "private",
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassMethod",
"span": {
"start": 1022,
"end": 1045,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 1029,
"end": 1039,
"ctxt": 0
},
"value": "publicFunc",
"optional": false
},
"function": {
"params": [],
"decorators": [],
"span": {
"start": 1022,
"end": 1045,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 1042,
"end": 1045,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
"kind": "method",
"isStatic": false,
"accessibility": "public",
"isAbstract": false,
"isOptional": false,
"isOverride": false
},
{
"type": "ClassProperty",
"span": {
"start": 1050,
"end": 1074,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 1057,
"end": 1069,
"ctxt": 0
},
"value": "publicMember",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 1072,
"end": 1073,
"ctxt": 0
},
"value": 0.0
},
"typeAnnotation": null,
"isStatic": false,
"decorators": [],
"accessibility": "public",
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassMethod",
"span": {
"start": 1080,
"end": 1118,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 1095,
"end": 1112,
"ctxt": 0
},
"value": "privateStaticFunc",
"optional": false
},
"function": {
"params": [],
"decorators": [],
"span": {
"start": 1080,
"end": 1118,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 1115,
"end": 1118,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
"kind": "method",
"isStatic": true,
"accessibility": "private",
"isAbstract": false,
"isOptional": false,
"isOverride": false
},
{
"type": "ClassProperty",
"span": {
"start": 1123,
"end": 1162,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 1138,
"end": 1157,
"ctxt": 0
},
"value": "privateStaticMember",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 1160,
"end": 1161,
"ctxt": 0
},
"value": 0.0
},
"typeAnnotation": null,
"isStatic": true,
"decorators": [],
"accessibility": "private",
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
},
{
"type": "ClassMethod",
"span": {
"start": 1168,
"end": 1204,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 1182,
"end": 1198,
"ctxt": 0
},
"value": "publicStaticFunc",
"optional": false
},
"function": {
"params": [],
"decorators": [],
"span": {
"start": 1168,
"end": 1204,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 1201,
"end": 1204,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
"kind": "method",
"isStatic": true,
"accessibility": "public",
"isAbstract": false,
"isOptional": false,
"isOverride": false
},
{
"type": "ClassProperty",
"span": {
"start": 1209,
"end": 1246,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 1223,
"end": 1241,
"ctxt": 0
},
"value": "publicStaticMember",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 1244,
"end": 1245,
"ctxt": 0
},
"value": 0.0
},
"typeAnnotation": null,
"isStatic": true,
"decorators": [],
"accessibility": "public",
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
}
],
"superClass": null,
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1568,
"end": 1580,
"ctxt": 0
},
"value": "SomeDerived1",
"optional": false
},
"declare": false,
"span": {
"start": 1562,
"end": 2042,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "Constructor",
"span": {
"start": 1604,
"end": 1674,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 1604,
"end": 1615,
"ctxt": 0
},
"value": "constructor",
"optional": false
},
"params": [],
"body": {
"type": "BlockStatement",
"span": {
"start": 1618,
"end": 1674,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 1628,
"end": 1636,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1628,
"end": 1635,
"ctxt": 0
},
"callee": {
"type": "Super",
"span": {
"start": 1628,
"end": 1633,
"ctxt": 0
}
},
"arguments": [],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1645,
"end": 1668,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1645,
"end": 1667,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "SuperPropExpression",
"span": {
"start": 1645,
"end": 1663,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 1645,
"end": 1650,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 1651,
"end": 1663,
"ctxt": 0
},
"value": "publicMember",
"optional": false
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 1666,
"end": 1667,
"ctxt": 0
},
"value": 1.0
}
}
}
]
},
"accessibility": null,
"isOptional": false
},
{
"type": "ClassMethod",
"span": {
"start": 1680,
"end": 1728,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 1680,
"end": 1682,
"ctxt": 0
},
"value": "fn",
"optional": false
},
"function": {
"params": [],
"decorators": [],
"span": {
"start": 1680,
"end": 1728,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 1685,
"end": 1728,
"ctxt": 0
},
"stmts": [
{
"type": "VariableDeclaration",
"span": {
"start": 1695,
"end": 1722,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1699,
"end": 1721,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1699,
"end": 1700,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "SuperPropExpression",
"span": {
"start": 1703,
"end": 1721,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 1703,
"end": 1708,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 1709,
"end": 1721,
"ctxt": 0
},
"value": "publicMember",
"optional": false
}
},
"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": 1734,
"end": 1811,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 1738,
"end": 1739,
"ctxt": 0
},
"value": "a",
"optional": false
},
"function": {
"params": [],
"decorators": [],
"span": {
"start": 1734,
"end": 1811,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 1742,
"end": 1811,
"ctxt": 0
},
"stmts": [
{
"type": "VariableDeclaration",
"span": {
"start": 1752,
"end": 1779,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1756,
"end": 1778,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1756,
"end": 1757,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "SuperPropExpression",
"span": {
"start": 1760,
"end": 1778,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 1760,
"end": 1765,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 1766,
"end": 1778,
"ctxt": 0
},
"value": "publicMember",
"optional": false
}
},
"definite": false
}
]
},
{
"type": "ReturnStatement",
"span": {
"start": 1788,
"end": 1805,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 1795,
"end": 1804,
"ctxt": 0
},
"value": "undefined",
"optional": false
}
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
"kind": "getter",
"isStatic": false,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false
},
{
"type": "ClassMethod",
"span": {
"start": 1816,
"end": 1864,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 1820,
"end": 1821,
"ctxt": 0
},
"value": "a",
"optional": false
},
"function": {
"params": [
{
"type": "Parameter",
"span": {
"start": 1822,
"end": 1823,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 1822,
"end": 1823,
"ctxt": 0
},
"value": "n",
"optional": false,
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 1816,
"end": 1864,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 1825,
"end": 1864,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 1835,
"end": 1858,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1835,
"end": 1857,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 1835,
"end": 1836,
"ctxt": 0
},
"value": "n",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "SuperPropExpression",
"span": {
"start": 1839,
"end": 1857,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 1839,
"end": 1844,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 1845,
"end": 1857,
"ctxt": 0
},
"value": "publicMember",
"optional": false
}
}
}
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
"kind": "setter",
"isStatic": false,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false
},
{
"type": "ClassMethod",
"span": {
"start": 1869,
"end": 2040,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 1869,
"end": 1872,
"ctxt": 0
},
"value": "fn2",
"optional": false
},
"function": {
"params": [],
"decorators": [],
"span": {
"start": 1869,
"end": 2040,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 1875,
"end": 2040,
"ctxt": 0
},
"stmts": [
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 1894,
"end": 1899,
"ctxt": 0
},
"value": "inner",
"optional": false
},
"declare": false,
"params": [],
"decorators": [],
"span": {
"start": 1885,
"end": 1945,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 1902,
"end": 1945,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 1916,
"end": 1935,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1916,
"end": 1934,
"ctxt": 0
},
"callee": {
"type": "SuperPropExpression",
"span": {
"start": 1916,
"end": 1932,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 1916,
"end": 1921,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 1922,
"end": 1932,
"ctxt": 0
},
"value": "publicFunc",
"optional": false
}
},
"arguments": [],
"typeArguments": null
}
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "VariableDeclaration",
"span": {
"start": 1954,
"end": 2034,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1958,
"end": 2034,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1958,
"end": 1959,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 1962,
"end": 2034,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1976,
"end": 1980,
"ctxt": 0
},
"value": "test",
"optional": false
},
"value": {
"type": "FunctionExpression",
"identifier": null,
"params": [],
"decorators": [],
"span": {
"start": 1982,
"end": 2024,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 1994,
"end": 2024,
"ctxt": 0
},
"stmts": [
{
"type": "ReturnStatement",
"span": {
"start": 1996,
"end": 2022,
"ctxt": 0
},
"argument": {
"type": "CallExpression",
"span": {
"start": 2003,
"end": 2021,
"ctxt": 0
},
"callee": {
"type": "SuperPropExpression",
"span": {
"start": 2003,
"end": 2019,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 2003,
"end": 2008,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 2009,
"end": 2019,
"ctxt": 0
},
"value": "publicFunc",
"optional": false
}
},
"arguments": [],
"typeArguments": null
}
}
]
},
"generator": false,
"async": 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
}
],
"superClass": {
"type": "Identifier",
"span": {
"start": 1589,
"end": 1597,
"ctxt": 0
},
"value": "SomeBase",
"optional": false
},
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 2257,
"end": 2269,
"ctxt": 0
},
"value": "SomeDerived2",
"optional": false
},
"declare": false,
"span": {
"start": 2251,
"end": 2559,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "Constructor",
"span": {
"start": 2293,
"end": 2364,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 2293,
"end": 2304,
"ctxt": 0
},
"value": "constructor",
"optional": false
},
"params": [],
"body": {
"type": "BlockStatement",
"span": {
"start": 2307,
"end": 2364,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 2317,
"end": 2325,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 2317,
"end": 2324,
"ctxt": 0
},
"callee": {
"type": "Super",
"span": {
"start": 2317,
"end": 2322,
"ctxt": 0
}
},
"arguments": [],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 2334,
"end": 2358,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 2334,
"end": 2357,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "SuperPropExpression",
"span": {
"start": 2334,
"end": 2353,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 2334,
"end": 2339,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 2340,
"end": 2353,
"ctxt": 0
},
"value": "privateMember",
"optional": false
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 2356,
"end": 2357,
"ctxt": 0
},
"value": 1.0
}
}
}
]
},
"accessibility": null,
"isOptional": false
},
{
"type": "ClassMethod",
"span": {
"start": 2370,
"end": 2419,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 2370,
"end": 2372,
"ctxt": 0
},
"value": "fn",
"optional": false
},
"function": {
"params": [],
"decorators": [],
"span": {
"start": 2370,
"end": 2419,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 2375,
"end": 2419,
"ctxt": 0
},
"stmts": [
{
"type": "VariableDeclaration",
"span": {
"start": 2385,
"end": 2413,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2389,
"end": 2412,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2389,
"end": 2390,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "SuperPropExpression",
"span": {
"start": 2393,
"end": 2412,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 2393,
"end": 2398,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 2399,
"end": 2412,
"ctxt": 0
},
"value": "privateMember",
"optional": false
}
},
"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": 2425,
"end": 2503,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 2429,
"end": 2430,
"ctxt": 0
},
"value": "a",
"optional": false
},
"function": {
"params": [],
"decorators": [],
"span": {
"start": 2425,
"end": 2503,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 2433,
"end": 2503,
"ctxt": 0
},
"stmts": [
{
"type": "VariableDeclaration",
"span": {
"start": 2443,
"end": 2471,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2447,
"end": 2470,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2447,
"end": 2448,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "SuperPropExpression",
"span": {
"start": 2451,
"end": 2470,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 2451,
"end": 2456,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 2457,
"end": 2470,
"ctxt": 0
},
"value": "privateMember",
"optional": false
}
},
"definite": false
}
]
},
{
"type": "ReturnStatement",
"span": {
"start": 2480,
"end": 2497,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 2487,
"end": 2496,
"ctxt": 0
},
"value": "undefined",
"optional": false
}
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
"kind": "getter",
"isStatic": false,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false
},
{
"type": "ClassMethod",
"span": {
"start": 2508,
"end": 2557,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 2512,
"end": 2513,
"ctxt": 0
},
"value": "a",
"optional": false
},
"function": {
"params": [
{
"type": "Parameter",
"span": {
"start": 2514,
"end": 2515,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 2514,
"end": 2515,
"ctxt": 0
},
"value": "n",
"optional": false,
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 2508,
"end": 2557,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 2517,
"end": 2557,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 2527,
"end": 2551,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 2527,
"end": 2550,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 2527,
"end": 2528,
"ctxt": 0
},
"value": "n",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "SuperPropExpression",
"span": {
"start": 2531,
"end": 2550,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 2531,
"end": 2536,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 2537,
"end": 2550,
"ctxt": 0
},
"value": "privateMember",
"optional": false
}
}
}
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
"kind": "setter",
"isStatic": false,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false
}
],
"superClass": {
"type": "Identifier",
"span": {
"start": 2278,
"end": 2286,
"ctxt": 0
},
"value": "SomeBase",
"optional": false
},
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 2901,
"end": 2913,
"ctxt": 0
},
"value": "SomeDerived3",
"optional": false
},
"declare": false,
"span": {
"start": 2895,
"end": 3368,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassMethod",
"span": {
"start": 2937,
"end": 3068,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 2944,
"end": 2946,
"ctxt": 0
},
"value": "fn",
"optional": false
},
"function": {
"params": [],
"decorators": [],
"span": {
"start": 2937,
"end": 3068,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 2949,
"end": 3068,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 2959,
"end": 2988,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 2959,
"end": 2987,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "SuperPropExpression",
"span": {
"start": 2959,
"end": 2983,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 2959,
"end": 2964,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 2965,
"end": 2983,
"ctxt": 0
},
"value": "publicStaticMember",
"optional": false
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 2986,
"end": 2987,
"ctxt": 0
},
"value": 3.0
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 2997,
"end": 3027,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 2997,
"end": 3026,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "SuperPropExpression",
"span": {
"start": 2997,
"end": 3022,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 2997,
"end": 3002,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 3003,
"end": 3022,
"ctxt": 0
},
"value": "privateStaticMember",
"optional": false
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 3025,
"end": 3026,
"ctxt": 0
},
"value": 3.0
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 3036,
"end": 3062,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 3036,
"end": 3061,
"ctxt": 0
},
"callee": {
"type": "SuperPropExpression",
"span": {
"start": 3036,
"end": 3059,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 3036,
"end": 3041,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 3042,
"end": 3059,
"ctxt": 0
},
"value": "privateStaticFunc",
"optional": false
}
},
"arguments": [],
"typeArguments": null
}
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
"kind": "method",
"isStatic": true,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false
},
{
"type": "ClassMethod",
"span": {
"start": 3073,
"end": 3226,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 3084,
"end": 3085,
"ctxt": 0
},
"value": "a",
"optional": false
},
"function": {
"params": [],
"decorators": [],
"span": {
"start": 3073,
"end": 3226,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 3088,
"end": 3226,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 3098,
"end": 3127,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 3098,
"end": 3126,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "SuperPropExpression",
"span": {
"start": 3098,
"end": 3122,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 3098,
"end": 3103,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 3104,
"end": 3122,
"ctxt": 0
},
"value": "publicStaticMember",
"optional": false
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 3125,
"end": 3126,
"ctxt": 0
},
"value": 3.0
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 3136,
"end": 3166,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 3136,
"end": 3165,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "SuperPropExpression",
"span": {
"start": 3136,
"end": 3161,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 3136,
"end": 3141,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 3142,
"end": 3161,
"ctxt": 0
},
"value": "privateStaticMember",
"optional": false
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 3164,
"end": 3165,
"ctxt": 0
},
"value": 3.0
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 3175,
"end": 3201,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 3175,
"end": 3200,
"ctxt": 0
},
"callee": {
"type": "SuperPropExpression",
"span": {
"start": 3175,
"end": 3198,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 3175,
"end": 3180,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 3181,
"end": 3198,
"ctxt": 0
},
"value": "privateStaticFunc",
"optional": false
}
},
"arguments": [],
"typeArguments": null
}
},
{
"type": "ReturnStatement",
"span": {
"start": 3210,
"end": 3220,
"ctxt": 0
},
"argument": {
"type": "StringLiteral",
"span": {
"start": 3217,
"end": 3219,
"ctxt": 0
},
"value": "",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
"kind": "getter",
"isStatic": true,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false
},
{
"type": "ClassMethod",
"span": {
"start": 3231,
"end": 3366,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 3242,
"end": 3243,
"ctxt": 0
},
"value": "a",
"optional": false
},
"function": {
"params": [
{
"type": "Parameter",
"span": {
"start": 3244,
"end": 3245,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 3244,
"end": 3245,
"ctxt": 0
},
"value": "n",
"optional": false,
"typeAnnotation": null
}
}
],
"decorators": [],
"span": {
"start": 3231,
"end": 3366,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 3247,
"end": 3366,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 3257,
"end": 3286,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 3257,
"end": 3285,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "SuperPropExpression",
"span": {
"start": 3257,
"end": 3281,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 3257,
"end": 3262,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 3263,
"end": 3281,
"ctxt": 0
},
"value": "publicStaticMember",
"optional": false
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 3284,
"end": 3285,
"ctxt": 0
},
"value": 3.0
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 3295,
"end": 3325,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 3295,
"end": 3324,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "SuperPropExpression",
"span": {
"start": 3295,
"end": 3320,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 3295,
"end": 3300,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 3301,
"end": 3320,
"ctxt": 0
},
"value": "privateStaticMember",
"optional": false
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 3323,
"end": 3324,
"ctxt": 0
},
"value": 3.0
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 3334,
"end": 3360,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 3334,
"end": 3359,
"ctxt": 0
},
"callee": {
"type": "SuperPropExpression",
"span": {
"start": 3334,
"end": 3357,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 3334,
"end": 3339,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 3340,
"end": 3357,
"ctxt": 0
},
"value": "privateStaticFunc",
"optional": false
}
},
"arguments": [],
"typeArguments": null
}
}
]
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
"kind": "setter",
"isStatic": true,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false
}
],
"superClass": {
"type": "Identifier",
"span": {
"start": 2922,
"end": 2930,
"ctxt": 0
},
"value": "SomeBase",
"optional": false
},
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "VariableDeclaration",
"span": {
"start": 3391,
"end": 3434,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3395,
"end": 3433,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3395,
"end": 3398,
"ctxt": 0
},
"value": "obj",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 3401,
"end": 3433,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 3403,
"end": 3404,
"ctxt": 0
},
"value": "n",
"optional": false
},
"value": {
"type": "SuperPropExpression",
"span": {
"start": 3406,
"end": 3415,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 3406,
"end": 3411,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 3412,
"end": 3415,
"ctxt": 0
},
"value": "wat",
"optional": false
}
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 3417,
"end": 3418,
"ctxt": 0
},
"value": "p",
"optional": false
},
"value": {
"type": "CallExpression",
"span": {
"start": 3420,
"end": 3431,
"ctxt": 0
},
"callee": {
"type": "SuperPropExpression",
"span": {
"start": 3420,
"end": 3429,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 3420,
"end": 3425,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 3426,
"end": 3429,
"ctxt": 0
},
"value": "foo",
"optional": false
}
},
"arguments": [],
"typeArguments": null
}
}
]
},
"definite": false
}
]
}
],
"interpreter": null
}