/arkcompiler/ets_frontend/ts2panda/src/statement/ |
D | forOfStatement.ts | 33 private nextMethod: VReg; property in IteratorRecord 35 constructor(object: VReg, nextMethod: VReg, type: IteratorType = IteratorType.Normal) { 38 this.nextMethod = nextMethod; 50 return this.nextMethod; 110 export function getIteratorRecord(pandagen: PandaGen, node: ts.Node, nextMethod: VReg, object: VReg… 115 pandagen.storeAccumulator(node, nextMethod); 117 return new IteratorRecord(object, nextMethod, type);
|
/arkcompiler/ets_frontend/ts2panda/src/base/ |
D | iterator.ts | 29 private iterRecord: { iterator: VReg, nextMethod: VReg }; 37 constructor(iterRecord: {iterator: VReg, nextMethod: VReg}, iterDone: VReg, iterValue: VReg, 63 pandaGen.storeAccumulator(this.node, this.iterRecord.nextMethod); 67 return this.iterRecord.nextMethod; 72 this.pandaGen.storeAccumulator(this.node, this.iterRecord.nextMethod); 82 this.pandaGen.call(this.node, [this.iterRecord.nextMethod, this.iterRecord.iterator], true); 87 …this.pandaGen.call(this.node, [this.iterRecord.nextMethod, this.iterRecord.iterator, value], true);
|
/arkcompiler/ets_runtime/ecmascript/dfx/stackinfo/ |
D | js_stackgetter.cpp | 222 auto nextMethod = it.CheckAndGetMethod(); in GetNativeMethodCallPos() local 223 if (nextMethod == nullptr) { in GetNativeMethodCallPos() 228 if (!extraInfoValue.CheckIsJSNativePointer() && nextMethod->GetJSPandaFile() != nullptr) { in GetNativeMethodCallPos() 230 JSPandaFileManager::GetInstance()->GetJSPtExtractor(nextMethod->GetJSPandaFile()); in GetNativeMethodCallPos() 234 MethodLiteral *methodLiteral = nextMethod->GetMethodLiteral(); in GetNativeMethodCallPos()
|
/arkcompiler/ets_frontend/ts2panda/src/function/ |
D | asyncGeneratorFunctionBuilder.ts | 130 let nextMethod = pg.getTemp(); 134 let iter: Iterator = new Iterator({iterator: iterator, nextMethod: method}, done, value, pg, 145 pg.moveVreg(node, nextMethod, iter.method()); 160 pg.moveVreg(node, iter.method(), nextMethod); 264 pg.freeTemps(method, iterator, nextResult, value, done, nextMethod, exitReturn);
|
/arkcompiler/ets_runtime/ecmascript/ |
D | js_async_from_sync_iterator.cpp | 47 …JSHandle<JSTaggedValue> nextMethod = JSTaggedValue::GetProperty(thread, tmpAsyncIterator, nextStr)… in CreateAsyncFromSyncIterator() local 51 …ratorRecord> iteratorRecord = factory->NewAsyncIteratorRecord(tmpAsyncIterator, nextMethod, false); in CreateAsyncFromSyncIterator()
|
D | js_iterator.cpp | 91 …JSHandle<JSTaggedValue> nextMethod = JSTaggedValue::GetProperty(thread, syncIterator, nextStr).Get… in GetAsyncIterator() local 94 factory->NewAsyncIteratorRecord(syncIterator, nextMethod, false); in GetAsyncIterator()
|
/arkcompiler/ets_frontend/ts2panda/src/ |
D | compilerUtils.ts | 57 let nextMethod = pandaGen.getTemp(); 66 …let iterator = new Iterator({iterator: iter, nextMethod: nextMethod}, iterDone, iterValue, pandaGe… 71 pandaGen.freeTemps(iter, nextMethod, iterDone, iterValue, nextResult, exception); 196 pandaGen.freeTemps(iter, nextMethod, iterDone, iterValue, nextResult, exception);
|
/arkcompiler/ets_frontend/es2panda/compiler/function/ |
D | functionBuilder.cpp | 191 VReg nextMethod = pg_->AllocReg(); in YieldStar() local 198 pg_->MoveVreg(node, nextMethod, iterator.Method()); in YieldStar() 207 pg_->MoveVreg(node, iterator.Method(), nextMethod); in YieldStar()
|