18#ifndef CLI_CLI_DECODE_H
19#define CLI_CLI_DECODE_H
26#include "gdbsupport/gdb_regex.h"
29#include "gdbsupport/intrusive_list.h"
30#include "gdbsupport/buildargv.h"
101 {
return this->
func ==
nullptr; }
236 gdb::optional<setting>
var;
259 = intrusive_list_node<cmd_list_element>;
267 = intrusive_list<cmd_list_element, aliases_list_member_node_type>;
286 bool verbose, compiled_regex &);
301 bool for_value_prefix);
int find_command_name_length(const char *)
void apropos_cmd(struct ui_file *, struct cmd_list_element *, bool verbose, compiled_regex &)
void not_just_help_class_command(const char *arg, int from_tty)
const char *const boolean_enums[]
void help_cmd(const char *, struct ui_file *)
int cli_user_command_p(struct cmd_list_element *)
const char *const auto_boolean_enums[]
void print_doc_line(struct ui_file *stream, const char *str, bool for_value_prefix)
std::shared_ptr< command_line > counted_command_line
void completer_ftype(struct cmd_list_element *, completion_tracker &tracker, const char *text, const char *word)
void cmd_simple_func_ftype(const char *args, int from_tty)
void show_value_ftype(struct ui_file *file, int from_tty, struct cmd_list_element *cmd, const char *value)
void completer_handle_brkchars_ftype(struct cmd_list_element *, completion_tracker &tracker, const char *text, const char *word)
void cmd_func_ftype(const char *args, int from_tty, cmd_list_element *c)
void symbol_completer(struct cmd_list_element *ignore, completion_tracker &tracker, const char *text, const char *word)
unsigned int doc_allocated
cmd_list_element(const char *name_, enum command_class theclass_, const char *doc_)
struct cmd_list_element * hook_post
union cmd_list_element::@27 function
aliases_list_type aliases
struct cmd_list_element * hookee_post
std::vector< std::string > command_components() const
intrusive_member_node< cmd_list_element, &cmd_list_element::aliases_list_node > aliases_list_member_node_type
bool * suppress_notification
cmd_simple_func_ftype * simple_func
gdb::optional< setting > var
struct cmd_list_element * hookee_pre
struct cmd_list_element * hook_pre
std::string prefixname() const
DISABLE_COPY_AND_ASSIGN(cmd_list_element)
aliases_list_node_type aliases_list_node
struct cmd_list_element ** subcommands
completer_handle_brkchars_ftype * completer_handle_brkchars
unsigned int cmd_deprecated
completer_ftype * completer
counted_command_line user_commands
struct cmd_list_element * prefix
unsigned int deprecated_warn_user
bool is_command_class_help() const
intrusive_list< cmd_list_element, aliases_list_member_node_type > aliases_list_type
__extension__ enum cmd_types type
void(* destroyer)(struct cmd_list_element *self, void *context)
unsigned int name_allocated
struct cmd_list_element * alias_target
intrusive_list_node< cmd_list_element > aliases_list_node_type
unsigned int malloced_replacement
const char *const * enums
show_value_ftype * show_value_func
unsigned int allow_unknown
enum command_class theclass
void set_context(void *context)