• Home
  • Raw
  • Download

Lines Matching refs:node

33     private node: ts.Node;  property in Iterator
38 … pandaGen: PandaGen, node: ts.Node, kind ? : IteratorType, funcBuilder ? : FunctionBuilder) {
43 this.node = node;
58 …nd === IteratorType.Normal ? pandaGen.getIterator(this.node) : pandaGen.getAsyncIterator(this.node
59 pandaGen.storeAccumulator(this.node, iterator);
62 pandaGen.loadObjProperty(this.node, iterator, "next");
63 pandaGen.storeAccumulator(this.node, this.iterRecord.nextMethod);
71 this.pandaGen.loadObjProperty(this.node, this.iterRecord.iterator, id);
72 this.pandaGen.storeAccumulator(this.node, this.iterRecord.nextMethod);
82 this.pandaGen.call(this.node, [this.iterRecord.nextMethod, this.iterRecord.iterator], true);
83 this.pandaGen.storeAccumulator(this.node, iterResult);
87 …this.pandaGen.call(this.node, [this.iterRecord.nextMethod, this.iterRecord.iterator, value], true);
91 this.pandaGen.loadObjProperty(this.node, iterResult, "done");
92 this.pandaGen.storeAccumulator(this.node, this.iterDone);
96 this.pandaGen.loadObjProperty(this.node, iterResult, "value");
97 this.pandaGen.storeAccumulator(this.node, this.iterValue);
103 pg.closeIterator(this.node, this.iterRecord.iterator);
122 pg.storeAccumulator(this.node, completion);
123 pg.storeConst(this.node, exception, CacheList.HOLE);
126 pg.label(this.node, tryBeginLabel);
134 pg.branchIfUndefined(this.node, noReturn);
137 (<AsyncGeneratorFunctionBuilder>this.funcBuilder).await(this.node);
138 pg.storeAccumulator(this.node, res);
140 pg.label(this.node, tryEndLabel);
141 pg.branch(this.node, catchEndLabel);
143 pg.label(this.node, catchBeginLabel);
144 pg.storeAccumulator(this.node, exception);
145 pg.label(this.node, catchEndLabel);
149 pg.loadAccumulator(this.node, getVregisterCache(pg, CacheList.HOLE));
150 pg.condition(this.node, ts.SyntaxKind.ExclamationEqualsToken, exception, skipThrow);
152 pg.label(this.node, doThrow);
153 pg.loadAccumulator(this.node, exception);
154 pg.throw(this.node);
156 pg.label(this.node, skipThrow);
158 pg.loadAccumulator(this.node, res);
159 pg.throwIfNotObject(this.node, res);
161 pg.label(this.node, noReturn);
162 pg.loadAccumulator(this.node, completion);