Lines Matching refs:method
2780 ["next", "throw", "return"].forEach(function (method) {
2781 prototype[method] = function (arg) {
2782 return this._invoke(method, arg);
2814 function invoke(method, arg, resolve, reject) {
2815 var record = tryCatch(generator[method], generator, arg);
2842 function enqueue(method, arg) {
2845 invoke(method, arg, resolve, reject);
2872 return function invoke(method, arg) {
2878 if (method === "throw") {
2885 context.method = method;
2900 if (context.method === "next") {
2902 } else if (context.method === "throw") {
2909 } else if (context.method === "return") {
2929 context.method = "throw";
2937 var method = delegate.iterator[context.method];
2939 if (method === undefined) {
2942 if (context.method === "throw") {
2944 context.method = "return";
2948 if (context.method === "throw") {
2953 context.method = "throw";
2960 var record = tryCatch(method, delegate.iterator, context.arg);
2963 context.method = "throw";
2972 context.method = "throw";
2982 if (context.method !== "return") {
2983 context.method = "next";
3115 this.method = "next";
3151 context.method = "next";
3209 this.method = "next";
3225 this.method = "return";
3269 if (this.method === "next") {