{ "type": "Program", "statements": [ { "type": "ClassDeclaration", "definition": { "id": { "type": "Identifier", "name": "Foo", "loc": { "start": { "line": 17, "column": 7 }, "end": { "line": 17, "column": 10 } } }, "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": 22, "column": 2 } } }, "body": [ { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "bar", "loc": { "start": { "line": 18, "column": 5 }, "end": { "line": 18, "column": 8 } } }, "kind": "method", "static": false, "optional": false, "computed": false, "value": { "type": "FunctionExpression", "function": { "type": "ScriptFunction", "id": null, "generator": false, "async": false, "expression": false, "params": [], "loc": { "start": { "line": 18, "column": 8 }, "end": { "line": 18, "column": 11 } } }, "loc": { "start": { "line": 18, "column": 8 }, "end": { "line": 18, "column": 11 } } }, "overloads": [], "decorators": [], "loc": { "start": { "line": 18, "column": 5 }, "end": { "line": 18, "column": 11 } } }, { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "bar", "loc": { "start": { "line": 19, "column": 5 }, "end": { "line": 19, "column": 8 } } }, "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": 19, "column": 11 }, "end": { "line": 19, "column": 14 } } }, "loc": { "start": { "line": 19, "column": 8 }, "end": { "line": 19, "column": 14 } } }, "loc": { "start": { "line": 19, "column": 8 }, "end": { "line": 19, "column": 14 } } }, "overloads": [], "decorators": [], "loc": { "start": { "line": 19, "column": 5 }, "end": { "line": 19, "column": 14 } } }, { "type": "ClassProperty", "key": { "type": "Identifier", "name": "baz", "loc": { "start": { "line": 20, "column": 5 }, "end": { "line": 20, "column": 8 } } }, "static": false, "readonly": false, "declare": false, "optional": false, "computed": false, "typeAnnotation": { "type": "TSStringKeyword", "loc": { "start": { "line": 20, "column": 10 }, "end": { "line": 20, "column": 16 } } }, "decorators": [], "loc": { "start": { "line": 20, "column": 5 }, "end": { "line": 20, "column": 8 } } }, { "type": "MethodDefinition", "key": { "type": "Identifier", "name": "bar", "loc": { "start": { "line": 21, "column": 5 }, "end": { "line": 21, "column": 8 } } }, "kind": "method", "static": false, "optional": false, "computed": false, "value": { "type": "FunctionExpression", "function": { "type": "ScriptFunction", "id": null, "generator": false, "async": false, "expression": false, "params": [], "loc": { "start": { "line": 21, "column": 8 }, "end": { "line": 21, "column": 11 } } }, "loc": { "start": { "line": 21, "column": 8 }, "end": { "line": 21, "column": 11 } } }, "overloads": [], "decorators": [], "loc": { "start": { "line": 21, "column": 5 }, "end": { "line": 21, "column": 11 } } } ], "indexSignatures": [], "loc": { "start": { "line": 17, "column": 11 }, "end": { "line": 22, "column": 2 } } }, "decorators": [], "loc": { "start": { "line": 17, "column": 1 }, "end": { "line": 22, "column": 2 } } } ], "loc": { "start": { "line": 1, "column": 1 }, "end": { "line": 22, "column": 2 } } }