| 1 | { |
| 2 | "type": "File", |
| 3 | "start":0,"end":36,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":36,"index":36}}, |
| 4 | "errors": [ |
| 5 | "SyntaxError: 'for-of' loop variable declaration may not have an initializer. (1:5)" |
| 6 | ], |
| 7 | "program": { |
| 8 | "type": "Program", |
| 9 | "start":0,"end":36,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":36,"index":36}}, |
| 10 | "sourceType": "script", |
| 11 | "interpreter": null, |
| 12 | "body": [ |
| 13 | { |
| 14 | "type": "ForOfStatement", |
| 15 | "start":0,"end":36,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":36,"index":36}}, |
| 16 | "await": false, |
| 17 | "left": { |
| 18 | "type": "VariableDeclaration", |
| 19 | "start":5,"end":15,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":15,"index":15}}, |
| 20 | "declarations": [ |
| 21 | { |
| 22 | "type": "VariableDeclarator", |
| 23 | "start":9,"end":15,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":15,"index":15}}, |
| 24 | "id": { |
| 25 | "type": "Identifier", |
| 26 | "start":9,"end":10,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":10,"index":10},"identifierName":"x"}, |
| 27 | "name": "x" |
| 28 | }, |
| 29 | "init": { |
| 30 | "type": "NumericLiteral", |
| 31 | "start":13,"end":15,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":15,"index":15}}, |
| 32 | "extra": { |
| 33 | "rawValue": 42, |
| 34 | "raw": "42" |
| 35 | }, |
| 36 | "value": 42 |
| 37 | } |
| 38 | } |
| 39 | ], |
| 40 | "kind": "var" |
| 41 | }, |
| 42 | "right": { |
| 43 | "type": "Identifier", |
| 44 | "start":19,"end":23,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":23,"index":23},"identifierName":"list"}, |
| 45 | "name": "list" |
| 46 | }, |
| 47 | "body": { |
| 48 | "type": "ExpressionStatement", |
| 49 | "start":25,"end":36,"loc":{"start":{"line":1,"column":25,"index":25},"end":{"line":1,"column":36,"index":36}}, |
| 50 | "expression": { |
| 51 | "type": "CallExpression", |
| 52 | "start":25,"end":35,"loc":{"start":{"line":1,"column":25,"index":25},"end":{"line":1,"column":35,"index":35}}, |
| 53 | "callee": { |
| 54 | "type": "Identifier", |
| 55 | "start":25,"end":32,"loc":{"start":{"line":1,"column":25,"index":25},"end":{"line":1,"column":32,"index":32},"identifierName":"process"}, |
| 56 | "name": "process" |
| 57 | }, |
| 58 | "arguments": [ |
| 59 | { |
| 60 | "type": "Identifier", |
| 61 | "start":33,"end":34,"loc":{"start":{"line":1,"column":33,"index":33},"end":{"line":1,"column":34,"index":34},"identifierName":"x"}, |
| 62 | "name": "x" |
| 63 | } |
| 64 | ] |
| 65 | } |
| 66 | } |
| 67 | } |
| 68 | ], |
| 69 | "directives": [] |
| 70 | } |
| 71 | } |