#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 ()=default | |
base_list (const base_list &bl)=default | |
base_list (const std::list< elt_type > &l) | |
virtual | ~base_list ()=default |
void | append (const elt_type &s) |
elt_type & | back () |
const elt_type & | back () const |
iterator | begin () |
const_iterator | begin () const |
void | clear () |
bool | empty () const |
iterator | end () |
const_iterator | end () const |
iterator | erase (iterator pos) |
elt_type & | front () |
const elt_type & | front () const |
std::size_t | length () const |
base_list & | operator= (const base_list &bl)=default |
void | pop_back () |
void | pop_front () |
void | push_back (const elt_type &s) |
void | push_front (const elt_type &s) |
reverse_iterator | rbegin () |
const_reverse_iterator | rbegin () const |
template<typename P > | |
void | remove_if (P pred) |
reverse_iterator | rend () |
const_reverse_iterator | rend () const |
std::size_t | size () 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::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(), 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(), and base_parser::make_try_command().
Definition at line 68 of file base-list.h.
Referenced by 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 base_parser::finish_if_command(), base_parser::finish_switch_command(), base_parser::make_classdef_properties_block(), base_parser::make_script(), base_parser::make_try_command(), 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(), Fnargin(), Fnargout(), base_parser::make_for_command(), tree_evaluator::make_value_list(), 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.
|
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 regexp::is_match(), regexp::replace(), and base_parser::validate_matrix_for_assignment().
|
protected |
Definition at line 106 of file base-list.h.