Debian Codegraph @

packages/babel-parser/test/fixtures/placeholders/import/named-alias/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":42,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":42,"index":42}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":42,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":42,"index":42}},
7 "sourceType": "module",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ImportDeclaration",
12 "start":0,"end":42,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":42,"index":42}},
13 "specifiers": [
14 {
15 "type": "ImportSpecifier",
16 "start":9,"end":27,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":27,"index":27}},
17 "imported": {
18 "type": "Identifier",
19 "start":9,"end":14,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":14,"index":14},"identifierName":"named"},
20 "name": "named"
21 },
22 "local": {
23 "type": "Placeholder",
24 "start":18,"end":27,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":27,"index":27}},
25 "name": {
26 "type": "Identifier",
27 "start":20,"end":25,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":25,"index":25},"identifierName":"ALIAS"},
28 "name": "ALIAS"
29 },
30 "expectedNode": "Identifier"
31 }
32 }
33 ],
34 "source": {
35 "type": "StringLiteral",
36 "start":35,"end":41,"loc":{"start":{"line":1,"column":35,"index":35},"end":{"line":1,"column":41,"index":41}},
37 "extra": {
38 "rawValue": "file",
39 "raw": "\"file\""
40 },
41 "value": "file"
42 }
43 }
44 ],
45 "directives": []
46 }
47 }