Debian Codegraph @

packages/babel-parser/test/fixtures/placeholders/import/default-file/output.json

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