{ "type": "File", "start":0,"end":32,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":32,"index":32}}, "errors": [ "SyntaxError: Class constructor may not be an accessor. (1:14)" ], "program": { "type": "Program", "start":0,"end":32,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":32,"index":32}}, "sourceType": "script", "interpreter": null, "body": [ { "type": "ClassDeclaration", "start":0,"end":32,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":32,"index":32}}, "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":32,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":32,"index":32}}, "body": [ { "type": "ClassMethod", "start":10,"end":30,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":30,"index":30}}, "static": false, "key": { "type": "Identifier", "start":14,"end":25,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":25,"index":25},"identifierName":"constructor"}, "name": "constructor" }, "computed": false, "kind": "get", "id": null, "generator": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start":28,"end":30,"loc":{"start":{"line":1,"column":28,"index":28},"end":{"line":1,"column":30,"index":30}}, "body": [], "directives": [] } } ] } } ], "directives": [] } }