Searched refs:SourceView (Results 1 – 8 of 8) sorted by relevance
| /arkcompiler/ets_frontend/es2panda/lexer/ |
| D | lexer.h | 119 …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()
|
| D | keywordsUtil.cpp | 224 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()
|
| D | lexer.cpp | 141 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/ |
| D | lexer.h | 209 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()
|
| D | lexer.cpp | 141 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()
|
| D | keywordsUtil.cpp | 220 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()
|
| D | ETSLexer.cpp | 79 GetToken().src_ = SourceView(GetToken().Start().index, Iterator().Index()); in CheckNumberLiteralEnd()
|
| /arkcompiler/ets_frontend/ets2panda/parser/ |
| D | ETSparserExpressions.cpp | 170 …std::string value = Lexer()->SourceView(lexerPos.Index(), Lexer()->Save().Iterator().Index()).Mutf… in ParseFunctionParameterExpression()
|