49 llvm::StringRef value) {
54 Stream &strm, uint32_t dump_mask,
58 strm.
Printf(
"%s", llvm::formatv(
"{0:2}", json).str().c_str());
72 llvm::StringRef property_path,
73 uint32_t dump_mask,
bool is_json) {
80 std::vector<const Property *> &matching_properties)
const {
82 return matching_properties.size();
86 static constexpr llvm::StringLiteral g_experimental(
"experimental");
87 return g_experimental;
95 size_t dot_pos = setting.find_first_of(
'.');
96 return setting.take_front(dot_pos) == experimental;
static llvm::raw_ostream & error(Stream &strm)
A uniqued constant string class.
"lldb/Target/ExecutionContext.h" A class that contains an execution context.
virtual void DumpAllDescriptions(CommandInterpreter &interpreter, Stream &strm) const
virtual Status DumpPropertyValue(const ExecutionContext *exe_ctx, Stream &strm, llvm::StringRef property_path, uint32_t dump_mask, bool is_json=false)
virtual void DumpAllPropertyValues(const ExecutionContext *exe_ctx, Stream &strm, uint32_t dump_mask, bool is_json=false)
size_t Apropos(llvm::StringRef keyword, std::vector< const Property * > &matching_properties) const
lldb::OptionValuePropertiesSP m_collection_sp
virtual Status SetPropertyValue(const ExecutionContext *exe_ctx, VarSetOperationType op, llvm::StringRef property_path, llvm::StringRef value)
virtual lldb::OptionValueSP GetPropertyValue(const ExecutionContext *exe_ctx, llvm::StringRef property_path, Status &error) const
static bool IsSettingExperimental(llvm::StringRef setting)
static llvm::StringRef GetExperimentalSettingsName()
A stream class that can stream formatted output to a file.
size_t Printf(const char *format,...) __attribute__((format(printf
Output printf formatted output to the stream.
size_t PutCString(llvm::StringRef cstr)
Output a C string to the stream.
A class that represents a running process on the host machine.
VarSetOperationType
Settable state variable types.
std::shared_ptr< lldb_private::OptionValueProperties > OptionValuePropertiesSP
std::shared_ptr< lldb_private::OptionValue > OptionValueSP