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