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