Debian Codegraph @

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

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":33,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":8,"index":33}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":33,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":8,"index":33}},
7 "sourceType": "module",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExportNamedDeclaration",
12 "start":0,"end":24,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":24,"index":24}},
13 "specifiers": [
14 {
15 "type": "ExportSpecifier",
16 "start":8,"end":22,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":22,"index":22}},
17 "local": {
18 "type": "Identifier",
19 "start":8,"end":11,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":11,"index":11},"identifierName":"foo"},
20 "name": "foo"
21 },
22 "exported": {
23 "type": "Identifier",
24 "start":15,"end":22,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":22,"index":22},"identifierName":"default"},
25 "name": "default"
26 }
27 }
28 ],
29 "source": null,
30 "declaration": null
31 },
32 {
33 "type": "VariableDeclaration",
34 "start":25,"end":33,"loc":{"start":{"line":2,"column":0,"index":25},"end":{"line":2,"column":8,"index":33}},
35 "declarations": [
36 {
37 "type": "VariableDeclarator",
38 "start":29,"end":32,"loc":{"start":{"line":2,"column":4,"index":29},"end":{"line":2,"column":7,"index":32}},
39 "id": {
40 "type": "Identifier",
41 "start":29,"end":32,"loc":{"start":{"line":2,"column":4,"index":29},"end":{"line":2,"column":7,"index":32},"identifierName":"foo"},
42 "name": "foo"
43 },
44 "init": null
45 }
46 ],
47 "kind": "var"
48 }
49 ],
50 "directives": []
51 }
52 }