{ "type": "Program", "statements": [ { "type": "ClassDeclaration", "definition": { "id": { "type": "Identifier", "name": "A", "decorators": [], "loc": { "start": { "line": 16, "column": 7 }, "end": { "line": 16, "column": 8 } } }, "superClass": null, "implements": [], "constructor": { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "constructor", "decorators": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "kind": "constructor", "static": false, "optional": false, "computed": false, "value": { "type": "FunctionExpression", "function": { "type": "ScriptFunction", "id": null, "generator": false, "async": false, "expression": false, "params": [], "body": { "type": "BlockStatement", "statements": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "overloads": [], "decorators": [], "loc": { "start": { "line": 26, "column": 2 }, "end": { "line": 26, "column": 2 } } }, "body": [ { "type": "ClassStaticBlock", "value": { "type": "FunctionExpression", "function": { "type": "ScriptFunction", "id": null, "generator": false, "async": false, "expression": true, "params": [], "body": { "type": "BlockStatement", "statements": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "loc": { "start": { "line": 19, "column": 5 }, "end": { "line": 19, "column": 6 } } }, { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 20, "column": 5 }, "end": { "line": 20, "column": 6 } } }, "kind": "method", "static": false, "optional": false, "computed": false, "value": { "type": "FunctionExpression", "function": { "type": "ScriptFunction", "id": null, "generator": false, "async": false, "expression": false, "params": [], "body": { "type": "BlockStatement", "statements": [], "loc": { "start": { "line": 20, "column": 9 }, "end": { "line": 20, "column": 12 } } }, "loc": { "start": { "line": 20, "column": 6 }, "end": { "line": 20, "column": 12 } } }, "loc": { "start": { "line": 20, "column": 6 }, "end": { "line": 20, "column": 12 } } }, "overloads": [], "decorators": [], "loc": { "start": { "line": 20, "column": 5 }, "end": { "line": 20, "column": 12 } } }, { "type": "ClassStaticBlock", "value": { "type": "FunctionExpression", "function": { "type": "ScriptFunction", "id": null, "generator": false, "async": false, "expression": true, "params": [], "body": { "type": "BlockStatement", "statements": [ { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "a", "decorators": [], "loc": { "start": { "line": 22, "column": 13 }, "end": { "line": 22, "column": 14 } } }, "init": { "type": "NumberLiteral", "value": 5, "loc": { "start": { "line": 22, "column": 17 }, "end": { "line": 22, "column": 18 } } }, "loc": { "start": { "line": 22, "column": 13 }, "end": { "line": 22, "column": 18 } } } ], "kind": "let", "loc": { "start": { "line": 22, "column": 9 }, "end": { "line": 22, "column": 19 } } }, { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "object": { "type": "ThisExpression", "loc": { "start": { "line": 23, "column": 9 }, "end": { "line": 23, "column": 13 } } }, "property": { "type": "Identifier", "name": "b", "decorators": [], "loc": { "start": { "line": 23, "column": 14 }, "end": { "line": 23, "column": 15 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 23, "column": 9 }, "end": { "line": 23, "column": 15 } } }, "right": { "type": "NumberLiteral", "value": 12, "loc": { "start": { "line": 23, "column": 18 }, "end": { "line": 23, "column": 20 } } }, "loc": { "start": { "line": 23, "column": 9 }, "end": { "line": 23, "column": 20 } } }, "loc": { "start": { "line": 23, "column": 9 }, "end": { "line": 23, "column": 21 } } } ], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "loc": { "start": { "line": 24, "column": 5 }, "end": { "line": 24, "column": 6 } } }, { "type": "ClassProperty", "key": { "type": "Identifier", "name": "b", "decorators": [], "loc": { "start": { "line": 25, "column": 12 }, "end": { "line": 25, "column": 13 } } }, "value": { "type": "NumberLiteral", "value": 3, "loc": { "start": { "line": 25, "column": 16 }, "end": { "line": 25, "column": 17 } } }, "static": true, "readonly": false, "declare": false, "optional": false, "computed": false, "definite": false, "decorators": [], "loc": { "start": { "line": 25, "column": 5 }, "end": { "line": 25, "column": 17 } } } ], "loc": { "start": { "line": 16, "column": 9 }, "end": { "line": 26, "column": 2 } } }, "loc": { "start": { "line": 16, "column": 1 }, "end": { "line": 26, "column": 2 } } }, { "type": "ClassDeclaration", "definition": { "id": { "type": "Identifier", "name": "B", "decorators": [], "loc": { "start": { "line": 28, "column": 7 }, "end": { "line": 28, "column": 8 } } }, "superClass": { "type": "Identifier", "name": "A", "decorators": [], "loc": { "start": { "line": 28, "column": 17 }, "end": { "line": 28, "column": 18 } } }, "implements": [], "constructor": { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "constructor", "decorators": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "kind": "constructor", "static": false, "optional": false, "computed": false, "value": { "type": "FunctionExpression", "function": { "type": "ScriptFunction", "id": null, "generator": false, "async": false, "expression": false, "params": [ { "type": "RestElement", "argument": { "type": "Identifier", "name": "args", "decorators": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } } ], "body": { "type": "BlockStatement", "statements": [ { "type": "ExpressionStatement", "expression": { "type": "CallExpression", "callee": { "type": "Super", "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "arguments": [ { "type": "SpreadElement", "argument": { "type": "Identifier", "name": "args", "decorators": [], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } } ], "optional": false, "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } } ], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "overloads": [], "decorators": [], "loc": { "start": { "line": 33, "column": 2 }, "end": { "line": 33, "column": 2 } } }, "body": [ { "type": "ClassProperty", "key": { "type": "Identifier", "name": "k", "decorators": [], "loc": { "start": { "line": 29, "column": 12 }, "end": { "line": 29, "column": 13 } } }, "static": true, "readonly": false, "declare": false, "optional": false, "computed": false, "definite": false, "decorators": [], "loc": { "start": { "line": 29, "column": 5 }, "end": { "line": 29, "column": 13 } } }, { "type": "ClassStaticBlock", "value": { "type": "FunctionExpression", "function": { "type": "ScriptFunction", "id": null, "generator": false, "async": false, "expression": true, "params": [], "body": { "type": "BlockStatement", "statements": [ { "type": "ExpressionStatement", "expression": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "object": { "type": "Super", "loc": { "start": { "line": 31, "column": 9 }, "end": { "line": 31, "column": 14 } } }, "property": { "type": "Identifier", "name": "b", "decorators": [], "loc": { "start": { "line": 31, "column": 15 }, "end": { "line": 31, "column": 16 } } }, "computed": false, "optional": false, "loc": { "start": { "line": 31, "column": 9 }, "end": { "line": 31, "column": 16 } } }, "right": { "type": "NumberLiteral", "value": 5, "loc": { "start": { "line": 31, "column": 19 }, "end": { "line": 31, "column": 20 } } }, "loc": { "start": { "line": 31, "column": 9 }, "end": { "line": 31, "column": 20 } } }, "loc": { "start": { "line": 31, "column": 9 }, "end": { "line": 31, "column": 21 } } } ], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 1, "column": 1 } } }, "loc": { "start": { "line": 32, "column": 5 }, "end": { "line": 32, "column": 6 } } } ], "loc": { "start": { "line": 28, "column": 19 }, "end": { "line": 33, "column": 2 } } }, "loc": { "start": { "line": 28, "column": 1 }, "end": { "line": 33, "column": 2 } } } ], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 34, "column": 1 } } }