| 1 | { |
| 2 | "type": "File", |
| 3 | "start":0,"end":54,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":1,"index":54}}, |
| 4 | "errors": [ |
| 5 | "SyntaxError: The left-hand side of a for-of loop may not be 'async'. (1:5)", |
| 6 | "SyntaxError: The left-hand side of a for-of loop may not be 'async'. (4:7)" |
| 7 | ], |
| 8 | "program": { |
| 9 | "type": "Program", |
| 10 | "start":0,"end":54,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":1,"index":54}}, |
| 11 | "sourceType": "script", |
| 12 | "interpreter": null, |
| 13 | "body": [ |
| 14 | { |
| 15 | "type": "ForOfStatement", |
| 16 | "start":0,"end":17,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":17,"index":17}}, |
| 17 | "await": false, |
| 18 | "left": { |
| 19 | "type": "Identifier", |
| 20 | "start":5,"end":10,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":10,"index":10},"identifierName":"async"}, |
| 21 | "name": "async" |
| 22 | }, |
| 23 | "right": { |
| 24 | "type": "Identifier", |
| 25 | "start":14,"end":15,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":15,"index":15},"identifierName":"x"}, |
| 26 | "name": "x" |
| 27 | }, |
| 28 | "body": { |
| 29 | "type": "EmptyStatement", |
| 30 | "start":16,"end":17,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":17,"index":17}} |
| 31 | } |
| 32 | }, |
| 33 | { |
| 34 | "type": "ExpressionStatement", |
| 35 | "start":19,"end":54,"loc":{"start":{"line":3,"column":0,"index":19},"end":{"line":5,"column":1,"index":54}}, |
| 36 | "expression": { |
| 37 | "type": "ArrowFunctionExpression", |
| 38 | "start":19,"end":54,"loc":{"start":{"line":3,"column":0,"index":19},"end":{"line":5,"column":1,"index":54}}, |
| 39 | "id": null, |
| 40 | "generator": false, |
| 41 | "async": true, |
| 42 | "params": [], |
| 43 | "body": { |
| 44 | "type": "BlockStatement", |
| 45 | "start":31,"end":54,"loc":{"start":{"line":3,"column":12,"index":31},"end":{"line":5,"column":1,"index":54}}, |
| 46 | "body": [ |
| 47 | { |
| 48 | "type": "ForOfStatement", |
| 49 | "start":35,"end":52,"loc":{"start":{"line":4,"column":2,"index":35},"end":{"line":4,"column":19,"index":52}}, |
| 50 | "await": false, |
| 51 | "left": { |
| 52 | "type": "Identifier", |
| 53 | "start":40,"end":45,"loc":{"start":{"line":4,"column":7,"index":40},"end":{"line":4,"column":12,"index":45},"identifierName":"async"}, |
| 54 | "name": "async" |
| 55 | }, |
| 56 | "right": { |
| 57 | "type": "Identifier", |
| 58 | "start":49,"end":50,"loc":{"start":{"line":4,"column":16,"index":49},"end":{"line":4,"column":17,"index":50},"identifierName":"x"}, |
| 59 | "name": "x" |
| 60 | }, |
| 61 | "body": { |
| 62 | "type": "EmptyStatement", |
| 63 | "start":51,"end":52,"loc":{"start":{"line":4,"column":18,"index":51},"end":{"line":4,"column":19,"index":52}} |
| 64 | } |
| 65 | } |
| 66 | ], |
| 67 | "directives": [] |
| 68 | } |
| 69 | } |
| 70 | } |
| 71 | ], |
| 72 | "directives": [] |
| 73 | } |
| 74 | } |