{ "type": "File", "start": 0, "end": 51, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 5, "column": 1 } }, "program": { "type": "Program", "start": 0, "end": 51, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 5, "column": 1 } }, "sourceType": "script", "body": [ { "type": "ClassDeclaration", "start": 0, "end": 51, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 5, "column": 1 } }, "id": { "type": "Identifier", "start": 6, "end": 9, "loc": { "start": { "line": 1, "column": 6 }, "end": { "line": 1, "column": 9 } }, "name": "Foo" }, "superClass": null, "body": { "type": "ClassBody", "start": 10, "end": 51, "loc": { "start": { "line": 1, "column": 10 }, "end": { "line": 5, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 14, "end": 49, "loc": { "start": { "line": 2, "column": 2 }, "end": { "line": 4, "column": 3 } }, "computed": false, "key": { "type": "Identifier", "start": 19, "end": 30, "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 18 } }, "name": "constructor" }, "static": false, "kind": "constructorCall", "id": null, "generator": false, "expression": false, "params": [], "body": { "type": "BlockStatement", "start": 33, "end": 49, "loc": { "start": { "line": 2, "column": 21 }, "end": { "line": 4, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 39, "end": 45, "loc": { "start": { "line": 3, "column": 4 }, "end": { "line": 3, "column": 10 } }, "expression": { "type": "CallExpression", "start": 39, "end": 44, "loc": { "start": { "line": 3, "column": 4 }, "end": { "line": 3, "column": 9 } }, "callee": { "type": "Identifier", "start": 39, "end": 42, "loc": { "start": { "line": 3, "column": 4 }, "end": { "line": 3, "column": 7 } }, "name": "foo" }, "arguments": [] } } ], "directives": [] } } ] } } ], "directives": [] } }