| 1 |
{ |
| 2 |
"type": "File", |
| 3 |
"start":0,"end":28,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":28,"index":28}}, |
| 4 |
"errors": [ |
| 5 |
"SyntaxError: Unexpected reserved word 'interface'. (1:7)" |
| 6 |
], |
| 7 |
"program": { |
| 8 |
"type": "Program", |
| 9 |
"start":0,"end":28,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":28,"index":28}}, |
| 10 |
"sourceType": "module", |
| 11 |
"interpreter": null, |
| 12 |
"body": [ |
| 13 |
{ |
| 14 |
"type": "ImportDeclaration", |
| 15 |
"start":0,"end":28,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":28,"index":28}}, |
| 16 |
"specifiers": [ |
| 17 |
{ |
| 18 |
"type": "ImportDefaultSpecifier", |
| 19 |
"start":7,"end":16,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":16,"index":16}}, |
| 20 |
"local": { |
| 21 |
"type": "Identifier", |
| 22 |
"start":7,"end":16,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":16,"index":16},"identifierName":"interface"}, |
| 23 |
"name": "interface" |
| 24 |
} |
| 25 |
} |
| 26 |
], |
| 27 |
"importKind": "value", |
| 28 |
"source": { |
| 29 |
"type": "StringLiteral", |
| 30 |
"start":22,"end":27,"loc":{"start":{"line":1,"column":22,"index":22},"end":{"line":1,"column":27,"index":27}}, |
| 31 |
"extra": { |
| 32 |
"rawValue": "foo", |
| 33 |
"raw": "\"foo\"" |
| 34 |
}, |
| 35 |
"value": "foo" |
| 36 |
} |
| 37 |
} |
| 38 |
], |
| 39 |
"directives": [] |
| 40 |
} |
| 41 |
} |