#include "pt-misc.h"
Public Types | |
enum | in_or_out { in = 1 , out = 2 } |
Public Member Functions | |
tree_parameter_list (in_or_out io) | |
tree_parameter_list (in_or_out io, tree_decl_elt *t) | |
tree_parameter_list (in_or_out io, tree_identifier *id) | |
~tree_parameter_list () | |
void | accept (tree_walker &tw) |
filepos | beg_pos () const |
tree_parameter_list * | dup (symbol_scope &scope) const |
filepos | end_pos () const |
bool | is_input_list () const |
bool | is_output_list () const |
void | mark_as_formal_parameters () |
tree_parameter_list * | mark_in_delims (const token &open_delim, const token &close_delim) |
void | mark_varargs () |
void | mark_varargs_only () |
bool | takes_varargs () const |
bool | varargs_only () |
std::string | varargs_symbol_name () const |
std::list< std::string > | variable_names () const |
|
inline |
|
inline |
|
inline |
tree_parameter_list::~tree_parameter_list | ( | ) |
Definition at line 37 of file pt-misc.cc.
|
inline |
Definition at line 110 of file pt-misc.h.
References tree_walker::visit_parameter_list().
Referenced by tree_print_code::visit_anon_fcn_handle(), tree_walker::visit_anon_fcn_handle(), and tree_print_code::visit_octave_user_function_header().
|
inline |
Definition at line 84 of file pt-misc.h.
References token::beg_pos().
tree_parameter_list * tree_parameter_list::dup | ( | symbol_scope & | scope | ) | const |
Definition at line 69 of file pt-misc.cc.
Referenced by tree_anon_fcn_handle::dup(), and tree_evaluator::evaluate_anon_fcn_handle().
|
inline |
Definition at line 85 of file pt-misc.h.
References token::end_pos().
|
inline |
Definition at line 97 of file pt-misc.h.
References in.
Referenced by tree_print_code::visit_parameter_list().
|
inline |
void tree_parameter_list::mark_as_formal_parameters | ( | ) |
Definition at line 48 of file pt-misc.cc.
Referenced by base_parser::finish_function().
|
inline |
Definition at line 76 of file pt-misc.h.
Referenced by octave_push_parse().
|
inline |
Definition at line 89 of file pt-misc.h.
Referenced by base_parser::validate_param_list().
|
inline |
Definition at line 91 of file pt-misc.h.
Referenced by base_parser::validate_param_list().
|
inline |
Definition at line 93 of file pt-misc.h.
Referenced by tree_evaluator::execute_user_function(), tree_anon_scopes::visit_anon_fcn_handle(), and tree_print_code::visit_parameter_list().
|
inline |
Definition at line 95 of file pt-misc.h.
Referenced by tree_evaluator::define_parameter_list_from_arg_vector().
|
inline |
Definition at line 103 of file pt-misc.h.
References in.
Referenced by variable_names(), and tree_print_code::visit_parameter_list().
std::list< std::string > tree_parameter_list::variable_names | ( | ) | const |
Definition at line 55 of file pt-misc.cc.
References varargs_symbol_name().
Referenced by tree_anon_scopes::visit_anon_fcn_handle().