{ "type": "Script", "span": { "start": 44, "end": 1187, "ctxt": 0 }, "body": [ { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 50, "end": 51, "ctxt": 0 }, "value": "A", "optional": false }, "declare": false, "span": { "start": 44, "end": 87, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassMethod", "span": { "start": 58, "end": 69, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 58, "end": 59, "ctxt": 0 }, "value": "x", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 58, "end": 69, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 62, "end": 69, "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": 74, "end": 85, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 74, "end": 75, "ctxt": 0 }, "value": "y", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 74, "end": 85, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 78, "end": 85, "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": 95, "end": 96, "ctxt": 0 }, "value": "B", "optional": false }, "declare": false, "span": { "start": 89, "end": 1187, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassMethod", "span": { "start": 190, "end": 509, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 196, "end": 202, "ctxt": 0 }, "value": "simple", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 190, "end": 509, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 205, "end": 509, "ctxt": 0 }, "stmts": [ { "type": "ExpressionStatement", "span": { "start": 252, "end": 262, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 252, "end": 261, "ctxt": 0 }, "callee": { "type": "SuperPropExpression", "span": { "start": 252, "end": 259, "ctxt": 0 }, "obj": { "type": "Super", "span": { "start": 252, "end": 257, "ctxt": 0 } }, "property": { "type": "Identifier", "span": { "start": 258, "end": 259, "ctxt": 0 }, "value": "x", "optional": false } }, "arguments": [], "typeArguments": null } }, { "type": "ExpressionStatement", "span": { "start": 308, "end": 318, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 308, "end": 317, "ctxt": 0 }, "callee": { "type": "SuperPropExpression", "span": { "start": 308, "end": 315, "ctxt": 0 }, "obj": { "type": "Super", "span": { "start": 308, "end": 313, "ctxt": 0 } }, "property": { "type": "Identifier", "span": { "start": 314, "end": 315, "ctxt": 0 }, "value": "y", "optional": false } }, "arguments": [], "typeArguments": null } }, { "type": "ExpressionStatement", "span": { "start": 364, "end": 377, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 364, "end": 376, "ctxt": 0 }, "callee": { "type": "SuperPropExpression", "span": { "start": 364, "end": 374, "ctxt": 0 }, "obj": { "type": "Super", "span": { "start": 364, "end": 369, "ctxt": 0 } }, "property": { "type": "Computed", "span": { "start": 369, "end": 374, "ctxt": 0 }, "expression": { "type": "StringLiteral", "span": { "start": 370, "end": 373, "ctxt": 0 }, "value": "x", "raw": "\"x\"" } } }, "arguments": [], "typeArguments": null } }, { "type": "VariableDeclaration", "span": { "start": 421, "end": 439, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 427, "end": 438, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 427, "end": 428, "ctxt": 0 }, "value": "a", "optional": false, "typeAnnotation": null }, "init": { "type": "SuperPropExpression", "span": { "start": 431, "end": 438, "ctxt": 0 }, "obj": { "type": "Super", "span": { "start": 431, "end": 436, "ctxt": 0 } }, "property": { "type": "Identifier", "span": { "start": 437, "end": 438, "ctxt": 0 }, "value": "x", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 482, "end": 503, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 488, "end": 502, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 488, "end": 489, "ctxt": 0 }, "value": "b", "optional": false, "typeAnnotation": null }, "init": { "type": "SuperPropExpression", "span": { "start": 492, "end": 502, "ctxt": 0 }, "obj": { "type": "Super", "span": { "start": 492, "end": 497, "ctxt": 0 } }, "property": { "type": "Computed", "span": { "start": 497, "end": 502, "ctxt": 0 }, "expression": { "type": "StringLiteral", "span": { "start": 498, "end": 501, "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": 595, "end": 1185, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 601, "end": 609, "ctxt": 0 }, "value": "advanced", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 595, "end": 1185, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 612, "end": 1185, "ctxt": 0 }, "stmts": [ { "type": "VariableDeclaration", "span": { "start": 622, "end": 641, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 628, "end": 640, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 628, "end": 629, "ctxt": 0 }, "value": "f", "optional": false, "typeAnnotation": null }, "init": { "type": "ArrowFunctionExpression", "span": { "start": 632, "end": 640, "ctxt": 0 }, "params": [], "body": { "type": "BlockStatement", "span": { "start": 638, "end": 640, "ctxt": 0 }, "stmts": [] }, "async": false, "generator": false, "typeParameters": null, "returnType": null }, "definite": false } ] }, { "type": "ExpressionStatement", "span": { "start": 688, "end": 698, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 688, "end": 697, "ctxt": 0 }, "callee": { "type": "SuperPropExpression", "span": { "start": 688, "end": 695, "ctxt": 0 }, "obj": { "type": "Super", "span": { "start": 688, "end": 693, "ctxt": 0 } }, "property": { "type": "Identifier", "span": { "start": 694, "end": 695, "ctxt": 0 }, "value": "x", "optional": false } }, "arguments": [], "typeArguments": null } }, { "type": "ExpressionStatement", "span": { "start": 744, "end": 757, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 744, "end": 756, "ctxt": 0 }, "callee": { "type": "SuperPropExpression", "span": { "start": 744, "end": 754, "ctxt": 0 }, "obj": { "type": "Super", "span": { "start": 744, "end": 749, "ctxt": 0 } }, "property": { "type": "Computed", "span": { "start": 749, "end": 754, "ctxt": 0 }, "expression": { "type": "StringLiteral", "span": { "start": 750, "end": 753, "ctxt": 0 }, "value": "x", "raw": "\"x\"" } } }, "arguments": [], "typeArguments": null } }, { "type": "VariableDeclaration", "span": { "start": 801, "end": 819, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 807, "end": 818, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 807, "end": 808, "ctxt": 0 }, "value": "a", "optional": false, "typeAnnotation": null }, "init": { "type": "SuperPropExpression", "span": { "start": 811, "end": 818, "ctxt": 0 }, "obj": { "type": "Super", "span": { "start": 811, "end": 816, "ctxt": 0 } }, "property": { "type": "Identifier", "span": { "start": 817, "end": 818, "ctxt": 0 }, "value": "x", "optional": false } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 862, "end": 883, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 868, "end": 882, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 868, "end": 869, "ctxt": 0 }, "value": "b", "optional": false, "typeAnnotation": null }, "init": { "type": "SuperPropExpression", "span": { "start": 872, "end": 882, "ctxt": 0 }, "obj": { "type": "Super", "span": { "start": 872, "end": 877, "ctxt": 0 } }, "property": { "type": "Computed", "span": { "start": 877, "end": 882, "ctxt": 0 }, "expression": { "type": "StringLiteral", "span": { "start": 878, "end": 881, "ctxt": 0 }, "value": "x", "raw": "\"x\"" } } }, "definite": false } ] }, { "type": "ExpressionStatement", "span": { "start": 929, "end": 941, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 929, "end": 940, "ctxt": 0 }, "operator": "=", "left": { "type": "SuperPropExpression", "span": { "start": 929, "end": 936, "ctxt": 0 }, "obj": { "type": "Super", "span": { "start": 929, "end": 934, "ctxt": 0 } }, "property": { "type": "Identifier", "span": { "start": 935, "end": 936, "ctxt": 0 }, "value": "x", "optional": false } }, "right": { "type": "Identifier", "span": { "start": 939, "end": 940, "ctxt": 0 }, "value": "f", "optional": false } } }, { "type": "ExpressionStatement", "span": { "start": 986, "end": 1001, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 986, "end": 1000, "ctxt": 0 }, "operator": "=", "left": { "type": "SuperPropExpression", "span": { "start": 986, "end": 996, "ctxt": 0 }, "obj": { "type": "Super", "span": { "start": 986, "end": 991, "ctxt": 0 } }, "property": { "type": "Computed", "span": { "start": 991, "end": 996, "ctxt": 0 }, "expression": { "type": "StringLiteral", "span": { "start": 992, "end": 995, "ctxt": 0 }, "value": "x", "raw": "\"x\"" } } }, "right": { "type": "Identifier", "span": { "start": 999, "end": 1000, "ctxt": 0 }, "value": "f", "optional": false } } }, { "type": "ExpressionStatement", "span": { "start": 1064, "end": 1089, "ctxt": 0 }, "expression": { "type": "ParenthesisExpression", "span": { "start": 1064, "end": 1088, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 1065, "end": 1087, "ctxt": 0 }, "operator": "=", "left": { "type": "ObjectPattern", "span": { "start": 1065, "end": 1079, "ctxt": 0 }, "properties": [ { "type": "KeyValuePatternProperty", "key": { "type": "Identifier", "span": { "start": 1067, "end": 1068, "ctxt": 0 }, "value": "f", "optional": false }, "value": { "type": "SuperPropExpression", "span": { "start": 1070, "end": 1077, "ctxt": 0 }, "obj": { "type": "Super", "span": { "start": 1070, "end": 1075, "ctxt": 0 } }, "property": { "type": "Identifier", "span": { "start": 1076, "end": 1077, "ctxt": 0 }, "value": "x", "optional": false } } } ], "optional": false, "typeAnnotation": null }, "right": { "type": "ObjectExpression", "span": { "start": 1082, "end": 1087, "ctxt": 0 }, "properties": [ { "type": "Identifier", "span": { "start": 1084, "end": 1085, "ctxt": 0 }, "value": "f", "optional": false } ] } } } }, { "type": "ExpressionStatement", "span": { "start": 1151, "end": 1179, "ctxt": 0 }, "expression": { "type": "ParenthesisExpression", "span": { "start": 1151, "end": 1178, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 1152, "end": 1177, "ctxt": 0 }, "operator": "=", "left": { "type": "ObjectPattern", "span": { "start": 1152, "end": 1169, "ctxt": 0 }, "properties": [ { "type": "KeyValuePatternProperty", "key": { "type": "Identifier", "span": { "start": 1154, "end": 1155, "ctxt": 0 }, "value": "f", "optional": false }, "value": { "type": "SuperPropExpression", "span": { "start": 1157, "end": 1167, "ctxt": 0 }, "obj": { "type": "Super", "span": { "start": 1157, "end": 1162, "ctxt": 0 } }, "property": { "type": "Computed", "span": { "start": 1162, "end": 1167, "ctxt": 0 }, "expression": { "type": "StringLiteral", "span": { "start": 1163, "end": 1166, "ctxt": 0 }, "value": "x", "raw": "\"x\"" } } } } ], "optional": false, "typeAnnotation": null }, "right": { "type": "ObjectExpression", "span": { "start": 1172, "end": 1177, "ctxt": 0 }, "properties": [ { "type": "Identifier", "span": { "start": 1174, "end": 1175, "ctxt": 0 }, "value": "f", "optional": false } ] } } } } ] }, "generator": false, "async": true, "typeParameters": null, "returnType": null }, "kind": "method", "isStatic": false, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false } ], "superClass": { "type": "Identifier", "span": { "start": 105, "end": 106, "ctxt": 0 }, "value": "A", "optional": false }, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] } ], "interpreter": null }