#include "pt-misc.h"
Public Types | |
typedef std::list< tree_decl_elt * >::const_iterator | const_iterator |
typedef std::list< tree_decl_elt * >::const_reverse_iterator | const_reverse_iterator |
enum | in_or_out { in = 1 , out = 2 } |
typedef std::list< tree_decl_elt * >::iterator | iterator |
typedef std::list< tree_decl_elt * >::reverse_iterator | reverse_iterator |
Protected Attributes | |
std::list< tree_decl_elt * > | m_lst |
Private Attributes | |
in_or_out | m_in_or_out |
int | m_marked_for_varargs |
|
inherited |
Definition at line 44 of file base-list.h.
|
inherited |
Definition at line 48 of file base-list.h.
|
inherited |
Definition at line 43 of file base-list.h.
|
inherited |
Definition at line 46 of file base-list.h.
|
inline |
|
inline |
Definition at line 59 of file pt-misc.h.
References octave::base_list< tree_decl_elt * >::append().
|
inline |
Definition at line 65 of file pt-misc.h.
References octave::base_list< tree_decl_elt * >::append().
|
delete |
octave::tree_parameter_list::~tree_parameter_list | ( | void | ) |
Definition at line 37 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().
|
inline |
Definition at line 102 of file pt-misc.h.
References octave::tree_walker::visit_parameter_list().
Referenced by octave::anonymous_fcn_handle::print_raw(), octave::tree_print_code::visit_anon_fcn_handle(), and octave::tree_print_code::visit_octave_user_function_header().
|
inlineinherited |
Definition at line 92 of file base-list.h.
|
inlineinherited |
Definition at line 80 of file base-list.h.
|
inlineinherited |
Definition at line 83 of file base-list.h.
|
inlineinherited |
Definition at line 65 of file base-list.h.
|
inlineinherited |
Definition at line 66 of file base-list.h.
|
inlineinherited |
Definition at line 63 of file base-list.h.
tree_parameter_list * octave::tree_parameter_list::dup | ( | symbol_scope & | scope | ) | const |
Definition at line 69 of file pt-misc.cc.
References tree_parameter_list(), octave::base_list< elt_type >::append(), octave::tree_decl_elt::dup(), m_in_or_out, and m_marked_for_varargs.
Referenced by octave::tree_anon_fcn_handle::dup(), and octave::tree_anon_fcn_handle::evaluate().
|
inlineinherited |
Definition at line 50 of file base-list.h.
|
inlineinherited |
Definition at line 68 of file base-list.h.
|
inlineinherited |
Definition at line 69 of file base-list.h.
|
inlineinherited |
Definition at line 55 of file base-list.h.
|
inlineinherited |
Definition at line 79 of file base-list.h.
|
inlineinherited |
Definition at line 82 of file base-list.h.
|
inline |
Definition at line 89 of file pt-misc.h.
References in, and m_in_or_out.
Referenced by octave::tree_print_code::visit_parameter_list().
|
inline |
Definition at line 91 of file pt-misc.h.
References m_in_or_out, and out.
|
inlineinherited |
Definition at line 53 of file base-list.h.
void octave::tree_parameter_list::mark_as_formal_parameters | ( | void | ) |
Definition at line 48 of file pt-misc.cc.
References octave::tree_decl_elt::mark_as_formal_parameter().
Referenced by octave::base_parser::finish_function().
|
inline |
Definition at line 81 of file pt-misc.h.
References m_marked_for_varargs.
Referenced by octave::base_parser::validate_param_list().
|
inline |
Definition at line 83 of file pt-misc.h.
References m_marked_for_varargs.
Referenced by octave::base_parser::validate_param_list().
|
delete |
|
inlineinherited |
Definition at line 89 of file base-list.h.
|
inlineinherited |
Definition at line 88 of file base-list.h.
|
inlineinherited |
Definition at line 86 of file base-list.h.
|
inlineinherited |
Definition at line 85 of file base-list.h.
|
inlineinherited |
Definition at line 71 of file base-list.h.
|
inlineinherited |
Definition at line 72 of file base-list.h.
|
inlineinherited |
Definition at line 58 of file base-list.h.
|
inlineinherited |
Definition at line 75 of file base-list.h.
|
inlineinherited |
Definition at line 76 of file base-list.h.
|
inlineinherited |
Definition at line 52 of file base-list.h.
|
inline |
Definition at line 85 of file pt-misc.h.
References m_marked_for_varargs.
Referenced by octave::jit_convert::jit_convert(), octave::tree_evaluator::execute_user_function(), octave_user_function::subsasgn_optimization_ok(), octave_user_function::takes_var_return(), octave_user_function::takes_varargs(), octave::tree_anon_scopes::visit_anon_fcn_handle(), and octave::tree_print_code::visit_parameter_list().
|
inline |
Definition at line 87 of file pt-misc.h.
References m_marked_for_varargs.
Referenced by octave::tree_evaluator::execute_user_function(), and octave_user_function::subsasgn_optimization_ok().
|
inline |
Definition at line 95 of file pt-misc.h.
References in, and m_in_or_out.
Referenced by variable_names(), and octave::tree_print_code::visit_parameter_list().
std::list< std::string > octave::tree_parameter_list::variable_names | ( | void | ) | const |
Definition at line 55 of file pt-misc.cc.
References m_marked_for_varargs, octave::tree_decl_elt::name(), retval, and varargs_symbol_name().
Referenced by octave::tree_anon_scopes::visit_anon_fcn_handle().
|
private |
Definition at line 109 of file pt-misc.h.
Referenced by dup(), is_input_list(), is_output_list(), and varargs_symbol_name().
|
protectedinherited |
Definition at line 106 of file base-list.h.
|
private |
Definition at line 114 of file pt-misc.h.
Referenced by dup(), mark_varargs(), mark_varargs_only(), takes_varargs(), varargs_only(), and variable_names().