#include "pt-arg-list.h"
Public Types | |
typedef std::list< tree_expression * >::const_iterator | const_iterator |
typedef std::list< tree_expression * >::const_reverse_iterator | const_reverse_iterator |
typedef tree_expression * | element_type |
typedef std::list< tree_expression * >::iterator | iterator |
typedef std::list< tree_expression * >::reverse_iterator | reverse_iterator |
Protected Attributes | |
std::list< tree_expression * > | m_lst |
Private Attributes | |
bool | m_list_includes_magic_tilde |
bool | m_simple_assign_lhs |
Definition at line 50 of file pt-arg-list.h.
|
inherited |
Definition at line 44 of file base-list.h.
|
inherited |
Definition at line 48 of file base-list.h.
Definition at line 54 of file pt-arg-list.h.
|
inherited |
Definition at line 43 of file base-list.h.
|
inherited |
Definition at line 46 of file base-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().
|
delete |
tree_argument_list::~tree_argument_list | ( | void | ) |
Definition at line 46 of file pt-arg-list.cc.
|
inline |
Definition at line 106 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 | ( | void | ) | 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(), tree_expression::is_identifier(), and m_list_includes_magic_tilde.
Referenced by tree_argument_list(), and dup().
|
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_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(), tree_expression::dup(), and m_simple_assign_lhs.
|
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.
string_vector tree_argument_list::get_arg_names | ( | void | ) | 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 72 of file pt-arg-list.h.
References m_list_includes_magic_tilde.
Referenced by tree_index_expression::append(), and base_parser::make_index_expression().
|
inline |
Definition at line 77 of file pt-arg-list.h.
References m_list_includes_magic_tilde.
|
inline |
Definition at line 94 of file pt-arg-list.h.
References m_simple_assign_lhs.
Referenced by base_parser::make_assign_op().
bool tree_argument_list::is_valid_lvalue_list | ( | void | ) | 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().
|
inlineinherited |
Definition at line 53 of file base-list.h.
|
inline |
Definition at line 92 of file pt-arg-list.h.
References m_simple_assign_lhs.
Referenced by base_parser::validate_matrix_for_assignment().
|
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.
|
inline |
Definition at line 82 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().
|
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.
std::list< std::string > tree_argument_list::variable_names | ( | void | ) | 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().
|
private |
Definition at line 113 of file pt-arg-list.h.
Referenced by append(), has_magic_tilde(), and includes_magic_tilde().
|
protectedinherited |
Definition at line 106 of file base-list.h.
|
private |
Definition at line 115 of file pt-arg-list.h.
Referenced by dup(), is_simple_assign_lhs(), and mark_as_simple_assign_lhs().