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": 16,
13            "column": 14
14          },
15          "end": {
16            "line": 16,
17            "column": 18
18          }
19        }
20      },
21      "members": [
22        {
23          "type": "TSEnumMember",
24          "id": {
25            "type": "Identifier",
26            "name": "AAA",
27            "decorators": [],
28            "loc": {
29              "start": {
30                "line": 17,
31                "column": 5
32              },
33              "end": {
34                "line": 17,
35                "column": 8
36              }
37            }
38          },
39          "initializer": {
40            "type": "NumberLiteral",
41            "value": 0,
42            "loc": {
43              "start": {
44                "line": 1,
45                "column": 1
46              },
47              "end": {
48                "line": 1,
49                "column": 1
50              }
51            }
52          },
53          "loc": {
54            "start": {
55              "line": 17,
56              "column": 5
57            },
58            "end": {
59              "line": 17,
60              "column": 8
61            }
62          }
63        },
64        {
65          "type": "TSEnumMember",
66          "id": {
67            "type": "Identifier",
68            "name": "BBB",
69            "decorators": [],
70            "loc": {
71              "start": {
72                "line": 18,
73                "column": 5
74              },
75              "end": {
76                "line": 18,
77                "column": 8
78              }
79            }
80          },
81          "initializer": {
82            "type": "NumberLiteral",
83            "value": 1,
84            "loc": {
85              "start": {
86                "line": 1,
87                "column": 1
88              },
89              "end": {
90                "line": 1,
91                "column": 1
92              }
93            }
94          },
95          "loc": {
96            "start": {
97              "line": 18,
98              "column": 5
99            },
100            "end": {
101              "line": 18,
102              "column": 8
103            }
104          }
105        }
106      ],
107      "const": false,
108      "loc": {
109        "start": {
110          "line": 16,
111          "column": 9
112        },
113        "end": {
114          "line": 19,
115          "column": 2
116        }
117      }
118    },
119    {
120      "type": "ClassDeclaration",
121      "definition": {
122        "id": {
123          "type": "Identifier",
124          "name": "ETSGLOBAL",
125          "decorators": [],
126          "loc": {
127            "start": {
128              "line": 1,
129              "column": 1
130            },
131            "end": {
132              "line": 1,
133              "column": 1
134            }
135          }
136        },
137        "superClass": null,
138        "implements": [],
139        "body": [],
140        "loc": {
141          "start": {
142            "line": 1,
143            "column": 1
144          },
145          "end": {
146            "line": 1,
147            "column": 1
148          }
149        }
150      },
151      "loc": {
152        "start": {
153          "line": 1,
154          "column": 1
155        },
156        "end": {
157          "line": 1,
158          "column": 1
159        }
160      }
161    },
162    {
163      "type": "ClassDeclaration",
164      "definition": {
165        "id": {
166          "type": "Identifier",
167          "name": "#Enum",
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": "ClassProperty",
185            "key": {
186              "type": "Identifier",
187              "name": "ordinal",
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            "accessibility": "protected",
201            "static": false,
202            "readonly": false,
203            "declare": false,
204            "optional": false,
205            "computed": false,
206            "typeAnnotation": {
207              "type": "ETSPrimitiveType",
208              "loc": {
209                "start": {
210                  "line": 1,
211                  "column": 1
212                },
213                "end": {
214                  "line": 1,
215                  "column": 1
216                }
217              }
218            },
219            "definite": false,
220            "decorators": [],
221            "loc": {
222              "start": {
223                "line": 1,
224                "column": 1
225              },
226              "end": {
227                "line": 1,
228                "column": 1
229              }
230            }
231          },
232          {
233            "type": "MethodDefinition",
234            "key": {
235              "type": "Identifier",
236              "name": "<cctor>",
237              "decorators": [],
238              "loc": {
239                "start": {
240                  "line": 1,
241                  "column": 1
242                },
243                "end": {
244                  "line": 1,
245                  "column": 1
246                }
247              }
248            },
249            "kind": "method",
250            "accessibility": "public",
251            "static": true,
252            "optional": false,
253            "computed": false,
254            "value": {
255              "type": "FunctionExpression",
256              "function": {
257                "type": "ScriptFunction",
258                "id": {
259                  "type": "Identifier",
260                  "name": "<cctor>",
261                  "decorators": [],
262                  "loc": {
263                    "start": {
264                      "line": 1,
265                      "column": 1
266                    },
267                    "end": {
268                      "line": 1,
269                      "column": 1
270                    }
271                  }
272                },
273                "generator": false,
274                "async": false,
275                "expression": false,
276                "params": [],
277                "body": {
278                  "type": "BlockStatement",
279                  "statements": [],
280                  "loc": {
281                    "start": {
282                      "line": 1,
283                      "column": 1
284                    },
285                    "end": {
286                      "line": 1,
287                      "column": 1
288                    }
289                  }
290                },
291                "loc": {
292                  "start": {
293                    "line": 1,
294                    "column": 1
295                  },
296                  "end": {
297                    "line": 1,
298                    "column": 1
299                  }
300                }
301              },
302              "loc": {
303                "start": {
304                  "line": 1,
305                  "column": 1
306                },
307                "end": {
308                  "line": 1,
309                  "column": 1
310                }
311              }
312            },
313            "overloads": [],
314            "decorators": [],
315            "loc": {
316              "start": {
317                "line": 1,
318                "column": 1
319              },
320              "end": {
321                "line": 1,
322                "column": 1
323              }
324            }
325          },
326          {
327            "type": "MethodDefinition",
328            "key": {
329              "type": "Identifier",
330              "name": "constructor",
331              "decorators": [],
332              "loc": {
333                "start": {
334                  "line": 1,
335                  "column": 1
336                },
337                "end": {
338                  "line": 1,
339                  "column": 1
340                }
341              }
342            },
343            "kind": "constructor",
344            "accessibility": "public",
345            "static": false,
346            "optional": false,
347            "computed": false,
348            "value": {
349              "type": "FunctionExpression",
350              "function": {
351                "type": "ScriptFunction",
352                "id": {
353                  "type": "Identifier",
354                  "name": "constructor",
355                  "decorators": [],
356                  "loc": {
357                    "start": {
358                      "line": 1,
359                      "column": 1
360                    },
361                    "end": {
362                      "line": 1,
363                      "column": 1
364                    }
365                  }
366                },
367                "generator": false,
368                "async": false,
369                "expression": false,
370                "params": [
371                  {
372                    "type": "ETSParameterExpression",
373                    "name": {
374                      "type": "Identifier",
375                      "name": "ordinal",
376                      "typeAnnotation": {
377                        "type": "ETSPrimitiveType",
378                        "loc": {
379                          "start": {
380                            "line": 1,
381                            "column": 1
382                          },
383                          "end": {
384                            "line": 1,
385                            "column": 1
386                          }
387                        }
388                      },
389                      "decorators": [],
390                      "loc": {
391                        "start": {
392                          "line": 1,
393                          "column": 1
394                        },
395                        "end": {
396                          "line": 1,
397                          "column": 1
398                        }
399                      }
400                    },
401                    "loc": {
402                      "start": {
403                        "line": 1,
404                        "column": 1
405                      },
406                      "end": {
407                        "line": 1,
408                        "column": 1
409                      }
410                    }
411                  }
412                ],
413                "body": {
414                  "type": "BlockStatement",
415                  "statements": [
416                    {
417                      "type": "ExpressionStatement",
418                      "expression": {
419                        "type": "AssignmentExpression",
420                        "operator": "=",
421                        "left": {
422                          "type": "MemberExpression",
423                          "object": {
424                            "type": "ThisExpression",
425                            "loc": {
426                              "start": {
427                                "line": 1,
428                                "column": 1
429                              },
430                              "end": {
431                                "line": 1,
432                                "column": 1
433                              }
434                            }
435                          },
436                          "property": {
437                            "type": "Identifier",
438                            "name": "ordinal",
439                            "decorators": [],
440                            "loc": {
441                              "start": {
442                                "line": 1,
443                                "column": 1
444                              },
445                              "end": {
446                                "line": 1,
447                                "column": 1
448                              }
449                            }
450                          },
451                          "computed": false,
452                          "optional": false,
453                          "loc": {
454                            "start": {
455                              "line": 1,
456                              "column": 1
457                            },
458                            "end": {
459                              "line": 1,
460                              "column": 1
461                            }
462                          }
463                        },
464                        "right": {
465                          "type": "Identifier",
466                          "name": "ordinal",
467                          "decorators": [],
468                          "loc": {
469                            "start": {
470                              "line": 1,
471                              "column": 1
472                            },
473                            "end": {
474                              "line": 1,
475                              "column": 1
476                            }
477                          }
478                        },
479                        "loc": {
480                          "start": {
481                            "line": 1,
482                            "column": 1
483                          },
484                          "end": {
485                            "line": 1,
486                            "column": 1
487                          }
488                        }
489                      },
490                      "loc": {
491                        "start": {
492                          "line": 1,
493                          "column": 1
494                        },
495                        "end": {
496                          "line": 1,
497                          "column": 1
498                        }
499                      }
500                    }
501                  ],
502                  "loc": {
503                    "start": {
504                      "line": 1,
505                      "column": 1
506                    },
507                    "end": {
508                      "line": 1,
509                      "column": 1
510                    }
511                  }
512                },
513                "loc": {
514                  "start": {
515                    "line": 1,
516                    "column": 1
517                  },
518                  "end": {
519                    "line": 1,
520                    "column": 1
521                  }
522                }
523              },
524              "loc": {
525                "start": {
526                  "line": 1,
527                  "column": 1
528                },
529                "end": {
530                  "line": 1,
531                  "column": 1
532                }
533              }
534            },
535            "overloads": [],
536            "decorators": [],
537            "loc": {
538              "start": {
539                "line": 1,
540                "column": 1
541              },
542              "end": {
543                "line": 1,
544                "column": 1
545              }
546            }
547          },
548          {
549            "type": "ClassProperty",
550            "key": {
551              "type": "Identifier",
552              "name": "NamesArray",
553              "decorators": [],
554              "loc": {
555                "start": {
556                  "line": 1,
557                  "column": 1
558                },
559                "end": {
560                  "line": 1,
561                  "column": 1
562                }
563              }
564            },
565            "value": {
566              "type": "ArrayExpression",
567              "elements": [
568                {
569                  "type": "StringLiteral",
570                  "value": "AAA",
571                  "loc": {
572                    "start": {
573                      "line": 1,
574                      "column": 1
575                    },
576                    "end": {
577                      "line": 1,
578                      "column": 1
579                    }
580                  }
581                },
582                {
583                  "type": "StringLiteral",
584                  "value": "BBB",
585                  "loc": {
586                    "start": {
587                      "line": 1,
588                      "column": 1
589                    },
590                    "end": {
591                      "line": 1,
592                      "column": 1
593                    }
594                  }
595                }
596              ],
597              "loc": {
598                "start": {
599                  "line": 1,
600                  "column": 1
601                },
602                "end": {
603                  "line": 1,
604                  "column": 1
605                }
606              }
607            },
608            "accessibility": "protected",
609            "static": true,
610            "readonly": false,
611            "declare": false,
612            "optional": false,
613            "computed": false,
614            "typeAnnotation": {
615              "type": "TSArrayType",
616              "elementType": {
617                "type": "ETSTypeReference",
618                "part": {
619                  "type": "ETSTypeReferencePart",
620                  "name": {
621                    "type": "Identifier",
622                    "name": "String",
623                    "decorators": [],
624                    "loc": {
625                      "start": {
626                        "line": 1,
627                        "column": 1
628                      },
629                      "end": {
630                        "line": 1,
631                        "column": 1
632                      }
633                    }
634                  },
635                  "loc": {
636                    "start": {
637                      "line": 1,
638                      "column": 1
639                    },
640                    "end": {
641                      "line": 1,
642                      "column": 1
643                    }
644                  }
645                },
646                "loc": {
647                  "start": {
648                    "line": 1,
649                    "column": 1
650                  },
651                  "end": {
652                    "line": 1,
653                    "column": 1
654                  }
655                }
656              },
657              "loc": {
658                "start": {
659                  "line": 1,
660                  "column": 1
661                },
662                "end": {
663                  "line": 1,
664                  "column": 1
665                }
666              }
667            },
668            "definite": false,
669            "decorators": [],
670            "loc": {
671              "start": {
672                "line": 1,
673                "column": 1
674              },
675              "end": {
676                "line": 1,
677                "column": 1
678              }
679            }
680          },
681          {
682            "type": "ClassProperty",
683            "key": {
684              "type": "Identifier",
685              "name": "ValuesArray",
686              "decorators": [],
687              "loc": {
688                "start": {
689                  "line": 1,
690                  "column": 1
691                },
692                "end": {
693                  "line": 1,
694                  "column": 1
695                }
696              }
697            },
698            "value": {
699              "type": "ArrayExpression",
700              "elements": [
701                {
702                  "type": "NumberLiteral",
703                  "value": 0,
704                  "loc": {
705                    "start": {
706                      "line": 1,
707                      "column": 1
708                    },
709                    "end": {
710                      "line": 1,
711                      "column": 1
712                    }
713                  }
714                },
715                {
716                  "type": "NumberLiteral",
717                  "value": 1,
718                  "loc": {
719                    "start": {
720                      "line": 1,
721                      "column": 1
722                    },
723                    "end": {
724                      "line": 1,
725                      "column": 1
726                    }
727                  }
728                }
729              ],
730              "loc": {
731                "start": {
732                  "line": 1,
733                  "column": 1
734                },
735                "end": {
736                  "line": 1,
737                  "column": 1
738                }
739              }
740            },
741            "accessibility": "protected",
742            "static": true,
743            "readonly": false,
744            "declare": false,
745            "optional": false,
746            "computed": false,
747            "typeAnnotation": {
748              "type": "TSArrayType",
749              "elementType": {
750                "type": "ETSPrimitiveType",
751                "loc": {
752                  "start": {
753                    "line": 1,
754                    "column": 1
755                  },
756                  "end": {
757                    "line": 1,
758                    "column": 1
759                  }
760                }
761              },
762              "loc": {
763                "start": {
764                  "line": 1,
765                  "column": 1
766                },
767                "end": {
768                  "line": 1,
769                  "column": 1
770                }
771              }
772            },
773            "definite": false,
774            "decorators": [],
775            "loc": {
776              "start": {
777                "line": 1,
778                "column": 1
779              },
780              "end": {
781                "line": 1,
782                "column": 1
783              }
784            }
785          },
786          {
787            "type": "ClassProperty",
788            "key": {
789              "type": "Identifier",
790              "name": "StringValuesArray",
791              "decorators": [],
792              "loc": {
793                "start": {
794                  "line": 1,
795                  "column": 1
796                },
797                "end": {
798                  "line": 1,
799                  "column": 1
800                }
801              }
802            },
803            "value": {
804              "type": "ArrayExpression",
805              "elements": [
806                {
807                  "type": "StringLiteral",
808                  "value": "0",
809                  "loc": {
810                    "start": {
811                      "line": 1,
812                      "column": 1
813                    },
814                    "end": {
815                      "line": 1,
816                      "column": 1
817                    }
818                  }
819                },
820                {
821                  "type": "StringLiteral",
822                  "value": "1",
823                  "loc": {
824                    "start": {
825                      "line": 1,
826                      "column": 1
827                    },
828                    "end": {
829                      "line": 1,
830                      "column": 1
831                    }
832                  }
833                }
834              ],
835              "loc": {
836                "start": {
837                  "line": 1,
838                  "column": 1
839                },
840                "end": {
841                  "line": 1,
842                  "column": 1
843                }
844              }
845            },
846            "accessibility": "protected",
847            "static": true,
848            "readonly": false,
849            "declare": false,
850            "optional": false,
851            "computed": false,
852            "typeAnnotation": {
853              "type": "TSArrayType",
854              "elementType": {
855                "type": "ETSTypeReference",
856                "part": {
857                  "type": "ETSTypeReferencePart",
858                  "name": {
859                    "type": "Identifier",
860                    "name": "String",
861                    "decorators": [],
862                    "loc": {
863                      "start": {
864                        "line": 1,
865                        "column": 1
866                      },
867                      "end": {
868                        "line": 1,
869                        "column": 1
870                      }
871                    }
872                  },
873                  "loc": {
874                    "start": {
875                      "line": 1,
876                      "column": 1
877                    },
878                    "end": {
879                      "line": 1,
880                      "column": 1
881                    }
882                  }
883                },
884                "loc": {
885                  "start": {
886                    "line": 1,
887                    "column": 1
888                  },
889                  "end": {
890                    "line": 1,
891                    "column": 1
892                  }
893                }
894              },
895              "loc": {
896                "start": {
897                  "line": 1,
898                  "column": 1
899                },
900                "end": {
901                  "line": 1,
902                  "column": 1
903                }
904              }
905            },
906            "definite": false,
907            "decorators": [],
908            "loc": {
909              "start": {
910                "line": 1,
911                "column": 1
912              },
913              "end": {
914                "line": 1,
915                "column": 1
916              }
917            }
918          },
919          {
920            "type": "ClassProperty",
921            "key": {
922              "type": "Identifier",
923              "name": "ItemsArray",
924              "decorators": [],
925              "loc": {
926                "start": {
927                  "line": 1,
928                  "column": 1
929                },
930                "end": {
931                  "line": 1,
932                  "column": 1
933                }
934              }
935            },
936            "value": {
937              "type": "ArrayExpression",
938              "elements": [
939                {
940                  "type": "MemberExpression",
941                  "object": {
942                    "type": "Identifier",
943                    "name": "Enum",
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                  "property": {
957                    "type": "Identifier",
958                    "name": "AAA",
959                    "decorators": [],
960                    "loc": {
961                      "start": {
962                        "line": 1,
963                        "column": 1
964                      },
965                      "end": {
966                        "line": 1,
967                        "column": 1
968                      }
969                    }
970                  },
971                  "computed": false,
972                  "optional": false,
973                  "loc": {
974                    "start": {
975                      "line": 1,
976                      "column": 1
977                    },
978                    "end": {
979                      "line": 1,
980                      "column": 1
981                    }
982                  }
983                },
984                {
985                  "type": "MemberExpression",
986                  "object": {
987                    "type": "Identifier",
988                    "name": "Enum",
989                    "decorators": [],
990                    "loc": {
991                      "start": {
992                        "line": 1,
993                        "column": 1
994                      },
995                      "end": {
996                        "line": 1,
997                        "column": 1
998                      }
999                    }
1000                  },
1001                  "property": {
1002                    "type": "Identifier",
1003                    "name": "BBB",
1004                    "decorators": [],
1005                    "loc": {
1006                      "start": {
1007                        "line": 1,
1008                        "column": 1
1009                      },
1010                      "end": {
1011                        "line": 1,
1012                        "column": 1
1013                      }
1014                    }
1015                  },
1016                  "computed": false,
1017                  "optional": false,
1018                  "loc": {
1019                    "start": {
1020                      "line": 1,
1021                      "column": 1
1022                    },
1023                    "end": {
1024                      "line": 1,
1025                      "column": 1
1026                    }
1027                  }
1028                }
1029              ],
1030              "loc": {
1031                "start": {
1032                  "line": 1,
1033                  "column": 1
1034                },
1035                "end": {
1036                  "line": 1,
1037                  "column": 1
1038                }
1039              }
1040            },
1041            "accessibility": "protected",
1042            "static": true,
1043            "readonly": false,
1044            "declare": false,
1045            "optional": false,
1046            "computed": false,
1047            "typeAnnotation": {
1048              "type": "TSArrayType",
1049              "elementType": {
1050                "type": "ETSTypeReference",
1051                "part": {
1052                  "type": "ETSTypeReferencePart",
1053                  "name": {
1054                    "type": "Identifier",
1055                    "name": "Enum",
1056                    "decorators": [],
1057                    "loc": {
1058                      "start": {
1059                        "line": 1,
1060                        "column": 1
1061                      },
1062                      "end": {
1063                        "line": 1,
1064                        "column": 1
1065                      }
1066                    }
1067                  },
1068                  "loc": {
1069                    "start": {
1070                      "line": 1,
1071                      "column": 1
1072                    },
1073                    "end": {
1074                      "line": 1,
1075                      "column": 1
1076                    }
1077                  }
1078                },
1079                "loc": {
1080                  "start": {
1081                    "line": 1,
1082                    "column": 1
1083                  },
1084                  "end": {
1085                    "line": 1,
1086                    "column": 1
1087                  }
1088                }
1089              },
1090              "loc": {
1091                "start": {
1092                  "line": 1,
1093                  "column": 1
1094                },
1095                "end": {
1096                  "line": 1,
1097                  "column": 1
1098                }
1099              }
1100            },
1101            "definite": false,
1102            "decorators": [],
1103            "loc": {
1104              "start": {
1105                "line": 1,
1106                "column": 1
1107              },
1108              "end": {
1109                "line": 1,
1110                "column": 1
1111              }
1112            }
1113          },
1114          {
1115            "type": "ClassProperty",
1116            "key": {
1117              "type": "Identifier",
1118              "name": "BoxedItemsArray",
1119              "decorators": [],
1120              "loc": {
1121                "start": {
1122                  "line": 1,
1123                  "column": 1
1124                },
1125                "end": {
1126                  "line": 1,
1127                  "column": 1
1128                }
1129              }
1130            },
1131            "value": {
1132              "type": "ArrayExpression",
1133              "elements": [
1134                {
1135                  "type": "ETSNewClassInstanceExpression",
1136                  "typeReference": {
1137                    "type": "ETSTypeReference",
1138                    "part": {
1139                      "type": "ETSTypeReferencePart",
1140                      "name": {
1141                        "type": "Identifier",
1142                        "name": "#Enum",
1143                        "decorators": [],
1144                        "loc": {
1145                          "start": {
1146                            "line": 1,
1147                            "column": 1
1148                          },
1149                          "end": {
1150                            "line": 1,
1151                            "column": 1
1152                          }
1153                        }
1154                      },
1155                      "loc": {
1156                        "start": {
1157                          "line": 1,
1158                          "column": 1
1159                        },
1160                        "end": {
1161                          "line": 1,
1162                          "column": 1
1163                        }
1164                      }
1165                    },
1166                    "loc": {
1167                      "start": {
1168                        "line": 1,
1169                        "column": 1
1170                      },
1171                      "end": {
1172                        "line": 1,
1173                        "column": 1
1174                      }
1175                    }
1176                  },
1177                  "arguments": [
1178                    {
1179                      "type": "TSAsExpression",
1180                      "expression": {
1181                        "type": "MemberExpression",
1182                        "object": {
1183                          "type": "Identifier",
1184                          "name": "Enum",
1185                          "decorators": [],
1186                          "loc": {
1187                            "start": {
1188                              "line": 1,
1189                              "column": 1
1190                            },
1191                            "end": {
1192                              "line": 1,
1193                              "column": 1
1194                            }
1195                          }
1196                        },
1197                        "property": {
1198                          "type": "Identifier",
1199                          "name": "AAA",
1200                          "decorators": [],
1201                          "loc": {
1202                            "start": {
1203                              "line": 1,
1204                              "column": 1
1205                            },
1206                            "end": {
1207                              "line": 1,
1208                              "column": 1
1209                            }
1210                          }
1211                        },
1212                        "computed": false,
1213                        "optional": false,
1214                        "loc": {
1215                          "start": {
1216                            "line": 1,
1217                            "column": 1
1218                          },
1219                          "end": {
1220                            "line": 1,
1221                            "column": 1
1222                          }
1223                        }
1224                      },
1225                      "typeAnnotation": {
1226                        "type": "ETSPrimitiveType",
1227                        "loc": {
1228                          "start": {
1229                            "line": 1,
1230                            "column": 1
1231                          },
1232                          "end": {
1233                            "line": 1,
1234                            "column": 1
1235                          }
1236                        }
1237                      },
1238                      "loc": {
1239                        "start": {
1240                          "line": 1,
1241                          "column": 1
1242                        },
1243                        "end": {
1244                          "line": 1,
1245                          "column": 1
1246                        }
1247                      }
1248                    }
1249                  ],
1250                  "loc": {
1251                    "start": {
1252                      "line": 1,
1253                      "column": 1
1254                    },
1255                    "end": {
1256                      "line": 1,
1257                      "column": 1
1258                    }
1259                  }
1260                },
1261                {
1262                  "type": "ETSNewClassInstanceExpression",
1263                  "typeReference": {
1264                    "type": "ETSTypeReference",
1265                    "part": {
1266                      "type": "ETSTypeReferencePart",
1267                      "name": {
1268                        "type": "Identifier",
1269                        "name": "#Enum",
1270                        "decorators": [],
1271                        "loc": {
1272                          "start": {
1273                            "line": 1,
1274                            "column": 1
1275                          },
1276                          "end": {
1277                            "line": 1,
1278                            "column": 1
1279                          }
1280                        }
1281                      },
1282                      "loc": {
1283                        "start": {
1284                          "line": 1,
1285                          "column": 1
1286                        },
1287                        "end": {
1288                          "line": 1,
1289                          "column": 1
1290                        }
1291                      }
1292                    },
1293                    "loc": {
1294                      "start": {
1295                        "line": 1,
1296                        "column": 1
1297                      },
1298                      "end": {
1299                        "line": 1,
1300                        "column": 1
1301                      }
1302                    }
1303                  },
1304                  "arguments": [
1305                    {
1306                      "type": "TSAsExpression",
1307                      "expression": {
1308                        "type": "MemberExpression",
1309                        "object": {
1310                          "type": "Identifier",
1311                          "name": "Enum",
1312                          "decorators": [],
1313                          "loc": {
1314                            "start": {
1315                              "line": 1,
1316                              "column": 1
1317                            },
1318                            "end": {
1319                              "line": 1,
1320                              "column": 1
1321                            }
1322                          }
1323                        },
1324                        "property": {
1325                          "type": "Identifier",
1326                          "name": "BBB",
1327                          "decorators": [],
1328                          "loc": {
1329                            "start": {
1330                              "line": 1,
1331                              "column": 1
1332                            },
1333                            "end": {
1334                              "line": 1,
1335                              "column": 1
1336                            }
1337                          }
1338                        },
1339                        "computed": false,
1340                        "optional": false,
1341                        "loc": {
1342                          "start": {
1343                            "line": 1,
1344                            "column": 1
1345                          },
1346                          "end": {
1347                            "line": 1,
1348                            "column": 1
1349                          }
1350                        }
1351                      },
1352                      "typeAnnotation": {
1353                        "type": "ETSPrimitiveType",
1354                        "loc": {
1355                          "start": {
1356                            "line": 1,
1357                            "column": 1
1358                          },
1359                          "end": {
1360                            "line": 1,
1361                            "column": 1
1362                          }
1363                        }
1364                      },
1365                      "loc": {
1366                        "start": {
1367                          "line": 1,
1368                          "column": 1
1369                        },
1370                        "end": {
1371                          "line": 1,
1372                          "column": 1
1373                        }
1374                      }
1375                    }
1376                  ],
1377                  "loc": {
1378                    "start": {
1379                      "line": 1,
1380                      "column": 1
1381                    },
1382                    "end": {
1383                      "line": 1,
1384                      "column": 1
1385                    }
1386                  }
1387                }
1388              ],
1389              "loc": {
1390                "start": {
1391                  "line": 1,
1392                  "column": 1
1393                },
1394                "end": {
1395                  "line": 1,
1396                  "column": 1
1397                }
1398              }
1399            },
1400            "accessibility": "protected",
1401            "static": true,
1402            "readonly": false,
1403            "declare": false,
1404            "optional": false,
1405            "computed": false,
1406            "typeAnnotation": {
1407              "type": "TSArrayType",
1408              "elementType": {
1409                "type": "ETSTypeReference",
1410                "part": {
1411                  "type": "ETSTypeReferencePart",
1412                  "name": {
1413                    "type": "Identifier",
1414                    "name": "#Enum",
1415                    "decorators": [],
1416                    "loc": {
1417                      "start": {
1418                        "line": 1,
1419                        "column": 1
1420                      },
1421                      "end": {
1422                        "line": 1,
1423                        "column": 1
1424                      }
1425                    }
1426                  },
1427                  "loc": {
1428                    "start": {
1429                      "line": 1,
1430                      "column": 1
1431                    },
1432                    "end": {
1433                      "line": 1,
1434                      "column": 1
1435                    }
1436                  }
1437                },
1438                "loc": {
1439                  "start": {
1440                    "line": 1,
1441                    "column": 1
1442                  },
1443                  "end": {
1444                    "line": 1,
1445                    "column": 1
1446                  }
1447                }
1448              },
1449              "loc": {
1450                "start": {
1451                  "line": 1,
1452                  "column": 1
1453                },
1454                "end": {
1455                  "line": 1,
1456                  "column": 1
1457                }
1458              }
1459            },
1460            "definite": false,
1461            "decorators": [],
1462            "loc": {
1463              "start": {
1464                "line": 1,
1465                "column": 1
1466              },
1467              "end": {
1468                "line": 1,
1469                "column": 1
1470              }
1471            }
1472          },
1473          {
1474            "type": "MethodDefinition",
1475            "key": {
1476              "type": "Identifier",
1477              "name": "getName",
1478              "decorators": [],
1479              "loc": {
1480                "start": {
1481                  "line": 1,
1482                  "column": 1
1483                },
1484                "end": {
1485                  "line": 1,
1486                  "column": 1
1487                }
1488              }
1489            },
1490            "kind": "method",
1491            "accessibility": "public",
1492            "static": true,
1493            "optional": false,
1494            "computed": false,
1495            "value": {
1496              "type": "FunctionExpression",
1497              "function": {
1498                "type": "ScriptFunction",
1499                "id": {
1500                  "type": "Identifier",
1501                  "name": "getName",
1502                  "decorators": [],
1503                  "loc": {
1504                    "start": {
1505                      "line": 1,
1506                      "column": 1
1507                    },
1508                    "end": {
1509                      "line": 1,
1510                      "column": 1
1511                    }
1512                  }
1513                },
1514                "generator": false,
1515                "async": false,
1516                "expression": false,
1517                "params": [
1518                  {
1519                    "type": "ETSParameterExpression",
1520                    "name": {
1521                      "type": "Identifier",
1522                      "name": "ordinal",
1523                      "typeAnnotation": {
1524                        "type": "ETSTypeReference",
1525                        "part": {
1526                          "type": "ETSTypeReferencePart",
1527                          "name": {
1528                            "type": "Identifier",
1529                            "name": "Enum",
1530                            "decorators": [],
1531                            "loc": {
1532                              "start": {
1533                                "line": 1,
1534                                "column": 1
1535                              },
1536                              "end": {
1537                                "line": 1,
1538                                "column": 1
1539                              }
1540                            }
1541                          },
1542                          "loc": {
1543                            "start": {
1544                              "line": 1,
1545                              "column": 1
1546                            },
1547                            "end": {
1548                              "line": 1,
1549                              "column": 1
1550                            }
1551                          }
1552                        },
1553                        "loc": {
1554                          "start": {
1555                            "line": 1,
1556                            "column": 1
1557                          },
1558                          "end": {
1559                            "line": 1,
1560                            "column": 1
1561                          }
1562                        }
1563                      },
1564                      "decorators": [],
1565                      "loc": {
1566                        "start": {
1567                          "line": 1,
1568                          "column": 1
1569                        },
1570                        "end": {
1571                          "line": 1,
1572                          "column": 1
1573                        }
1574                      }
1575                    },
1576                    "loc": {
1577                      "start": {
1578                        "line": 1,
1579                        "column": 1
1580                      },
1581                      "end": {
1582                        "line": 1,
1583                        "column": 1
1584                      }
1585                    }
1586                  }
1587                ],
1588                "returnType": {
1589                  "type": "ETSTypeReference",
1590                  "part": {
1591                    "type": "ETSTypeReferencePart",
1592                    "name": {
1593                      "type": "Identifier",
1594                      "name": "String",
1595                      "decorators": [],
1596                      "loc": {
1597                        "start": {
1598                          "line": 1,
1599                          "column": 1
1600                        },
1601                        "end": {
1602                          "line": 1,
1603                          "column": 1
1604                        }
1605                      }
1606                    },
1607                    "loc": {
1608                      "start": {
1609                        "line": 1,
1610                        "column": 1
1611                      },
1612                      "end": {
1613                        "line": 1,
1614                        "column": 1
1615                      }
1616                    }
1617                  },
1618                  "loc": {
1619                    "start": {
1620                      "line": 1,
1621                      "column": 1
1622                    },
1623                    "end": {
1624                      "line": 1,
1625                      "column": 1
1626                    }
1627                  }
1628                },
1629                "declare": true,
1630                "loc": {
1631                  "start": {
1632                    "line": 1,
1633                    "column": 1
1634                  },
1635                  "end": {
1636                    "line": 1,
1637                    "column": 1
1638                  }
1639                }
1640              },
1641              "loc": {
1642                "start": {
1643                  "line": 1,
1644                  "column": 1
1645                },
1646                "end": {
1647                  "line": 1,
1648                  "column": 1
1649                }
1650              }
1651            },
1652            "overloads": [],
1653            "decorators": [],
1654            "loc": {
1655              "start": {
1656                "line": 1,
1657                "column": 1
1658              },
1659              "end": {
1660                "line": 1,
1661                "column": 1
1662              }
1663            }
1664          },
1665          {
1666            "type": "MethodDefinition",
1667            "key": {
1668              "type": "Identifier",
1669              "name": "getValueOf",
1670              "decorators": [],
1671              "loc": {
1672                "start": {
1673                  "line": 1,
1674                  "column": 1
1675                },
1676                "end": {
1677                  "line": 1,
1678                  "column": 1
1679                }
1680              }
1681            },
1682            "kind": "method",
1683            "accessibility": "public",
1684            "static": true,
1685            "optional": false,
1686            "computed": false,
1687            "value": {
1688              "type": "FunctionExpression",
1689              "function": {
1690                "type": "ScriptFunction",
1691                "id": {
1692                  "type": "Identifier",
1693                  "name": "getValueOf",
1694                  "decorators": [],
1695                  "loc": {
1696                    "start": {
1697                      "line": 1,
1698                      "column": 1
1699                    },
1700                    "end": {
1701                      "line": 1,
1702                      "column": 1
1703                    }
1704                  }
1705                },
1706                "generator": false,
1707                "async": false,
1708                "expression": false,
1709                "params": [
1710                  {
1711                    "type": "ETSParameterExpression",
1712                    "name": {
1713                      "type": "Identifier",
1714                      "name": "name",
1715                      "typeAnnotation": {
1716                        "type": "ETSTypeReference",
1717                        "part": {
1718                          "type": "ETSTypeReferencePart",
1719                          "name": {
1720                            "type": "Identifier",
1721                            "name": "String",
1722                            "decorators": [],
1723                            "loc": {
1724                              "start": {
1725                                "line": 1,
1726                                "column": 1
1727                              },
1728                              "end": {
1729                                "line": 1,
1730                                "column": 1
1731                              }
1732                            }
1733                          },
1734                          "loc": {
1735                            "start": {
1736                              "line": 1,
1737                              "column": 1
1738                            },
1739                            "end": {
1740                              "line": 1,
1741                              "column": 1
1742                            }
1743                          }
1744                        },
1745                        "loc": {
1746                          "start": {
1747                            "line": 1,
1748                            "column": 1
1749                          },
1750                          "end": {
1751                            "line": 1,
1752                            "column": 1
1753                          }
1754                        }
1755                      },
1756                      "decorators": [],
1757                      "loc": {
1758                        "start": {
1759                          "line": 1,
1760                          "column": 1
1761                        },
1762                        "end": {
1763                          "line": 1,
1764                          "column": 1
1765                        }
1766                      }
1767                    },
1768                    "loc": {
1769                      "start": {
1770                        "line": 1,
1771                        "column": 1
1772                      },
1773                      "end": {
1774                        "line": 1,
1775                        "column": 1
1776                      }
1777                    }
1778                  }
1779                ],
1780                "returnType": {
1781                  "type": "ETSTypeReference",
1782                  "part": {
1783                    "type": "ETSTypeReferencePart",
1784                    "name": {
1785                      "type": "Identifier",
1786                      "name": "Enum",
1787                      "decorators": [],
1788                      "loc": {
1789                        "start": {
1790                          "line": 1,
1791                          "column": 1
1792                        },
1793                        "end": {
1794                          "line": 1,
1795                          "column": 1
1796                        }
1797                      }
1798                    },
1799                    "loc": {
1800                      "start": {
1801                        "line": 1,
1802                        "column": 1
1803                      },
1804                      "end": {
1805                        "line": 1,
1806                        "column": 1
1807                      }
1808                    }
1809                  },
1810                  "loc": {
1811                    "start": {
1812                      "line": 1,
1813                      "column": 1
1814                    },
1815                    "end": {
1816                      "line": 1,
1817                      "column": 1
1818                    }
1819                  }
1820                },
1821                "declare": true
1822                "throwMarker": "throws",
1823                "loc": {
1824                  "start": {
1825                    "line": 1,
1826                    "column": 1
1827                  },
1828                  "end": {
1829                    "line": 1,
1830                    "column": 1
1831                  }
1832                }
1833              },
1834              "loc": {
1835                "start": {
1836                  "line": 1,
1837                  "column": 1
1838                },
1839                "end": {
1840                  "line": 1,
1841                  "column": 1
1842                }
1843              }
1844            },
1845            "overloads": [],
1846            "decorators": [],
1847            "loc": {
1848              "start": {
1849                "line": 1,
1850                "column": 1
1851              },
1852              "end": {
1853                "line": 1,
1854                "column": 1
1855              }
1856            }
1857          },
1858          {
1859            "type": "MethodDefinition",
1860            "key": {
1861              "type": "Identifier",
1862              "name": "valueOf",
1863              "decorators": [],
1864              "loc": {
1865                "start": {
1866                  "line": 1,
1867                  "column": 1
1868                },
1869                "end": {
1870                  "line": 1,
1871                  "column": 1
1872                }
1873              }
1874            },
1875            "kind": "method",
1876            "accessibility": "public",
1877            "static": true,
1878            "optional": false,
1879            "computed": false,
1880            "value": {
1881              "type": "FunctionExpression",
1882              "function": {
1883                "type": "ScriptFunction",
1884                "id": {
1885                  "type": "Identifier",
1886                  "name": "valueOf",
1887                  "decorators": [],
1888                  "loc": {
1889                    "start": {
1890                      "line": 1,
1891                      "column": 1
1892                    },
1893                    "end": {
1894                      "line": 1,
1895                      "column": 1
1896                    }
1897                  }
1898                },
1899                "generator": false,
1900                "async": false,
1901                "expression": false,
1902                "params": [
1903                  {
1904                    "type": "ETSParameterExpression",
1905                    "name": {
1906                      "type": "Identifier",
1907                      "name": "e",
1908                      "typeAnnotation": {
1909                        "type": "ETSTypeReference",
1910                        "part": {
1911                          "type": "ETSTypeReferencePart",
1912                          "name": {
1913                            "type": "Identifier",
1914                            "name": "Enum",
1915                            "decorators": [],
1916                            "loc": {
1917                              "start": {
1918                                "line": 1,
1919                                "column": 1
1920                              },
1921                              "end": {
1922                                "line": 1,
1923                                "column": 1
1924                              }
1925                            }
1926                          },
1927                          "loc": {
1928                            "start": {
1929                              "line": 1,
1930                              "column": 1
1931                            },
1932                            "end": {
1933                              "line": 1,
1934                              "column": 1
1935                            }
1936                          }
1937                        },
1938                        "loc": {
1939                          "start": {
1940                            "line": 1,
1941                            "column": 1
1942                          },
1943                          "end": {
1944                            "line": 1,
1945                            "column": 1
1946                          }
1947                        }
1948                      },
1949                      "decorators": [],
1950                      "loc": {
1951                        "start": {
1952                          "line": 1,
1953                          "column": 1
1954                        },
1955                        "end": {
1956                          "line": 1,
1957                          "column": 1
1958                        }
1959                      }
1960                    },
1961                    "loc": {
1962                      "start": {
1963                        "line": 1,
1964                        "column": 1
1965                      },
1966                      "end": {
1967                        "line": 1,
1968                        "column": 1
1969                      }
1970                    }
1971                  }
1972                ],
1973                "returnType": {
1974                  "type": "ETSPrimitiveType",
1975                  "loc": {
1976                    "start": {
1977                      "line": 1,
1978                      "column": 1
1979                    },
1980                    "end": {
1981                      "line": 1,
1982                      "column": 1
1983                    }
1984                  }
1985                },
1986                "declare": true,
1987                "loc": {
1988                  "start": {
1989                    "line": 1,
1990                    "column": 1
1991                  },
1992                  "end": {
1993                    "line": 1,
1994                    "column": 1
1995                  }
1996                }
1997              },
1998              "loc": {
1999                "start": {
2000                  "line": 1,
2001                  "column": 1
2002                },
2003                "end": {
2004                  "line": 1,
2005                  "column": 1
2006                }
2007              }
2008            },
2009            "overloads": [],
2010            "decorators": [],
2011            "loc": {
2012              "start": {
2013                "line": 1,
2014                "column": 1
2015              },
2016              "end": {
2017                "line": 1,
2018                "column": 1
2019              }
2020            }
2021          },
2022          {
2023            "type": "MethodDefinition",
2024            "key": {
2025              "type": "Identifier",
2026              "name": "toString",
2027              "decorators": [],
2028              "loc": {
2029                "start": {
2030                  "line": 1,
2031                  "column": 1
2032                },
2033                "end": {
2034                  "line": 1,
2035                  "column": 1
2036                }
2037              }
2038            },
2039            "kind": "method",
2040            "accessibility": "public",
2041            "static": true,
2042            "optional": false,
2043            "computed": false,
2044            "value": {
2045              "type": "FunctionExpression",
2046              "function": {
2047                "type": "ScriptFunction",
2048                "id": {
2049                  "type": "Identifier",
2050                  "name": "toString",
2051                  "decorators": [],
2052                  "loc": {
2053                    "start": {
2054                      "line": 1,
2055                      "column": 1
2056                    },
2057                    "end": {
2058                      "line": 1,
2059                      "column": 1
2060                    }
2061                  }
2062                },
2063                "generator": false,
2064                "async": false,
2065                "expression": false,
2066                "params": [
2067                  {
2068                    "type": "ETSParameterExpression",
2069                    "name": {
2070                      "type": "Identifier",
2071                      "name": "ordinal",
2072                      "typeAnnotation": {
2073                        "type": "ETSTypeReference",
2074                        "part": {
2075                          "type": "ETSTypeReferencePart",
2076                          "name": {
2077                            "type": "Identifier",
2078                            "name": "Enum",
2079                            "decorators": [],
2080                            "loc": {
2081                              "start": {
2082                                "line": 1,
2083                                "column": 1
2084                              },
2085                              "end": {
2086                                "line": 1,
2087                                "column": 1
2088                              }
2089                            }
2090                          },
2091                          "loc": {
2092                            "start": {
2093                              "line": 1,
2094                              "column": 1
2095                            },
2096                            "end": {
2097                              "line": 1,
2098                              "column": 1
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                      "decorators": [],
2114                      "loc": {
2115                        "start": {
2116                          "line": 1,
2117                          "column": 1
2118                        },
2119                        "end": {
2120                          "line": 1,
2121                          "column": 1
2122                        }
2123                      }
2124                    },
2125                    "loc": {
2126                      "start": {
2127                        "line": 1,
2128                        "column": 1
2129                      },
2130                      "end": {
2131                        "line": 1,
2132                        "column": 1
2133                      }
2134                    }
2135                  }
2136                ],
2137                "returnType": {
2138                  "type": "ETSTypeReference",
2139                  "part": {
2140                    "type": "ETSTypeReferencePart",
2141                    "name": {
2142                      "type": "Identifier",
2143                      "name": "String",
2144                      "decorators": [],
2145                      "loc": {
2146                        "start": {
2147                          "line": 1,
2148                          "column": 1
2149                        },
2150                        "end": {
2151                          "line": 1,
2152                          "column": 1
2153                        }
2154                      }
2155                    },
2156                    "loc": {
2157                      "start": {
2158                        "line": 1,
2159                        "column": 1
2160                      },
2161                      "end": {
2162                        "line": 1,
2163                        "column": 1
2164                      }
2165                    }
2166                  },
2167                  "loc": {
2168                    "start": {
2169                      "line": 1,
2170                      "column": 1
2171                    },
2172                    "end": {
2173                      "line": 1,
2174                      "column": 1
2175                    }
2176                  }
2177                },
2178                "declare": true,
2179                "loc": {
2180                  "start": {
2181                    "line": 1,
2182                    "column": 1
2183                  },
2184                  "end": {
2185                    "line": 1,
2186                    "column": 1
2187                  }
2188                }
2189              },
2190              "loc": {
2191                "start": {
2192                  "line": 1,
2193                  "column": 1
2194                },
2195                "end": {
2196                  "line": 1,
2197                  "column": 1
2198                }
2199              }
2200            },
2201            "overloads": [],
2202            "decorators": [],
2203            "loc": {
2204              "start": {
2205                "line": 1,
2206                "column": 1
2207              },
2208              "end": {
2209                "line": 1,
2210                "column": 1
2211              }
2212            }
2213          },
2214          {
2215            "type": "MethodDefinition",
2216            "key": {
2217              "type": "Identifier",
2218              "name": "values",
2219              "decorators": [],
2220              "loc": {
2221                "start": {
2222                  "line": 1,
2223                  "column": 1
2224                },
2225                "end": {
2226                  "line": 1,
2227                  "column": 1
2228                }
2229              }
2230            },
2231            "kind": "method",
2232            "accessibility": "public",
2233            "static": true,
2234            "optional": false,
2235            "computed": false,
2236            "value": {
2237              "type": "FunctionExpression",
2238              "function": {
2239                "type": "ScriptFunction",
2240                "id": {
2241                  "type": "Identifier",
2242                  "name": "values",
2243                  "decorators": [],
2244                  "loc": {
2245                    "start": {
2246                      "line": 1,
2247                      "column": 1
2248                    },
2249                    "end": {
2250                      "line": 1,
2251                      "column": 1
2252                    }
2253                  }
2254                },
2255                "generator": false,
2256                "async": false,
2257                "expression": false,
2258                "params": [],
2259                "returnType": {
2260                  "type": "TSArrayType",
2261                  "elementType": {
2262                    "type": "ETSTypeReference",
2263                    "part": {
2264                      "type": "ETSTypeReferencePart",
2265                      "name": {
2266                        "type": "Identifier",
2267                        "name": "Enum",
2268                        "decorators": [],
2269                        "loc": {
2270                          "start": {
2271                            "line": 1,
2272                            "column": 1
2273                          },
2274                          "end": {
2275                            "line": 1,
2276                            "column": 1
2277                          }
2278                        }
2279                      },
2280                      "loc": {
2281                        "start": {
2282                          "line": 1,
2283                          "column": 1
2284                        },
2285                        "end": {
2286                          "line": 1,
2287                          "column": 1
2288                        }
2289                      }
2290                    },
2291                    "loc": {
2292                      "start": {
2293                        "line": 1,
2294                        "column": 1
2295                      },
2296                      "end": {
2297                        "line": 1,
2298                        "column": 1
2299                      }
2300                    }
2301                  },
2302                  "loc": {
2303                    "start": {
2304                      "line": 1,
2305                      "column": 1
2306                    },
2307                    "end": {
2308                      "line": 1,
2309                      "column": 1
2310                    }
2311                  }
2312                },
2313                "declare": true,
2314                "loc": {
2315                  "start": {
2316                    "line": 1,
2317                    "column": 1
2318                  },
2319                  "end": {
2320                    "line": 1,
2321                    "column": 1
2322                  }
2323                }
2324              },
2325              "loc": {
2326                "start": {
2327                  "line": 1,
2328                  "column": 1
2329                },
2330                "end": {
2331                  "line": 1,
2332                  "column": 1
2333                }
2334              }
2335            },
2336            "overloads": [],
2337            "decorators": [],
2338            "loc": {
2339              "start": {
2340                "line": 1,
2341                "column": 1
2342              },
2343              "end": {
2344                "line": 1,
2345                "column": 1
2346              }
2347            }
2348          },
2349          {
2350            "type": "MethodDefinition",
2351            "key": {
2352              "type": "Identifier",
2353              "name": "fromInt",
2354              "decorators": [],
2355              "loc": {
2356                "start": {
2357                  "line": 1,
2358                  "column": 1
2359                },
2360                "end": {
2361                  "line": 1,
2362                  "column": 1
2363                }
2364              }
2365            },
2366            "kind": "method",
2367            "accessibility": "public",
2368            "static": true,
2369            "optional": false,
2370            "computed": false,
2371            "value": {
2372              "type": "FunctionExpression",
2373              "function": {
2374                "type": "ScriptFunction",
2375                "id": {
2376                  "type": "Identifier",
2377                  "name": "fromInt",
2378                  "decorators": [],
2379                  "loc": {
2380                    "start": {
2381                      "line": 1,
2382                      "column": 1
2383                    },
2384                    "end": {
2385                      "line": 1,
2386                      "column": 1
2387                    }
2388                  }
2389                },
2390                "generator": false,
2391                "async": false,
2392                "expression": false,
2393                "params": [
2394                  {
2395                    "type": "ETSParameterExpression",
2396                    "name": {
2397                      "type": "Identifier",
2398                      "name": "ordinal",
2399                      "typeAnnotation": {
2400                        "type": "ETSPrimitiveType",
2401                        "loc": {
2402                          "start": {
2403                            "line": 1,
2404                            "column": 1
2405                          },
2406                          "end": {
2407                            "line": 1,
2408                            "column": 1
2409                          }
2410                        }
2411                      },
2412                      "decorators": [],
2413                      "loc": {
2414                        "start": {
2415                          "line": 1,
2416                          "column": 1
2417                        },
2418                        "end": {
2419                          "line": 1,
2420                          "column": 1
2421                        }
2422                      }
2423                    },
2424                    "loc": {
2425                      "start": {
2426                        "line": 1,
2427                        "column": 1
2428                      },
2429                      "end": {
2430                        "line": 1,
2431                        "column": 1
2432                      }
2433                    }
2434                  }
2435                ],
2436                "returnType": {
2437                  "type": "ETSTypeReference",
2438                  "part": {
2439                    "type": "ETSTypeReferencePart",
2440                    "name": {
2441                      "type": "Identifier",
2442                      "name": "Enum",
2443                      "decorators": [],
2444                      "loc": {
2445                        "start": {
2446                          "line": 1,
2447                          "column": 1
2448                        },
2449                        "end": {
2450                          "line": 1,
2451                          "column": 1
2452                        }
2453                      }
2454                    },
2455                    "loc": {
2456                      "start": {
2457                        "line": 1,
2458                        "column": 1
2459                      },
2460                      "end": {
2461                        "line": 1,
2462                        "column": 1
2463                      }
2464                    }
2465                  },
2466                  "loc": {
2467                    "start": {
2468                      "line": 1,
2469                      "column": 1
2470                    },
2471                    "end": {
2472                      "line": 1,
2473                      "column": 1
2474                    }
2475                  }
2476                },
2477                "declare": true
2478                "throwMarker": "throws",
2479                "loc": {
2480                  "start": {
2481                    "line": 1,
2482                    "column": 1
2483                  },
2484                  "end": {
2485                    "line": 1,
2486                    "column": 1
2487                  }
2488                }
2489              },
2490              "loc": {
2491                "start": {
2492                  "line": 1,
2493                  "column": 1
2494                },
2495                "end": {
2496                  "line": 1,
2497                  "column": 1
2498                }
2499              }
2500            },
2501            "overloads": [],
2502            "decorators": [],
2503            "loc": {
2504              "start": {
2505                "line": 1,
2506                "column": 1
2507              },
2508              "end": {
2509                "line": 1,
2510                "column": 1
2511              }
2512            }
2513          },
2514          {
2515            "type": "MethodDefinition",
2516            "key": {
2517              "type": "Identifier",
2518              "name": "unbox",
2519              "decorators": [],
2520              "loc": {
2521                "start": {
2522                  "line": 1,
2523                  "column": 1
2524                },
2525                "end": {
2526                  "line": 1,
2527                  "column": 1
2528                }
2529              }
2530            },
2531            "kind": "method",
2532            "accessibility": "public",
2533            "static": false,
2534            "optional": false,
2535            "computed": false,
2536            "value": {
2537              "type": "FunctionExpression",
2538              "function": {
2539                "type": "ScriptFunction",
2540                "id": {
2541                  "type": "Identifier",
2542                  "name": "unbox",
2543                  "decorators": [],
2544                  "loc": {
2545                    "start": {
2546                      "line": 1,
2547                      "column": 1
2548                    },
2549                    "end": {
2550                      "line": 1,
2551                      "column": 1
2552                    }
2553                  }
2554                },
2555                "generator": false,
2556                "async": false,
2557                "expression": false,
2558                "params": [],
2559                "returnType": {
2560                  "type": "ETSTypeReference",
2561                  "part": {
2562                    "type": "ETSTypeReferencePart",
2563                    "name": {
2564                      "type": "Identifier",
2565                      "name": "Enum",
2566                      "decorators": [],
2567                      "loc": {
2568                        "start": {
2569                          "line": 1,
2570                          "column": 1
2571                        },
2572                        "end": {
2573                          "line": 1,
2574                          "column": 1
2575                        }
2576                      }
2577                    },
2578                    "loc": {
2579                      "start": {
2580                        "line": 1,
2581                        "column": 1
2582                      },
2583                      "end": {
2584                        "line": 1,
2585                        "column": 1
2586                      }
2587                    }
2588                  },
2589                  "loc": {
2590                    "start": {
2591                      "line": 1,
2592                      "column": 1
2593                    },
2594                    "end": {
2595                      "line": 1,
2596                      "column": 1
2597                    }
2598                  }
2599                },
2600                "declare": true,
2601                "loc": {
2602                  "start": {
2603                    "line": 1,
2604                    "column": 1
2605                  },
2606                  "end": {
2607                    "line": 1,
2608                    "column": 1
2609                  }
2610                }
2611              },
2612              "loc": {
2613                "start": {
2614                  "line": 1,
2615                  "column": 1
2616                },
2617                "end": {
2618                  "line": 1,
2619                  "column": 1
2620                }
2621              }
2622            },
2623            "overloads": [],
2624            "decorators": [],
2625            "loc": {
2626              "start": {
2627                "line": 1,
2628                "column": 1
2629              },
2630              "end": {
2631                "line": 1,
2632                "column": 1
2633              }
2634            }
2635          },
2636          {
2637            "type": "MethodDefinition",
2638            "key": {
2639              "type": "Identifier",
2640              "name": "boxedfromInt",
2641              "decorators": [],
2642              "loc": {
2643                "start": {
2644                  "line": 1,
2645                  "column": 1
2646                },
2647                "end": {
2648                  "line": 1,
2649                  "column": 1
2650                }
2651              }
2652            },
2653            "kind": "method",
2654            "accessibility": "public",
2655            "static": true,
2656            "optional": false,
2657            "computed": false,
2658            "value": {
2659              "type": "FunctionExpression",
2660              "function": {
2661                "type": "ScriptFunction",
2662                "id": {
2663                  "type": "Identifier",
2664                  "name": "boxedfromInt",
2665                  "decorators": [],
2666                  "loc": {
2667                    "start": {
2668                      "line": 1,
2669                      "column": 1
2670                    },
2671                    "end": {
2672                      "line": 1,
2673                      "column": 1
2674                    }
2675                  }
2676                },
2677                "generator": false,
2678                "async": false,
2679                "expression": false,
2680                "params": [
2681                  {
2682                    "type": "ETSParameterExpression",
2683                    "name": {
2684                      "type": "Identifier",
2685                      "name": "ordinal",
2686                      "typeAnnotation": {
2687                        "type": "ETSPrimitiveType",
2688                        "loc": {
2689                          "start": {
2690                            "line": 1,
2691                            "column": 1
2692                          },
2693                          "end": {
2694                            "line": 1,
2695                            "column": 1
2696                          }
2697                        }
2698                      },
2699                      "decorators": [],
2700                      "loc": {
2701                        "start": {
2702                          "line": 1,
2703                          "column": 1
2704                        },
2705                        "end": {
2706                          "line": 1,
2707                          "column": 1
2708                        }
2709                      }
2710                    },
2711                    "loc": {
2712                      "start": {
2713                        "line": 1,
2714                        "column": 1
2715                      },
2716                      "end": {
2717                        "line": 1,
2718                        "column": 1
2719                      }
2720                    }
2721                  }
2722                ],
2723                "returnType": {
2724                  "type": "ETSTypeReference",
2725                  "part": {
2726                    "type": "ETSTypeReferencePart",
2727                    "name": {
2728                      "type": "Identifier",
2729                      "name": "#Enum",
2730                      "decorators": [],
2731                      "loc": {
2732                        "start": {
2733                          "line": 1,
2734                          "column": 1
2735                        },
2736                        "end": {
2737                          "line": 1,
2738                          "column": 1
2739                        }
2740                      }
2741                    },
2742                    "loc": {
2743                      "start": {
2744                        "line": 1,
2745                        "column": 1
2746                      },
2747                      "end": {
2748                        "line": 1,
2749                        "column": 1
2750                      }
2751                    }
2752                  },
2753                  "loc": {
2754                    "start": {
2755                      "line": 1,
2756                      "column": 1
2757                    },
2758                    "end": {
2759                      "line": 1,
2760                      "column": 1
2761                    }
2762                  }
2763                },
2764                "declare": true
2765                "throwMarker": "throws",
2766                "loc": {
2767                  "start": {
2768                    "line": 1,
2769                    "column": 1
2770                  },
2771                  "end": {
2772                    "line": 1,
2773                    "column": 1
2774                  }
2775                }
2776              },
2777              "loc": {
2778                "start": {
2779                  "line": 1,
2780                  "column": 1
2781                },
2782                "end": {
2783                  "line": 1,
2784                  "column": 1
2785                }
2786              }
2787            },
2788            "overloads": [],
2789            "decorators": [],
2790            "loc": {
2791              "start": {
2792                "line": 1,
2793                "column": 1
2794              },
2795              "end": {
2796                "line": 1,
2797                "column": 1
2798              }
2799            }
2800          }
2801        ],
2802        "loc": {
2803          "start": {
2804            "line": 1,
2805            "column": 1
2806          },
2807          "end": {
2808            "line": 1,
2809            "column": 1
2810          }
2811        }
2812      },
2813      "loc": {
2814        "start": {
2815          "line": 1,
2816          "column": 1
2817        },
2818        "end": {
2819          "line": 1,
2820          "column": 1
2821        }
2822      }
2823    }
2824  ],
2825  "loc": {
2826    "start": {
2827      "line": 1,
2828      "column": 1
2829    },
2830    "end": {
2831      "line": 20,
2832      "column": 1
2833    }
2834  }
2835}
2836