| 1 |
{ |
| 2 |
"type": "File", |
| 3 |
"start":0,"end":29,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":1,"index":29}}, |
| 4 |
"errors": [ |
| 5 |
"SyntaxError: Enum `E` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers. (1:5)" |
| 6 |
], |
| 7 |
"program": { |
| 8 |
"type": "Program", |
| 9 |
"start":0,"end":29,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":1,"index":29}}, |
| 10 |
"sourceType": "script", |
| 11 |
"interpreter": null, |
| 12 |
"body": [ |
| 13 |
{ |
| 14 |
"type": "EnumDeclaration", |
| 15 |
"start":0,"end":29,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":1,"index":29}}, |
| 16 |
"id": { |
| 17 |
"type": "Identifier", |
| 18 |
"start":5,"end":6,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":6,"index":6},"identifierName":"E"}, |
| 19 |
"name": "E" |
| 20 |
}, |
| 21 |
"body": { |
| 22 |
"type": "EnumStringBody", |
| 23 |
"start":7,"end":29,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":5,"column":1,"index":29}}, |
| 24 |
"hasUnknownMembers": false, |
| 25 |
"explicitType": false, |
| 26 |
"members": [] |
| 27 |
} |
| 28 |
} |
| 29 |
], |
| 30 |
"directives": [] |
| 31 |
} |
| 32 |
} |