#include "pt-misc.h"
Definition at line 45 of file pt-misc.h.
typedef std::list<tree_decl_elt * >::const_iterator octave_base_list< tree_decl_elt * >::const_iterator [inherited] |
Definition at line 35 of file base-list.h.
typedef std::list<tree_decl_elt * >::iterator octave_base_list< tree_decl_elt * >::iterator [inherited] |
Definition at line 34 of file base-list.h.
tree_parameter_list::tree_parameter_list | ( | void | ) | [inline] |
tree_parameter_list::tree_parameter_list | ( | tree_decl_elt * | t | ) | [inline] |
tree_parameter_list::~tree_parameter_list | ( | void | ) |
Definition at line 41 of file pt-misc.cc.
References octave_base_list< tree_decl_elt * >::begin(), octave_base_list< tree_decl_elt * >::empty(), and octave_base_list< tree_decl_elt * >::erase().
tree_parameter_list::tree_parameter_list | ( | const tree_parameter_list & | ) | [private] |
void tree_parameter_list::accept | ( | tree_walker & | tw | ) |
Definition at line 316 of file pt-misc.cc.
References tree_walker::visit_parameter_list().
Referenced by octave_fcn_handle::print_raw(), tree_print_code::visit_anon_fcn_handle(), and tree_print_code::visit_octave_user_function_header().
void octave_base_list< tree_decl_elt * >::append | ( | const tree_decl_elt * & | s | ) | [inline, inherited] |
Definition at line 88 of file base-list.h.
tree_decl_elt * & octave_base_list< tree_decl_elt * >::back | ( | void | ) | [inline, inherited] |
Definition at line 76 of file base-list.h.
Referenced by validate().
const tree_decl_elt * & octave_base_list< tree_decl_elt * >::back | ( | void | ) | const [inline, inherited] |
Definition at line 79 of file base-list.h.
iterator octave_base_list< tree_decl_elt * >::begin | ( | void | ) | [inline, inherited] |
Definition at line 69 of file base-list.h.
Referenced by convert_to_const_vector(), define_from_arg_vector(), dup(), tree_decl_init_list::dup(), initialize_undefined_elements(), is_defined(), mark_as_formal_parameters(), undefine(), validate(), and ~tree_parameter_list().
const_iterator octave_base_list< tree_decl_elt * >::begin | ( | void | ) | const [inline, inherited] |
Definition at line 70 of file base-list.h.
void octave_base_list< tree_decl_elt * >::clear | ( | void | ) | [inline, inherited] |
Definition at line 67 of file base-list.h.
octave_value_list tree_parameter_list::convert_to_const_vector | ( | int | nargout, | |
const Cell & | varargout | |||
) |
Definition at line 232 of file pt-misc.cc.
References octave_base_list< tree_decl_elt * >::begin(), octave_base_list< tree_decl_elt * >::end(), tree_decl_elt::is_defined(), octave_base_list< tree_decl_elt * >::length(), Array< T >::numel(), and tree_decl_elt::rvalue1().
Referenced by octave_user_function::do_multi_index_op().
void tree_parameter_list::define_from_arg_vector | ( | const octave_value_list & | args | ) |
Definition at line 182 of file pt-misc.cc.
References octave_base_list< tree_decl_elt * >::begin(), octave_lvalue::define(), error(), tree_decl_elt::eval(), is_defined(), octave_base_list< tree_decl_elt * >::length(), octave_value_list::length(), and tree_decl_elt::lvalue().
Referenced by octave_user_function::do_multi_index_op().
tree_parameter_list * tree_parameter_list::dup | ( | symbol_table::scope_id | scope, | |
symbol_table::context_id | context | |||
) | const |
Definition at line 297 of file pt-misc.cc.
References octave_base_list< elt_type >::append(), octave_base_list< tree_decl_elt * >::begin(), tree_decl_elt::dup(), octave_base_list< tree_decl_elt * >::end(), mark_varargs(), takes_varargs(), and tree_parameter_list().
Referenced by tree_anon_fcn_handle::dup(), and tree_anon_fcn_handle::rvalue1().
bool octave_base_list< tree_decl_elt * >::empty | ( | void | ) | const [inline, inherited] |
Definition at line 37 of file base-list.h.
Referenced by ~tree_parameter_list().
iterator octave_base_list< tree_decl_elt * >::end | ( | void | ) | [inline, inherited] |
Definition at line 72 of file base-list.h.
Referenced by convert_to_const_vector(), dup(), tree_decl_init_list::dup(), initialize_undefined_elements(), is_defined(), mark_as_formal_parameters(), and validate().
const_iterator octave_base_list< tree_decl_elt * >::end | ( | void | ) | const [inline, inherited] |
Definition at line 73 of file base-list.h.
iterator octave_base_list< tree_decl_elt * >::erase | ( | iterator | pos | ) | [inline, inherited] |
Definition at line 42 of file base-list.h.
Referenced by validate(), and ~tree_parameter_list().
tree_decl_elt * & octave_base_list< tree_decl_elt * >::front | ( | void | ) | [inline, inherited] |
Definition at line 75 of file base-list.h.
const tree_decl_elt * & octave_base_list< tree_decl_elt * >::front | ( | void | ) | const [inline, inherited] |
Definition at line 78 of file base-list.h.
void tree_parameter_list::initialize_undefined_elements | ( | const std::string & | warnfor, | |
int | nargout, | |||
const octave_value & | val | |||
) |
Definition at line 126 of file pt-misc.cc.
References octave_lvalue::assign(), octave_base_list< tree_decl_elt * >::begin(), octave_base_list< tree_decl_elt * >::end(), octave_value::is_defined(), tree_decl_elt::is_variable(), tree_decl_elt::lvalue(), octave_value::matrix_value(), Array< T >::numel(), octave_value::op_asn_eq, symbol_table::varval(), and warning_with_id().
Referenced by octave_user_function::do_multi_index_op().
bool tree_parameter_list::is_defined | ( | void | ) |
Definition at line 278 of file pt-misc.cc.
References octave_base_list< tree_decl_elt * >::begin(), octave_base_list< tree_decl_elt * >::end(), and tree_decl_elt::is_variable().
Referenced by define_from_arg_vector().
size_t octave_base_list< tree_decl_elt * >::length | ( | void | ) | const [inline, inherited] |
Definition at line 40 of file base-list.h.
Referenced by convert_to_const_vector(), define_from_arg_vector(), undefine(), and validate().
void tree_parameter_list::mark_as_formal_parameters | ( | void | ) |
Definition at line 52 of file pt-misc.cc.
References octave_base_list< tree_decl_elt * >::begin(), octave_base_list< tree_decl_elt * >::end(), and tree_decl_elt::mark_as_formal_parameter().
void tree_parameter_list::mark_varargs | ( | void | ) | [inline, private] |
Definition at line 92 of file pt-misc.h.
Referenced by dup(), and validate().
void tree_parameter_list::mark_varargs_only | ( | void | ) | [inline, private] |
Definition at line 94 of file pt-misc.h.
Referenced by validate().
tree_parameter_list& tree_parameter_list::operator= | ( | const tree_parameter_list & | ) | [private] |
void octave_base_list< tree_decl_elt * >::pop_back | ( | void | ) | [inline, inherited] |
Definition at line 85 of file base-list.h.
void octave_base_list< tree_decl_elt * >::pop_front | ( | void | ) | [inline, inherited] |
Definition at line 84 of file base-list.h.
void octave_base_list< tree_decl_elt * >::push_back | ( | const tree_decl_elt * & | s | ) | [inline, inherited] |
Definition at line 82 of file base-list.h.
void octave_base_list< tree_decl_elt * >::push_front | ( | const tree_decl_elt * & | s | ) | [inline, inherited] |
Definition at line 81 of file base-list.h.
void octave_base_list< tree_decl_elt * >::remove_if | ( | P | pred | ) | [inline, inherited] |
Definition at line 45 of file base-list.h.
size_t octave_base_list< tree_decl_elt * >::size | ( | void | ) | const [inline, inherited] |
Definition at line 39 of file base-list.h.
bool tree_parameter_list::takes_varargs | ( | void | ) | const [inline] |
Definition at line 68 of file pt-misc.h.
Referenced by octave_user_function::do_multi_index_op(), dup(), octave_fcn_binder::maybe_binder(), octave_user_function::subsasgn_optimization_ok(), octave_user_function::takes_var_return(), and octave_user_function::takes_varargs().
void tree_parameter_list::undefine | ( | void | ) |
Definition at line 215 of file pt-misc.cc.
References octave_lvalue::assign(), octave_base_list< tree_decl_elt * >::begin(), octave_base_list< tree_decl_elt * >::length(), tree_decl_elt::lvalue(), and octave_value::op_asn_eq.
Referenced by octave_user_function::do_multi_index_op().
Definition at line 62 of file pt-misc.cc.
References octave_base_list< tree_decl_elt * >::back(), octave_base_list< tree_decl_elt * >::begin(), octave_base_list< tree_decl_elt * >::end(), octave_base_list< tree_decl_elt * >::erase(), error(), error_state, tree_decl_elt::ident(), in, tree_identifier::is_black_hole(), octave_base_list< tree_decl_elt * >::length(), mark_varargs(), mark_varargs_only(), and tree_identifier::name().
bool tree_parameter_list::varargs_only | ( | void | ) | [inline] |
Definition at line 70 of file pt-misc.h.
Referenced by octave_user_function::do_multi_index_op(), and octave_user_function::subsasgn_optimization_ok().
int tree_parameter_list::marked_for_varargs [private] |