1{ 2 "type": "Program", 3 "statements": [ 4 { 5 "type": "ClassDeclaration", 6 "definition": { 7 "id": { 8 "type": "Identifier", 9 "name": "ETSGLOBAL", 10 "decorators": [], 11 "loc": { 12 "start": { 13 "line": 1, 14 "column": 1, 15 "program": "tryDefaultCatches.ets" 16 }, 17 "end": { 18 "line": 1, 19 "column": 1, 20 "program": "tryDefaultCatches.ets" 21 } 22 } 23 }, 24 "superClass": null, 25 "implements": [], 26 "body": [ 27 { 28 "type": "MethodDefinition", 29 "key": { 30 "type": "Identifier", 31 "name": "_$init$_", 32 "decorators": [], 33 "loc": { 34 "start": { 35 "line": 1, 36 "column": 1, 37 "program": null 38 }, 39 "end": { 40 "line": 1, 41 "column": 1, 42 "program": null 43 } 44 } 45 }, 46 "kind": "method", 47 "accessibility": "public", 48 "static": true, 49 "optional": false, 50 "computed": false, 51 "value": { 52 "type": "FunctionExpression", 53 "function": { 54 "type": "ScriptFunction", 55 "id": { 56 "type": "Identifier", 57 "name": "_$init$_", 58 "decorators": [], 59 "loc": { 60 "start": { 61 "line": 1, 62 "column": 1, 63 "program": null 64 }, 65 "end": { 66 "line": 1, 67 "column": 1, 68 "program": null 69 } 70 } 71 }, 72 "generator": false, 73 "async": false, 74 "expression": false, 75 "params": [], 76 "body": { 77 "type": "BlockStatement", 78 "statements": [], 79 "loc": { 80 "start": { 81 "line": 1, 82 "column": 1, 83 "program": null 84 }, 85 "end": { 86 "line": 1, 87 "column": 1, 88 "program": null 89 } 90 } 91 }, 92 "loc": { 93 "start": { 94 "line": 1, 95 "column": 1, 96 "program": null 97 }, 98 "end": { 99 "line": 1, 100 "column": 1, 101 "program": null 102 } 103 } 104 }, 105 "loc": { 106 "start": { 107 "line": 1, 108 "column": 1, 109 "program": null 110 }, 111 "end": { 112 "line": 1, 113 "column": 1, 114 "program": null 115 } 116 } 117 }, 118 "overloads": [], 119 "decorators": [], 120 "loc": { 121 "start": { 122 "line": 1, 123 "column": 1, 124 "program": "tryDefaultCatches.ets" 125 }, 126 "end": { 127 "line": 1, 128 "column": 1, 129 "program": "tryDefaultCatches.ets" 130 } 131 } 132 }, 133 { 134 "type": "MethodDefinition", 135 "key": { 136 "type": "Identifier", 137 "name": "main", 138 "decorators": [], 139 "loc": { 140 "start": { 141 "line": 16, 142 "column": 10, 143 "program": "tryDefaultCatches.ets" 144 }, 145 "end": { 146 "line": 16, 147 "column": 14, 148 "program": "tryDefaultCatches.ets" 149 } 150 } 151 }, 152 "kind": "method", 153 "accessibility": "public", 154 "static": true, 155 "optional": false, 156 "computed": false, 157 "value": { 158 "type": "FunctionExpression", 159 "function": { 160 "type": "ScriptFunction", 161 "id": { 162 "type": "Identifier", 163 "name": "main", 164 "decorators": [], 165 "loc": { 166 "start": { 167 "line": 16, 168 "column": 10, 169 "program": "tryDefaultCatches.ets" 170 }, 171 "end": { 172 "line": 16, 173 "column": 14, 174 "program": "tryDefaultCatches.ets" 175 } 176 } 177 }, 178 "generator": false, 179 "async": false, 180 "expression": false, 181 "params": [], 182 "returnType": { 183 "type": "ETSPrimitiveType", 184 "loc": { 185 "start": { 186 "line": 16, 187 "column": 18, 188 "program": "tryDefaultCatches.ets" 189 }, 190 "end": { 191 "line": 16, 192 "column": 22, 193 "program": "tryDefaultCatches.ets" 194 } 195 } 196 }, 197 "body": { 198 "type": "BlockStatement", 199 "statements": [ 200 { 201 "type": "TryStatement", 202 "block": { 203 "type": "BlockStatement", 204 "statements": [ 205 { 206 "type": "ThrowStatement", 207 "argument": { 208 "type": "ETSNewClassInstanceExpression", 209 "typeReference": { 210 "type": "ETSTypeReference", 211 "part": { 212 "type": "ETSTypeReferencePart", 213 "name": { 214 "type": "Identifier", 215 "name": "NullPointerError", 216 "decorators": [], 217 "loc": { 218 "start": { 219 "line": 18, 220 "column": 15, 221 "program": "tryDefaultCatches.ets" 222 }, 223 "end": { 224 "line": 18, 225 "column": 31, 226 "program": "tryDefaultCatches.ets" 227 } 228 } 229 }, 230 "loc": { 231 "start": { 232 "line": 18, 233 "column": 15, 234 "program": "tryDefaultCatches.ets" 235 }, 236 "end": { 237 "line": 18, 238 "column": 32, 239 "program": "tryDefaultCatches.ets" 240 } 241 } 242 }, 243 "loc": { 244 "start": { 245 "line": 18, 246 "column": 15, 247 "program": "tryDefaultCatches.ets" 248 }, 249 "end": { 250 "line": 18, 251 "column": 32, 252 "program": "tryDefaultCatches.ets" 253 } 254 } 255 }, 256 "arguments": [], 257 "loc": { 258 "start": { 259 "line": 18, 260 "column": 11, 261 "program": "tryDefaultCatches.ets" 262 }, 263 "end": { 264 "line": 18, 265 "column": 34, 266 "program": "tryDefaultCatches.ets" 267 } 268 } 269 }, 270 "loc": { 271 "start": { 272 "line": 18, 273 "column": 5, 274 "program": "tryDefaultCatches.ets" 275 }, 276 "end": { 277 "line": 18, 278 "column": 34, 279 "program": "tryDefaultCatches.ets" 280 } 281 } 282 } 283 ], 284 "loc": { 285 "start": { 286 "line": 17, 287 "column": 7, 288 "program": "tryDefaultCatches.ets" 289 }, 290 "end": { 291 "line": 19, 292 "column": 4, 293 "program": "tryDefaultCatches.ets" 294 } 295 } 296 }, 297 "handler": [ 298 { 299 "type": "CatchClause", 300 "body": { 301 "type": "BlockStatement", 302 "statements": [], 303 "loc": { 304 "start": { 305 "line": 19, 306 "column": 26, 307 "program": "tryDefaultCatches.ets" 308 }, 309 "end": { 310 "line": 21, 311 "column": 4, 312 "program": "tryDefaultCatches.ets" 313 } 314 } 315 }, 316 "param": { 317 "type": "Identifier", 318 "name": "e", 319 "typeAnnotation": { 320 "type": "ETSTypeReference", 321 "part": { 322 "type": "ETSTypeReferencePart", 323 "name": { 324 "type": "Identifier", 325 "name": "Exception", 326 "decorators": [], 327 "loc": { 328 "start": { 329 "line": 19, 330 "column": 15, 331 "program": "tryDefaultCatches.ets" 332 }, 333 "end": { 334 "line": 19, 335 "column": 24, 336 "program": "tryDefaultCatches.ets" 337 } 338 } 339 }, 340 "loc": { 341 "start": { 342 "line": 19, 343 "column": 15, 344 "program": "tryDefaultCatches.ets" 345 }, 346 "end": { 347 "line": 19, 348 "column": 25, 349 "program": "tryDefaultCatches.ets" 350 } 351 } 352 }, 353 "loc": { 354 "start": { 355 "line": 19, 356 "column": 15, 357 "program": "tryDefaultCatches.ets" 358 }, 359 "end": { 360 "line": 19, 361 "column": 25, 362 "program": "tryDefaultCatches.ets" 363 } 364 } 365 }, 366 "decorators": [], 367 "loc": { 368 "start": { 369 "line": 19, 370 "column": 12, 371 "program": "tryDefaultCatches.ets" 372 }, 373 "end": { 374 "line": 19, 375 "column": 13, 376 "program": "tryDefaultCatches.ets" 377 } 378 } 379 }, 380 "loc": { 381 "start": { 382 "line": 19, 383 "column": 5, 384 "program": "tryDefaultCatches.ets" 385 }, 386 "end": { 387 "line": 21, 388 "column": 4, 389 "program": "tryDefaultCatches.ets" 390 } 391 } 392 }, 393 { 394 "type": "CatchClause", 395 "body": { 396 "type": "BlockStatement", 397 "statements": [], 398 "loc": { 399 "start": { 400 "line": 21, 401 "column": 15, 402 "program": "tryDefaultCatches.ets" 403 }, 404 "end": { 405 "line": 23, 406 "column": 4, 407 "program": "tryDefaultCatches.ets" 408 } 409 } 410 }, 411 "param": { 412 "type": "Identifier", 413 "name": "e", 414 "decorators": [], 415 "loc": { 416 "start": { 417 "line": 21, 418 "column": 12, 419 "program": "tryDefaultCatches.ets" 420 }, 421 "end": { 422 "line": 21, 423 "column": 13, 424 "program": "tryDefaultCatches.ets" 425 } 426 } 427 }, 428 "loc": { 429 "start": { 430 "line": 21, 431 "column": 5, 432 "program": "tryDefaultCatches.ets" 433 }, 434 "end": { 435 "line": 23, 436 "column": 4, 437 "program": "tryDefaultCatches.ets" 438 } 439 } 440 } 441 ], 442 "finalizer": null, 443 "loc": { 444 "start": { 445 "line": 17, 446 "column": 3, 447 "program": "tryDefaultCatches.ets" 448 }, 449 "end": { 450 "line": 23, 451 "column": 4, 452 "program": "tryDefaultCatches.ets" 453 } 454 } 455 } 456 ], 457 "loc": { 458 "start": { 459 "line": 16, 460 "column": 23, 461 "program": "tryDefaultCatches.ets" 462 }, 463 "end": { 464 "line": 24, 465 "column": 2, 466 "program": "tryDefaultCatches.ets" 467 } 468 } 469 }, 470 "loc": { 471 "start": { 472 "line": 16, 473 "column": 10, 474 "program": "tryDefaultCatches.ets" 475 }, 476 "end": { 477 "line": 24, 478 "column": 2, 479 "program": "tryDefaultCatches.ets" 480 } 481 } 482 }, 483 "loc": { 484 "start": { 485 "line": 16, 486 "column": 10, 487 "program": "tryDefaultCatches.ets" 488 }, 489 "end": { 490 "line": 24, 491 "column": 2, 492 "program": "tryDefaultCatches.ets" 493 } 494 } 495 }, 496 "overloads": [], 497 "decorators": [], 498 "loc": { 499 "start": { 500 "line": 16, 501 "column": 1, 502 "program": "tryDefaultCatches.ets" 503 }, 504 "end": { 505 "line": 24, 506 "column": 2, 507 "program": "tryDefaultCatches.ets" 508 } 509 } 510 } 511 ], 512 "loc": { 513 "start": { 514 "line": 1, 515 "column": 1, 516 "program": "tryDefaultCatches.ets" 517 }, 518 "end": { 519 "line": 1, 520 "column": 1, 521 "program": "tryDefaultCatches.ets" 522 } 523 } 524 }, 525 "loc": { 526 "start": { 527 "line": 1, 528 "column": 1, 529 "program": "tryDefaultCatches.ets" 530 }, 531 "end": { 532 "line": 1, 533 "column": 1, 534 "program": "tryDefaultCatches.ets" 535 } 536 } 537 } 538 ], 539 "loc": { 540 "start": { 541 "line": 1, 542 "column": 1, 543 "program": "tryDefaultCatches.ets" 544 }, 545 "end": { 546 "line": 25, 547 "column": 1, 548 "program": "tryDefaultCatches.ets" 549 } 550 } 551} 552