top | up | prev | next

LexerFileTokenLexer Class

Definition at line 8 of LexerFileTokenLexer.hpp

Constructors

LexerFileTokenLexer(const char32_t* start_, const char32_t* end_, const std::string& fileName_, int fileIndex_)
LexerFileTokenLexer(const std::u32string& content_, const std::string& fileName_, int fileIndex_)

Member Functions

int GetTokenId(int statementIndex)
int NextState(int state, char32_t c) override

Constructor Details

LexerFileTokenLexer Constructor

LexerFileTokenLexer::LexerFileTokenLexer(const char32_t * start_, const char32_t * end_, const std::string& fileName_, int fileIndex_)

Definition at line 18 of LexerFileTokenLexer.cpp
Declaration at line 12 of LexerFileTokenLexer.hpp


LexerFileTokenLexer Constructor

LexerFileTokenLexer::LexerFileTokenLexer(const std::u32string& content_, const std::string& fileName_, int fileIndex_)

Definition at line 13 of LexerFileTokenLexer.cpp
Declaration at line 11 of LexerFileTokenLexer.hpp


Member Function Details

GetTokenId Member Function

int LexerFileTokenLexer::GetTokenId(int statementIndex)

Definition at line 33921 of LexerFileTokenLexer.cpp
Declaration at line 15 of LexerFileTokenLexer.hpp

Calls: soulng::lexer::Lexer::GetKeywordToken , soulng::lexer::Lexer::Retract

Called by: LexerFileTokenLexer::NextState


NextState Member Function

int LexerFileTokenLexer::NextState(int state, char32_t c) override

Definition at line 23 of LexerFileTokenLexer.cpp
Declaration at line 13 of LexerFileTokenLexer.hpp

Base class overridden functions: soulng::lexer::Lexer::NextState

Calls: LexerFileTokenLexer::GetTokenId


top | up | prev | next