#include "lldb/Interpreter/OptionValueProperties.h"
#include "lldb/Utility/Flags.h"
#include "lldb/Core/UserSettingsController.h"
#include "lldb/Interpreter/OptionValues.h"
#include "lldb/Interpreter/Property.h"
#include "lldb/Utility/Args.h"
#include "lldb/Utility/Stream.h"
#include "lldb/Utility/StringList.h"
usingnamespacelldb;
usingnamespacelldb_private;
OptionValueProperties::OptionValueProperties(llvm::StringRef name)
: … { … }
void OptionValueProperties::Initialize(const PropertyDefinitions &defs) { … }
void OptionValueProperties::SetValueChangedCallback(
size_t property_idx, std::function<void()> callback) { … }
void OptionValueProperties::AppendProperty(llvm::StringRef name,
llvm::StringRef desc, bool is_global,
const OptionValueSP &value_sp) { … }
lldb::OptionValueSP
OptionValueProperties::GetValueForKey(const ExecutionContext *exe_ctx,
llvm::StringRef key) const { … }
lldb::OptionValueSP
OptionValueProperties::GetSubValue(const ExecutionContext *exe_ctx,
llvm::StringRef name, Status &error) const { … }
Status OptionValueProperties::SetSubValue(const ExecutionContext *exe_ctx,
VarSetOperationType op,
llvm::StringRef name,
llvm::StringRef value) { … }
size_t OptionValueProperties::GetPropertyIndex(llvm::StringRef name) const { … }
const Property *
OptionValueProperties::GetProperty(llvm::StringRef name,
const ExecutionContext *exe_ctx) const { … }
lldb::OptionValueSP OptionValueProperties::GetPropertyValueAtIndex(
size_t idx, const ExecutionContext *exe_ctx) const { … }
OptionValuePathMappings *
OptionValueProperties::GetPropertyAtIndexAsOptionValuePathMappings(
size_t idx, const ExecutionContext *exe_ctx) const { … }
OptionValueFileSpecList *
OptionValueProperties::GetPropertyAtIndexAsOptionValueFileSpecList(
size_t idx, const ExecutionContext *exe_ctx) const { … }
bool OptionValueProperties::GetPropertyAtIndexAsArgs(
size_t idx, Args &args, const ExecutionContext *exe_ctx) const { … }
bool OptionValueProperties::SetPropertyAtIndexFromArgs(
size_t idx, const Args &args, const ExecutionContext *exe_ctx) { … }
OptionValueDictionary *
OptionValueProperties::GetPropertyAtIndexAsOptionValueDictionary(
size_t idx, const ExecutionContext *exe_ctx) const { … }
OptionValueFileSpec *
OptionValueProperties::GetPropertyAtIndexAsOptionValueFileSpec(
size_t idx, const ExecutionContext *exe_ctx) const { … }
OptionValueSInt64 *OptionValueProperties::GetPropertyAtIndexAsOptionValueSInt64(
size_t idx, const ExecutionContext *exe_ctx) const { … }
OptionValueUInt64 *OptionValueProperties::GetPropertyAtIndexAsOptionValueUInt64(
size_t idx, const ExecutionContext *exe_ctx) const { … }
OptionValueString *OptionValueProperties::GetPropertyAtIndexAsOptionValueString(
size_t idx, const ExecutionContext *exe_ctx) const { … }
void OptionValueProperties::Clear() { … }
Status OptionValueProperties::SetValueFromString(llvm::StringRef value,
VarSetOperationType op) { … }
void OptionValueProperties::DumpValue(const ExecutionContext *exe_ctx,
Stream &strm, uint32_t dump_mask) { … }
llvm::json::Value
OptionValueProperties::ToJSON(const ExecutionContext *exe_ctx) { … }
Status OptionValueProperties::DumpPropertyValue(const ExecutionContext *exe_ctx,
Stream &strm,
llvm::StringRef property_path,
uint32_t dump_mask,
bool is_json) { … }
OptionValuePropertiesSP
OptionValueProperties::CreateLocalCopy(const Properties &global_properties) { … }
OptionValueSP
OptionValueProperties::DeepCopy(const OptionValueSP &new_parent) const { … }
const Property *
OptionValueProperties::GetPropertyAtPath(const ExecutionContext *exe_ctx,
llvm::StringRef name) const { … }
void OptionValueProperties::DumpAllDescriptions(CommandInterpreter &interpreter,
Stream &strm) const { … }
void OptionValueProperties::Apropos(
llvm::StringRef keyword,
std::vector<const Property *> &matching_properties) const { … }
lldb::OptionValuePropertiesSP
OptionValueProperties::GetSubProperty(const ExecutionContext *exe_ctx,
llvm::StringRef name) { … }