Debian Codegraph @

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