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