Lines Matching refs:method
112 ["next", "throw", "return"].forEach(function(method) { argument
113 prototype[method] = function(arg) {
114 return this._invoke(method, arg);
151 function invoke(method, arg, resolve, reject) { argument
152 var record = tryCatch(generator[method], generator, arg);
192 function enqueue(method, arg) { argument
195 invoke(method, arg, resolve, reject);
249 return function invoke(method, arg) { argument
255 if (method === "throw") {
264 context.method = method;
277 if (context.method === "next") {
282 } else if (context.method === "throw") {
290 } else if (context.method === "return") {
317 context.method = "throw";
329 var method = delegate.iterator[context.method];
330 if (method === undefined) {
335 if (context.method === "throw") {
339 context.method = "return";
343 if (context.method === "throw") {
350 context.method = "throw";
358 var record = tryCatch(method, delegate.iterator, context.arg);
361 context.method = "throw";
370 context.method = "throw";
390 if (context.method !== "return") {
391 context.method = "next";
535 this.method = "next";
578 context.method = "next";
650 this.method = "next";
668 this.method = "return";
713 if (this.method === "next") {