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