{ "type": "File", "start":0,"end":47,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":47}}, "errors": [ "SyntaxError: Duplicate private name #x. (3:6)" ], "program": { "type": "Program", "start":0,"end":47,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":47}}, "sourceType": "script", "interpreter": null, "body": [ { "type": "ClassDeclaration", "start":0,"end":47,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":47}}, "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":47,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":4,"column":1,"index":47}}, "body": [ { "type": "ClassPrivateMethod", "start":12,"end":31,"loc":{"start":{"line":2,"column":2,"index":12},"end":{"line":2,"column":21,"index":31}}, "static": true, "key": { "type": "PrivateName", "start":23,"end":25,"loc":{"start":{"line":2,"column":13,"index":23},"end":{"line":2,"column":15,"index":25}}, "id": { "type": "Identifier", "start":24,"end":25,"loc":{"start":{"line":2,"column":14,"index":24},"end":{"line":2,"column":15,"index":25},"identifierName":"x"}, "name": "x" } }, "computed": false, "kind": "set", "id": null, "generator": false, "async": false, "params": [ { "type": "Identifier", "start":26,"end":27,"loc":{"start":{"line":2,"column":16,"index":26},"end":{"line":2,"column":17,"index":27},"identifierName":"_"}, "name": "_" } ], "body": { "type": "BlockStatement", "start":29,"end":31,"loc":{"start":{"line":2,"column":19,"index":29},"end":{"line":2,"column":21,"index":31}}, "body": [], "directives": [] } }, { "type": "ClassPrivateMethod", "start":34,"end":45,"loc":{"start":{"line":3,"column":2,"index":34},"end":{"line":3,"column":13,"index":45}}, "static": false, "key": { "type": "PrivateName", "start":38,"end":40,"loc":{"start":{"line":3,"column":6,"index":38},"end":{"line":3,"column":8,"index":40}}, "id": { "type": "Identifier", "start":39,"end":40,"loc":{"start":{"line":3,"column":7,"index":39},"end":{"line":3,"column":8,"index":40},"identifierName":"x"}, "name": "x" } }, "computed": false, "kind": "get", "id": null, "generator": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start":43,"end":45,"loc":{"start":{"line":3,"column":11,"index":43},"end":{"line":3,"column":13,"index":45}}, "body": [], "directives": [] } } ] } } ], "directives": [] } }