Debian Codegraph @

packages/babel-parser/test/fixtures/es2022/module-string-names/default-import/output.json

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