top | up | prev | next

LexerFileTokenLexer Class

Definition at line 9 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

Member Variables

bool inBlockComment

Constructor Details

LexerFileTokenLexer Constructor

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

Definition at line 19 of LexerFileTokenLexer.cpp :
   19 : soulng::lexer::Lexer(start_end_fileName_fileIndex_)
   20 inBlockComment()
   21 {
   22     SetKeywordMap(LexerFileTokenLexerKeywords::GetKeywordMap());
   23 }


Declaration at line 13 of LexerFileTokenLexer.hpp


LexerFileTokenLexer Constructor

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

Definition at line 13 of LexerFileTokenLexer.cpp :
   13 : soulng::lexer::Lexer(content_fileName_fileIndex_)
   14 inBlockComment()
   15 {
   16     SetKeywordMap(LexerFileTokenLexerKeywords::GetKeywordMap());
   17 }


Declaration at line 12 of LexerFileTokenLexer.hpp


Member Function Details

GetTokenId Member Function

int LexerFileTokenLexer::GetTokenId(int statementIndex)

Definition at line 19341 of LexerFileTokenLexer.cpp
Declaration at line 17 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 25 of LexerFileTokenLexer.cpp
Declaration at line 14 of LexerFileTokenLexer.hpp

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

Calls: LexerFileTokenLexer::GetTokenId


top | up | prev | next