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