{ "type": "File", "start":0,"end":36,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":36}}, "errors": [ "SyntaxError: Constructor can't be an async function. (2:8)" ], "program": { "type": "Program", "start":0,"end":36,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":36}}, "sourceType": "script", "interpreter": null, "body": [ { "type": "ClassDeclaration", "start":0,"end":36,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":36}}, "id": { "type": "Identifier", "start":6,"end":7,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":7,"index":7},"identifierName":"A"}, "name": "A" }, "superClass": null, "body": { "type": "ClassBody", "start":8,"end":36,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":3,"column":1,"index":36}}, "body": [ { "type": "ClassMethod", "start":12,"end":34,"loc":{"start":{"line":2,"column":2,"index":12},"end":{"line":2,"column":24,"index":34}}, "static": false, "key": { "type": "Identifier", "start":18,"end":29,"loc":{"start":{"line":2,"column":8,"index":18},"end":{"line":2,"column":19,"index":29},"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,"index":32},"end":{"line":2,"column":24,"index":34}}, "body": [], "directives": [] } } ] } } ], "directives": [] } }