{ "type": "File", "start":0,"end":90,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":8,"column":1,"index":90}}, "errors": [ "SyntaxError: Unexpected reserved word 'yield'. (5:6)", "SyntaxError: Missing semicolon. (5:11)" ], "program": { "type": "Program", "start":0,"end":90,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":8,"column":1,"index":90}}, "sourceType": "script", "interpreter": null, "body": [ { "type": "FunctionDeclaration", "start":0,"end":90,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":8,"column":1,"index":90}}, "id": { "type": "Identifier", "start":10,"end":13,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":13,"index":13},"identifierName":"foo"}, "name": "foo" }, "generator": true, "async": false, "params": [], "body": { "type": "BlockStatement", "start":16,"end":90,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":8,"column":1,"index":90}}, "body": [ { "type": "ClassDeclaration", "start":20,"end":88,"loc":{"start":{"line":2,"column":2,"index":20},"end":{"line":7,"column":3,"index":88}}, "id": { "type": "Identifier", "start":26,"end":27,"loc":{"start":{"line":2,"column":8,"index":26},"end":{"line":2,"column":9,"index":27},"identifierName":"C"}, "name": "C" }, "superClass": null, "body": { "type": "ClassBody", "start":28,"end":88,"loc":{"start":{"line":2,"column":10,"index":28},"end":{"line":7,"column":3,"index":88}}, "body": [ { "type": "ClassMethod", "start":34,"end":49,"loc":{"start":{"line":3,"column":4,"index":34},"end":{"line":3,"column":19,"index":49}}, "static": true, "key": { "type": "Identifier", "start":41,"end":44,"loc":{"start":{"line":3,"column":11,"index":41},"end":{"line":3,"column":14,"index":44},"identifierName":"foo"}, "name": "foo" }, "computed": false, "kind": "method", "id": null, "generator": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start":47,"end":49,"loc":{"start":{"line":3,"column":17,"index":47},"end":{"line":3,"column":19,"index":49}}, "body": [], "directives": [] } }, { "type": "StaticBlock", "start":54,"end":84,"loc":{"start":{"line":4,"column":4,"index":54},"end":{"line":6,"column":5,"index":84}}, "body": [ { "type": "ExpressionStatement", "start":69,"end":74,"loc":{"start":{"line":5,"column":6,"index":69},"end":{"line":5,"column":11,"index":74}}, "expression": { "type": "Identifier", "start":69,"end":74,"loc":{"start":{"line":5,"column":6,"index":69},"end":{"line":5,"column":11,"index":74},"identifierName":"yield"}, "name": "yield" } }, { "type": "ExpressionStatement", "start":75,"end":78,"loc":{"start":{"line":5,"column":12,"index":75},"end":{"line":5,"column":15,"index":78}}, "expression": { "type": "NumericLiteral", "start":75,"end":77,"loc":{"start":{"line":5,"column":12,"index":75},"end":{"line":5,"column":14,"index":77}}, "extra": { "rawValue": 42, "raw": "42" }, "value": 42 } } ] } ] } } ], "directives": [] } } ], "directives": [] } }