top | up | prev | next

CppLexer Class

Definition at line 9 of CppLexer.hpp

Constructors

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

Constructor Details

CppLexer Constructor

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

Definition at line 19 of CppLexer.cpp :
   19 : soulng::lexer::Lexer(start_end_fileName_fileIndex_)
   20 langleCount()
   21 {
   22     SetKeywordMap(CppKeywords::GetKeywordMap());
   23 }


Declaration at line 13 of CppLexer.hpp


CppLexer Constructor

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

Definition at line 13 of CppLexer.cpp :
   13 : soulng::lexer::Lexer(content_fileName_fileIndex_)
   14 langleCount()
   15 {
   16     SetKeywordMap(CppKeywords::GetKeywordMap());
   17 }


Declaration at line 12 of CppLexer.hpp


Member Function Details

GetTokenId Member Function

int CppLexer::GetTokenId(int statementIndex)

Definition at line 21544 of CppLexer.cpp
Declaration at line 17 of CppLexer.hpp

Called by: CppLexer::NextState


NextState Member Function

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

Definition at line 25 of CppLexer.cpp
Declaration at line 14 of CppLexer.hpp

Calls: CppLexer::GetTokenId


top | up | prev | next