Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-default-as/output.json

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