Debian Codegraph @

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

raw
1 {
2 "type": "File",
3 "start":0,"end":31,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":31,"index":31}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":31,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":31,"index":31}},
7 "sourceType": "module",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ImportDeclaration",
12 "start":0,"end":31,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":31,"index":31}},
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": "StringLiteral",
31 "start":24,"end":30,"loc":{"start":{"line":1,"column":24,"index":24},"end":{"line":1,"column":30,"index":30}},
32 "extra": {
33 "rawValue": "file",
34 "raw": "\"file\""
35 },
36 "value": "file"
37 }
38 }
39 ],
40 "directives": []
41 }
42 }