26 #if defined (HAVE_CONFIG_H)
42 return ! is_black_hole () && m_frame->
is_defined (m_sym);
69 std::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)
189 retval = (tmp.
length () == 1 && tmp(0).isempty ());
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
232 retval = retval.
subsref (type, idx);
void recover_from_exception(void)
bool is_undefined(void) const
octave_value value(void) const
std::list< octave_value_list > m_idx
octave_idx_type numel(void) const
void set_index(const std::string &t, const std::list< octave_value_list > &i)
void assign(octave_value::assign_op, const octave_value &)
bool is_defined(void) const
void define(const octave_value &v)
bool is_black_hole(void) const
bool index_is_colon(void) const
void unary_op(octave_value::unary_op op)
octave_value eval_for_numel(const std::string &type, const std::list< octave_value_list > &idx) const
bool index_is_empty(void) const
std::shared_ptr< stack_frame > m_frame
octave_idx_type length(void) const
bool has_magic_colon(void) const
octave_value subsref(const std::string &type, const std::list< octave_value_list > &idx)
bool is_constant(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
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn
void error(const char *fmt,...)
#define panic_impossible()
void err_invalid_inquiry_subscript(void)
interpreter & __get_interpreter__(void)
return octave_value(v1.char_array_value() . concat(v2.char_array_value(), ra_idx),((a1.is_sq_string()||a2.is_sq_string()) ? '\'' :'"'))