Hugintrunk
0.1
|
binary operator on stack on shunting yards operator stack More...
Public Member Functions | |
BinaryOperator (std::function< double(double, double)> func, int prec, bool rightAssoc=false) | |
RPNTokens::TokenBase * | GetTokenBase () |
Public Member Functions inherited from Parser::ShuntingYard::Operators::OperatorBase | |
OperatorBase (int prec, bool rightAssoc=false) | |
virtual | ~OperatorBase () |
const int | GetPrecedence () const |
const bool | IsRightAssociative () const |
bool | ComparePrecedence (const OperatorBase *other) |
Private Attributes | |
std::function< double(double, double)> | m_function |
binary operator on stack on shunting yards operator stack
Definition at line 198 of file ParseExp.cpp.
|
inline |
Definition at line 201 of file ParseExp.cpp.
|
inlinevirtual |
Reimplemented from Parser::ShuntingYard::Operators::OperatorBase.
Definition at line 202 of file ParseExp.cpp.
|
private |
Definition at line 202 of file ParseExp.cpp.