Lines Matching full:next

42     // The ._invoke method unifies the implementations of the .next,
109 // Helper for defining the .next, .throw, and .return methods of the
112 ["next", "throw", "return"].forEach(function(method) {
162 invoke("next", value, resolve, reject);
220 // Define the unified helper method that is used to implement .next,
241 : iter.next().then(function(result) {
242 return result.done ? result.value : iter.next();
277 if (context.method === "next") {
382 context.next = delegate.nextLoc;
386 // context.method was "next", forget context.arg since it has been
391 context.method = "next";
406 // Define Generator.prototype.{next,throw,return} in terms of the
463 // Rather than returning an object with a next method, we keep
464 // things simple and return the next function itself.
465 return function next() { function
469 next.value = key;
470 next.done = false;
471 return next;
476 // and .done properties off the next function object itself. This
478 next.done = true;
479 return next;
490 if (typeof iterable.next === "function") {
495 var i = -1, next = function next() { function
498 next.value = iterable[i];
499 next.done = false;
500 return next;
504 next.value = undefined;
505 next.done = true;
507 return next;
510 return next.next = next;
515 return { next: doneResult };
528 this.next = 0;
535 this.method = "next";
573 context.next = loc;
578 context.method = "next";
650 this.method = "next";
651 this.next = finallyEntry.finallyLoc;
665 this.next = record.arg;
669 this.next = "end";
671 this.next = afterLoc;
713 if (this.method === "next") {