Debian Codegraph @

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

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