#include "base-list.h"
Public Types | |
typedef std::list< elt_type >::const_iterator | const_iterator |
typedef std::list< elt_type >::const_reverse_iterator | const_reverse_iterator |
typedef std::list< elt_type >::iterator | iterator |
typedef std::list< elt_type >::reverse_iterator | reverse_iterator |
Public Member Functions | |
base_list (const base_list &bl)=default | |
base_list (const std::list< elt_type > &l) | |
base_list (void)=default | |
virtual | ~base_list (void)=default |
void | append (const elt_type &s) |
elt_type & | back (void) |
const elt_type & | back (void) const |
iterator | begin (void) |
const_iterator | begin (void) const |
void | clear (void) |
bool | empty (void) const |
iterator | end (void) |
const_iterator | end (void) const |
iterator | erase (iterator pos) |
elt_type & | front (void) |
const elt_type & | front (void) const |
std::size_t | length (void) const |
base_list & | operator= (const base_list &bl)=default |
void | pop_back (void) |
void | pop_front (void) |
void | push_back (const elt_type &s) |
void | push_front (const elt_type &s) |
reverse_iterator | rbegin (void) |
const_reverse_iterator | rbegin (void) const |
template<typename P > | |
void | remove_if (P pred) |
reverse_iterator | rend (void) |
const_reverse_iterator | rend (void) const |
std::size_t | size (void) const |
Protected Attributes | |
std::list< elt_type > | m_lst |
Definition at line 38 of file base-list.h.
typedef std::list<elt_type>::const_iterator base_list< elt_type >::const_iterator |
Definition at line 44 of file base-list.h.
typedef std::list<elt_type>::const_reverse_iterator base_list< elt_type >::const_reverse_iterator |
Definition at line 48 of file base-list.h.
Definition at line 43 of file base-list.h.
typedef std::list<elt_type>::reverse_iterator base_list< elt_type >::reverse_iterator |
Definition at line 46 of file base-list.h.
|
inline |
Definition at line 96 of file base-list.h.
|
default |
|
inline |
Definition at line 92 of file base-list.h.
Referenced by comment_list::append(), tree_argument_list::append(), call_stack::do_global_who_two(), tree_parameter_list::dup(), base_parser::make_script(), stack_frame::make_symbol_info_list(), and base_parser::start_function().
|
inline |
Definition at line 80 of file base-list.h.
Referenced by check_for_doc_string(), base_parser::make_classdef_properties_block(), base_parser::maybe_warn_missing_semi(), base_parser::set_stmt_print_flag(), and base_parser::validate_param_list().
|
inline |
Definition at line 83 of file base-list.h.
Definition at line 65 of file base-list.h.
Referenced by tree_multi_assignment::evaluate_n(), octregexp(), tree_print_code::print_comment_list(), regexp::replace(), tree_checker::visit_argument_list(), tree_print_code::visit_argument_list(), tree_walker::visit_argument_list(), tree_print_code::visit_cell(), tree_walker::visit_cell(), tree_evaluator::visit_complex_for_command(), tree_print_code::visit_decl_init_list(), tree_print_code::visit_if_command_list(), tree_walker::visit_if_command_list(), tree_print_code::visit_matrix(), tree_walker::visit_matrix(), tree_print_code::visit_parameter_list(), tree_walker::visit_parameter_list(), tree_evaluator::visit_statement_list(), and tree_walker::visit_switch_case_list().
|
inline |
Definition at line 66 of file base-list.h.
|
inline |
Definition at line 63 of file base-list.h.
|
inline |
Definition at line 50 of file base-list.h.
Referenced by call_stack::do_global_who_two(), base_parser::finish_if_command(), base_parser::finish_switch_command(), symbol_info_accumulator::is_empty(), and base_parser::make_try_command().
Definition at line 68 of file base-list.h.
Referenced by tree_print_code::print_comment_list(), base_parser::validate_param_list(), tree_checker::visit_argument_list(), tree_print_code::visit_argument_list(), tree_walker::visit_argument_list(), tree_print_code::visit_cell(), tree_walker::visit_cell(), tree_print_code::visit_decl_init_list(), tree_print_code::visit_if_command_list(), tree_walker::visit_if_command_list(), tree_print_code::visit_matrix(), tree_walker::visit_matrix(), tree_print_code::visit_parameter_list(), tree_walker::visit_parameter_list(), tree_evaluator::visit_statement_list(), and tree_walker::visit_switch_case_list().
|
inline |
Definition at line 69 of file base-list.h.
Definition at line 55 of file base-list.h.
Referenced by base_parser::validate_param_list().
|
inline |
Definition at line 79 of file base-list.h.
Referenced by tree_evaluator::execute_user_function(), base_parser::finish_if_command(), base_parser::finish_switch_command(), tree_classdef_body::get_doc_string(), cdef_class::cdef_class_rep::install_method(), is_method_executing(), base_parser::make_classdef_properties_block(), base_parser::make_try_command(), base_anonymous_fcn_handle::print_raw(), and base_parser::validate_matrix_for_assignment().
|
inline |
Definition at line 82 of file base-list.h.
|
inline |
Definition at line 53 of file base-list.h.
Referenced by tree_evaluator::convert_return_list_to_const_vector(), tree_index_expression::evaluate_n(), tree_evaluator::execute_user_function(), Fnargin(), Fnargout(), base_parser::make_for_command(), tree_evaluator::make_value_list(), base_anonymous_fcn_handle::print_raw(), base_parser::validate_param_list(), tree_checker::visit_complex_for_command(), tree_print_code::visit_multi_assignment(), and tree_print_code::visit_parameter_list().
|
default |
|
inline |
Definition at line 89 of file base-list.h.
Referenced by base_parser::set_stmt_print_flag().
|
inline |
Definition at line 88 of file base-list.h.
Referenced by base_parser::make_try_command(), and base_parser::validate_matrix_for_assignment().
|
inline |
Definition at line 86 of file base-list.h.
Referenced by symbol_info_accumulator::symbol_info().
|
inline |
Definition at line 85 of file base-list.h.
|
inline |
Definition at line 71 of file base-list.h.
|
inline |
Definition at line 72 of file base-list.h.
|
inline |
Definition at line 58 of file base-list.h.
|
inline |
Definition at line 75 of file base-list.h.
|
inline |
Definition at line 76 of file base-list.h.
|
inline |
Definition at line 52 of file base-list.h.
Referenced by cdef_class::cdef_class_rep::install_method(), regexp::is_match(), is_method_executing(), octregexp(), regexp::replace(), and base_parser::validate_matrix_for_assignment().
|
protected |
Definition at line 106 of file base-list.h.