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