top | up | prev | next

XPathLexer Class

Definition at line 9 of XPathLexer.hpp

Constructors

XPathLexer(const char32_t* start_, const char32_t* end_, const std::string& fileName_, int fileIndex_)
XPathLexer(const std::u32string& content_, const std::string& fileName_, int fileIndex_)

Member Functions

int GetTokenId(int statementIndex)
int NextState(int state, char32_t c) override

Constructor Details

XPathLexer Constructor

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

Definition at line 18 of XPathLexer.cpp :
  18 : soulng::lexer::Lexer(start_end_fileName_fileIndex_)
  19 {
  20     SetKeywordMap(XPathKeywords::GetKeywordMap());
  21 }


Declaration at line 13 of XPathLexer.hpp


XPathLexer Constructor

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

Definition at line 13 of XPathLexer.cpp :
  13 : soulng::lexer::Lexer(content_fileName_fileIndex_)
  14 {
  15     SetKeywordMap(XPathKeywords::GetKeywordMap());
  16 }


Declaration at line 12 of XPathLexer.hpp


Member Function Details

GetTokenId Member Function

int XPathLexer::GetTokenId(int statementIndex)

Definition at line 1188 of XPathLexer.cpp
Declaration at line 16 of XPathLexer.hpp

Calls: soulng::lexer::Lexer::Retract

Called by: XPathLexer::NextState


NextState Member Function

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

Definition at line 23 of XPathLexer.cpp
Declaration at line 14 of XPathLexer.hpp

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

Calls: XPathLexer::GetTokenId


top | up | prev | next