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

4225 lines
142 KiB
JSON

{
"type": "Script",
"span": {
"start": 57,
"end": 4368,
"ctxt": 0
},
"body": [
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 63,
"end": 64,
"ctxt": 0
},
"value": "A",
"optional": false
},
"declare": false,
"span": {
"start": 57,
"end": 100,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassMethod",
"span": {
"start": 71,
"end": 82,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 71,
"end": 72,
"ctxt": 0
},
"value": "x",
"optional": false
},
"function": {
"params": [],
"decorators": [],
"span": {
"start": 71,
"end": 82,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 75,
"end": 82,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
"kind": "method",
"isStatic": false,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false
},
{
"type": "ClassMethod",
"span": {
"start": 87,
"end": 98,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 87,
"end": 88,
"ctxt": 0
},
"value": "y",
"optional": false
},
"function": {
"params": [],
"decorators": [],
"span": {
"start": 87,
"end": 98,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 91,
"end": 98,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
"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": 108,
"end": 109,
"ctxt": 0
},
"value": "B",
"optional": false
},
"declare": false,
"span": {
"start": 102,
"end": 4368,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassMethod",
"span": {
"start": 203,
"end": 522,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 209,
"end": 215,
"ctxt": 0
},
"value": "simple",
"optional": false
},
"function": {
"params": [],
"decorators": [],
"span": {
"start": 203,
"end": 522,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 218,
"end": 522,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 265,
"end": 275,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 265,
"end": 274,
"ctxt": 0
},
"callee": {
"type": "SuperPropExpression",
"span": {
"start": 265,
"end": 272,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 265,
"end": 270,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 271,
"end": 272,
"ctxt": 0
},
"value": "x",
"optional": false
}
},
"arguments": [],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 321,
"end": 331,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 321,
"end": 330,
"ctxt": 0
},
"callee": {
"type": "SuperPropExpression",
"span": {
"start": 321,
"end": 328,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 321,
"end": 326,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 327,
"end": 328,
"ctxt": 0
},
"value": "y",
"optional": false
}
},
"arguments": [],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 377,
"end": 390,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 377,
"end": 389,
"ctxt": 0
},
"callee": {
"type": "SuperPropExpression",
"span": {
"start": 377,
"end": 387,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 377,
"end": 382,
"ctxt": 0
}
},
"property": {
"type": "Computed",
"span": {
"start": 382,
"end": 387,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 383,
"end": 386,
"ctxt": 0
},
"value": "x",
"raw": "\"x\""
}
}
},
"arguments": [],
"typeArguments": null
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 434,
"end": 452,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 440,
"end": 451,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 440,
"end": 441,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "SuperPropExpression",
"span": {
"start": 444,
"end": 451,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 444,
"end": 449,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 450,
"end": 451,
"ctxt": 0
},
"value": "x",
"optional": false
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 495,
"end": 516,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 501,
"end": 515,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 501,
"end": 502,
"ctxt": 0
},
"value": "b",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "SuperPropExpression",
"span": {
"start": 505,
"end": 515,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 505,
"end": 510,
"ctxt": 0
}
},
"property": {
"type": "Computed",
"span": {
"start": 510,
"end": 515,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 511,
"end": 514,
"ctxt": 0
},
"value": "x",
"raw": "\"x\""
}
}
},
"definite": false
}
]
}
]
},
"generator": false,
"async": true,
"typeParameters": null,
"returnType": null
},
"kind": "method",
"isStatic": false,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false
},
{
"type": "ClassMethod",
"span": {
"start": 608,
"end": 1482,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 614,
"end": 622,
"ctxt": 0
},
"value": "advanced",
"optional": false
},
"function": {
"params": [],
"decorators": [],
"span": {
"start": 608,
"end": 1482,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 625,
"end": 1482,
"ctxt": 0
},
"stmts": [
{
"type": "VariableDeclaration",
"span": {
"start": 635,
"end": 654,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 641,
"end": 653,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 641,
"end": 642,
"ctxt": 0
},
"value": "f",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrowFunctionExpression",
"span": {
"start": 645,
"end": 653,
"ctxt": 0
},
"params": [],
"body": {
"type": "BlockStatement",
"span": {
"start": 651,
"end": 653,
"ctxt": 0
},
"stmts": []
},
"async": false,
"generator": false,
"typeParameters": null,
"returnType": null
},
"definite": false
}
]
},
{
"type": "ExpressionStatement",
"span": {
"start": 701,
"end": 711,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 701,
"end": 710,
"ctxt": 0
},
"callee": {
"type": "SuperPropExpression",
"span": {
"start": 701,
"end": 708,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 701,
"end": 706,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 707,
"end": 708,
"ctxt": 0
},
"value": "x",
"optional": false
}
},
"arguments": [],
"typeArguments": null
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 757,
"end": 770,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 757,
"end": 769,
"ctxt": 0
},
"callee": {
"type": "SuperPropExpression",
"span": {
"start": 757,
"end": 767,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 757,
"end": 762,
"ctxt": 0
}
},
"property": {
"type": "Computed",
"span": {
"start": 762,
"end": 767,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 763,
"end": 766,
"ctxt": 0
},
"value": "x",
"raw": "\"x\""
}
}
},
"arguments": [],
"typeArguments": null
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 814,
"end": 832,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 820,
"end": 831,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 820,
"end": 821,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "SuperPropExpression",
"span": {
"start": 824,
"end": 831,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 824,
"end": 829,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 830,
"end": 831,
"ctxt": 0
},
"value": "x",
"optional": false
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 875,
"end": 896,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 881,
"end": 895,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 881,
"end": 882,
"ctxt": 0
},
"value": "b",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "SuperPropExpression",
"span": {
"start": 885,
"end": 895,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 885,
"end": 890,
"ctxt": 0
}
},
"property": {
"type": "Computed",
"span": {
"start": 890,
"end": 895,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 891,
"end": 894,
"ctxt": 0
},
"value": "x",
"raw": "\"x\""
}
}
},
"definite": false
}
]
},
{
"type": "ExpressionStatement",
"span": {
"start": 942,
"end": 954,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 942,
"end": 953,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "SuperPropExpression",
"span": {
"start": 942,
"end": 949,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 942,
"end": 947,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 948,
"end": 949,
"ctxt": 0
},
"value": "x",
"optional": false
}
},
"right": {
"type": "Identifier",
"span": {
"start": 952,
"end": 953,
"ctxt": 0
},
"value": "f",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 999,
"end": 1014,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 999,
"end": 1013,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "SuperPropExpression",
"span": {
"start": 999,
"end": 1009,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 999,
"end": 1004,
"ctxt": 0
}
},
"property": {
"type": "Computed",
"span": {
"start": 1004,
"end": 1009,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 1005,
"end": 1008,
"ctxt": 0
},
"value": "x",
"raw": "\"x\""
}
}
},
"right": {
"type": "Identifier",
"span": {
"start": 1012,
"end": 1013,
"ctxt": 0
},
"value": "f",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1077,
"end": 1102,
"ctxt": 0
},
"expression": {
"type": "ParenthesisExpression",
"span": {
"start": 1077,
"end": 1101,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1078,
"end": 1100,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "ObjectPattern",
"span": {
"start": 1078,
"end": 1092,
"ctxt": 0
},
"properties": [
{
"type": "KeyValuePatternProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1080,
"end": 1081,
"ctxt": 0
},
"value": "f",
"optional": false
},
"value": {
"type": "SuperPropExpression",
"span": {
"start": 1083,
"end": 1090,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 1083,
"end": 1088,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 1089,
"end": 1090,
"ctxt": 0
},
"value": "x",
"optional": false
}
}
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ObjectExpression",
"span": {
"start": 1095,
"end": 1100,
"ctxt": 0
},
"properties": [
{
"type": "Identifier",
"span": {
"start": 1097,
"end": 1098,
"ctxt": 0
},
"value": "f",
"optional": false
}
]
}
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1164,
"end": 1192,
"ctxt": 0
},
"expression": {
"type": "ParenthesisExpression",
"span": {
"start": 1164,
"end": 1191,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1165,
"end": 1190,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "ObjectPattern",
"span": {
"start": 1165,
"end": 1182,
"ctxt": 0
},
"properties": [
{
"type": "KeyValuePatternProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1167,
"end": 1168,
"ctxt": 0
},
"value": "f",
"optional": false
},
"value": {
"type": "SuperPropExpression",
"span": {
"start": 1170,
"end": 1180,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 1170,
"end": 1175,
"ctxt": 0
}
},
"property": {
"type": "Computed",
"span": {
"start": 1175,
"end": 1180,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 1176,
"end": 1179,
"ctxt": 0
},
"value": "x",
"raw": "\"x\""
}
}
}
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ObjectExpression",
"span": {
"start": 1185,
"end": 1190,
"ctxt": 0
},
"properties": [
{
"type": "Identifier",
"span": {
"start": 1187,
"end": 1188,
"ctxt": 0
},
"value": "f",
"optional": false
}
]
}
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1238,
"end": 1256,
"ctxt": 0
},
"expression": {
"type": "ParenthesisExpression",
"span": {
"start": 1238,
"end": 1255,
"ctxt": 0
},
"expression": {
"type": "ArrowFunctionExpression",
"span": {
"start": 1239,
"end": 1254,
"ctxt": 0
},
"params": [],
"body": {
"type": "CallExpression",
"span": {
"start": 1245,
"end": 1254,
"ctxt": 0
},
"callee": {
"type": "SuperPropExpression",
"span": {
"start": 1245,
"end": 1252,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 1245,
"end": 1250,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 1251,
"end": 1252,
"ctxt": 0
},
"value": "x",
"optional": false
}
},
"arguments": [],
"typeArguments": null
},
"async": false,
"generator": false,
"typeParameters": null,
"returnType": null
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1301,
"end": 1322,
"ctxt": 0
},
"expression": {
"type": "ParenthesisExpression",
"span": {
"start": 1301,
"end": 1321,
"ctxt": 0
},
"expression": {
"type": "ArrowFunctionExpression",
"span": {
"start": 1302,
"end": 1320,
"ctxt": 0
},
"params": [],
"body": {
"type": "CallExpression",
"span": {
"start": 1308,
"end": 1320,
"ctxt": 0
},
"callee": {
"type": "SuperPropExpression",
"span": {
"start": 1308,
"end": 1318,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 1308,
"end": 1313,
"ctxt": 0
}
},
"property": {
"type": "Computed",
"span": {
"start": 1313,
"end": 1318,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 1314,
"end": 1317,
"ctxt": 0
},
"value": "x",
"raw": "\"x\""
}
}
},
"arguments": [],
"typeArguments": null
},
"async": false,
"generator": false,
"typeParameters": null,
"returnType": null
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1374,
"end": 1398,
"ctxt": 0
},
"expression": {
"type": "ParenthesisExpression",
"span": {
"start": 1374,
"end": 1397,
"ctxt": 0
},
"expression": {
"type": "ArrowFunctionExpression",
"span": {
"start": 1375,
"end": 1396,
"ctxt": 0
},
"params": [],
"body": {
"type": "CallExpression",
"span": {
"start": 1387,
"end": 1396,
"ctxt": 0
},
"callee": {
"type": "SuperPropExpression",
"span": {
"start": 1387,
"end": 1394,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 1387,
"end": 1392,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 1393,
"end": 1394,
"ctxt": 0
},
"value": "x",
"optional": false
}
},
"arguments": [],
"typeArguments": null
},
"async": true,
"generator": false,
"typeParameters": null,
"returnType": null
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1449,
"end": 1476,
"ctxt": 0
},
"expression": {
"type": "ParenthesisExpression",
"span": {
"start": 1449,
"end": 1475,
"ctxt": 0
},
"expression": {
"type": "ArrowFunctionExpression",
"span": {
"start": 1450,
"end": 1474,
"ctxt": 0
},
"params": [],
"body": {
"type": "CallExpression",
"span": {
"start": 1462,
"end": 1474,
"ctxt": 0
},
"callee": {
"type": "SuperPropExpression",
"span": {
"start": 1462,
"end": 1472,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 1462,
"end": 1467,
"ctxt": 0
}
},
"property": {
"type": "Computed",
"span": {
"start": 1467,
"end": 1472,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 1468,
"end": 1471,
"ctxt": 0
},
"value": "x",
"raw": "\"x\""
}
}
},
"arguments": [],
"typeArguments": null
},
"async": true,
"generator": false,
"typeParameters": null,
"returnType": null
}
}
}
]
},
"generator": false,
"async": true,
"typeParameters": null,
"returnType": null
},
"kind": "method",
"isStatic": false,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false
},
{
"type": "ClassMethod",
"span": {
"start": 1488,
"end": 1792,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 1494,
"end": 1524,
"ctxt": 0
},
"value": "property_access_only_read_only",
"optional": false
},
"function": {
"params": [],
"decorators": [],
"span": {
"start": 1488,
"end": 1792,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 1527,
"end": 1792,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 1574,
"end": 1584,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 1574,
"end": 1583,
"ctxt": 0
},
"callee": {
"type": "SuperPropExpression",
"span": {
"start": 1574,
"end": 1581,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 1574,
"end": 1579,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 1580,
"end": 1581,
"ctxt": 0
},
"value": "x",
"optional": false
}
},
"arguments": [],
"typeArguments": null
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 1628,
"end": 1646,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1634,
"end": 1645,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1634,
"end": 1635,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "SuperPropExpression",
"span": {
"start": 1638,
"end": 1645,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 1638,
"end": 1643,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 1644,
"end": 1645,
"ctxt": 0
},
"value": "x",
"optional": false
}
},
"definite": false
}
]
},
{
"type": "ExpressionStatement",
"span": {
"start": 1692,
"end": 1710,
"ctxt": 0
},
"expression": {
"type": "ParenthesisExpression",
"span": {
"start": 1692,
"end": 1709,
"ctxt": 0
},
"expression": {
"type": "ArrowFunctionExpression",
"span": {
"start": 1693,
"end": 1708,
"ctxt": 0
},
"params": [],
"body": {
"type": "CallExpression",
"span": {
"start": 1699,
"end": 1708,
"ctxt": 0
},
"callee": {
"type": "SuperPropExpression",
"span": {
"start": 1699,
"end": 1706,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 1699,
"end": 1704,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 1705,
"end": 1706,
"ctxt": 0
},
"value": "x",
"optional": false
}
},
"arguments": [],
"typeArguments": null
},
"async": false,
"generator": false,
"typeParameters": null,
"returnType": null
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1762,
"end": 1786,
"ctxt": 0
},
"expression": {
"type": "ParenthesisExpression",
"span": {
"start": 1762,
"end": 1785,
"ctxt": 0
},
"expression": {
"type": "ArrowFunctionExpression",
"span": {
"start": 1763,
"end": 1784,
"ctxt": 0
},
"params": [],
"body": {
"type": "CallExpression",
"span": {
"start": 1775,
"end": 1784,
"ctxt": 0
},
"callee": {
"type": "SuperPropExpression",
"span": {
"start": 1775,
"end": 1782,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 1775,
"end": 1780,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 1781,
"end": 1782,
"ctxt": 0
},
"value": "x",
"optional": false
}
},
"arguments": [],
"typeArguments": null
},
"async": true,
"generator": false,
"typeParameters": null,
"returnType": null
}
}
}
]
},
"generator": false,
"async": true,
"typeParameters": null,
"returnType": null
},
"kind": "method",
"isStatic": false,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false
},
{
"type": "ClassMethod",
"span": {
"start": 1798,
"end": 2181,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 1804,
"end": 1835,
"ctxt": 0
},
"value": "property_access_only_write_only",
"optional": false
},
"function": {
"params": [],
"decorators": [],
"span": {
"start": 1798,
"end": 2181,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 1838,
"end": 2181,
"ctxt": 0
},
"stmts": [
{
"type": "VariableDeclaration",
"span": {
"start": 1848,
"end": 1867,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1854,
"end": 1866,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1854,
"end": 1855,
"ctxt": 0
},
"value": "f",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrowFunctionExpression",
"span": {
"start": 1858,
"end": 1866,
"ctxt": 0
},
"params": [],
"body": {
"type": "BlockStatement",
"span": {
"start": 1864,
"end": 1866,
"ctxt": 0
},
"stmts": []
},
"async": false,
"generator": false,
"typeParameters": null,
"returnType": null
},
"definite": false
}
]
},
{
"type": "ExpressionStatement",
"span": {
"start": 1913,
"end": 1925,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1913,
"end": 1924,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "SuperPropExpression",
"span": {
"start": 1913,
"end": 1920,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 1913,
"end": 1918,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 1919,
"end": 1920,
"ctxt": 0
},
"value": "x",
"optional": false
}
},
"right": {
"type": "Identifier",
"span": {
"start": 1923,
"end": 1924,
"ctxt": 0
},
"value": "f",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 1988,
"end": 2013,
"ctxt": 0
},
"expression": {
"type": "ParenthesisExpression",
"span": {
"start": 1988,
"end": 2012,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 1989,
"end": 2011,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "ObjectPattern",
"span": {
"start": 1989,
"end": 2003,
"ctxt": 0
},
"properties": [
{
"type": "KeyValuePatternProperty",
"key": {
"type": "Identifier",
"span": {
"start": 1991,
"end": 1992,
"ctxt": 0
},
"value": "f",
"optional": false
},
"value": {
"type": "SuperPropExpression",
"span": {
"start": 1994,
"end": 2001,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 1994,
"end": 1999,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 2000,
"end": 2001,
"ctxt": 0
},
"value": "x",
"optional": false
}
}
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ObjectExpression",
"span": {
"start": 2006,
"end": 2011,
"ctxt": 0
},
"properties": [
{
"type": "Identifier",
"span": {
"start": 2008,
"end": 2009,
"ctxt": 0
},
"value": "f",
"optional": false
}
]
}
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 2068,
"end": 2088,
"ctxt": 0
},
"expression": {
"type": "ParenthesisExpression",
"span": {
"start": 2068,
"end": 2087,
"ctxt": 0
},
"expression": {
"type": "ArrowFunctionExpression",
"span": {
"start": 2069,
"end": 2086,
"ctxt": 0
},
"params": [],
"body": {
"type": "AssignmentExpression",
"span": {
"start": 2075,
"end": 2086,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "SuperPropExpression",
"span": {
"start": 2075,
"end": 2082,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 2075,
"end": 2080,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 2081,
"end": 2082,
"ctxt": 0
},
"value": "x",
"optional": false
}
},
"right": {
"type": "Identifier",
"span": {
"start": 2085,
"end": 2086,
"ctxt": 0
},
"value": "f",
"optional": false
}
},
"async": false,
"generator": false,
"typeParameters": null,
"returnType": null
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 2149,
"end": 2175,
"ctxt": 0
},
"expression": {
"type": "ParenthesisExpression",
"span": {
"start": 2149,
"end": 2174,
"ctxt": 0
},
"expression": {
"type": "ArrowFunctionExpression",
"span": {
"start": 2150,
"end": 2173,
"ctxt": 0
},
"params": [],
"body": {
"type": "AssignmentExpression",
"span": {
"start": 2162,
"end": 2173,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "SuperPropExpression",
"span": {
"start": 2162,
"end": 2169,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 2162,
"end": 2167,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 2168,
"end": 2169,
"ctxt": 0
},
"value": "x",
"optional": false
}
},
"right": {
"type": "Identifier",
"span": {
"start": 2172,
"end": 2173,
"ctxt": 0
},
"value": "f",
"optional": false
}
},
"async": true,
"generator": false,
"typeParameters": null,
"returnType": null
}
}
}
]
},
"generator": false,
"async": true,
"typeParameters": null,
"returnType": null
},
"kind": "method",
"isStatic": false,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false
},
{
"type": "ClassMethod",
"span": {
"start": 2187,
"end": 2498,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 2193,
"end": 2222,
"ctxt": 0
},
"value": "element_access_only_read_only",
"optional": false
},
"function": {
"params": [],
"decorators": [],
"span": {
"start": 2187,
"end": 2498,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 2225,
"end": 2498,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 2271,
"end": 2284,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 2271,
"end": 2283,
"ctxt": 0
},
"callee": {
"type": "SuperPropExpression",
"span": {
"start": 2271,
"end": 2281,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 2271,
"end": 2276,
"ctxt": 0
}
},
"property": {
"type": "Computed",
"span": {
"start": 2276,
"end": 2281,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 2277,
"end": 2280,
"ctxt": 0
},
"value": "x",
"raw": "\"x\""
}
}
},
"arguments": [],
"typeArguments": null
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 2327,
"end": 2348,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2333,
"end": 2347,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2333,
"end": 2334,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "SuperPropExpression",
"span": {
"start": 2337,
"end": 2347,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 2337,
"end": 2342,
"ctxt": 0
}
},
"property": {
"type": "Computed",
"span": {
"start": 2342,
"end": 2347,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 2343,
"end": 2346,
"ctxt": 0
},
"value": "x",
"raw": "\"x\""
}
}
},
"definite": false
}
]
},
{
"type": "ExpressionStatement",
"span": {
"start": 2393,
"end": 2414,
"ctxt": 0
},
"expression": {
"type": "ParenthesisExpression",
"span": {
"start": 2393,
"end": 2413,
"ctxt": 0
},
"expression": {
"type": "ArrowFunctionExpression",
"span": {
"start": 2394,
"end": 2412,
"ctxt": 0
},
"params": [],
"body": {
"type": "CallExpression",
"span": {
"start": 2400,
"end": 2412,
"ctxt": 0
},
"callee": {
"type": "SuperPropExpression",
"span": {
"start": 2400,
"end": 2410,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 2400,
"end": 2405,
"ctxt": 0
}
},
"property": {
"type": "Computed",
"span": {
"start": 2405,
"end": 2410,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 2406,
"end": 2409,
"ctxt": 0
},
"value": "x",
"raw": "\"x\""
}
}
},
"arguments": [],
"typeArguments": null
},
"async": false,
"generator": false,
"typeParameters": null,
"returnType": null
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 2465,
"end": 2492,
"ctxt": 0
},
"expression": {
"type": "ParenthesisExpression",
"span": {
"start": 2465,
"end": 2491,
"ctxt": 0
},
"expression": {
"type": "ArrowFunctionExpression",
"span": {
"start": 2466,
"end": 2490,
"ctxt": 0
},
"params": [],
"body": {
"type": "CallExpression",
"span": {
"start": 2478,
"end": 2490,
"ctxt": 0
},
"callee": {
"type": "SuperPropExpression",
"span": {
"start": 2478,
"end": 2488,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 2478,
"end": 2483,
"ctxt": 0
}
},
"property": {
"type": "Computed",
"span": {
"start": 2483,
"end": 2488,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 2484,
"end": 2487,
"ctxt": 0
},
"value": "x",
"raw": "\"x\""
}
}
},
"arguments": [],
"typeArguments": null
},
"async": true,
"generator": false,
"typeParameters": null,
"returnType": null
}
}
}
]
},
"generator": false,
"async": true,
"typeParameters": null,
"returnType": null
},
"kind": "method",
"isStatic": false,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false
},
{
"type": "ClassMethod",
"span": {
"start": 2504,
"end": 2894,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 2510,
"end": 2540,
"ctxt": 0
},
"value": "element_access_only_write_only",
"optional": false
},
"function": {
"params": [],
"decorators": [],
"span": {
"start": 2504,
"end": 2894,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 2543,
"end": 2894,
"ctxt": 0
},
"stmts": [
{
"type": "VariableDeclaration",
"span": {
"start": 2553,
"end": 2572,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2559,
"end": 2571,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2559,
"end": 2560,
"ctxt": 0
},
"value": "f",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrowFunctionExpression",
"span": {
"start": 2563,
"end": 2571,
"ctxt": 0
},
"params": [],
"body": {
"type": "BlockStatement",
"span": {
"start": 2569,
"end": 2571,
"ctxt": 0
},
"stmts": []
},
"async": false,
"generator": false,
"typeParameters": null,
"returnType": null
},
"definite": false
}
]
},
{
"type": "ExpressionStatement",
"span": {
"start": 2617,
"end": 2632,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 2617,
"end": 2631,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "SuperPropExpression",
"span": {
"start": 2617,
"end": 2627,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 2617,
"end": 2622,
"ctxt": 0
}
},
"property": {
"type": "Computed",
"span": {
"start": 2622,
"end": 2627,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 2623,
"end": 2626,
"ctxt": 0
},
"value": "x",
"raw": "\"x\""
}
}
},
"right": {
"type": "Identifier",
"span": {
"start": 2630,
"end": 2631,
"ctxt": 0
},
"value": "f",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 2694,
"end": 2722,
"ctxt": 0
},
"expression": {
"type": "ParenthesisExpression",
"span": {
"start": 2694,
"end": 2721,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 2695,
"end": 2720,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "ObjectPattern",
"span": {
"start": 2695,
"end": 2712,
"ctxt": 0
},
"properties": [
{
"type": "KeyValuePatternProperty",
"key": {
"type": "Identifier",
"span": {
"start": 2697,
"end": 2698,
"ctxt": 0
},
"value": "f",
"optional": false
},
"value": {
"type": "SuperPropExpression",
"span": {
"start": 2700,
"end": 2710,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 2700,
"end": 2705,
"ctxt": 0
}
},
"property": {
"type": "Computed",
"span": {
"start": 2705,
"end": 2710,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 2706,
"end": 2709,
"ctxt": 0
},
"value": "x",
"raw": "\"x\""
}
}
}
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ObjectExpression",
"span": {
"start": 2715,
"end": 2720,
"ctxt": 0
},
"properties": [
{
"type": "Identifier",
"span": {
"start": 2717,
"end": 2718,
"ctxt": 0
},
"value": "f",
"optional": false
}
]
}
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 2776,
"end": 2799,
"ctxt": 0
},
"expression": {
"type": "ParenthesisExpression",
"span": {
"start": 2776,
"end": 2798,
"ctxt": 0
},
"expression": {
"type": "ArrowFunctionExpression",
"span": {
"start": 2777,
"end": 2797,
"ctxt": 0
},
"params": [],
"body": {
"type": "AssignmentExpression",
"span": {
"start": 2783,
"end": 2797,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "SuperPropExpression",
"span": {
"start": 2783,
"end": 2793,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 2783,
"end": 2788,
"ctxt": 0
}
},
"property": {
"type": "Computed",
"span": {
"start": 2788,
"end": 2793,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 2789,
"end": 2792,
"ctxt": 0
},
"value": "x",
"raw": "\"x\""
}
}
},
"right": {
"type": "Identifier",
"span": {
"start": 2796,
"end": 2797,
"ctxt": 0
},
"value": "f",
"optional": false
}
},
"async": false,
"generator": false,
"typeParameters": null,
"returnType": null
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 2859,
"end": 2888,
"ctxt": 0
},
"expression": {
"type": "ParenthesisExpression",
"span": {
"start": 2859,
"end": 2887,
"ctxt": 0
},
"expression": {
"type": "ArrowFunctionExpression",
"span": {
"start": 2860,
"end": 2886,
"ctxt": 0
},
"params": [],
"body": {
"type": "AssignmentExpression",
"span": {
"start": 2872,
"end": 2886,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "SuperPropExpression",
"span": {
"start": 2872,
"end": 2882,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 2872,
"end": 2877,
"ctxt": 0
}
},
"property": {
"type": "Computed",
"span": {
"start": 2877,
"end": 2882,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 2878,
"end": 2881,
"ctxt": 0
},
"value": "x",
"raw": "\"x\""
}
}
},
"right": {
"type": "Identifier",
"span": {
"start": 2885,
"end": 2886,
"ctxt": 0
},
"value": "f",
"optional": false
}
},
"async": true,
"generator": false,
"typeParameters": null,
"returnType": null
}
}
}
]
},
"generator": false,
"async": true,
"typeParameters": null,
"returnType": null
},
"kind": "method",
"isStatic": false,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false
},
{
"type": "ClassMethod",
"span": {
"start": 2900,
"end": 3219,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 2908,
"end": 2951,
"ctxt": 0
},
"value": "property_access_only_read_only_in_generator",
"optional": false
},
"function": {
"params": [],
"decorators": [],
"span": {
"start": 2900,
"end": 3219,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 2954,
"end": 3219,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 3001,
"end": 3011,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 3001,
"end": 3010,
"ctxt": 0
},
"callee": {
"type": "SuperPropExpression",
"span": {
"start": 3001,
"end": 3008,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 3001,
"end": 3006,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 3007,
"end": 3008,
"ctxt": 0
},
"value": "x",
"optional": false
}
},
"arguments": [],
"typeArguments": null
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 3055,
"end": 3073,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3061,
"end": 3072,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3061,
"end": 3062,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "SuperPropExpression",
"span": {
"start": 3065,
"end": 3072,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 3065,
"end": 3070,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 3071,
"end": 3072,
"ctxt": 0
},
"value": "x",
"optional": false
}
},
"definite": false
}
]
},
{
"type": "ExpressionStatement",
"span": {
"start": 3119,
"end": 3137,
"ctxt": 0
},
"expression": {
"type": "ParenthesisExpression",
"span": {
"start": 3119,
"end": 3136,
"ctxt": 0
},
"expression": {
"type": "ArrowFunctionExpression",
"span": {
"start": 3120,
"end": 3135,
"ctxt": 0
},
"params": [],
"body": {
"type": "CallExpression",
"span": {
"start": 3126,
"end": 3135,
"ctxt": 0
},
"callee": {
"type": "SuperPropExpression",
"span": {
"start": 3126,
"end": 3133,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 3126,
"end": 3131,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 3132,
"end": 3133,
"ctxt": 0
},
"value": "x",
"optional": false
}
},
"arguments": [],
"typeArguments": null
},
"async": false,
"generator": false,
"typeParameters": null,
"returnType": null
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 3189,
"end": 3213,
"ctxt": 0
},
"expression": {
"type": "ParenthesisExpression",
"span": {
"start": 3189,
"end": 3212,
"ctxt": 0
},
"expression": {
"type": "ArrowFunctionExpression",
"span": {
"start": 3190,
"end": 3211,
"ctxt": 0
},
"params": [],
"body": {
"type": "CallExpression",
"span": {
"start": 3202,
"end": 3211,
"ctxt": 0
},
"callee": {
"type": "SuperPropExpression",
"span": {
"start": 3202,
"end": 3209,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 3202,
"end": 3207,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 3208,
"end": 3209,
"ctxt": 0
},
"value": "x",
"optional": false
}
},
"arguments": [],
"typeArguments": null
},
"async": true,
"generator": false,
"typeParameters": null,
"returnType": null
}
}
}
]
},
"generator": true,
"async": true,
"typeParameters": null,
"returnType": null
},
"kind": "method",
"isStatic": false,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false
},
{
"type": "ClassMethod",
"span": {
"start": 3225,
"end": 3623,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 3233,
"end": 3277,
"ctxt": 0
},
"value": "property_access_only_write_only_in_generator",
"optional": false
},
"function": {
"params": [],
"decorators": [],
"span": {
"start": 3225,
"end": 3623,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 3280,
"end": 3623,
"ctxt": 0
},
"stmts": [
{
"type": "VariableDeclaration",
"span": {
"start": 3290,
"end": 3309,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3296,
"end": 3308,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3296,
"end": 3297,
"ctxt": 0
},
"value": "f",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrowFunctionExpression",
"span": {
"start": 3300,
"end": 3308,
"ctxt": 0
},
"params": [],
"body": {
"type": "BlockStatement",
"span": {
"start": 3306,
"end": 3308,
"ctxt": 0
},
"stmts": []
},
"async": false,
"generator": false,
"typeParameters": null,
"returnType": null
},
"definite": false
}
]
},
{
"type": "ExpressionStatement",
"span": {
"start": 3355,
"end": 3367,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 3355,
"end": 3366,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "SuperPropExpression",
"span": {
"start": 3355,
"end": 3362,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 3355,
"end": 3360,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 3361,
"end": 3362,
"ctxt": 0
},
"value": "x",
"optional": false
}
},
"right": {
"type": "Identifier",
"span": {
"start": 3365,
"end": 3366,
"ctxt": 0
},
"value": "f",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 3430,
"end": 3455,
"ctxt": 0
},
"expression": {
"type": "ParenthesisExpression",
"span": {
"start": 3430,
"end": 3454,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 3431,
"end": 3453,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "ObjectPattern",
"span": {
"start": 3431,
"end": 3445,
"ctxt": 0
},
"properties": [
{
"type": "KeyValuePatternProperty",
"key": {
"type": "Identifier",
"span": {
"start": 3433,
"end": 3434,
"ctxt": 0
},
"value": "f",
"optional": false
},
"value": {
"type": "SuperPropExpression",
"span": {
"start": 3436,
"end": 3443,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 3436,
"end": 3441,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 3442,
"end": 3443,
"ctxt": 0
},
"value": "x",
"optional": false
}
}
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ObjectExpression",
"span": {
"start": 3448,
"end": 3453,
"ctxt": 0
},
"properties": [
{
"type": "Identifier",
"span": {
"start": 3450,
"end": 3451,
"ctxt": 0
},
"value": "f",
"optional": false
}
]
}
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 3510,
"end": 3530,
"ctxt": 0
},
"expression": {
"type": "ParenthesisExpression",
"span": {
"start": 3510,
"end": 3529,
"ctxt": 0
},
"expression": {
"type": "ArrowFunctionExpression",
"span": {
"start": 3511,
"end": 3528,
"ctxt": 0
},
"params": [],
"body": {
"type": "AssignmentExpression",
"span": {
"start": 3517,
"end": 3528,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "SuperPropExpression",
"span": {
"start": 3517,
"end": 3524,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 3517,
"end": 3522,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 3523,
"end": 3524,
"ctxt": 0
},
"value": "x",
"optional": false
}
},
"right": {
"type": "Identifier",
"span": {
"start": 3527,
"end": 3528,
"ctxt": 0
},
"value": "f",
"optional": false
}
},
"async": false,
"generator": false,
"typeParameters": null,
"returnType": null
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 3591,
"end": 3617,
"ctxt": 0
},
"expression": {
"type": "ParenthesisExpression",
"span": {
"start": 3591,
"end": 3616,
"ctxt": 0
},
"expression": {
"type": "ArrowFunctionExpression",
"span": {
"start": 3592,
"end": 3615,
"ctxt": 0
},
"params": [],
"body": {
"type": "AssignmentExpression",
"span": {
"start": 3604,
"end": 3615,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "SuperPropExpression",
"span": {
"start": 3604,
"end": 3611,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 3604,
"end": 3609,
"ctxt": 0
}
},
"property": {
"type": "Identifier",
"span": {
"start": 3610,
"end": 3611,
"ctxt": 0
},
"value": "x",
"optional": false
}
},
"right": {
"type": "Identifier",
"span": {
"start": 3614,
"end": 3615,
"ctxt": 0
},
"value": "f",
"optional": false
}
},
"async": true,
"generator": false,
"typeParameters": null,
"returnType": null
}
}
}
]
},
"generator": true,
"async": true,
"typeParameters": null,
"returnType": null
},
"kind": "method",
"isStatic": false,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false
},
{
"type": "ClassMethod",
"span": {
"start": 3629,
"end": 3955,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 3637,
"end": 3679,
"ctxt": 0
},
"value": "element_access_only_read_only_in_generator",
"optional": false
},
"function": {
"params": [],
"decorators": [],
"span": {
"start": 3629,
"end": 3955,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 3682,
"end": 3955,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 3728,
"end": 3741,
"ctxt": 0
},
"expression": {
"type": "CallExpression",
"span": {
"start": 3728,
"end": 3740,
"ctxt": 0
},
"callee": {
"type": "SuperPropExpression",
"span": {
"start": 3728,
"end": 3738,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 3728,
"end": 3733,
"ctxt": 0
}
},
"property": {
"type": "Computed",
"span": {
"start": 3733,
"end": 3738,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 3734,
"end": 3737,
"ctxt": 0
},
"value": "x",
"raw": "\"x\""
}
}
},
"arguments": [],
"typeArguments": null
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 3784,
"end": 3805,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3790,
"end": 3804,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3790,
"end": 3791,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "SuperPropExpression",
"span": {
"start": 3794,
"end": 3804,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 3794,
"end": 3799,
"ctxt": 0
}
},
"property": {
"type": "Computed",
"span": {
"start": 3799,
"end": 3804,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 3800,
"end": 3803,
"ctxt": 0
},
"value": "x",
"raw": "\"x\""
}
}
},
"definite": false
}
]
},
{
"type": "ExpressionStatement",
"span": {
"start": 3850,
"end": 3871,
"ctxt": 0
},
"expression": {
"type": "ParenthesisExpression",
"span": {
"start": 3850,
"end": 3870,
"ctxt": 0
},
"expression": {
"type": "ArrowFunctionExpression",
"span": {
"start": 3851,
"end": 3869,
"ctxt": 0
},
"params": [],
"body": {
"type": "CallExpression",
"span": {
"start": 3857,
"end": 3869,
"ctxt": 0
},
"callee": {
"type": "SuperPropExpression",
"span": {
"start": 3857,
"end": 3867,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 3857,
"end": 3862,
"ctxt": 0
}
},
"property": {
"type": "Computed",
"span": {
"start": 3862,
"end": 3867,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 3863,
"end": 3866,
"ctxt": 0
},
"value": "x",
"raw": "\"x\""
}
}
},
"arguments": [],
"typeArguments": null
},
"async": false,
"generator": false,
"typeParameters": null,
"returnType": null
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 3922,
"end": 3949,
"ctxt": 0
},
"expression": {
"type": "ParenthesisExpression",
"span": {
"start": 3922,
"end": 3948,
"ctxt": 0
},
"expression": {
"type": "ArrowFunctionExpression",
"span": {
"start": 3923,
"end": 3947,
"ctxt": 0
},
"params": [],
"body": {
"type": "CallExpression",
"span": {
"start": 3935,
"end": 3947,
"ctxt": 0
},
"callee": {
"type": "SuperPropExpression",
"span": {
"start": 3935,
"end": 3945,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 3935,
"end": 3940,
"ctxt": 0
}
},
"property": {
"type": "Computed",
"span": {
"start": 3940,
"end": 3945,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 3941,
"end": 3944,
"ctxt": 0
},
"value": "x",
"raw": "\"x\""
}
}
},
"arguments": [],
"typeArguments": null
},
"async": true,
"generator": false,
"typeParameters": null,
"returnType": null
}
}
}
]
},
"generator": true,
"async": true,
"typeParameters": null,
"returnType": null
},
"kind": "method",
"isStatic": false,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false
},
{
"type": "ClassMethod",
"span": {
"start": 3961,
"end": 4366,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 3969,
"end": 4012,
"ctxt": 0
},
"value": "element_access_only_write_only_in_generator",
"optional": false
},
"function": {
"params": [],
"decorators": [],
"span": {
"start": 3961,
"end": 4366,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 4015,
"end": 4366,
"ctxt": 0
},
"stmts": [
{
"type": "VariableDeclaration",
"span": {
"start": 4025,
"end": 4044,
"ctxt": 0
},
"kind": "const",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4031,
"end": 4043,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4031,
"end": 4032,
"ctxt": 0
},
"value": "f",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ArrowFunctionExpression",
"span": {
"start": 4035,
"end": 4043,
"ctxt": 0
},
"params": [],
"body": {
"type": "BlockStatement",
"span": {
"start": 4041,
"end": 4043,
"ctxt": 0
},
"stmts": []
},
"async": false,
"generator": false,
"typeParameters": null,
"returnType": null
},
"definite": false
}
]
},
{
"type": "ExpressionStatement",
"span": {
"start": 4089,
"end": 4104,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 4089,
"end": 4103,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "SuperPropExpression",
"span": {
"start": 4089,
"end": 4099,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 4089,
"end": 4094,
"ctxt": 0
}
},
"property": {
"type": "Computed",
"span": {
"start": 4094,
"end": 4099,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 4095,
"end": 4098,
"ctxt": 0
},
"value": "x",
"raw": "\"x\""
}
}
},
"right": {
"type": "Identifier",
"span": {
"start": 4102,
"end": 4103,
"ctxt": 0
},
"value": "f",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 4166,
"end": 4194,
"ctxt": 0
},
"expression": {
"type": "ParenthesisExpression",
"span": {
"start": 4166,
"end": 4193,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 4167,
"end": 4192,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "ObjectPattern",
"span": {
"start": 4167,
"end": 4184,
"ctxt": 0
},
"properties": [
{
"type": "KeyValuePatternProperty",
"key": {
"type": "Identifier",
"span": {
"start": 4169,
"end": 4170,
"ctxt": 0
},
"value": "f",
"optional": false
},
"value": {
"type": "SuperPropExpression",
"span": {
"start": 4172,
"end": 4182,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 4172,
"end": 4177,
"ctxt": 0
}
},
"property": {
"type": "Computed",
"span": {
"start": 4177,
"end": 4182,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 4178,
"end": 4181,
"ctxt": 0
},
"value": "x",
"raw": "\"x\""
}
}
}
}
],
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "ObjectExpression",
"span": {
"start": 4187,
"end": 4192,
"ctxt": 0
},
"properties": [
{
"type": "Identifier",
"span": {
"start": 4189,
"end": 4190,
"ctxt": 0
},
"value": "f",
"optional": false
}
]
}
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 4248,
"end": 4271,
"ctxt": 0
},
"expression": {
"type": "ParenthesisExpression",
"span": {
"start": 4248,
"end": 4270,
"ctxt": 0
},
"expression": {
"type": "ArrowFunctionExpression",
"span": {
"start": 4249,
"end": 4269,
"ctxt": 0
},
"params": [],
"body": {
"type": "AssignmentExpression",
"span": {
"start": 4255,
"end": 4269,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "SuperPropExpression",
"span": {
"start": 4255,
"end": 4265,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 4255,
"end": 4260,
"ctxt": 0
}
},
"property": {
"type": "Computed",
"span": {
"start": 4260,
"end": 4265,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 4261,
"end": 4264,
"ctxt": 0
},
"value": "x",
"raw": "\"x\""
}
}
},
"right": {
"type": "Identifier",
"span": {
"start": 4268,
"end": 4269,
"ctxt": 0
},
"value": "f",
"optional": false
}
},
"async": false,
"generator": false,
"typeParameters": null,
"returnType": null
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 4331,
"end": 4360,
"ctxt": 0
},
"expression": {
"type": "ParenthesisExpression",
"span": {
"start": 4331,
"end": 4359,
"ctxt": 0
},
"expression": {
"type": "ArrowFunctionExpression",
"span": {
"start": 4332,
"end": 4358,
"ctxt": 0
},
"params": [],
"body": {
"type": "AssignmentExpression",
"span": {
"start": 4344,
"end": 4358,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "SuperPropExpression",
"span": {
"start": 4344,
"end": 4354,
"ctxt": 0
},
"obj": {
"type": "Super",
"span": {
"start": 4344,
"end": 4349,
"ctxt": 0
}
},
"property": {
"type": "Computed",
"span": {
"start": 4349,
"end": 4354,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 4350,
"end": 4353,
"ctxt": 0
},
"value": "x",
"raw": "\"x\""
}
}
},
"right": {
"type": "Identifier",
"span": {
"start": 4357,
"end": 4358,
"ctxt": 0
},
"value": "f",
"optional": false
}
},
"async": true,
"generator": false,
"typeParameters": null,
"returnType": null
}
}
}
]
},
"generator": true,
"async": true,
"typeParameters": null,
"returnType": null
},
"kind": "method",
"isStatic": false,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false
}
],
"superClass": {
"type": "Identifier",
"span": {
"start": 118,
"end": 119,
"ctxt": 0
},
"value": "A",
"optional": false
},
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
}
],
"interpreter": null
}