| 1 |
{ |
| 2 |
"type": "File", |
| 3 |
"start":0,"end":63,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":2,"index":63}}, |
| 4 |
"errors": [ |
| 5 |
"SyntaxError: Missing semicolon. (3:9)" |
| 6 |
], |
| 7 |
"program": { |
| 8 |
"type": "Program", |
| 9 |
"start":0,"end":63,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":2,"index":63}}, |
| 10 |
"sourceType": "script", |
| 11 |
"interpreter": null, |
| 12 |
"body": [ |
| 13 |
{ |
| 14 |
"type": "FunctionDeclaration", |
| 15 |
"start":0,"end":62,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":1,"index":62}}, |
| 16 |
"id": { |
| 17 |
"type": "Identifier", |
| 18 |
"start":16,"end":20,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":20,"index":20},"identifierName":"iter"}, |
| 19 |
"name": "iter" |
| 20 |
}, |
| 21 |
"generator": true, |
| 22 |
"async": true, |
| 23 |
"params": [], |
| 24 |
"body": { |
| 25 |
"type": "BlockStatement", |
| 26 |
"start":23,"end":62,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":5,"column":1,"index":62}}, |
| 27 |
"body": [ |
| 28 |
{ |
| 29 |
"type": "ExpressionStatement", |
| 30 |
"start":27,"end":60,"loc":{"start":{"line":2,"column":2,"index":27},"end":{"line":4,"column":3,"index":60}}, |
| 31 |
"expression": { |
| 32 |
"type": "AwaitExpression", |
| 33 |
"start":27,"end":60,"loc":{"start":{"line":2,"column":2,"index":27},"end":{"line":4,"column":3,"index":60}}, |
| 34 |
"argument": { |
| 35 |
"type": "DoExpression", |
| 36 |
"start":33,"end":60,"loc":{"start":{"line":2,"column":8,"index":33},"end":{"line":4,"column":3,"index":60}}, |
| 37 |
"async": true, |
| 38 |
"body": { |
| 39 |
"type": "BlockStatement", |
| 40 |
"start":42,"end":60,"loc":{"start":{"line":2,"column":17,"index":42},"end":{"line":4,"column":3,"index":60}}, |
| 41 |
"body": [ |
| 42 |
{ |
| 43 |
"type": "ExpressionStatement", |
| 44 |
"start":48,"end":53,"loc":{"start":{"line":3,"column":4,"index":48},"end":{"line":3,"column":9,"index":53}}, |
| 45 |
"expression": { |
| 46 |
"type": "Identifier", |
| 47 |
"start":48,"end":53,"loc":{"start":{"line":3,"column":4,"index":48},"end":{"line":3,"column":9,"index":53},"identifierName":"yield"}, |
| 48 |
"name": "yield" |
| 49 |
} |
| 50 |
}, |
| 51 |
{ |
| 52 |
"type": "ExpressionStatement", |
| 53 |
"start":54,"end":56,"loc":{"start":{"line":3,"column":10,"index":54},"end":{"line":3,"column":12,"index":56}}, |
| 54 |
"expression": { |
| 55 |
"type": "NumericLiteral", |
| 56 |
"start":54,"end":55,"loc":{"start":{"line":3,"column":10,"index":54},"end":{"line":3,"column":11,"index":55}}, |
| 57 |
"extra": { |
| 58 |
"rawValue": 1, |
| 59 |
"raw": "1" |
| 60 |
}, |
| 61 |
"value": 1 |
| 62 |
} |
| 63 |
} |
| 64 |
], |
| 65 |
"directives": [] |
| 66 |
} |
| 67 |
} |
| 68 |
} |
| 69 |
} |
| 70 |
], |
| 71 |
"directives": [] |
| 72 |
} |
| 73 |
}, |
| 74 |
{ |
| 75 |
"type": "EmptyStatement", |
| 76 |
"start":62,"end":63,"loc":{"start":{"line":5,"column":1,"index":62},"end":{"line":5,"column":2,"index":63}} |
| 77 |
} |
| 78 |
], |
| 79 |
"directives": [] |
| 80 |
} |
| 81 |
} |