Debian Codegraph @

packages/babel-parser/test/fixtures/core/scope/undecl-export-function-loose-mode-1/output.json

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