Home
last modified time | relevance | path

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

/arkcompiler/ets_frontend/es2panda/lexer/
Dlexer.h119 …util::StringView SourceView(const util::StringView::Iterator &begin, const util::StringView::Itera…
120 util::StringView SourceView(size_t begin, size_t end) const;
239 str.Append(SourceView(escapeEnd, Iterator().Index())); in ScanString()
257 str.Append(SourceView(escapeEnd, Iterator().Index())); in ScanString()
294 str.Append(SourceView(escapeEnd, Iterator().Index())); in ScanString()
297 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.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
241 GetToken().src_ = SourceView(GetToken().Start().index, Iterator().Index()); in CheckNumberLiteralEnd()
358 util::StringView sv = SourceView(GetToken().Start().index, Iterator().Index()); in ConvertNumber()
1177 const auto pattern = SourceView(patternStart, Iterator().Index()); in ScanRegExp()
1184 const auto flags = SourceView(flagsStart, Iterator().Index()); in ScanRegExp()
/arkcompiler/ets_frontend/ets2panda/lexer/
Dlexer.h209 util::StringView SourceView(size_t begin, size_t end) const;
234 …util::StringView SourceView(const util::StringView::Iterator &begin, const util::StringView::Itera…
373 str.Append(SourceView(escapeEnd, Iterator().Index())); in ScanString()
391 str.Append(SourceView(escapeEnd, Iterator().Index())); in ScanString()
428 str.Append(SourceView(escapeEnd, Iterator().Index())); in ScanString()
431 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 ark::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 ark::es2panda::lexer::Lexer
226 GetToken().src_ = SourceView(GetToken().Start().index, Iterator().Index()); in CheckNumberLiteralEnd()
229 GetToken().src_ = SourceView(GetToken().Start().index, Iterator().Index()); in CheckNumberLiteralEnd()
335 util::StringView sv = SourceView(GetToken().Start().index, Iterator().Index()); in ScanNumber()
1130 const auto pattern = SourceView(patternStart, Iterator().Index()); in ScanRegExp()
1137 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/
DETSparserExpressions.cpp170 …std::string value = Lexer()->SourceView(lexerPos.Index(), Lexer()->Save().Iterator().Index()).Mutf… in ParseFunctionParameterExpression()