Home
last modified time | relevance | path

Searched refs:iterator_ (Results 1 - 10 of 10) sorted by relevance

/arkcompiler/ets_frontend/es2panda/compiler/core/
H A DdynamicContext.cpp111 : DynamicContext(pg, target), iterator_(iterator), catchTable_(pg->CreateCatchTable()) in IteratorContext()
114 pg_->SetLabel(iterator_.Node(), labelSet.TryBegin()); in IteratorContext()
120 const auto *node = iterator_.Node(); in ~IteratorContext()
126 iterator_.Close(true); in ~IteratorContext()
137 iterator_.Close(false); in AbortContext()
141 : DynamicContext(pg, {}), iterator_(iterator), catchTable_(pg->CreateCatchTable()) in DestructuringIteratorContext()
144 pg_->SetLabel(iterator_.Node(), labelSet.TryBegin());
150 const auto *node = iterator_.Node(); in ~DestructuringIteratorContext()
155 pg_->LoadAccumulator(node, iterator_.Done()); in ~DestructuringIteratorContext()
157 iterator_ in ~DestructuringIteratorContext()
[all...]
H A DdynamicContext.h138 return iterator_; in GetIterator()
150 const Iterator &iterator_; member in panda::es2panda::panda::es2panda::compiler::IteratorContext
168 return iterator_; in GetIterator()
179 const DestructuringIterator &iterator_; member in panda::es2panda::panda::es2panda::compiler::DestructuringIteratorContext
/arkcompiler/ets_frontend/ets2panda/compiler/base/
H A Diterators.cpp26 : pg_(pg), node_(node), method_(pg->AllocReg()), iterator_(pg->AllocReg()), nextResult_(pg->AllocReg()), type_(type) in Iterator()
34 pg_->StoreAccumulator(node, iterator_); in Iterator()
43 pg_->GetMethod(node_, iterator_, name); in GetMethod()
49 pg_->Call1This(node_, method_, iterator_, nextResult_); in CallMethodWithValue()
54 pg_->Call0This(node_, method_, iterator_); in CallMethod()
126 pg_->CloseIterator(node_, iterator_); in Close()
H A Diterators.h72 VReg iterator_; member in ark::es2panda::ark::es2panda::compiler::Iterator
/arkcompiler/ets_frontend/es2panda/compiler/base/
H A Diterators.cpp27 : pg_(pg), node_(node), closed_(pg->AllocReg()), method_(pg->AllocReg()), iterator_(pg->AllocReg()), in Iterator()
36 pg_->StoreAccumulator(node, iterator_); in Iterator()
37 pg_->LoadObjByName(node_, iterator_, "next"); in Iterator()
44 pg_->LoadObjByName(node_, iterator_, name); in GetMethod()
H A Diterators.h73 VReg iterator_; member in panda::es2panda::panda::es2panda::compiler::Iterator
/arkcompiler/ets_frontend/ets2panda/compiler/core/
H A DdynamicContext.cpp119 : DynamicContext(pg, target), iterator_(iterator), catchTable_(pg->CreateCatchTable()) in IteratorContext()
122 pg->SetLabel(iterator_.Node(), labelSet.TryBegin()); in IteratorContext()
128 const auto *node = iterator_.Node(); in ~IteratorContext()
134 iterator_.Close(true); in ~IteratorContext()
145 iterator_.Close(false); in AbortContext()
H A DdynamicContext.h152 return iterator_; in GetIterator()
164 const Iterator &iterator_; member in ark::es2panda::ark::es2panda::compiler::IteratorContext
/arkcompiler/ets_frontend/ets2panda/lexer/
H A Dlexer.h51 return iterator_; in Iterator()
56 return iterator_; in Iterator()
83 util::StringView::Iterator iterator_; member in ark::es2panda::ark::es2panda::lexer::LexerPosition
226 return pos_.iterator_; in Iterator()
231 return pos_.iterator_; in Iterator()
H A Dlexer.cpp28 LexerPosition::LexerPosition(const util::StringView &source) : iterator_(source) {} in LexerPosition()
120 pos_.iterator_.Reset(GetToken().End().index - offset); in BackwardToken()
127 pos_.iterator_.Forward(offset); in ForwardToken()
513 pos_.iterator_.Reset(GetToken().End().index); in ResetTokenEnd()

Completed in 8 milliseconds