26 #if ! defined (octave_pt_binop_h)
27 #define octave_pt_binop_h 1
29 #include "octave-config.h"
54 m_preserve_operands (false)
58 int l = -1,
int c = -1,
62 m_preserve_operands (false)
69 if (! m_preserve_operands)
82 std::string
oper ()
const;
123 bool m_preserve_operands;
179 std::string
oper ()
const;
203 OCTAVE_END_NAMESPACE(
octave)
~tree_binary_expression()
void matlab_style_short_circuit_warning(const char *op)
octave_value::binary_op op_type() const
octave_value_list evaluate_n(tree_evaluator &tw, int nargout=1)
bool is_binary_expression() const
void rhs(tree_expression *expr)
tree_expression * dup(symbol_scope &scope) const
void accept(tree_walker &tw)
tree_binary_expression(int l=-1, int c=-1, octave_value::binary_op t=octave_value::unknown_binary_op)
tree_binary_expression(tree_expression *a, tree_expression *b, int l=-1, int c=-1, octave_value::binary_op t=octave_value::unknown_binary_op)
virtual bool is_braindead() const
void lhs(tree_expression *expr)
std::string profiler_name() const
octave_value evaluate(tree_evaluator &, int nargout=1)
void accept(tree_walker &tw)
tree_boolean_expression(int l=-1, int c=-1, type t=unknown)
tree_boolean_expression(tree_expression *a, tree_expression *b, int l=-1, int c=-1, type t=unknown)
octave_value_list evaluate_n(tree_evaluator &tw, int nargout=1)
~tree_boolean_expression()=default
tree_expression * dup(symbol_scope &scope) const
octave_value evaluate(tree_evaluator &, int nargout=1)
bool is_boolean_expression() const
tree_expression * dup(symbol_scope &scope) const
octave_value evaluate(tree_evaluator &, int nargout=1)
bool is_braindead() const
~tree_braindead_shortcircuit_binary_expression()=default
tree_braindead_shortcircuit_binary_expression(tree_expression *a, tree_expression *b, int l, int c, octave_value::binary_op t)
virtual void visit_boolean_expression(tree_boolean_expression &)
virtual void visit_binary_expression(tree_binary_expression &)
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn
octave_value_list ovl(const OV_Args &... args)
Construct an octave_value_list with less typing.