Hugintrunk
0.1
|
base class for operator on shunting yards operator stack More...
Public Member Functions | |
OperatorBase (int prec, bool rightAssoc=false) | |
virtual | ~OperatorBase () |
const int | GetPrecedence () const |
const bool | IsRightAssociative () const |
bool | ComparePrecedence (const OperatorBase *other) |
virtual RPNTokens::TokenBase * | GetTokenBase () |
Private Attributes | |
int | m_precedence |
bool | m_rightAssoc |
base class for operator on shunting yards operator stack
Definition at line 163 of file ParseExp.cpp.
|
inline |
Definition at line 166 of file ParseExp.cpp.
|
inlinevirtual |
Definition at line 167 of file ParseExp.cpp.
|
inline |
Definition at line 170 of file ParseExp.cpp.
References GetPrecedence(), and IsRightAssociative().
Referenced by Parser::ShuntingYard::ConvertToRPN().
|
inline |
Definition at line 168 of file ParseExp.cpp.
References m_precedence.
Referenced by ComparePrecedence().
|
inlinevirtual |
Reimplemented in Parser::ShuntingYard::Operators::IfOperator, Parser::ShuntingYard::Operators::BinaryOperator, and Parser::ShuntingYard::Operators::FunctionOperator.
Definition at line 181 of file ParseExp.cpp.
|
inline |
Definition at line 169 of file ParseExp.cpp.
References m_rightAssoc.
Referenced by ComparePrecedence().
|
private |
Definition at line 181 of file ParseExp.cpp.
Referenced by GetPrecedence().
|
private |
Definition at line 184 of file ParseExp.cpp.
Referenced by IsRightAssociative().