{ "type": "File", "start":0,"end":38,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":38,"index":38}}, "program": { "type": "Program", "start":0,"end":38,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":38,"index":38}}, "sourceType": "script", "interpreter": null, "body": [ { "type": "ClassDeclaration", "start":0,"end":38,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":38,"index":38}}, "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":38,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":38,"index":38}}, "body": [ { "type": "ClassMethod", "start":10,"end":37,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":37,"index":37}}, "static": true, "kind": "method", "key": { "type": "Identifier", "start":18,"end":21,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":21,"index":21},"identifierName":"gen"}, "name": "gen" }, "computed": false, "id": null, "generator": true, "async": false, "params": [ { "type": "Identifier", "start":22,"end":23,"loc":{"start":{"line":1,"column":22,"index":22},"end":{"line":1,"column":23,"index":23},"identifierName":"v"}, "name": "v" } ], "body": { "type": "BlockStatement", "start":25,"end":37,"loc":{"start":{"line":1,"column":25,"index":25},"end":{"line":1,"column":37,"index":37}}, "body": [ { "type": "ExpressionStatement", "start":27,"end":35,"loc":{"start":{"line":1,"column":27,"index":27},"end":{"line":1,"column":35,"index":35}}, "expression": { "type": "YieldExpression", "start":27,"end":34,"loc":{"start":{"line":1,"column":27,"index":27},"end":{"line":1,"column":34,"index":34}}, "delegate": false, "argument": { "type": "Identifier", "start":33,"end":34,"loc":{"start":{"line":1,"column":33,"index":33},"end":{"line":1,"column":34,"index":34},"identifierName":"v"}, "name": "v" } } } ], "directives": [] } } ] } } ], "directives": [] } }