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 769 of file stack-frame.cc.
|
private |
Definition at line 922 of file stack-frame.cc.
|
inline |
Definition at line 773 of file stack-frame.cc.
|
inline |
Definition at line 780 of file stack-frame.cc.
|
inline |
Definition at line 787 of file stack-frame.cc.
|
delete |
|
default |
|
inlineprivate |
Definition at line 1009 of file stack-frame.cc.
References string_vector::empty(), filter(), octave::stack_frame::get_scope(), m_match_all, m_patterns, m_sym_inf_list, octave::stack_frame::make_symbol_info_list(), octave::symbol_scope::name(), and octave::symbol_scope::symbol_list().
Referenced by visit_scope_stack_frame(), and visit_user_fcn_stack_frame().
|
inline |
Definition at line 868 of file stack-frame.cc.
References octave::symbol_info_list::display(), octave::format(), and m_sym_inf_list.
Referenced by octave::stack_frame::who().
|
inlineprivate |
Definition at line 929 of file stack-frame.cc.
References octave::stack_frame::is_defined(), octave::regexp::is_match(), m_first_only, m_found_names, m_have_regexp, m_match_all, m_patterns, glob_match::match(), name, and string_vector::numel().
Referenced by append_list().
|
inline |
Definition at line 799 of file stack-frame.cc.
References octave::base_list< elt_type >::empty(), and m_sym_inf_list.
Referenced by octave::stack_frame::who().
|
inline |
Definition at line 844 of file stack-frame.cc.
References octave_map::cat(), m_sym_inf_list, octave::symbol_info_list::map_value(), OCTAVE_LOCAL_BUFFER, and retval.
Referenced by octave::stack_frame::who().
|
inline |
Definition at line 812 of file stack-frame.cc.
References m_sym_inf_list, octave::symbol_info_list::names(), and retval.
Referenced by octave::stack_frame::who().
|
delete |
|
inline |
Definition at line 829 of file stack-frame.cc.
References m_sym_inf_list, and retval.
Referenced by octave::stack_frame::all_variables(), octave::stack_frame::glob_symbol_info(), and octave::stack_frame::regexp_symbol_info().
|
inlinevirtual |
Implements octave::stack_frame_walker.
Definition at line 880 of file stack-frame.cc.
References octave::stack_frame::static_link().
|
inlinevirtual |
Implements octave::stack_frame_walker.
Definition at line 910 of file stack-frame.cc.
References octave::stack_frame::access_link(), and append_list().
|
inlinevirtual |
Implements octave::stack_frame_walker.
Definition at line 892 of file stack-frame.cc.
References octave::stack_frame::access_link().
|
inlinevirtual |
Implements octave::stack_frame_walker.
Definition at line 900 of file stack-frame.cc.
References octave::stack_frame::access_link(), and append_list().
|
private |
Definition at line 1026 of file stack-frame.cc.
Referenced by filter().
|
private |
Definition at line 1031 of file stack-frame.cc.
Referenced by filter().
|
private |
Definition at line 1027 of file stack-frame.cc.
Referenced by filter().
|
private |
Definition at line 1025 of file stack-frame.cc.
Referenced by append_list(), and filter().
|
private |
Definition at line 1023 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(), display(), is_empty(), map_value(), names(), and symbol_info().