#include <function.hpp>
Public Member Functions | |
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 |
virtual std::string | str () const =0 |
Private Member Functions | |
virtual variant | execute (const formula_callable &variables, formula_debugger *fdb=nullptr) const =0 |
Private Attributes | |
const std::string | name_ |
Friends | |
class | formula_debugger |
Definition at line 63 of file function.hpp.
|
inlineexplicit |
Definition at line 66 of file function.hpp.
|
inlinevirtual |
Definition at line 71 of file function.hpp.
|
inline |
Definition at line 75 of file function.hpp.
References wfl::evaluate_arg_callback(), execute(), and name_.
Referenced by wfl::builtins::DEFINE_WFL_FUNCTION().
|
privatepure virtual |
Implemented in wfl::wrapper_formula, wfl::formula_function_expression, wfl::string_expression, wfl::where_expression, wfl::operator_expression, wfl::square_bracket_expression, wfl::dot_expression, wfl::unary_operator_expression, wfl::map_expression, wfl::list_expression, wfl::identifier_expression, wfl::decimal_expression, wfl::integer_expression, wfl::function_list_expression, and wfl::null_expression.
Referenced by evaluate(), and wfl::formula_debugger::evaluate_arg_callback().
|
inline |
Definition at line 86 of file function.hpp.
References name_.
|
pure virtual |
Implemented in wfl::wrapper_formula, wfl::function_expression, wfl::string_expression, wfl::decimal_expression, wfl::integer_expression, wfl::identifier_expression, wfl::where_expression, wfl::operator_expression, wfl::square_bracket_expression, wfl::dot_expression, wfl::unary_operator_expression, wfl::map_expression, wfl::list_expression, wfl::function_list_expression, and wfl::null_expression.
Referenced by wfl::formula_debugger::evaluate_arg_callback().
|
friend |
Definition at line 97 of file function.hpp.
|
private |
Definition at line 96 of file function.hpp.
Referenced by evaluate(), and get_name().