LLDB mainline
|
#include <OptionValueRegex.h>
Protected Attributes | |
RegularExpression | m_regex |
std::string | m_default_regex_str |
Protected Attributes inherited from lldb_private::OptionValue | |
lldb::OptionValueWP | m_parent_wp |
std::function< void()> | m_callback |
bool | m_value_was_set = false |
Definition at line 17 of file OptionValueRegex.h.
|
inline |
Definition at line 19 of file OptionValueRegex.h.
|
overridedefault |
|
inlineoverridevirtual |
Implements lldb_private::OptionValue.
Definition at line 39 of file OptionValueRegex.h.
References m_default_regex_str, m_regex, and lldb_private::OptionValue::m_value_was_set.
Referenced by SetValueFromString().
|
overridevirtual |
Implements lldb_private::OptionValue.
Definition at line 16 of file OptionValueRegex.cpp.
References lldb_private::OptionValue::eDumpOptionType, lldb_private::OptionValue::eDumpOptionValue, lldb_private::RegularExpression::GetText(), lldb_private::OptionValue::GetTypeAsCString(), lldb_private::RegularExpression::IsValid(), m_regex, lldb_private::Stream::Printf(), and lldb_private::Stream::PutCString().
|
inline |
Definition at line 45 of file OptionValueRegex.h.
References lldb_private::RegularExpression::IsValid(), and m_regex.
Referenced by lldb_private::Disassembler::ElideMixedSourceAndDisassemblyLine().
|
inlineoverridevirtual |
Implements lldb_private::OptionValue.
Definition at line 26 of file OptionValueRegex.h.
References lldb_private::OptionValue::eTypeRegex.
|
inline |
Definition at line 56 of file OptionValueRegex.h.
References lldb_private::RegularExpression::IsValid(), and m_regex.
|
inline |
Definition at line 49 of file OptionValueRegex.h.
References m_regex.
|
overridevirtual |
Reimplemented from lldb_private::OptionValue.
Definition at line 30 of file OptionValueRegex.cpp.
References Clear(), error(), lldb_private::eVarSetOperationAppend, lldb_private::eVarSetOperationAssign, lldb_private::eVarSetOperationClear, lldb_private::eVarSetOperationInsertAfter, lldb_private::eVarSetOperationInsertBefore, lldb_private::eVarSetOperationInvalid, lldb_private::eVarSetOperationRemove, lldb_private::eVarSetOperationReplace, lldb_private::Status::FromError(), lldb_private::Status::FromErrorString(), lldb_private::RegularExpression::GetError(), lldb_private::RegularExpression::IsValid(), m_regex, lldb_private::OptionValue::m_value_was_set, lldb_private::OptionValue::NotifyValueChanged(), and lldb_private::OptionValue::SetValueFromString().
|
inlineoverridevirtual |
Reimplemented from lldb_private::OptionValue.
Definition at line 31 of file OptionValueRegex.h.
References lldb_private::RegularExpression::GetText(), and m_regex.
|
protected |
Definition at line 60 of file OptionValueRegex.h.
Referenced by Clear().
|
protected |
Definition at line 59 of file OptionValueRegex.h.
Referenced by Clear(), DumpValue(), GetCurrentValue(), IsValid(), SetCurrentValue(), SetValueFromString(), and ToJSON().