Lines Matching refs:method

840     ["next", "throw", "return"].forEach(function (method) {
841 prototype[method] = function (arg) {
842 return this._invoke(method, arg);
874 function invoke(method, arg, resolve, reject) {
875 var record = tryCatch(generator[method], generator, arg);
902 function enqueue(method, arg) {
905 invoke(method, arg, resolve, reject);
932 return function invoke(method, arg) {
938 if (method === "throw") {
945 context.method = method;
960 if (context.method === "next") {
962 } else if (context.method === "throw") {
969 } else if (context.method === "return") {
989 context.method = "throw";
997 var method = delegate.iterator[context.method];
999 if (method === undefined) {
1002 if (context.method === "throw") {
1004 context.method = "return";
1008 if (context.method === "throw") {
1013 context.method = "throw";
1020 var record = tryCatch(method, delegate.iterator, context.arg);
1023 context.method = "throw";
1032 context.method = "throw";
1042 if (context.method !== "return") {
1043 context.method = "next";
1175 this.method = "next";
1211 context.method = "next";
1269 this.method = "next";
1285 this.method = "return";
1329 if (this.method === "next") {
5126 var method = proto[key];
5136 return method.call(this, a, b);
6620 var method = O[P];
6622 if (method === undefined) {
6626 return Call(method, O, args);
6646 var method = void 0;
6649 method = O[P];
6654 if (method === undefined) {
6659 return Promise.resolve(Call(method, O, args));
23269 var method = data[position];
23271 if (method === 1) {
23284 } else if (method === 2) {