Debian Codegraph @

packages/babel-parser/test/fixtures/flow/module-string-names/named-imports/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 "importKind": null,
27 "local": {
28 "type": "Identifier",
29 "start":25,"end":34,"loc":{"start":{"line":1,"column":25,"index":25},"end":{"line":1,"column":34,"index":34},"identifierName":"quotation"},
30 "name": "quotation"
31 }
32 }
33 ],
34 "importKind": "value",
35 "source": {
36 "type": "StringLiteral",
37 "start":41,"end":52,"loc":{"start":{"line":1,"column":41,"index":41},"end":{"line":1,"column":52,"index":52}},
38 "extra": {
39 "rawValue": "Confucius",
40 "raw": "\"Confucius\""
41 },
42 "value": "Confucius"
43 }
44 }
45 ],
46 "directives": []
47 }
48 }