LLDB  mainline
Macros | Functions | Variables
CommandObjectExpression.cpp File Reference
#include "llvm/ADT/StringRef.h"
#include "CommandObjectExpression.h"
#include "lldb/Core/Debugger.h"
#include "lldb/Expression/REPL.h"
#include "lldb/Expression/UserExpression.h"
#include "lldb/Host/OptionParser.h"
#include "lldb/Interpreter/CommandInterpreter.h"
#include "lldb/Interpreter/CommandReturnObject.h"
#include "lldb/Interpreter/OptionArgParser.h"
#include "lldb/Target/Language.h"
#include "lldb/Target/Process.h"
#include "lldb/Target/StackFrame.h"
#include "lldb/Target/Target.h"
#include "CommandOptions.inc"
Include dependency graph for CommandObjectExpression.cpp:

Go to the source code of this file.

Macros

#define LLDB_OPTIONS_expression
 

Functions

static constexpr OptionEnumValues DescriptionVerbosityTypes ()
 
static lldb_private::Status CanBeUsedForElementCountPrinting (ValueObject &valobj)
 
static EvaluateExpressionOptions GetExprOptions (ExecutionContext &ctx, CommandObjectExpression::CommandOptions command_options)
 

Variables

static constexpr OptionEnumValueElement g_description_verbosity_type []
 

Macro Definition Documentation

◆ LLDB_OPTIONS_expression

#define LLDB_OPTIONS_expression

Definition at line 48 of file CommandObjectExpression.cpp.

Function Documentation

◆ CanBeUsedForElementCountPrinting()

static lldb_private::Status CanBeUsedForElementCountPrinting ( ValueObject valobj)
static

Definition at line 324 of file CommandObjectExpression.cpp.

◆ DescriptionVerbosityTypes()

static constexpr OptionEnumValues DescriptionVerbosityTypes ( )
staticconstexpr

Definition at line 44 of file CommandObjectExpression.cpp.

References g_description_verbosity_type.

◆ GetExprOptions()

static EvaluateExpressionOptions GetExprOptions ( ExecutionContext ctx,
CommandObjectExpression::CommandOptions  command_options 
)
static

Definition at line 522 of file CommandObjectExpression.cpp.

Variable Documentation

◆ g_description_verbosity_type

constexpr OptionEnumValueElement g_description_verbosity_type[]
staticconstexpr
Initial value:
= {
{
"compact",
"Only show the description string",
},
{
"full",
"Show the full output, including persistent variable's name and type",
},
}

Definition at line 31 of file CommandObjectExpression.cpp.

Referenced by DescriptionVerbosityTypes().

lldb_private::eLanguageRuntimeDescriptionDisplayVerbosityFull
@ eLanguageRuntimeDescriptionDisplayVerbosityFull
Definition: lldb-private-enumerations.h:164
lldb_private::eLanguageRuntimeDescriptionDisplayVerbosityCompact
@ eLanguageRuntimeDescriptionDisplayVerbosityCompact
Definition: lldb-private-enumerations.h:161