| 1 | { |
| 2 | "type": "File", |
| 3 | "start":0,"end":13,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":13,"index":13}}, |
| 4 | "errors": [ |
| 5 | "SyntaxError: Unexpected reserved word 'enum'. (1:0)" |
| 6 | ], |
| 7 | "program": { |
| 8 | "type": "Program", |
| 9 | "start":0,"end":13,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":13,"index":13}}, |
| 10 | "sourceType": "module", |
| 11 | "interpreter": null, |
| 12 | "body": [ |
| 13 | { |
| 14 | "type": "ExpressionStatement", |
| 15 | "start":0,"end":13,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":13,"index":13}}, |
| 16 | "expression": { |
| 17 | "type": "AssignmentExpression", |
| 18 | "start":0,"end":12,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":12,"index":12}}, |
| 19 | "operator": "=", |
| 20 | "left": { |
| 21 | "type": "Identifier", |
| 22 | "start":0,"end":4,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":4,"index":4},"identifierName":"enum"}, |
| 23 | "name": "enum" |
| 24 | }, |
| 25 | "right": { |
| 26 | "type": "CallExpression", |
| 27 | "start":7,"end":12,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":12,"index":12}}, |
| 28 | "callee": { |
| 29 | "type": "Identifier", |
| 30 | "start":7,"end":10,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":10,"index":10},"identifierName":"foo"}, |
| 31 | "name": "foo" |
| 32 | }, |
| 33 | "arguments": [] |
| 34 | } |
| 35 | } |
| 36 | } |
| 37 | ], |
| 38 | "directives": [] |
| 39 | } |
| 40 | } |