23 #if !defined (octave_pt_binop_h)
24 #define octave_pt_binop_h 1
49 eligible_for_braindead_shortcircuit (false) { }
52 int l = -1,
int c = -1,
56 eligible_for_braindead_shortcircuit (false) { }
64 void mark_braindead_shortcircuit (
const std::string& file)
70 "possible Matlab-style short-circuit operator at line %d, column %d",
74 "%s: possible Matlab-style short-circuit operator at line %d, column %d",
75 file.c_str (),
line (), column ());
77 eligible_for_braindead_shortcircuit =
true;
79 op_lhs->mark_braindead_shortcircuit (file);
80 op_rhs->mark_braindead_shortcircuit (file);
84 bool has_magic_end (
void)
const
86 return ((op_lhs && op_lhs->has_magic_end ())
87 || (op_rhs && op_rhs->has_magic_end ()));
98 std::string oper (
void)
const;
150 int l = -1,
int c = -1,
type t = unknown)
163 std::string oper (
void)
const;