GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#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 |
Private Member Functions | |
tree_argument_list (const tree_argument_list &) | |
tree_argument_list & | operator= (const tree_argument_list &) |
Private Attributes | |
bool | list_includes_magic_end |
bool | list_includes_magic_tilde |
bool | simple_assign_lhs |
Definition at line 41 of file pt-arg-list.h.
|
inherited |
Definition at line 37 of file base-list.h.
|
inherited |
Definition at line 40 of file base-list.h.
Definition at line 46 of file pt-arg-list.h.
|
inherited |
Definition at line 36 of file base-list.h.
|
inherited |
Definition at line 39 of file base-list.h.
|
inline |
Definition at line 48 of file pt-arg-list.h.
Referenced by dup().
|
inline |
Definition at line 52 of file pt-arg-list.h.
tree_argument_list::~tree_argument_list | ( | void | ) |
Definition at line 49 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().
|
private |
void tree_argument_list::accept | ( | tree_walker & | tw | ) |
Definition at line 352 of file pt-arg-list.cc.
References tree_walker::visit_argument_list().
Referenced by tree_checker::visit_cell(), tree_print_code::visit_cell(), tree_checker::visit_complex_for_command(), tree_print_code::visit_complex_for_command(), tree_checker::visit_index_expression(), tree_print_code::visit_index_expression(), tree_checker::visit_matrix(), tree_print_code::visit_matrix(), tree_checker::visit_multi_assignment(), and tree_print_code::visit_multi_assignment().
Definition at line 89 of file pt-arg-list.cc.
References octave_base_list< tree_expression * >::begin(), octave_base_list< tree_expression * >::end(), and 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 74 of file pt-arg-list.cc.
References tree_expression::has_magic_end(), tree_expression::is_identifier(), list_includes_magic_end, and list_includes_magic_tilde.
Referenced by dup().
|
inlineinherited |
Definition at line 105 of file base-list.h.
|
inlineinherited |
Definition at line 93 of file base-list.h.
|
inlineinherited |
Definition at line 96 of file base-list.h.
|
inlineinherited |
Definition at line 78 of file base-list.h.
Referenced by all_elements_are_constant(), convert_to_const_vector(), dup(), get_arg_names(), has_magic_end(), is_valid_lvalue_list(), lvalue_list(), variable_names(), and ~tree_argument_list().
|
inlineinherited |
Definition at line 79 of file base-list.h.
|
inlineinherited |
Definition at line 76 of file base-list.h.
octave_value_list tree_argument_list::convert_to_const_vector | ( | const octave_value * | object = 0 | ) |
Definition at line 204 of file pt-arg-list.cc.
References octave_base_list< tree_expression * >::begin(), error(), error_state, octave_value::is_cs_list(), octave_value::is_defined(), octave_base_list< tree_expression * >::length(), list_includes_magic_end, octave_value::list_value(), action_container::protect_var(), and tree_expression::rvalue1().
Referenced by make_subs_cell(), make_value_list(), and tree_cell::rvalue1().
tree_argument_list * tree_argument_list::dup | ( | symbol_table::scope_id | scope, |
symbol_table::context_id | context | ||
) | const |
Definition at line 333 of file pt-arg-list.cc.
References append(), octave_base_list< tree_expression * >::begin(), tree_expression::dup(), octave_base_list< tree_expression * >::end(), list_includes_magic_end, simple_assign_lhs, and tree_argument_list().
Referenced by tree_array_list::copy_base(), tree_index_expression::dup(), tree_multi_assignment::dup(), and tree_complex_for_command::dup().
|
inlineinherited |
Definition at line 42 of file base-list.h.
Referenced by ~tree_argument_list().
|
inlineinherited |
Definition at line 81 of file base-list.h.
Referenced by all_elements_are_constant(), dup(), get_arg_names(), has_magic_end(), is_valid_lvalue_list(), lvalue_list(), and variable_names().
|
inlineinherited |
Definition at line 82 of file base-list.h.
|
inlineinherited |
Definition at line 47 of file base-list.h.
Referenced by ~tree_argument_list().
|
inlineinherited |
Definition at line 92 of file base-list.h.
|
inlineinherited |
Definition at line 95 of file base-list.h.
string_vector tree_argument_list::get_arg_names | ( | void | ) | const |
Definition at line 287 of file pt-arg-list.cc.
References octave_base_list< tree_expression * >::begin(), octave_base_list< tree_expression * >::end(), octave_base_list< tree_expression * >::length(), and tree::str_print_code().
Referenced by tree_index_expression::append().
Definition at line 60 of file pt-arg-list.cc.
References octave_base_list< tree_expression * >::begin(), octave_base_list< tree_expression * >::end(), and tree_expression::has_magic_end().
Referenced by tree_array_list::has_magic_end(), tree_index_expression::has_magic_end(), make_value_list(), and tree_index_expression::rvalue().
Definition at line 61 of file pt-arg-list.h.
Referenced by tree_index_expression::append().
Definition at line 76 of file pt-arg-list.h.
Definition at line 103 of file pt-arg-list.cc.
References octave_base_list< tree_expression * >::begin(), octave_base_list< tree_expression * >::end(), tree_expression::is_identifier(), and tree_expression::is_index_expression().
|
inlineinherited |
Definition at line 45 of file base-list.h.
Referenced by convert_to_const_vector(), and get_arg_names().
std::list< octave_lvalue > tree_argument_list::lvalue_list | ( | void | ) |
Definition at line 270 of file pt-arg-list.cc.
References octave_base_list< tree_expression * >::begin(), octave_base_list< tree_expression * >::end(), and tree_expression::lvalue().
Referenced by tree_multi_assignment::rvalue().
Definition at line 74 of file pt-arg-list.h.
|
private |
|
inlineinherited |
Definition at line 102 of file base-list.h.
|
inlineinherited |
Definition at line 101 of file base-list.h.
|
inlineinherited |
Definition at line 99 of file base-list.h.
|
inlineinherited |
Definition at line 98 of file base-list.h.
|
inlineinherited |
Definition at line 84 of file base-list.h.
|
inlineinherited |
Definition at line 85 of file base-list.h.
|
inline |
Definition at line 64 of file pt-arg-list.h.
|
inlineinherited |
Definition at line 50 of file base-list.h.
|
inlineinherited |
Definition at line 88 of file base-list.h.
|
inlineinherited |
Definition at line 89 of file base-list.h.
|
inlineinherited |
Definition at line 44 of file base-list.h.
std::list< std::string > tree_argument_list::variable_names | ( | void | ) | const |
|
private |
Definition at line 97 of file pt-arg-list.h.
Referenced by append(), convert_to_const_vector(), and dup().
|
private |
Definition at line 99 of file pt-arg-list.h.
Referenced by append().
|
private |
Definition at line 101 of file pt-arg-list.h.
Referenced by dup().