Debian Codegraph @

packages/babel-parser/test/fixtures/experimental/import-reflection/valid-module-as-default-binding-2/output.json

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