23 #if ! defined (octave_pt_idx_h) 24 #define octave_pt_idx_h 1 26 #include "octave-config.h" 43 class tree_argument_list;
54 int l = -1,
int c = -1,
char t =
'(');
57 int l = -1,
int c = -1);
60 int l = -1,
int c = -1);
107 (
tree_evaluator *tw, std::list<string_vector>::const_iterator p_arg_nm,
108 std::list<tree_expression *>::const_iterator p_dyn_field)
const;
134 #if defined (OCTAVE_USE_DEPRECATED_FUNCTIONS) 136 OCTAVE_DEPRECATED (4.4,
"use 'octave::tree_index_expression' instead")
137 typedef
octave::tree_index_expression tree_index_expression;
bool has_magic_end(void) const
bool is_index_expression(void) const
tree_index_expression * dup(symbol_scope &scope) const
tree_index_expression & operator=(const tree_index_expression &)=delete
bool rvalue_ok(void) const
bool lvalue_ok(void) const
octave_lvalue lvalue(tree_evaluator *tw)
OCTAVE_EXPORT octave_value_list return the number of command line arguments passed to Octave If called with the optional argument the function t
std::list< string_vector > arg_names(void)
nd example oindent opens the file binary numeric values will be read assuming they are stored in IEEE format with the least significant bit and then converted to the native representation Opening a file that is already open simply opens it again and returns a separate file id It is not an error to open a file several though writing to the same file through several different file ids may produce unexpected results The possible values of text mode reading and writing automatically converts linefeeds to the appropriate line end character for the you may append a you must also open the file in binary mode The parameter conversions are currently only supported for and permissions will be set to and then everything is written in a single operation This is very efficient and improves performance c
tree_index_expression(tree_expression *e=nullptr, tree_argument_list *lst=nullptr, int l=-1, int c=-1, char t='(')
std::string name(void) const
tree_expression * expression(void)
std::list< tree_argument_list * > m_args
virtual bool lvalue_ok(void) const
std::list< tree_argument_list * > arg_lists(void)
std::string type_tags(void)
octave_map make_arg_struct(void) const
std::list< string_vector > m_arg_nm
virtual void visit_index_expression(tree_index_expression &)=0
std::list< tree_expression * > m_dyn_field
void accept(tree_walker &tw)
~tree_index_expression(void)
void append(tree_argument_list *lst=nullptr, char t='(')
If this string is the system will ring the terminal sometimes it is useful to be able to print the original representation of the string
std::list< tree_expression * > dyn_fields(void)
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