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