Public Member Functions | |
symbol_cleaner (bool clear_all_names=true, bool clear_objects=false) | |
symbol_cleaner (const std::string &pattern, bool have_regexp=false) | |
symbol_cleaner (const string_vector &patterns, bool have_regexp=false) | |
symbol_cleaner (const symbol_cleaner &)=delete | |
~symbol_cleaner (void)=default | |
symbol_cleaner & | operator= (const symbol_cleaner &)=delete |
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 Member Functions | |
void | clean_frame (stack_frame &frame) |
void | clear_symbols (stack_frame &frame, const std::list< symbol_record > &symbols) |
void | maybe_clear_symbol (stack_frame &frame, const symbol_record &sym) |
Private Attributes | |
bool | m_clear_all_names |
bool | m_clear_objects |
std::set< std::string > | m_cleared_names |
bool | m_have_regexp |
string_vector | m_patterns |
Definition at line 616 of file stack-frame.cc.
|
inline |
Definition at line 620 of file stack-frame.cc.
|
inline |
Definition at line 626 of file stack-frame.cc.
|
inline |
Definition at line 632 of file stack-frame.cc.
|
delete |
|
default |
|
inlineprivate |
Definition at line 756 of file stack-frame.cc.
References clear_symbols(), string_vector::empty(), stack_frame::get_scope(), m_clear_all_names, m_patterns, and symbol_scope::symbol_list().
Referenced by visit_scope_stack_frame(), and visit_user_fcn_stack_frame().
|
inlineprivate |
Definition at line 712 of file stack-frame.cc.
References regexp::is_match(), m_clear_all_names, m_have_regexp, m_patterns, glob_match::match(), maybe_clear_symbol(), and string_vector::numel().
Referenced by clean_frame().
|
inlineprivate |
Definition at line 686 of file stack-frame.cc.
References stack_frame::clear(), stack_frame::is_object(), m_clear_objects, m_cleared_names, and symbol_record::name().
Referenced by clear_symbols().
|
delete |
|
inlinevirtual |
Implements stack_frame_walker.
Definition at line 644 of file stack-frame.cc.
References stack_frame::static_link().
|
inlinevirtual |
Implements stack_frame_walker.
Definition at line 674 of file stack-frame.cc.
References stack_frame::access_link(), and clean_frame().
|
inlinevirtual |
Implements stack_frame_walker.
Definition at line 656 of file stack-frame.cc.
References stack_frame::access_link().
|
inlinevirtual |
Implements stack_frame_walker.
Definition at line 664 of file stack-frame.cc.
References stack_frame::access_link(), and clean_frame().
|
private |
Definition at line 768 of file stack-frame.cc.
Referenced by clean_frame(), and clear_symbols().
|
private |
Definition at line 769 of file stack-frame.cc.
Referenced by maybe_clear_symbol().
|
private |
Definition at line 772 of file stack-frame.cc.
Referenced by maybe_clear_symbol().
|
private |
Definition at line 770 of file stack-frame.cc.
Referenced by clear_symbols().
|
private |
Definition at line 766 of file stack-frame.cc.
Referenced by clean_frame(), and clear_symbols().