{ "type": "File", "start":0,"end":30,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":30}}, "errors": [ "SyntaxError: Argument name clash. (2:11)" ], "program": { "type": "Program", "start":0,"end":30,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":30}}, "sourceType": "script", "interpreter": null, "body": [ { "type": "ClassDeclaration", "start":0,"end":30,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":30}}, "id": { "type": "Identifier", "start":6,"end":9,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":9,"index":9},"identifierName":"Foo"}, "name": "Foo" }, "superClass": null, "body": { "type": "ClassBody", "start":10,"end":30,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":3,"column":1,"index":30}}, "body": [ { "type": "ClassMethod", "start":16,"end":28,"loc":{"start":{"line":2,"column":4,"index":16},"end":{"line":2,"column":16,"index":28}}, "static": false, "key": { "type": "Identifier", "start":16,"end":19,"loc":{"start":{"line":2,"column":4,"index":16},"end":{"line":2,"column":7,"index":19},"identifierName":"bar"}, "name": "bar" }, "computed": false, "kind": "method", "id": null, "generator": false, "async": false, "params": [ { "type": "Identifier", "start":20,"end":21,"loc":{"start":{"line":2,"column":8,"index":20},"end":{"line":2,"column":9,"index":21},"identifierName":"a"}, "name": "a" }, { "type": "Identifier", "start":23,"end":24,"loc":{"start":{"line":2,"column":11,"index":23},"end":{"line":2,"column":12,"index":24},"identifierName":"a"}, "name": "a" } ], "body": { "type": "BlockStatement", "start":26,"end":28,"loc":{"start":{"line":2,"column":14,"index":26},"end":{"line":2,"column":16,"index":28}}, "body": [], "directives": [] } } ] } } ], "directives": [] } }