9#ifndef LLDB_PLUGINS_SCRIPTINTERPRETER_PYTHON_INTERFACES_SCRIPTEDFRAMEPYTHONINTERFACE_H
10#define LLDB_PLUGINS_SCRIPTINTERPRETER_PYTHON_INTERFACES_SCRIPTEDFRAMEPYTHONINTERFACE_H
12#include "lldb/Host/Config.h"
22 public ScriptedPythonInterface {
24 ScriptedFramePythonInterface(ScriptInterpreterPythonImpl &interpreter);
26 llvm::Expected<StructuredData::GenericSP>
27 CreatePluginObject(llvm::StringRef class_name, ExecutionContext &exe_ctx,
28 StructuredData::DictionarySP args_sp,
29 StructuredData::Generic *script_obj =
nullptr)
override;
31 llvm::SmallVector<AbstractMethodRequirement>
32 GetAbstractMethodRequirements()
const override {
33 return llvm::SmallVector<AbstractMethodRequirement>({{
"get_id"}});
40 std::optional<SymbolContext> GetSymbolContext()
override;
42 std::optional<std::string> GetFunctionName()
override;
44 std::optional<std::string> GetDisplayFunctionName()
override;
46 bool IsInlined()
override;
48 bool IsArtificial()
override;
50 bool IsHidden()
override;
52 StructuredData::DictionarySP GetRegisterInfo()
override;
54 std::optional<std::string> GetRegisterContext()
override;
A class that represents a running process on the host machine.