26 #if ! defined (octave_pt_idx_h)
27 #define octave_pt_idx_h 1
29 #include "octave-config.h"
57 int l = -1,
int c = -1,
char t =
'(');
60 int l = -1,
int c = -1);
63 int l = -1,
int c = -1);
78 std::string
name ()
const;
82 std::list<tree_argument_list *>
arg_lists () {
return m_args; }
86 std::list<string_vector>
arg_names () {
return m_arg_nm; }
88 std::list<tree_expression *>
dyn_fields () {
return m_dyn_field; }
118 (
tree_evaluator& tw, std::list<string_vector>::const_iterator p_arg_nm,
119 std::list<tree_expression *>::const_iterator p_dyn_field)
const;
127 std::list<tree_argument_list *> m_args;
134 std::list<string_vector> m_arg_nm;
137 std::list<tree_expression *> m_dyn_field;
140 bool m_word_list_cmd;
147 OCTAVE_END_NAMESPACE(
octave)
octave_idx_type length() const
virtual bool lvalue_ok() const
octave_value_list evaluate_n(tree_evaluator &tw, int nargout=1)
void mark_word_list_cmd()
tree_expression * expression()
std::list< tree_argument_list * > arg_lists()
void accept(tree_walker &tw)
tree_index_expression(tree_expression *e=nullptr, tree_argument_list *lst=nullptr, int l=-1, int c=-1, char t='(')
tree_index_expression * dup(symbol_scope &scope) const
octave_value evaluate(tree_evaluator &tw, int nargout=1)
bool is_word_list_cmd() const
std::string get_struct_index(tree_evaluator &tw, std::list< string_vector >::const_iterator p_arg_nm, std::list< tree_expression * >::const_iterator p_dyn_field) const
std::list< string_vector > arg_names()
octave_lvalue lvalue(tree_evaluator &tw)
tree_index_expression * append(tree_argument_list *lst=nullptr, char t='(')
std::list< tree_expression * > dyn_fields()
bool is_index_expression() const
virtual void visit_index_expression(tree_index_expression &)
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn
return octave_value(v1.char_array_value() . concat(v2.char_array_value(), ra_idx),((a1.is_sq_string()||a2.is_sq_string()) ? '\'' :'"'))