top | up | prev | next

RegExTokens Namespace

Classes

struct Initializer

Functions

int GetTokenId(const std::u32string& tokenName)
const char* GetTokenInfo(int tokenId)
const char* GetTokenName(int tokenId)
void InitTokenIdMap()

Variables

const int ALT
const int CHAR
const int DOT
const int END
const int ESCAPE
const int INVERSE
const int LBRACE
const int LBRACKET
const int LPAREN
const int MINUS
const int PLUS
const int QUEST
const int RBRACE
const int RBRACKET
const int RPAREN
const int STAR
Initializer initializer
std::map<std::u32string, int> tokenIdMap

Function Details

GetTokenId Function

int RegExTokens::GetTokenId(const std::u32string& tokenName)

Definition at line 30 of RegExTokens.cpp
Declaration at line 28 of RegExTokens.hpp


GetTokenInfo Function

const char * RegExTokens::GetTokenInfo(int tokenId)

Definition at line 88 of RegExTokens.cpp :
89 {
90     return tokenInfo[tokenId];
91 }


Declaration at line 30 of RegExTokens.hpp

Called by: RegExParser::Class , RegExParser::Primary


GetTokenName Function

const char * RegExTokens::GetTokenName(int tokenId)

Definition at line 63 of RegExTokens.cpp :
64 {
65     return tokenName[tokenId];
66 }


Declaration at line 29 of RegExTokens.hpp


InitTokenIdMap Function

void RegExTokens::InitTokenIdMap()

Definition at line 11 of RegExTokens.cpp
Declaration at line 27 of RegExTokens.hpp


top | up | prev | next