top | up | prev | next

ParserFileLexer Class

Definition at line 8 of ParserFileLexer.hpp

Constructors

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

int leftAngleCount
bool parsingIncludeDeclaration

Constructor Details

ParserFileLexer Constructor

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

Definition at line 19 of ParserFileLexer.cpp :
   19 : soulng::lexer::Lexer(start_end_fileName_fileIndex_)
   20 leftAngleCount()parsingIncludeDeclaration()
   21 {
   22     SetKeywordMap(ParserFileKeywords::GetKeywordMap());
   23 }


Declaration at line 12 of ParserFileLexer.hpp


ParserFileLexer Constructor

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

Definition at line 13 of ParserFileLexer.cpp :
   13 : soulng::lexer::Lexer(content_fileName_fileIndex_)
   14 leftAngleCount()parsingIncludeDeclaration()
   15 {
   16     SetKeywordMap(ParserFileKeywords::GetKeywordMap());
   17 }


Declaration at line 11 of ParserFileLexer.hpp


Member Function Details

GetTokenId Member Function

int ParserFileLexer::GetTokenId(int statementIndex)

Definition at line 16918 of ParserFileLexer.cpp
Declaration at line 17 of ParserFileLexer.hpp

Called by: ParserFileLexer::NextState


NextState Member Function

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

Definition at line 25 of ParserFileLexer.cpp
Declaration at line 13 of ParserFileLexer.hpp

Calls: ParserFileLexer::GetTokenId


top | up | prev | next