26 #if defined (HAVE_CONFIG_H)
69 size_t num_indices =
m_idx.size ();
74 switch (
m_type[num_indices-1])
85 std::string tmp_type =
m_type;
86 std::list<octave_value_list> tmp_idx =
m_idx;
117 std::string tmp_type =
m_type;
118 std::list<octave_value_list> tmp_idx =
m_idx;
120 tmp_type.pop_back ();
123 bool paren_dot = num_indices > 1 &&
m_type[num_indices-2] ==
'(';
130 pidx = tmp_idx.back ();
132 tmp_type.pop_back ();
172 const std::list<octave_value_list>& i)
174 if (!
m_idx.empty ())
175 error (
"invalid index expression in assignment");
185 if (
m_idx.size () == 1)
199 if (
m_idx.size () == 1)
203 retval = (tmp.
length () == 1 && tmp(0).is_magic_colon ());
223 const std::list<octave_value_list>& idx)
const
231 if (
retval.is_constant () && ! idx.empty ())
void recover_from_exception(void)
bool index_is_empty(void) const
std::list< octave_value_list > m_idx
void assign(octave_value::assign_op, const octave_value &)
void set_index(const std::string &t, const std::list< octave_value_list > &i)
bool is_black_hole(void) const
octave_value value(void) const
void define(const octave_value &v)
octave_idx_type numel(void) const
octave_value eval_for_numel(const std::string &type, const std::list< octave_value_list > &idx) const
void do_unary_op(octave_value::unary_op op)
std::shared_ptr< stack_frame > m_frame
bool is_undefined(void) const
bool index_is_colon(void) const
bool is_defined(void) const
octave_idx_type length(void) const
bool has_magic_colon(void) const
bool is_string(void) const
octave_idx_type xnumel(const octave_value_list &idx)
bool is_zero_by_zero(void) const
bool is_matrix_type(void) const
bool is_undefined(void) const
void error(const char *fmt,...)
#define panic_impossible()
void err_invalid_inquiry_subscript(void)
interpreter & __get_interpreter__(const std::string &who)
return octave_value(v1.char_array_value() . concat(v2.char_array_value(), ra_idx),((a1.is_sq_string()||a2.is_sq_string()) ? '\'' :'"'))
octave_value::octave_value(const Array< char > &chm, char type) return retval