1{ 2 "type": "Program", 3 "statements": [ 4 { 5 "type": "ClassDeclaration", 6 "definition": { 7 "id": { 8 "type": "Identifier", 9 "name": "A", 10 "decorators": [], 11 "loc": { 12 "start": { 13 "line": 29, 14 "column": 1 15 }, 16 "end": { 17 "line": 29, 18 "column": 1 19 } 20 } 21 }, 22 "typeParameters": { 23 "type": "TSTypeParameterDeclaration", 24 "params": [ 25 { 26 "type": "TSTypeParameter", 27 "name": { 28 "type": "Identifier", 29 "name": "T", 30 "decorators": [], 31 "loc": { 32 "start": { 33 "line": 29, 34 "column": 1 35 }, 36 "end": { 37 "line": 29, 38 "column": 1 39 } 40 } 41 }, 42 "loc": { 43 "start": { 44 "line": 29, 45 "column": 1 46 }, 47 "end": { 48 "line": 29, 49 "column": 1 50 } 51 } 52 } 53 ], 54 "loc": { 55 "start": { 56 "line": 29, 57 "column": 1 58 }, 59 "end": { 60 "line": 29, 61 "column": 1 62 } 63 } 64 }, 65 "superClass": null, 66 "implements": [], 67 "body": [ 68 { 69 "type": "ClassProperty", 70 "key": { 71 "type": "Identifier", 72 "name": "parent", 73 "decorators": [], 74 "loc": { 75 "start": { 76 "line": 30, 77 "column": 1 78 }, 79 "end": { 80 "line": 30, 81 "column": 1 82 } 83 } 84 }, 85 "accessibility": "public", 86 "static": false, 87 "readonly": false, 88 "declare": false, 89 "optional": false, 90 "computed": false, 91 "typeAnnotation": { 92 "type": "ETSTypeReference", 93 "part": { 94 "type": "ETSTypeReferencePart", 95 "name": { 96 "type": "Identifier", 97 "name": "A", 98 "decorators": [], 99 "loc": { 100 "start": { 101 "line": 30, 102 "column": 1 103 }, 104 "end": { 105 "line": 30, 106 "column": 1 107 } 108 } 109 }, 110 "typeParams": { 111 "type": "TSTypeParameterInstantiation", 112 "params": [ 113 { 114 "type": "ETSTypeReference", 115 "part": { 116 "type": "ETSTypeReferencePart", 117 "name": { 118 "type": "Identifier", 119 "name": "T", 120 "decorators": [], 121 "loc": { 122 "start": { 123 "line": 30, 124 "column": 1 125 }, 126 "end": { 127 "line": 30, 128 "column": 1 129 } 130 } 131 }, 132 "loc": { 133 "start": { 134 "line": 30, 135 "column": 1 136 }, 137 "end": { 138 "line": 30, 139 "column": 1 140 } 141 } 142 }, 143 "loc": { 144 "start": { 145 "line": 30, 146 "column": 1 147 }, 148 "end": { 149 "line": 30, 150 "column": 1 151 } 152 } 153 } 154 ], 155 "loc": { 156 "start": { 157 "line": 30, 158 "column": 1 159 }, 160 "end": { 161 "line": 30, 162 "column": 1 163 } 164 } 165 }, 166 "loc": { 167 "start": { 168 "line": 30, 169 "column": 1 170 }, 171 "end": { 172 "line": 31, 173 "column": 1 174 } 175 } 176 }, 177 "loc": { 178 "start": { 179 "line": 30, 180 "column": 1 181 }, 182 "end": { 183 "line": 31, 184 "column": 1 185 } 186 } 187 }, 188 "definite": false, 189 "decorators": [], 190 "loc": { 191 "start": { 192 "line": 30, 193 "column": 1 194 }, 195 "end": { 196 "line": 31, 197 "column": 1 198 } 199 } 200 }, 201 { 202 "type": "MethodDefinition", 203 "key": { 204 "type": "Identifier", 205 "name": "alma", 206 "decorators": [], 207 "loc": { 208 "start": { 209 "line": 31, 210 "column": 1 211 }, 212 "end": { 213 "line": 31, 214 "column": 1 215 } 216 } 217 }, 218 "kind": "method", 219 "accessibility": "public", 220 "static": false, 221 "optional": false, 222 "computed": false, 223 "value": { 224 "type": "FunctionExpression", 225 "function": { 226 "type": "ScriptFunction", 227 "id": { 228 "type": "Identifier", 229 "name": "alma", 230 "decorators": [], 231 "loc": { 232 "start": { 233 "line": 31, 234 "column": 1 235 }, 236 "end": { 237 "line": 31, 238 "column": 1 239 } 240 } 241 }, 242 "generator": false, 243 "async": false, 244 "expression": false, 245 "params": [], 246 "returnType": { 247 "type": "ETSTypeReference", 248 "part": { 249 "type": "ETSTypeReferencePart", 250 "name": { 251 "type": "Identifier", 252 "name": "A", 253 "decorators": [], 254 "loc": { 255 "start": { 256 "line": 31, 257 "column": 1 258 }, 259 "end": { 260 "line": 31, 261 "column": 1 262 } 263 } 264 }, 265 "typeParams": { 266 "type": "TSTypeParameterInstantiation", 267 "params": [ 268 { 269 "type": "ETSTypeReference", 270 "part": { 271 "type": "ETSTypeReferencePart", 272 "name": { 273 "type": "Identifier", 274 "name": "T", 275 "decorators": [], 276 "loc": { 277 "start": { 278 "line": 31, 279 "column": 1 280 }, 281 "end": { 282 "line": 31, 283 "column": 1 284 } 285 } 286 }, 287 "loc": { 288 "start": { 289 "line": 31, 290 "column": 1 291 }, 292 "end": { 293 "line": 31, 294 "column": 1 295 } 296 } 297 }, 298 "loc": { 299 "start": { 300 "line": 31, 301 "column": 1 302 }, 303 "end": { 304 "line": 31, 305 "column": 1 306 } 307 } 308 } 309 ], 310 "loc": { 311 "start": { 312 "line": 31, 313 "column": 1 314 }, 315 "end": { 316 "line": 31, 317 "column": 1 318 } 319 } 320 }, 321 "loc": { 322 "start": { 323 "line": 31, 324 "column": 1 325 }, 326 "end": { 327 "line": 31, 328 "column": 1 329 } 330 } 331 }, 332 "loc": { 333 "start": { 334 "line": 31, 335 "column": 1 336 }, 337 "end": { 338 "line": 31, 339 "column": 1 340 } 341 } 342 }, 343 "body": { 344 "type": "BlockStatement", 345 "statements": [ 346 { 347 "type": "ReturnStatement", 348 "argument": { 349 "type": "LogicalExpression", 350 "operator": "??", 351 "left": { 352 "type": "MemberExpression", 353 "object": { 354 "type": "ThisExpression", 355 "loc": { 356 "start": { 357 "line": 32, 358 "column": 1 359 }, 360 "end": { 361 "line": 32, 362 "column": 1 363 } 364 } 365 }, 366 "property": { 367 "type": "Identifier", 368 "name": "parent", 369 "decorators": [], 370 "loc": { 371 "start": { 372 "line": 32, 373 "column": 1 374 }, 375 "end": { 376 "line": 32, 377 "column": 1 378 } 379 } 380 }, 381 "computed": false, 382 "optional": false, 383 "loc": { 384 "start": { 385 "line": 32, 386 "column": 1 387 }, 388 "end": { 389 "line": 32, 390 "column": 1 391 } 392 } 393 }, 394 "right": { 395 "type": "ThisExpression", 396 "loc": { 397 "start": { 398 "line": 32, 399 "column": 1 400 }, 401 "end": { 402 "line": 32, 403 "column": 1 404 } 405 } 406 }, 407 "loc": { 408 "start": { 409 "line": 32, 410 "column": 1 411 }, 412 "end": { 413 "line": 32, 414 "column": 1 415 } 416 } 417 }, 418 "loc": { 419 "start": { 420 "line": 32, 421 "column": 1 422 }, 423 "end": { 424 "line": 32, 425 "column": 1 426 } 427 } 428 } 429 ], 430 "loc": { 431 "start": { 432 "line": 31, 433 "column": 1 434 }, 435 "end": { 436 "line": 33, 437 "column": 1 438 } 439 } 440 }, 441 "loc": { 442 "start": { 443 "line": 31, 444 "column": 1 445 }, 446 "end": { 447 "line": 33, 448 "column": 1 449 } 450 } 451 }, 452 "loc": { 453 "start": { 454 "line": 31, 455 "column": 1 456 }, 457 "end": { 458 "line": 33, 459 "column": 1 460 } 461 } 462 }, 463 "overloads": [], 464 "decorators": [], 465 "loc": { 466 "start": { 467 "line": 31, 468 "column": 1 469 }, 470 "end": { 471 "line": 33, 472 "column": 1 473 } 474 } 475 }, 476 { 477 "type": "MethodDefinition", 478 "key": { 479 "type": "Identifier", 480 "name": "constructor", 481 "decorators": [], 482 "loc": { 483 "start": { 484 "line": 1, 485 "column": 1 486 }, 487 "end": { 488 "line": 1, 489 "column": 1 490 } 491 } 492 }, 493 "kind": "constructor", 494 "static": false, 495 "optional": false, 496 "computed": false, 497 "value": { 498 "type": "FunctionExpression", 499 "function": { 500 "type": "ScriptFunction", 501 "id": { 502 "type": "Identifier", 503 "name": "constructor", 504 "decorators": [], 505 "loc": { 506 "start": { 507 "line": 1, 508 "column": 1 509 }, 510 "end": { 511 "line": 1, 512 "column": 1 513 } 514 } 515 }, 516 "generator": false, 517 "async": false, 518 "expression": false, 519 "params": [], 520 "body": { 521 "type": "BlockStatement", 522 "statements": [], 523 "loc": { 524 "start": { 525 "line": 1, 526 "column": 1 527 }, 528 "end": { 529 "line": 1, 530 "column": 1 531 } 532 } 533 }, 534 "loc": { 535 "start": { 536 "line": 1, 537 "column": 1 538 }, 539 "end": { 540 "line": 1, 541 "column": 1 542 } 543 } 544 }, 545 "loc": { 546 "start": { 547 "line": 1, 548 "column": 1 549 }, 550 "end": { 551 "line": 1, 552 "column": 1 553 } 554 } 555 }, 556 "overloads": [], 557 "decorators": [], 558 "loc": { 559 "start": { 560 "line": 34, 561 "column": 1 562 }, 563 "end": { 564 "line": 34, 565 "column": 1 566 } 567 } 568 } 569 ], 570 "loc": { 571 "start": { 572 "line": 29, 573 "column": 1 574 }, 575 "end": { 576 "line": 34, 577 "column": 1 578 } 579 } 580 }, 581 "loc": { 582 "start": { 583 "line": 29, 584 "column": 1 585 }, 586 "end": { 587 "line": 34, 588 "column": 1 589 } 590 } 591 }, 592 { 593 "type": "ClassDeclaration", 594 "definition": { 595 "id": { 596 "type": "Identifier", 597 "name": "ETSGLOBAL", 598 "decorators": [], 599 "loc": { 600 "start": { 601 "line": 1, 602 "column": 1 603 }, 604 "end": { 605 "line": 1, 606 "column": 1 607 } 608 } 609 }, 610 "superClass": null, 611 "implements": [], 612 "body": [ 613 { 614 "type": "MethodDefinition", 615 "key": { 616 "type": "Identifier", 617 "name": "_$init$_", 618 "decorators": [], 619 "loc": { 620 "start": { 621 "line": 1, 622 "column": 1 623 }, 624 "end": { 625 "line": 1, 626 "column": 1 627 } 628 } 629 }, 630 "kind": "method", 631 "accessibility": "public", 632 "static": true, 633 "optional": false, 634 "computed": false, 635 "value": { 636 "type": "FunctionExpression", 637 "function": { 638 "type": "ScriptFunction", 639 "id": { 640 "type": "Identifier", 641 "name": "_$init$_", 642 "decorators": [], 643 "loc": { 644 "start": { 645 "line": 1, 646 "column": 1 647 }, 648 "end": { 649 "line": 1, 650 "column": 1 651 } 652 } 653 }, 654 "generator": false, 655 "async": false, 656 "expression": false, 657 "params": [], 658 "body": { 659 "type": "BlockStatement", 660 "statements": [], 661 "loc": { 662 "start": { 663 "line": 1, 664 "column": 1 665 }, 666 "end": { 667 "line": 1, 668 "column": 1 669 } 670 } 671 }, 672 "loc": { 673 "start": { 674 "line": 1, 675 "column": 1 676 }, 677 "end": { 678 "line": 1, 679 "column": 1 680 } 681 } 682 }, 683 "loc": { 684 "start": { 685 "line": 1, 686 "column": 1 687 }, 688 "end": { 689 "line": 1, 690 "column": 1 691 } 692 } 693 }, 694 "overloads": [], 695 "decorators": [], 696 "loc": { 697 "start": { 698 "line": 1, 699 "column": 1 700 }, 701 "end": { 702 "line": 1, 703 "column": 1 704 } 705 } 706 } 707 ], 708 "loc": { 709 "start": { 710 "line": 1, 711 "column": 1 712 }, 713 "end": { 714 "line": 1, 715 "column": 1 716 } 717 } 718 }, 719 "loc": { 720 "start": { 721 "line": 1, 722 "column": 1 723 }, 724 "end": { 725 "line": 1, 726 "column": 1 727 } 728 } 729 } 730 ], 731 "loc": { 732 "start": { 733 "line": 1, 734 "column": 1 735 }, 736 "end": { 737 "line": 35, 738 "column": 1 739 } 740 } 741} 742