Debian Codegraph @

packages/babel-parser/test/fixtures/core/scope/dupl-bind-catch-var-outside/output.json

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