top | up | prev | next

ParserFileTokenLexer Class

Definition at line 8 of ParserFileTokenLexer.hpp

Constructors

ParserFileTokenLexer(const char32_t* start_, const char32_t* end_, const std::string& fileName_, int fileIndex_)
ParserFileTokenLexer(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

ParserFileTokenLexer Constructor

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

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


ParserFileTokenLexer Constructor

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

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


Member Function Details

GetTokenId Member Function

int ParserFileTokenLexer::GetTokenId(int statementIndex)

Definition at line 34772 of ParserFileTokenLexer.cpp
Declaration at line 15 of ParserFileTokenLexer.hpp

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

Called by: ParserFileTokenLexer::NextState


NextState Member Function

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

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

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

Calls: ParserFileTokenLexer::GetTokenId


top | up | prev | next