Home
last modified time | relevance | path

Searched refs:SourceView (Results 1 – 8 of 8) sorted by relevance

/arkcompiler/ets_frontend/es2panda/lexer/
Dlexer.h118 …util::StringView SourceView(const util::StringView::Iterator &begin, const util::StringView::Itera…
119 util::StringView SourceView(size_t begin, size_t end) const;
238 str.Append(SourceView(escapeEnd, Iterator().Index())); in ScanString()
256 str.Append(SourceView(escapeEnd, Iterator().Index())); in ScanString()
293 str.Append(SourceView(escapeEnd, Iterator().Index())); in ScanString()
296 GetToken().src_ = SourceView(startPos, Iterator().Index()); in ScanString()
DkeywordsUtil.cpp224 ident.Append(lexer_->SourceView(escapeEnd, Iterator().Index())); in ScanIdContinue()
249 ident.Append(lexer_->SourceView(escapeEnd, Iterator().Index())); in ScanIdContinue()
252 lexer_->GetToken().src_ = lexer_->SourceView(startPos, Iterator().Index()); in ScanIdContinue()
Dlexer.cpp140 util::StringView Lexer::SourceView(const util::StringView::Iterator &begin, const util::StringView:… in SourceView() function in panda::es2panda::lexer::Lexer
142 return SourceView(begin.Index(), end.Index()); in SourceView()
145 util::StringView Lexer::SourceView(size_t begin, size_t end) const in SourceView() function in panda::es2panda::lexer::Lexer
226 GetToken().src_ = SourceView(GetToken().Start().index, Iterator().Index()); in CheckNumberLiteralEnd()
343 util::StringView sv = SourceView(GetToken().Start().index, Iterator().Index()); in ConvertNumber()
1150 const auto pattern = SourceView(patternStart, Iterator().Index()); in ScanRegExp()
1157 const auto flags = SourceView(flagsStart, Iterator().Index()); in ScanRegExp()
/arkcompiler/ets_frontend/ets2panda/lexer/
Dlexer.h187 util::StringView SourceView(size_t begin, size_t end) const;
212 …util::StringView SourceView(const util::StringView::Iterator &begin, const util::StringView::Itera…
348 str.Append(SourceView(escapeEnd, Iterator().Index())); in ScanString()
366 str.Append(SourceView(escapeEnd, Iterator().Index())); in ScanString()
403 str.Append(SourceView(escapeEnd, Iterator().Index())); in ScanString()
406 GetToken().src_ = SourceView(startPos, Iterator().Index()); in ScanString()
Dlexer.cpp141 util::StringView Lexer::SourceView(const util::StringView::Iterator &begin, const util::StringView:… in SourceView() function in panda::es2panda::lexer::Lexer
143 return SourceView(begin.Index(), end.Index()); in SourceView()
146 util::StringView Lexer::SourceView(size_t begin, size_t end) const in SourceView() function in panda::es2panda::lexer::Lexer
227 GetToken().src_ = SourceView(GetToken().Start().index, Iterator().Index()); in CheckNumberLiteralEnd()
230 GetToken().src_ = SourceView(GetToken().Start().index, Iterator().Index()); in CheckNumberLiteralEnd()
373 util::StringView sv = SourceView(GetToken().Start().index, Iterator().Index()); in ScanNumber()
1118 const auto pattern = SourceView(patternStart, Iterator().Index()); in ScanRegExp()
1125 const auto flags = SourceView(flagsStart, Iterator().Index()); in ScanRegExp()
DkeywordsUtil.cpp220 ident.Append(lexer_->SourceView(escapeEnd, Iterator().Index())); in ScanIdContinue()
245 ident.Append(lexer_->SourceView(escapeEnd, Iterator().Index())); in ScanIdContinue()
248 lexer_->GetToken().src_ = lexer_->SourceView(startPos, Iterator().Index()); in ScanIdContinue()
DETSLexer.cpp79 GetToken().src_ = SourceView(GetToken().Start().index, Iterator().Index()); in CheckNumberLiteralEnd()
/arkcompiler/ets_frontend/ets2panda/parser/
DETSparser.cpp3464 …std::string value = Lexer()->SourceView(lexerPos.Index(), Lexer()->Save().Iterator().Index()).Mutf… in ParseFunctionParameter()