23 #if !defined (octave_pt_binop_h)
24 #define octave_pt_binop_h 1
49 eligible_for_braindead_shortcircuit (false),
50 braindead_shortcircuit_warning_issued (false) { }
53 int l = -1,
int c = -1,
57 eligible_for_braindead_shortcircuit (false),
58 braindead_shortcircuit_warning_issued (false) { }
70 eligible_for_braindead_shortcircuit =
true;
72 op_lhs->mark_braindead_shortcircuit ();
73 op_rhs->mark_braindead_shortcircuit ();
79 return ((op_lhs && op_lhs->has_magic_end ())
80 || (op_rhs && op_rhs->has_magic_end ()));
91 std::string oper (
void)
const;
125 void matlab_style_short_circuit_warning (
const char *op);
152 int l = -1,
int c = -1,
type t = unknown)
165 std::string oper (
void)
const;
bool rvalue_ok(void) const
~tree_boolean_expression(void)
octave_value::binary_op etype
bool rvalue_ok(void) const
void mark_braindead_shortcircuit(void)
std::string profiler_name(void) const
bool eligible_for_braindead_shortcircuit
static llvm::LLVMContext & context
bool has_magic_end(void) const
tree_expression * lhs(void)
bool braindead_shortcircuit_warning_issued
octave_value::binary_op op_type(void) const
tree_binary_expression(int l=-1, int c=-1, octave_value::binary_op t=octave_value::unknown_binary_op)
~tree_binary_expression(void)
tree_boolean_expression(tree_expression *a, tree_expression *b, int l=-1, int c=-1, type t=unknown)
tree_expression * rhs(void)
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)
bool is_boolean_expression(void) const
bool is_binary_expression(void) const
tree_boolean_expression(int l=-1, int c=-1, type t=unknown)
octave_lvalue & operator=(const octave_lvalue &vr)