top | up | prev | next

ContainerFileLexer Class

Definition at line 10 of ContainerFileLexer.hpp

Constructors

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

ContainerFileLexer Constructor

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

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


Declaration at line 14 of ContainerFileLexer.hpp


ContainerFileLexer Constructor

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

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


Declaration at line 13 of ContainerFileLexer.hpp


Member Function Details

GetTokenId Member Function

int ContainerFileLexer::GetTokenId(int statementIndex)

Definition at line 1519 of ContainerFileLexer.cpp
Declaration at line 18 of ContainerFileLexer.hpp

Calls: soulng::lexer::Lexer::GetKeywordToken , soulng::lexer::Lexer::Retract

Called by: ContainerFileLexer::NextState


NextState Member Function

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

Definition at line 25 of ContainerFileLexer.cpp
Declaration at line 15 of ContainerFileLexer.hpp

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

Calls: ContainerFileLexer::GetTokenId


top | up | prev | next