Debian Codegraph @

packages/babel-parser/test/fixtures/experimental/pipeline-operator/smart-proposal-do-transform-try-catch-finally-statements-and-topic-in-catch-clause/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":78,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":78}},
4 "errors": [
5 "SyntaxError: Topic reference was used in a lexical context without topic binding. (3:32)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":78,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":78}},
10 "sourceType": "script",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "ExpressionStatement",
15 "start":0,"end":78,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":78}},
16 "expression": {
17 "type": "BinaryExpression",
18 "start":0,"end":78,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":78}},
19 "left": {
20 "type": "Identifier",
21 "start":0,"end":5,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":5,"index":5},"identifierName":"value"},
22 "name": "value"
23 },
24 "operator": "|>",
25 "right": {
26 "type": "PipelineTopicExpression",
27 "start":9,"end":78,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":4,"column":1,"index":78}},
28 "expression": {
29 "type": "DoExpression",
30 "start":9,"end":78,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":4,"column":1,"index":78}},
31 "async": false,
32 "body": {
33 "type": "BlockStatement",
34 "start":12,"end":78,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":4,"column":1,"index":78}},
35 "body": [
36 {
37 "type": "TryStatement",
38 "start":16,"end":76,"loc":{"start":{"line":2,"column":2,"index":16},"end":{"line":3,"column":37,"index":76}},
39 "block": {
40 "type": "BlockStatement",
41 "start":20,"end":38,"loc":{"start":{"line":2,"column":6,"index":20},"end":{"line":2,"column":24,"index":38}},
42 "body": [
43 {
44 "type": "ExpressionStatement",
45 "start":22,"end":36,"loc":{"start":{"line":2,"column":8,"index":22},"end":{"line":2,"column":22,"index":36}},
46 "expression": {
47 "type": "CallExpression",
48 "start":22,"end":35,"loc":{"start":{"line":2,"column":8,"index":22},"end":{"line":2,"column":21,"index":35}},
49 "callee": {
50 "type": "MemberExpression",
51 "start":22,"end":32,"loc":{"start":{"line":2,"column":8,"index":22},"end":{"line":2,"column":18,"index":32}},
52 "object": {
53 "type": "Identifier",
54 "start":22,"end":26,"loc":{"start":{"line":2,"column":8,"index":22},"end":{"line":2,"column":12,"index":26},"identifierName":"JSON"},
55 "name": "JSON"
56 },
57 "computed": false,
58 "property": {
59 "type": "Identifier",
60 "start":27,"end":32,"loc":{"start":{"line":2,"column":13,"index":27},"end":{"line":2,"column":18,"index":32},"identifierName":"parse"},
61 "name": "parse"
62 }
63 },
64 "arguments": [
65 {
66 "type": "PipelinePrimaryTopicReference",
67 "start":33,"end":34,"loc":{"start":{"line":2,"column":19,"index":33},"end":{"line":2,"column":20,"index":34}}
68 }
69 ]
70 }
71 }
72 ],
73 "directives": []
74 },
75 "handler": {
76 "type": "CatchClause",
77 "start":41,"end":76,"loc":{"start":{"line":3,"column":2,"index":41},"end":{"line":3,"column":37,"index":76}},
78 "param": {
79 "type": "Identifier",
80 "start":48,"end":53,"loc":{"start":{"line":3,"column":9,"index":48},"end":{"line":3,"column":14,"index":53},"identifierName":"error"},
81 "name": "error"
82 },
83 "body": {
84 "type": "BlockStatement",
85 "start":55,"end":76,"loc":{"start":{"line":3,"column":16,"index":55},"end":{"line":3,"column":37,"index":76}},
86 "body": [
87 {
88 "type": "ExpressionStatement",
89 "start":57,"end":74,"loc":{"start":{"line":3,"column":18,"index":57},"end":{"line":3,"column":35,"index":74}},
90 "expression": {
91 "type": "CallExpression",
92 "start":57,"end":73,"loc":{"start":{"line":3,"column":18,"index":57},"end":{"line":3,"column":34,"index":73}},
93 "callee": {
94 "type": "MemberExpression",
95 "start":57,"end":70,"loc":{"start":{"line":3,"column":18,"index":57},"end":{"line":3,"column":31,"index":70}},
96 "object": {
97 "type": "Identifier",
98 "start":57,"end":64,"loc":{"start":{"line":3,"column":18,"index":57},"end":{"line":3,"column":25,"index":64},"identifierName":"console"},
99 "name": "console"
100 },
101 "computed": false,
102 "property": {
103 "type": "Identifier",
104 "start":65,"end":70,"loc":{"start":{"line":3,"column":26,"index":65},"end":{"line":3,"column":31,"index":70},"identifierName":"error"},
105 "name": "error"
106 }
107 },
108 "arguments": [
109 {
110 "type": "PipelinePrimaryTopicReference",
111 "start":71,"end":72,"loc":{"start":{"line":3,"column":32,"index":71},"end":{"line":3,"column":33,"index":72}}
112 }
113 ]
114 }
115 }
116 ],
117 "directives": []
118 }
119 },
120 "finalizer": null
121 }
122 ],
123 "directives": []
124 }
125 }
126 }
127 }
128 }
129 ],
130 "directives": []
131 }
132 }