Searched refs:SourceView (Results 1 – 8 of 8) sorted by relevance
| /arkcompiler/ets_frontend/es2panda/lexer/ |
| D | lexer.h | 118 …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()
|
| 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 | 140 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/ |
| D | lexer.h | 187 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()
|
| 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 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()
|
| 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 | ETSparser.cpp | 3464 …std::string value = Lexer()->SourceView(lexerPos.Index(), Lexer()->Save().Iterator().Index()).Mutf… in ParseFunctionParameter()
|