• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "type": "Program",
3  "statements": [
4    {
5      "type": "TSEnumDeclaration",
6      "id": {
7        "type": "Identifier",
8        "name": "InvalidInitTypeEnum",
9        "decorators": [],
10        "loc": {
11          "start": {
12            "line": 20,
13            "column": 6
14          },
15          "end": {
16            "line": 20,
17            "column": 25
18          }
19        }
20      },
21      "members": [
22        {
23          "type": "TSEnumMember",
24          "id": {
25            "type": "Identifier",
26            "name": "Red",
27            "decorators": [],
28            "loc": {
29              "start": {
30                "line": 21,
31                "column": 3
32              },
33              "end": {
34                "line": 21,
35                "column": 6
36              }
37            }
38          },
39          "initializer": {
40            "type": "NumberLiteral",
41            "value": 0,
42            "loc": {
43              "start": {
44                "line": 1,
45                "column": 1
46              },
47              "end": {
48                "line": 1,
49                "column": 1
50              }
51            }
52          },
53          "loc": {
54            "start": {
55              "line": 21,
56              "column": 3
57            },
58            "end": {
59              "line": 21,
60              "column": 6
61            }
62          }
63        },
64        {
65          "type": "TSEnumMember",
66          "id": {
67            "type": "Identifier",
68            "name": "Green",
69            "decorators": [],
70            "loc": {
71              "start": {
72                "line": 22,
73                "column": 3
74              },
75              "end": {
76                "line": 22,
77                "column": 8
78              }
79            }
80          },
81          "initializer": {
82            "type": "NumberLiteral",
83            "value": -1,
84            "loc": {
85              "start": {
86                "line": 22,
87                "column": 12
88              },
89              "end": {
90                "line": 22,
91                "column": 13
92              }
93            }
94          },
95          "loc": {
96            "start": {
97              "line": 22,
98              "column": 3
99            },
100            "end": {
101              "line": 22,
102              "column": 13
103            }
104          }
105        },
106        {
107          "type": "TSEnumMember",
108          "id": {
109            "type": "Identifier",
110            "name": "Blue",
111            "decorators": [],
112            "loc": {
113              "start": {
114                "line": 23,
115                "column": 3
116              },
117              "end": {
118                "line": 23,
119                "column": 7
120              }
121            }
122          },
123          "initializer": {
124            "type": "NumberLiteral",
125            "value": -1,
126            "loc": {
127              "start": {
128                "line": 23,
129                "column": 10
130              },
131              "end": {
132                "line": 23,
133                "column": 20
134              }
135            }
136          },
137          "loc": {
138            "start": {
139              "line": 23,
140              "column": 3
141            },
142            "end": {
143              "line": 23,
144              "column": 20
145            }
146          }
147        }
148      ],
149      "const": false,
150      "declare": false,
151      "loc": {
152        "start": {
153          "line": 20,
154          "column": 1
155        },
156        "end": {
157          "line": 24,
158          "column": 2
159        }
160      }
161    },
162    {
163      "type": "ClassDeclaration",
164      "definition": {
165        "id": {
166          "type": "Identifier",
167          "name": "ETSGLOBAL",
168          "decorators": [],
169          "loc": {
170            "start": {
171              "line": 1,
172              "column": 1
173            },
174            "end": {
175              "line": 1,
176              "column": 1
177            }
178          }
179        },
180        "superClass": null,
181        "implements": [],
182        "body": [
183          {
184            "type": "MethodDefinition",
185            "key": {
186              "type": "Identifier",
187              "name": "_$init$_",
188              "decorators": [],
189              "loc": {
190                "start": {
191                  "line": 1,
192                  "column": 1
193                },
194                "end": {
195                  "line": 1,
196                  "column": 1
197                }
198              }
199            },
200            "kind": "method",
201            "accessibility": "public",
202            "static": true,
203            "optional": false,
204            "computed": false,
205            "value": {
206              "type": "FunctionExpression",
207              "function": {
208                "type": "ScriptFunction",
209                "id": {
210                  "type": "Identifier",
211                  "name": "_$init$_",
212                  "decorators": [],
213                  "loc": {
214                    "start": {
215                      "line": 1,
216                      "column": 1
217                    },
218                    "end": {
219                      "line": 1,
220                      "column": 1
221                    }
222                  }
223                },
224                "generator": false,
225                "async": false,
226                "expression": false,
227                "params": [],
228                "body": {
229                  "type": "BlockStatement",
230                  "statements": [],
231                  "loc": {
232                    "start": {
233                      "line": 1,
234                      "column": 1
235                    },
236                    "end": {
237                      "line": 1,
238                      "column": 1
239                    }
240                  }
241                },
242                "loc": {
243                  "start": {
244                    "line": 1,
245                    "column": 1
246                  },
247                  "end": {
248                    "line": 1,
249                    "column": 1
250                  }
251                }
252              },
253              "loc": {
254                "start": {
255                  "line": 1,
256                  "column": 1
257                },
258                "end": {
259                  "line": 1,
260                  "column": 1
261                }
262              }
263            },
264            "overloads": [],
265            "decorators": [],
266            "loc": {
267              "start": {
268                "line": 1,
269                "column": 1
270              },
271              "end": {
272                "line": 1,
273                "column": 1
274              }
275            }
276          }
277        ],
278        "loc": {
279          "start": {
280            "line": 1,
281            "column": 1
282          },
283          "end": {
284            "line": 1,
285            "column": 1
286          }
287        }
288      },
289      "loc": {
290        "start": {
291          "line": 1,
292          "column": 1
293        },
294        "end": {
295          "line": 1,
296          "column": 1
297        }
298      }
299    },
300    {
301      "type": "ClassDeclaration",
302      "definition": {
303        "id": {
304          "type": "Identifier",
305          "name": "#InvalidInitTypeEnum",
306          "decorators": [],
307          "loc": {
308            "start": {
309              "line": 1,
310              "column": 1
311            },
312            "end": {
313              "line": 1,
314              "column": 1
315            }
316          }
317        },
318        "superClass": null,
319        "implements": [],
320        "body": [
321          {
322            "type": "ClassProperty",
323            "key": {
324              "type": "Identifier",
325              "name": "ordinal",
326              "decorators": [],
327              "loc": {
328                "start": {
329                  "line": 1,
330                  "column": 1
331                },
332                "end": {
333                  "line": 1,
334                  "column": 1
335                }
336              }
337            },
338            "accessibility": "protected",
339            "static": false,
340            "readonly": false,
341            "declare": false,
342            "optional": false,
343            "computed": false,
344            "typeAnnotation": {
345              "type": "ETSPrimitiveType",
346              "loc": {
347                "start": {
348                  "line": 1,
349                  "column": 1
350                },
351                "end": {
352                  "line": 1,
353                  "column": 1
354                }
355              }
356            },
357            "definite": false,
358            "decorators": [],
359            "loc": {
360              "start": {
361                "line": 1,
362                "column": 1
363              },
364              "end": {
365                "line": 1,
366                "column": 1
367              }
368            }
369          },
370          {
371            "type": "MethodDefinition",
372            "key": {
373              "type": "Identifier",
374              "name": "<cctor>",
375              "decorators": [],
376              "loc": {
377                "start": {
378                  "line": 1,
379                  "column": 1
380                },
381                "end": {
382                  "line": 1,
383                  "column": 1
384                }
385              }
386            },
387            "kind": "method",
388            "accessibility": "public",
389            "static": true,
390            "optional": false,
391            "computed": false,
392            "value": {
393              "type": "FunctionExpression",
394              "function": {
395                "type": "ScriptFunction",
396                "id": {
397                  "type": "Identifier",
398                  "name": "<cctor>",
399                  "decorators": [],
400                  "loc": {
401                    "start": {
402                      "line": 1,
403                      "column": 1
404                    },
405                    "end": {
406                      "line": 1,
407                      "column": 1
408                    }
409                  }
410                },
411                "generator": false,
412                "async": false,
413                "expression": false,
414                "params": [],
415                "body": {
416                  "type": "BlockStatement",
417                  "statements": [],
418                  "loc": {
419                    "start": {
420                      "line": 1,
421                      "column": 1
422                    },
423                    "end": {
424                      "line": 1,
425                      "column": 1
426                    }
427                  }
428                },
429                "loc": {
430                  "start": {
431                    "line": 1,
432                    "column": 1
433                  },
434                  "end": {
435                    "line": 1,
436                    "column": 1
437                  }
438                }
439              },
440              "loc": {
441                "start": {
442                  "line": 1,
443                  "column": 1
444                },
445                "end": {
446                  "line": 1,
447                  "column": 1
448                }
449              }
450            },
451            "overloads": [],
452            "decorators": [],
453            "loc": {
454              "start": {
455                "line": 1,
456                "column": 1
457              },
458              "end": {
459                "line": 1,
460                "column": 1
461              }
462            }
463          },
464          {
465            "type": "MethodDefinition",
466            "key": {
467              "type": "Identifier",
468              "name": "constructor",
469              "decorators": [],
470              "loc": {
471                "start": {
472                  "line": 1,
473                  "column": 1
474                },
475                "end": {
476                  "line": 1,
477                  "column": 1
478                }
479              }
480            },
481            "kind": "constructor",
482            "accessibility": "public",
483            "static": false,
484            "optional": false,
485            "computed": false,
486            "value": {
487              "type": "FunctionExpression",
488              "function": {
489                "type": "ScriptFunction",
490                "id": {
491                  "type": "Identifier",
492                  "name": "constructor",
493                  "decorators": [],
494                  "loc": {
495                    "start": {
496                      "line": 1,
497                      "column": 1
498                    },
499                    "end": {
500                      "line": 1,
501                      "column": 1
502                    }
503                  }
504                },
505                "generator": false,
506                "async": false,
507                "expression": false,
508                "params": [
509                  {
510                    "type": "ETSParameterExpression",
511                    "name": {
512                      "type": "Identifier",
513                      "name": "ordinal",
514                      "typeAnnotation": {
515                        "type": "ETSPrimitiveType",
516                        "loc": {
517                          "start": {
518                            "line": 1,
519                            "column": 1
520                          },
521                          "end": {
522                            "line": 1,
523                            "column": 1
524                          }
525                        }
526                      },
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                    "loc": {
540                      "start": {
541                        "line": 1,
542                        "column": 1
543                      },
544                      "end": {
545                        "line": 1,
546                        "column": 1
547                      }
548                    }
549                  }
550                ],
551                "body": {
552                  "type": "BlockStatement",
553                  "statements": [
554                    {
555                      "type": "ExpressionStatement",
556                      "expression": {
557                        "type": "AssignmentExpression",
558                        "operator": "=",
559                        "left": {
560                          "type": "MemberExpression",
561                          "object": {
562                            "type": "ThisExpression",
563                            "loc": {
564                              "start": {
565                                "line": 1,
566                                "column": 1
567                              },
568                              "end": {
569                                "line": 1,
570                                "column": 1
571                              }
572                            }
573                          },
574                          "property": {
575                            "type": "Identifier",
576                            "name": "ordinal",
577                            "decorators": [],
578                            "loc": {
579                              "start": {
580                                "line": 1,
581                                "column": 1
582                              },
583                              "end": {
584                                "line": 1,
585                                "column": 1
586                              }
587                            }
588                          },
589                          "computed": false,
590                          "optional": false,
591                          "loc": {
592                            "start": {
593                              "line": 1,
594                              "column": 1
595                            },
596                            "end": {
597                              "line": 1,
598                              "column": 1
599                            }
600                          }
601                        },
602                        "right": {
603                          "type": "Identifier",
604                          "name": "ordinal",
605                          "decorators": [],
606                          "loc": {
607                            "start": {
608                              "line": 1,
609                              "column": 1
610                            },
611                            "end": {
612                              "line": 1,
613                              "column": 1
614                            }
615                          }
616                        },
617                        "loc": {
618                          "start": {
619                            "line": 1,
620                            "column": 1
621                          },
622                          "end": {
623                            "line": 1,
624                            "column": 1
625                          }
626                        }
627                      },
628                      "loc": {
629                        "start": {
630                          "line": 1,
631                          "column": 1
632                        },
633                        "end": {
634                          "line": 1,
635                          "column": 1
636                        }
637                      }
638                    }
639                  ],
640                  "loc": {
641                    "start": {
642                      "line": 1,
643                      "column": 1
644                    },
645                    "end": {
646                      "line": 1,
647                      "column": 1
648                    }
649                  }
650                },
651                "loc": {
652                  "start": {
653                    "line": 1,
654                    "column": 1
655                  },
656                  "end": {
657                    "line": 1,
658                    "column": 1
659                  }
660                }
661              },
662              "loc": {
663                "start": {
664                  "line": 1,
665                  "column": 1
666                },
667                "end": {
668                  "line": 1,
669                  "column": 1
670                }
671              }
672            },
673            "overloads": [],
674            "decorators": [],
675            "loc": {
676              "start": {
677                "line": 1,
678                "column": 1
679              },
680              "end": {
681                "line": 1,
682                "column": 1
683              }
684            }
685          },
686          {
687            "type": "ClassProperty",
688            "key": {
689              "type": "Identifier",
690              "name": "NamesArray",
691              "decorators": [],
692              "loc": {
693                "start": {
694                  "line": 1,
695                  "column": 1
696                },
697                "end": {
698                  "line": 1,
699                  "column": 1
700                }
701              }
702            },
703            "value": {
704              "type": "ArrayExpression",
705              "elements": [
706                {
707                  "type": "StringLiteral",
708                  "value": "Red",
709                  "loc": {
710                    "start": {
711                      "line": 1,
712                      "column": 1
713                    },
714                    "end": {
715                      "line": 1,
716                      "column": 1
717                    }
718                  }
719                },
720                {
721                  "type": "StringLiteral",
722                  "value": "Green",
723                  "loc": {
724                    "start": {
725                      "line": 1,
726                      "column": 1
727                    },
728                    "end": {
729                      "line": 1,
730                      "column": 1
731                    }
732                  }
733                },
734                {
735                  "type": "StringLiteral",
736                  "value": "Blue",
737                  "loc": {
738                    "start": {
739                      "line": 1,
740                      "column": 1
741                    },
742                    "end": {
743                      "line": 1,
744                      "column": 1
745                    }
746                  }
747                }
748              ],
749              "loc": {
750                "start": {
751                  "line": 1,
752                  "column": 1
753                },
754                "end": {
755                  "line": 1,
756                  "column": 1
757                }
758              }
759            },
760            "accessibility": "protected",
761            "static": true,
762            "readonly": true,
763            "declare": false,
764            "optional": false,
765            "computed": false,
766            "typeAnnotation": {
767              "type": "TSArrayType",
768              "elementType": {
769                "type": "ETSTypeReference",
770                "part": {
771                  "type": "ETSTypeReferencePart",
772                  "name": {
773                    "type": "Identifier",
774                    "name": "String",
775                    "decorators": [],
776                    "loc": {
777                      "start": {
778                        "line": 1,
779                        "column": 1
780                      },
781                      "end": {
782                        "line": 1,
783                        "column": 1
784                      }
785                    }
786                  },
787                  "loc": {
788                    "start": {
789                      "line": 1,
790                      "column": 1
791                    },
792                    "end": {
793                      "line": 1,
794                      "column": 1
795                    }
796                  }
797                },
798                "loc": {
799                  "start": {
800                    "line": 1,
801                    "column": 1
802                  },
803                  "end": {
804                    "line": 1,
805                    "column": 1
806                  }
807                }
808              },
809              "loc": {
810                "start": {
811                  "line": 1,
812                  "column": 1
813                },
814                "end": {
815                  "line": 1,
816                  "column": 1
817                }
818              }
819            },
820            "definite": false,
821            "decorators": [],
822            "loc": {
823              "start": {
824                "line": 1,
825                "column": 1
826              },
827              "end": {
828                "line": 1,
829                "column": 1
830              }
831            }
832          },
833          {
834            "type": "ClassProperty",
835            "key": {
836              "type": "Identifier",
837              "name": "ValuesArray",
838              "decorators": [],
839              "loc": {
840                "start": {
841                  "line": 1,
842                  "column": 1
843                },
844                "end": {
845                  "line": 1,
846                  "column": 1
847                }
848              }
849            },
850            "value": {
851              "type": "ArrayExpression",
852              "elements": [
853                {
854                  "type": "NumberLiteral",
855                  "value": 0,
856                  "loc": {
857                    "start": {
858                      "line": 1,
859                      "column": 1
860                    },
861                    "end": {
862                      "line": 1,
863                      "column": 1
864                    }
865                  }
866                },
867                {
868                  "type": "NumberLiteral",
869                  "value": -1,
870                  "loc": {
871                    "start": {
872                      "line": 1,
873                      "column": 1
874                    },
875                    "end": {
876                      "line": 1,
877                      "column": 1
878                    }
879                  }
880                },
881                {
882                  "type": "NumberLiteral",
883                  "value": -1,
884                  "loc": {
885                    "start": {
886                      "line": 1,
887                      "column": 1
888                    },
889                    "end": {
890                      "line": 1,
891                      "column": 1
892                    }
893                  }
894                }
895              ],
896              "loc": {
897                "start": {
898                  "line": 1,
899                  "column": 1
900                },
901                "end": {
902                  "line": 1,
903                  "column": 1
904                }
905              }
906            },
907            "accessibility": "protected",
908            "static": true,
909            "readonly": true,
910            "declare": false,
911            "optional": false,
912            "computed": false,
913            "typeAnnotation": {
914              "type": "TSArrayType",
915              "elementType": {
916                "type": "ETSPrimitiveType",
917                "loc": {
918                  "start": {
919                    "line": 1,
920                    "column": 1
921                  },
922                  "end": {
923                    "line": 1,
924                    "column": 1
925                  }
926                }
927              },
928              "loc": {
929                "start": {
930                  "line": 1,
931                  "column": 1
932                },
933                "end": {
934                  "line": 1,
935                  "column": 1
936                }
937              }
938            },
939            "definite": false,
940            "decorators": [],
941            "loc": {
942              "start": {
943                "line": 1,
944                "column": 1
945              },
946              "end": {
947                "line": 1,
948                "column": 1
949              }
950            }
951          },
952          {
953            "type": "ClassProperty",
954            "key": {
955              "type": "Identifier",
956              "name": "StringValuesArray",
957              "decorators": [],
958              "loc": {
959                "start": {
960                  "line": 1,
961                  "column": 1
962                },
963                "end": {
964                  "line": 1,
965                  "column": 1
966                }
967              }
968            },
969            "value": {
970              "type": "ArrayExpression",
971              "elements": [
972                {
973                  "type": "StringLiteral",
974                  "value": "0",
975                  "loc": {
976                    "start": {
977                      "line": 1,
978                      "column": 1
979                    },
980                    "end": {
981                      "line": 1,
982                      "column": 1
983                    }
984                  }
985                },
986                {
987                  "type": "StringLiteral",
988                  "value": "-1",
989                  "loc": {
990                    "start": {
991                      "line": 1,
992                      "column": 1
993                    },
994                    "end": {
995                      "line": 1,
996                      "column": 1
997                    }
998                  }
999                },
1000                {
1001                  "type": "StringLiteral",
1002                  "value": "-1",
1003                  "loc": {
1004                    "start": {
1005                      "line": 1,
1006                      "column": 1
1007                    },
1008                    "end": {
1009                      "line": 1,
1010                      "column": 1
1011                    }
1012                  }
1013                }
1014              ],
1015              "loc": {
1016                "start": {
1017                  "line": 1,
1018                  "column": 1
1019                },
1020                "end": {
1021                  "line": 1,
1022                  "column": 1
1023                }
1024              }
1025            },
1026            "accessibility": "protected",
1027            "static": true,
1028            "readonly": true,
1029            "declare": false,
1030            "optional": false,
1031            "computed": false,
1032            "typeAnnotation": {
1033              "type": "TSArrayType",
1034              "elementType": {
1035                "type": "ETSTypeReference",
1036                "part": {
1037                  "type": "ETSTypeReferencePart",
1038                  "name": {
1039                    "type": "Identifier",
1040                    "name": "String",
1041                    "decorators": [],
1042                    "loc": {
1043                      "start": {
1044                        "line": 1,
1045                        "column": 1
1046                      },
1047                      "end": {
1048                        "line": 1,
1049                        "column": 1
1050                      }
1051                    }
1052                  },
1053                  "loc": {
1054                    "start": {
1055                      "line": 1,
1056                      "column": 1
1057                    },
1058                    "end": {
1059                      "line": 1,
1060                      "column": 1
1061                    }
1062                  }
1063                },
1064                "loc": {
1065                  "start": {
1066                    "line": 1,
1067                    "column": 1
1068                  },
1069                  "end": {
1070                    "line": 1,
1071                    "column": 1
1072                  }
1073                }
1074              },
1075              "loc": {
1076                "start": {
1077                  "line": 1,
1078                  "column": 1
1079                },
1080                "end": {
1081                  "line": 1,
1082                  "column": 1
1083                }
1084              }
1085            },
1086            "definite": false,
1087            "decorators": [],
1088            "loc": {
1089              "start": {
1090                "line": 1,
1091                "column": 1
1092              },
1093              "end": {
1094                "line": 1,
1095                "column": 1
1096              }
1097            }
1098          },
1099          {
1100            "type": "ClassProperty",
1101            "key": {
1102              "type": "Identifier",
1103              "name": "ItemsArray",
1104              "decorators": [],
1105              "loc": {
1106                "start": {
1107                  "line": 1,
1108                  "column": 1
1109                },
1110                "end": {
1111                  "line": 1,
1112                  "column": 1
1113                }
1114              }
1115            },
1116            "value": {
1117              "type": "ArrayExpression",
1118              "elements": [
1119                {
1120                  "type": "MemberExpression",
1121                  "object": {
1122                    "type": "Identifier",
1123                    "name": "InvalidInitTypeEnum",
1124                    "decorators": [],
1125                    "loc": {
1126                      "start": {
1127                        "line": 1,
1128                        "column": 1
1129                      },
1130                      "end": {
1131                        "line": 1,
1132                        "column": 1
1133                      }
1134                    }
1135                  },
1136                  "property": {
1137                    "type": "Identifier",
1138                    "name": "Red",
1139                    "decorators": [],
1140                    "loc": {
1141                      "start": {
1142                        "line": 1,
1143                        "column": 1
1144                      },
1145                      "end": {
1146                        "line": 1,
1147                        "column": 1
1148                      }
1149                    }
1150                  },
1151                  "computed": false,
1152                  "optional": false,
1153                  "loc": {
1154                    "start": {
1155                      "line": 1,
1156                      "column": 1
1157                    },
1158                    "end": {
1159                      "line": 1,
1160                      "column": 1
1161                    }
1162                  }
1163                },
1164                {
1165                  "type": "MemberExpression",
1166                  "object": {
1167                    "type": "Identifier",
1168                    "name": "InvalidInitTypeEnum",
1169                    "decorators": [],
1170                    "loc": {
1171                      "start": {
1172                        "line": 1,
1173                        "column": 1
1174                      },
1175                      "end": {
1176                        "line": 1,
1177                        "column": 1
1178                      }
1179                    }
1180                  },
1181                  "property": {
1182                    "type": "Identifier",
1183                    "name": "Green",
1184                    "decorators": [],
1185                    "loc": {
1186                      "start": {
1187                        "line": 1,
1188                        "column": 1
1189                      },
1190                      "end": {
1191                        "line": 1,
1192                        "column": 1
1193                      }
1194                    }
1195                  },
1196                  "computed": false,
1197                  "optional": false,
1198                  "loc": {
1199                    "start": {
1200                      "line": 1,
1201                      "column": 1
1202                    },
1203                    "end": {
1204                      "line": 1,
1205                      "column": 1
1206                    }
1207                  }
1208                },
1209                {
1210                  "type": "MemberExpression",
1211                  "object": {
1212                    "type": "Identifier",
1213                    "name": "InvalidInitTypeEnum",
1214                    "decorators": [],
1215                    "loc": {
1216                      "start": {
1217                        "line": 1,
1218                        "column": 1
1219                      },
1220                      "end": {
1221                        "line": 1,
1222                        "column": 1
1223                      }
1224                    }
1225                  },
1226                  "property": {
1227                    "type": "Identifier",
1228                    "name": "Blue",
1229                    "decorators": [],
1230                    "loc": {
1231                      "start": {
1232                        "line": 1,
1233                        "column": 1
1234                      },
1235                      "end": {
1236                        "line": 1,
1237                        "column": 1
1238                      }
1239                    }
1240                  },
1241                  "computed": false,
1242                  "optional": false,
1243                  "loc": {
1244                    "start": {
1245                      "line": 1,
1246                      "column": 1
1247                    },
1248                    "end": {
1249                      "line": 1,
1250                      "column": 1
1251                    }
1252                  }
1253                }
1254              ],
1255              "loc": {
1256                "start": {
1257                  "line": 1,
1258                  "column": 1
1259                },
1260                "end": {
1261                  "line": 1,
1262                  "column": 1
1263                }
1264              }
1265            },
1266            "accessibility": "protected",
1267            "static": true,
1268            "readonly": true,
1269            "declare": false,
1270            "optional": false,
1271            "computed": false,
1272            "typeAnnotation": {
1273              "type": "TSArrayType",
1274              "elementType": {
1275                "type": "ETSTypeReference",
1276                "part": {
1277                  "type": "ETSTypeReferencePart",
1278                  "name": {
1279                    "type": "Identifier",
1280                    "name": "InvalidInitTypeEnum",
1281                    "decorators": [],
1282                    "loc": {
1283                      "start": {
1284                        "line": 1,
1285                        "column": 1
1286                      },
1287                      "end": {
1288                        "line": 1,
1289                        "column": 1
1290                      }
1291                    }
1292                  },
1293                  "loc": {
1294                    "start": {
1295                      "line": 1,
1296                      "column": 1
1297                    },
1298                    "end": {
1299                      "line": 1,
1300                      "column": 1
1301                    }
1302                  }
1303                },
1304                "loc": {
1305                  "start": {
1306                    "line": 1,
1307                    "column": 1
1308                  },
1309                  "end": {
1310                    "line": 1,
1311                    "column": 1
1312                  }
1313                }
1314              },
1315              "loc": {
1316                "start": {
1317                  "line": 1,
1318                  "column": 1
1319                },
1320                "end": {
1321                  "line": 1,
1322                  "column": 1
1323                }
1324              }
1325            },
1326            "definite": false,
1327            "decorators": [],
1328            "loc": {
1329              "start": {
1330                "line": 1,
1331                "column": 1
1332              },
1333              "end": {
1334                "line": 1,
1335                "column": 1
1336              }
1337            }
1338          },
1339          {
1340            "type": "ClassProperty",
1341            "key": {
1342              "type": "Identifier",
1343              "name": "BoxedItemsArray",
1344              "decorators": [],
1345              "loc": {
1346                "start": {
1347                  "line": 1,
1348                  "column": 1
1349                },
1350                "end": {
1351                  "line": 1,
1352                  "column": 1
1353                }
1354              }
1355            },
1356            "value": {
1357              "type": "ArrayExpression",
1358              "elements": [
1359                {
1360                  "type": "ETSNewClassInstanceExpression",
1361                  "typeReference": {
1362                    "type": "ETSTypeReference",
1363                    "part": {
1364                      "type": "ETSTypeReferencePart",
1365                      "name": {
1366                        "type": "Identifier",
1367                        "name": "#InvalidInitTypeEnum",
1368                        "decorators": [],
1369                        "loc": {
1370                          "start": {
1371                            "line": 1,
1372                            "column": 1
1373                          },
1374                          "end": {
1375                            "line": 1,
1376                            "column": 1
1377                          }
1378                        }
1379                      },
1380                      "loc": {
1381                        "start": {
1382                          "line": 1,
1383                          "column": 1
1384                        },
1385                        "end": {
1386                          "line": 1,
1387                          "column": 1
1388                        }
1389                      }
1390                    },
1391                    "loc": {
1392                      "start": {
1393                        "line": 1,
1394                        "column": 1
1395                      },
1396                      "end": {
1397                        "line": 1,
1398                        "column": 1
1399                      }
1400                    }
1401                  },
1402                  "arguments": [
1403                    {
1404                      "type": "TSAsExpression",
1405                      "expression": {
1406                        "type": "MemberExpression",
1407                        "object": {
1408                          "type": "Identifier",
1409                          "name": "InvalidInitTypeEnum",
1410                          "decorators": [],
1411                          "loc": {
1412                            "start": {
1413                              "line": 1,
1414                              "column": 1
1415                            },
1416                            "end": {
1417                              "line": 1,
1418                              "column": 1
1419                            }
1420                          }
1421                        },
1422                        "property": {
1423                          "type": "Identifier",
1424                          "name": "Red",
1425                          "decorators": [],
1426                          "loc": {
1427                            "start": {
1428                              "line": 1,
1429                              "column": 1
1430                            },
1431                            "end": {
1432                              "line": 1,
1433                              "column": 1
1434                            }
1435                          }
1436                        },
1437                        "computed": false,
1438                        "optional": false,
1439                        "loc": {
1440                          "start": {
1441                            "line": 1,
1442                            "column": 1
1443                          },
1444                          "end": {
1445                            "line": 1,
1446                            "column": 1
1447                          }
1448                        }
1449                      },
1450                      "typeAnnotation": {
1451                        "type": "ETSPrimitiveType",
1452                        "loc": {
1453                          "start": {
1454                            "line": 1,
1455                            "column": 1
1456                          },
1457                          "end": {
1458                            "line": 1,
1459                            "column": 1
1460                          }
1461                        }
1462                      },
1463                      "loc": {
1464                        "start": {
1465                          "line": 1,
1466                          "column": 1
1467                        },
1468                        "end": {
1469                          "line": 1,
1470                          "column": 1
1471                        }
1472                      }
1473                    }
1474                  ],
1475                  "loc": {
1476                    "start": {
1477                      "line": 1,
1478                      "column": 1
1479                    },
1480                    "end": {
1481                      "line": 1,
1482                      "column": 1
1483                    }
1484                  }
1485                },
1486                {
1487                  "type": "ETSNewClassInstanceExpression",
1488                  "typeReference": {
1489                    "type": "ETSTypeReference",
1490                    "part": {
1491                      "type": "ETSTypeReferencePart",
1492                      "name": {
1493                        "type": "Identifier",
1494                        "name": "#InvalidInitTypeEnum",
1495                        "decorators": [],
1496                        "loc": {
1497                          "start": {
1498                            "line": 1,
1499                            "column": 1
1500                          },
1501                          "end": {
1502                            "line": 1,
1503                            "column": 1
1504                          }
1505                        }
1506                      },
1507                      "loc": {
1508                        "start": {
1509                          "line": 1,
1510                          "column": 1
1511                        },
1512                        "end": {
1513                          "line": 1,
1514                          "column": 1
1515                        }
1516                      }
1517                    },
1518                    "loc": {
1519                      "start": {
1520                        "line": 1,
1521                        "column": 1
1522                      },
1523                      "end": {
1524                        "line": 1,
1525                        "column": 1
1526                      }
1527                    }
1528                  },
1529                  "arguments": [
1530                    {
1531                      "type": "TSAsExpression",
1532                      "expression": {
1533                        "type": "MemberExpression",
1534                        "object": {
1535                          "type": "Identifier",
1536                          "name": "InvalidInitTypeEnum",
1537                          "decorators": [],
1538                          "loc": {
1539                            "start": {
1540                              "line": 1,
1541                              "column": 1
1542                            },
1543                            "end": {
1544                              "line": 1,
1545                              "column": 1
1546                            }
1547                          }
1548                        },
1549                        "property": {
1550                          "type": "Identifier",
1551                          "name": "Green",
1552                          "decorators": [],
1553                          "loc": {
1554                            "start": {
1555                              "line": 1,
1556                              "column": 1
1557                            },
1558                            "end": {
1559                              "line": 1,
1560                              "column": 1
1561                            }
1562                          }
1563                        },
1564                        "computed": false,
1565                        "optional": false,
1566                        "loc": {
1567                          "start": {
1568                            "line": 1,
1569                            "column": 1
1570                          },
1571                          "end": {
1572                            "line": 1,
1573                            "column": 1
1574                          }
1575                        }
1576                      },
1577                      "typeAnnotation": {
1578                        "type": "ETSPrimitiveType",
1579                        "loc": {
1580                          "start": {
1581                            "line": 1,
1582                            "column": 1
1583                          },
1584                          "end": {
1585                            "line": 1,
1586                            "column": 1
1587                          }
1588                        }
1589                      },
1590                      "loc": {
1591                        "start": {
1592                          "line": 1,
1593                          "column": 1
1594                        },
1595                        "end": {
1596                          "line": 1,
1597                          "column": 1
1598                        }
1599                      }
1600                    }
1601                  ],
1602                  "loc": {
1603                    "start": {
1604                      "line": 1,
1605                      "column": 1
1606                    },
1607                    "end": {
1608                      "line": 1,
1609                      "column": 1
1610                    }
1611                  }
1612                },
1613                {
1614                  "type": "ETSNewClassInstanceExpression",
1615                  "typeReference": {
1616                    "type": "ETSTypeReference",
1617                    "part": {
1618                      "type": "ETSTypeReferencePart",
1619                      "name": {
1620                        "type": "Identifier",
1621                        "name": "#InvalidInitTypeEnum",
1622                        "decorators": [],
1623                        "loc": {
1624                          "start": {
1625                            "line": 1,
1626                            "column": 1
1627                          },
1628                          "end": {
1629                            "line": 1,
1630                            "column": 1
1631                          }
1632                        }
1633                      },
1634                      "loc": {
1635                        "start": {
1636                          "line": 1,
1637                          "column": 1
1638                        },
1639                        "end": {
1640                          "line": 1,
1641                          "column": 1
1642                        }
1643                      }
1644                    },
1645                    "loc": {
1646                      "start": {
1647                        "line": 1,
1648                        "column": 1
1649                      },
1650                      "end": {
1651                        "line": 1,
1652                        "column": 1
1653                      }
1654                    }
1655                  },
1656                  "arguments": [
1657                    {
1658                      "type": "TSAsExpression",
1659                      "expression": {
1660                        "type": "MemberExpression",
1661                        "object": {
1662                          "type": "Identifier",
1663                          "name": "InvalidInitTypeEnum",
1664                          "decorators": [],
1665                          "loc": {
1666                            "start": {
1667                              "line": 1,
1668                              "column": 1
1669                            },
1670                            "end": {
1671                              "line": 1,
1672                              "column": 1
1673                            }
1674                          }
1675                        },
1676                        "property": {
1677                          "type": "Identifier",
1678                          "name": "Blue",
1679                          "decorators": [],
1680                          "loc": {
1681                            "start": {
1682                              "line": 1,
1683                              "column": 1
1684                            },
1685                            "end": {
1686                              "line": 1,
1687                              "column": 1
1688                            }
1689                          }
1690                        },
1691                        "computed": false,
1692                        "optional": false,
1693                        "loc": {
1694                          "start": {
1695                            "line": 1,
1696                            "column": 1
1697                          },
1698                          "end": {
1699                            "line": 1,
1700                            "column": 1
1701                          }
1702                        }
1703                      },
1704                      "typeAnnotation": {
1705                        "type": "ETSPrimitiveType",
1706                        "loc": {
1707                          "start": {
1708                            "line": 1,
1709                            "column": 1
1710                          },
1711                          "end": {
1712                            "line": 1,
1713                            "column": 1
1714                          }
1715                        }
1716                      },
1717                      "loc": {
1718                        "start": {
1719                          "line": 1,
1720                          "column": 1
1721                        },
1722                        "end": {
1723                          "line": 1,
1724                          "column": 1
1725                        }
1726                      }
1727                    }
1728                  ],
1729                  "loc": {
1730                    "start": {
1731                      "line": 1,
1732                      "column": 1
1733                    },
1734                    "end": {
1735                      "line": 1,
1736                      "column": 1
1737                    }
1738                  }
1739                }
1740              ],
1741              "loc": {
1742                "start": {
1743                  "line": 1,
1744                  "column": 1
1745                },
1746                "end": {
1747                  "line": 1,
1748                  "column": 1
1749                }
1750              }
1751            },
1752            "accessibility": "protected",
1753            "static": true,
1754            "readonly": true,
1755            "declare": false,
1756            "optional": false,
1757            "computed": false,
1758            "typeAnnotation": {
1759              "type": "TSArrayType",
1760              "elementType": {
1761                "type": "ETSTypeReference",
1762                "part": {
1763                  "type": "ETSTypeReferencePart",
1764                  "name": {
1765                    "type": "Identifier",
1766                    "name": "#InvalidInitTypeEnum",
1767                    "decorators": [],
1768                    "loc": {
1769                      "start": {
1770                        "line": 1,
1771                        "column": 1
1772                      },
1773                      "end": {
1774                        "line": 1,
1775                        "column": 1
1776                      }
1777                    }
1778                  },
1779                  "loc": {
1780                    "start": {
1781                      "line": 1,
1782                      "column": 1
1783                    },
1784                    "end": {
1785                      "line": 1,
1786                      "column": 1
1787                    }
1788                  }
1789                },
1790                "loc": {
1791                  "start": {
1792                    "line": 1,
1793                    "column": 1
1794                  },
1795                  "end": {
1796                    "line": 1,
1797                    "column": 1
1798                  }
1799                }
1800              },
1801              "loc": {
1802                "start": {
1803                  "line": 1,
1804                  "column": 1
1805                },
1806                "end": {
1807                  "line": 1,
1808                  "column": 1
1809                }
1810              }
1811            },
1812            "definite": false,
1813            "decorators": [],
1814            "loc": {
1815              "start": {
1816                "line": 1,
1817                "column": 1
1818              },
1819              "end": {
1820                "line": 1,
1821                "column": 1
1822              }
1823            }
1824          },
1825          {
1826            "type": "MethodDefinition",
1827            "key": {
1828              "type": "Identifier",
1829              "name": "getName",
1830              "decorators": [],
1831              "loc": {
1832                "start": {
1833                  "line": 1,
1834                  "column": 1
1835                },
1836                "end": {
1837                  "line": 1,
1838                  "column": 1
1839                }
1840              }
1841            },
1842            "kind": "method",
1843            "accessibility": "public",
1844            "static": true,
1845            "optional": false,
1846            "computed": false,
1847            "value": {
1848              "type": "FunctionExpression",
1849              "function": {
1850                "type": "ScriptFunction",
1851                "id": {
1852                  "type": "Identifier",
1853                  "name": "getName",
1854                  "decorators": [],
1855                  "loc": {
1856                    "start": {
1857                      "line": 1,
1858                      "column": 1
1859                    },
1860                    "end": {
1861                      "line": 1,
1862                      "column": 1
1863                    }
1864                  }
1865                },
1866                "generator": false,
1867                "async": false,
1868                "expression": false,
1869                "params": [
1870                  {
1871                    "type": "ETSParameterExpression",
1872                    "name": {
1873                      "type": "Identifier",
1874                      "name": "ordinal",
1875                      "typeAnnotation": {
1876                        "type": "ETSTypeReference",
1877                        "part": {
1878                          "type": "ETSTypeReferencePart",
1879                          "name": {
1880                            "type": "Identifier",
1881                            "name": "InvalidInitTypeEnum",
1882                            "decorators": [],
1883                            "loc": {
1884                              "start": {
1885                                "line": 1,
1886                                "column": 1
1887                              },
1888                              "end": {
1889                                "line": 1,
1890                                "column": 1
1891                              }
1892                            }
1893                          },
1894                          "loc": {
1895                            "start": {
1896                              "line": 1,
1897                              "column": 1
1898                            },
1899                            "end": {
1900                              "line": 1,
1901                              "column": 1
1902                            }
1903                          }
1904                        },
1905                        "loc": {
1906                          "start": {
1907                            "line": 1,
1908                            "column": 1
1909                          },
1910                          "end": {
1911                            "line": 1,
1912                            "column": 1
1913                          }
1914                        }
1915                      },
1916                      "decorators": [],
1917                      "loc": {
1918                        "start": {
1919                          "line": 1,
1920                          "column": 1
1921                        },
1922                        "end": {
1923                          "line": 1,
1924                          "column": 1
1925                        }
1926                      }
1927                    },
1928                    "loc": {
1929                      "start": {
1930                        "line": 1,
1931                        "column": 1
1932                      },
1933                      "end": {
1934                        "line": 1,
1935                        "column": 1
1936                      }
1937                    }
1938                  }
1939                ],
1940                "returnType": {
1941                  "type": "ETSTypeReference",
1942                  "part": {
1943                    "type": "ETSTypeReferencePart",
1944                    "name": {
1945                      "type": "Identifier",
1946                      "name": "String",
1947                      "decorators": [],
1948                      "loc": {
1949                        "start": {
1950                          "line": 1,
1951                          "column": 1
1952                        },
1953                        "end": {
1954                          "line": 1,
1955                          "column": 1
1956                        }
1957                      }
1958                    },
1959                    "loc": {
1960                      "start": {
1961                        "line": 1,
1962                        "column": 1
1963                      },
1964                      "end": {
1965                        "line": 1,
1966                        "column": 1
1967                      }
1968                    }
1969                  },
1970                  "loc": {
1971                    "start": {
1972                      "line": 1,
1973                      "column": 1
1974                    },
1975                    "end": {
1976                      "line": 1,
1977                      "column": 1
1978                    }
1979                  }
1980                },
1981                "body": {
1982                  "type": "BlockStatement",
1983                  "statements": [
1984                    {
1985                      "type": "ReturnStatement",
1986                      "argument": {
1987                        "type": "MemberExpression",
1988                        "object": {
1989                          "type": "MemberExpression",
1990                          "object": {
1991                            "type": "Identifier",
1992                            "name": "#InvalidInitTypeEnum",
1993                            "decorators": [],
1994                            "loc": {
1995                              "start": {
1996                                "line": 1,
1997                                "column": 1
1998                              },
1999                              "end": {
2000                                "line": 1,
2001                                "column": 1
2002                              }
2003                            }
2004                          },
2005                          "property": {
2006                            "type": "Identifier",
2007                            "name": "NamesArray",
2008                            "decorators": [],
2009                            "loc": {
2010                              "start": {
2011                                "line": 1,
2012                                "column": 1
2013                              },
2014                              "end": {
2015                                "line": 1,
2016                                "column": 1
2017                              }
2018                            }
2019                          },
2020                          "computed": false,
2021                          "optional": false,
2022                          "loc": {
2023                            "start": {
2024                              "line": 1,
2025                              "column": 1
2026                            },
2027                            "end": {
2028                              "line": 1,
2029                              "column": 1
2030                            }
2031                          }
2032                        },
2033                        "property": {
2034                          "type": "TSAsExpression",
2035                          "expression": {
2036                            "type": "Identifier",
2037                            "name": "ordinal",
2038                            "decorators": [],
2039                            "loc": {
2040                              "start": {
2041                                "line": 1,
2042                                "column": 1
2043                              },
2044                              "end": {
2045                                "line": 1,
2046                                "column": 1
2047                              }
2048                            }
2049                          },
2050                          "typeAnnotation": {
2051                            "type": "ETSPrimitiveType",
2052                            "loc": {
2053                              "start": {
2054                                "line": 1,
2055                                "column": 1
2056                              },
2057                              "end": {
2058                                "line": 1,
2059                                "column": 1
2060                              }
2061                            }
2062                          },
2063                          "loc": {
2064                            "start": {
2065                              "line": 1,
2066                              "column": 1
2067                            },
2068                            "end": {
2069                              "line": 1,
2070                              "column": 1
2071                            }
2072                          }
2073                        },
2074                        "computed": true,
2075                        "optional": false,
2076                        "loc": {
2077                          "start": {
2078                            "line": 1,
2079                            "column": 1
2080                          },
2081                          "end": {
2082                            "line": 1,
2083                            "column": 1
2084                          }
2085                        }
2086                      },
2087                      "loc": {
2088                        "start": {
2089                          "line": 1,
2090                          "column": 1
2091                        },
2092                        "end": {
2093                          "line": 1,
2094                          "column": 1
2095                        }
2096                      }
2097                    }
2098                  ],
2099                  "loc": {
2100                    "start": {
2101                      "line": 1,
2102                      "column": 1
2103                    },
2104                    "end": {
2105                      "line": 1,
2106                      "column": 1
2107                    }
2108                  }
2109                },
2110                "loc": {
2111                  "start": {
2112                    "line": 1,
2113                    "column": 1
2114                  },
2115                  "end": {
2116                    "line": 1,
2117                    "column": 1
2118                  }
2119                }
2120              },
2121              "loc": {
2122                "start": {
2123                  "line": 1,
2124                  "column": 1
2125                },
2126                "end": {
2127                  "line": 1,
2128                  "column": 1
2129                }
2130              }
2131            },
2132            "overloads": [],
2133            "decorators": [],
2134            "loc": {
2135              "start": {
2136                "line": 1,
2137                "column": 1
2138              },
2139              "end": {
2140                "line": 1,
2141                "column": 1
2142              }
2143            }
2144          },
2145          {
2146            "type": "MethodDefinition",
2147            "key": {
2148              "type": "Identifier",
2149              "name": "getValueOf",
2150              "decorators": [],
2151              "loc": {
2152                "start": {
2153                  "line": 1,
2154                  "column": 1
2155                },
2156                "end": {
2157                  "line": 1,
2158                  "column": 1
2159                }
2160              }
2161            },
2162            "kind": "method",
2163            "accessibility": "public",
2164            "static": true,
2165            "optional": false,
2166            "computed": false,
2167            "value": {
2168              "type": "FunctionExpression",
2169              "function": {
2170                "type": "ScriptFunction",
2171                "id": {
2172                  "type": "Identifier",
2173                  "name": "getValueOf",
2174                  "decorators": [],
2175                  "loc": {
2176                    "start": {
2177                      "line": 1,
2178                      "column": 1
2179                    },
2180                    "end": {
2181                      "line": 1,
2182                      "column": 1
2183                    }
2184                  }
2185                },
2186                "generator": false,
2187                "async": false,
2188                "expression": false,
2189                "params": [
2190                  {
2191                    "type": "ETSParameterExpression",
2192                    "name": {
2193                      "type": "Identifier",
2194                      "name": "name",
2195                      "typeAnnotation": {
2196                        "type": "ETSTypeReference",
2197                        "part": {
2198                          "type": "ETSTypeReferencePart",
2199                          "name": {
2200                            "type": "Identifier",
2201                            "name": "String",
2202                            "decorators": [],
2203                            "loc": {
2204                              "start": {
2205                                "line": 1,
2206                                "column": 1
2207                              },
2208                              "end": {
2209                                "line": 1,
2210                                "column": 1
2211                              }
2212                            }
2213                          },
2214                          "loc": {
2215                            "start": {
2216                              "line": 1,
2217                              "column": 1
2218                            },
2219                            "end": {
2220                              "line": 1,
2221                              "column": 1
2222                            }
2223                          }
2224                        },
2225                        "loc": {
2226                          "start": {
2227                            "line": 1,
2228                            "column": 1
2229                          },
2230                          "end": {
2231                            "line": 1,
2232                            "column": 1
2233                          }
2234                        }
2235                      },
2236                      "decorators": [],
2237                      "loc": {
2238                        "start": {
2239                          "line": 1,
2240                          "column": 1
2241                        },
2242                        "end": {
2243                          "line": 1,
2244                          "column": 1
2245                        }
2246                      }
2247                    },
2248                    "loc": {
2249                      "start": {
2250                        "line": 1,
2251                        "column": 1
2252                      },
2253                      "end": {
2254                        "line": 1,
2255                        "column": 1
2256                      }
2257                    }
2258                  }
2259                ],
2260                "returnType": {
2261                  "type": "ETSTypeReference",
2262                  "part": {
2263                    "type": "ETSTypeReferencePart",
2264                    "name": {
2265                      "type": "Identifier",
2266                      "name": "InvalidInitTypeEnum",
2267                      "decorators": [],
2268                      "loc": {
2269                        "start": {
2270                          "line": 1,
2271                          "column": 1
2272                        },
2273                        "end": {
2274                          "line": 1,
2275                          "column": 1
2276                        }
2277                      }
2278                    },
2279                    "loc": {
2280                      "start": {
2281                        "line": 1,
2282                        "column": 1
2283                      },
2284                      "end": {
2285                        "line": 1,
2286                        "column": 1
2287                      }
2288                    }
2289                  },
2290                  "loc": {
2291                    "start": {
2292                      "line": 1,
2293                      "column": 1
2294                    },
2295                    "end": {
2296                      "line": 1,
2297                      "column": 1
2298                    }
2299                  }
2300                },
2301                "body": {
2302                  "type": "BlockStatement",
2303                  "statements": [
2304                    {
2305                      "type": "ForUpdateStatement",
2306                      "init": {
2307                        "type": "VariableDeclaration",
2308                        "declarations": [
2309                          {
2310                            "type": "VariableDeclarator",
2311                            "id": {
2312                              "type": "Identifier",
2313                              "name": "i",
2314                              "decorators": [],
2315                              "loc": {
2316                                "start": {
2317                                  "line": 1,
2318                                  "column": 1
2319                                },
2320                                "end": {
2321                                  "line": 1,
2322                                  "column": 1
2323                                }
2324                              }
2325                            },
2326                            "init": {
2327                              "type": "NumberLiteral",
2328                              "value": 0,
2329                              "loc": {
2330                                "start": {
2331                                  "line": 1,
2332                                  "column": 1
2333                                },
2334                                "end": {
2335                                  "line": 1,
2336                                  "column": 1
2337                                }
2338                              }
2339                            },
2340                            "loc": {
2341                              "start": {
2342                                "line": 1,
2343                                "column": 1
2344                              },
2345                              "end": {
2346                                "line": 1,
2347                                "column": 1
2348                              }
2349                            }
2350                          }
2351                        ],
2352                        "kind": "let",
2353                        "loc": {
2354                          "start": {
2355                            "line": 1,
2356                            "column": 1
2357                          },
2358                          "end": {
2359                            "line": 1,
2360                            "column": 1
2361                          }
2362                        }
2363                      },
2364                      "test": {
2365                        "type": "BinaryExpression",
2366                        "operator": "<",
2367                        "left": {
2368                          "type": "Identifier",
2369                          "name": "i",
2370                          "decorators": [],
2371                          "loc": {
2372                            "start": {
2373                              "line": 1,
2374                              "column": 1
2375                            },
2376                            "end": {
2377                              "line": 1,
2378                              "column": 1
2379                            }
2380                          }
2381                        },
2382                        "right": {
2383                          "type": "MemberExpression",
2384                          "object": {
2385                            "type": "MemberExpression",
2386                            "object": {
2387                              "type": "Identifier",
2388                              "name": "#InvalidInitTypeEnum",
2389                              "decorators": [],
2390                              "loc": {
2391                                "start": {
2392                                  "line": 1,
2393                                  "column": 1
2394                                },
2395                                "end": {
2396                                  "line": 1,
2397                                  "column": 1
2398                                }
2399                              }
2400                            },
2401                            "property": {
2402                              "type": "Identifier",
2403                              "name": "NamesArray",
2404                              "decorators": [],
2405                              "loc": {
2406                                "start": {
2407                                  "line": 1,
2408                                  "column": 1
2409                                },
2410                                "end": {
2411                                  "line": 1,
2412                                  "column": 1
2413                                }
2414                              }
2415                            },
2416                            "computed": false,
2417                            "optional": false,
2418                            "loc": {
2419                              "start": {
2420                                "line": 1,
2421                                "column": 1
2422                              },
2423                              "end": {
2424                                "line": 1,
2425                                "column": 1
2426                              }
2427                            }
2428                          },
2429                          "property": {
2430                            "type": "Identifier",
2431                            "name": "length",
2432                            "decorators": [],
2433                            "loc": {
2434                              "start": {
2435                                "line": 1,
2436                                "column": 1
2437                              },
2438                              "end": {
2439                                "line": 1,
2440                                "column": 1
2441                              }
2442                            }
2443                          },
2444                          "computed": false,
2445                          "optional": false,
2446                          "loc": {
2447                            "start": {
2448                              "line": 1,
2449                              "column": 1
2450                            },
2451                            "end": {
2452                              "line": 1,
2453                              "column": 1
2454                            }
2455                          }
2456                        },
2457                        "loc": {
2458                          "start": {
2459                            "line": 1,
2460                            "column": 1
2461                          },
2462                          "end": {
2463                            "line": 1,
2464                            "column": 1
2465                          }
2466                        }
2467                      },
2468                      "update": {
2469                        "type": "UpdateExpression",
2470                        "operator": "++",
2471                        "prefix": true,
2472                        "argument": {
2473                          "type": "Identifier",
2474                          "name": "i",
2475                          "decorators": [],
2476                          "loc": {
2477                            "start": {
2478                              "line": 1,
2479                              "column": 1
2480                            },
2481                            "end": {
2482                              "line": 1,
2483                              "column": 1
2484                            }
2485                          }
2486                        },
2487                        "loc": {
2488                          "start": {
2489                            "line": 1,
2490                            "column": 1
2491                          },
2492                          "end": {
2493                            "line": 1,
2494                            "column": 1
2495                          }
2496                        }
2497                      },
2498                      "body": {
2499                        "type": "IfStatement",
2500                        "test": {
2501                          "type": "BinaryExpression",
2502                          "operator": "==",
2503                          "left": {
2504                            "type": "Identifier",
2505                            "name": "name",
2506                            "decorators": [],
2507                            "loc": {
2508                              "start": {
2509                                "line": 1,
2510                                "column": 1
2511                              },
2512                              "end": {
2513                                "line": 1,
2514                                "column": 1
2515                              }
2516                            }
2517                          },
2518                          "right": {
2519                            "type": "MemberExpression",
2520                            "object": {
2521                              "type": "MemberExpression",
2522                              "object": {
2523                                "type": "Identifier",
2524                                "name": "#InvalidInitTypeEnum",
2525                                "decorators": [],
2526                                "loc": {
2527                                  "start": {
2528                                    "line": 1,
2529                                    "column": 1
2530                                  },
2531                                  "end": {
2532                                    "line": 1,
2533                                    "column": 1
2534                                  }
2535                                }
2536                              },
2537                              "property": {
2538                                "type": "Identifier",
2539                                "name": "NamesArray",
2540                                "decorators": [],
2541                                "loc": {
2542                                  "start": {
2543                                    "line": 1,
2544                                    "column": 1
2545                                  },
2546                                  "end": {
2547                                    "line": 1,
2548                                    "column": 1
2549                                  }
2550                                }
2551                              },
2552                              "computed": false,
2553                              "optional": false,
2554                              "loc": {
2555                                "start": {
2556                                  "line": 1,
2557                                  "column": 1
2558                                },
2559                                "end": {
2560                                  "line": 1,
2561                                  "column": 1
2562                                }
2563                              }
2564                            },
2565                            "property": {
2566                              "type": "Identifier",
2567                              "name": "i",
2568                              "decorators": [],
2569                              "loc": {
2570                                "start": {
2571                                  "line": 1,
2572                                  "column": 1
2573                                },
2574                                "end": {
2575                                  "line": 1,
2576                                  "column": 1
2577                                }
2578                              }
2579                            },
2580                            "computed": true,
2581                            "optional": false,
2582                            "loc": {
2583                              "start": {
2584                                "line": 1,
2585                                "column": 1
2586                              },
2587                              "end": {
2588                                "line": 1,
2589                                "column": 1
2590                              }
2591                            }
2592                          },
2593                          "loc": {
2594                            "start": {
2595                              "line": 1,
2596                              "column": 1
2597                            },
2598                            "end": {
2599                              "line": 1,
2600                              "column": 1
2601                            }
2602                          }
2603                        },
2604                        "consequent": {
2605                          "type": "ReturnStatement",
2606                          "argument": {
2607                            "type": "TSAsExpression",
2608                            "expression": {
2609                              "type": "Identifier",
2610                              "name": "i",
2611                              "decorators": [],
2612                              "loc": {
2613                                "start": {
2614                                  "line": 1,
2615                                  "column": 1
2616                                },
2617                                "end": {
2618                                  "line": 1,
2619                                  "column": 1
2620                                }
2621                              }
2622                            },
2623                            "typeAnnotation": {
2624                              "type": "ETSTypeReference",
2625                              "part": {
2626                                "type": "ETSTypeReferencePart",
2627                                "name": {
2628                                  "type": "Identifier",
2629                                  "name": "InvalidInitTypeEnum",
2630                                  "decorators": [],
2631                                  "loc": {
2632                                    "start": {
2633                                      "line": 1,
2634                                      "column": 1
2635                                    },
2636                                    "end": {
2637                                      "line": 1,
2638                                      "column": 1
2639                                    }
2640                                  }
2641                                },
2642                                "loc": {
2643                                  "start": {
2644                                    "line": 1,
2645                                    "column": 1
2646                                  },
2647                                  "end": {
2648                                    "line": 1,
2649                                    "column": 1
2650                                  }
2651                                }
2652                              },
2653                              "loc": {
2654                                "start": {
2655                                  "line": 1,
2656                                  "column": 1
2657                                },
2658                                "end": {
2659                                  "line": 1,
2660                                  "column": 1
2661                                }
2662                              }
2663                            },
2664                            "loc": {
2665                              "start": {
2666                                "line": 1,
2667                                "column": 1
2668                              },
2669                              "end": {
2670                                "line": 1,
2671                                "column": 1
2672                              }
2673                            }
2674                          },
2675                          "loc": {
2676                            "start": {
2677                              "line": 1,
2678                              "column": 1
2679                            },
2680                            "end": {
2681                              "line": 1,
2682                              "column": 1
2683                            }
2684                          }
2685                        },
2686                        "alternate": null,
2687                        "loc": {
2688                          "start": {
2689                            "line": 1,
2690                            "column": 1
2691                          },
2692                          "end": {
2693                            "line": 1,
2694                            "column": 1
2695                          }
2696                        }
2697                      },
2698                      "loc": {
2699                        "start": {
2700                          "line": 1,
2701                          "column": 1
2702                        },
2703                        "end": {
2704                          "line": 1,
2705                          "column": 1
2706                        }
2707                      }
2708                    },
2709                    {
2710                      "type": "ThrowStatement",
2711                      "argument": {
2712                        "type": "ETSNewClassInstanceExpression",
2713                        "typeReference": {
2714                          "type": "ETSTypeReference",
2715                          "part": {
2716                            "type": "ETSTypeReferencePart",
2717                            "name": {
2718                              "type": "Identifier",
2719                              "name": "Exception",
2720                              "decorators": [],
2721                              "loc": {
2722                                "start": {
2723                                  "line": 1,
2724                                  "column": 1
2725                                },
2726                                "end": {
2727                                  "line": 1,
2728                                  "column": 1
2729                                }
2730                              }
2731                            },
2732                            "loc": {
2733                              "start": {
2734                                "line": 1,
2735                                "column": 1
2736                              },
2737                              "end": {
2738                                "line": 1,
2739                                "column": 1
2740                              }
2741                            }
2742                          },
2743                          "loc": {
2744                            "start": {
2745                              "line": 1,
2746                              "column": 1
2747                            },
2748                            "end": {
2749                              "line": 1,
2750                              "column": 1
2751                            }
2752                          }
2753                        },
2754                        "arguments": [
2755                          {
2756                            "type": "BinaryExpression",
2757                            "operator": "+",
2758                            "left": {
2759                              "type": "StringLiteral",
2760                              "value": "No enum constant InvalidInitTypeEnum.",
2761                              "loc": {
2762                                "start": {
2763                                  "line": 1,
2764                                  "column": 1
2765                                },
2766                                "end": {
2767                                  "line": 1,
2768                                  "column": 1
2769                                }
2770                              }
2771                            },
2772                            "right": {
2773                              "type": "Identifier",
2774                              "name": "name",
2775                              "decorators": [],
2776                              "loc": {
2777                                "start": {
2778                                  "line": 1,
2779                                  "column": 1
2780                                },
2781                                "end": {
2782                                  "line": 1,
2783                                  "column": 1
2784                                }
2785                              }
2786                            },
2787                            "loc": {
2788                              "start": {
2789                                "line": 1,
2790                                "column": 1
2791                              },
2792                              "end": {
2793                                "line": 1,
2794                                "column": 1
2795                              }
2796                            }
2797                          }
2798                        ],
2799                        "loc": {
2800                          "start": {
2801                            "line": 1,
2802                            "column": 1
2803                          },
2804                          "end": {
2805                            "line": 1,
2806                            "column": 1
2807                          }
2808                        }
2809                      },
2810                      "loc": {
2811                        "start": {
2812                          "line": 1,
2813                          "column": 1
2814                        },
2815                        "end": {
2816                          "line": 1,
2817                          "column": 1
2818                        }
2819                      }
2820                    }
2821                  ],
2822                  "loc": {
2823                    "start": {
2824                      "line": 1,
2825                      "column": 1
2826                    },
2827                    "end": {
2828                      "line": 1,
2829                      "column": 1
2830                    }
2831                  }
2832                },
2833                "throwMarker": "throws",
2834                "loc": {
2835                  "start": {
2836                    "line": 1,
2837                    "column": 1
2838                  },
2839                  "end": {
2840                    "line": 1,
2841                    "column": 1
2842                  }
2843                }
2844              },
2845              "loc": {
2846                "start": {
2847                  "line": 1,
2848                  "column": 1
2849                },
2850                "end": {
2851                  "line": 1,
2852                  "column": 1
2853                }
2854              }
2855            },
2856            "overloads": [],
2857            "decorators": [],
2858            "loc": {
2859              "start": {
2860                "line": 1,
2861                "column": 1
2862              },
2863              "end": {
2864                "line": 1,
2865                "column": 1
2866              }
2867            }
2868          },
2869          {
2870            "type": "MethodDefinition",
2871            "key": {
2872              "type": "Identifier",
2873              "name": "valueOf",
2874              "decorators": [],
2875              "loc": {
2876                "start": {
2877                  "line": 1,
2878                  "column": 1
2879                },
2880                "end": {
2881                  "line": 1,
2882                  "column": 1
2883                }
2884              }
2885            },
2886            "kind": "method",
2887            "accessibility": "public",
2888            "static": true,
2889            "optional": false,
2890            "computed": false,
2891            "value": {
2892              "type": "FunctionExpression",
2893              "function": {
2894                "type": "ScriptFunction",
2895                "id": {
2896                  "type": "Identifier",
2897                  "name": "valueOf",
2898                  "decorators": [],
2899                  "loc": {
2900                    "start": {
2901                      "line": 1,
2902                      "column": 1
2903                    },
2904                    "end": {
2905                      "line": 1,
2906                      "column": 1
2907                    }
2908                  }
2909                },
2910                "generator": false,
2911                "async": false,
2912                "expression": false,
2913                "params": [
2914                  {
2915                    "type": "ETSParameterExpression",
2916                    "name": {
2917                      "type": "Identifier",
2918                      "name": "e",
2919                      "typeAnnotation": {
2920                        "type": "ETSTypeReference",
2921                        "part": {
2922                          "type": "ETSTypeReferencePart",
2923                          "name": {
2924                            "type": "Identifier",
2925                            "name": "InvalidInitTypeEnum",
2926                            "decorators": [],
2927                            "loc": {
2928                              "start": {
2929                                "line": 1,
2930                                "column": 1
2931                              },
2932                              "end": {
2933                                "line": 1,
2934                                "column": 1
2935                              }
2936                            }
2937                          },
2938                          "loc": {
2939                            "start": {
2940                              "line": 1,
2941                              "column": 1
2942                            },
2943                            "end": {
2944                              "line": 1,
2945                              "column": 1
2946                            }
2947                          }
2948                        },
2949                        "loc": {
2950                          "start": {
2951                            "line": 1,
2952                            "column": 1
2953                          },
2954                          "end": {
2955                            "line": 1,
2956                            "column": 1
2957                          }
2958                        }
2959                      },
2960                      "decorators": [],
2961                      "loc": {
2962                        "start": {
2963                          "line": 1,
2964                          "column": 1
2965                        },
2966                        "end": {
2967                          "line": 1,
2968                          "column": 1
2969                        }
2970                      }
2971                    },
2972                    "loc": {
2973                      "start": {
2974                        "line": 1,
2975                        "column": 1
2976                      },
2977                      "end": {
2978                        "line": 1,
2979                        "column": 1
2980                      }
2981                    }
2982                  }
2983                ],
2984                "returnType": {
2985                  "type": "ETSPrimitiveType",
2986                  "loc": {
2987                    "start": {
2988                      "line": 1,
2989                      "column": 1
2990                    },
2991                    "end": {
2992                      "line": 1,
2993                      "column": 1
2994                    }
2995                  }
2996                },
2997                "body": {
2998                  "type": "BlockStatement",
2999                  "statements": [
3000                    {
3001                      "type": "ReturnStatement",
3002                      "argument": {
3003                        "type": "MemberExpression",
3004                        "object": {
3005                          "type": "MemberExpression",
3006                          "object": {
3007                            "type": "Identifier",
3008                            "name": "#InvalidInitTypeEnum",
3009                            "decorators": [],
3010                            "loc": {
3011                              "start": {
3012                                "line": 1,
3013                                "column": 1
3014                              },
3015                              "end": {
3016                                "line": 1,
3017                                "column": 1
3018                              }
3019                            }
3020                          },
3021                          "property": {
3022                            "type": "Identifier",
3023                            "name": "ValuesArray",
3024                            "decorators": [],
3025                            "loc": {
3026                              "start": {
3027                                "line": 1,
3028                                "column": 1
3029                              },
3030                              "end": {
3031                                "line": 1,
3032                                "column": 1
3033                              }
3034                            }
3035                          },
3036                          "computed": false,
3037                          "optional": false,
3038                          "loc": {
3039                            "start": {
3040                              "line": 1,
3041                              "column": 1
3042                            },
3043                            "end": {
3044                              "line": 1,
3045                              "column": 1
3046                            }
3047                          }
3048                        },
3049                        "property": {
3050                          "type": "TSAsExpression",
3051                          "expression": {
3052                            "type": "Identifier",
3053                            "name": "e",
3054                            "decorators": [],
3055                            "loc": {
3056                              "start": {
3057                                "line": 1,
3058                                "column": 1
3059                              },
3060                              "end": {
3061                                "line": 1,
3062                                "column": 1
3063                              }
3064                            }
3065                          },
3066                          "typeAnnotation": {
3067                            "type": "ETSPrimitiveType",
3068                            "loc": {
3069                              "start": {
3070                                "line": 1,
3071                                "column": 1
3072                              },
3073                              "end": {
3074                                "line": 1,
3075                                "column": 1
3076                              }
3077                            }
3078                          },
3079                          "loc": {
3080                            "start": {
3081                              "line": 1,
3082                              "column": 1
3083                            },
3084                            "end": {
3085                              "line": 1,
3086                              "column": 1
3087                            }
3088                          }
3089                        },
3090                        "computed": true,
3091                        "optional": false,
3092                        "loc": {
3093                          "start": {
3094                            "line": 1,
3095                            "column": 1
3096                          },
3097                          "end": {
3098                            "line": 1,
3099                            "column": 1
3100                          }
3101                        }
3102                      },
3103                      "loc": {
3104                        "start": {
3105                          "line": 1,
3106                          "column": 1
3107                        },
3108                        "end": {
3109                          "line": 1,
3110                          "column": 1
3111                        }
3112                      }
3113                    }
3114                  ],
3115                  "loc": {
3116                    "start": {
3117                      "line": 1,
3118                      "column": 1
3119                    },
3120                    "end": {
3121                      "line": 1,
3122                      "column": 1
3123                    }
3124                  }
3125                },
3126                "loc": {
3127                  "start": {
3128                    "line": 1,
3129                    "column": 1
3130                  },
3131                  "end": {
3132                    "line": 1,
3133                    "column": 1
3134                  }
3135                }
3136              },
3137              "loc": {
3138                "start": {
3139                  "line": 1,
3140                  "column": 1
3141                },
3142                "end": {
3143                  "line": 1,
3144                  "column": 1
3145                }
3146              }
3147            },
3148            "overloads": [],
3149            "decorators": [],
3150            "loc": {
3151              "start": {
3152                "line": 1,
3153                "column": 1
3154              },
3155              "end": {
3156                "line": 1,
3157                "column": 1
3158              }
3159            }
3160          },
3161          {
3162            "type": "MethodDefinition",
3163            "key": {
3164              "type": "Identifier",
3165              "name": "toString",
3166              "decorators": [],
3167              "loc": {
3168                "start": {
3169                  "line": 1,
3170                  "column": 1
3171                },
3172                "end": {
3173                  "line": 1,
3174                  "column": 1
3175                }
3176              }
3177            },
3178            "kind": "method",
3179            "accessibility": "public",
3180            "static": true,
3181            "optional": false,
3182            "computed": false,
3183            "value": {
3184              "type": "FunctionExpression",
3185              "function": {
3186                "type": "ScriptFunction",
3187                "id": {
3188                  "type": "Identifier",
3189                  "name": "toString",
3190                  "decorators": [],
3191                  "loc": {
3192                    "start": {
3193                      "line": 1,
3194                      "column": 1
3195                    },
3196                    "end": {
3197                      "line": 1,
3198                      "column": 1
3199                    }
3200                  }
3201                },
3202                "generator": false,
3203                "async": false,
3204                "expression": false,
3205                "params": [
3206                  {
3207                    "type": "ETSParameterExpression",
3208                    "name": {
3209                      "type": "Identifier",
3210                      "name": "ordinal",
3211                      "typeAnnotation": {
3212                        "type": "ETSTypeReference",
3213                        "part": {
3214                          "type": "ETSTypeReferencePart",
3215                          "name": {
3216                            "type": "Identifier",
3217                            "name": "InvalidInitTypeEnum",
3218                            "decorators": [],
3219                            "loc": {
3220                              "start": {
3221                                "line": 1,
3222                                "column": 1
3223                              },
3224                              "end": {
3225                                "line": 1,
3226                                "column": 1
3227                              }
3228                            }
3229                          },
3230                          "loc": {
3231                            "start": {
3232                              "line": 1,
3233                              "column": 1
3234                            },
3235                            "end": {
3236                              "line": 1,
3237                              "column": 1
3238                            }
3239                          }
3240                        },
3241                        "loc": {
3242                          "start": {
3243                            "line": 1,
3244                            "column": 1
3245                          },
3246                          "end": {
3247                            "line": 1,
3248                            "column": 1
3249                          }
3250                        }
3251                      },
3252                      "decorators": [],
3253                      "loc": {
3254                        "start": {
3255                          "line": 1,
3256                          "column": 1
3257                        },
3258                        "end": {
3259                          "line": 1,
3260                          "column": 1
3261                        }
3262                      }
3263                    },
3264                    "loc": {
3265                      "start": {
3266                        "line": 1,
3267                        "column": 1
3268                      },
3269                      "end": {
3270                        "line": 1,
3271                        "column": 1
3272                      }
3273                    }
3274                  }
3275                ],
3276                "returnType": {
3277                  "type": "ETSTypeReference",
3278                  "part": {
3279                    "type": "ETSTypeReferencePart",
3280                    "name": {
3281                      "type": "Identifier",
3282                      "name": "String",
3283                      "decorators": [],
3284                      "loc": {
3285                        "start": {
3286                          "line": 1,
3287                          "column": 1
3288                        },
3289                        "end": {
3290                          "line": 1,
3291                          "column": 1
3292                        }
3293                      }
3294                    },
3295                    "loc": {
3296                      "start": {
3297                        "line": 1,
3298                        "column": 1
3299                      },
3300                      "end": {
3301                        "line": 1,
3302                        "column": 1
3303                      }
3304                    }
3305                  },
3306                  "loc": {
3307                    "start": {
3308                      "line": 1,
3309                      "column": 1
3310                    },
3311                    "end": {
3312                      "line": 1,
3313                      "column": 1
3314                    }
3315                  }
3316                },
3317                "body": {
3318                  "type": "BlockStatement",
3319                  "statements": [
3320                    {
3321                      "type": "ReturnStatement",
3322                      "argument": {
3323                        "type": "MemberExpression",
3324                        "object": {
3325                          "type": "MemberExpression",
3326                          "object": {
3327                            "type": "Identifier",
3328                            "name": "#InvalidInitTypeEnum",
3329                            "decorators": [],
3330                            "loc": {
3331                              "start": {
3332                                "line": 1,
3333                                "column": 1
3334                              },
3335                              "end": {
3336                                "line": 1,
3337                                "column": 1
3338                              }
3339                            }
3340                          },
3341                          "property": {
3342                            "type": "Identifier",
3343                            "name": "StringValuesArray",
3344                            "decorators": [],
3345                            "loc": {
3346                              "start": {
3347                                "line": 1,
3348                                "column": 1
3349                              },
3350                              "end": {
3351                                "line": 1,
3352                                "column": 1
3353                              }
3354                            }
3355                          },
3356                          "computed": false,
3357                          "optional": false,
3358                          "loc": {
3359                            "start": {
3360                              "line": 1,
3361                              "column": 1
3362                            },
3363                            "end": {
3364                              "line": 1,
3365                              "column": 1
3366                            }
3367                          }
3368                        },
3369                        "property": {
3370                          "type": "TSAsExpression",
3371                          "expression": {
3372                            "type": "Identifier",
3373                            "name": "ordinal",
3374                            "decorators": [],
3375                            "loc": {
3376                              "start": {
3377                                "line": 1,
3378                                "column": 1
3379                              },
3380                              "end": {
3381                                "line": 1,
3382                                "column": 1
3383                              }
3384                            }
3385                          },
3386                          "typeAnnotation": {
3387                            "type": "ETSPrimitiveType",
3388                            "loc": {
3389                              "start": {
3390                                "line": 1,
3391                                "column": 1
3392                              },
3393                              "end": {
3394                                "line": 1,
3395                                "column": 1
3396                              }
3397                            }
3398                          },
3399                          "loc": {
3400                            "start": {
3401                              "line": 1,
3402                              "column": 1
3403                            },
3404                            "end": {
3405                              "line": 1,
3406                              "column": 1
3407                            }
3408                          }
3409                        },
3410                        "computed": true,
3411                        "optional": false,
3412                        "loc": {
3413                          "start": {
3414                            "line": 1,
3415                            "column": 1
3416                          },
3417                          "end": {
3418                            "line": 1,
3419                            "column": 1
3420                          }
3421                        }
3422                      },
3423                      "loc": {
3424                        "start": {
3425                          "line": 1,
3426                          "column": 1
3427                        },
3428                        "end": {
3429                          "line": 1,
3430                          "column": 1
3431                        }
3432                      }
3433                    }
3434                  ],
3435                  "loc": {
3436                    "start": {
3437                      "line": 1,
3438                      "column": 1
3439                    },
3440                    "end": {
3441                      "line": 1,
3442                      "column": 1
3443                    }
3444                  }
3445                },
3446                "loc": {
3447                  "start": {
3448                    "line": 1,
3449                    "column": 1
3450                  },
3451                  "end": {
3452                    "line": 1,
3453                    "column": 1
3454                  }
3455                }
3456              },
3457              "loc": {
3458                "start": {
3459                  "line": 1,
3460                  "column": 1
3461                },
3462                "end": {
3463                  "line": 1,
3464                  "column": 1
3465                }
3466              }
3467            },
3468            "overloads": [],
3469            "decorators": [],
3470            "loc": {
3471              "start": {
3472                "line": 1,
3473                "column": 1
3474              },
3475              "end": {
3476                "line": 1,
3477                "column": 1
3478              }
3479            }
3480          },
3481          {
3482            "type": "MethodDefinition",
3483            "key": {
3484              "type": "Identifier",
3485              "name": "values",
3486              "decorators": [],
3487              "loc": {
3488                "start": {
3489                  "line": 1,
3490                  "column": 1
3491                },
3492                "end": {
3493                  "line": 1,
3494                  "column": 1
3495                }
3496              }
3497            },
3498            "kind": "method",
3499            "accessibility": "public",
3500            "static": true,
3501            "optional": false,
3502            "computed": false,
3503            "value": {
3504              "type": "FunctionExpression",
3505              "function": {
3506                "type": "ScriptFunction",
3507                "id": {
3508                  "type": "Identifier",
3509                  "name": "values",
3510                  "decorators": [],
3511                  "loc": {
3512                    "start": {
3513                      "line": 1,
3514                      "column": 1
3515                    },
3516                    "end": {
3517                      "line": 1,
3518                      "column": 1
3519                    }
3520                  }
3521                },
3522                "generator": false,
3523                "async": false,
3524                "expression": false,
3525                "params": [],
3526                "returnType": {
3527                  "type": "TSArrayType",
3528                  "elementType": {
3529                    "type": "ETSTypeReference",
3530                    "part": {
3531                      "type": "ETSTypeReferencePart",
3532                      "name": {
3533                        "type": "Identifier",
3534                        "name": "InvalidInitTypeEnum",
3535                        "decorators": [],
3536                        "loc": {
3537                          "start": {
3538                            "line": 1,
3539                            "column": 1
3540                          },
3541                          "end": {
3542                            "line": 1,
3543                            "column": 1
3544                          }
3545                        }
3546                      },
3547                      "loc": {
3548                        "start": {
3549                          "line": 1,
3550                          "column": 1
3551                        },
3552                        "end": {
3553                          "line": 1,
3554                          "column": 1
3555                        }
3556                      }
3557                    },
3558                    "loc": {
3559                      "start": {
3560                        "line": 1,
3561                        "column": 1
3562                      },
3563                      "end": {
3564                        "line": 1,
3565                        "column": 1
3566                      }
3567                    }
3568                  },
3569                  "loc": {
3570                    "start": {
3571                      "line": 1,
3572                      "column": 1
3573                    },
3574                    "end": {
3575                      "line": 1,
3576                      "column": 1
3577                    }
3578                  }
3579                },
3580                "body": {
3581                  "type": "BlockStatement",
3582                  "statements": [
3583                    {
3584                      "type": "ReturnStatement",
3585                      "argument": {
3586                        "type": "MemberExpression",
3587                        "object": {
3588                          "type": "Identifier",
3589                          "name": "#InvalidInitTypeEnum",
3590                          "decorators": [],
3591                          "loc": {
3592                            "start": {
3593                              "line": 1,
3594                              "column": 1
3595                            },
3596                            "end": {
3597                              "line": 1,
3598                              "column": 1
3599                            }
3600                          }
3601                        },
3602                        "property": {
3603                          "type": "Identifier",
3604                          "name": "ItemsArray",
3605                          "decorators": [],
3606                          "loc": {
3607                            "start": {
3608                              "line": 1,
3609                              "column": 1
3610                            },
3611                            "end": {
3612                              "line": 1,
3613                              "column": 1
3614                            }
3615                          }
3616                        },
3617                        "computed": false,
3618                        "optional": false,
3619                        "loc": {
3620                          "start": {
3621                            "line": 1,
3622                            "column": 1
3623                          },
3624                          "end": {
3625                            "line": 1,
3626                            "column": 1
3627                          }
3628                        }
3629                      },
3630                      "loc": {
3631                        "start": {
3632                          "line": 1,
3633                          "column": 1
3634                        },
3635                        "end": {
3636                          "line": 1,
3637                          "column": 1
3638                        }
3639                      }
3640                    }
3641                  ],
3642                  "loc": {
3643                    "start": {
3644                      "line": 1,
3645                      "column": 1
3646                    },
3647                    "end": {
3648                      "line": 1,
3649                      "column": 1
3650                    }
3651                  }
3652                },
3653                "loc": {
3654                  "start": {
3655                    "line": 1,
3656                    "column": 1
3657                  },
3658                  "end": {
3659                    "line": 1,
3660                    "column": 1
3661                  }
3662                }
3663              },
3664              "loc": {
3665                "start": {
3666                  "line": 1,
3667                  "column": 1
3668                },
3669                "end": {
3670                  "line": 1,
3671                  "column": 1
3672                }
3673              }
3674            },
3675            "overloads": [],
3676            "decorators": [],
3677            "loc": {
3678              "start": {
3679                "line": 1,
3680                "column": 1
3681              },
3682              "end": {
3683                "line": 1,
3684                "column": 1
3685              }
3686            }
3687          },
3688          {
3689            "type": "MethodDefinition",
3690            "key": {
3691              "type": "Identifier",
3692              "name": "fromInt",
3693              "decorators": [],
3694              "loc": {
3695                "start": {
3696                  "line": 1,
3697                  "column": 1
3698                },
3699                "end": {
3700                  "line": 1,
3701                  "column": 1
3702                }
3703              }
3704            },
3705            "kind": "method",
3706            "accessibility": "public",
3707            "static": true,
3708            "optional": false,
3709            "computed": false,
3710            "value": {
3711              "type": "FunctionExpression",
3712              "function": {
3713                "type": "ScriptFunction",
3714                "id": {
3715                  "type": "Identifier",
3716                  "name": "fromInt",
3717                  "decorators": [],
3718                  "loc": {
3719                    "start": {
3720                      "line": 1,
3721                      "column": 1
3722                    },
3723                    "end": {
3724                      "line": 1,
3725                      "column": 1
3726                    }
3727                  }
3728                },
3729                "generator": false,
3730                "async": false,
3731                "expression": false,
3732                "params": [
3733                  {
3734                    "type": "ETSParameterExpression",
3735                    "name": {
3736                      "type": "Identifier",
3737                      "name": "ordinal",
3738                      "typeAnnotation": {
3739                        "type": "ETSPrimitiveType",
3740                        "loc": {
3741                          "start": {
3742                            "line": 1,
3743                            "column": 1
3744                          },
3745                          "end": {
3746                            "line": 1,
3747                            "column": 1
3748                          }
3749                        }
3750                      },
3751                      "decorators": [],
3752                      "loc": {
3753                        "start": {
3754                          "line": 1,
3755                          "column": 1
3756                        },
3757                        "end": {
3758                          "line": 1,
3759                          "column": 1
3760                        }
3761                      }
3762                    },
3763                    "loc": {
3764                      "start": {
3765                        "line": 1,
3766                        "column": 1
3767                      },
3768                      "end": {
3769                        "line": 1,
3770                        "column": 1
3771                      }
3772                    }
3773                  }
3774                ],
3775                "returnType": {
3776                  "type": "ETSTypeReference",
3777                  "part": {
3778                    "type": "ETSTypeReferencePart",
3779                    "name": {
3780                      "type": "Identifier",
3781                      "name": "InvalidInitTypeEnum",
3782                      "decorators": [],
3783                      "loc": {
3784                        "start": {
3785                          "line": 1,
3786                          "column": 1
3787                        },
3788                        "end": {
3789                          "line": 1,
3790                          "column": 1
3791                        }
3792                      }
3793                    },
3794                    "loc": {
3795                      "start": {
3796                        "line": 1,
3797                        "column": 1
3798                      },
3799                      "end": {
3800                        "line": 1,
3801                        "column": 1
3802                      }
3803                    }
3804                  },
3805                  "loc": {
3806                    "start": {
3807                      "line": 1,
3808                      "column": 1
3809                    },
3810                    "end": {
3811                      "line": 1,
3812                      "column": 1
3813                    }
3814                  }
3815                },
3816                "body": {
3817                  "type": "BlockStatement",
3818                  "statements": [
3819                    {
3820                      "type": "IfStatement",
3821                      "test": {
3822                        "type": "BinaryExpression",
3823                        "operator": "<",
3824                        "left": {
3825                          "type": "Identifier",
3826                          "name": "ordinal",
3827                          "decorators": [],
3828                          "loc": {
3829                            "start": {
3830                              "line": 1,
3831                              "column": 1
3832                            },
3833                            "end": {
3834                              "line": 1,
3835                              "column": 1
3836                            }
3837                          }
3838                        },
3839                        "right": {
3840                          "type": "MemberExpression",
3841                          "object": {
3842                            "type": "MemberExpression",
3843                            "object": {
3844                              "type": "Identifier",
3845                              "name": "#InvalidInitTypeEnum",
3846                              "decorators": [],
3847                              "loc": {
3848                                "start": {
3849                                  "line": 1,
3850                                  "column": 1
3851                                },
3852                                "end": {
3853                                  "line": 1,
3854                                  "column": 1
3855                                }
3856                              }
3857                            },
3858                            "property": {
3859                              "type": "Identifier",
3860                              "name": "ItemsArray",
3861                              "decorators": [],
3862                              "loc": {
3863                                "start": {
3864                                  "line": 1,
3865                                  "column": 1
3866                                },
3867                                "end": {
3868                                  "line": 1,
3869                                  "column": 1
3870                                }
3871                              }
3872                            },
3873                            "computed": false,
3874                            "optional": false,
3875                            "loc": {
3876                              "start": {
3877                                "line": 1,
3878                                "column": 1
3879                              },
3880                              "end": {
3881                                "line": 1,
3882                                "column": 1
3883                              }
3884                            }
3885                          },
3886                          "property": {
3887                            "type": "Identifier",
3888                            "name": "length",
3889                            "decorators": [],
3890                            "loc": {
3891                              "start": {
3892                                "line": 1,
3893                                "column": 1
3894                              },
3895                              "end": {
3896                                "line": 1,
3897                                "column": 1
3898                              }
3899                            }
3900                          },
3901                          "computed": false,
3902                          "optional": false,
3903                          "loc": {
3904                            "start": {
3905                              "line": 1,
3906                              "column": 1
3907                            },
3908                            "end": {
3909                              "line": 1,
3910                              "column": 1
3911                            }
3912                          }
3913                        },
3914                        "loc": {
3915                          "start": {
3916                            "line": 1,
3917                            "column": 1
3918                          },
3919                          "end": {
3920                            "line": 1,
3921                            "column": 1
3922                          }
3923                        }
3924                      },
3925                      "consequent": {
3926                        "type": "ReturnStatement",
3927                        "argument": {
3928                          "type": "MemberExpression",
3929                          "object": {
3930                            "type": "MemberExpression",
3931                            "object": {
3932                              "type": "Identifier",
3933                              "name": "#InvalidInitTypeEnum",
3934                              "decorators": [],
3935                              "loc": {
3936                                "start": {
3937                                  "line": 1,
3938                                  "column": 1
3939                                },
3940                                "end": {
3941                                  "line": 1,
3942                                  "column": 1
3943                                }
3944                              }
3945                            },
3946                            "property": {
3947                              "type": "Identifier",
3948                              "name": "ItemsArray",
3949                              "decorators": [],
3950                              "loc": {
3951                                "start": {
3952                                  "line": 1,
3953                                  "column": 1
3954                                },
3955                                "end": {
3956                                  "line": 1,
3957                                  "column": 1
3958                                }
3959                              }
3960                            },
3961                            "computed": false,
3962                            "optional": false,
3963                            "loc": {
3964                              "start": {
3965                                "line": 1,
3966                                "column": 1
3967                              },
3968                              "end": {
3969                                "line": 1,
3970                                "column": 1
3971                              }
3972                            }
3973                          },
3974                          "property": {
3975                            "type": "Identifier",
3976                            "name": "ordinal",
3977                            "decorators": [],
3978                            "loc": {
3979                              "start": {
3980                                "line": 1,
3981                                "column": 1
3982                              },
3983                              "end": {
3984                                "line": 1,
3985                                "column": 1
3986                              }
3987                            }
3988                          },
3989                          "computed": true,
3990                          "optional": false,
3991                          "loc": {
3992                            "start": {
3993                              "line": 1,
3994                              "column": 1
3995                            },
3996                            "end": {
3997                              "line": 1,
3998                              "column": 1
3999                            }
4000                          }
4001                        },
4002                        "loc": {
4003                          "start": {
4004                            "line": 1,
4005                            "column": 1
4006                          },
4007                          "end": {
4008                            "line": 1,
4009                            "column": 1
4010                          }
4011                        }
4012                      },
4013                      "alternate": null,
4014                      "loc": {
4015                        "start": {
4016                          "line": 1,
4017                          "column": 1
4018                        },
4019                        "end": {
4020                          "line": 1,
4021                          "column": 1
4022                        }
4023                      }
4024                    },
4025                    {
4026                      "type": "ThrowStatement",
4027                      "argument": {
4028                        "type": "ETSNewClassInstanceExpression",
4029                        "typeReference": {
4030                          "type": "ETSTypeReference",
4031                          "part": {
4032                            "type": "ETSTypeReferencePart",
4033                            "name": {
4034                              "type": "Identifier",
4035                              "name": "Exception",
4036                              "decorators": [],
4037                              "loc": {
4038                                "start": {
4039                                  "line": 1,
4040                                  "column": 1
4041                                },
4042                                "end": {
4043                                  "line": 1,
4044                                  "column": 1
4045                                }
4046                              }
4047                            },
4048                            "loc": {
4049                              "start": {
4050                                "line": 1,
4051                                "column": 1
4052                              },
4053                              "end": {
4054                                "line": 1,
4055                                "column": 1
4056                              }
4057                            }
4058                          },
4059                          "loc": {
4060                            "start": {
4061                              "line": 1,
4062                              "column": 1
4063                            },
4064                            "end": {
4065                              "line": 1,
4066                              "column": 1
4067                            }
4068                          }
4069                        },
4070                        "arguments": [
4071                          {
4072                            "type": "BinaryExpression",
4073                            "operator": "+",
4074                            "left": {
4075                              "type": "StringLiteral",
4076                              "value": "No enum constant in InvalidInitTypeEnum with ordinal value ",
4077                              "loc": {
4078                                "start": {
4079                                  "line": 1,
4080                                  "column": 1
4081                                },
4082                                "end": {
4083                                  "line": 1,
4084                                  "column": 1
4085                                }
4086                              }
4087                            },
4088                            "right": {
4089                              "type": "Identifier",
4090                              "name": "ordinal",
4091                              "decorators": [],
4092                              "loc": {
4093                                "start": {
4094                                  "line": 1,
4095                                  "column": 1
4096                                },
4097                                "end": {
4098                                  "line": 1,
4099                                  "column": 1
4100                                }
4101                              }
4102                            },
4103                            "loc": {
4104                              "start": {
4105                                "line": 1,
4106                                "column": 1
4107                              },
4108                              "end": {
4109                                "line": 1,
4110                                "column": 1
4111                              }
4112                            }
4113                          }
4114                        ],
4115                        "loc": {
4116                          "start": {
4117                            "line": 1,
4118                            "column": 1
4119                          },
4120                          "end": {
4121                            "line": 1,
4122                            "column": 1
4123                          }
4124                        }
4125                      },
4126                      "loc": {
4127                        "start": {
4128                          "line": 1,
4129                          "column": 1
4130                        },
4131                        "end": {
4132                          "line": 1,
4133                          "column": 1
4134                        }
4135                      }
4136                    }
4137                  ],
4138                  "loc": {
4139                    "start": {
4140                      "line": 1,
4141                      "column": 1
4142                    },
4143                    "end": {
4144                      "line": 1,
4145                      "column": 1
4146                    }
4147                  }
4148                },
4149                "throwMarker": "throws",
4150                "loc": {
4151                  "start": {
4152                    "line": 1,
4153                    "column": 1
4154                  },
4155                  "end": {
4156                    "line": 1,
4157                    "column": 1
4158                  }
4159                }
4160              },
4161              "loc": {
4162                "start": {
4163                  "line": 1,
4164                  "column": 1
4165                },
4166                "end": {
4167                  "line": 1,
4168                  "column": 1
4169                }
4170              }
4171            },
4172            "overloads": [],
4173            "decorators": [],
4174            "loc": {
4175              "start": {
4176                "line": 1,
4177                "column": 1
4178              },
4179              "end": {
4180                "line": 1,
4181                "column": 1
4182              }
4183            }
4184          },
4185          {
4186            "type": "MethodDefinition",
4187            "key": {
4188              "type": "Identifier",
4189              "name": "unbox",
4190              "decorators": [],
4191              "loc": {
4192                "start": {
4193                  "line": 1,
4194                  "column": 1
4195                },
4196                "end": {
4197                  "line": 1,
4198                  "column": 1
4199                }
4200              }
4201            },
4202            "kind": "method",
4203            "accessibility": "public",
4204            "static": false,
4205            "optional": false,
4206            "computed": false,
4207            "value": {
4208              "type": "FunctionExpression",
4209              "function": {
4210                "type": "ScriptFunction",
4211                "id": {
4212                  "type": "Identifier",
4213                  "name": "unbox",
4214                  "decorators": [],
4215                  "loc": {
4216                    "start": {
4217                      "line": 1,
4218                      "column": 1
4219                    },
4220                    "end": {
4221                      "line": 1,
4222                      "column": 1
4223                    }
4224                  }
4225                },
4226                "generator": false,
4227                "async": false,
4228                "expression": false,
4229                "params": [],
4230                "returnType": {
4231                  "type": "ETSTypeReference",
4232                  "part": {
4233                    "type": "ETSTypeReferencePart",
4234                    "name": {
4235                      "type": "Identifier",
4236                      "name": "InvalidInitTypeEnum",
4237                      "decorators": [],
4238                      "loc": {
4239                        "start": {
4240                          "line": 1,
4241                          "column": 1
4242                        },
4243                        "end": {
4244                          "line": 1,
4245                          "column": 1
4246                        }
4247                      }
4248                    },
4249                    "loc": {
4250                      "start": {
4251                        "line": 1,
4252                        "column": 1
4253                      },
4254                      "end": {
4255                        "line": 1,
4256                        "column": 1
4257                      }
4258                    }
4259                  },
4260                  "loc": {
4261                    "start": {
4262                      "line": 1,
4263                      "column": 1
4264                    },
4265                    "end": {
4266                      "line": 1,
4267                      "column": 1
4268                    }
4269                  }
4270                },
4271                "body": {
4272                  "type": "BlockStatement",
4273                  "statements": [
4274                    {
4275                      "type": "ReturnStatement",
4276                      "argument": {
4277                        "type": "MemberExpression",
4278                        "object": {
4279                          "type": "MemberExpression",
4280                          "object": {
4281                            "type": "Identifier",
4282                            "name": "#InvalidInitTypeEnum",
4283                            "decorators": [],
4284                            "loc": {
4285                              "start": {
4286                                "line": 1,
4287                                "column": 1
4288                              },
4289                              "end": {
4290                                "line": 1,
4291                                "column": 1
4292                              }
4293                            }
4294                          },
4295                          "property": {
4296                            "type": "Identifier",
4297                            "name": "ItemsArray",
4298                            "decorators": [],
4299                            "loc": {
4300                              "start": {
4301                                "line": 1,
4302                                "column": 1
4303                              },
4304                              "end": {
4305                                "line": 1,
4306                                "column": 1
4307                              }
4308                            }
4309                          },
4310                          "computed": false,
4311                          "optional": false,
4312                          "loc": {
4313                            "start": {
4314                              "line": 1,
4315                              "column": 1
4316                            },
4317                            "end": {
4318                              "line": 1,
4319                              "column": 1
4320                            }
4321                          }
4322                        },
4323                        "property": {
4324                          "type": "MemberExpression",
4325                          "object": {
4326                            "type": "ThisExpression",
4327                            "loc": {
4328                              "start": {
4329                                "line": 1,
4330                                "column": 1
4331                              },
4332                              "end": {
4333                                "line": 1,
4334                                "column": 1
4335                              }
4336                            }
4337                          },
4338                          "property": {
4339                            "type": "Identifier",
4340                            "name": "ordinal",
4341                            "decorators": [],
4342                            "loc": {
4343                              "start": {
4344                                "line": 1,
4345                                "column": 1
4346                              },
4347                              "end": {
4348                                "line": 1,
4349                                "column": 1
4350                              }
4351                            }
4352                          },
4353                          "computed": false,
4354                          "optional": false,
4355                          "loc": {
4356                            "start": {
4357                              "line": 1,
4358                              "column": 1
4359                            },
4360                            "end": {
4361                              "line": 1,
4362                              "column": 1
4363                            }
4364                          }
4365                        },
4366                        "computed": true,
4367                        "optional": false,
4368                        "loc": {
4369                          "start": {
4370                            "line": 1,
4371                            "column": 1
4372                          },
4373                          "end": {
4374                            "line": 1,
4375                            "column": 1
4376                          }
4377                        }
4378                      },
4379                      "loc": {
4380                        "start": {
4381                          "line": 1,
4382                          "column": 1
4383                        },
4384                        "end": {
4385                          "line": 1,
4386                          "column": 1
4387                        }
4388                      }
4389                    }
4390                  ],
4391                  "loc": {
4392                    "start": {
4393                      "line": 1,
4394                      "column": 1
4395                    },
4396                    "end": {
4397                      "line": 1,
4398                      "column": 1
4399                    }
4400                  }
4401                },
4402                "loc": {
4403                  "start": {
4404                    "line": 1,
4405                    "column": 1
4406                  },
4407                  "end": {
4408                    "line": 1,
4409                    "column": 1
4410                  }
4411                }
4412              },
4413              "loc": {
4414                "start": {
4415                  "line": 1,
4416                  "column": 1
4417                },
4418                "end": {
4419                  "line": 1,
4420                  "column": 1
4421                }
4422              }
4423            },
4424            "overloads": [],
4425            "decorators": [],
4426            "loc": {
4427              "start": {
4428                "line": 1,
4429                "column": 1
4430              },
4431              "end": {
4432                "line": 1,
4433                "column": 1
4434              }
4435            }
4436          },
4437          {
4438            "type": "MethodDefinition",
4439            "key": {
4440              "type": "Identifier",
4441              "name": "boxedfromInt",
4442              "decorators": [],
4443              "loc": {
4444                "start": {
4445                  "line": 1,
4446                  "column": 1
4447                },
4448                "end": {
4449                  "line": 1,
4450                  "column": 1
4451                }
4452              }
4453            },
4454            "kind": "method",
4455            "accessibility": "public",
4456            "static": true,
4457            "optional": false,
4458            "computed": false,
4459            "value": {
4460              "type": "FunctionExpression",
4461              "function": {
4462                "type": "ScriptFunction",
4463                "id": {
4464                  "type": "Identifier",
4465                  "name": "boxedfromInt",
4466                  "decorators": [],
4467                  "loc": {
4468                    "start": {
4469                      "line": 1,
4470                      "column": 1
4471                    },
4472                    "end": {
4473                      "line": 1,
4474                      "column": 1
4475                    }
4476                  }
4477                },
4478                "generator": false,
4479                "async": false,
4480                "expression": false,
4481                "params": [
4482                  {
4483                    "type": "ETSParameterExpression",
4484                    "name": {
4485                      "type": "Identifier",
4486                      "name": "ordinal",
4487                      "typeAnnotation": {
4488                        "type": "ETSPrimitiveType",
4489                        "loc": {
4490                          "start": {
4491                            "line": 1,
4492                            "column": 1
4493                          },
4494                          "end": {
4495                            "line": 1,
4496                            "column": 1
4497                          }
4498                        }
4499                      },
4500                      "decorators": [],
4501                      "loc": {
4502                        "start": {
4503                          "line": 1,
4504                          "column": 1
4505                        },
4506                        "end": {
4507                          "line": 1,
4508                          "column": 1
4509                        }
4510                      }
4511                    },
4512                    "loc": {
4513                      "start": {
4514                        "line": 1,
4515                        "column": 1
4516                      },
4517                      "end": {
4518                        "line": 1,
4519                        "column": 1
4520                      }
4521                    }
4522                  }
4523                ],
4524                "returnType": {
4525                  "type": "ETSTypeReference",
4526                  "part": {
4527                    "type": "ETSTypeReferencePart",
4528                    "name": {
4529                      "type": "Identifier",
4530                      "name": "#InvalidInitTypeEnum",
4531                      "decorators": [],
4532                      "loc": {
4533                        "start": {
4534                          "line": 1,
4535                          "column": 1
4536                        },
4537                        "end": {
4538                          "line": 1,
4539                          "column": 1
4540                        }
4541                      }
4542                    },
4543                    "loc": {
4544                      "start": {
4545                        "line": 1,
4546                        "column": 1
4547                      },
4548                      "end": {
4549                        "line": 1,
4550                        "column": 1
4551                      }
4552                    }
4553                  },
4554                  "loc": {
4555                    "start": {
4556                      "line": 1,
4557                      "column": 1
4558                    },
4559                    "end": {
4560                      "line": 1,
4561                      "column": 1
4562                    }
4563                  }
4564                },
4565                "body": {
4566                  "type": "BlockStatement",
4567                  "statements": [
4568                    {
4569                      "type": "IfStatement",
4570                      "test": {
4571                        "type": "BinaryExpression",
4572                        "operator": "<",
4573                        "left": {
4574                          "type": "Identifier",
4575                          "name": "ordinal",
4576                          "decorators": [],
4577                          "loc": {
4578                            "start": {
4579                              "line": 1,
4580                              "column": 1
4581                            },
4582                            "end": {
4583                              "line": 1,
4584                              "column": 1
4585                            }
4586                          }
4587                        },
4588                        "right": {
4589                          "type": "MemberExpression",
4590                          "object": {
4591                            "type": "MemberExpression",
4592                            "object": {
4593                              "type": "Identifier",
4594                              "name": "#InvalidInitTypeEnum",
4595                              "decorators": [],
4596                              "loc": {
4597                                "start": {
4598                                  "line": 1,
4599                                  "column": 1
4600                                },
4601                                "end": {
4602                                  "line": 1,
4603                                  "column": 1
4604                                }
4605                              }
4606                            },
4607                            "property": {
4608                              "type": "Identifier",
4609                              "name": "BoxedItemsArray",
4610                              "decorators": [],
4611                              "loc": {
4612                                "start": {
4613                                  "line": 1,
4614                                  "column": 1
4615                                },
4616                                "end": {
4617                                  "line": 1,
4618                                  "column": 1
4619                                }
4620                              }
4621                            },
4622                            "computed": false,
4623                            "optional": false,
4624                            "loc": {
4625                              "start": {
4626                                "line": 1,
4627                                "column": 1
4628                              },
4629                              "end": {
4630                                "line": 1,
4631                                "column": 1
4632                              }
4633                            }
4634                          },
4635                          "property": {
4636                            "type": "Identifier",
4637                            "name": "length",
4638                            "decorators": [],
4639                            "loc": {
4640                              "start": {
4641                                "line": 1,
4642                                "column": 1
4643                              },
4644                              "end": {
4645                                "line": 1,
4646                                "column": 1
4647                              }
4648                            }
4649                          },
4650                          "computed": false,
4651                          "optional": false,
4652                          "loc": {
4653                            "start": {
4654                              "line": 1,
4655                              "column": 1
4656                            },
4657                            "end": {
4658                              "line": 1,
4659                              "column": 1
4660                            }
4661                          }
4662                        },
4663                        "loc": {
4664                          "start": {
4665                            "line": 1,
4666                            "column": 1
4667                          },
4668                          "end": {
4669                            "line": 1,
4670                            "column": 1
4671                          }
4672                        }
4673                      },
4674                      "consequent": {
4675                        "type": "ReturnStatement",
4676                        "argument": {
4677                          "type": "MemberExpression",
4678                          "object": {
4679                            "type": "MemberExpression",
4680                            "object": {
4681                              "type": "Identifier",
4682                              "name": "#InvalidInitTypeEnum",
4683                              "decorators": [],
4684                              "loc": {
4685                                "start": {
4686                                  "line": 1,
4687                                  "column": 1
4688                                },
4689                                "end": {
4690                                  "line": 1,
4691                                  "column": 1
4692                                }
4693                              }
4694                            },
4695                            "property": {
4696                              "type": "Identifier",
4697                              "name": "BoxedItemsArray",
4698                              "decorators": [],
4699                              "loc": {
4700                                "start": {
4701                                  "line": 1,
4702                                  "column": 1
4703                                },
4704                                "end": {
4705                                  "line": 1,
4706                                  "column": 1
4707                                }
4708                              }
4709                            },
4710                            "computed": false,
4711                            "optional": false,
4712                            "loc": {
4713                              "start": {
4714                                "line": 1,
4715                                "column": 1
4716                              },
4717                              "end": {
4718                                "line": 1,
4719                                "column": 1
4720                              }
4721                            }
4722                          },
4723                          "property": {
4724                            "type": "Identifier",
4725                            "name": "ordinal",
4726                            "decorators": [],
4727                            "loc": {
4728                              "start": {
4729                                "line": 1,
4730                                "column": 1
4731                              },
4732                              "end": {
4733                                "line": 1,
4734                                "column": 1
4735                              }
4736                            }
4737                          },
4738                          "computed": true,
4739                          "optional": false,
4740                          "loc": {
4741                            "start": {
4742                              "line": 1,
4743                              "column": 1
4744                            },
4745                            "end": {
4746                              "line": 1,
4747                              "column": 1
4748                            }
4749                          }
4750                        },
4751                        "loc": {
4752                          "start": {
4753                            "line": 1,
4754                            "column": 1
4755                          },
4756                          "end": {
4757                            "line": 1,
4758                            "column": 1
4759                          }
4760                        }
4761                      },
4762                      "alternate": null,
4763                      "loc": {
4764                        "start": {
4765                          "line": 1,
4766                          "column": 1
4767                        },
4768                        "end": {
4769                          "line": 1,
4770                          "column": 1
4771                        }
4772                      }
4773                    },
4774                    {
4775                      "type": "ThrowStatement",
4776                      "argument": {
4777                        "type": "ETSNewClassInstanceExpression",
4778                        "typeReference": {
4779                          "type": "ETSTypeReference",
4780                          "part": {
4781                            "type": "ETSTypeReferencePart",
4782                            "name": {
4783                              "type": "Identifier",
4784                              "name": "Exception",
4785                              "decorators": [],
4786                              "loc": {
4787                                "start": {
4788                                  "line": 1,
4789                                  "column": 1
4790                                },
4791                                "end": {
4792                                  "line": 1,
4793                                  "column": 1
4794                                }
4795                              }
4796                            },
4797                            "loc": {
4798                              "start": {
4799                                "line": 1,
4800                                "column": 1
4801                              },
4802                              "end": {
4803                                "line": 1,
4804                                "column": 1
4805                              }
4806                            }
4807                          },
4808                          "loc": {
4809                            "start": {
4810                              "line": 1,
4811                              "column": 1
4812                            },
4813                            "end": {
4814                              "line": 1,
4815                              "column": 1
4816                            }
4817                          }
4818                        },
4819                        "arguments": [
4820                          {
4821                            "type": "BinaryExpression",
4822                            "operator": "+",
4823                            "left": {
4824                              "type": "StringLiteral",
4825                              "value": "No enum constant in InvalidInitTypeEnum with ordinal value ",
4826                              "loc": {
4827                                "start": {
4828                                  "line": 1,
4829                                  "column": 1
4830                                },
4831                                "end": {
4832                                  "line": 1,
4833                                  "column": 1
4834                                }
4835                              }
4836                            },
4837                            "right": {
4838                              "type": "Identifier",
4839                              "name": "ordinal",
4840                              "decorators": [],
4841                              "loc": {
4842                                "start": {
4843                                  "line": 1,
4844                                  "column": 1
4845                                },
4846                                "end": {
4847                                  "line": 1,
4848                                  "column": 1
4849                                }
4850                              }
4851                            },
4852                            "loc": {
4853                              "start": {
4854                                "line": 1,
4855                                "column": 1
4856                              },
4857                              "end": {
4858                                "line": 1,
4859                                "column": 1
4860                              }
4861                            }
4862                          }
4863                        ],
4864                        "loc": {
4865                          "start": {
4866                            "line": 1,
4867                            "column": 1
4868                          },
4869                          "end": {
4870                            "line": 1,
4871                            "column": 1
4872                          }
4873                        }
4874                      },
4875                      "loc": {
4876                        "start": {
4877                          "line": 1,
4878                          "column": 1
4879                        },
4880                        "end": {
4881                          "line": 1,
4882                          "column": 1
4883                        }
4884                      }
4885                    }
4886                  ],
4887                  "loc": {
4888                    "start": {
4889                      "line": 1,
4890                      "column": 1
4891                    },
4892                    "end": {
4893                      "line": 1,
4894                      "column": 1
4895                    }
4896                  }
4897                },
4898                "throwMarker": "throws",
4899                "loc": {
4900                  "start": {
4901                    "line": 1,
4902                    "column": 1
4903                  },
4904                  "end": {
4905                    "line": 1,
4906                    "column": 1
4907                  }
4908                }
4909              },
4910              "loc": {
4911                "start": {
4912                  "line": 1,
4913                  "column": 1
4914                },
4915                "end": {
4916                  "line": 1,
4917                  "column": 1
4918                }
4919              }
4920            },
4921            "overloads": [],
4922            "decorators": [],
4923            "loc": {
4924              "start": {
4925                "line": 1,
4926                "column": 1
4927              },
4928              "end": {
4929                "line": 1,
4930                "column": 1
4931              }
4932            }
4933          }
4934        ],
4935        "loc": {
4936          "start": {
4937            "line": 1,
4938            "column": 1
4939          },
4940          "end": {
4941            "line": 1,
4942            "column": 1
4943          }
4944        }
4945      },
4946      "loc": {
4947        "start": {
4948          "line": 1,
4949          "column": 1
4950        },
4951        "end": {
4952          "line": 1,
4953          "column": 1
4954        }
4955      }
4956    }
4957  ],
4958  "loc": {
4959    "start": {
4960      "line": 1,
4961      "column": 1
4962    },
4963    "end": {
4964      "line": 25,
4965      "column": 1
4966    }
4967  }
4968}
4969