Debian Codegraph @

packages/babel-parser/test/fixtures/experimental/import-reflection/valid-flow-default-import/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":72,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":32,"index":72}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":72,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":32,"index":72}},
7 "sourceType": "module",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ImportDeclaration",
12 "start":0,"end":39,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":39,"index":39}},
13 "specifiers": [
14 {
15 "type": "ImportDefaultSpecifier",
16 "start":14,"end":17,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":17,"index":17}},
17 "local": {
18 "type": "Identifier",
19 "start":14,"end":17,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":17,"index":17},"identifierName":"foo"},
20 "name": "foo"
21 }
22 }
23 ],
24 "module": true,
25 "importKind": "value",
26 "source": {
27 "type": "StringLiteral",
28 "start":23,"end":38,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":38,"index":38}},
29 "extra": {
30 "rawValue": "./module.wasm",
31 "raw": "\"./module.wasm\""
32 },
33 "value": "./module.wasm"
34 }
35 },
36 {
37 "type": "ImportDeclaration",
38 "start":40,"end":72,"loc":{"start":{"line":2,"column":0,"index":40},"end":{"line":2,"column":32,"index":72}},
39 "specifiers": [
40 {
41 "type": "ImportDefaultSpecifier",
42 "start":47,"end":50,"loc":{"start":{"line":2,"column":7,"index":47},"end":{"line":2,"column":10,"index":50}},
43 "local": {
44 "type": "Identifier",
45 "start":47,"end":50,"loc":{"start":{"line":2,"column":7,"index":47},"end":{"line":2,"column":10,"index":50},"identifierName":"bar"},
46 "name": "bar"
47 }
48 }
49 ],
50 "module": false,
51 "importKind": "value",
52 "source": {
53 "type": "StringLiteral",
54 "start":56,"end":71,"loc":{"start":{"line":2,"column":16,"index":56},"end":{"line":2,"column":31,"index":71}},
55 "extra": {
56 "rawValue": "./module.wasm",
57 "raw": "\"./module.wasm\""
58 },
59 "value": "./module.wasm"
60 }
61 }
62 ],
63 "directives": []
64 }
65 }