LLDB
mainline
llvm-project
lldb
include
lldb
Interpreter
Interfaces
ScriptedStringSummaryInterface.h
Go to the documentation of this file.
1
//===----------------------------------------------------------------------===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
9
#ifndef LLDB_INTERPRETER_INTERFACES_SCRIPTEDSTRINGSUMMARYINTERFACE_H
10
#define LLDB_INTERPRETER_INTERFACES_SCRIPTEDSTRINGSUMMARYINTERFACE_H
11
12
#include "
ScriptedInterface.h
"
13
#include "
lldb/lldb-private.h
"
14
15
namespace
lldb_private
{
16
class
ScriptedStringSummaryInterface
:
virtual
public
ScriptedInterface
{
17
public
:
18
virtual
llvm::Expected<StructuredData::GenericSP>
19
CreatePluginObject
(llvm::StringRef class_name) = 0;
20
21
virtual
llvm::Expected<std::string>
22
GetSummary
(
ValueObject
&valobj,
const
TypeSummaryOptions
&options) {
23
return
llvm::createStringError(
"not implemented"
);
24
}
25
};
26
}
// namespace lldb_private
27
28
#endif
// LLDB_INTERPRETER_INTERFACES_SCRIPTEDSTRINGSUMMARYINTERFACE_H
ScriptedInterface.h
lldb_private::ScriptedInterface::ScriptedInterface
ScriptedInterface()=default
lldb_private::ScriptedStringSummaryInterface
Definition
ScriptedStringSummaryInterface.h:16
lldb_private::ScriptedStringSummaryInterface::CreatePluginObject
virtual llvm::Expected< StructuredData::GenericSP > CreatePluginObject(llvm::StringRef class_name)=0
lldb_private::ScriptedStringSummaryInterface::GetSummary
virtual llvm::Expected< std::string > GetSummary(ValueObject &valobj, const TypeSummaryOptions &options)
Definition
ScriptedStringSummaryInterface.h:22
lldb_private::TypeSummaryOptions
Definition
TypeSummary.h:30
lldb_private::ValueObject
ValueObject:
Definition
ValueObject.h:105
lldb-private.h
lldb_private
A class that represents a running process on the host machine.
Definition
SBAddressRange.h:14
Generated on
for LLDB by
1.14.0