9#ifndef LLDB_SOURCE_PLUGINS_SCRIPTINTERPRETER_PYTHON_INTERFACES_SCRIPTEDSYNTHETICCHILDRENPYTHONINTERFACE_H
10#define LLDB_SOURCE_PLUGINS_SCRIPTINTERPRETER_PYTHON_INTERFACES_SCRIPTEDSYNTHETICCHILDRENPYTHONINTERFACE_H
25 llvm::Expected<StructuredData::GenericSP>
28 llvm::SmallVector<AbstractMethodRequirement>
38 return {
"num_children",
"get_child_index"};
60 return "ScriptedSyntheticChildrenPythonInterface";
A uniqued constant string class.
PluginInterface()=default
ScriptedPythonInterface(ScriptInterpreterPythonImpl &interpreter)
llvm::SmallVector< AbstractMethodRequirement > GetAbstractMethodRequirements() const override
llvm::Expected< StructuredData::GenericSP > CreatePluginObject(llvm::StringRef class_name, ValueObject &backend) override
bool MightHaveChildren() override
ScriptedSyntheticChildrenPythonInterface(ScriptInterpreterPythonImpl &interpreter)
ConstString GetSyntheticTypeName() override
lldb::ValueObjectSP GetSyntheticValue() override
llvm::SmallVector< llvm::StringLiteral > GetOptionalMethods() const override
Methods a script may legitimately leave out, for which LLDB has a documented answer.
llvm::Expected< uint32_t > CalculateNumChildren(uint32_t max) override
lldb::ChildCacheState Update() override
lldb::ValueObjectSP GetChildAtIndex(uint32_t idx) override
llvm::Expected< uint32_t > GetIndexOfChildWithName(ConstString name) override
static llvm::StringRef GetPluginNameStatic()
llvm::StringRef GetPluginName() override
A class that represents a running process on the host machine.
ChildCacheState
Specifies if children need to be re-computed after a call to SyntheticChildrenFrontEnd::Update.
std::shared_ptr< lldb_private::ValueObject > ValueObjectSP