LLDB mainline
lldb_private::ScriptedInterface Class Referenceabstract

#include <ScriptedInterface.h>

Inheritance diagram for lldb_private::ScriptedInterface:
[legend]

Classes

struct  AbstractMethodRequirement

Public Member Functions

 ScriptedInterface ()=default
virtual ~ScriptedInterface ()=default
StructuredData::GenericSP GetScriptObjectInstance ()
virtual llvm::SmallVector< AbstractMethodRequirementGetAbstractMethodRequirements () const =0
llvm::SmallVector< llvm::StringLiteral > const GetAbstractMethods () const

Static Public Member Functions

template<typename Ret>
static Ret ErrorWithMessage (llvm::StringRef caller_name, llvm::StringRef error_msg, Status &error, LLDBLog log_category=LLDBLog::Process)
template<typename T = StructuredData::ObjectSP>
static bool CheckStructuredDataObject (llvm::StringRef caller, T obj, Status &error)
static bool CreateInstance (lldb::ScriptLanguage language, ScriptedInterfaceUsages usages)

Protected Attributes

StructuredData::GenericSP m_object_instance_sp

Detailed Description

Definition at line 25 of file ScriptedInterface.h.

Constructor & Destructor Documentation

◆ ScriptedInterface()

lldb_private::ScriptedInterface::ScriptedInterface ( )
default

◆ ~ScriptedInterface()

virtual lldb_private::ScriptedInterface::~ScriptedInterface ( )
virtualdefault

Member Function Documentation

◆ CheckStructuredDataObject()

template<typename T = StructuredData::ObjectSP>
bool lldb_private::ScriptedInterface::CheckStructuredDataObject ( llvm::StringRef caller,
T obj,
Status & error )
inlinestatic

Definition at line 71 of file ScriptedInterface.h.

References error(), and ErrorWithMessage().

◆ CreateInstance()

bool lldb_private::ScriptedInterface::CreateInstance ( lldb::ScriptLanguage language,
ScriptedInterfaceUsages usages )
inlinestatic

Definition at line 88 of file ScriptedInterface.h.

◆ ErrorWithMessage()

◆ GetAbstractMethodRequirements()

virtual llvm::SmallVector< AbstractMethodRequirement > lldb_private::ScriptedInterface::GetAbstractMethodRequirements ( ) const
pure virtual

Referenced by GetAbstractMethods().

◆ GetAbstractMethods()

llvm::SmallVector< llvm::StringLiteral > const lldb_private::ScriptedInterface::GetAbstractMethods ( ) const
inline

Definition at line 42 of file ScriptedInterface.h.

References GetAbstractMethodRequirements().

◆ GetScriptObjectInstance()

StructuredData::GenericSP lldb_private::ScriptedInterface::GetScriptObjectInstance ( )
inline

Member Data Documentation

◆ m_object_instance_sp

StructuredData::GenericSP lldb_private::ScriptedInterface::m_object_instance_sp
protected

Definition at line 94 of file ScriptedInterface.h.

Referenced by GetScriptObjectInstance().


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