| 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-in' 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": "ForInStatement", |
| 15 | "start":0,"end":36,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":36,"index":36}}, |
| 16 | "left": { |
| 17 | "type": "VariableDeclaration", |
| 18 | "start":5,"end":15,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":15,"index":15}}, |
| 19 | "declarations": [ |
| 20 | { |
| 21 | "type": "VariableDeclarator", |
| 22 | "start":9,"end":15,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":15,"index":15}}, |
| 23 | "id": { |
| 24 | "type": "Identifier", |
| 25 | "start":9,"end":10,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":10,"index":10},"identifierName":"x"}, |
| 26 | "name": "x" |
| 27 | }, |
| 28 | "init": { |
| 29 | "type": "NumericLiteral", |
| 30 | "start":13,"end":15,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":15,"index":15}}, |
| 31 | "extra": { |
| 32 | "rawValue": 42, |
| 33 | "raw": "42" |
| 34 | }, |
| 35 | "value": 42 |
| 36 | } |
| 37 | } |
| 38 | ], |
| 39 | "kind": "let" |
| 40 | }, |
| 41 | "right": { |
| 42 | "type": "Identifier", |
| 43 | "start":19,"end":23,"loc":{"start":{"line":1,"column":19,"index":19},"end":{"line":1,"column":23,"index":23},"identifierName":"list"}, |
| 44 | "name": "list" |
| 45 | }, |
| 46 | "body": { |
| 47 | "type": "ExpressionStatement", |
| 48 | "start":25,"end":36,"loc":{"start":{"line":1,"column":25,"index":25},"end":{"line":1,"column":36,"index":36}}, |
| 49 | "expression": { |
| 50 | "type": "CallExpression", |
| 51 | "start":25,"end":35,"loc":{"start":{"line":1,"column":25,"index":25},"end":{"line":1,"column":35,"index":35}}, |
| 52 | "callee": { |
| 53 | "type": "Identifier", |
| 54 | "start":25,"end":32,"loc":{"start":{"line":1,"column":25,"index":25},"end":{"line":1,"column":32,"index":32},"identifierName":"process"}, |
| 55 | "name": "process" |
| 56 | }, |
| 57 | "arguments": [ |
| 58 | { |
| 59 | "type": "Identifier", |
| 60 | "start":33,"end":34,"loc":{"start":{"line":1,"column":33,"index":33},"end":{"line":1,"column":34,"index":34},"identifierName":"x"}, |
| 61 | "name": "x" |
| 62 | } |
| 63 | ] |
| 64 | } |
| 65 | } |
| 66 | } |
| 67 | ], |
| 68 | "directives": [] |
| 69 | } |
| 70 | } |