#include "pt-arg-list.h"
Public Types | |
typedef tree_expression * | element_type |
Public Types inherited from base_list< tree_expression * > | |
typedef std::list< tree_expression * >::const_iterator | const_iterator |
typedef std::list< tree_expression * >::const_reverse_iterator | const_reverse_iterator |
typedef std::list< tree_expression * >::iterator | iterator |
typedef std::list< tree_expression * >::reverse_iterator | reverse_iterator |
Additional Inherited Members | |
Protected Attributes inherited from base_list< tree_expression * > | |
std::list< tree_expression * > | m_lst |
Definition at line 50 of file pt-arg-list.h.
Definition at line 54 of file pt-arg-list.h.
|
inline |
Definition at line 56 of file pt-arg-list.h.
Referenced by dup().
|
inline |
Definition at line 60 of file pt-arg-list.h.
References append().
tree_argument_list::~tree_argument_list | ( | ) |
Definition at line 46 of file pt-arg-list.cc.
|
inline |
Definition at line 102 of file pt-arg-list.h.
References tree_walker::visit_argument_list().
Referenced by tree_walker::visit_arg_size_spec(), tree_walker::visit_arg_validation_fcns(), tree_print_code::visit_cell(), tree_walker::visit_cell(), tree_checker::visit_complex_for_command(), tree_print_code::visit_complex_for_command(), tree_walker::visit_complex_for_command(), tree_print_code::visit_index_expression(), tree_walker::visit_index_expression(), tree_print_code::visit_matrix(), tree_walker::visit_matrix(), tree_checker::visit_multi_assignment(), tree_print_code::visit_multi_assignment(), and tree_walker::visit_multi_assignment().
bool tree_argument_list::all_elements_are_constant | ( | ) | const |
Definition at line 69 of file pt-arg-list.cc.
References tree_expression::is_constant().
Referenced by tree_array_list::all_elements_are_constant().
void tree_argument_list::append | ( | const element_type & | s | ) |
Definition at line 57 of file pt-arg-list.cc.
References base_list< elt_type >::append(), and tree_expression::is_identifier().
Referenced by tree_argument_list(), and dup().
tree_argument_list * tree_argument_list::dup | ( | symbol_scope & | scope | ) | const |
Definition at line 141 of file pt-arg-list.cc.
References tree_argument_list(), append(), and tree_expression::dup().
string_vector tree_argument_list::get_arg_names | ( | ) | const |
Definition at line 101 of file pt-arg-list.cc.
References len, base_list< tree_expression * >::length(), and tree::str_print_code().
Referenced by tree_index_expression::append().
|
inline |
Definition at line 68 of file pt-arg-list.h.
Referenced by tree_index_expression::append(), and base_parser::make_index_expression().
|
inline |
Definition at line 73 of file pt-arg-list.h.
|
inline |
Definition at line 90 of file pt-arg-list.h.
Referenced by base_parser::make_assign_op().
bool tree_argument_list::is_valid_lvalue_list | ( | ) | const |
Definition at line 81 of file pt-arg-list.cc.
References tree_expression::is_identifier(), and tree_expression::is_index_expression().
Referenced by base_parser::validate_matrix_for_assignment().
|
inline |
Definition at line 88 of file pt-arg-list.h.
Referenced by base_parser::validate_matrix_for_assignment().
|
inline |
Definition at line 78 of file pt-arg-list.h.
References base_list< tree_expression * >::begin(), and base_list< tree_expression * >::erase().
Referenced by base_parser::make_assign_op(), and base_parser::make_for_command().
std::list< std::string > tree_argument_list::variable_names | ( | ) | const |
Definition at line 116 of file pt-arg-list.cc.
References tree_expression::is_identifier(), tree_expression::is_index_expression(), tree_identifier::name(), and tree_index_expression::name().
Referenced by base_parser::make_assign_op(), base_parser::make_for_command(), and base_parser::validate_matrix_for_assignment().