{ "type": "File", "start":0,"end":45,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":45}}, "errors": [ "SyntaxError: Duplicate private name #x. (3:9)" ], "program": { "type": "Program", "start":0,"end":45,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":45}}, "sourceType": "script", "interpreter": null, "body": [ { "type": "ClassDeclaration", "start":0,"end":45,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":45}}, "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":45,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":4,"column":1,"index":45}}, "body": [ { "type": "ClassPrivateMethod", "start":12,"end":26,"loc":{"start":{"line":2,"column":2,"index":12},"end":{"line":2,"column":16,"index":26}}, "static": true, "key": { "type": "PrivateName", "start":19,"end":21,"loc":{"start":{"line":2,"column":9,"index":19},"end":{"line":2,"column":11,"index":21}}, "id": { "type": "Identifier", "start":20,"end":21,"loc":{"start":{"line":2,"column":10,"index":20},"end":{"line":2,"column":11,"index":21},"identifierName":"x"}, "name": "x" } }, "kind": "method", "id": null, "generator": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start":24,"end":26,"loc":{"start":{"line":2,"column":14,"index":24},"end":{"line":2,"column":16,"index":26}}, "body": [], "directives": [] } }, { "type": "ClassPrivateMethod", "start":29,"end":43,"loc":{"start":{"line":3,"column":2,"index":29},"end":{"line":3,"column":16,"index":43}}, "static": true, "key": { "type": "PrivateName", "start":36,"end":38,"loc":{"start":{"line":3,"column":9,"index":36},"end":{"line":3,"column":11,"index":38}}, "id": { "type": "Identifier", "start":37,"end":38,"loc":{"start":{"line":3,"column":10,"index":37},"end":{"line":3,"column":11,"index":38},"identifierName":"x"}, "name": "x" } }, "kind": "method", "id": null, "generator": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start":41,"end":43,"loc":{"start":{"line":3,"column":14,"index":41},"end":{"line":3,"column":16,"index":43}}, "body": [], "directives": [] } } ] } } ], "directives": [] } }