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>

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.
 
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.
 

Detailed Description

Definition at line 28 of file CPlusPlusLanguage.h.

Constructor & Destructor Documentation

◆ MethodName() [1/2]

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

Definition at line 30 of file CPlusPlusLanguage.h.

◆ MethodName() [2/2]

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

Definition at line 33 of file CPlusPlusLanguage.h.

Member Function Documentation

◆ Clear()

void CPlusPlusLanguage::MethodName::Clear ( )

◆ 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 ( )
private

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

Definition at line 319 of file CPlusPlusLanguage.cpp.

References ReverseFindMatchingChars().

◆ GetContext()

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

◆ GetFullName()

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

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 299 of file CPlusPlusLanguage.cpp.

◆ GetScopeQualifiedName()

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

◆ IsValid()

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

◆ Parse()

void CPlusPlusLanguage::MethodName::Parse ( )
protected

◆ TrySimplifiedParse()

bool CPlusPlusLanguage::MethodName::TrySimplifiedParse ( )
protected

Definition at line 211 of file CPlusPlusLanguage.cpp.

References IsTrivialBasename(), and ReverseFindMatchingChars().

Member Data Documentation

◆ m_arguments

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

Definition at line 91 of file CPlusPlusLanguage.h.

Referenced by Clear().

◆ m_basename

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

Definition at line 89 of file CPlusPlusLanguage.h.

Referenced by Clear().

◆ m_context

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

Definition at line 90 of file CPlusPlusLanguage.h.

Referenced by Clear().

◆ m_full

ConstString lldb_private::CPlusPlusLanguage::MethodName::m_full
protected

Definition at line 86 of file CPlusPlusLanguage.h.

Referenced by Clear(), GetFullName(), and IsValid().

◆ m_parse_error

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

Definition at line 95 of file CPlusPlusLanguage.h.

Referenced by Clear(), and IsValid().

◆ m_parsed

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

Definition at line 94 of file CPlusPlusLanguage.h.

Referenced by Clear(), and IsValid().

◆ m_qualifiers

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

Definition at line 92 of file CPlusPlusLanguage.h.

Referenced by Clear().

◆ m_return_type

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

Definition at line 93 of file CPlusPlusLanguage.h.

Referenced by Clear().


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