Debian Codegraph @

packages/babel-parser/test/fixtures/experimental/dynamic-import/invalid-lone-import/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":8,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":8,"index":8}},
4 "errors": [
5 "SyntaxError: `import` can only be used in `import()` or `import.meta`. (1:1)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":8,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":8,"index":8}},
10 "sourceType": "script",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "ExpressionStatement",
15 "start":0,"end":8,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":8,"index":8}},
16 "expression": {
17 "type": "Import",
18 "start":1,"end":7,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":7,"index":7}},
19 "extra": {
20 "parenthesized": true,
21 "parenStart": 0
22 }
23 }
24 }
25 ],
26 "directives": []
27 }
28 }