23 #if defined (HAVE_CONFIG_H)
49 error (
"binary operator '%s': invalid number of output arguments",
61 "Matlab-style short-circuit operation performed for operator %s",
72 if (Vdo_braindead_shortcircuit_evaluation
176 error (
"binary operator '%s': invalid number of output arguments",
282 static bool warned =
false;
287 "do_braindead_shortcircuit_evaluation is obsolete and will be removed from a future version of Octave");
void warning_with_id(const char *id, const char *fmt,...)
octave_value::binary_op etype
octave_idx_type rows(void) const
static std::string binary_op_as_string(binary_op)
std::string oper(void) const
bool is_defined(void) const
void matlab_style_short_circuit_warning(const char *op)
#define DEFUN(name, args_name, nargout_name, doc)
virtual tree_expression * dup(symbol_table::scope_id, symbol_table::context_id context) const =0
void error(const char *fmt,...)
#define SET_INTERNAL_VARIABLE(NM)
octave_value_list rvalue(int nargout)
virtual void copy_base(const tree_expression &e)
octave_value rvalue1(int nargout=1)
#define END_PROFILER_BLOCK
octave_value rvalue1(int nargout=1)
octave_value_list rvalue(int nargout)
calling an anonymous function involves an overhead quite comparable to the overhead of an m file function Passing a handle to a built in function is because the interpreter is not involved in the internal loop For a
virtual void visit_binary_expression(tree_binary_expression &)=0
std::string oper(void) const
octave_idx_type columns(void) const
tree_expression * dup(symbol_table::scope_id scope, symbol_table::context_id context) const
OCTAVE_EXPORT octave_value_list return the number of command line arguments passed to Octave If called with the optional argument the function xample nargout(@histc)
bool eligible_for_braindead_shortcircuit
static llvm::LLVMContext & context
tree_expression * dup(symbol_table::scope_id scope, symbol_table::context_id context) const
bool braindead_shortcircuit_warning_issued
tree_binary_expression(int l=-1, int c=-1, octave_value::binary_op t=octave_value::unknown_binary_op)
virtual int line(void) const
With real return the complex result
virtual octave_value rvalue1(int nargout=1)
static bool Vdo_braindead_shortcircuit_evaluation
void accept(tree_walker &tw)
virtual int column(void) const
If this string is the system will ring the terminal sometimes it is useful to be able to print the original representation of the string
tree_boolean_expression(int l=-1, int c=-1, type t=unknown)
#define BEGIN_PROFILER_BLOCK(classname)
return octave_value(v1.char_array_value().concat(v2.char_array_value(), ra_idx),((a1.is_sq_string()||a2.is_sq_string())? '\'': '"'))
octave_value do_binary_op(octave_value::binary_op op, const octave_value &v1, const octave_value &v2)