47 ::error (
"invalid colon expression");
65 ::error (
"invalid colon expression");
76 error (
"invalid number of output arguments for colon expression");
94 eval_error (
"invalid base value in colon expression");
100 eval_error (
"invalid limit value in colon expression");
110 eval_error (
"invalid increment value in colon expression");
114 tmp1(1) = ov_increment;
136 ::error (
"can not find overloaded colon function");
148 eval_error (
"invalid increment value in colon expression");
152 retval =
do_colon_op (ov_base, ov_increment, ov_limit,
bool is_object(void) const
octave_value rvalue1(int nargout=1)
bool is_defined(void) const
virtual tree_expression * dup(symbol_table::scope_id, symbol_table::context_id context) const =0
void error(const char *fmt,...)
void eval_error(const std::string &s) const
tree_expression * op_increment
virtual void copy_base(const tree_expression &e)
static octave_value find_function(const std::string &name, const octave_value_list &args=octave_value_list(), bool local_funcs=true)
tree_colon_expression * append(tree_expression *t)
bool is_for_cmd_expr(void) const
void accept(tree_walker &tw)
octave_value_list do_multi_index_op(int nargout, const octave_value_list &idx)
virtual void visit_colon_expression(tree_colon_expression &)=0
static llvm::LLVMContext & context
tree_colon_expression(int l=-1, int c=-1)
virtual int line(void) const
tree_expression * op_limit
virtual octave_value rvalue1(int nargout=1)
bool is_undefined(void) const
octave_value_list rvalue(int nargout)
virtual int column(void) const
octave_value do_colon_op(const octave_value &base, const octave_value &increment, const octave_value &limit, bool is_for_cmd_expr)
tree_expression * op_base
tree_expression * dup(symbol_table::scope_id scope, symbol_table::context_id context) const