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