{ "type": "File", "start":0,"end":36,"loc":{"start":{"line":1,"column":0},"end":{"line":3,"column":1}}, "errors": [ "SyntaxError: Constructor can't be an async function (2:8)" ], "program": { "type": "Program", "start":0,"end":36,"loc":{"start":{"line":1,"column":0},"end":{"line":3,"column":1}}, "sourceType": "script", "interpreter": null, "body": [ { "type": "ClassDeclaration", "start":0,"end":36,"loc":{"start":{"line":1,"column":0},"end":{"line":3,"column":1}}, "id": { "type": "Identifier", "start":6,"end":7,"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7},"identifierName":"A"}, "name": "A" }, "superClass": null, "body": { "type": "ClassBody", "start":8,"end":36,"loc":{"start":{"line":1,"column":8},"end":{"line":3,"column":1}}, "body": [ { "type": "ClassMethod", "start":12,"end":34,"loc":{"start":{"line":2,"column":2},"end":{"line":2,"column":24}}, "static": false, "key": { "type": "Identifier", "start":18,"end":29,"loc":{"start":{"line":2,"column":8},"end":{"line":2,"column":19},"identifierName":"constructor"}, "name": "constructor" }, "computed": false, "kind": "method", "id": null, "generator": false, "async": true, "params": [], "body": { "type": "BlockStatement", "start":32,"end":34,"loc":{"start":{"line":2,"column":22},"end":{"line":2,"column":24}}, "body": [], "directives": [] } } ] } } ], "directives": [] } }