Lines Matching full:this
4 * you may not use this file except in compliance with the License.
50 this.funcObj = pandaGen.getTemp();
51 this.resumeVal = pandaGen.getTemp();
52 this.resumeType = pandaGen.getTemp();
53 this.beginLabel = new Label();
54 this.endLabel = new Label();
55 this.compiler = compiler;
59 let pg = this.pg;
63 pg.storeAccumulator(node, this.funcObj);
65 pg.label(node, this.beginLabel);
67 pg.suspendGenerator(node, this.funcObj);
68 pg.resumeGenerator(node, this.funcObj);
69 pg.storeAccumulator(node, this.resumeVal);
74 this.functionAwait(node);
75 this.handleMode(node);
79 let pg = this.pg;
80 pg.storeAccumulator(node, this.resumeVal);
81 pg.generatorComplete(node, this.funcObj);
82 …pg.asyncgeneratorresolve(node, this.funcObj, this.resumeVal, getVregisterCache(pg, CacheList.TRUE)…
87 let pg = this.pg;
89 pg.asyncFunctionAwaitUncaught(node, this.funcObj);
90 pg.suspendGenerator(node, this.funcObj);
91 this.resumeGenerator(node);
93 pg.generatorComplete(node, this.funcObj);
94 …pg.asyncgeneratorresolve(node, this.funcObj, this.resumeVal, getVregisterCache(pg, CacheList.TRUE)…
99 this.pg.loadAccumulator(node, getVregisterCache(this.pg, CacheList.UNDEFINED));
100 this.directReturn(node);
104 let pg = this.pg;
108 this.await(node);
109 pg.storeAccumulator(node, this.resumeVal);
112 pg.generatorYield(node, this.funcObj);
117 …pg.asyncgeneratorresolve(node, this.funcObj, this.resumeVal, getVregisterCache(pg, CacheList.FALSE…
118 this.resumeGenerator(node);
120 this.handleAsyncYieldResume(node);
124 let pg = this.pg;
135 node, IteratorType.Async, this);
138 let receivedValue = this.resumeVal;
139 this.resumeVal = nextResult;
142 pg.storeConst(node, this.resumeVal, CacheList.UNDEFINED);
144 pg.storeAccumulator(node, this.resumeType);
159 pg.condition(node, ts.SyntaxKind.EqualsEqualsEqualsToken, this.resumeType, throwCompletion);
166 … pg.condition(node, ts.SyntaxKind.EqualsEqualsEqualsToken, this.resumeType, returnCompletion);
175 …// 1. NOTE: If iterator does not have a throw method, this throw is going to terminate the yield* …
196 this.compiler.compileFinallyBeforeCFC(
202 pg.loadAccumulator(node, this.resumeVal);
203 this.await(node);
205 this.directReturn(node);
211 iter.callMethodwithValue(this.resumeVal);
213 this.await(node);
214 pg.throwIfNotObject(node, this.resumeVal);
216 iter.iteratorComplete(this.resumeVal);
219 pg.loadAccumulator(node, this.resumeVal);
221 iter.iteratorValue(this.resumeVal);
222 this.await(node);
224 pg.generatorYield(node, this.funcObj);
226 pg.asyncgeneratorresolve(node, this.funcObj, this.resumeVal, done);
228 this.resumeGenerator(node);
231 pg.condition(node, ts.SyntaxKind.EqualsEqualsToken, this.resumeType, loopStart);
233 pg.loadAccumulator(node, this.resumeVal);
234 pg.asyncFunctionAwaitUncaught(node, this.funcObj);
236 pg.suspendGenerator(node, this.funcObj);
237 this.resumeGenerator(node);
240 pg.condition(node, ts.SyntaxKind.EqualsEqualsToken, this.resumeType, returnCompletion);
249 iter.iteratorValue(this.resumeVal);
251 this.compiler.compileFinallyBeforeCFC(
257 this.directReturn(node);
260 iter.iteratorValue(this.resumeVal);
262 this.resumeVal = receivedValue;
268 let pg = this.pg;
275 pg.condition(node, ts.SyntaxKind.EqualsEqualsEqualsToken, this.resumeType, notRet);
278 pg.loadAccumulator(node, this.resumeVal);
279 pg.asyncFunctionAwaitUncaught(node, this.funcObj);
280 pg.suspendGenerator(node, this.funcObj);
281 this.resumeGenerator(node);
285 … pg.condition(node, ts.SyntaxKind.EqualsEqualsEqualsToken, this.resumeType, normalCompletion);
286 pg.loadAccumulator(node, this.resumeVal);
294 this.compiler.compileFinallyBeforeCFC(
299 pg.loadAccumulator(node, this.resumeVal);
300 this.directReturn(node);
305 pg.condition(node, ts.SyntaxKind.EqualsEqualsEqualsToken, this.resumeType, notThrow);
306 pg.loadAccumulator(node, this.resumeVal);
310 pg.loadAccumulator(node, this.resumeVal);
314 let pandaGen = this.pg;
316 pandaGen.getResumeMode(node, this.funcObj);
317 pandaGen.storeAccumulator(node, this.resumeType);
324 pandaGen.condition(node, ts.SyntaxKind.EqualsEqualsToken, this.resumeType, notThrowLabel);
325 pandaGen.loadAccumulator(node, this.resumeVal);
330 pandaGen.loadAccumulator(node, this.resumeVal);
334 let pandaGen = this.pg;
335 …pandaGen.asyncgeneratorresolve(node, this.funcObj, value, getVregisterCache(pandaGen, CacheList.TR…
339 let pandaGen = this.pg;
340 pandaGen.label(node, this.endLabel);
342 pandaGen.storeAccumulator(node, this.resumeVal);
343 pandaGen.generatorComplete(node, this.funcObj);
344 pandaGen.loadAccumulator(node, this.resumeVal);
345 pandaGen.asyncgeneratorreject(node, this.funcObj); // exception is in acc
347 this.pg.freeTemps(this.funcObj, this.resumeVal, this.resumeType);
348 new CatchTable(pandaGen, this.endLabel, new LabelPair(this.beginLabel, this.endLabel));