Public Member Functions | |
symbol_info_accumulator (bool match_all=true, bool first_only=true) | |
symbol_info_accumulator (const std::string &pattern, bool have_regexp=false) | |
symbol_info_accumulator (const string_vector &patterns, bool have_regexp=false) | |
symbol_info_accumulator (const symbol_info_accumulator &)=delete | |
~symbol_info_accumulator (void)=default | |
void | display (std::ostream &os, const std::string &format) const |
bool | is_empty (void) const |
octave_map | map_value (void) const |
std::list< std::string > | names (void) const |
symbol_info_accumulator & | operator= (const symbol_info_accumulator &)=delete |
symbol_info_list | symbol_info (void) const |
void | visit_compiled_fcn_stack_frame (compiled_fcn_stack_frame &frame) |
void | visit_scope_stack_frame (scope_stack_frame &frame) |
void | visit_script_stack_frame (script_stack_frame &frame) |
void | visit_user_fcn_stack_frame (user_fcn_stack_frame &frame) |
Private Types | |
typedef std::pair< std::string, symbol_info_list > | syminf_list_elt |
Private Member Functions | |
void | append_list (stack_frame &frame) |
std::list< symbol_record > | filter (stack_frame &frame, const std::list< symbol_record > &symbols) |
Private Attributes | |
bool | m_first_only |
std::set< std::string > | m_found_names |
bool | m_have_regexp |
bool | m_match_all |
string_vector | m_patterns |
std::list< std::pair< std::string, symbol_info_list > > | m_sym_inf_list |
Definition at line 775 of file stack-frame.cc.
|
private |
Definition at line 928 of file stack-frame.cc.
|
inline |
Definition at line 779 of file stack-frame.cc.
|
inline |
Definition at line 786 of file stack-frame.cc.
|
inline |
Definition at line 793 of file stack-frame.cc.
|
delete |
|
default |
|
inlineprivate |
Definition at line 1015 of file stack-frame.cc.
References string_vector::empty(), filter(), stack_frame::get_scope(), m_match_all, m_patterns, m_sym_inf_list, stack_frame::make_symbol_info_list(), symbol_scope::name(), and symbol_scope::symbol_list().
Referenced by visit_scope_stack_frame(), and visit_user_fcn_stack_frame().
|
inline |
Definition at line 874 of file stack-frame.cc.
References symbol_info_list::display(), format(), and m_sym_inf_list.
Referenced by stack_frame::who().
|
inlineprivate |
Definition at line 935 of file stack-frame.cc.
References stack_frame::is_defined(), regexp::is_match(), m_first_only, m_found_names, m_have_regexp, m_match_all, m_patterns, glob_match::match(), and string_vector::numel().
Referenced by append_list().
|
inline |
Definition at line 805 of file stack-frame.cc.
References base_list< elt_type >::empty(), and m_sym_inf_list.
Referenced by stack_frame::who().
|
inline |
Definition at line 850 of file stack-frame.cc.
References octave_map::cat(), m_sym_inf_list, symbol_info_list::map_value(), and OCTAVE_LOCAL_BUFFER.
Referenced by stack_frame::who().
|
inline |
Definition at line 818 of file stack-frame.cc.
References m_sym_inf_list, and symbol_info_list::names().
Referenced by stack_frame::who().
|
delete |
|
inline |
Definition at line 835 of file stack-frame.cc.
References m_sym_inf_list, and base_list< elt_type >::push_back().
Referenced by stack_frame::all_variables(), stack_frame::glob_symbol_info(), and stack_frame::regexp_symbol_info().
|
inlinevirtual |
Implements stack_frame_walker.
Definition at line 886 of file stack-frame.cc.
References stack_frame::static_link().
|
inlinevirtual |
Implements stack_frame_walker.
Definition at line 916 of file stack-frame.cc.
References stack_frame::access_link(), and append_list().
|
inlinevirtual |
Implements stack_frame_walker.
Definition at line 898 of file stack-frame.cc.
References stack_frame::access_link().
|
inlinevirtual |
Implements stack_frame_walker.
Definition at line 906 of file stack-frame.cc.
References stack_frame::access_link(), and append_list().
|
private |
Definition at line 1032 of file stack-frame.cc.
Referenced by filter().
|
private |
Definition at line 1037 of file stack-frame.cc.
Referenced by filter().
|
private |
Definition at line 1033 of file stack-frame.cc.
Referenced by filter().
|
private |
Definition at line 1031 of file stack-frame.cc.
Referenced by append_list(), and filter().
|
private |
Definition at line 1029 of file stack-frame.cc.
Referenced by append_list(), and filter().
|
private |
Definition at line 1035 of file stack-frame.cc.
Referenced by append_list(), display(), is_empty(), map_value(), names(), and symbol_info().