top | up | prev | next

LexerFileTokens 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 ACTIONS
const int AMP
const int AMPAMP
const int ANDASSIGN
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 CLASSMAP
const int COLON
const int COLONCOLON
const int COMMA
const int CONST
const int CONSTCAST
const int CONTINUE
const int CPL
const int DEFAULT
const int DELETE
const int DISJUNCTION
const int DIV
const int DIVASSIGN
const int DO
const int DOLLAR
const int DOT
const int DOTSTAR
const int DOUBLE
const int DYNAMICCAST
const int ELLIPSIS
const int ELSE
const int END
const int EQ
const int EXCLAMATION
const int EXPRESSIONS
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 ID
const int IF
const int INCLUDE
const int INT
const int INTLIT
const int KEYWORDS
const int LANGLE
const int LBRACE
const int LBRACKET
const int LEQ
const int LEXER
const int LONG
const int LPAREN
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 PLUS
const int PLUSASSIGN
const int PLUSPLUS
const int PREFIX
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 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 TOKENS
const int TRUE
const int TRY
const int TYPEDEF
const int TYPEID
const int UNSIGNED
const int USING
const int VARIABLES
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 LexerFileTokens::GetTokenId(const std::u32string& tokenName)

Definition at line 131 of LexerFileTokens.cpp
Declaration at line 129 of LexerFileTokens.hpp


GetTokenInfo Function

const char * LexerFileTokens::GetTokenInfo(int tokenId)

Definition at line 391 of LexerFileTokens.cpp :
392 {
393     return tokenInfo[tokenId];
394 }


Declaration at line 131 of LexerFileTokens.hpp

Called by: LexerExpressionParser::PostCastExpression , LexerExpressionParser::PostfixExpression , LexerExpressionParser::PrimaryExpression , LexerExpressionParser::UnaryExpression , LexerFileParser::Action , LexerFileParser::Actions , LexerFileParser::Api , LexerFileParser::ClassMap , LexerFileParser::Expression , LexerFileParser::Expressions , LexerFileParser::Include , LexerFileParser::Keyword , LexerFileParser::Keywords , LexerFileParser::Lexer , LexerFileParser::Prefix , LexerFileParser::Token , LexerFileParser::Tokens , LexerFileParser::Variables , LexerStatementParser::BreakStatement , LexerStatementParser::CompoundStatement , LexerStatementParser::ContinueStatement , LexerStatementParser::DoStatement , LexerStatementParser::ExpressionStatement , LexerStatementParser::ForStatement , LexerStatementParser::GotoStatement , LexerStatementParser::Handler , LexerStatementParser::IfStatement , LexerStatementParser::LabeledStatement , LexerStatementParser::RangeForStatement , LexerStatementParser::ReturnStatement , LexerStatementParser::SwitchStatement , LexerStatementParser::WhileStatement


GetTokenName Function

const char * LexerFileTokens::GetTokenName(int tokenId)

Definition at line 265 of LexerFileTokens.cpp :
266 {
267     return tokenName[tokenId];
268 }


Declaration at line 130 of LexerFileTokens.hpp


InitTokenIdMap Function

void LexerFileTokens::InitTokenIdMap()

Definition at line 11 of LexerFileTokens.cpp
Declaration at line 128 of LexerFileTokens.hpp


top | up | prev | next