• Home
  • Raw
  • Download

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 // pg.moveVreg(node, nextResult, this.resumeVal);
212 iter.callMethodwithValue(this.resumeVal);
214 this.await(node);
215 pg.throwIfNotObject(node, this.resumeVal);
217 iter.iteratorComplete(this.resumeVal);
220 pg.loadAccumulator(node, this.resumeVal);
222 iter.iteratorValue(this.resumeVal);
223 this.await(node);
225 pg.generatorYield(node, this.funcObj);
227 pg.asyncgeneratorresolve(node, this.funcObj, this.resumeVal, done);
229 this.resumeGenerator(node);
232 pg.condition(node, ts.SyntaxKind.EqualsEqualsToken, this.resumeType, loopStart);
234 pg.loadAccumulator(node, this.resumeVal);
235 pg.asyncFunctionAwaitUncaught(node, this.funcObj);
237 pg.suspendGenerator(node, this.funcObj);
238 this.resumeGenerator(node);
241 pg.condition(node, ts.SyntaxKind.EqualsEqualsToken, this.resumeType, returnCompletion);
250 iter.iteratorValue(this.resumeVal);
252 this.compiler.compileFinallyBeforeCFC(
258 this.directReturn(node);
261 iter.iteratorValue(this.resumeVal);
263 this.resumeVal = receivedValue;
269 let pg = this.pg;
276 pg.condition(node, ts.SyntaxKind.EqualsEqualsEqualsToken, this.resumeType, notRet);
279 pg.loadAccumulator(node, this.resumeVal);
280 pg.asyncFunctionAwaitUncaught(node, this.funcObj);
281 pg.suspendGenerator(node, this.funcObj);
282 this.resumeGenerator(node);
286 … pg.condition(node, ts.SyntaxKind.EqualsEqualsEqualsToken, this.resumeType, normalCompletion);
287 pg.loadAccumulator(node, this.resumeVal);
295 this.compiler.compileFinallyBeforeCFC(
300 pg.loadAccumulator(node, this.resumeVal);
301 this.directReturn(node);
306 pg.condition(node, ts.SyntaxKind.EqualsEqualsEqualsToken, this.resumeType, notThrow);
307 pg.loadAccumulator(node, this.resumeVal);
311 pg.loadAccumulator(node, this.resumeVal);
315 let pandaGen = this.pg;
317 pandaGen.getResumeMode(node, this.funcObj);
318 pandaGen.storeAccumulator(node, this.resumeType);
325 pandaGen.condition(node, ts.SyntaxKind.EqualsEqualsToken, this.resumeType, notThrowLabel);
326 pandaGen.loadAccumulator(node, this.resumeVal);
331 pandaGen.loadAccumulator(node, this.resumeVal);
335 let pandaGen = this.pg;
336 …pandaGen.asyncgeneratorresolve(node, this.funcObj, value, getVregisterCache(pandaGen, CacheList.Tr…
340 let pandaGen = this.pg;
341 pandaGen.label(node, this.endLabel);
343 pandaGen.storeAccumulator(node, this.resumeVal);
344 pandaGen.generatorComplete(node, this.funcObj);
345 pandaGen.loadAccumulator(node, this.resumeVal);
346 pandaGen.asyncgeneratorreject(node, this.funcObj); // exception is in acc
348 this.pg.freeTemps(this.funcObj, this.resumeVal, this.resumeType);
349 new CatchTable(pandaGen, this.endLabel, new LabelPair(this.beginLabel, this.endLabel));