LLDB
mainline
|
#include <ObjCLanguage.h>
Public Types | |
enum | Type { eTypeUnspecified, eTypeClassMethod, eTypeInstanceMethod } |
Public Member Functions | |
MethodName () | |
MethodName (const char *name, bool strict) | |
MethodName (llvm::StringRef name, bool strict) | |
void | Clear () |
bool | IsValid (bool strict) const |
bool | HasCategory () |
Type | GetType () const |
ConstString | GetFullName () const |
ConstString | GetFullNameWithoutCategory (bool empty_if_no_category) |
bool | SetName (const char *name, bool strict) |
bool | SetName (llvm::StringRef name, bool strict) |
ConstString | GetClassName () |
ConstString | GetClassNameWithCategory () |
ConstString | GetCategory () |
ConstString | GetSelector () |
Protected Attributes | |
ConstString | m_full |
ConstString | m_class |
ConstString | m_class_category |
ConstString | m_category |
ConstString | m_selector |
Type | m_type = eTypeUnspecified |
bool | m_category_is_valid = false |
Definition at line 26 of file ObjCLanguage.h.
Enumerator | |
---|---|
eTypeUnspecified | |
eTypeClassMethod | |
eTypeInstanceMethod |
Definition at line 28 of file ObjCLanguage.h.
|
inline |
Definition at line 30 of file ObjCLanguage.h.
|
inline |
Definition at line 32 of file ObjCLanguage.h.
References SetName().
|
inline |
Definition at line 37 of file ObjCLanguage.h.
References SetName().
void ObjCLanguage::MethodName::Clear | ( | ) |
Definition at line 62 of file ObjCLanguage.cpp.
ConstString ObjCLanguage::MethodName::GetCategory | ( | ) |
Definition at line 174 of file ObjCLanguage.cpp.
References lldb_private::ConstString::GetCString().
Referenced by HasCategory().
ConstString ObjCLanguage::MethodName::GetClassName | ( | ) |
Definition at line 110 of file ObjCLanguage.cpp.
References lldb_private::ConstString::GetCString().
Referenced by lldb_private::ManualDWARFIndex::IndexUnitImpl(), and DWARFASTParserClang::ParseSubroutine().
ConstString ObjCLanguage::MethodName::GetClassNameWithCategory | ( | ) |
Definition at line 136 of file ObjCLanguage.cpp.
References lldb_private::ConstString::GetCString().
Referenced by lldb_private::ManualDWARFIndex::IndexUnitImpl().
|
inline |
Definition at line 59 of file ObjCLanguage.h.
References m_full.
Referenced by lldb_private::ObjCLanguage::GetMethodNameVariants().
ConstString ObjCLanguage::MethodName::GetFullNameWithoutCategory | ( | bool | empty_if_no_category | ) |
Definition at line 193 of file ObjCLanguage.cpp.
References lldb_private::StreamString::GetString(), lldb_private::Stream::Printf(), and lldb_private::Stream::PutChar().
Referenced by lldb_private::ObjCLanguage::GetMethodNameVariants(), and lldb_private::ManualDWARFIndex::IndexUnitImpl().
ConstString ObjCLanguage::MethodName::GetSelector | ( | ) |
Definition at line 159 of file ObjCLanguage.cpp.
References lldb_private::ConstString::GetCString().
Referenced by lldb_private::ObjCLanguage::GetMethodNameVariants(), and lldb_private::ManualDWARFIndex::IndexUnitImpl().
|
inline |
Definition at line 57 of file ObjCLanguage.h.
References m_type.
Referenced by lldb_private::ObjCLanguage::GetMethodNameVariants().
|
inline |
Definition at line 55 of file ObjCLanguage.h.
References GetCategory(), and lldb_private::ConstString::IsEmpty().
|
inline |
Definition at line 45 of file ObjCLanguage.h.
References eTypeUnspecified, m_full, and m_type.
Referenced by lldb_private::ObjCLanguage::GetMethodNameVariants(), lldb_private::ManualDWARFIndex::IndexUnitImpl(), and DWARFASTParserClang::ParseSubroutine().
bool ObjCLanguage::MethodName::SetName | ( | const char * | name, |
bool | strict | ||
) |
Definition at line 106 of file ObjCLanguage.cpp.
Referenced by MethodName().
bool ObjCLanguage::MethodName::SetName | ( | llvm::StringRef | name, |
bool | strict | ||
) |
Definition at line 71 of file ObjCLanguage.cpp.
|
protected |
Definition at line 80 of file ObjCLanguage.h.
|
protected |
Definition at line 83 of file ObjCLanguage.h.
|
protected |
Definition at line 77 of file ObjCLanguage.h.
|
protected |
Definition at line 79 of file ObjCLanguage.h.
|
protected |
Definition at line 76 of file ObjCLanguage.h.
Referenced by GetFullName(), and IsValid().
|
protected |
Definition at line 81 of file ObjCLanguage.h.
|
protected |
Definition at line 82 of file ObjCLanguage.h.