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