{ "type": "Program", "statements": [ { "type": "ClassDeclaration", "definition": { "id": { "type": "Identifier", "name": "A", "loc": { "start": { "line": 17, "column": 7 }, "end": { "line": 17, "column": 8 } } }, "superClass": null, "implements": [], "constructor": { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "constructor", "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": 17, "column": 1 }, "end": { "line": 17, "column": 10 } } }, "body": [], "indexSignatures": [], "loc": { "start": { "line": 17, "column": 8 }, "end": { "line": 17, "column": 10 } } }, "decorators": [], "loc": { "start": { "line": 17, "column": 1 }, "end": { "line": 17, "column": 10 } } }, { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "a", "loc": { "start": { "line": 18, "column": 5 }, "end": { "line": 18, "column": 6 } } }, "init": { "type": "ClassExpression", "definition": { "id": null, "superClass": null, "implements": [ { "type": "TSClassImplements", "expression": { "type": "Identifier", "name": "A", "loc": { "start": { "line": 18, "column": 26 }, "end": { "line": 18, "column": 27 } } }, "loc": { "start": { "line": 18, "column": 26 }, "end": { "line": 18, "column": 28 } } } ], "constructor": { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "constructor", "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": 18, "column": 9 }, "end": { "line": 18, "column": 29 } } }, "body": [], "indexSignatures": [], "loc": { "start": { "line": 18, "column": 27 }, "end": { "line": 18, "column": 29 } } }, "loc": { "start": { "line": 18, "column": 9 }, "end": { "line": 18, "column": 29 } } }, "loc": { "start": { "line": 18, "column": 5 }, "end": { "line": 18, "column": 29 } } } ], "kind": "var", "loc": { "start": { "line": 18, "column": 1 }, "end": { "line": 18, "column": 29 } } } ], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 19, "column": 1 } } }