1{ 2 "type": "Program", 3 "statements": [ 4 { 5 "type": "VariableDeclaration", 6 "declarations": [ 7 { 8 "type": "VariableDeclarator", 9 "id": { 10 "type": "Identifier", 11 "name": "a", 12 "decorators": [], 13 "loc": { 14 "start": { 15 "line": 16, 16 "column": 5 17 }, 18 "end": { 19 "line": 16, 20 "column": 6 21 } 22 } 23 }, 24 "init": { 25 "type": "NumberLiteral", 26 "value": 5, 27 "loc": { 28 "start": { 29 "line": 16, 30 "column": 9 31 }, 32 "end": { 33 "line": 16, 34 "column": 10 35 } 36 } 37 }, 38 "loc": { 39 "start": { 40 "line": 16, 41 "column": 5 42 }, 43 "end": { 44 "line": 16, 45 "column": 10 46 } 47 } 48 } 49 ], 50 "kind": "var", 51 "loc": { 52 "start": { 53 "line": 16, 54 "column": 1 55 }, 56 "end": { 57 "line": 16, 58 "column": 10 59 } 60 } 61 }, 62 { 63 "type": "VariableDeclaration", 64 "declarations": [ 65 { 66 "type": "VariableDeclarator", 67 "id": { 68 "type": "Identifier", 69 "name": "c", 70 "decorators": [], 71 "loc": { 72 "start": { 73 "line": 17, 74 "column": 5 75 }, 76 "end": { 77 "line": 17, 78 "column": 6 79 } 80 } 81 }, 82 "init": { 83 "type": "NumberLiteral", 84 "value": 0, 85 "loc": { 86 "start": { 87 "line": 17, 88 "column": 9 89 }, 90 "end": { 91 "line": 17, 92 "column": 10 93 } 94 } 95 }, 96 "loc": { 97 "start": { 98 "line": 17, 99 "column": 5 100 }, 101 "end": { 102 "line": 17, 103 "column": 10 104 } 105 } 106 } 107 ], 108 "kind": "var", 109 "loc": { 110 "start": { 111 "line": 17, 112 "column": 1 113 }, 114 "end": { 115 "line": 17, 116 "column": 10 117 } 118 } 119 }, 120 { 121 "type": "TryStatement", 122 "block": { 123 "type": "BlockStatement", 124 "statements": [ 125 { 126 "type": "ExpressionStatement", 127 "expression": { 128 "type": "AssignmentExpression", 129 "operator": "=", 130 "left": { 131 "type": "Identifier", 132 "name": "a", 133 "decorators": [], 134 "loc": { 135 "start": { 136 "line": 19, 137 "column": 2 138 }, 139 "end": { 140 "line": 19, 141 "column": 3 142 } 143 } 144 }, 145 "right": { 146 "type": "BinaryExpression", 147 "operator": "/", 148 "left": { 149 "type": "Identifier", 150 "name": "a", 151 "decorators": [], 152 "loc": { 153 "start": { 154 "line": 19, 155 "column": 6 156 }, 157 "end": { 158 "line": 19, 159 "column": 7 160 } 161 } 162 }, 163 "right": { 164 "type": "NumberLiteral", 165 "value": 0, 166 "loc": { 167 "start": { 168 "line": 19, 169 "column": 10 170 }, 171 "end": { 172 "line": 19, 173 "column": 11 174 } 175 } 176 }, 177 "loc": { 178 "start": { 179 "line": 19, 180 "column": 6 181 }, 182 "end": { 183 "line": 19, 184 "column": 11 185 } 186 } 187 }, 188 "loc": { 189 "start": { 190 "line": 19, 191 "column": 2 192 }, 193 "end": { 194 "line": 19, 195 "column": 11 196 } 197 } 198 }, 199 "loc": { 200 "start": { 201 "line": 19, 202 "column": 2 203 }, 204 "end": { 205 "line": 19, 206 "column": 11 207 } 208 } 209 } 210 ], 211 "loc": { 212 "start": { 213 "line": 18, 214 "column": 5 215 }, 216 "end": { 217 "line": 20, 218 "column": 2 219 } 220 } 221 }, 222 "handler": [ 223 { 224 "type": "CatchClause", 225 "body": { 226 "type": "BlockStatement", 227 "statements": [ 228 { 229 "type": "ExpressionStatement", 230 "expression": { 231 "type": "AssignmentExpression", 232 "operator": "=", 233 "left": { 234 "type": "Identifier", 235 "name": "c", 236 "decorators": [], 237 "loc": { 238 "start": { 239 "line": 21, 240 "column": 3 241 }, 242 "end": { 243 "line": 21, 244 "column": 4 245 } 246 } 247 }, 248 "right": { 249 "type": "NumberLiteral", 250 "value": 1, 251 "loc": { 252 "start": { 253 "line": 21, 254 "column": 7 255 }, 256 "end": { 257 "line": 21, 258 "column": 8 259 } 260 } 261 }, 262 "loc": { 263 "start": { 264 "line": 21, 265 "column": 3 266 }, 267 "end": { 268 "line": 21, 269 "column": 8 270 } 271 } 272 }, 273 "loc": { 274 "start": { 275 "line": 21, 276 "column": 3 277 }, 278 "end": { 279 "line": 21, 280 "column": 8 281 } 282 } 283 } 284 ], 285 "loc": { 286 "start": { 287 "line": 20, 288 "column": 13 289 }, 290 "end": { 291 "line": 22, 292 "column": 2 293 } 294 } 295 }, 296 "param": { 297 "type": "Identifier", 298 "name": "b", 299 "decorators": [], 300 "loc": { 301 "start": { 302 "line": 20, 303 "column": 10 304 }, 305 "end": { 306 "line": 20, 307 "column": 11 308 } 309 } 310 }, 311 "loc": { 312 "start": { 313 "line": 20, 314 "column": 3 315 }, 316 "end": { 317 "line": 22, 318 "column": 2 319 } 320 } 321 } 322 ], 323 "finalizer": { 324 "type": "BlockStatement", 325 "statements": [ 326 { 327 "type": "ExpressionStatement", 328 "expression": { 329 "type": "AssignmentExpression", 330 "operator": "=", 331 "left": { 332 "type": "Identifier", 333 "name": "a", 334 "decorators": [], 335 "loc": { 336 "start": { 337 "line": 23, 338 "column": 3 339 }, 340 "end": { 341 "line": 23, 342 "column": 4 343 } 344 } 345 }, 346 "right": { 347 "type": "NumberLiteral", 348 "value": 0, 349 "loc": { 350 "start": { 351 "line": 23, 352 "column": 7 353 }, 354 "end": { 355 "line": 23, 356 "column": 8 357 } 358 } 359 }, 360 "loc": { 361 "start": { 362 "line": 23, 363 "column": 3 364 }, 365 "end": { 366 "line": 23, 367 "column": 8 368 } 369 } 370 }, 371 "loc": { 372 "start": { 373 "line": 23, 374 "column": 3 375 }, 376 "end": { 377 "line": 23, 378 "column": 8 379 } 380 } 381 } 382 ], 383 "loc": { 384 "start": { 385 "line": 22, 386 "column": 11 387 }, 388 "end": { 389 "line": 24, 390 "column": 2 391 } 392 } 393 }, 394 "loc": { 395 "start": { 396 "line": 18, 397 "column": 1 398 }, 399 "end": { 400 "line": 24, 401 "column": 2 402 } 403 } 404 } 405 ], 406 "loc": { 407 "start": { 408 "line": 1, 409 "column": 1 410 }, 411 "end": { 412 "line": 25, 413 "column": 1 414 } 415 } 416} 417