LLDB  mainline
OptionGroupVariable.h
Go to the documentation of this file.
1 //===-- OptionGroupVariable.h -----------------------------------*- C++ -*-===//
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_OPTIONGROUPVARIABLE_H
10 #define LLDB_INTERPRETER_OPTIONGROUPVARIABLE_H
11 
14 
15 namespace lldb_private {
16 
17 // OptionGroupVariable
18 
20 public:
21  OptionGroupVariable(bool show_frame_options);
22 
23  ~OptionGroupVariable() override = default;
24 
25  llvm::ArrayRef<OptionDefinition> GetDefinitions() override;
26 
27  Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_value,
28  ExecutionContext *execution_context) override;
29 
30  void OptionParsingStarting(ExecutionContext *execution_context) override;
31 
33  show_args : 1, // Frame option only (include_frame_options == true)
34  show_recognized_args : 1, // Frame option only (include_frame_options ==
35  // true)
36  show_locals : 1, // Frame option only (include_frame_options == true)
37  show_globals : 1, // Frame option only (include_frame_options == true)
39  OptionValueString summary; // the name of a named summary
40  OptionValueString summary_string; // a summary string
41 
42 private:
43  OptionGroupVariable(const OptionGroupVariable &) = delete;
44  const OptionGroupVariable &operator=(const OptionGroupVariable &) = delete;
45 };
46 
47 } // namespace lldb_private
48 
49 #endif // LLDB_INTERPRETER_OPTIONGROUPVARIABLE_H
lldb_private::OptionGroupVariable::summary_string
OptionValueString summary_string
Definition: OptionGroupVariable.h:40
lldb_private::ExecutionContext
Definition: ExecutionContext.h:291
lldb_private::OptionGroupVariable::GetDefinitions
llvm::ArrayRef< OptionDefinition > GetDefinitions() override
Definition: OptionGroupVariable.cpp:131
lldb_private::OptionGroupVariable::summary
OptionValueString summary
Definition: OptionGroupVariable.h:39
lldb_private::OptionGroup
Definition: Options.h:233
lldb_private::OptionGroupVariable::OptionGroupVariable
OptionGroupVariable(bool show_frame_options)
Definition: OptionGroupVariable.cpp:69
lldb_private::OptionGroupVariable::include_frame_options
bool include_frame_options
Definition: OptionGroupVariable.h:32
lldb_private::OptionGroupVariable::show_locals
bool show_locals
Definition: OptionGroupVariable.h:36
lldb_private::OptionGroupVariable
Definition: OptionGroupVariable.h:19
lldb_private::OptionGroupVariable::show_decl
bool show_decl
Definition: OptionGroupVariable.h:38
Options.h
lldb_private::OptionGroupVariable::show_scope
bool show_scope
Definition: OptionGroupVariable.h:38
lldb_private::OptionGroupVariable::operator=
const OptionGroupVariable & operator=(const OptionGroupVariable &)=delete
lldb_private::OptionValueString
Definition: OptionValueString.h:20
OptionValueString.h
lldb_private::Status
Definition: Status.h:44
uint32_t
lldb_private::OptionGroupVariable::use_regex
bool use_regex
Definition: OptionGroupVariable.h:38
lldb_private::OptionGroupVariable::OptionParsingStarting
void OptionParsingStarting(ExecutionContext *execution_context) override
Definition: OptionGroupVariable.cpp:116
lldb_private
A class that represents a running process on the host machine.
Definition: SBCommandInterpreterRunOptions.h:16
lldb_private::OptionGroupVariable::SetOptionValue
Status SetOptionValue(uint32_t option_idx, llvm::StringRef option_value, ExecutionContext *execution_context) override
Definition: OptionGroupVariable.cpp:74
lldb_private::OptionGroupVariable::show_args
bool show_args
Definition: OptionGroupVariable.h:33
lldb_private::OptionGroupVariable::show_globals
bool show_globals
Definition: OptionGroupVariable.h:37
lldb_private::OptionGroupVariable::show_recognized_args
bool show_recognized_args
Definition: OptionGroupVariable.h:34
lldb_private::OptionGroupVariable::~OptionGroupVariable
~OptionGroupVariable() override=default