Debian Codegraph @

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

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