9#ifndef LLDB_INTERPRETER_PROPERTY_H
10#define LLDB_INTERPRETER_PROPERTY_H
49 Property(llvm::StringRef name, llvm::StringRef desc,
bool is_global,
87 uint32_t dump_mask)
const;
91 std::optional<Stream::HighlightSettings> highlight = std::nullopt)
const;
95 bool display_qualified_name,
bool include_deprecated,
96 std::optional<Stream::HighlightSettings> highlight = std::nullopt)
const;
"lldb/Target/ExecutionContext.h" A class that contains an execution context.
llvm::StringRef GetName() const
const char * m_deprecation_message
Points into the static PropertyDefinition table, or is nullptr.
void DumpDeprecatedTag(Stream &strm, uint32_t dump_mask) const
If this property is deprecated, and output produced with dump_mask can be tagged, write the deprecati...
bool IsDeprecated() const
const lldb::OptionValueSP & GetValue() const
void SetOptionValue(const lldb::OptionValueSP &value_sp)
bool IsHidden(bool include_deprecated) const
Whether listings should leave this property out.
llvm::StringRef GetDescription() const
lldb::OptionValueSP m_value_sp
bool DumpQualifiedName(Stream &strm, std::optional< Stream::HighlightSettings > highlight=std::nullopt) const
void SetValueChangedCallback(std::function< void()> callback)
llvm::StringRef GetDeprecationMessage() const
What users of this deprecated property should do instead.
std::string GetTaggedDescription() const
The description, starting with a deprecation tag if this property is deprecated.
void Dump(const ExecutionContext *exe_ctx, Stream &strm, uint32_t dump_mask) const
Property(const PropertyDefinition &definition)
std::string m_description
void DumpDescription(CommandInterpreter &interpreter, Stream &strm, uint32_t output_width, bool display_qualified_name, bool include_deprecated, std::optional< Stream::HighlightSettings > highlight=std::nullopt) const
A stream class that can stream formatted output to a file.
A class that represents a running process on the host machine.
llvm::ArrayRef< OptionEnumValueElement > OptionEnumValues
std::shared_ptr< lldb_private::OptionValue > OptionValueSP
llvm::StringRef expected_path
llvm::ArrayRef< PropertyDefinition > definitions
const char * default_cstr_value
OptionEnumValues enum_values
uintptr_t default_uint_value
const char * deprecation_message