LLDB mainline
|
#include <OptionValueLanguage.h>
Protected Attributes | |
lldb::LanguageType | m_current_value |
lldb::LanguageType | m_default_value |
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 18 of file OptionValueLanguage.h.
|
inline |
Definition at line 20 of file OptionValueLanguage.h.
|
inline |
Definition at line 23 of file OptionValueLanguage.h.
|
overridedefault |
|
inlineoverridevirtual |
Implements lldb_private::OptionValue.
Definition at line 42 of file OptionValueLanguage.h.
References m_current_value, m_default_value, and lldb_private::OptionValue::m_value_was_set.
Referenced by OptionGroupReadMemory::OptionParsingStarting(), CommandObjectTypeFormatterList< FormatterType >::CommandOptions::OptionParsingStarting(), and SetValueFromString().
|
overridevirtual |
Implements lldb_private::OptionValue.
Definition at line 20 of file OptionValueLanguage.cpp.
References lldb_private::OptionValue::eDumpOptionType, lldb_private::OptionValue::eDumpOptionValue, lldb::eLanguageTypeUnknown, lldb_private::Language::GetNameForLanguageType(), lldb_private::OptionValue::GetTypeAsCString(), m_current_value, lldb_private::Stream::Printf(), and lldb_private::Stream::PutCString().
|
inline |
Definition at line 49 of file OptionValueLanguage.h.
References m_current_value.
Referenced by CommandObjectTypeCategoryEnable::CommandObjectTypeCategoryEnable(), CommandObjectMemoryRead::DoExecute(), and CommandObjectTypeFormatterList< FormatterType >::DoExecute().
|
inline |
Definition at line 51 of file OptionValueLanguage.h.
References m_default_value.
|
inlineoverridevirtual |
Implements lldb_private::OptionValue.
Definition at line 31 of file OptionValueLanguage.h.
References lldb_private::OptionValue::eTypeLanguage.
|
inline |
Definition at line 53 of file OptionValueLanguage.h.
References m_current_value.
|
inline |
Definition at line 55 of file OptionValueLanguage.h.
References m_default_value.
|
overridevirtual |
Reimplemented from lldb_private::OptionValue.
Definition at line 36 of file OptionValueLanguage.cpp.
References bit, lldb_private::LanguageSet::bitvector, 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::Language::GetLanguagesSupportingTypeSystems(), lldb_private::Language::GetLanguageTypeFromString(), lldb_private::Language::GetNameForLanguageType(), lldb_private::StreamString::GetString(), m_current_value, lldb_private::OptionValue::m_value_was_set, lldb_private::Stream::Printf(), and lldb_private::OptionValue::SetValueFromString().
Referenced by CommandObjectTypeFormatterList< FormatterType >::CommandOptions::SetOptionValue(), and OptionGroupReadMemory::SetOptionValue().
|
overridevirtual |
Reimplemented from lldb_private::OptionValue.
Definition at line 32 of file OptionValueLanguage.cpp.
References lldb_private::Language::GetNameForLanguageType(), and m_current_value.
|
protected |
Definition at line 58 of file OptionValueLanguage.h.
Referenced by Clear(), DumpValue(), GetCurrentValue(), SetCurrentValue(), SetValueFromString(), and ToJSON().
|
protected |
Definition at line 59 of file OptionValueLanguage.h.
Referenced by Clear(), GetDefaultValue(), and SetDefaultValue().