{ "type": "File", "start":0,"end":55,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":1,"index":55}}, "program": { "type": "Program", "start":0,"end":55,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":1,"index":55}}, "sourceType": "script", "interpreter": null, "body": [ { "type": "ClassDeclaration", "start":0,"end":55,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":1,"index":55}}, "id": { "type": "Identifier", "start":6,"end":11,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":11,"index":11},"identifierName":"Hotel"}, "name": "Hotel" }, "superClass": null, "body": { "type": "ClassBody", "start":12,"end":55,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":5,"column":1,"index":55}}, "body": [ { "type": "ClassPrivateMethod", "start":16,"end":53,"loc":{"start":{"line":2,"column":2,"index":16},"end":{"line":4,"column":3,"index":53}}, "static": false, "kind": "method", "key": { "type": "PrivateName", "start":17,"end":22,"loc":{"start":{"line":2,"column":3,"index":17},"end":{"line":2,"column":8,"index":22}}, "id": { "type": "Identifier", "start":18,"end":22,"loc":{"start":{"line":2,"column":4,"index":18},"end":{"line":2,"column":8,"index":22},"identifierName":"evil"}, "name": "evil" } }, "id": null, "generator": true, "async": false, "params": [], "body": { "type": "BlockStatement", "start":25,"end":53,"loc":{"start":{"line":2,"column":11,"index":25},"end":{"line":4,"column":3,"index":53}}, "body": [ { "type": "ExpressionStatement", "start":31,"end":49,"loc":{"start":{"line":3,"column":4,"index":31},"end":{"line":3,"column":22,"index":49}}, "expression": { "type": "YieldExpression", "start":31,"end":48,"loc":{"start":{"line":3,"column":4,"index":31},"end":{"line":3,"column":21,"index":48}}, "delegate": false, "argument": { "type": "CallExpression", "start":37,"end":48,"loc":{"start":{"line":3,"column":10,"index":37},"end":{"line":3,"column":21,"index":48}}, "callee": { "type": "Identifier", "start":37,"end":46,"loc":{"start":{"line":3,"column":10,"index":37},"end":{"line":3,"column":19,"index":46},"identifierName":"notReally"}, "name": "notReally" }, "arguments": [] } } } ], "directives": [] } } ] } } ], "directives": [] } }