Debian Codegraph @

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

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