{ "type": "File", "start": 0, "end": 25, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 25 } }, "program": { "type": "Program", "start": 0, "end": 25, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 25 } }, "sourceType": "script", "body": [ { "type": "ClassDeclaration", "start": 0, "end": 25, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 25 } }, "id": { "type": "Identifier", "start": 6, "end": 9, "loc": { "start": { "line": 1, "column": 6 }, "end": { "line": 1, "column": 9 }, "identifierName": "Foo" }, "name": "Foo" }, "superClass": null, "body": { "type": "ClassBody", "start": 10, "end": 25, "loc": { "start": { "line": 1, "column": 10 }, "end": { "line": 1, "column": 25 } }, "body": [ { "type": "ClassMethod", "start": 12, "end": 23, "loc": { "start": { "line": 1, "column": 12 }, "end": { "line": 1, "column": 23 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 12, "end": 15, "loc": { "start": { "line": 1, "column": 12 }, "end": { "line": 1, "column": 15 }, "identifierName": "bar" }, "name": "bar" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 16, "end": 17, "loc": { "start": { "line": 1, "column": 16 }, "end": { "line": 1, "column": 17 }, "identifierName": "a" }, "name": "a" } ], "body": { "type": "BlockStatement", "start": 20, "end": 23, "loc": { "start": { "line": 1, "column": 20 }, "end": { "line": 1, "column": 23 } }, "body": [], "directives": [] } } ] } } ], "directives": [] } }