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