Lines Matching defs:Lexer
30 Lexer::Lexer(const parser::ParserContext *parserContext, bool startLexer)
41 char32_t Lexer::ScanUnicodeEscapeSequence()
61 char32_t Lexer::ScanUnicodeCodePointEscape()
92 ArenaAllocator *Lexer::Allocator()
97 Token &Lexer::GetToken()
102 const Token &Lexer::GetToken() const
107 size_t Lexer::Line() const
112 LexerPosition Lexer::Save() const
117 void Lexer::BackwardToken(TokenType type, size_t offset)
124 void Lexer::ForwardToken(TokenType type, size_t offset)
131 void Lexer::Rewind(const LexerPosition &pos)
136 char32_t Lexer::Lookahead()
141 util::StringView Lexer::SourceView(const util::StringView::Iterator &begin, const util::StringView::Iterator &end) const
146 util::StringView Lexer::SourceView(size_t begin, size_t end) const
151 void Lexer::SkipMultiLineComment()
181 void Lexer::SkipSingleLineComment()
206 [[noreturn]] void Lexer::ThrowUnexpectedToken(lexer::TokenType tokenType) const
213 [[noreturn]] void Lexer::ThrowError(std::string_view message) const
222 void Lexer::CheckNumberLiteralEnd()
238 void Lexer::ScanDecimalNumbers()
281 void Lexer::ConvertNumber(const std::string &utf8, [[maybe_unused]] NumberFlags flags)
294 void Lexer::ScanNumber(bool allowBigInt)
359 std::tuple<size_t, bool, NumberFlags> Lexer::ScanCharLex(bool allowBigInt, bool parseExponent, NumberFlags flags)
390 size_t Lexer::ScanSignOfNumber()
410 void Lexer::PushTemplateContext(TemplateLiteralParserContext *ctx)
415 void Lexer::ScanTemplateStringEnd()
423 LexerTemplateString Lexer::ScanTemplateString()
510 void Lexer::ResetTokenEnd()
518 void Lexer::ScanStringUnicodePart(util::UString *str)
525 char32_t Lexer::ScanUnicodeCharacter()
608 void Lexer::ScanQuestionPunctuator()
647 void Lexer::ScanLessThanPunctuator()
673 void Lexer::ScanGreaterThanPunctuator()
715 void Lexer::ScanEqualsPunctuator()
741 void Lexer::ScanExclamationPunctuator()
762 void Lexer::ScanAmpersandPunctuator()
795 void Lexer::ScanAtPunctuator()
805 void Lexer::ScanVLinePunctuator()
838 void Lexer::ScanCircumflexPunctuator()
854 void Lexer::ScanPlusPunctuator()
875 void Lexer::ScanMinusPunctuator()
896 void Lexer::ScanSlashPunctuator()
912 void Lexer::ScanDotPunctuator()
953 void Lexer::ScanAsteriskPunctuator()
979 void Lexer::ScanPercentPunctuator()
995 bool Lexer::IsLineTerminatorOrEos() const
1013 void Lexer::ScanRegExpPattern()
1060 RegExpFlags Lexer::ScanRegExpFlags()
1118 void Lexer::CheckOctal()
1131 RegExp Lexer::ScanRegExp()
1158 bool Lexer::CheckArrow()
1171 void Lexer::SetTokenStart()
1185 void Lexer::SetTokenEnd()
1190 void Lexer::SkipWhiteSpaces()
1262 void Lexer::ScanHashMark()
1267 void Lexer::ScanBackTick()
1274 void Lexer::NextToken(NextTokenFlags flags)
1280 void Lexer::ScanColonPunctuator()
1285 bool Lexer::ScanDollarPunctuator()
1291 void Lexer::NextToken(Keywords *kws)
1545 void Lexer::ScanNumberLeadingZeroImplNonAllowedCases()
1571 LexerPosition &Lexer::Pos()
1576 const LexerPosition &Lexer::Pos() const