#include "pt-arg-list.h"
Public Types | |
typedef tree_expression * | element_type |
Public Member Functions | |
tree_argument_list () | |
tree_argument_list (tree_expression *t) | |
~tree_argument_list () | |
void | accept (tree_walker &tw) |
bool | all_elements_are_constant () const |
filepos | beg_pos () const |
tree_argument_list * | dup (symbol_scope &scope) const |
filepos | end_pos () const |
string_vector | get_arg_names () const |
bool | has_magic_tilde () const |
bool | includes_magic_tilde () const |
bool | is_simple_assign_lhs () |
bool | is_valid_lvalue_list () const |
void | mark_as_simple_assign_lhs () |
tree_argument_list * | mark_in_delims (const token &open_delim, const token &close_delim) |
void | push_back (const element_type &s) |
tree_expression * | remove_front () |
std::list< std::string > | variable_names () const |
Definition at line 52 of file pt-arg-list.h.
Definition at line 56 of file pt-arg-list.h.
|
inline |
Definition at line 58 of file pt-arg-list.h.
Referenced by dup().
|
inline |
Definition at line 60 of file pt-arg-list.h.
References push_back().
tree_argument_list::~tree_argument_list | ( | ) |
Definition at line 46 of file pt-arg-list.cc.
|
inline |
Definition at line 134 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.
|
inline |
Definition at line 72 of file pt-arg-list.h.
References tree_delimiter_list::beg_pos(), tree::beg_pos(), and tree_delimiter_list::empty().
Referenced by tree_multi_assignment::beg_pos().
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(), and push_back().
|
inline |
Definition at line 86 of file pt-arg-list.h.
References tree_delimiter_list::empty(), tree_delimiter_list::end_pos(), and tree::end_pos().
Referenced by tree_index_expression::end_pos().
string_vector tree_argument_list::get_arg_names | ( | ) | const |
Definition at line 101 of file pt-arg-list.cc.
References len.
Referenced by tree_index_expression::append().
|
inline |
Definition at line 100 of file pt-arg-list.h.
Referenced by tree_index_expression::append(), and base_parser::make_index_expression().
|
inline |
Definition at line 105 of file pt-arg-list.h.
|
inline |
Definition at line 122 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.
Referenced by base_parser::validate_matrix_for_assignment().
|
inline |
Definition at line 120 of file pt-arg-list.h.
Referenced by base_parser::validate_matrix_for_assignment().
|
inline |
Definition at line 66 of file pt-arg-list.h.
References tree_delimiter_list::push().
Referenced by tree_index_expression::append().
void tree_argument_list::push_back | ( | const element_type & | s | ) |
Definition at line 57 of file pt-arg-list.cc.
References tree_expression::is_identifier().
Referenced by tree_argument_list(), and dup().
|
inline |
Definition at line 110 of file pt-arg-list.h.
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_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().