top | up | prev | next

TextLexer Class

Definition at line 9 of TextLexer.hpp

Constructors

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

PP* pp

Constructor Details

TextLexer Constructor

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

Definition at line 17 of TextLexer.cpp :
  17 : soulng::lexer::Lexer(start_end_fileName_fileIndex_)
  18 pp()
  19 {
  20 }


Declaration at line 13 of TextLexer.hpp


TextLexer Constructor

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

Definition at line 12 of TextLexer.cpp :
  12 : soulng::lexer::Lexer(content_fileName_fileIndex_)
  13 pp()
  14 {
  15 }


Declaration at line 12 of TextLexer.hpp


Member Function Details

GetTokenId Member Function

int TextLexer::GetTokenId(int statementIndex)

Definition at line 5601 of TextLexer.cpp
Declaration at line 17 of TextLexer.hpp

Calls: sngcpp::pp::PP::Emit , sngcpp::pp::PP::IsKeywordToken

Called by: TextLexer::NextState


NextState Member Function

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

Definition at line 22 of TextLexer.cpp
Declaration at line 14 of TextLexer.hpp

Calls: TextLexer::GetTokenId


top | up | prev | next