Column-oriented GPU-accelerated Database Management System
CoGaDB
|
#include <Parser.h>
Public Member Functions | |
int | parse () |
Private Member Functions | |
void | error (char const *msg) |
int | lex () |
void | print () |
void | executeAction (int ruleNr) |
void | errorRecovery () |
int | lookup (bool recovery) |
void | nextToken () |
void Parser::error | ( | char const * | msg | ) | [inline, private] |
void Parser::errorRecovery | ( | ) | [private] |
References ParserBase::ABORT(), ParserBase::d_acceptedTokens__, ParserBase::d_nErrors__, ParserBase::d_requiredTokens__, ParserBase::d_state__, ParserBase::d_token__, error(), lookup(), nextToken(), ParserBase::pop__(), ParserBase::popToken__(), ParserBase::push__(), ParserBase::pushToken__(), ParserBase::reduce__(), and ParserBase::top__().
Referenced by parse().
void Parser::executeAction | ( | int | ruleNr | ) | [private] |
References ParserBase::d_token__, ParserBase::d_val__, ParserBase::d_vsp__, and ParserBase::pushToken__().
Referenced by parse().
int Parser::lex | ( | ) | [private] |
References ParserBase::d_val__, and ParserBase::NUM.
Referenced by nextToken().
int Parser::lookup | ( | bool | recovery | ) | [private] |
References ParserBase::d_state__, ParserBase::d_token__, and ParserBase::UNEXPECTED_TOKEN__.
Referenced by errorRecovery(), and parse().
void Parser::nextToken | ( | ) | [private] |
References ParserBase::d_acceptedTokens__, ParserBase::d_nextToken__, ParserBase::d_token__, lex(), ParserBase::popToken__(), and print().
Referenced by errorRecovery(), and parse().
int Parser::parse | ( | ) |
References ParserBase::ACCEPT(), ParserBase::clearin(), ParserBase::d_state__, errorRecovery(), executeAction(), lookup(), nextToken(), ParserBase::popToken__(), ParserBase::push__(), and ParserBase::reduce__().
void Parser::print | ( | ) | [inline, private] |