Debian Codegraph @

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

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":43,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":13,"index":43}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":43,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":13,"index":43}},
7 "sourceType": "module",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExportNamedDeclaration",
12 "start":0,"end":29,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":29,"index":29}},
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 "type": "ExportSpecifier",
30 "start":24,"end":27,"loc":{"start":{"line":1,"column":24,"index":24},"end":{"line":1,"column":27,"index":27}},
31 "local": {
32 "type": "Identifier",
33 "start":24,"end":27,"loc":{"start":{"line":1,"column":24,"index":24},"end":{"line":1,"column":27,"index":27},"identifierName":"bar"},
34 "name": "bar"
35 },
36 "exported": {
37 "type": "Identifier",
38 "start":24,"end":27,"loc":{"start":{"line":1,"column":24,"index":24},"end":{"line":1,"column":27,"index":27},"identifierName":"bar"},
39 "name": "bar"
40 }
41 }
42 ],
43 "source": null,
44 "declaration": null
45 },
46 {
47 "type": "VariableDeclaration",
48 "start":30,"end":43,"loc":{"start":{"line":2,"column":0,"index":30},"end":{"line":2,"column":13,"index":43}},
49 "declarations": [
50 {
51 "type": "VariableDeclarator",
52 "start":34,"end":37,"loc":{"start":{"line":2,"column":4,"index":34},"end":{"line":2,"column":7,"index":37}},
53 "id": {
54 "type": "Identifier",
55 "start":34,"end":37,"loc":{"start":{"line":2,"column":4,"index":34},"end":{"line":2,"column":7,"index":37},"identifierName":"foo"},
56 "name": "foo"
57 },
58 "init": null
59 },
60 {
61 "type": "VariableDeclarator",
62 "start":39,"end":42,"loc":{"start":{"line":2,"column":9,"index":39},"end":{"line":2,"column":12,"index":42}},
63 "id": {
64 "type": "Identifier",
65 "start":39,"end":42,"loc":{"start":{"line":2,"column":9,"index":39},"end":{"line":2,"column":12,"index":42},"identifierName":"bar"},
66 "name": "bar"
67 },
68 "init": null
69 }
70 ],
71 "kind": "var"
72 }
73 ],
74 "directives": []
75 }
76 }