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