Debian Codegraph @

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

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