{ "type": "File", "start":0,"end":31,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":31}}, "errors": [ "SyntaxError: A 'get' accessor must not have any formal parameters. (2:2)" ], "program": { "type": "Program", "start":0,"end":31,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":31}}, "sourceType": "script", "interpreter": null, "body": [ { "type": "ClassDeclaration", "start":0,"end":31,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":31}}, "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":31,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":3,"column":1,"index":31}}, "body": [ { "type": "ClassMethod", "start":12,"end":29,"loc":{"start":{"line":2,"column":2,"index":12},"end":{"line":2,"column":19,"index":29}}, "static": false, "key": { "type": "Identifier", "start":16,"end":20,"loc":{"start":{"line":2,"column":6,"index":16},"end":{"line":2,"column":10,"index":20},"identifierName":"prop"}, "name": "prop" }, "computed": false, "kind": "get", "id": null, "generator": false, "async": false, "params": [ { "type": "Identifier", "start":22,"end":25,"loc":{"start":{"line":2,"column":12,"index":22},"end":{"line":2,"column":15,"index":25},"identifierName":"arg"}, "name": "arg" } ], "body": { "type": "BlockStatement", "start":27,"end":29,"loc":{"start":{"line":2,"column":17,"index":27},"end":{"line":2,"column":19,"index":29}}, "body": [], "directives": [] } } ] } } ], "directives": [] } }