26 #if ! defined (octave_pt_idx_h)
27 #define octave_pt_idx_h 1
29 #include "octave-config.h"
46 class tree_argument_list;
57 int l = -1,
int c = -1,
char t =
'(');
60 int l = -1,
int c = -1);
63 int l = -1,
int c = -1);
75 void append (
const std::string&
n);
81 std::string
name (
void)
const;
121 (
tree_evaluator& tw, std::list<string_vector>::const_iterator p_arg_nm,
122 std::list<tree_expression *>::const_iterator p_dyn_field)
const;
virtual bool lvalue_ok(void) const
bool is_word_list_cmd(void) const
tree_index_expression * dup(symbol_scope &scope) 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
tree_index_expression & operator=(const tree_index_expression &)=delete
tree_index_expression(const tree_index_expression &)=delete
octave_value evaluate(tree_evaluator &tw, int nargout=1)
std::list< string_vector > arg_names(void)
std::string type_tags(void)
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='(')
bool rvalue_ok(void) const
octave_lvalue lvalue(tree_evaluator &tw)
bool is_index_expression(void) const
std::list< tree_expression * > m_dyn_field
std::string name(void) const
~tree_index_expression(void)
octave_value_list evaluate_n(tree_evaluator &tw, int nargout=1)
void mark_word_list_cmd(void)
octave_map make_arg_struct(void) const
std::list< tree_argument_list * > arg_lists(void)
std::list< tree_argument_list * > m_args
std::list< string_vector > m_arg_nm
void append(tree_argument_list *lst=nullptr, char t='(')
std::list< tree_expression * > dyn_fields(void)
bool lvalue_ok(void) const
tree_expression * expression(void)
virtual void visit_index_expression(tree_index_expression &)
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