top | up | prev | next

ProjectFileLexer Class

Definition at line 9 of ProjectFileLexer.hpp

Constructors

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

std::string filePath

Constructor Details

ProjectFileLexer Constructor

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

Definition at line 19 of ProjectFileLexer.cpp :
  19 : soulng::lexer::Lexer(start_end_fileName_fileIndex_)
  20 filePath()
  21 {
  22     SetKeywordMap(ProjectFileKeywords::GetKeywordMap());
  23 }


Declaration at line 13 of ProjectFileLexer.hpp


ProjectFileLexer Constructor

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

Definition at line 13 of ProjectFileLexer.cpp :
  13 : soulng::lexer::Lexer(content_fileName_fileIndex_)
  14 filePath()
  15 {
  16     SetKeywordMap(ProjectFileKeywords::GetKeywordMap());
  17 }


Declaration at line 12 of ProjectFileLexer.hpp


Member Function Details

GetTokenId Member Function

int ProjectFileLexer::GetTokenId(int statementIndex)

Definition at line 1466 of ProjectFileLexer.cpp
Declaration at line 17 of ProjectFileLexer.hpp

Called by: ProjectFileLexer::NextState


NextState Member Function

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

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

Calls: ProjectFileLexer::GetTokenId


top | up | prev | next