Debian Codegraph @

packages/babel-parser/test/fixtures/core/scope/dupl-bind-gen-gen-script/output.json

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