Hugintrunk
0.1
|
function or unary operator on shunting yards operator stack More...
Public Member Functions | |
FunctionOperator (std::function< double(double)> func, int prec=-2, 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)> | m_function |
function or unary operator on shunting yards operator stack
Definition at line 188 of file ParseExp.cpp.
|
inline |
Definition at line 191 of file ParseExp.cpp.
|
inlinevirtual |
Reimplemented from Parser::ShuntingYard::Operators::OperatorBase.
Definition at line 192 of file ParseExp.cpp.
|
private |
Definition at line 192 of file ParseExp.cpp.