{ "type": "File", "start":0,"end":33,"loc":{"start":{"line":1,"column":0},"end":{"line":3,"column":1}}, "errors": [ "SyntaxError: Unexpected private name. (2:11)" ], "program": { "type": "Program", "start":0,"end":33,"loc":{"start":{"line":1,"column":0},"end":{"line":3,"column":1}}, "sourceType": "script", "interpreter": null, "body": [ { "type": "ClassDeclaration", "start":0,"end":33,"loc":{"start":{"line":1,"column":0},"end":{"line":3,"column":1}}, "id": { "type": "Identifier", "start":6,"end":7,"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7},"identifierName":"C"}, "name": "C" }, "superClass": null, "body": { "type": "ClassBody", "start":8,"end":33,"loc":{"start":{"line":1,"column":8},"end":{"line":3,"column":1}}, "body": [ { "type": "ClassPrivateProperty", "start":12,"end":31,"loc":{"start":{"line":2,"column":2},"end":{"line":2,"column":21}}, "static": false, "key": { "type": "PrivateName", "start":12,"end":14,"loc":{"start":{"line":2,"column":2},"end":{"line":2,"column":4}}, "id": { "type": "Identifier", "start":13,"end":14,"loc":{"start":{"line":2,"column":3},"end":{"line":2,"column":4},"identifierName":"p"}, "name": "p" } }, "value": { "type": "ObjectExpression", "start":18,"end":29,"loc":{"start":{"line":2,"column":8},"end":{"line":2,"column":19}}, "properties": [ { "type": "ObjectMethod", "start":20,"end":27,"loc":{"start":{"line":2,"column":10},"end":{"line":2,"column":17}}, "method": true, "key": { "type": "PrivateName", "start":20,"end":22,"loc":{"start":{"line":2,"column":10},"end":{"line":2,"column":12}}, "id": { "type": "Identifier", "start":21,"end":22,"loc":{"start":{"line":2,"column":11},"end":{"line":2,"column":12},"identifierName":"x"}, "name": "x" } }, "kind": "method", "id": null, "generator": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start":25,"end":27,"loc":{"start":{"line":2,"column":15},"end":{"line":2,"column":17}}, "body": [], "directives": [] } } ], "extra": { "parenthesized": true, "parenStart": 17 } } } ] } } ], "directives": [] } }