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

Python implementation for frame recognizers. More...

#include <StackFrameRecognizer.h>

Inheritance diagram for lldb_private::ScriptedStackFrameRecognizer:
Inheritance graph
[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 lldb::RecognizedStackFrameSP RecognizeFrame (lldb::StackFrameSP frame)
 
virtual std::string GetName ()
 
virtual ~StackFrameRecognizer ()=default
 

Private Member Functions

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

Private Attributes

lldb_private::ScriptInterpreterm_interpreter
 
lldb_private::StructuredData::ObjectSP m_python_object_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::ScriptedStackFrameRecognizer ( lldb_private::ScriptInterpreter interpreter,
const char *  pclass 
)

◆ ~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 90 of file StackFrameRecognizer.h.

References GetPythonClassName().

◆ GetPythonClassName()

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

Definition at line 94 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_interpreter

lldb_private::ScriptInterpreter* lldb_private::ScriptedStackFrameRecognizer::m_interpreter
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 83 of file StackFrameRecognizer.h.

Referenced by GetPythonClassName(), and ScriptedStackFrameRecognizer().

◆ m_python_object_sp

lldb_private::StructuredData::ObjectSP lldb_private::ScriptedStackFrameRecognizer::m_python_object_sp
private

Definition at line 81 of file StackFrameRecognizer.h.

Referenced by RecognizeFrame(), and ScriptedStackFrameRecognizer().


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