1{ 2 "type": "Program", 3 "statements": [ 4 { 5 "type": "ETSPackageDeclaration", 6 "name": { 7 "type": "TSQualifiedName", 8 "left": { 9 "type": "TSQualifiedName", 10 "left": { 11 "type": "TSQualifiedName", 12 "left": { 13 "type": "TSQualifiedName", 14 "left": { 15 "type": "Identifier", 16 "name": "com", 17 "decorators": [], 18 "loc": { 19 "start": { 20 "line": 16, 21 "column": 9 22 }, 23 "end": { 24 "line": 16, 25 "column": 12 26 } 27 } 28 }, 29 "right": { 30 "type": "Identifier", 31 "name": "huawei", 32 "decorators": [], 33 "loc": { 34 "start": { 35 "line": 16, 36 "column": 13 37 }, 38 "end": { 39 "line": 16, 40 "column": 19 41 } 42 } 43 }, 44 "loc": { 45 "start": { 46 "line": 16, 47 "column": 9 48 }, 49 "end": { 50 "line": 16, 51 "column": 19 52 } 53 } 54 }, 55 "right": { 56 "type": "Identifier", 57 "name": "migrationtool", 58 "decorators": [], 59 "loc": { 60 "start": { 61 "line": 16, 62 "column": 20 63 }, 64 "end": { 65 "line": 16, 66 "column": 33 67 } 68 } 69 }, 70 "loc": { 71 "start": { 72 "line": 16, 73 "column": 9 74 }, 75 "end": { 76 "line": 16, 77 "column": 33 78 } 79 } 80 }, 81 "right": { 82 "type": "Identifier", 83 "name": "teets", 84 "decorators": [], 85 "loc": { 86 "start": { 87 "line": 16, 88 "column": 34 89 }, 90 "end": { 91 "line": 16, 92 "column": 39 93 } 94 } 95 }, 96 "loc": { 97 "start": { 98 "line": 16, 99 "column": 9 100 }, 101 "end": { 102 "line": 16, 103 "column": 39 104 } 105 } 106 }, 107 "right": { 108 "type": "Identifier", 109 "name": "sts", 110 "decorators": [], 111 "loc": { 112 "start": { 113 "line": 16, 114 "column": 40 115 }, 116 "end": { 117 "line": 16, 118 "column": 43 119 } 120 } 121 }, 122 "loc": { 123 "start": { 124 "line": 16, 125 "column": 9 126 }, 127 "end": { 128 "line": 16, 129 "column": 44 130 } 131 } 132 }, 133 "loc": { 134 "start": { 135 "line": 16, 136 "column": 1 137 }, 138 "end": { 139 "line": 16, 140 "column": 44 141 } 142 } 143 }, 144 { 145 "type": "ClassDeclaration", 146 "definition": { 147 "id": { 148 "type": "Identifier", 149 "name": "constructor_test", 150 "decorators": [], 151 "loc": { 152 "start": { 153 "line": 18, 154 "column": 14 155 }, 156 "end": { 157 "line": 18, 158 "column": 30 159 } 160 } 161 }, 162 "superClass": null, 163 "implements": [], 164 "body": [ 165 { 166 "type": "MethodDefinition", 167 "key": { 168 "type": "Identifier", 169 "name": "constructor", 170 "decorators": [], 171 "loc": { 172 "start": { 173 "line": 1, 174 "column": 1 175 }, 176 "end": { 177 "line": 1, 178 "column": 1 179 } 180 } 181 }, 182 "kind": "constructor", 183 "accessibility": "public", 184 "static": false, 185 "optional": false, 186 "computed": false, 187 "value": { 188 "type": "FunctionExpression", 189 "function": { 190 "type": "ScriptFunction", 191 "id": { 192 "type": "Identifier", 193 "name": "constructor", 194 "decorators": [], 195 "loc": { 196 "start": { 197 "line": 1, 198 "column": 1 199 }, 200 "end": { 201 "line": 1, 202 "column": 1 203 } 204 } 205 }, 206 "generator": false, 207 "async": false, 208 "expression": false, 209 "params": [], 210 "body": { 211 "type": "BlockStatement", 212 "statements": [ 213 { 214 "type": "ExpressionStatement", 215 "expression": { 216 "type": "CallExpression", 217 "callee": { 218 "type": "ThisExpression", 219 "loc": { 220 "start": { 221 "line": 20, 222 "column": 9 223 }, 224 "end": { 225 "line": 20, 226 "column": 13 227 } 228 } 229 }, 230 "arguments": [ 231 { 232 "type": "NumberLiteral", 233 "value": 0, 234 "loc": { 235 "start": { 236 "line": 20, 237 "column": 14 238 }, 239 "end": { 240 "line": 20, 241 "column": 15 242 } 243 } 244 } 245 ], 246 "optional": false, 247 "loc": { 248 "start": { 249 "line": 20, 250 "column": 9 251 }, 252 "end": { 253 "line": 20, 254 "column": 16 255 } 256 } 257 }, 258 "loc": { 259 "start": { 260 "line": 20, 261 "column": 9 262 }, 263 "end": { 264 "line": 20, 265 "column": 17 266 } 267 } 268 } 269 ], 270 "loc": { 271 "start": { 272 "line": 19, 273 "column": 26 274 }, 275 "end": { 276 "line": 21, 277 "column": 6 278 } 279 } 280 }, 281 "loc": { 282 "start": { 283 "line": 19, 284 "column": 23 285 }, 286 "end": { 287 "line": 21, 288 "column": 6 289 } 290 } 291 }, 292 "loc": { 293 "start": { 294 "line": 19, 295 "column": 23 296 }, 297 "end": { 298 "line": 21, 299 "column": 6 300 } 301 } 302 }, 303 "overloads": [ 304 { 305 "type": "MethodDefinition", 306 "key": { 307 "type": "Identifier", 308 "name": "constructor", 309 "decorators": [], 310 "loc": { 311 "start": { 312 "line": 1, 313 "column": 1 314 }, 315 "end": { 316 "line": 1, 317 "column": 1 318 } 319 } 320 }, 321 "kind": "constructor", 322 "accessibility": "protected", 323 "static": false, 324 "optional": false, 325 "computed": false, 326 "value": { 327 "type": "FunctionExpression", 328 "function": { 329 "type": "ScriptFunction", 330 "id": { 331 "type": "Identifier", 332 "name": "constructor", 333 "decorators": [], 334 "loc": { 335 "start": { 336 "line": 1, 337 "column": 1 338 }, 339 "end": { 340 "line": 1, 341 "column": 1 342 } 343 } 344 }, 345 "generator": false, 346 "async": false, 347 "expression": false, 348 "params": [ 349 { 350 "type": "ETSParameterExpression", 351 "name": { 352 "type": "Identifier", 353 "name": "b", 354 "typeAnnotation": { 355 "type": "ETSPrimitiveType", 356 "loc": { 357 "start": { 358 "line": 23, 359 "column": 31 360 }, 361 "end": { 362 "line": 23, 363 "column": 37 364 } 365 } 366 }, 367 "decorators": [], 368 "loc": { 369 "start": { 370 "line": 23, 371 "column": 27 372 }, 373 "end": { 374 "line": 23, 375 "column": 37 376 } 377 } 378 }, 379 "loc": { 380 "start": { 381 "line": 23, 382 "column": 27 383 }, 384 "end": { 385 "line": 23, 386 "column": 37 387 } 388 } 389 }, 390 { 391 "type": "ETSParameterExpression", 392 "name": { 393 "type": "Identifier", 394 "name": "c", 395 "typeAnnotation": { 396 "type": "ETSPrimitiveType", 397 "loc": { 398 "start": { 399 "line": 23, 400 "column": 43 401 }, 402 "end": { 403 "line": 23, 404 "column": 47 405 } 406 } 407 }, 408 "decorators": [], 409 "loc": { 410 "start": { 411 "line": 23, 412 "column": 39 413 }, 414 "end": { 415 "line": 23, 416 "column": 47 417 } 418 } 419 }, 420 "loc": { 421 "start": { 422 "line": 23, 423 "column": 39 424 }, 425 "end": { 426 "line": 23, 427 "column": 47 428 } 429 } 430 }, 431 { 432 "type": "ETSParameterExpression", 433 "name": { 434 "type": "Identifier", 435 "name": "i", 436 "typeAnnotation": { 437 "type": "ETSPrimitiveType", 438 "loc": { 439 "start": { 440 "line": 23, 441 "column": 53 442 }, 443 "end": { 444 "line": 23, 445 "column": 56 446 } 447 } 448 }, 449 "decorators": [], 450 "loc": { 451 "start": { 452 "line": 23, 453 "column": 49 454 }, 455 "end": { 456 "line": 23, 457 "column": 56 458 } 459 } 460 }, 461 "loc": { 462 "start": { 463 "line": 23, 464 "column": 49 465 }, 466 "end": { 467 "line": 23, 468 "column": 56 469 } 470 } 471 } 472 ], 473 "body": { 474 "type": "BlockStatement", 475 "statements": [], 476 "loc": { 477 "start": { 478 "line": 23, 479 "column": 58 480 }, 481 "end": { 482 "line": 24, 483 "column": 6 484 } 485 } 486 }, 487 "loc": { 488 "start": { 489 "line": 23, 490 "column": 26 491 }, 492 "end": { 493 "line": 24, 494 "column": 6 495 } 496 } 497 }, 498 "loc": { 499 "start": { 500 "line": 23, 501 "column": 26 502 }, 503 "end": { 504 "line": 24, 505 "column": 6 506 } 507 } 508 }, 509 "overloads": [], 510 "decorators": [], 511 "loc": { 512 "start": { 513 "line": 23, 514 "column": 5 515 }, 516 "end": { 517 "line": 24, 518 "column": 6 519 } 520 } 521 }, 522 { 523 "type": "MethodDefinition", 524 "key": { 525 "type": "Identifier", 526 "name": "constructor", 527 "decorators": [], 528 "loc": { 529 "start": { 530 "line": 1, 531 "column": 1 532 }, 533 "end": { 534 "line": 1, 535 "column": 1 536 } 537 } 538 }, 539 "kind": "constructor", 540 "accessibility": "private", 541 "static": false, 542 "optional": false, 543 "computed": false, 544 "value": { 545 "type": "FunctionExpression", 546 "function": { 547 "type": "ScriptFunction", 548 "id": { 549 "type": "Identifier", 550 "name": "constructor", 551 "decorators": [], 552 "loc": { 553 "start": { 554 "line": 1, 555 "column": 1 556 }, 557 "end": { 558 "line": 1, 559 "column": 1 560 } 561 } 562 }, 563 "generator": false, 564 "async": false, 565 "expression": false, 566 "params": [ 567 { 568 "type": "ETSParameterExpression", 569 "name": { 570 "type": "Identifier", 571 "name": "i", 572 "typeAnnotation": { 573 "type": "ETSPrimitiveType", 574 "loc": { 575 "start": { 576 "line": 26, 577 "column": 29 578 }, 579 "end": { 580 "line": 26, 581 "column": 32 582 } 583 } 584 }, 585 "decorators": [], 586 "loc": { 587 "start": { 588 "line": 26, 589 "column": 25 590 }, 591 "end": { 592 "line": 26, 593 "column": 32 594 } 595 } 596 }, 597 "loc": { 598 "start": { 599 "line": 26, 600 "column": 25 601 }, 602 "end": { 603 "line": 26, 604 "column": 32 605 } 606 } 607 } 608 ], 609 "body": { 610 "type": "BlockStatement", 611 "statements": [], 612 "loc": { 613 "start": { 614 "line": 26, 615 "column": 34 616 }, 617 "end": { 618 "line": 27, 619 "column": 6 620 } 621 } 622 }, 623 "loc": { 624 "start": { 625 "line": 26, 626 "column": 24 627 }, 628 "end": { 629 "line": 27, 630 "column": 6 631 } 632 } 633 }, 634 "loc": { 635 "start": { 636 "line": 26, 637 "column": 24 638 }, 639 "end": { 640 "line": 27, 641 "column": 6 642 } 643 } 644 }, 645 "overloads": [], 646 "decorators": [], 647 "loc": { 648 "start": { 649 "line": 26, 650 "column": 5 651 }, 652 "end": { 653 "line": 27, 654 "column": 6 655 } 656 } 657 } 658 ], 659 "decorators": [], 660 "loc": { 661 "start": { 662 "line": 19, 663 "column": 5 664 }, 665 "end": { 666 "line": 21, 667 "column": 6 668 } 669 } 670 } 671 ], 672 "loc": { 673 "start": { 674 "line": 18, 675 "column": 32 676 }, 677 "end": { 678 "line": 29, 679 "column": 2 680 } 681 } 682 }, 683 "loc": { 684 "start": { 685 "line": 18, 686 "column": 8 687 }, 688 "end": { 689 "line": 29, 690 "column": 2 691 } 692 } 693 }, 694 { 695 "type": "ClassDeclaration", 696 "definition": { 697 "id": { 698 "type": "Identifier", 699 "name": "derived", 700 "decorators": [], 701 "loc": { 702 "start": { 703 "line": 31, 704 "column": 7 705 }, 706 "end": { 707 "line": 31, 708 "column": 14 709 } 710 } 711 }, 712 "superClass": { 713 "type": "ETSTypeReference", 714 "part": { 715 "type": "ETSTypeReferencePart", 716 "name": { 717 "type": "Identifier", 718 "name": "constructor_test", 719 "decorators": [], 720 "loc": { 721 "start": { 722 "line": 31, 723 "column": 23 724 }, 725 "end": { 726 "line": 31, 727 "column": 39 728 } 729 } 730 }, 731 "loc": { 732 "start": { 733 "line": 31, 734 "column": 23 735 }, 736 "end": { 737 "line": 31, 738 "column": 42 739 } 740 } 741 }, 742 "loc": { 743 "start": { 744 "line": 31, 745 "column": 23 746 }, 747 "end": { 748 "line": 31, 749 "column": 42 750 } 751 } 752 }, 753 "implements": [], 754 "body": [ 755 { 756 "type": "MethodDefinition", 757 "key": { 758 "type": "Identifier", 759 "name": "constructor", 760 "decorators": [], 761 "loc": { 762 "start": { 763 "line": 1, 764 "column": 1 765 }, 766 "end": { 767 "line": 1, 768 "column": 1 769 } 770 } 771 }, 772 "kind": "constructor", 773 "accessibility": "public", 774 "static": false, 775 "optional": false, 776 "computed": false, 777 "value": { 778 "type": "FunctionExpression", 779 "function": { 780 "type": "ScriptFunction", 781 "id": { 782 "type": "Identifier", 783 "name": "constructor", 784 "decorators": [], 785 "loc": { 786 "start": { 787 "line": 1, 788 "column": 1 789 }, 790 "end": { 791 "line": 1, 792 "column": 1 793 } 794 } 795 }, 796 "generator": false, 797 "async": false, 798 "expression": false, 799 "params": [], 800 "body": { 801 "type": "BlockStatement", 802 "statements": [ 803 { 804 "type": "ExpressionStatement", 805 "expression": { 806 "type": "CallExpression", 807 "callee": { 808 "type": "ThisExpression", 809 "loc": { 810 "start": { 811 "line": 33, 812 "column": 9 813 }, 814 "end": { 815 "line": 33, 816 "column": 13 817 } 818 } 819 }, 820 "arguments": [ 821 { 822 "type": "NumberLiteral", 823 "value": 5, 824 "loc": { 825 "start": { 826 "line": 33, 827 "column": 14 828 }, 829 "end": { 830 "line": 33, 831 "column": 15 832 } 833 } 834 } 835 ], 836 "optional": false, 837 "loc": { 838 "start": { 839 "line": 33, 840 "column": 9 841 }, 842 "end": { 843 "line": 33, 844 "column": 16 845 } 846 } 847 }, 848 "loc": { 849 "start": { 850 "line": 33, 851 "column": 9 852 }, 853 "end": { 854 "line": 33, 855 "column": 17 856 } 857 } 858 } 859 ], 860 "loc": { 861 "start": { 862 "line": 32, 863 "column": 26 864 }, 865 "end": { 866 "line": 34, 867 "column": 6 868 } 869 } 870 }, 871 "loc": { 872 "start": { 873 "line": 32, 874 "column": 23 875 }, 876 "end": { 877 "line": 34, 878 "column": 6 879 } 880 } 881 }, 882 "loc": { 883 "start": { 884 "line": 32, 885 "column": 23 886 }, 887 "end": { 888 "line": 34, 889 "column": 6 890 } 891 } 892 }, 893 "overloads": [ 894 { 895 "type": "MethodDefinition", 896 "key": { 897 "type": "Identifier", 898 "name": "constructor", 899 "decorators": [], 900 "loc": { 901 "start": { 902 "line": 1, 903 "column": 1 904 }, 905 "end": { 906 "line": 1, 907 "column": 1 908 } 909 } 910 }, 911 "kind": "constructor", 912 "accessibility": "protected", 913 "static": false, 914 "optional": false, 915 "computed": false, 916 "value": { 917 "type": "FunctionExpression", 918 "function": { 919 "type": "ScriptFunction", 920 "id": { 921 "type": "Identifier", 922 "name": "constructor", 923 "decorators": [], 924 "loc": { 925 "start": { 926 "line": 1, 927 "column": 1 928 }, 929 "end": { 930 "line": 1, 931 "column": 1 932 } 933 } 934 }, 935 "generator": false, 936 "async": false, 937 "expression": false, 938 "params": [ 939 { 940 "type": "ETSParameterExpression", 941 "name": { 942 "type": "Identifier", 943 "name": "i", 944 "typeAnnotation": { 945 "type": "ETSPrimitiveType", 946 "loc": { 947 "start": { 948 "line": 36, 949 "column": 31 950 }, 951 "end": { 952 "line": 36, 953 "column": 34 954 } 955 } 956 }, 957 "decorators": [], 958 "loc": { 959 "start": { 960 "line": 36, 961 "column": 27 962 }, 963 "end": { 964 "line": 36, 965 "column": 34 966 } 967 } 968 }, 969 "loc": { 970 "start": { 971 "line": 36, 972 "column": 27 973 }, 974 "end": { 975 "line": 36, 976 "column": 34 977 } 978 } 979 } 980 ], 981 "body": { 982 "type": "BlockStatement", 983 "statements": [ 984 { 985 "type": "ExpressionStatement", 986 "expression": { 987 "type": "CallExpression", 988 "callee": { 989 "type": "Super", 990 "loc": { 991 "start": { 992 "line": 37, 993 "column": 9 994 }, 995 "end": { 996 "line": 37, 997 "column": 14 998 } 999 } 1000 }, 1001 "arguments": [ 1002 { 1003 "type": "NumberLiteral", 1004 "value": 1.2, 1005 "loc": { 1006 "start": { 1007 "line": 37, 1008 "column": 15 1009 }, 1010 "end": { 1011 "line": 37, 1012 "column": 18 1013 } 1014 } 1015 }, 1016 { 1017 "type": "CharLiteral", 1018 "value": "c", 1019 "loc": { 1020 "start": { 1021 "line": 37, 1022 "column": 20 1023 }, 1024 "end": { 1025 "line": 37, 1026 "column": 24 1027 } 1028 } 1029 }, 1030 { 1031 "type": "Identifier", 1032 "name": "i", 1033 "decorators": [], 1034 "loc": { 1035 "start": { 1036 "line": 37, 1037 "column": 26 1038 }, 1039 "end": { 1040 "line": 37, 1041 "column": 27 1042 } 1043 } 1044 } 1045 ], 1046 "optional": false, 1047 "loc": { 1048 "start": { 1049 "line": 37, 1050 "column": 9 1051 }, 1052 "end": { 1053 "line": 37, 1054 "column": 28 1055 } 1056 } 1057 }, 1058 "loc": { 1059 "start": { 1060 "line": 37, 1061 "column": 9 1062 }, 1063 "end": { 1064 "line": 37, 1065 "column": 29 1066 } 1067 } 1068 } 1069 ], 1070 "loc": { 1071 "start": { 1072 "line": 36, 1073 "column": 36 1074 }, 1075 "end": { 1076 "line": 38, 1077 "column": 6 1078 } 1079 } 1080 }, 1081 "loc": { 1082 "start": { 1083 "line": 36, 1084 "column": 26 1085 }, 1086 "end": { 1087 "line": 38, 1088 "column": 6 1089 } 1090 } 1091 }, 1092 "loc": { 1093 "start": { 1094 "line": 36, 1095 "column": 26 1096 }, 1097 "end": { 1098 "line": 38, 1099 "column": 6 1100 } 1101 } 1102 }, 1103 "overloads": [], 1104 "decorators": [], 1105 "loc": { 1106 "start": { 1107 "line": 36, 1108 "column": 5 1109 }, 1110 "end": { 1111 "line": 38, 1112 "column": 6 1113 } 1114 } 1115 } 1116 ], 1117 "decorators": [], 1118 "loc": { 1119 "start": { 1120 "line": 32, 1121 "column": 5 1122 }, 1123 "end": { 1124 "line": 34, 1125 "column": 6 1126 } 1127 } 1128 } 1129 ], 1130 "loc": { 1131 "start": { 1132 "line": 31, 1133 "column": 41 1134 }, 1135 "end": { 1136 "line": 40, 1137 "column": 2 1138 } 1139 } 1140 }, 1141 "loc": { 1142 "start": { 1143 "line": 31, 1144 "column": 1 1145 }, 1146 "end": { 1147 "line": 40, 1148 "column": 2 1149 } 1150 } 1151 }, 1152 { 1153 "type": "ClassDeclaration", 1154 "definition": { 1155 "id": { 1156 "type": "Identifier", 1157 "name": "ETSGLOBAL", 1158 "decorators": [], 1159 "loc": { 1160 "start": { 1161 "line": 1, 1162 "column": 1 1163 }, 1164 "end": { 1165 "line": 1, 1166 "column": 1 1167 } 1168 } 1169 }, 1170 "superClass": null, 1171 "implements": [], 1172 "body": [], 1173 "loc": { 1174 "start": { 1175 "line": 1, 1176 "column": 1 1177 }, 1178 "end": { 1179 "line": 1, 1180 "column": 1 1181 } 1182 } 1183 }, 1184 "loc": { 1185 "start": { 1186 "line": 1, 1187 "column": 1 1188 }, 1189 "end": { 1190 "line": 1, 1191 "column": 1 1192 } 1193 } 1194 } 1195 ], 1196 "loc": { 1197 "start": { 1198 "line": 1, 1199 "column": 1 1200 }, 1201 "end": { 1202 "line": 41, 1203 "column": 1 1204 } 1205 } 1206} 1207