| 1 | { |
| 2 | "type": "File", |
| 3 | "start":0,"end":18,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":18,"index":18}}, |
| 4 | "errors": [ |
| 5 | "SyntaxError: Cannot use new with import(...). (1:4)" |
| 6 | ], |
| 7 | "program": { |
| 8 | "type": "Program", |
| 9 | "start":0,"end":18,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":18,"index":18}}, |
| 10 | "sourceType": "script", |
| 11 | "interpreter": null, |
| 12 | "body": [ |
| 13 | { |
| 14 | "type": "ExpressionStatement", |
| 15 | "start":0,"end":18,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":18,"index":18}}, |
| 16 | "expression": { |
| 17 | "type": "NewExpression", |
| 18 | "start":0,"end":17,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":17,"index":17}}, |
| 19 | "callee": { |
| 20 | "type": "Import", |
| 21 | "start":4,"end":10,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":10,"index":10}} |
| 22 | }, |
| 23 | "arguments": [ |
| 24 | { |
| 25 | "type": "StringLiteral", |
| 26 | "start":11,"end":16,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":16,"index":16}}, |
| 27 | "extra": { |
| 28 | "rawValue": "foo", |
| 29 | "raw": "\"foo\"" |
| 30 | }, |
| 31 | "value": "foo" |
| 32 | } |
| 33 | ] |
| 34 | } |
| 35 | } |
| 36 | ], |
| 37 | "directives": [] |
| 38 | } |
| 39 | } |