#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 |
octave::tree_argument_list::~tree_argument_list | ( | void | ) |
Definition at line 46 of file pt-arg-list.cc.
References octave::base_list< tree_expression * >::begin(), octave::base_list< tree_expression * >::empty(), and octave::base_list< tree_expression * >::erase().
|
inline |
Definition at line 106 of file pt-arg-list.h.
References octave::tree_walker::visit_argument_list().
Referenced by octave::tree_print_code::visit_cell(), octave::tree_walker::visit_cell(), octave::tree_checker::visit_complex_for_command(), octave::tree_print_code::visit_complex_for_command(), octave::tree_walker::visit_complex_for_command(), octave::tree_print_code::visit_index_expression(), octave::tree_walker::visit_index_expression(), octave::tree_print_code::visit_matrix(), octave::tree_walker::visit_matrix(), octave::tree_checker::visit_multi_assignment(), octave::tree_print_code::visit_multi_assignment(), and octave::tree_walker::visit_multi_assignment().
bool octave::tree_argument_list::all_elements_are_constant | ( | void | ) | const |
Definition at line 69 of file pt-arg-list.cc.
References octave::tree_expression::is_constant().
Referenced by octave::tree_array_list::all_elements_are_constant().
void octave::tree_argument_list::append | ( | const element_type & | s | ) |
Definition at line 57 of file pt-arg-list.cc.
References octave::base_list< elt_type >::append(), octave::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 * octave::tree_argument_list::dup | ( | symbol_scope & | scope | ) | const |
Definition at line 141 of file pt-arg-list.cc.
References tree_argument_list(), append(), octave::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 octave::tree_argument_list::get_arg_names | ( | void | ) | const |
Definition at line 101 of file pt-arg-list.cc.
References len, octave::base_list< tree_expression * >::length(), retval, and octave::tree::str_print_code().
Referenced by octave::tree_index_expression::append().
|
inline |
Definition at line 72 of file pt-arg-list.h.
References m_list_includes_magic_tilde.
Referenced by octave::tree_index_expression::append(), and octave::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 octave::base_parser::make_assign_op().
bool octave::tree_argument_list::is_valid_lvalue_list | ( | void | ) | const |
Definition at line 81 of file pt-arg-list.cc.
References octave::tree_expression::is_identifier(), octave::tree_expression::is_index_expression(), and retval.
Referenced by octave::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.
|
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 octave::base_list< tree_expression * >::begin(), octave::base_list< tree_expression * >::erase(), and retval.
Referenced by octave::base_parser::make_assign_op(), and octave::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 > octave::tree_argument_list::variable_names | ( | void | ) | const |
Definition at line 116 of file pt-arg-list.cc.
References octave::tree_expression::is_identifier(), octave::tree_expression::is_index_expression(), octave::tree_identifier::name(), octave::tree_index_expression::name(), and retval.
Referenced by octave::base_parser::make_assign_op(), and octave::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().