LLDB mainline
|
#include <LanguageCategory.h>
Public Types | |
typedef std::unique_ptr< LanguageCategory > | UniquePointer |
Public Member Functions | |
LanguageCategory (lldb::LanguageType lang_type) | |
template<typename ImplSP > | |
bool | Get (FormattersMatchData &match_data, ImplSP &format_sp) |
template<typename ImplSP > | |
bool | GetHardcoded (FormatManager &fmt_mgr, FormattersMatchData &match_data, ImplSP &format_sp) |
lldb::TypeCategoryImplSP | GetCategory () const |
FormatCache & | GetFormatCache () |
void | Enable () |
void | Disable () |
bool | IsEnabled () |
Private Member Functions | |
template<typename ImplSP > | |
auto & | GetHardcodedFinder () |
Definition at line 21 of file LanguageCategory.h.
typedef std::unique_ptr<LanguageCategory> lldb_private::LanguageCategory::UniquePointer |
Definition at line 23 of file LanguageCategory.h.
LanguageCategory::LanguageCategory | ( | lldb::LanguageType | lang_type | ) |
Definition at line 21 of file LanguageCategory.cpp.
References Enable(), lldb_private::Language::FindPlugin(), m_category_sp, m_hardcoded_formats, m_hardcoded_summaries, and m_hardcoded_synthetics.
void LanguageCategory::Disable | ( | ) |
Definition at line 130 of file LanguageCategory.cpp.
References m_category_sp, and m_enabled.
void LanguageCategory::Enable | ( | ) |
Definition at line 124 of file LanguageCategory.cpp.
References lldb_private::TypeCategoryMap::Default, m_category_sp, and m_enabled.
Referenced by LanguageCategory().
bool LanguageCategory::Get | ( | FormattersMatchData & | match_data, |
ImplSP & | format_sp | ||
) |
Definition at line 34 of file LanguageCategory.cpp.
References lldb_private::FormatCache::Get(), lldb_private::FormattersMatchData::GetMatchesVector(), lldb_private::ValueObject::GetObjectRuntimeLanguage(), lldb_private::FormattersMatchData::GetTypeForCache(), lldb_private::FormattersMatchData::GetValueObject(), IsEnabled(), m_category_sp, m_format_cache, and lldb_private::FormatCache::Set().
lldb::TypeCategoryImplSP LanguageCategory::GetCategory | ( | ) | const |
Definition at line 118 of file LanguageCategory.cpp.
References m_category_sp.
FormatCache & LanguageCategory::GetFormatCache | ( | ) |
Definition at line 122 of file LanguageCategory.cpp.
References m_format_cache.
bool LanguageCategory::GetHardcoded | ( | FormatManager & | fmt_mgr, |
FormattersMatchData & | match_data, | ||
ImplSP & | format_sp | ||
) |
Definition at line 90 of file LanguageCategory.cpp.
References lldb_private::FormattersMatchData::GetDynamicValueType(), lldb_private::FormattersMatchData::GetValueObject(), and IsEnabled().
|
private |
bool LanguageCategory::IsEnabled | ( | ) |
Definition at line 136 of file LanguageCategory.cpp.
References m_enabled.
Referenced by Get(), and GetHardcoded().
|
private |
Definition at line 44 of file LanguageCategory.h.
Referenced by Disable(), Enable(), Get(), GetCategory(), and LanguageCategory().
|
private |
Definition at line 55 of file LanguageCategory.h.
Referenced by Disable(), Enable(), and IsEnabled().
|
private |
Definition at line 53 of file LanguageCategory.h.
Referenced by Get(), and GetFormatCache().
|
private |
Definition at line 46 of file LanguageCategory.h.
Referenced by LanguageCategory().
|
private |
Definition at line 47 of file LanguageCategory.h.
Referenced by LanguageCategory().
|
private |
Definition at line 48 of file LanguageCategory.h.
Referenced by LanguageCategory().