Debian Codegraph @

packages/babel-parser/test/fixtures/experimental/import-reflection/invalid-named-import/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":43,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":43,"index":43}},
4 "errors": [
5 "SyntaxError: Only `import module x from \"./module\"` is valid. (1:16)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":43,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":43,"index":43}},
10 "sourceType": "module",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "ImportDeclaration",
15 "start":0,"end":43,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":43,"index":43}},
16 "specifiers": [
17 {
18 "type": "ImportSpecifier",
19 "start":16,"end":19,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":19,"index":19}},
20 "imported": {
21 "type": "Identifier",
22 "start":16,"end":19,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":19,"index":19},"identifierName":"foo"},
23 "name": "foo"
24 },
25 "local": {
26 "type": "Identifier",
27 "start":16,"end":19,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":19,"index":19},"identifierName":"foo"},
28 "name": "foo"
29 }
30 }
31 ],
32 "module": true,
33 "source": {
34 "type": "StringLiteral",
35 "start":27,"end":42,"loc":{"start":{"line":1,"column":27,"index":27},"end":{"line":1,"column":42,"index":42}},
36 "extra": {
37 "rawValue": "./module.wasm",
38 "raw": "\"./module.wasm\""
39 },
40 "value": "./module.wasm"
41 }
42 }
43 ],
44 "directives": []
45 }
46 }