LLDB  mainline
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
lldb_private::CPlusPlusLanguage::MethodName Class Reference

#include <CPlusPlusLanguage.h>

Collaboration diagram for lldb_private::CPlusPlusLanguage::MethodName:
Collaboration graph

Public Member Functions

 MethodName ()
 MethodName (ConstString s)
void Clear ()
bool IsValid ()
ConstString GetFullName () const
std::string GetScopeQualifiedName ()
llvm::StringRef GetBasename ()
llvm::StringRef GetContext ()
llvm::StringRef GetArguments ()
llvm::StringRef GetQualifiers ()
llvm::StringRef GetReturnType ()
 Returns the methods return-type. More...
bool ContainsPath (llvm::StringRef path)

Protected Member Functions

void Parse ()
bool TrySimplifiedParse ()

Protected Attributes

ConstString m_full
llvm::StringRef m_basename
llvm::StringRef m_context
llvm::StringRef m_arguments
llvm::StringRef m_qualifiers
llvm::StringRef m_return_type
bool m_parsed = false
bool m_parse_error = false

Private Member Functions

llvm::StringRef GetBasenameNoTemplateParameters ()
 Returns the Basename of this method without a template parameter list, if any. More...

Detailed Description

Definition at line 28 of file CPlusPlusLanguage.h.

Constructor & Destructor Documentation

◆ MethodName() [1/2]

lldb_private::CPlusPlusLanguage::MethodName::MethodName ( )

Definition at line 30 of file CPlusPlusLanguage.h.

◆ MethodName() [2/2]

lldb_private::CPlusPlusLanguage::MethodName::MethodName ( ConstString  s)

Definition at line 33 of file CPlusPlusLanguage.h.

Member Function Documentation

◆ Clear()

void CPlusPlusLanguage::MethodName::Clear ( )

Definition at line 108 of file CPlusPlusLanguage.cpp.

◆ ContainsPath()

bool CPlusPlusLanguage::MethodName::ContainsPath ( llvm::StringRef  path)

◆ GetArguments()

llvm::StringRef CPlusPlusLanguage::MethodName::GetArguments ( )

◆ GetBasename()

llvm::StringRef CPlusPlusLanguage::MethodName::GetBasename ( )

◆ GetBasenameNoTemplateParameters()

llvm::StringRef CPlusPlusLanguage::MethodName::GetBasenameNoTemplateParameters ( )

Returns the Basename of this method without a template parameter list, if any.

Definition at line 318 of file CPlusPlusLanguage.cpp.

References ReverseFindMatchingChars().

◆ GetContext()

llvm::StringRef CPlusPlusLanguage::MethodName::GetContext ( )

◆ GetFullName()

ConstString lldb_private::CPlusPlusLanguage::MethodName::GetFullName ( ) const

Definition at line 47 of file CPlusPlusLanguage.h.

References m_full.

◆ GetQualifiers()

llvm::StringRef CPlusPlusLanguage::MethodName::GetQualifiers ( )

◆ GetReturnType()

llvm::StringRef CPlusPlusLanguage::MethodName::GetReturnType ( )

Returns the methods return-type.

Currently returns an empty llvm::StringRef if the return-type is a function pointer.

Definition at line 298 of file CPlusPlusLanguage.cpp.

◆ GetScopeQualifiedName()

std::string CPlusPlusLanguage::MethodName::GetScopeQualifiedName ( )

◆ IsValid()

bool lldb_private::CPlusPlusLanguage::MethodName::IsValid ( )

◆ Parse()

void CPlusPlusLanguage::MethodName::Parse ( )

◆ TrySimplifiedParse()

bool CPlusPlusLanguage::MethodName::TrySimplifiedParse ( )

Definition at line 210 of file CPlusPlusLanguage.cpp.

References IsTrivialBasename(), and ReverseFindMatchingChars().

Member Data Documentation

◆ m_arguments

llvm::StringRef lldb_private::CPlusPlusLanguage::MethodName::m_arguments

Definition at line 91 of file CPlusPlusLanguage.h.

◆ m_basename

llvm::StringRef lldb_private::CPlusPlusLanguage::MethodName::m_basename

Definition at line 89 of file CPlusPlusLanguage.h.

◆ m_context

llvm::StringRef lldb_private::CPlusPlusLanguage::MethodName::m_context

Definition at line 90 of file CPlusPlusLanguage.h.

◆ m_full

ConstString lldb_private::CPlusPlusLanguage::MethodName::m_full

Definition at line 86 of file CPlusPlusLanguage.h.

Referenced by GetFullName(), and IsValid().

◆ m_parse_error

bool lldb_private::CPlusPlusLanguage::MethodName::m_parse_error = false

Definition at line 95 of file CPlusPlusLanguage.h.

Referenced by IsValid().

◆ m_parsed

bool lldb_private::CPlusPlusLanguage::MethodName::m_parsed = false

Definition at line 94 of file CPlusPlusLanguage.h.

Referenced by IsValid().

◆ m_qualifiers

llvm::StringRef lldb_private::CPlusPlusLanguage::MethodName::m_qualifiers

Definition at line 92 of file CPlusPlusLanguage.h.

◆ m_return_type

llvm::StringRef lldb_private::CPlusPlusLanguage::MethodName::m_return_type

Definition at line 93 of file CPlusPlusLanguage.h.

The documentation for this class was generated from the following files: