9#ifndef LLDB_INTERPRETER_INTERFACES_SCRIPTEDSYNTHETICCHILDRENINTERFACE_H
10#define LLDB_INTERPRETER_INTERFACES_SCRIPTEDSYNTHETICCHILDRENINTERFACE_H
14#include "llvm/Support/ErrorExtras.h"
19 virtual llvm::Expected<StructuredData::GenericSP>
31 return llvm::createStringErrorV(
"type has no child named '{0}'", name);
A uniqued constant string class.
ScriptedInterface()=default
virtual llvm::Expected< uint32_t > CalculateNumChildren(uint32_t max)
virtual lldb::ValueObjectSP GetSyntheticValue()
virtual lldb::ValueObjectSP GetChildAtIndex(uint32_t idx)
virtual ConstString GetSyntheticTypeName()
virtual llvm::Expected< uint32_t > GetIndexOfChildWithName(ConstString name)
virtual bool MightHaveChildren()
virtual lldb::ChildCacheState Update()
virtual llvm::Expected< StructuredData::GenericSP > CreatePluginObject(llvm::StringRef class_name, ValueObject &backend)=0
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.
@ eRefetch
Children need to be recomputed dynamically.
std::shared_ptr< lldb_private::ValueObject > ValueObjectSP