Debian Codegraph @

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

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