Debian Codegraph @

tests/fixtures/ecma-version/10/optional-catch-binding/valid-01.result.js

raw
1 export default {
2 "type": "Program",
3 "loc": {
4 "start": {
5 "line": 1,
6 "column": 0
7 },
8 "end": {
9 "line": 1,
10 "column": 15
11 }
12 },
13 "range": [
14 0,
15 15
16 ],
17 "body": [
18 {
19 "type": "TryStatement",
20 "loc": {
21 "start": {
22 "line": 1,
23 "column": 0
24 },
25 "end": {
26 "line": 1,
27 "column": 15
28 }
29 },
30 "range": [
31 0,
32 15
33 ],
34 "block": {
35 "type": "BlockStatement",
36 "loc": {
37 "start": {
38 "line": 1,
39 "column": 4
40 },
41 "end": {
42 "line": 1,
43 "column": 6
44 }
45 },
46 "range": [
47 4,
48 6
49 ],
50 "body": []
51 },
52 "handler": {
53 "type": "CatchClause",
54 "loc": {
55 "start": {
56 "line": 1,
57 "column": 7
58 },
59 "end": {
60 "line": 1,
61 "column": 15
62 }
63 },
64 "range": [
65 7,
66 15
67 ],
68 "param": null,
69 "body": {
70 "type": "BlockStatement",
71 "loc": {
72 "start": {
73 "line": 1,
74 "column": 13
75 },
76 "end": {
77 "line": 1,
78 "column": 15
79 }
80 },
81 "range": [
82 13,
83 15
84 ],
85 "body": []
86 }
87 },
88 "finalizer": null
89 }
90 ],
91 "sourceType": "script",
92 "tokens": [
93 {
94 "type": "Keyword",
95 "value": "try",
96 "loc": {
97 "start": {
98 "line": 1,
99 "column": 0
100 },
101 "end": {
102 "line": 1,
103 "column": 3
104 }
105 },
106 "range": [
107 0,
108 3
109 ]
110 },
111 {
112 "type": "Punctuator",
113 "value": "{",
114 "loc": {
115 "start": {
116 "line": 1,
117 "column": 4
118 },
119 "end": {
120 "line": 1,
121 "column": 5
122 }
123 },
124 "range": [
125 4,
126 5
127 ]
128 },
129 {
130 "type": "Punctuator",
131 "value": "}",
132 "loc": {
133 "start": {
134 "line": 1,
135 "column": 5
136 },
137 "end": {
138 "line": 1,
139 "column": 6
140 }
141 },
142 "range": [
143 5,
144 6
145 ]
146 },
147 {
148 "type": "Keyword",
149 "value": "catch",
150 "loc": {
151 "start": {
152 "line": 1,
153 "column": 7
154 },
155 "end": {
156 "line": 1,
157 "column": 12
158 }
159 },
160 "range": [
161 7,
162 12
163 ]
164 },
165 {
166 "type": "Punctuator",
167 "value": "{",
168 "loc": {
169 "start": {
170 "line": 1,
171 "column": 13
172 },
173 "end": {
174 "line": 1,
175 "column": 14
176 }
177 },
178 "range": [
179 13,
180 14
181 ]
182 },
183 {
184 "type": "Punctuator",
185 "value": "}",
186 "loc": {
187 "start": {
188 "line": 1,
189 "column": 14
190 },
191 "end": {
192 "line": 1,
193 "column": 15
194 }
195 },
196 "range": [
197 14,
198 15
199 ]
200 }
201 ]
202 };