Public Member Functions | |
unary_operator_expression (const std::string &op, expression_ptr arg) | |
virtual std::string | str () const |
Public Member Functions inherited from wfl::formula_expression | |
formula_expression (const std::string &name="") | |
virtual | ~formula_expression () |
variant | evaluate (const formula_callable &variables, formula_debugger *fdb=nullptr) const |
std::string | get_name () const |
Private Types | |
enum | OP { NOT , SUB } |
Private Member Functions | |
variant | execute (const formula_callable &variables, formula_debugger *fdb) const |
Private Attributes | |
OP | op_ |
std::string | op_str_ |
expression_ptr | operand_ |
Definition at line 404 of file formula.cpp.
|
private |
Enumerator | |
---|---|
NOT | |
SUB |
Definition at line 440 of file formula.cpp.
|
inline |
Definition at line 407 of file formula.cpp.
|
inlineprivatevirtual |
Implements wfl::formula_expression.
Definition at line 428 of file formula.cpp.
References wfl::add_debug_info(), wfl::variant::as_bool(), NOT, op_, op_str_, operand_, and SUB.
|
inlinevirtual |
Implements wfl::formula_expression.
Definition at line 420 of file formula.cpp.
|
private |
Definition at line 441 of file formula.cpp.
Referenced by execute(), and unary_operator_expression().
|
private |
Definition at line 442 of file formula.cpp.
|
private |
Definition at line 443 of file formula.cpp.