LLDB mainline
lldb_private::ScriptedStackFrameRecognizer Class Reference

Python implementation for frame recognizers. More...

#include <StackFrameRecognizer.h>

Inheritance diagram for lldb_private::ScriptedStackFrameRecognizer:
[legend]

Public Member Functions

 ScriptedStackFrameRecognizer (lldb_private::ScriptInterpreter *interpreter, const char *pclass)
 ~ScriptedStackFrameRecognizer () override=default
std::string GetName () override
const char * GetPythonClassName ()
lldb::RecognizedStackFrameSP RecognizeFrame (lldb::StackFrameSP frame) override
Public Member Functions inherited from lldb_private::StackFrameRecognizer
virtual ~StackFrameRecognizer ()=default

Private Member Functions

 ScriptedStackFrameRecognizer (const ScriptedStackFrameRecognizer &)=delete
const ScriptedStackFrameRecognizeroperator= (const ScriptedStackFrameRecognizer &)=delete

Private Attributes

lldb::ScriptedStackFrameRecognizerInterfaceSP m_interface_sp
std::string m_python_class

Detailed Description

Python implementation for frame recognizers.

An instance of this class tracks a particular Python classobject, which will be asked to recognize stack frames.

Definition at line 79 of file StackFrameRecognizer.h.

Constructor & Destructor Documentation

◆ ScriptedStackFrameRecognizer() [1/2]

◆ ~ScriptedStackFrameRecognizer()

lldb_private::ScriptedStackFrameRecognizer::~ScriptedStackFrameRecognizer ( )
overridedefault

◆ ScriptedStackFrameRecognizer() [2/2]

lldb_private::ScriptedStackFrameRecognizer::ScriptedStackFrameRecognizer ( const ScriptedStackFrameRecognizer & )
privatedelete

Member Function Documentation

◆ GetName()

std::string lldb_private::ScriptedStackFrameRecognizer::GetName ( )
inlineoverridevirtual

Reimplemented from lldb_private::StackFrameRecognizer.

Definition at line 89 of file StackFrameRecognizer.h.

References GetPythonClassName().

◆ GetPythonClassName()

const char * lldb_private::ScriptedStackFrameRecognizer::GetPythonClassName ( )
inline

Definition at line 93 of file StackFrameRecognizer.h.

References m_python_class.

Referenced by GetName().

◆ operator=()

const ScriptedStackFrameRecognizer & lldb_private::ScriptedStackFrameRecognizer::operator= ( const ScriptedStackFrameRecognizer & )
privatedelete

◆ RecognizeFrame()

RecognizedStackFrameSP ScriptedStackFrameRecognizer::RecognizeFrame ( lldb::StackFrameSP frame)
overridevirtual

Member Data Documentation

◆ m_interface_sp

lldb::ScriptedStackFrameRecognizerInterfaceSP lldb_private::ScriptedStackFrameRecognizer::m_interface_sp
private

Definition at line 80 of file StackFrameRecognizer.h.

Referenced by RecognizeFrame(), and ScriptedStackFrameRecognizer().

◆ m_python_class

std::string lldb_private::ScriptedStackFrameRecognizer::m_python_class
private

Definition at line 82 of file StackFrameRecognizer.h.

Referenced by GetPythonClassName(), and ScriptedStackFrameRecognizer().


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