Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/es2015-import-declaration/import-namespace-specifier/output.json

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