Lines Matching refs:iterator
259 private iterator: IteratorRecord;
263 …ompiler, pandaGen: PandaGen, forOfStmt: ts.ForOfStatement, doneReg: VReg, iterator: IteratorRecord,
269 this.iterator = iterator;
293 this.compileIteratorNext(stmt, pandaGen, this.iterator, resultReg);
328 pandaGen.loadObjProperty(this.stmt, this.iterator.getObject(), "return");
329 pandaGen.storeAccumulator(this.stmt, this.iterator.getNextMethod());
331 pandaGen.call(this.stmt, [this.iterator.getNextMethod(), this.iterator.getObject()], true);
332 if (this.iterator.getType() === IteratorType.Async) {
347 this.pandaGen.loadObjProperty(this.stmt, this.iterator.getObject(), "return");
348 this.pandaGen.storeAccumulator(this.stmt, this.iterator.getNextMethod());
350 … this.pandaGen.call(this.stmt, [this.iterator.getNextMethod(), this.iterator.getObject()], true);
360 …private compileIteratorNext(stmt: ts.ForOfStatement, pandagen: PandaGen, iterator: IteratorRecord,…
361 pandagen.call(stmt, [iterator.getNextMethod(), iterator.getObject()], true);
362 if (iterator.getType() === IteratorType.Async) {