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