Debian Codegraph @

packages/babel-parser/test/fixtures/experimental/json-modules/valid-namespace-imports/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":60,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":60,"index":60}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":60,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":60,"index":60}},
7 "sourceType": "module",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ImportDeclaration",
12 "start":0,"end":60,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":60,"index":60}},
13 "specifiers": [
14 {
15 "type": "ImportNamespaceSpecifier",
16 "start":7,"end":14,"loc":{"start":{"line":1,"column":7,"index":7},"end":{"line":1,"column":14,"index":14}},
17 "local": {
18 "type": "Identifier",
19 "start":12,"end":14,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":1,"column":14,"index":14},"identifierName":"ns"},
20 "name": "ns"
21 }
22 }
23 ],
24 "source": {
25 "type": "StringLiteral",
26 "start":20,"end":36,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":36,"index":36}},
27 "extra": {
28 "rawValue": "./fixture.json",
29 "raw": "\"./fixture.json\""
30 },
31 "value": "./fixture.json"
32 },
33 "assertions": [
34 {
35 "type": "ImportAttribute",
36 "start":46,"end":58,"loc":{"start":{"line":1,"column":46,"index":46},"end":{"line":1,"column":58,"index":58}},
37 "key": {
38 "type": "Identifier",
39 "start":46,"end":50,"loc":{"start":{"line":1,"column":46,"index":46},"end":{"line":1,"column":50,"index":50},"identifierName":"type"},
40 "name": "type"
41 },
42 "value": {
43 "type": "StringLiteral",
44 "start":52,"end":58,"loc":{"start":{"line":1,"column":52,"index":52},"end":{"line":1,"column":58,"index":58}},
45 "extra": {
46 "rawValue": "json",
47 "raw": "\"json\""
48 },
49 "value": "json"
50 }
51 }
52 ]
53 }
54 ],
55 "directives": []
56 }
57 }