Debian Codegraph @

packages/babel-parser/test/fixtures/core/scope/dupl-bind-catch-arr-destr/output.json

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