top | up | prev | next

ParserFileTokens 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 AMP
const int AMPAMP
const int ANDASSIGN
const int ANY
const int API
const int ARROW
const int ARROWSTAR
const int ASSIGN
const int AUTO
const int BITOR
const int BITXOR
const int BOOL
const int BREAK
const int CASE
const int CATCH
const int CHAR
const int CHARLIT
const int COLON
const int COLONCOLON
const int COMMA
const int CONST
const int CONSTCAST
const int CONTINUE
const int CPL
const int CPPPREFIX
const int DEFAULT
const int DELETE
const int DISJUNCTION
const int DIV
const int DIVASSIGN
const int DO
const int DOT
const int DOTSTAR
const int DOUBLE
const int DYNAMICCAST
const int ELLIPSIS
const int ELSE
const int EMPTY
const int END
const int EQ
const int EXCLAMATION
const int EXTERN
const int FALSE
const int FILEPATH
const int FLOAT
const int FLOATINGLIT
const int FOR
const int GEQ
const int GOTO
const int HASH
const int HPPPREFIX
const int ID
const int IF
const int INCLUDE
const int INT
const int INTLIT
const int LANGLE
const int LBRACE
const int LBRACKET
const int LEQ
const int LONG
const int LPAREN
const int MAIN
const int MINUS
const int MINUSASSIGN
const int MINUSMINUS
const int MULASSIGN
const int MUTABLE
const int NAMESPACE
const int NEQ
const int NEW
const int NULLPTR
const int OPERATOR
const int ORASSIGN
const int PARSER
const int PLUS
const int PLUSASSIGN
const int PLUSPLUS
const int PRODUCES
const int QUEST
const int RANGLE
const int RBRACE
const int RBRACKET
const int REGISTER
const int REINTERPRETCAST
const int REM
const int REMASSIGN
const int RETURN
const int RPAREN
const int RULEINFO
const int SEMICOLON
const int SHIFTLEFT
const int SHIFTLEFTASSIGN
const int SHIFTRIGHT
const int SHIFTRIGHTASSIGN
const int SHORT
const int SIGNED
const int SIZEOF
const int STAR
const int STATIC
const int STATICCAST
const int STRINGLIT
const int SWITCH
const int THIS
const int THROW
const int TRUE
const int TRY
const int TYPEDEF
const int TYPEID
const int UNSIGNED
const int USELEXER
const int USING
const int VAR
const int VOID
const int VOLATILE
const int WCHART
const int WHILE
const int XORASSIGN
Initializer initializer
std::map<std::u32string, int> tokenIdMap

Function Details

GetTokenId Function

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

Definition at line 132 of ParserFileTokens.cpp
Declaration at line 130 of ParserFileTokens.hpp


GetTokenInfo Function

const char * ParserFileTokens::GetTokenInfo(int tokenId)

Definition at line 394 of ParserFileTokens.cpp :
395 {
396     return tokenInfo[tokenId];
397 }


Declaration at line 132 of ParserFileTokens.hpp

Called by: ParserExpressionParser::PostCastExpression , ParserExpressionParser::PostfixExpression , ParserExpressionParser::UnaryExpression , ParserFileParser::Api , ParserFileParser::Grouping , ParserFileParser::LexerStatement , ParserFileParser::MainStatement , ParserFileParser::ParametersAndVariables , ParserFileParser::ParserDeclaration , ParserFileParser::RuleCall , ParserFileParser::RuleInfo , ParserFileParser::RuleInfoStatement , ParserFileParser::RuleStatement , ParserFileParser::UsingNamespaceDeclaration , ParserFileParser::UsingStatement , ParserStatementParser::BreakStatement , ParserStatementParser::CompoundStatement , ParserStatementParser::ContinueStatement , ParserStatementParser::DoStatement , ParserStatementParser::ExpressionStatement , ParserStatementParser::ForStatement , ParserStatementParser::GotoStatement , ParserStatementParser::Handler , ParserStatementParser::IfStatement , ParserStatementParser::LabeledStatement , ParserStatementParser::RangeForStatement , ParserStatementParser::ReturnStatement , ParserStatementParser::SwitchStatement , ParserStatementParser::WhileStatement


GetTokenName Function

const char * ParserFileTokens::GetTokenName(int tokenId)

Definition at line 267 of ParserFileTokens.cpp :
268 {
269     return tokenName[tokenId];
270 }


Declaration at line 131 of ParserFileTokens.hpp


InitTokenIdMap Function

void ParserFileTokens::InitTokenIdMap()

Definition at line 11 of ParserFileTokens.cpp
Declaration at line 129 of ParserFileTokens.hpp


top | up | prev | next