LLDB mainline
lldb_private::ExpressionSourceCode Class Reference

#include <ExpressionSourceCode.h>

Inheritance diagram for lldb_private::ExpressionSourceCode:
[legend]

Public Member Functions

bool NeedsWrapping () const
const char * GetName () const

Protected Types

enum  Wrapping : bool { Wrap = true , NoWrap = false }

Protected Member Functions

 ExpressionSourceCode (llvm::StringRef name, llvm::StringRef prefix, llvm::StringRef body, Wrapping wrap)

Protected Attributes

std::string m_name
std::string m_prefix
std::string m_body
Wrapping m_wrap

Detailed Description

Definition at line 20 of file ExpressionSourceCode.h.

Member Enumeration Documentation

◆ Wrapping

Enumerator
Wrap 
NoWrap 

Definition at line 22 of file ExpressionSourceCode.h.

Constructor & Destructor Documentation

◆ ExpressionSourceCode()

lldb_private::ExpressionSourceCode::ExpressionSourceCode ( llvm::StringRef name,
llvm::StringRef prefix,
llvm::StringRef body,
Wrapping wrap )
inlineprotected

Member Function Documentation

◆ GetName()

const char * lldb_private::ExpressionSourceCode::GetName ( ) const
inline

Definition at line 30 of file ExpressionSourceCode.h.

References m_name.

◆ NeedsWrapping()

bool lldb_private::ExpressionSourceCode::NeedsWrapping ( ) const
inline

Definition at line 28 of file ExpressionSourceCode.h.

References m_wrap, and Wrap.

Member Data Documentation

◆ m_body

std::string lldb_private::ExpressionSourceCode::m_body
protected

◆ m_name

std::string lldb_private::ExpressionSourceCode::m_name
protected

◆ m_prefix

std::string lldb_private::ExpressionSourceCode::m_prefix
protected

◆ m_wrap

Wrapping lldb_private::ExpressionSourceCode::m_wrap
protected

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